ARM: Add support for AT_HWCAP2 in _dl_procinfo
[glibc.git] / ChangeLog
blobeea0ebe7c1fef6358f2d1d380da3ce3c52e6885b
1 2014-06-25  Will Newton  <will.newton@linaro.org>
3         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4         (_dl_arm_cap_flags): Add HWCAP2 values.
5         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6         (_DL_HWCAP_COUNT): Increase to 37.
7         (_DL_HWCAP_LAST): New define.
8         (_DL_HWCAP2_LAST): New define.
9         (_dl_procinfo): Add support for printing
10         AT_HWCAP2 entries.
11         (_dl_string_hwcap): Use _dl_hwcap_string.
13 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
19         * README: Do not mention ports directory.
21         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
22         Remove macro.
23         * sysdeps/unix/sysv/linux/futimes.c: Do not include
24         <kernel-features.h>.
25         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
26         conditional variable definition.
27         (__futimes): Update comment.
28         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
29         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
31         [BZ #16560]
32         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
33         arguments close to 0.
34         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
35         Likewise.
36         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
37         Likewise.
38         * math/auto-libm-test-in: Add more tests of exp10.
39         * math/auto-libm-test-out: Regenerated.
40         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42         * sysdeps/unix/sysv/linux/kernel-features.h
43         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
44         * sysdeps/unix/sysv/linux/readv.c: Do not include
45         <kernel-features.h>.
46         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
47         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49         unconditional.
50         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
51         conditional code.
52         * sysdeps/unix/sysv/linux/writev.c: Do not include
53         <kernel-features.h>.
54         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
55         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
56         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
57         unconditional.
58         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
59         conditional code.
61 2014-06-25  Will Newton  <will.newton@linaro.org>
63         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
64         comment changes throughout the file.  Remove checks
65         for HAVE_*_H definitions that are not required.
66         (__gen_tempname): Call abort if an unknown kind value is
67         passed.
69 2014-06-25  Andreas Schwab  <schwab@suse.de>
71         [BZ #17086]
72         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
73         scalbln, scalblnf, scalblnl in libc.
75 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
77         [BZ #17086]
78         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
79         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
80         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
82 2014-06-24  Roland McGrath  <roland@hack.frob.com>
84         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
85         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
86         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
87         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
88         Update #include.
89         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
90         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
91         Update #include.
92         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
93         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
94         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
95         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
96         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
97         * sysdeps/x86/bits/pthreadtypes.h: ... here.
98         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
99         * sysdeps/x86/bits/semaphore.h: ... here.
100         * sysdeps/x86/nptl/elide.h: Moved ...
101         * sysdeps/x86/elide.h: ... here.
102         * sysdeps/x86_64/nptl/Implies: File removed.
103         * sysdeps/i386/nptl/Implies: File removed.
105 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
107         [BZ #16539]
108         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
109         return the argument for normal arguments with exponent below -64.
110         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
111         Likewise.
112         * math/auto-libm-test-in: Add another test of expm1.
113         * math/auto-libm-test-out: Regenerated.
115         [BZ #16287]
116         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
117         calling __erfcl for arguments at least 16.
118         * math/auto-libm-test-in: Add more tests of erf.
119         * math/auto-libm-test-out: Regenerated.
121         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
122         individual architectures.
123         * sysdeps/unix/sysv/linux/configure: Regenerated.
124         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
125         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
126         * sysdeps/unix/sysv/linux/powerpc/configure.ac
127         (ldd_rewrite_script): Define variable.
128         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
130         file.
131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
132         generated file.
133         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
134         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
135         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
136         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
137         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
138         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
139         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
140         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
142 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
144         [BZ #17084]
145         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
146         Rename member __data.d to __data.__elision_data.
148 2014-06-24  Wilco  <wdijkstr@arm.com>
150         * NEWS: Add 16918 to fixed bug list.
152 2014-06-24  Wilco  <wdijkstr@arm.com>
154         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
156 2014-06-24  Wilco  <wdijkstr@arm.com>
158         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
159         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
160         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
161         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
162         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
163         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
164         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
165         Use _FPU_MASK_RM.
167 2014-06-24  Wilco  <wdijkstr@arm.com>
169         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
171 2014-06-24  Wilco  <wdijkstr@arm.com>
173         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
174         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
175         * sysdeps/arm/fesetround.c (fesetround): Remove space.
176         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
178 2014-06-24  Wilco  <wdijkstr@arm.com>
180         [BZ #16918]
181         * sysdeps/arm/feupdateenv.c (feupdateenv):
182         Rewrite to reduce FPSCR accesses and fix return value.
184 2014-06-24  Wilco  <wdijkstr@arm.com>
186         * sysdeps/arm/fclrexcpt.c (feclearexcept):
187         Optimize to avoid unnecessary FPSCR writes.
188         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
189         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
190         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
191         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
193 2014-06-24  Wilco  <wdijkstr@arm.com>
195         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
196         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
197         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
198         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
199         Call libc_fetestexcept_vfp.
200         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
201         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
202         __SOFTFP__ ifdef so that they can be built for softfp.
204 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
206         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
207         argument type signed char.
209         * Makerules (check-abi): Dump diff of symlist if the test
210         fails.
212 2014-06-23  Roland McGrath  <roland@hack.frob.com>
214         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
215         using abort.
217         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
218         Remove unused variable ST.
220 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
222         [BZ #16354]
223         [BZ #17061]
224         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
225         small arguments before calling __expm1.
226         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
227         small arguments before calling __expm1f.
228         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
229         small arguments before calling __expm1l.
230         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
231         Likewise.
232         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
233         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
234         spurious underflow for some cosh tests.
235         * math/auto-libm-test-out: Regenerated.
236         * sysdeps/i386/fpu/libm-test-ulps: Update.
238         [BZ #17050]
239         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
240         (__ieee754_y1): Set errno if return value overflows.
241         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
242         (__ieee754_y1f): Set errno if return value overflows.
243         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
244         (__ieee754_y1l): Set errno if return value overflows.
245         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
246         (__ieee754_y1l): Set errno if return value overflows.
247         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
248         * math/auto-libm-test-out: Regenerated.
250         * math/gen-auto-libm-tests.c: Document use of
251         ignore-zero-inf-sign.
252         (input_flag_type): Add value flag_ignore_zero_inf_sign.
253         (input_flags): Add ignore-zero-inf-sign.
254         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
255         * math/gen-libm-test.pl (generate_testfile): Handle
256         ignore-zero-inf-sign.
257         * math/auto-libm-test-in: Mark some cpow tests with
258         ignore-zero-inf-sign and some with xfail-rounding.
259         * math/auto-libm-test-out: Regenerated.
260         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
261         * sysdeps/i386/fpu/libm-test-ulps: Update.
262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
264         [BZ #16315]
265         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
266         overflowing or underflowing operations take place with sign of
267         result.
268         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
269         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
270         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
271         (__ieee754_pow): Recompute overflowing and underflowing results in
272         original rounding mode.
273         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
274         (__powl_helper): Allow negative argument X and scale negated value
275         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
276         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
277         overflowing or underflowing operations take place with sign of
278         result.
279         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
280         Include <math.h>.
281         * math/auto-libm-test-in: Add more tests of pow.
282         * math/auto-libm-test-out: Regenerated.
283         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
284         (pow_tonearest_test_data): Remove.
285         (pow_test_tonearest): Likewise.
286         (pow_towardzero_test_data): Likewise.
287         (pow_test_towardzero): Likewise.
288         (pow_downward_test_data): Likewise.
289         (pow_test_downward): Likewise.
290         (pow_upward_test_data): Likewise.
291         (pow_test_upward): Likewise.
292         (main): Don't call removed functions.
293         * sysdeps/i386/fpu/libm-test-ulps: Update.
294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
296 2014-06-23  Roland McGrath  <roland@hack.frob.com>
298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
299         Moved ...
300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
302         Moved ...
303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
305         Moved ...
306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
308         Moved ...
309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
311         File removed.
312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
313         File removed.
314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
315         File removed.
316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
317         File removed.
318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
319         File removed.
320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
321         File removed.
322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
323         File removed.
324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
325         File removed.
326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
327         File removed.
328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
329         File removed.
330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
331         File removed.
332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
333         File removed.
334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
335         Moved ...
336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
338         Moved ...
339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
340         ... here.
341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
342         Moved ...
343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
345         Moved ...
346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
348         Moved ...
349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
351         Moved ...
352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
354         Moved ...
355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
357         Moved ...
358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
360         Moved ...
361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
364         ... here.
365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
366         Moved ...
367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
369         Moved ...
370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
371         ... here.
372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
373         Moved ...
374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
375         ... here.
376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
377         Moved ...
378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
379         ... here.
380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
381         Moved ...
382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
384         Moved ...
385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
389         Moved ...
390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
391         ... here.
392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
393         Moved ...
394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
395         ... here.
396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
397         Moved ...
398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
400         Moved ...
401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
403         Moved ...
404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
406         Moved ...
407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
409         Moved ...
410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
411         ... here.
412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
413         Moved ...
414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
416         Moved ...
417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
419         Moved ...
420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
422         Moved ...
423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
427         Moved ...
428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
430         Moved ...
431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
433         Moved ...
434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
435         ... here.
436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
437         Moved ...
438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
439         ... here.
440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
441         Moved ...
442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
443         ... here.
444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
445         Moved ...
446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
448         Moved ...
449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
451         Moved ...
452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
454         Moved ...
455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
456         ... here.
457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
458         Moved ...
459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
460         ... here.
461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
462         Moved ...
463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
464         ... here.
465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
466         Moved ...
467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
469         Moved ...
470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
472 2014-06-23  Will Newton  <will.newton@linaro.org>
473             Wilco  <wdijkstr@arm.com>
475         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
476         implementation.  Include get-rounding-mode.h.
477         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
478         [!libc_feholdsetround_noex_ctx]: Define
479         libc_feholdsetround_noex_ctx.
480         [!libc_feholdsetround_noexf_ctx]: Define
481         libc_feholdsetround_noexf_ctx.
482         [!libc_feholdsetround_noexl_ctx]: Define
483         libc_feholdsetround_noexl_ctx.
484         (libc_feholdsetround_ctx): New function.
485         (libc_feresetround_ctx): New function.
486         (libc_feholdsetround_noex_ctx): New function.
487         (libc_feresetround_noex_ctx): New function.
489 2014-06-23  Roland McGrath  <roland@hack.frob.com>
491         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
492         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
493         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
494         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
495         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
496         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
498         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
499         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
500         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
501         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
502         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
503         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
504         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
505         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
506         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
507         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
508         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
509         Moved ...
510         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
511         ... here.
512         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
513         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
514         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
515         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
516         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
517         Moved ...
518         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
519         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
520         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
521         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
522         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
523         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
524         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
525         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
526         Moved ...
527         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
528         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
529         Moved ...
530         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
531         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
532         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
533         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
534         Moved ...
535         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
536         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
537         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
538         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
539         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
540         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
541         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
542         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
543         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
544         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
545         Moved ...
546         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
547         ... here.
548         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
549         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
550         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
551         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
552         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
553         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
554         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
555         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
556         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
557         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
558         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
559         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
560         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
561         Moved ...
562         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
563         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
564         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
565         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
566         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
567         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
568         Moved ...
569         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
570         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
571         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
572         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
573         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
575         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
576         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
577         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
578         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
579         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
580         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
581         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
582         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
583         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
584         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
585         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
586         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
587         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
588         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
589         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
590         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
591         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
592         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
593         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
594         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
595         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
596         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
597         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
598         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
599         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
600         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
601         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
602         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
604 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
606         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
607         (FALLOC_FL_COLLAPSE_RANGE): New macro.
608         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
609         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
610         (IPV6_PMTUDISC_INTERFACE): Likewise.
611         (IPV6_PMTUDISC_OMIT): Likewise.
613 2014-06-23  Andreas Schwab  <schwab@suse.de>
615         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
616         Remove unused errout label.
618 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
620         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
621         macro: hardware supports Vector Crypto instructions.
623 2014-06-23  Will Newton  <will.newton@linaro.org>
625         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
626         rather than __builtin_expect.
628         * elf/dl-lookup.c (undefined_msg): Remove variable.
629         (_dl_lookup_symbol_x): Replace undefined_msg with string
630         literal.
632         * elf/dl-lookup.c (do_lookup_unique): New function.
633         (do_lookup_x): Move STB_GNU_UNIQUE handling code
634         to a separate function.
636 2014-06-23  Andreas Schwab  <schwab@suse.de>
638         [BZ #17079]
639         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
640         before reading the next line.
642 2014-06-23  Will Newton  <will.newton@linaro.org>
644         * test-skeleton.c (signal_handler): Use printf and %m
645         rather than perror.  Use printf rather than fprintf to
646         stderr.  Use puts rather than fputs to stderr.
647         (main): Likewise.
649 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
651         * nscd/nscd.c (thread_info_t): Remove typedef.
652         (thread_info): Remove variable.
654 2014-06-21  Allan McRae  <allan@archlinux.org>
656         * NEWS: Mention CVE-2014-4043.
658 2014-06-20  Roland McGrath  <roland@hack.frob.com>
660         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
661         * nptl/smp.h: ... here.
663         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
665         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
666         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
667         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
668         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
670         * nptl/allocatestack.c: Include <stack-aliasing.h>.
671         * nptl/stack-aliasing.h: New file.
672         * sysdeps/i386/i686/stack-aliasing.h: New file.
673         * sysdeps/i386/i686/nptl/Makefile: File removed.
674         * sysdeps/x86_64/stack-aliasing.h: New file.
675         * sysdeps/x86_64/nptl/Makefile
676         (CFLAGS-pthread_create.c): Variable removed.
678         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
679         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
680         old file.
681         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
682         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
683         old file.
685 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
687         * sysdeps/unix/sysv/linux/arm/kernel-features.h
688         (__ASSUME_SIGFRAME_V2): Remove macro.
689         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
690         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
691         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
692         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
693         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
694         Declare as function.  Remove conditional macro definitions.
695         (__default_rt_sa_restorer): Likewise.
696         (__default_sa_restorer_v1): Remove declaration.
697         (__default_sa_restorer_v2): Likewise.
698         (__default_rt_sa_restorer_v1): Likewise.
699         (__default_rt_sa_restorer_v2): Likewise.
700         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
701         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
702         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
704 2014-06-20  Roland McGrath  <roland@hack.frob.com>
706         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
707         (libpthread-routines): Add sysdep.
708         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
709         * sysdeps/unix/sysv/linux/sparc/Versions
710         (libpthread: GLIBC_2.3.3): New version set.
711         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
712         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
713         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
714         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
715         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
716         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
717         Moved ...
718         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
719         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
720         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
721         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
722         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
723         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
724         * sysdeps/sparc/nptl/sem_init.c: ... here.
725         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
726         * sysdeps/sparc/nptl/sem_post.c: ... here.
727         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
728         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
729         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
730         * sysdeps/sparc/nptl/sem_wait.c: ... here.
731         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
732         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
733         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
734         (libpthread-routines): Add cpu_relax.
735         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
736         File removed.
737         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
738         (librt: GLIBC_2.3.3): New version set.
739         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
740         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
741         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
742         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
743         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
745         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
747         Moved ...
748         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
749         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
750         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
751         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
752         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
753         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
754         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
755         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
756         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
757         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
758         Moved ...
759         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
760         Update #include.
761         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
762         Moved ...
763         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
764         Update #include.
765         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
766         Moved ...
767         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
768         Update #include.
769         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
770         Moved ...
771         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
772         Update #include.
773         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
774         Moved ...
775         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
776         Update #include.
777         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
778         Moved ...
779         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
780         Update #include.
781         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
782         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
783         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
784         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
785         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
786         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
787         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
788         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
789         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
790         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
791         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
792         Moved ...
793         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
794         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
795         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
797         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
799 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
801         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
802         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
803         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
804         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
805         * nscd/nscd.c: Likewise.
806         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
807         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
808         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
809         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
811         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
812         <kernel-features.h>.
813         (init_mq_netlink): Remove conditional have_sock_cloexec
814         definitions.  Remove code conditional on have_sock_cloexec < 0.
815         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
816         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
817         * sysdeps/unix/sysv/linux/opensock.c: Do not include
818         <kernel-features.h>.
819         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
820         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
822 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
824         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
825         Add tests for memset_chk and memset.
827         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
828         with AVX2_Usable.
830 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
832         [BZ #16046]
833         * elf/tst-dl-iter-static.c: New file.
834         * elf/Makefile (tests-static): Add tst-dl-iter-static.
836         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
837         error.
839 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
841         * sysdeps/unix/sysv/linux/kernel-features.h
842         (__ASSUME_F_GETOWN_EX): Remove macro.
843         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
844         <kernel-features.h>.
845         (miss_F_GETOWN_EX): Remove variable or macro.
846         (do_fcntl): Do not check miss_F_GETOWN_EX.
847         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
849         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
850         Remove macro.
851         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
852         [!__ASSUME_AT_RANDOM]: Remove conditional code.
853         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
855         * sysdeps/unix/sysv/linux/kernel-features.h
856         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
857         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
858         [ADJ_OFFSET_SS_READ]: Make code unconditional.
859         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
861 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
863         [BZ #17075]
864         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
865         Fix calculation of the symbol's value.
866         * sysdeps/arm/tst-armtlsdescloc.c: New file.
867         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
868         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
869         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
870         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
871         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
872         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
873         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
874         (modules-names): Add `tst-armtlsdescmod',
875         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
876         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
877         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
878         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
879         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
880         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
881         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
882         ($(objpfx)tst-armtlsdescloc): New dependency.
883         ($(objpfx)tst-armtlsdescextnow): Likewise.
884         ($(objpfx)tst-armtlsdescextlazy): Likewise.
885         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
886         TLS scheme support.
887         * sysdeps/arm/configure: Regenerate.
889 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
891         * include/fcntl.h (__atfct_seterrno): Remove prototype.
892         (__atfct_seterrno_2): Likewise.
893         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
894         <kernel-features.h>.
895         (__ASSUME_ATFCTS): Do not undefine and redefine.
896         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
897         (__have_atfcts): Remove conditional definition.
898         (__fxstatat([__NR_fstatat64]: Make code unconditional.
899         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
900         unreachable if [__ASSUME_ATFCTS].
901         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
902         not undefine and redefine.
903         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
904         <kernel-features.h>.
905         (faccessat) [__NR_faccessat]: Make code unconditional.
906         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
907         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
908         <kernel-features.h>.
909         (fchmodat) [__NR_fchmodat]: Make code unconditional.
910         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
911         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
912         <kernel-features.h>.
913         (fchownat) [__NR_fchownat]: Make code unconditional.
914         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
915         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
916         <kernel-features.h>.
917         (futimesat) [__NR_futimesat]: Make code unconditional.
918         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
919         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
920         <kernel-features.h>.
921         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
922         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
923         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
924         <kernel-features.h>.
925         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
926         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
927         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
928         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
929         <kernel-features.h>.
930         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
931         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
932         * sysdeps/unix/sysv/linux/linkat.c: Do not include
933         <kernel-features.h>.
934         (linkat) [__NR_linkat]: Make code unconditional.
935         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
936         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
937         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
938         <kernel-features.h>.
939         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
940         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
941         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
942         <kernel-features.h>.
943         (mkdirat) [__NR_mkdirat]: Make code unconditional.
944         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
945         * sysdeps/unix/sysv/linux/openat.c: Do not include
946         <kernel-features.h>.
947         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
948         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
949         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
950         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
951         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
952         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
953         <kernel-features.h>.
954         (readlinkat) [__NR_readlinkat]: Make code unconditional.
955         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
956         result of INLINE_SYSCALL directly, not via int variable.
957         * sysdeps/unix/sysv/linux/renameat.c: Do not include
958         <kernel-features.h>.
959         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
960         (renameat) [__NR_renameat]: Make code unconditional.
961         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
962         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
963         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
964         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
965         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
966         (__ASSUME_ATFCTS): Do not undefine and redefine.
967         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
968         <kernel-features.h>.
969         (symlinkat) [__NR_symlinkat]: Make code unconditional.
970         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
971         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
972         <kernel-features.h>.
973         (unlinkat) [__NR_unlinkat]: Make code unconditional.
974         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
975         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
976         (__ASSUME_ATFCTS): Do not undefine and redefine.
977         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
978         <kernel-features.h>.
979         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
980         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
981         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
982         <kernel-features.h>.
983         (__xmknodat) [__NR_mknodat]: Make code unconditional.
984         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
986 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
988         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
990 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
992         [BZ #17069]
993         * posix/regcomp.c (parse_reg_exp): Deallocate partially
994         constructed tree before returning error.
995         * posix/bug-regexp36.c: Expand test case.
997 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
999         [BZ #6803]
1000         * math/libm-test.inc (scalbln_test_date):
1001         Add errno expectations.
1002         * math/w_scalblnf.c: New File.
1003         Add wrapper which checks for setting errno to ERANGE.
1004         Add weak_alias for corresponding scalbln function.
1005         * math/w_scalbln.c: Likewise.
1006         * math/w_scalblnl.c: Likewise.
1007         * math/Makefile (libm-calls): Add w_scalbln.
1008         * sysdeps/ieee754/flt-32/s_scalblnf.c:
1009         Remove weak_alias for corresponding scalbln function.
1010         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1011         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1012         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1013         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1014         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1015         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1016         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1017         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1018         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1019         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1020         Remove long_double_symbol for scalblnl function in libm, libc.
1021         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1022         Add wrapper which checks for setting errno to ERANGE.
1023         Add long_double_symbol for scalblnl function in libm, libc.
1024         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1025         Remove long_double_symbol for scalblnl in libm.
1026         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1027         Add wrapper which checks for setting errno to ERANGE.
1028         Add long_double_symbol for scalblnl function in libm.
1029         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1030         Do not use wrapper because of own implementation.
1032 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
1034         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1035         3 bytes for __pad1 for x32.
1036         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1038 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
1039             H.J. Lu  <hongjiu.lu@intel.com>
1041         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1042         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1043         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1044         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1045         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1047 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
1049         [BZ #17069]
1050         * posix/regcomp.c (parse_expression): Deallocate partially
1051         constructed tree before returning error.
1052         * posix/Makefile.c (tests): Add bug-regex36.
1053         (generated): Add bug-regex36.mtrace.
1054         (tests-special): Add $(objpfx)bug-regex36-mem.out
1055         (bug-regex36-ENV): New variable.
1056         ($(objpfx)bug-regex36-mem.out): New rule.
1057         * posix/bug-regex36.c: New file.
1059 2014-06-19  Will Newton  <will.newton@linaro.org>
1061         * malloc/malloc.c (systrim): If extra is zero then return
1062         early.
1064 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1066         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1068 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
1070         * sysdeps/aarch64/strchr.S: New file.
1072 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1074         [BZ #17022]
1075         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1076         from arguments -2 or below.
1077         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1078         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1080 2014-06-18  Andreas Schwab  <schwab@suse.de>
1082         [BZ #17062]
1083         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1084         of a bracket expr not to run off the end of the string.
1085         * posix/Makefile (tests): Add tst-fnmatch3.
1086         * posix/tst-fnmatch3.c: New file.
1088 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1090         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1091         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1092         [$(cross-compiling) = no]: Likewise.
1093         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1094         [$(cross-compiling) = no]: Likewise.
1096 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1098         [BZ #17031]
1099         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1100         double, adjusted for any remainder from the high double.
1101         * math/libm-test.inc (nearbyint): Add tests.
1102         (rint): Likewise.
1104 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1106         * nptl/sysdeps/powerpc/Makefile: Moved ...
1107         * sysdeps/powerpc/nptl/Makefile: ... here.
1108         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1109         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1110         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1111         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1112         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1113         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1114         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1115         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1116         * nptl/sysdeps/powerpc/tls.h: Moved ...
1117         * sysdeps/powerpc/nptl/tls.h: ... here.
1119 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
1121         [BZ #16681]
1122         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1123         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1124         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1125         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1126         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1127         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1128         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1129         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1130         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1132 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
1134         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1136 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
1138         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1139         defined operator.
1141         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1142         $TIMEOUTFACTOR.
1144 2014-06-16  Florian Weimer  <fweimer@redhat.com>
1146         [BZ #17058]
1147         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1148         non-executed part of the test.
1150 2014-06-16  Andreas Schwab  <schwab@suse.de>
1152         * string/bits/string2.h (strdup, strndup): Update feature guard.
1154 2014-06-14  David S. Miller  <davem@davemloft.net>
1156         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1158 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
1160         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1161         that was previously under [RESET_PID].
1162         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1164         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1165         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1166         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1167         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1168         (__libc_vfork): New strong alias.
1169         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1171 2014-06-14 Andi Kleen  <ak@linux.intel.com>
1173         * sysdeps/generic/elide.h: New file.
1175 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1177         * Makefile (installed-headers): Adjust path of pthread.h header.
1179 2014-06-13  Roland McGrath  <roland@hack.frob.com>
1181         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1182         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1183         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1184         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1186         * nptl/sysdeps/s390/Makefile: Moved ...
1187         * sysdeps/s390/nptl/Makefile: ... here.
1188         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1189         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1190         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1191         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1192         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1193         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1194         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1195         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1196         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1197         * sysdeps/s390/nptl/pthreaddef.h: ... here.
1198         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1199         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1200         * nptl/sysdeps/s390/tls.h: Moved ...
1201         * sysdeps/s390/nptl/tls.h: ... here.
1203         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1204         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1206 2014-06-13  David S. Miller  <davem@davemloft.net>
1208         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1209         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1210         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1211         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1212         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1213         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1214         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1215         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1216         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1217         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1218         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1219         Remove RESET_PID cpp guards.
1220         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1221         Remove RESET_PID cpp guards.
1222         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1224 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
1226         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1227         __sp to uintptr_t.
1229 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1231         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1232         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1233         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1234         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1235         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1236         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1237         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1238         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1239         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1240         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1241         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1242         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1243         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1244         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1245         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1246         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1247         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1248         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1249         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1250         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1252         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1253         (pthread_rwlock_rdlock): Add elision.
1254         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1255         (pthread_rwlock_wrlock): Add elision.
1256         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1257         (pthread_rwlock_trywrlock): Add elision.
1258         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1259         (pthread_rwlock_tryrdlock): Add elision.
1260         * nptl/pthread_rwlock_unlock.c: Include elide.h.
1261         (pthread_rwlock_tryrdlock): Add elision unlock.
1262         * nptl/sysdeps/pthread/pthread.h:
1263         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1264         (PTHREAD_RWLOCK_INITIALIZER,
1265         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1266         Handle new elision field.
1267         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1268         * sysdeps/arm/nptl/bits/pthreadtypes.h
1269         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1270         * sysdeps/sh/nptl/bits/pthreadtypes.h
1271         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1272         * sysdeps/tile/nptl/bits/pthreadtypes.h
1273         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1274         * sysdeps/a/nptl/bits/pthreadtypes.h
1275         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1276         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1277         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1278         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1279         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1280         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1281         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1282         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1283         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1284         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1285         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1286         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1287         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1288         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1289         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1290         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1291         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1292         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1293         (elision_init): Set try_xbegin to zero when no RTM.
1294         * sysdeps/x86/nptl/bits/pthreadtypes.h
1295         (pthread_rwlock_t): Change __pad1 to __rwelision.
1296         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1298 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1300         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1301         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1302         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1303         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1305 2014-06-13  Meador Inge  <meadori@codesourcery.com>
1307         [BZ #16996]
1308         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1309         that the cached result has been set before returning it.
1311 2014-06-12  Roland McGrath  <roland@hack.frob.com>
1313         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1314         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1315         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1316         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1317         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1318         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1320         * nptl/sysdeps/sparc/Makefile: Moved ...
1321         * sysdeps/sparc/nptl/Makefile: ... here.
1322         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1323         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1324         * nptl/sysdeps/sparc/tls.h: Moved ...
1325         * sysdeps/sparc/nptl/tls.h: ... here.
1326         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1327         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1328         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1329         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1330         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1331         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1332         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1333         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1334         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1335         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1336         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1337         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1338         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1339         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1340         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1341         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1342         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1343         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1344         Update #include.
1345         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1346         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1347         Update #include.
1348         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1349         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1350         Update #include.
1351         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1352         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1353         Update #include.
1355         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1357         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1358         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1360         * sysdeps/pthread/posix-timer.h: Include <list.h>.
1361         (struct list_links): Type removed.
1362         (struct thread_node, struct timer_node): Replace struct list_links
1363         with struct list_head.
1364         (list_unlink_ip): Likewise.
1365         * sysdeps/pthread/timer_routines.c
1366         (timer_free_list, thread_free_list, thread_active_list): Likewise.
1367         (list_append, list_insbefore): Likewise.
1368         (list_init): Function removed.
1369         (thread_init, init_module): Use INIT_LIST_HEAD instead.
1370         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1371         * sysdeps/pthread/Makefile: ... here, new file.
1373         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1374         * sysdeps/nptl/Implies: ... here.
1375         * sysdeps/unix/sysv/linux/Implies: Add nptl.
1376         * nptl/sysdeps/pthread/list.h: Moved ...
1377         * include/list.h: ... here.
1378         * nptl/sysdeps/pthread/createthread.c: Moved ...
1379         * nptl/createthread.c: ... here.
1380         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1381         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1382         * nptl/pt-longjmp.c: ... here.
1383         * nptl/sysdeps/pthread/Makefile: Moved ...
1384         * sysdeps/nptl/Makefile: ... here.
1385         * nptl/sysdeps/pthread/Subdirs: Moved ...
1386         * sysdeps/nptl/Subdirs: ... here.
1387         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1388         * sysdeps/nptl/aio_misc.h: ... here.
1389         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1390         * sysdeps/nptl/bits/libc-lock.h: ... here.
1391         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1392         * sysdeps/nptl/bits/libc-lockP.h: ... here.
1393         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1394         * sysdeps/nptl/bits/stdio-lock.h: ... here.
1395         * nptl/sysdeps/pthread/configure: Moved ...
1396         * sysdeps/nptl/configure: ... here.
1397         * nptl/sysdeps/pthread/configure.ac: Moved ...
1398         * sysdeps/nptl/configure.ac: ... here.
1399         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1400         * sysdeps/nptl/gai_misc.h: ... here.
1401         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1402         * sysdeps/nptl/librt-cancellation.c: ... here.
1403         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1404         * sysdeps/nptl/malloc-machine.h: ... here.
1405         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1406         * sysdeps/nptl/pthread-functions.h: ... here.
1407         * nptl/sysdeps/pthread/pthread.h: Moved ...
1408         * sysdeps/nptl/pthread.h: ... here.
1409         * nptl/sysdeps/pthread/setxid.h: Moved ...
1410         * sysdeps/nptl/setxid.h: ... here.
1411         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1412         * sysdeps/nptl/sigfillset.c: ... here.
1413         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1414         * sysdeps/nptl/tcb-offsets.h: ... here.
1415         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1416         * sysdeps/nptl/tst-mqueue8x.c: ... here.
1417         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1418         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1419         * nptl/sysdeps/pthread/allocalim.h: Moved ...
1420         * sysdeps/pthread/allocalim.h: ... here.
1421         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1422         * sysdeps/pthread/bits/sigthread.h: ... here.
1423         * nptl/sysdeps/pthread/flockfile.c: Moved ...
1424         * sysdeps/pthread/flockfile.c: ... here.
1425         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1426         * sysdeps/pthread/ftrylockfile.c: ... here.
1427         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1428         * sysdeps/pthread/funlockfile.c: ... here.
1429         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1430         * sysdeps/pthread/posix-timer.h: ... here.
1431         * nptl/sysdeps/pthread/timer_create.c: Moved ...
1432         * sysdeps/pthread/timer_create.c: ... here.
1433         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1434         * sysdeps/pthread/timer_delete.c: ... here.
1435         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1436         * sysdeps/pthread/timer_getoverr.c: ... here.
1437         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1438         * sysdeps/pthread/timer_gettime.c: ... here.
1439         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1440         * sysdeps/pthread/timer_routines.c: ... here.
1441         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1442         * sysdeps/pthread/timer_settime.c: ... here.
1443         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1444         * sysdeps/pthread/tst-timer.c: ... here.
1445         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1446         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1448         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1449         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1451         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1452         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1453         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1454         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1455         Update #include target.
1456         * nptl/sysdeps/i386/i686/Makefile: Moved ...
1457         * sysdeps/i386/i686/nptl/Makefile: ... here.
1458         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1459         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1460         Update #include target.
1461         * nptl/sysdeps/i386/i686/tls.h: Moved ...
1462         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
1463         * nptl/sysdeps/i386/Makefile: Moved ...
1464         * sysdeps/i386/nptl/Makefile: ... here.
1465         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1466         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1467         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1468         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1469         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1470         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1471         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1472         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1473         * sysdeps/i386/nptl/pthreaddef.h: ... here.
1474         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1475         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1476         * nptl/sysdeps/i386/tls.h: Moved ...
1477         * sysdeps/i386/nptl/tls.h: ... here.
1479         * sysdeps/sh/Makefile [$(subdir) = csu]
1480         (gen-as-const-headers): Add tcb-offsets.sym.
1481         * nptl/sysdeps/sh/Makefile: File removed.
1482         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1483         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1484         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1485         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1486         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1487         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1488         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1489         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1490         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1491         * sysdeps/sh/nptl/pthreaddef.h: ... here.
1492         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1493         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1494         * nptl/sysdeps/sh/tls.h: Moved ...
1495         * sysdeps/sh/nptl/tls.h: ... here.
1496         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1497         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1498         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1499         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1500         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1501         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1502         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1503         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1504         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1505         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1506         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1507         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1508         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1509         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1510         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1511         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1512         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1513         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1514         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1515         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1516         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1517         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1518         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1519         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1520         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1521         Moved ...
1522         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1523         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1524         Moved ...
1525         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1526         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1527         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1528         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1529         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1530         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1531         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1532         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1533         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1534         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1535         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1536         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1537         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1538         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1539         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1540         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1541         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1542         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1543         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1545 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1547         * posix/spawn_faction_addopen.c: Include string.h.
1549 2014-06-11  Roland McGrath  <roland@hack.frob.com>
1551         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1552         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1553         * nptl/sysdeps/x86_64/Makefile: Moved ...
1554         * sysdeps/x86_64/nptl/Makefile: ... here.
1555         * nptl/sysdeps/x86_64/configure: Moved ...
1556         * sysdeps/x86_64/nptl/configure: ... here.
1557         * nptl/sysdeps/x86_64/configure.ac: Moved ...
1558         * sysdeps/x86_64/nptl/configure.ac: ... here.
1559         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1560         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1561         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1562         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1563         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1564         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1565         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1566         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1567         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1568         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1569         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1570         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1571         * nptl/sysdeps/x86_64/tls.h: Moved ...
1572         * sysdeps/x86_64/nptl/tls.h: ... here.
1573         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1574         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1575         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1576         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1578         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1580 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1584 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
1586         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1587         type.
1588         [POSIX] (off_t): Likewise.
1589         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1590         [POSIX] (S_ISBLK): Require macro.
1591         [POSIX] (S_ISCHR): Likewise.
1592         [POSIX] (S_ISDIR): Likewise.
1593         [POSIX] (S_ISFIFO): Likewise.
1594         [POSIX] (S_ISREG): Likewise.
1595         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1596         optional-macro.
1597         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1598         type.
1599         [POSIX] (time_t): Likewise.
1600         [POSIX] (timer_t): Likewise.
1602 2014-06-11  Florian Weimer  <fweimer@redhat.com>
1604         [BZ #17048]
1605         * posix/spawn_int.h (struct __spawn_action): Make the path string
1606         non-const to support deallocation.
1607         * posix/spawn_faction_addopen.c
1608         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1609         * posix/spawn_faction_destroy.c
1610         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
1611         path in all spawn_do_open actions.
1612         * posix/tst-spawn.c (do_test): Exercise the copy operation in
1613         posix_spawn_file_actions_addopen.
1615 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
1617         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1618         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1619         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1620         conditional code always true.
1621         (__libc_vfork): New alias.
1623 2014-06-11  Roland McGrath  <roland@hack.frob.com>
1625         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1626         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1628         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1630         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1631         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1633         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1634         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1636         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1637         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1639 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1641         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1642         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1643         multiarch strcmp for PPC64.
1644         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1645         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1646         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1647         multiarch optimizations.
1648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1649         (__libc_ifunc_impl_list): Likewise.
1651 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1653         * benchtests/scripts/validate_benchout.py: New script.
1654         * benchtests/Makefile (bench-func): Call it.
1655         * benchtests/scripts/benchout.schema.json: New file.
1657 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
1659         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1660         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1661         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1662         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1663         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1664         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1665         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1666         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1667         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1668         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1669         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1670         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1671         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1672         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1673         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1674         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1676         Moved ...
1677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1678         ... here.
1679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1680         Moved ...
1681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1683         Moved ...
1684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1685         ... here.
1686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1687         Moved ...
1688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1689         ... here.
1690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1691         Moved ...
1692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1694         Moved ...
1695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1696         ... here.
1697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1698         Moved ...
1699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1700         ... here.
1701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1702         Moved ...
1703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1705         Moved ...
1706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1707         ... here.
1708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1709         Moved ...
1710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1711         ... here.
1712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1713         Moved ...
1714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1715         ... here.
1716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1717         Moved ...
1718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1720         Moved ...
1721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1722         ... here.
1723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1724         Moved ...
1725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1726         ... here.
1727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1728         Moved ...
1729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1730         ... here.
1731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1732         Moved ...
1733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1735         Moved ...
1736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1737         ... here.
1738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1739         Moved ...
1740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1741         ... here.
1742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1743         Moved ...
1744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1746         Moved ...
1747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1748         ... here.
1749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1750         Moved ...
1751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1753         Moved ...
1754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1756         Moved ...
1757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1758         ... here.
1759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1760         Moved ...
1761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1762         ... here.
1763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1764         Moved ...
1765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1766         ... here.
1767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1768         Moved ...
1769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1771         Moved ...
1772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1773         ... here.
1774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1775         Moved ...
1776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1777         ... here.
1778         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1779         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1780         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1781         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1782         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1783         Moved ...
1784         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1785         ... here.
1786         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1787         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1788         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1789         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1790         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1791         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1792         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1793         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1794         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1795         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1796         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1797         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1798         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1799         Moved ...
1800         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1801         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1802         Moved ...
1803         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1804         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1805         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1806         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1807         Moved ...
1808         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1809         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1810         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1811         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1812         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1813         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1814         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1816 2014-06-10  Wilco  <wdijkstr@arm.com>
1818         * math/test-fenv-return.c: New file.
1819         * math/Makefile: Add new test test-fenv-return.
1821 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
1823         [BZ #17042]
1824         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1825         when x - 1 is zero.
1826         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1827         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1828         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1829         0.0L for an argument of 1.0L.
1830         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1831         Likewise.
1832         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1833         value when x - 1 is zero.
1834         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1835         * sysdeps/i386/fpu/libm-test-ulps: Update.
1836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1838 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
1840         [BZ #15119]
1841         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1843 2014-06-09  Roland McGrath  <roland@hack.frob.com>
1845         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1846         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1848 2014-06-09  Roland McGrath  <roland@hack.frob.com>
1850         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1851         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1853         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1854         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1856         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1857         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1859         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1860         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1862         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1863         if not already defined.
1864         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1865         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1866         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1867         (TLS_INIT_TP): Use it.
1868         (TLS_DEFINE_INIT_TP): New macro.
1869         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1871 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
1873         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1874         constant.
1875         [POSIX] (IXANY): Likewise.
1876         [POSIX] (OLCUC): Likewise.
1877         [POSIX || POSIX2008] (CBAUD): Do not allow.
1878         [POSIX || POSIX2008] (DEFECHO): Likewise.
1879         [POSIX || POSIX2008] (ECHOCTL): Likewise.
1880         [POSIX || POSIX2008] (ECHOKE): Likewise.
1881         [POSIX || POSIX2008] (ECHOPRT): Likewise.
1882         [POSIX || POSIX2008] (EXTA): Likewise.
1883         [POSIX || POSIX2008] (EXTB): Likewise.
1884         [POSIX || POSIX2008] (FLUSHO): Likewise.
1885         [POSIX || POSIX2008] (LOBLK): Likewise.
1886         [POSIX || POSIX2008] (PENDIN): Likewise.
1887         [POSIX || POSIX2008] (SWTCH): Likewise.
1888         [POSIX || POSIX2008] (VDISCARD): Likewise.
1889         [POSIX || POSIX2008] (VDSUSP): Likewise.
1890         [POSIX || POSIX2008] (VLNEXT): Likewise.
1891         [POSIX || POSIX2008] (VREPRINT): Likewise.
1892         [POSIX || POSIX2008] (VSTATUS): Likewise.
1893         [POSIX || POSIX2008] (VWERASE): Likewise.
1894         (B*): Change to B[0123456789]*.
1895         * conform/data/time.h-data [POSIX || UNIX98]
1896         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1897         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1898         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1899         [POSIX] (tm_*): Do not allow.
1901 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
1903         * Makefile (install): Don't set LANGUAGE.
1904         * Makefile.in (install): Likewise.
1905         * assert/Makefile (test-assert-ENV): Remove variable.
1906         (test-assert-perr-ENV): Likewise.
1907         * elf/Makefile (neededtest4-ENV): Likewise.
1908         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1909         [$(cross-compiling) = no]: Don't set LANGUAGE.
1910         * io/ftwtest-sh (LANG): Remove variable.
1911         * libio/Makefile (tst-widetext-ENV): Likewise.
1912         * manual/install.texi (Running make install): Don't refer to
1913         environment settings for make install.
1914         * INSTALL: Regenerated.
1915         * nptl/tst-tls6.sh: Don't set LANG.
1916         * posix/globtest.sh (LANG): Remove variable.
1917         * string/Makefile (tester-ENV): Likewise.
1918         (inl-tester-ENV): Likewise.
1919         (noinl-tester-ENV): Likewise.
1920         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1921         [$(cross-compiling) = no]: Don't set LANGUAGE.
1922         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1923         without explicit environment settings.
1925 2014-06-06  Roland McGrath  <roland@hack.frob.com>
1927         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1928         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1929         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1930         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1932 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
1934         * crypt/crypt-private.h [DOS]: Add some includes taken from the
1935         other files in the crypt directory.
1936         * crypt/crypt.c: Remove duplicate includes.
1937         * crypt/crypt-entry.c: Likewise.
1938         * crypt/crypt_util.c: Likewise.
1940 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
1942         * Makeconfig (run-program-env): New variable.
1943         (run-program-prefix-before-env): Likewise.
1944         (run-program-prefix-after-env): Likewise.
1945         (run-program-prefix): Define in terms of new variables.
1946         (built-program-cmd-before-env): New variable.
1947         (built-program-cmd-after-env): Likewise.
1948         (built-program-cmd): Define in terms of new variables.
1949         (test-program-prefix-before-env): New variable.
1950         (test-program-prefix-after-env): Likewise.
1951         (test-program-prefix): Define in terms of new variables.
1952         (test-program-cmd-before-env): New variable.
1953         (test-program-cmd-after-env): Likewise.
1954         (test-program-cmd): Define in terms of new variables.
1955         * Rules (make-test-out): Use $(run-program-env).
1956         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1957         (help): Do not mention environment variables.  Mention
1958         --timeoutfactor option.
1959         (timeoutfactor): New variable.
1960         (blacklist_exports): Remove function.
1961         (exports): Remove variable.
1962         (command): Do not include ${exports}.
1963         * manual/install.texi (Configuring and compiling): Do not mention
1964         test wrappers preserving environment variables.  Mention that last
1965         assignment to a variable must take precedence.
1966         * INSTALL: Regenerated.
1967         * benchtests/Makefile (run-bench): Use $(run-program-env).
1968         * catgets/Makefile ($(objpfx)test1.cat): Use
1969         $(built-program-cmd-before-env), $(run-program-env) and
1970         $(built-program-cmd-after-env).
1971         ($(objpfx)test2.cat): Do not specify environment variables
1972         explicitly.
1973         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1974         $(run-program-env) and $(built-program-cmd-after-env).
1975         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1976         $(run-program-env) and $(test-program-cmd-after-env).
1977         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1978         explicitly.
1979         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1980         run_program_env and test_program_cmd_after_env arguments.
1981         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1982         * elf/tst-pathopt.sh: Use run_program_env argument.
1983         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1984         $(test-wrapper-env) and $(run-program-env).
1985         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1986         run_program_env arguments.
1987         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1988         * intl/Makefile ($(objpfx)tst-gettext.out): Use
1989         $(test-program-prefix-before-env), $(run-program-env) and
1990         $(test-program-prefix-after-env).
1991         ($(objpfx)tst-gettext2.out): Likewise.
1992         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1993         run_program_env and test_program_prefix_after_env arguments.
1994         * intl/tst-gettext2.sh: Likewise.
1995         * intl/tst-gettext4.sh: Do not set environment variables
1996         explicitly.
1997         * intl/tst-gettext6.sh: Likewise.
1998         * intl/tst-translit.sh: Likewise.
1999         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2000         $(test-program-prefix-before-env), $(run-program-env) and
2001         $(test-program-prefix-after-env).
2002         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2003         run_program_env and test_program_prefix_after_env arguments.
2004         * math/Makefile (run-regen-ulps): Use $(run-program-env).
2005         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2006         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
2007         explicitly with each use of ${test_wrapper_env}.
2008         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2009         $(test-program-prefix-before-env), $(run-program-env) and
2010         $(test-program-prefix-after-env).
2011         * posix/tst-getconf.sh: Do not set environment variables
2012         explicitly.
2013         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2014         run_program_env and test_program_prefix_after_env arguments.
2015         * stdio-common/tst-printf.sh: Do not set environment variables
2016         explicitly.
2017         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2018         $(test-program-prefix-before-env), $(run-program-env) and
2019         $(test-program-prefix-after-env).
2020         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2021         run_program_env and test_program_prefix_after_env arguments.
2022         Split $test calls into $test_pre and $test.
2023         * timezone/Makefile (build-testdata): Use
2024         $(built-program-cmd-before-env), $(run-program-env) and
2025         $(built-program-cmd-after-env).
2027 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2029         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2030         strlen for non SHARED builds.
2032 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2034         * nptl/allocatestack.c (check_list): Inlined function...
2035         (__reclaim_stacks): ... here.
2037 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2039         [BZ #15698]
2040         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2041         memory overrun.
2043 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
2045         * Rules (make-test-out): Include
2046         LOCPATH=$(common-objpfx)localedata in default environment.
2047         * debug/Makefile (tst-chk1-ENV): Remove variable.
2048         (tst-chk2-ENV): Likewise.
2049         (tst-chk3-ENV): Likewise.
2050         (tst-chk4-ENV): Likewise.
2051         (tst-chk5-ENV): Likewise.
2052         (tst-chk6-ENV): Likewise.
2053         (tst-lfschk1-ENV): Likewise.
2054         (tst-lfschk2-ENV): Likewise.
2055         (tst-lfschk3-ENV): Likewise.
2056         (tst-lfschk4-ENV): Likewise.
2057         (tst-lfschk5-ENV): Likewise.
2058         (tst-lfschk6-ENV): Likewise.
2059         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2060         (tst-iconv7-ENV): Likewise.
2061         * intl/Makefile (LOCPATH-ENV): Likewise.
2062         (tst-codeset-ENV): Likewise.
2063         (tst-gettext3-ENV): Likewise.
2064         (tst-gettext5-ENV): Likewise.
2065         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2066         (tst-fopenloc-ENV): Likewise.
2067         (tst-fgetws-ENV): Remove variable.
2068         (tst-ungetwc1-ENV): Likewise.
2069         (tst-ungetwc2-ENV): Likewise.
2070         (bug-ungetwc2-ENV): Likewise.
2071         (tst-swscanf-ENV): Likewise.
2072         (bug-ftell-ENV): Likewise.
2073         (tst-fgetwc-ENV): Likewise.
2074         (tst-fseek-ENV): Likewise.
2075         (tst-ftell-partial-wide-ENV): Likewise.
2076         (tst-ftell-active-handler-ENV): Likewise.
2077         (tst-ftell-append-ENV): Likewise.
2078         * posix/Makefile (tst-fnmatch-ENV): Likewise.
2079         (tst-regexloc-ENV): Likewise.
2080         (bug-regex1-ENV): Likewise.
2081         (tst-regex-ENV): Likewise.
2082         (tst-regex2-ENV): Likewise.
2083         (bug-regex5-ENV): Likewise.
2084         (bug-regex6-ENV): Likewise.
2085         (bug-regex17-ENV): Likewise.
2086         (bug-regex18-ENV): Likewise.
2087         (bug-regex19-ENV): Likewise.
2088         (bug-regex20-ENV): Likewise.
2089         (bug-regex22-ENV): Likewise.
2090         (bug-regex23-ENV): Likewise.
2091         (bug-regex25-ENV): Likewise.
2092         (bug-regex26-ENV): Likewise.
2093         (bug-regex30-ENV): Likewise.
2094         (bug-regex32-ENV): Likewise.
2095         (bug-regex33-ENV): Likewise.
2096         (bug-regex34-ENV): Likewise.
2097         (bug-regex35-ENV): Likewise.
2098         (tst-rxspencer-ENV): Likewise.
2099         (tst-rxspencer-no-utf8-ENV): Likewise.
2100         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2101         (tst-sscanf-ENV): Likewise.
2102         (tst-swprintf-ENV): Likewise.
2103         (tst-swscanf-ENV): Likewise.
2104         (test-vfprintf-ENV): Likewise.
2105         (scanf13-ENV): Likewise.
2106         (bug14-ENV): Likewise.
2107         (tst-grouping-ENV): Likewise.
2108         * stdlib/Makefile (tst-strtod-ENV): Likewise.
2109         (tst-strtod3-ENV): Likewise.
2110         (tst-strtod4-ENV): Likewise.
2111         (tst-strtod5-ENV): Likewise.
2112         (testmb2-ENV): Likewise./
2113         * string/Makefile (tst-strxfrm-ENV): Likewise.
2114         (tst-strxfrm2-ENV): Likewise.
2115         (bug-strcoll1-ENV): Likewise.
2116         (test-strcasecmp-ENV): Likewise.
2117         (test-strncasecmp-ENV): Likewise.
2118         * time/Makefile (tst-strptime-ENV): Likewise.
2119         (tst-ftime_l-ENV): Likewise.
2120         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2121         (tst-mbrtowc-ENV): Likewise.
2122         (tst-wcrtomb-ENV): Likewise.
2123         (tst-mbrtowc2-ENV): Likewise.
2124         (tst-c16c32-1-ENV): Likewise.
2125         (tst-mbsnrtowcs-ENV): Likewise.
2127 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2129         * manual/resource.texi (How to get information about the memory
2130         subsystem?): Fix typo.
2131         Reported by Peon de la Parra Ivan <peon@keba.com>
2133 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
2135         [BZ #16882]
2136         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2137         (pthread_spin_lock): Branch out of spin loop to proper location.
2138         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2139         (pthread_spin_lock): Likewise.
2141         * nptl/tst-spin4.c: New test.
2142         * nptl/Makefile (tests): Add tst-spin4.
2144 2014-06-03  Andreas Schwab  <schwab@suse.de>
2146         [BZ #15946]
2147         * resolv/res_send.c (send_dg): Reload file descriptor after
2148         calling reopen.
2150 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
2152         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2154 2014-06-03  Richard Henderson  <rth@redhat.com>
2156         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2157         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2158         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2159         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
2160         in the SAVE_PID block.
2161         (__libc_vfork): New alias.
2162         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2164         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2165         child in registers, not on the stack.  Remove RESET_PID conditionals.
2166         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2168 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2170         * sysdeps/aarch64/libm-test-ulps: Regenerate.
2172 2014-06-03  Wilco  <wdijkstr@arm.com>
2174         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2175         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2176         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2177         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2178         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2179         Likewise.
2181 2014-06-03  Wilco  <wdijkstr@arm.com>
2183         * sysdeps/aarch64/fpu/math_private.h
2184         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2185         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2186         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2187         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2188         Fix declarations.
2190 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2192         * crypt/crypt-private.h: Include ufc-crypt.h.
2193         (__b64_from_24bit): Declare extern.
2194         * crypt/crypt_util.c(__b64_from_24bit): New function.
2195         (b64t): New static const variable.
2196         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2197         (b64t): Remove variable.
2198         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2199         * crypt/sha256-crypt.c: Include crypt-private.h.
2200         (b64t): Remove variable.
2201         (__sha256_crypt_r): Remove b64_from_24bit and replace
2202         with __b64_from_24bit.
2203         * crypt/sha512-crypt.c: Likewise.
2205 2014-06-02  Roland McGrath  <roland@hack.frob.com>
2207         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2208         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2209         Label the code __libc_vfork rather than __vfork.
2210         [!NOT_IN_libc] (vfork): Define as weak alias.
2211         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2212         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2213         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2215 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2217         * malloc/malloc.c (malloc_info): Fix format specifier for
2218         n_mmaps.
2220 2014-06-02  Wilco  <wdijkstr@arm.com>
2222         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2223         FPCR write.
2225 2014-06-02  Wilco  <wdijkstr@arm.com>
2227         [BZ #17009]
2228         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2229         Rewrite to reduce FPCR/FPSR accesses.
2231 2014-06-01  David S. Miller  <davem@davemloft.net>
2233         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2235 2014-05-31  David S. Miller  <davem@davemloft.net>
2237         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2238         to occur in round to nearest mode when |x| >= 2.0
2240 2014-05-30  Richard Henderson  <rth@twiddle.net>
2242         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2243         (PSEUDO_RET_NOERRNO): Remove.
2244         (ret): Don't redefine.
2245         (ret_NOERRNO): Define in terms of ret.
2246         (ret_ERRVAL): Likewise.
2248         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2249         use of PSEUDO_RET; perform the error check directly.
2251 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
2253         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2254         with __int128_t.
2256 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2258         * malloc/malloc (malloc_info): Fix formatting.
2260 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2261             Roland McGrath  <roland@hack.frob.com>
2263         * malloc/malloc (malloc_info): Also print mmapped statistics.
2265 2014-05-30  Roland McGrath  <roland@hack.frob.com>
2267         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2268         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2270 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
2272         * malloc/malloc.c (malloc_info): Inline mi_arena.
2274 2014-05-29  Richard Henderson  <rth@twiddle.net>
2276         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2277         Remove comma before expanding ASM_ARGS_##nr.
2278         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2279         Make _x0 a strict output; make _x8 a strict input; adjust expansion
2280         of ASM_ARGS_##nr.
2281         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2282         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2283         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2284         (ASM_ARGS_1): Add leading comma.
2286         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2287         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2288         to __errno_location.
2289         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2290         Remove the expected plt for __errno_location.
2292         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2293         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2294         call to __read_tp.
2296         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2297         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
2298         it and break it down.
2299         (DOCARGS_0, DOCARGS_1): Do nothing.
2300         (DOCARGS_2): Update to store into the new stack frame.
2301         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2302         (UNDOCARGS_1): Update to restore from the new stack frame.
2303         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2304         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2306         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2307         (SINGLE_THREAD_P): New parameter for result regno.
2308         (PSEUDO): Update to match; use cbz instead of beq.
2310         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2311         Use ENTRY to define the _nocancel entry point.  Share the syscall
2312         and syscall error check paths with the cancel path.
2313         (PSEUDO_END): New.
2315         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2316         whitespace; tabs before and after asm mnemonics.
2318 2014-05-29  Eric Wong  <normalperson@yhbt.net>
2320         [BZ #15132]
2321         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2322         Call fstat64 or stat64 internally, depending on arguments passed.
2323         Replace stat buffer argument with file descriptor argument.
2324         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2325         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2326         Pass fd to __internal_statvfs instead of calling fstat64.
2327         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2328         Pass fd to __internal_statvfs64 instead of calling fstat64.
2329         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2330         Pass -1 to __internal_statvfs instead of calling stat64.
2331         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2332         Pass -1 to __internal_statvfs64 instead of calling stat64.
2334 2014-05-28  Roland McGrath  <roland@hack.frob.com>
2336         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2337         that was previously under [RESET_PID].
2338         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2340         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2341         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2343 2014-05-27  Roland McGrath  <roland@hack.frob.com>
2345         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2347         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2348         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2350 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
2352         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2354 2014-05-27  Andreas Schwab  <schwab@suse.de>
2356         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2357         TLS_INIT_TP macro.
2358         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2359         * elf/rtld.c (init_tls, dl_main): Likewise.
2360         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2361         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2362         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2363         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2364         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2365         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2366         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2367         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2368         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2369         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2370         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2371         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2372         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2373         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2374         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2375         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2376         * sysdeps/generic/tls.h: Update description.
2378 2014-05-27  Will Newton  <will.newton@linaro.org>
2380         [BZ #16990]
2381         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2382         and restore r2 rather than just restoring.
2384 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2386         [BZ #16724]
2387         * libio/tst-ftell-append.c: New test case.
2388         * libio/Makefile (tests): Add test case.
2389         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2390         append mode.
2391         * libio/wfileops.c (do_ftell_wide): Likewise.
2393 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2397         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2398         ...
2399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2401         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2402         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2403         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2404         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2405         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2406         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2407         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2408         Moved ...
2409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2410         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2411         Moved ...
2412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2413         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2414         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2415         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2416         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2417         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2418         ...
2419         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2420         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2421         Moved ...
2422         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2423         here.
2424         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2425         ...
2426         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2427         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2428         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2430         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2431         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2432         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2433         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2435         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2436         merge into ...
2437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2438         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2439         ...
2440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2441         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2442         ...
2443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2444         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2445         Moved ...
2446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2447         here.
2448         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2449         Moved ...
2450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2451         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2452         Moved ...
2453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2456         conditional [RESET_PID].
2457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2458         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2459         removed.
2460         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2461         removed.
2463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2464         <tcb-offsets.h>.
2465         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2466         (__libc_vfork): New strong alias.
2467         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2468         removed.
2469         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2470         Removed.
2472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2473         <tcb-offsets.h>.
2474         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2475         (__libc_vfork): New strong alias.
2476         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2477         removed.
2478         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2479         removed.
2481 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
2483         * malloc/malloc.c (mi_arena): New function.
2484         (malloc_info): Remove nested function mi_arena. Call non-nosted
2485         function mi_arena.
2487 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2489         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2490         by insrwi.
2491         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2492         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2493         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2494         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2495         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2496         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2497         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2499 2014-05-26  Andreas Schwab  <schwab@suse.de>
2501         [BZ #16984]
2502         * locale/programs/repertoire.c (repertoire_read): Add slash
2503         between I18NPATH element and file name.
2504         * locale/programs/locfile.c (locfile_read): Likewise.
2506 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2508         * nptl/pthread_mutexattr_settype.c
2509         (__pthread_mutexattr_settype):
2510         Disable lock elision for PTHREAD_MUTEX_NORMAL.
2512 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2514         * nptl/tst-mutex5 (do_test):
2515         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2517 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2519         * benchtests/README: Document 'init' directive.
2520         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2521         BENCH_INIT.
2522         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2523         (parse_file): Recognize 'init' directive.
2525 2014-05-26  Kyle McMartin  <kyle@redhat.com>
2527         [BZ #16796]
2528         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2529         alignment of struct pthread.
2531 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2533         [BZ #16878]
2534         * nscd/netgroupcache.c (addgetnetgrentX): Look for
2535         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2536         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2537         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2539 2014-05-25  Richard Henderson  <rth@twiddle.net>
2541         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2542         (SINGLE_THREAD_P_PIC): Remove.
2543         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2544         (SINGLE_THREAD_P_PIC): Remove.
2546         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2547         branch to syscall error ...
2548         (PSEUDO): ... here.
2549         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2550         from __local_syscall_error to .Lsyscall_error.
2551         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2552         (SYSCALL_ERROR): Update label name.
2554         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2555         Do not use DOARGS/UNDOARGS.
2556         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2557         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2558         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2559         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2560         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2562         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2563         block comment.
2565         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2566         define if !NOT_IN_libc.
2567         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2568         define with non-default symbol versions.
2570 2014-05-23  Richard Henderson  <rth@twiddle.net>
2572         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2573         (vfork, __vfork): Define via compat_symbol.
2575         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2576         [!HAVE_IFUNC] (vfork_compat): Remove.
2577         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2579 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
2581         [BZ #16978]
2582         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2583         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2584         variable.
2586 2014-05-23  Richard Henderson  <rth@twiddle.net>
2588         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2589         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2590         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2591         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2593         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2594         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2595         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2596         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2597         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2598         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2599         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2600         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2601         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2602         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2603         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2604         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2605         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2606         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2607         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2608         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2609         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2610         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2611         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2612         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2613         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2614         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2615         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2616         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2617         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2618         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2619         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2620         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2621         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2622         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2623         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2624         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2625         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2626         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2627         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2628         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2629         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2630         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2631         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2632         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2633         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2634         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2635         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2636         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2637         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2638         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2639         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2640         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2641         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2642         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2643         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2644         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2645         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2646         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2647         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2648         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2650         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2651         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2652         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
2653         before exiting on error.
2654         (__libc_vfork): New strong alias.
2655         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2656         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2658         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2659         that was previously under [RESET_PID].
2660         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2662         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2664 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
2666         [BZ #16977]
2667         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2668         value when x - 1 is zero.
2669         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2670         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2671         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2672         0.0L for an argument of 1.0L.
2673         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2674         Likewise.
2675         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2676         value when x - 1 is zero.
2677         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2678         * sysdeps/i386/fpu/libm-test-ulps: Update.
2679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2681 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2683         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2684         alphasort and versionsort.
2686 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2688         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2689         macro.
2690         [copysignf]: Likewise.
2692 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2694         * crypt/md5-crypt.c: Fix formatting.
2696 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2698         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2699         (b64_from_24bit): New function.
2701 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2703         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2704         libc_hidden_builtin_def to ifunc.
2705         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2706         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2708 2014-05-21  Roland McGrath  <roland@hack.frob.com>
2710         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2711         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2713 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
2715         * nscd/Depend (linuxthreads): Remove.
2716         (nptl): Add.
2717         * resolv/Depend (linuxthreads): Remove.
2718         * rt/Depend (linuxthreads): Remove.
2720         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2721         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2722         $(common-objpfx)elf/.
2723         (link-libc-before-gnulib): Likewise.
2724         (elfobjdir): Remove variable.
2725         * Makefile (install): Use $(elf-objpfx) instead of
2726         $(common-objpfx)elf/.
2727         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2728         $(elfobjdir)/.
2729         (link-libc-deps): Likewise.
2730         ($(common-objpfx)libc.so): Likewise.
2731         ($(common-objpfx)linkobj/libc.so): Likewise.
2732         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2733         instead of $(common-objpfx)elf/.
2734         (symbolic-link-list): Likewise.
2735         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2736         [$(cross-compiling) = no]: Likewise.
2737         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2738         $(elfobjdir)/.
2739         (static-gnulib-arch): Likewise.
2740         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2741         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2742         $(common-objpfx)elf/.
2744 2014-05-21  Richard Henderson  <rth@redhat.com>
2746         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2747         (SINGLE_THREAD_P): Use the correct width load.  Fold
2748         into the ldr offset.
2750         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2751         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2753 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
2755         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2756         (libgcc_s_resume): Use __attribute_used__.
2757         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2758         Likewise.
2760 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2762         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2763         optimization when used with float constants.
2765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2767 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
2769         [BZ #16915]
2770         * locale/nl_langinfo_l.c: Make direct reference to every
2771         _nl_current_CATEGORY symbol.
2772         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2773         (tests-static): Add tst-langinfo-static.
2774         (tests-special): Add tst-langinfo-static.out.
2775         ($(objpfx)tst-langinfo.out): Redirect output.
2776         ($(objpfx)tst-langinfo-static.out): New.
2777         * localedata/tst-langinfo.sh: Send output to stdout.
2778         * localedata/tst-langinfo-static.c: New file.
2780         [BZ #16965]
2781         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2782         when the shift amount is modulo the limb size.
2784 2014-05-20  Richard Henderson  <rth@redhat.com>
2786         [BZ #16967]
2787         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2788         Change type of sa_flags from unsigned int to int.
2790         [BZ #16966]
2791         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2793         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2795 2014-05-20  Will Newton  <will.newton@linaro.org>
2797         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2798         Test the return value of the system call in the nocancel case.
2800 2014-05-20  Will Newton  <will.newton@linaro.org>
2801             Yvan Roux  <yvan.roux@linaro.org>
2803         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2804         #include of asm/ptrace.h.
2805         (PTRACE_GET_THREAD_AREA): Remove #undef.
2806         (PTRACE_GETHBPREGS): Likewise.
2807         (PTRACE_SETHBPREGS): Likewise.
2808         (struct user_regs_struct): New structure.
2809         (struct user_fpsimd_struct): New structure.
2810         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2811         #include of asm/ptrace.h and second #include of sys/user.h.
2812         (PTRACE_GET_THREAD_AREA): Remove #undef.
2813         (PTRACE_GETHBPREGS): Likewise.
2814         (PTRACE_SETHBPREGS): Likewise.
2815         (ELF_NGREG): Use new struct user_regs_struct.
2816         (elf_fpregset_t): Use new struct user_fpsimd_struct.
2818 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2820         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2821         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2823 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
2825         [BZ #16958]
2826         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2827         membar to avoid block loads/stores to overlap previous stores.
2829 2014-05-17  Richard Henderson  <rth@redhat.com>
2831         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2832         Create the __##syscall_name##_nocancel entry point.
2833         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2834         Remove; let the sysdep-cancel.h code create it.
2836 2014-05-17  David S. Miller  <davem@davemloft.net>
2838         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2839         Protect with __USE_GNU.
2840         (TIOCSET_TEMPT): Likewise.
2841         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2842         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2843         these are already provided in bits/ioctl-types.h
2845 2014-05-16  Roland McGrath  <roland@hack.frob.com>
2847         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2848         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2850         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2851         Use wait4 regardless of [__NR_waitpid].
2853 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
2855         PR libgcc/60166
2856         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2857         (_FP_NANSIGN_Q): Set the quiet bit.
2859 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
2861         * benchtests/Makefile
2862         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2863         not $(common-objpfx)math/libm.so.
2864         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2865         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2866         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2867         $(common-objpfx)dlfcn/libdl.so.
2868         ($(objpfx)tst-audit8): Depend on $(libm), not
2869         $(common-objpfx)math/libm.so.
2870         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2871         not $(common-objpfx)dlfcn/libdl.so.
2872         * math/Makefile
2873         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2874         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
2875         [$(build-shared) = yes].
2876         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2877         $(common-objpfx)nptl/libpthread.so.
2878         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2879         $(common-objpfx)math/libm.so$(libm.so-version) or
2880         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2881         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2882         $(common-objpfx)dlfcn/libdl.so.
2883         * setjmp/Makefile (link-libm): Remove variable.
2884         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2885         * stdio-common/Makefile (link-libm): Remove variable.
2886         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2887         * stdlib/Makefile (link-libm): Remove variable.
2888         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2889         ($(objpfx)tst-strtod-round): Likewise.
2890         ($(objpfx)tst-tininess): Likewise.
2891         ($(objpfx)tst-strtod-underflow): Likewise.
2892         ($(objpfx)tst-strtod6): Likewise.
2893         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2894         $(libdl), not $(common-objpfx)nptl/libpthread.so and
2895         $(common-objpfx)dlfcn/libdl.so.
2897 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2899         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2900         BSD terminal modes definitions.
2902 2014-05-16  Roland McGrath  <roland@hack.frob.com>
2904         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2905         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2907         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2908         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2909         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2910         Don't do #include_next.
2911         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2912         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2913         Don't do #include_next.
2914         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2915         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2916         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2917         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2919 2014-05-16  Allan McRae  <allan@archlinux.org>
2921         * po/sv.po: Update Swedish translation from translation project.
2923         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2924         in sed expression.
2926 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
2928         [BZ #16917]
2929         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2930         errno if the TIOCGPTN ioctl fails with an error different than
2931         EINVAL.
2932         * login/tst-ptsname.c: New file.
2933         * login/Makefile (tests): Add tst-ptsname.
2935         [BZ #16943]
2936         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2937         and prlimit64.
2939 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2941         [BZ #16849]
2942         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2943         herrno to return EAI_AGAIN.
2945 2014-05-14  Roland McGrath  <roland@hack.frob.com>
2947         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2948         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2949         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2950         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2951         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2952         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2953         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2954         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2955         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2956         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2957         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2958         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2959         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2960         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2961         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2962         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2963         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2964         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2965         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2966         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2967         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2968         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2969         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2970         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2971         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2972         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2973         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2974         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2975         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2976         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2977         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2978         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2980         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2982         Moved ...
2983         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2984         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2985         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2987         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2988         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2989         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2991         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2993         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2995         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2996         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2997         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2998         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2999         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3001         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3003         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3005         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3006         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3007         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3008         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3009         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3010         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3011         Moved ...
3012         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3013         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3014         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3015         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3016         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3017         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3018         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3019         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3020         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3021         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3022         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3023         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3024         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3025         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3026         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3027         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3028         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3029         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3030         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3031         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3032         Moved ...
3033         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3035         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3037         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3038         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3039         (libpthread-sysdep_routines): Add elision-related stuff here instead.
3040         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3041         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3042         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3043         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3044         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3045         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3046         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3047         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3048         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3049         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3050         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3051         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3052         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3053         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3054         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3055         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3056         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3057         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3058         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3059         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3060         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3061         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3062         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3063         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3064         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3065         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3066         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3067         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3069         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3070         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3072         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3073         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3074         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3075         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3076         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3077         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3078         Moved ...
3079         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3080         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3081         Moved ...
3082         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3083         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3084         Moved ...
3085         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3086         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3087         Moved ...
3088         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3089         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3090         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3091         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3092         Moved ...
3093         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3094         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3095         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3096         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3097         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3098         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3099         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3100         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3101         Moved ...
3102         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3103         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3104         Moved ...
3105         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3106         ... here.
3107         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3108         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3109         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3110         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3111         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3112         Moved ...
3113         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3114         ... here.
3115         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3116         Moved ...
3117         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3118         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3119         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3120         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3121         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3122         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3123         Moved ...
3124         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3125         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3126         Moved ...
3127         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3128         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3129         Moved ...
3130         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3131         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3132         Moved ...
3133         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3134         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3135         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3136         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3137         Moved ...
3138         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3139         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3140         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3141         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3142         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3143         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3144         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3145         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3146         Moved ...
3147         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3148         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3149         Moved ...
3150         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3151         ... here.
3152         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3153         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3154         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3155         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3156         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3157         Moved ...
3158         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3159         ... here.
3160         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3161         Moved ...
3162         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3163         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3164         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3165         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3166         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3167         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3168         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3169         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3170         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3171         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3172         Moved ...
3173         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3174         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3175         Moved ...
3176         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3177         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3178         Moved ...
3179         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3180         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3181         Moved ...
3182         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3183         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3184         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3185         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3186         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3187         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3188         Moved ...
3189         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3190         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3191         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3192         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3193         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3194         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3195         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3196         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3197         Moved ...
3198         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3199         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3200         Moved ...
3201         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3202         ... here.
3203         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3204         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3205         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3206         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3207         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3208         Moved ...
3209         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3210         ... here.
3211         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3212         Moved ...
3213         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3214         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3215         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3216         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3217         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3218         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3219         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3220         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3221         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3222         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3223         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3225         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3226         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3228         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3229         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3231         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3232         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3233         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3234         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3235         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3236         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3237         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3238         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3239         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3240         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3241         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3242         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3243         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3244         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3245         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3246         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3247         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3248         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3249         Moved ...
3250         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3251         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3252         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3253         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3254         Moved ...
3255         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3256         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3257         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3258         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3259         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3260         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3261         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3262         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3263         Moved ...
3264         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3265         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3266         Moved ...
3267         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3268         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3269         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3270         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3271         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3272         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3273         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3274         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3275         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3276         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3277         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3278         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3279         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3280         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3281         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3282         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3283         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3285         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3286         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3287         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3288         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3289         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3291         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3292         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3293         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3294         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3295         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3296         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3297         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3298         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3299         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3300         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3302         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3303         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3305         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3306         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3307         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3308         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3309         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3310         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3311         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3312         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3313         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3314         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3315         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3316         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3317         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3318         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3319         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3320         Update #include.
3321         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3322         Likewise.
3323         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3324         Likewise.
3325         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3326         Likewise.
3327         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3328         Likewise.
3329         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3330         Likewise.
3331         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3332         Likewise.
3333         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3334         Likewise.
3335         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3336         Likewise.
3337         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3338         Likewise.
3339         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3340         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3341         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3342         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3343         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3344         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3345         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3346         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3347         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3348         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3349         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3350         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3351         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3352         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
3353         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
3355         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3356         that was previously under [RESET_PID].
3357         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3358         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3359         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3361         * sysdeps/i386/nptl/Implies: New file.
3362         * sysdeps/x86_64/nptl/Implies: New file.
3363         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3364         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3365         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3366         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3368         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3369         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3370         (__libc_vfork): New strong alias.
3371         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3372         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3374         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3375         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3376         (__libc_vfork): New strong alias.
3377         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3378         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3380         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3381         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3382         (__libc_vfork): New strong alias.
3383         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3384         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3385         * nptl/pt-vfork.c: New file.
3386         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3387         (libpthread: GLIBC_2.20): New version set (empty).
3389 2014-05-14  Will Newton  <will.newton@linaro.org>
3391         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3392         rather than #if.
3394 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
3396         [BZ #16564]
3397         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3398         arguments with exponent 65 or above.
3399         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3400         arguments 0x1p113L or above.
3401         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3402         to arguments 0x1p107L or above.
3403         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3404         positive arguments with exponent 65 or above.
3405         * math/auto-libm-test-in: Add more tests of log1p.
3406         * math/auto-libm-test-out: Regenerated.
3408         [BZ #16928]
3409         * math/s_cacos.c (__cacos): Ensure zero real part of result from
3410         non-finite arguments is +0.
3411         * math/s_cacosf.c (__cacosf): Likewise.
3412         * math/s_cacosl.c (__cacosl): Likewise.
3413         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3414         * sysdeps/i386/fpu/libm-test-ulps: Update.
3415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3417         [BZ #16927]
3418         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3419         value.
3420         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3421         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3422         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3423         for explicit high bit of mantissa when testing for argument equal
3424         to 1.
3425         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3426         * sysdeps/i386/fpu/libm-test-ulps: Update.
3427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3429         [BZ #16516]
3430         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3431         (__erf): Scale by 16 instead of 8 in potentially underflowing
3432         case.  Ensure exception if result actually underflows.
3433         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3434         (__erff): Scale by 16 instead of 8 in potentially underflowing
3435         case.  Ensure exception if result actually underflows.
3436         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3437         (efx8): Remove variable.
3438         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3439         case.  Ensure exception if result actually underflows.
3440         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3441         (efx8): Remove variable.
3442         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3443         case.  Ensure exception if result actually underflows.
3444         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3445         (efx8): Remove variable.
3446         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3447         case.  Ensure exception if result actually underflows.
3448         * math/auto-libm-test-in: Add more tests of erf.
3449         * math/auto-libm-test-out: Regenerated.
3451 2014-05-14  Andreas Schwab  <schwab@suse.de>
3453         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3454         Remove code conditionalized on USE___THREAD.
3456         * config.h.in (HAVE_PT_CHOWN): Define as 0.
3457         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3458         not definedness.
3460 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
3462         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3463         Define unconditionally.
3464         (__ASSUME_O_CLOEXEC): Likewise.
3465         (__ASSUME_SOCK_CLOEXEC): Likewise.
3466         (__ASSUME_IN_NONBLOCK): Likewise.
3467         (__ASSUME_PIPE2): Likewise.
3468         (__ASSUME_EVENTFD2): Likewise.
3469         (__ASSUME_SIGNALFD4): Likewise.
3470         (__ASSUME_DUP3): Likewise.
3471         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3472         (__ASSUME_DUP3): Do not define.
3473         (__ASSUME_EVENTFD2): Likewise.
3474         (__ASSUME_IN_NONBLOCK): Likewise.
3475         (__ASSUME_O_CLOEXEC): Likewise.
3476         (__ASSUME_PIPE2): Likewise.
3477         (__ASSUME_SIGNALFD4): Likewise.
3478         (__ASSUME_SOCK_CLOEXEC): Likewise.
3479         (__ASSUME_UTIMES): Undefine.
3480         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3481         (__ASSUME_UTIMES): Do not define.
3482         (__ASSUME_O_CLOEXEC): Likewise.
3483         (__ASSUME_SOCK_CLOEXEC): Likewise.
3484         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3485         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3486         0x020621].
3487         (__ASSUME_PIPE2): Likewise.
3488         (__ASSUME_EVENTFD2): Likewise.
3489         (__ASSUME_SIGNALFD4): Likewise.
3490         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3491         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3492         Do not define.
3493         (__ASSUME_EVENTFD2): Likewise.
3494         (__ASSUME_SIGNALFD4): Likewise.
3495         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3496         (__ASSUME_32BITUIDS): Likewise.
3497         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3498         (__ASSUME_IPC64): Likewise.
3499         (__ASSUME_ST_INO_64_BIT): Likewise.
3500         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3501         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3502         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3503         (__ASSUME_UTIMES): Do not define.
3504         (__ASSUME_PSELECT): Likewise.
3505         (__ASSUME_PPOLL): Likewise.
3506         (__ASSUME_O_CLOEXEC): Likewise.
3507         (__ASSUME_SOCK_CLOEXEC): Likewise.
3508         (__ASSUME_IN_NONBLOCK): Likewise.
3509         (__ASSUME_PIPE2): Likewise.
3510         (__ASSUME_EVENTFD2): Likewise.
3511         (__ASSUME_SIGNALFD4): Likewise.
3512         (__ASSUME_DUP3): Likewise.
3513         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3514         (__ASSUME_UTIMES): Likewise.
3515         (__ASSUME_O_CLOEXEC): Likewise.
3516         (__ASSUME_SOCK_CLOEXEC): Likewise.
3517         (__ASSUME_IN_NONBLOCK): Likewise.
3518         (__ASSUME_PIPE2): Likewise.
3519         (__ASSUME_EVENTFD2): Likewise.
3520         (__ASSUME_SIGNALFD4): Likewise.
3521         (__ASSUME_DUP3): Likewise.
3522         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3523         (__ASSUME_UTIMES): Likewise.
3524         (__ASSUME_O_CLOEXEC): Likewise.
3525         (__ASSUME_SOCK_CLOEXEC): Likewise.
3526         (__ASSUME_IN_NONBLOCK): Likewise.
3527         (__ASSUME_PIPE2): Likewise.
3528         (__ASSUME_EVENTFD2): Likewise.
3529         (__ASSUME_SIGNALFD4): Likewise.
3530         (__ASSUME_DUP3): Likewise.
3531         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3532         Likewise.
3533         (__ASSUME_UTIMES): Likewise.
3534         (__ASSUME_EVENTFD2): Likewise.
3535         (__ASSUME_SIGNALFD4): Likewise.
3536         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3537         (__ASSUME_O_CLOEXEC): Likewise.
3538         (__ASSUME_SOCK_CLOEXEC): Likewise.
3539         (__ASSUME_IN_NONBLOCK): Likewise.
3540         (__ASSUME_PIPE2): Likewise.
3541         (__ASSUME_EVENTFD2): Likewise.
3542         (__ASSUME_SIGNALFD4): Likewise.
3543         (__ASSUME_DUP3): Likewise.
3544         (__ASSUME_UTIMES): Undefine.
3546         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3547         feclearexcept.  Remove symbol versioning code.
3548         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
3549         symbol versioning code.
3550         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
3551         symbol versioning code.
3552         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3553         feupdateenv.  Remove symbol versioning code.
3554         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3555         fegetexceptflag.  Remove symbol versioning code.
3556         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3557         fesetexceptflag.  Remove symbol versioning code.
3558         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3559         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
3560         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3561         (__posix_fadvise64_l32): Remove prototype.
3562         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3563         code.
3565 2014-05-13  Roland McGrath  <roland@hack.frob.com>
3567         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3568         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3569         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3570         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3572 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
3574         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3575         current working directory
3577 2014-05-13  Roland McGrath  <roland@hack.frob.com>
3579         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3580         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3581         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3582         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3583         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3584         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3585         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3586         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3587         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3588         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3589         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3590         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3591         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3592         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3593         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3594         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3595         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3596         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3597         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3598         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3599         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3600         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3601         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3602         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3603         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3604         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3605         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3606         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3607         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3608         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3609         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3610         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3611         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3612         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3613         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3614         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3615         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3616         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3617         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3618         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3619         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3620         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3622         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3623         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3625         * sysdeps/unix/sysv/linux/arm/Makefile
3626         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3627         Add rt-aeabi_unwind_cpp_pr1.
3628         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3629         Add nptl-aeabi_unwind_cpp_pr1.
3630         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3631         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3632         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3633         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3634         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3635         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3637         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3638         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3639         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3640         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3642         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3643         Deconditionalize the code that was previously under [RESET_PID].
3644         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3646         * sysdeps/generic/exit-thread.h: New file.
3647         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3648         * include/unistd.h (__exit_thread): Remove declaration.
3649         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3650         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3651         * csu/libc-start.c: Include <exit-thread.h>.
3652         (LIBC_START_MAIN): Pass no argument to __exit_thread.
3653         * nptl/pthread_create.c: Include <exit-thread.h>.
3654         (start_thread): Call __exit_thread in place of __exit_thread_inline.
3655         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3656         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3657         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3658         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3659         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3660         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3661         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3662         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3663         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3664         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3665         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3666         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3667         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3668         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3669         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3670         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3672 2014-05-13  Andreas Schwab  <schwab@suse.de>
3674         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3676 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
3678         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3679         (__ASSUME_UTIMES): Do not condition on kernel version.
3680         (__ASSUME_PSELECT): Define unconditionally.
3681         (__ASSUME_PPOLL): Likewise.
3682         (__ASSUME_ATFCTS): Likewise.
3683         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3684         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3685         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3686         (__ASSUME_UTIMENSAT): Define unconditionally.
3687         (__ASSUME_PRIVATE_FUTEX): Likewise.
3688         (__ASSUME_FALLOCATE): Likewise.
3689         (__ASSUME_O_CLOEXEC): Likewise.
3690         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3691         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3692         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3693         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3694         (__ASSUME_IN_NONBLOCK): Likewise.
3695         (__ASSUME_PIPE2): Likewise.
3696         (__ASSUME_EVENTFD2): Likewise.
3697         (__ASSUME_SIGNALFD4): Likewise.
3698         (__ASSUME_DUP3): Likewise.
3699         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3700         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3701         (__ASSUME_AT_RANDOM): Likewise.
3702         (__ASSUME_PREADV): Likewise.
3703         (__ASSUME_PWRITEV): Likewise.
3704         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3705         (__ASSUME_F_GETOWN_EX): Define unconditionally.
3706         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3707         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3708         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3709         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3710         (__ASSUME_O_CLOEXEC): Define unconditionally.
3711         (__ASSUME_PSELECT): Do not undefine conditionally.
3712         (__ASSUME_PPOLL): Likewise.
3713         (__ASSUME_ATFCTS): Likewise.
3714         (__ASSUME_SET_ROBUST_LIST): Likewise.
3715         (__ASSUME_UTIMENSAT): Likewise.
3716         (__ASSUME_FDATASYNC): Define unconditionally.
3717         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3718         (__ASSUME_SIGFRAME_V2): Likewise.
3719         )__ASSUME_EVENTFD2): Likewise.
3720         (__ASSUME_SIGNALFD4): Likewise.
3721         (__ASSUME_PSELECT): Do not undefine conditionally.
3722         (__ASSUME_PPOLL): Likewise.
3723         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3724         (__ASSUME_PSELECT): Define unconditionally.
3725         (__ASSUME_PPOLL): Likewise.
3726         (__ASSUME_O_CLOEXEC): Likewise.
3727         (__ASSUME_SOCK_CLOEXEC): Likewise.
3728         (__ASSUME_IN_NONBLOCK): Likewise.
3729         (__ASSUME_PIPE2): Likewise.
3730         (__ASSUME_EVENTFD2): Likewise.
3731         (__ASSUME_SIGNALFD4): Likewise.
3732         (__ASSUME_DUP3): Likewise.
3733         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3734         (__ASSUME_O_CLOEXEC): Likewise.
3735         (__ASSUME_SOCK_CLOEXEC): Likewise.
3736         (__ASSUME_IN_NONBLOCK): Likewise.
3737         (__ASSUME_PIPE2): Likewise.
3738         (__ASSUME_EVENTFD2): Likewise.
3739         (__ASSUME_SIGNALFD4): Likewise.
3740         (__ASSUME_DUP3): Likewise.
3741         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3742         (__ASSUME_EVENTFD2): Likewise.
3743         (__ASSUME_SIGNALFD4): Likewise.
3744         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3746 2014-05-12  Andreas Schwab  <schwab@suse.de>
3748         [BZ #16932]
3749         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3750         (_nss_nis_gethostbyname4_r): Return error if item length is larger
3751         than maximum RPC packet size.
3752         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3753         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3754         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3755         (_nss_nis_getservbyport_r): Likewise.
3757 2014-05-12  Will Newton  <will.newton@linaro.org>
3759         * malloc/Makefile (tests): Add tst-mallopt.
3760         * malloc/tst-mallopt.c: New file.
3762 2014-05-09  Roland McGrath  <roland@hack.frob.com>
3764         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3765         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3767 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3769         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3770         (tst-tlsmod6.so): Likewise.
3772 2014-05-09  Roland McGrath  <roland@hack.frob.com>
3774         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3776 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
3778         [BZ #16064]
3779         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3780         and <dl-procinfo.h>.
3781         (__fegetenv): Save SSE state in envp->__eip if supported.
3782         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3783         envp->__eip if supported.
3784         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3785         and <dl-procinfo.h>.
3786         (__fesetenv): Always set __eip, __cs_selector, __opcode,
3787         __data_offset and __data_selector in environment to 0.  Set SSE
3788         state if supported.
3789         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3790         test-fenv-sse.
3791         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3792         -mfpmath=sse.
3793         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3795 2014-05-09  Will Newton  <will.newton@linaro.org>
3797         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3798         and libc_relro_required for ARM.
3799         * sysdeps/arm/preconfigure: Regenerate.
3801 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
3802             Stefan Liebler  <stli@linux.vnet.ibm.com>
3804         * config.make.in (enable-lock-elision): New Makefile variable.
3805         * configure.ac: Likewise.
3806         * configure: Regenerate.
3807         * sysdeps/s390/configure.ac:
3808         Add check for gcc transactions support.
3809         * sysdeps/s390/configure: Regenerate.
3810         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3811         Build elision files if enabled.
3812         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3813         Add lock elision support for s390.
3814         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3815         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3816         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3817         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3818         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3819         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3820         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3821         Likewise.
3822         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3823         Likewise.
3824         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3825         Likewise.
3826         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3827         Likewise.
3828         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3829         (__lll_timedlock_elision, __lll_lock_elision)
3830         (__lll_unlock_elision, __lll_trylock_elision)
3831         (lll_timedlock_elision, lll_lock_elision)
3832         (lll_unlock_elision, lll_trylock_elision): Add.
3833         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3834         (pthread_mutex_t): Add lock elision support for s390.
3836 2014-05-14  Wilco  <wdijkstr@arm.com>
3838         * sysdeps/arm/fclrexcpt.c: Cleanup.
3839         * sysdeps/arm/fedisblxcpt.c: Cleanup.
3840         * sysdeps/arm/feenablxcpt.c: Cleanup.
3841         * sysdeps/arm/fegetenv.c: Cleanup.
3842         * sysdeps/arm/fegetexcept.c: Cleanup.
3843         * sysdeps/arm/fegetround.c: Cleanup.
3844         * sysdeps/arm/feholdexcpt.c: Cleanup.
3845         * sysdeps/arm/fesetenv.c: Cleanup.
3846         * sysdeps/arm/fesetround.c: Cleanup.
3847         * sysdeps/arm/feupdateenv.c: Cleanup.
3848         * sysdeps/arm/fgetexcptflg.c: Cleanup.
3849         * sysdeps/arm/fraiseexcpt.c: Cleanup.
3850         * sysdeps/arm/fsetexcptflg.c: Cleanup.
3851         * sysdeps/arm/ftestexcept.c: Cleanup.
3852         * sysdeps/arm/get-rounding-mode.h: Cleanup.
3853         * sysdeps/arm/setfpucw.c: Cleanup.
3855 2014-05-09  Will Newton  <will.newton@linaro.org>
3857         * sysdeps/arm/armv7/strcmp.S: New file.
3858         * NEWS: Mention addition of ARMv7 optimized strcmp.
3860 2014-05-08  Roland McGrath  <roland@hack.frob.com>
3862         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3863         look for %.ac rather than %.in.
3865         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3866         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3867         * sysdeps/mach/hurd/configure: Regenerated.
3868         * sysdeps/unix/sysv/linux/configure: Regenerated.
3870         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3872 2014-05-07  Steve Ellcey  <sellcey@mips.com>
3874         [BZ# 16922]
3875         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3876         (LONG_SUB): Ditto.
3877         (PTR_SUB): Ditto.
3879 2014-05-07  Andreas Schwab  <schwab@suse.de>
3881         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3882         when skipping over non-matching result from nscd.
3884 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
3886         [BZ #16876]
3887         * nptl/sockperf.c (client): Check socket return value.
3889         [BZ #16877]
3890         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3891         nscd security class.
3893 2014-05-06  Roland McGrath  <roland@hack.frob.com>
3895         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3896         * sysdeps/arm/unwind.h: ... here.
3898 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
3900         [BZ# 16916]
3901         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3902         Define.
3904 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3906         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3907         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3908         multiarch strncpy for PPC64.
3909         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3910         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3911         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3912         multiarch optimizations.
3913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3914         (__libc_ifunc_impl_list): Likewise.
3915         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3916         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3917         multiarch stpncpy for PPC64.
3918         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3919         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3921 2014-05-06  Andreas Schwab  <schwab@suse.de>
3923         [BZ #16912]
3924         * gmon/mcount.c (_MCOUNT_DECL): Use
3925         atomic_compare_and_exchange_bool_acq instead of
3926         catomic_compare_and_exchange_bool_acq.
3928 2014-05-05  Roland McGrath  <roland@hack.frob.com>
3930         * elf/Makefile (others, install-bin): Remove pldd.
3931         (pldd-modules): Variable removed.
3932         ($(objpfx)pldd): Target removed.
3933         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3934         (others, install-bin): Append pldd here.
3935         ($(objpfx)pldd): New target.
3937         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3938         to 0, so the first #if test emitted later doesn't see it undefined.
3939         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3940         * sysdeps/gnu/errlist.c: Regenerated.
3942 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3944         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3945         [libc_hidden_builtin_def]: Define to empty value.
3946         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3947         [libc_hidden_builtin_def]: Likewise.
3948         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3949         [libc_hidden_builtin_def]: Likewise.
3950         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3951         [libc_hidden_builtin_def]: Likewise.
3952         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3953         __redirect_memcpy and define ifunc as default hidden symbol.
3954         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3955         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3957 2014-05-04  Adam Conrad  <adconrad@0c3.net>
3959         * locale/iso-4217.def: Reintroduce XDR currency.
3961 2014-05-04  Allan McRae  <allan@archlinux.org>
3963         * po/eo.po: Update Esperanto translation from translation project.
3965 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
3967         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3968         and FEATURE_INDEX_MAX to 1.
3969         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3971 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3973         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3974         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3975         * iconvdata/big5.c (ONE_DIRECTION): Define.
3976         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3977         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3978         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3979         * iconvdata/cp932.c (ONE_DIRECTION): Define.
3980         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3981         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3982         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3983         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3984         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3985         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3986         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3987         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3988         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3989         * iconvdata/gbk.c (ONE_DIRECTION): Define.
3990         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3991         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3992         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3993         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3994         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3995         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3996         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3997         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3998         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3999         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4000         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4001         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4002         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4003         * iconvdata/iso646.c (ONE_DIRECTION): Define.
4004         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4005         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4006         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4007         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4008         * iconvdata/johab.c (ONE_DIRECTION): Define.
4009         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4010         * iconvdata/sjis.c (ONE_DIRECTION): Define.
4011         * iconvdata/t.61.c (ONE_DIRECTION): Define.
4012         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4013         * iconvdata/tscii.c (ONE_DIRECTION): Define.
4014         * iconvdata/uhc.c (ONE_DIRECTION): Define.
4015         * iconvdata/unicode.c (ONE_DIRECTION): Define.
4016         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4017         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4018         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4020 2014-05-01  Roland McGrath  <roland@hack.frob.com>
4022         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4023         (_IO_JUMPS_OFFSET): Define to 0.
4025         * nptl/sysdeps/pthread/bits/libc-lock.h
4026         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4027         (__libc_lock_define_initialized_recursive): Always define using
4028         initializer.  Modern compilers treat uninitialized (implicit zero) and
4029         explicit zero initializers the same (i.e. put the datum in bss).
4031 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4033         * nscd/nscd-client.h: Include <string.h>.
4035 2014-05-01  David S. Miller  <davem@davemloft.net>
4037         [BZ #16885]
4038         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4039         multiple zero bytes exist at the end of a string.
4040         Reported by Aurelien Jarno <aurelien@aurel32.net>
4042         * string/test-strcmp.c (check): Add explicit test for situations where
4043         there are multiple zero bytes after the first.
4045 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4047         [BZ #16890]
4048         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4049         when compiling wprintf.
4050         * stdio-common/tstdiomisc.c (t3): New function.
4051         (main): Call it.
4053 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4055         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4056         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4057         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4058         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4060 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4062         * stdlib/longlong.h: Updated from GCC.
4064 2014-05-01  Will Newton  <will.newton@linaro.org>
4065             Bernard Ogden  <bernie.ogden@linaro.org>
4067         * NEWS: Update fixed bug list.
4069         [BZ #15119]
4070         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4072 2014-04-30  David S. Miller  <davem@davemloft.net>
4074         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4075         (libc_feholdexcept_setround_sparc_ctx): New function.
4076         (libc_fesetenv_sparc_ctx): Likewise.
4077         (libc_feupdateenv_sparc_ctx): Likewise.
4078         (libc_feholdsetround_sparc_ctx): Likewise.
4079         (libc_feholdexcept_setround_ctx): Define.
4080         (libc_feholdexcept_setroundf_ctx): Likewise.
4081         (libc_feholdexcept_setroundl_ctx): Likewise.
4082         (libc_fesetenv_ctx): Likewise.
4083         (libc_fesetenvf_ctx): Likewise.
4084         (libc_fesetenvl_ctx): Likewise.
4085         (libc_feupdateenv_ctx): Likewise.
4086         (libc_feupdateenvf_ctx): Likewise.
4087         (libc_feupdateenvl_ctx): Likewise.
4088         (libc_feresetround_ctx): Likewise.
4089         (libc_feresetroundf_ctx): Likewise.
4090         (libc_feresetroundl_ctx): Likewise.
4091         (libc_feholdsetround_ctx): Likewise.
4092         (libc_feholdsetroundf_ctx): Likewise.
4093         (libc_feholdsetroundl_ctx): Likewise.
4095         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4096         with __USE_GNU instead of XOPEN cpp guards.
4098         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4099         0.
4101         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4102         with XOPEN cpp guards.
4104 2014-04-30  Julian Brown  <julian@codesourcery.com>
4106         [BZ #16888]
4107         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4108         handling.
4110 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
4112         [BZ #9894]
4113         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4114         Change to 2.6.32.
4115         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4116         * sysdeps/unix/sysv/linux/configure: Regenerated.
4117         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4118         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4119         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4120         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4121         * README: Update reference to required Linux kernel version.
4122         * manual/install.texi (Linux): Update reference to required Linux
4123         kernel headers version.
4124         * INSTALL: Regenerated.
4126         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4127         header inclusion.
4128         [POSIX] (limits.h): Likewise.
4129         [POSIX] (math.h): Likewise.
4130         [POSIX] (sys/wait.h): Likewise.
4131         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4132         function.
4133         [POSIX] (stddef.h): Do not allow header inclusion.
4135 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4137         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4139 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
4141         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4142         Return immediately after lll_futex_wake.
4144 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4146         [BZ #16791]
4147         * nscd/nscd-client.h (datahead_init_common): Initialize entire
4148         structure.
4149         (datahead_init_pos): Call datahead_init_common early.
4150         (datahead_init_neg): Likewise.
4152         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4153         datahead_init_neg): New functions.
4154         * nscd/aicache.c (addhstaiX): Use them.
4155         * nscd/grpcache.c (cache_addgr): Likewise.
4156         * nscd/hstcache.c (cache_addhst): Likewise.
4157         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4158         * nscd/netgroupcache.c (do_notfound): Likewise.
4159         (addgetnetgrentX): Likewise.
4160         (addinnetgrX): Likewise.
4161         * nscd/pwdcache.c (cache_addpw): Likewise.
4162         * nscd/servicescache.c (cache_addserv): Likewise.
4164 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4165             Atsushi Onoe  <atsushi@onoe.org>
4167         [BZ #14308]
4168         [BZ #12994]
4169         [BZ #13651]
4170         * resolv/res_query.c (__libc_res_nsearch): Return if at least
4171         one response is valid.
4172         * resolv/res_send.c (send_dg): Check for validity of other
4173         response if the current response is a referral.
4175 2014-04-29  Steve Ellcey  <sellcey@mips.com>
4177         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4179 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
4181         [BZ #16823]
4182         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4183         Always divide by positive zero when computing -Inf result.
4184         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4185         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4187 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4189         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4190         FPSCR if value do not change.
4191         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4192         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4193         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4194         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4195         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4196         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4197         function.
4199 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
4201         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4202         * sysdeps/unix/sysv/linux/hppa: Move directory from
4203         ports/systeps/unix/sysv/linux/hppa.
4204         * README: Update listing for hppa-*-linux-gnu.
4206 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
4208         [BZ #16754]
4209         * manual/stdio.texi (Hook functions): Fix types of stream hook
4210         functions.
4211         [BZ #16854]
4212         * socket/sys/socket.h: Fix typo in comment.
4214 2014-04-28  Wilco  <wdijkstr@arm.com>
4216         * sysdeps/arm/fenv_private.h: New file.
4217         * sysdeps/arm/math_private.h: New file.
4218         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4220 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
4222         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4223         with __int128_t.
4224         (La_x86_64_retval): Likewise.
4226 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
4228         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4229         fpsr if value didn't change.
4230         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4231         to fpcr if value didn't change.
4232         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4233         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4234         fpsr or fpcr if value didn't change.
4235         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4236         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4237         fpcr if value didn't change.
4238         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4239         to fpsr if value didn't change.
4241 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4243         * nptl/tst-sem3.c: Use test-skeleton.c
4244         (main): Rename to do_test.  Use return instead of
4245         exit.
4246         * nptl/tst-sem4.c: Use test-skeleton.c
4247         (main): Rename to do_test.
4249 2014-04-22  David S. Miller  <davem@davemloft.net>
4251         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4252         (struct sigaction): New struct member __glibc_reserved0, change
4253         type of sa_flags to int.
4255 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
4257         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4258         (COUNT_LEADING_ZEROS_0): Define for AArch64.
4260 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4262         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4263         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4265 2014-04-22  Will Newton  <will.newton@linaro.org>
4266             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
4268         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4269         (__longjmp): Add longjmp and longjmp_target SystemTap
4270         probes.
4271         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4272         (__sigsetjmp): Add setjmp SystemTap probe.
4274 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
4276         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4277         match manual order.
4279 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4281         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4283         * sysdeps/powerpc/fpu/fenv_private.h
4284         (libc_feholdexcept_setroundl_ctx): Define to
4285         libc_feholdexcept_setround_ppc_ctx.
4286         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4287         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4288         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4289         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4291 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4293         * sysdeps/aarch64/math-tests.h: New file.
4295 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
4297         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4298         New.
4299         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4300         Check and set bit_AVX2_Usable.
4301         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4302         macro.
4303         (bit_AVX2): Likewise.
4304         (index_AVX2_Usable): Likewise.
4305         (CPUID_AVX2): Likewise.
4306         (HAS_AVX2): Likewise.
4308 2014-04-17  Will Newton  <will.newton@linaro.org>
4310         * manual/setjmp.texi (System V contexts): Add note that
4311         calling setcontext on a context created by a call to a
4312         signal handler is undefined.  Update text to note that
4313         setcontext from a signal handler is possible but not
4314         recommended.
4316         [BZ #16629]
4317         * stdlib/tst-setcontext.c: Include signal.h.
4318         (main): Check that the signal stack before and
4319         after swapcontext is the same.
4321         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4322         Re-implement to restore registers in user code and avoid
4323         rt_sigreturn system call.
4325 2014-04-17  Wilco  <wdijkstr@arm.com>
4327         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4328         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4329         * math/test-fenv.c: Skip exception trap tests on targets which only
4330         support non-stop mode.
4332 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4333             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4335         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4336         (libc_feholdsetround_aarch64_ctx)
4337         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4338         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4339         (libc_feresetround_ctx, libc_feresetroundf_ctx)
4340         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4341         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4342         (libc_feresetround_noexl_ctx): Define.
4344 2014-04-16  Richard Henderson  <rth@redhat.com>
4346         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4348         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4349         unwind tables.
4351         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4352         const from the non-libc, non-ldso copy.
4354         * sysdeps/alpha/libm-test-ulps: Regenerate.
4356 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
4357             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4359         * sysdeps/aarch64/fpu/math_private.h: New file.
4361 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4363         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4365 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
4367         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4368         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4369         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4370         Intel MPX bound registers before _dl_profile_fixup.
4371         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4372         registers after _dl_profile_fixup.  Save and restore bound
4373         registers bnd0/bnd1 when calling _dl_call_pltexit.
4374         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4375         (LR_BND_OFFSET): Likewise.
4376         (LRV_BND0_OFFSET): Likewise.
4377         (LRV_BND1_OFFSET): Likewise.
4379 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4381         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4382         to...
4383         * sysdeps/mach/hurd/i386/tls.h: ... here.
4384         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4385         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4386         fields.
4388 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4390         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4392 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4394         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4396 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4398         [BZ #14770]
4399         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4400         * sysdeps/s390/configure: Regenerate.
4402         [BZ #16824]
4403         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4404         Set round-to-nearest internally to reduce error accumulation.
4406 2014-04-16  Alan Modra  <amodra@gmail.com>
4408         [BZ #16740]
4409         [BZ #16619]
4410         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4411         * math/libm-test.inc (frexp_test_data): Add tests.
4412         * NEWS: Update fixed bug list.
4414 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4416         * benchtests/Makefile: Depend on libraries in build directory.
4417         (bench-math): Separate out math tests.
4418         (bench-pthread): Separate out pthread tests.
4419         (bench): Include math and pthread tests.
4421 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
4423         [BZ #16831]
4424         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4425         _dl_debug_initialize.
4427         * configure.ac: Remove SELinux header check.
4428         * configure: Regenerate.
4429         * nscd/selinux.c (perms): Array of const char* to permission names.
4430         (nscd_request_avc_has_perm): Call security_deny_unknown to find
4431         default policy. Call string_to_security_class and string_to_av_perm to
4432         translate strings. Enforce default policy and call avs_has_perm with
4433         results of translated strings.
4435 2014-04-13  David S. Miller  <davem@davemloft.net>
4437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4439 2014-04-12  Allan McRae  <allan@archlinux.org>
4441         [BZ #16838]
4442         * manual/string.texi (Collation Functions): Fix qsort argument
4443         order in example.
4444         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4446 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
4448         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4449         Make the test a no-op if there are no exceptions defined.
4451 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4453         * elf/Makefile (tests): make tst-dlopen-aout conditional on
4454         enable-hardcoded-path-in-tests
4456 2014-04-11  Will Newton  <will.newton@linaro.org>
4458         * benchtests/Makefile (extra-objs): Add json-lib.o.
4459         (bench-func): Tidy up JSON output.
4460         * benchtests/bench-skeleton.c: Include json-lib.h.
4461         (main): Use JSON library functions to do output of
4462         benchmark results.
4463         * benchtests/bench-timing-type.c (main): Output the
4464         timing type simply, leaving formatting to the user.
4465         * benchtests/json-lib.c: New file.
4466         * benchtests/json-lib.h: Likewise.
4468 2014-04-11  Torvald Riegel  <triegel@redhat.com>
4470         [BZ #15215]
4471         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4472         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
4473         memory barriers.  Add comments.
4474         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4475         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4476         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4477         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4478         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4479         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4481 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4483         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4484         * sysdeps/s390/s390-64/configure.ac: ... this ...
4485         * sysdeps/s390/configure.ac: ... to here.
4486         * sysdeps/s390/s390-32/configure: Delete file.
4487         * sysdeps/s390/s390-64/configure: Delete file.
4488         * sysdeps/s390/configure: Regenerate.
4490 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
4492         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4494 2014-04-11  Will Newton  <will.newton@linaro.org>
4496         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4497         to zero if it is not defined elsewhere.  (mtrim): Test
4498         the value of MALLOC_DEBUG with #if rather than #ifdef.
4500 2014-04-10 Torvald Riegel  <triegel@redhat.com>
4502         * benchtests/pthread_once-inputs: New file.
4503         * benchtests/pthread_once-source.c: New file.
4504         * benchtests/README: Update documentation.
4506 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
4507             H.J. Lu  <hongjiu.lu@intel.com>
4509         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4510         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4511         * sysdeps/x86_64/configure: Regenerated.
4512         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4513         macro.
4514         (REGISTER_SAVE_RAX): Likewise.
4515         (REGISTER_SAVE_RCX): Likewise.
4516         (REGISTER_SAVE_RDX): Likewise.
4517         (REGISTER_SAVE_RSI): Likewise.
4518         (REGISTER_SAVE_RDI): Likewise.
4519         (REGISTER_SAVE_R8): Likewise.
4520         (REGISTER_SAVE_R9): Likewise.
4521         (REGISTER_SAVE_BND0): Likewise.
4522         (REGISTER_SAVE_BND1): Likewise.
4523         (REGISTER_SAVE_BND2): Likewise.
4524         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
4525         bound registers when calling _dl_fixup.
4527 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4529         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4530         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4531         of its definition.
4532         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4533         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4534         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4535         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4536         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4537         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4538         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4540 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
4542         [BZ #15514]
4543         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4544         pathconf(_PC_NAME_MAX).
4546 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4548         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4549         Remove macro usage.
4550         (__PTHREAD_SPINS): Move definition to ...
4551         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4552         (__PTHREAD_SPINS): ... here.
4553         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4554         (__PTHREAD_SPIN): Likewise.
4555         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4556         (__PTHREAD_SPIN): Likewise.
4557         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4558         (__PTHREAD_SPIN): Likewise.
4559         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4560         (__PTHREAD_SPIN): Likewise.
4561         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4562         (__PTHREAD_SPIN): Likewise.
4563         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4564         (__PTHREAD_SPIN): Likewise.
4565         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4566         (__PTHREAD_SPIN): Likewise.
4567         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4568         (__PTHREAD_SPIN): Likewise.
4569         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4570         (__PTHREAD_SPIN): Likewise.
4571         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4572         (__PTHREAD_SPIN): Likewise.
4573         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4574         (__PTHREAD_SPIN): Likewise.
4575         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4576         (__PTHREAD_SPIN): Likewise.
4578         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4579         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4580         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4581         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4582         imply folder.
4583         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4584         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4585         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4586         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4587         correct imply path.
4588         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4589         strlen symbol for non multi-arch builds.
4590         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4591         missing hidden_def and weak_alias.
4593 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
4595         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4597 2014-04-07  Will Newton  <will.newton@linaro.org>
4599         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4600         and contents.  [!_LIBC] Remove #ifndef and contents.
4601         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
4602         * string/memccpy.c (__memccpy): Use ANSI prototype.
4603         * string/memfrob.c (memfrob): Likewise.
4604         * string/strcoll.c (STRCOLL): Likewise.
4605         * string/strlen.c (strlen): Likewise.
4606         * string/strtok.c (STRTOK): Likewise.
4607         * string/strcat.c: Remove unused #include of memcopy.h.
4608         (strcat): Use ANSI prototype.
4609         * string/strchr.c: Remove unused #include of memcopy.h.
4610         (strchr): Use ANSI prototype.
4611         * string/strcmp.c: Remove unused #include of memcopy.h.
4612         (strcmp): Use ANSI prototype.
4613         * string/strcpy.c: Remove unused #include of memcopy.h.
4614         (strcpy): Use ANSI prototype.
4616 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4618         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4619         * config.make.in (config-extra-cppflags): Set it from
4620         libc_extra_cppflags.
4621         * configure.ac (libc_extra_cflags): Make it accumulate over
4622         configure fragments.
4623         (libc_extra_cppflags): New flag.
4624         * configure. Regenerate.
4625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4626         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4627         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4630         [BZ #16815]
4631         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4632         result for FE_DOWNWARD rounding mode.
4633         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4634         Likewise.
4635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4637 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
4639         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4640         in function argument name.
4642 2014-04-03  David Svoboda  <svoboda@cert.org>
4644         [BZ #5666]
4645         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4646         explicitly.
4648 2014-04-03  Roland McGrath  <roland@hack.frob.com>
4650         * elf/dl-unmap-segments.h: New file.
4651         * sysdeps/generic/ldsodefs.h
4652         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4653         * elf/dl-close.c: Include <dl-unmap-segments.h>.
4654         * elf/dl-fptr.c: Likewise.
4655         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4656         * sysdeps/aarch64/tlsdesc.c: Likewise.
4657         * sysdeps/arm/tlsdesc.c: Likewise.
4658         * sysdeps/i386/tlsdesc.c: Likewise.
4659         * sysdeps/tile/dl-runtime.c: Likewise.
4660         * sysdeps/x86_64/tlsdesc.c: Likewise.
4661         * elf/dl-load.h: New file.
4662         * elf/dl-load.c: Include it.
4663         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4664         Macros moved to dl-load.h.
4665         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4666         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4667         Use _dl_unmap_segments in place of __munmap.
4668         Break out segment-mapping loop into ...
4669         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4671 2014-04-03  Will Newton  <will.newton@linaro.org>
4673         * elf/dl-lookup.c (do_lookup_x): Remove comment
4674         referring to nested function and move variable
4675         declarations down to before first use.
4677 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
4679         [BZ #16799]
4680         [BZ #16800]
4681         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4682         with 0 numerator.
4683         * math/s_catanf.c (__catanf): Likewise.
4684         * math/s_catanh.c (__catanh): Likewise.
4685         * math/s_catanhf.c (__catanhf): Likewise.
4686         * math/s_catanhl.c (__catanhl): Likewise.
4687         * math/s_catanl.c (__catanl): Likewise.
4688         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4689         by positive zero when computing -Inf result.
4690         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4691         (catanh_test): Likewise.
4692         * sysdeps/i386/fpu/libm-test-ulps: Update.
4693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4695         [BZ #16789]
4696         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4697         instead of using underflowing value in computing result.
4698         * math/s_clog10.c (__clog10): Likewise.
4699         * math/s_clog10f.c (__clog10f): Likewise.
4700         * math/s_clog10l.c (__clog10l): Likewise.
4701         * math/s_clogf.c (__clogf): Likewise.
4702         * math/s_clogl.c (__clogl): Likewise.
4703         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4704         (clog10_test): Likewise.
4705         * sysdeps/i386/fpu/libm-test-ulps: Update.
4706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4708 2014-04-02  Alan Modra  <amodra@gmail.com>
4710         [BZ #16739]
4711         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4712         output when value is near a power of two.  Use int64_t for lx and
4713         remove casts.  Use decimal rather than hex exponent constants.
4714         Don't use long double multiplication when double will suffice.
4715         * math/libm-test.inc (nextafter_test_data): Add tests.
4716         * NEWS: Add 16739 and 16786 to bug list.
4718         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4720         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4722 2014-04-01  Will Newton  <will.newton@linaro.org>
4724         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4725         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
4727 2014-04-01  Florian Weimer  <fweimer@redhat.com>
4729         [BZ #13347]
4730         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4731         * nptl/tst-setuid2.c: New file.
4732         * nptl/Makefile (xtests): Add tst-setuid2.
4734 2014-04-01  Alan Modra  <amodra@gmail.com>
4736         [BZ #16786]
4737         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4739 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
4741         [BZ #6803]
4742         [BZ #6804]
4743         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4744         set errno as appropriate.
4745         * math/w_scalbf.c (__scalbf): Likewise.
4746         * math/w_scalbl.c (__scalbl): Likewise.
4747         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4748         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4749         * math/libm-test.inc (scalb_test_data): Add errno expectations.
4750         Add more NaN tests.
4752         [BZ #16349]
4753         * math/w_atan2.c: Include <errno.h>.
4754         (__atan2): Set errno for result underflowing to zero.
4755         * math/w_atan2f.c: Include <errno.h>.
4756         (__atan2f): Set errno for result underflowing to zero.
4757         * math/w_atan2l.c: Include <errno.h>.
4758         (__atan2l): Set errno for result underflowing to zero.
4759         * math/auto-libm-test-in: Don't allow missing errno for some atan2
4760         tests.
4761         * math/auto-libm-test-out: Regenerated.
4763 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4765         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4766         Encode instruction correctly in little endian.
4767         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4768         Likewise.
4769         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4770         Likewise.
4771         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4772         Likewise.
4773         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4774         Likewise.
4776 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
4778         [BZ #9894]
4779         * sysdeps/unix/sysv/linux/kernel-features.h
4780         [__sparc__ && !__arch64__ && !__sparc_v9__]
4781         (__ASSUME_SET_ROBUST_LIST): Do not define.
4782         [__sparc__ && !__arch64__ && !__sparc_v9__]
4783         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4784         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4785         Likewise.
4786         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4787         (__ASSUME_FUTEX_LOCK_PI): Undefine.
4788         (__ASSUME_REQUEUE_PI): Likewise.
4789         (__ASSUME_SET_ROBUST_LIST): Likewise.
4790         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4791         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4792         Undefine.
4793         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4794         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4795         Likewise.
4796         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4797         Likewise.
4798         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4799         Likewise.
4800         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4801         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4802         Undefine.
4803         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4804         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4805         Likewise.
4807         [BZ #16648]
4808         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4809         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4810         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4812 2014-03-31  Will Newton  <will.newton@linaro.org>
4814         * benchtests/Makefile (bench): Add ffs and ffsll to list
4815         of tests.
4816         * benchtests/ffs-inputs: New file.
4817         * benchtests/ffsll-inputs: Likewise.
4819 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
4821         [BZ #16770]
4822         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4823         too large before casting to int.
4824         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4825         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4826         * math/libm-test.inc (scalb_test_data): Add more tests.
4828 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4830         * benchtests/Makefile (DETAILED_OPT): New make option.
4831         (bench-func): Run benchmark program with -d if DETAILED_OPT is
4832         set.
4833         * benchtests/bench-skeleton.c: Include stdbool.h.
4834         (main): Store and print timings per input.
4835         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4836         member to each argument value.
4837         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4838         (_print_arg_data): Initialize per-input timing to 0.
4840         * benchtests/Makefile (timing-type): New binary.
4841         (bench-clean): Also remove bench-timing-type.
4842         (bench): New target for timing-type.
4843         (bench-func): Print output in JSON format.
4844         * benchtests/bench-skeleton.c (main): Print output in JSON
4845         format.
4846         * benchtests/bench-timing-type.c: New file.
4847         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4848         (TIMING_PRINT_STATS): Remove.
4849         * benchtests/scripts/bench.py (_print_arg_data): Store variant
4850         name separately.
4852         * benchtests/bench-modf.c: Remove.
4853         * benchtests/modf-inputs: New inputs file.
4855 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
4857         [BZ #16362]
4858         * math/s_clog10.c (M_PI_LOG10E): New macro.
4859         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4860         imaginary parts are 0.
4861         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4862         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4863         imaginary parts are 0.
4864         * math/s_clog10l.c (M_PI_LOG10El): New macro.
4865         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4866         imaginary parts are 0.
4867         * math/libm-test.inc (clog10_test_data): Update expected results
4868         for when real and imaginary parts are 0.
4870 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
4872         * elf/dl-load.c: Finish conversion of __builtin_expect into
4873         __glibc_{un}likely.
4875 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
4877         [BZ #16348]
4878         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4879         1+x for argument with exponent below -67.
4880         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4881         Likewise.
4882         * math/auto-libm-test-in: Add more tests of exp.
4883         * math/auto-libm-test-out: Regenerated.
4885 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4887         [BZ #16759]
4888         * inet/getnetgrent_r.c (get_nonempty_val): New function.
4889         (nscd_getnetgrent): Use it.
4891         [BZ #16760]
4892         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4893         of stpcpy.
4895 2014-03-27  Andi Kleen  <ak@linux.intel.com>
4897         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4898         (lll_robust_lock, lll_cond_lock, lll_timedlock)
4899         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4900         (lll_robust_unlock): Remove out of line section. Use cfi
4901         intrinsics.
4902         (LLL_STUB_UNWIND_INFO*): Remove.
4903         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4904         (lll_robust_lock, lll_cond_lock, lll_timedlock)
4905         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4906         (lll_robust_unlock): Remove out of line section. Use cfi
4907         intrinsics.
4908         (LLL_STUB_UNWIND_INFO*): Remove.
4910 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4912         [BZ #16758]
4913         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4914         blank values.
4916 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
4918         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4920 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
4922         [BZ #16198]
4923         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4924         fnstenv.
4925         * math/test-fenv-preserve.c: New file.
4926         * math/Makefile (tests): Add test-fenv-preserve.
4928 2014-03-26  Will Newton <will.newton@linaro.org>
4930         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4932 2014-03-25  Roland McGrath  <roland@hack.frob.com>
4934         * scripts/versionlist.awk: Partition the version sets and emit all
4935         GLIBC_* (sorted) before all others (sorted).
4937 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
4939         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4940         GLIBC_2.2.5 version.
4942 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4944         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4945         calls.
4947         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4948         previous change.
4950         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4952 2014-03-25  Andreas Schwab  <schwab@suse.de>
4954         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4955         label to be used after in6ailist is initialized.
4957 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4959         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4960         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4962 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
4964         [BZ #16357]
4965         [BZ #16599]
4966         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4967         min_plus_half.
4968         (fp_formats): Update initializers.
4969         (init_fp_formats): Initialize new field.
4970         (output_for_one_input_case): Allow underflow for results up to
4971         min_plus_half.
4972         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4973         * math/auto-libm-test-in: Don't mark some underflows from asin and
4974         atanh as spurious.
4975         * math/auto-libm-test-out: Regenerated.
4976         * sysdeps/i386/fpu/libm-test-ulps: Update.
4977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4979 2014-03-25  Andreas Schwab  <schwab@suse.de>
4981         * libio/Makefile (tst-ftell-partial-wide-ENV)
4982         (tst-ftell-active-handler-ENV): Define.
4984 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
4986         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4988 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4990         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4992 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
4994         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4995         * sysdeps/x86_64/fpu/multiarch/e_exp.c
4996         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4998 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5000         [BZ #16634]
5001         * elf/dl-load.c (open_verify): Add mode parameter.
5002         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5003         (open_path): Change from boolean 'secure' to complete flag 'mode'
5004         (_dl_map_object): Adjust.
5005         * elf/Makefile (tests): Add tst-dlopen-aout.
5006         * elf/tst-dlopen-aout.c: New test.
5008 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
5010         [BZ #16714]
5011         * sysdeps/unix/sysv/linux/s390/bits/stat.h
5012         (struct stat): Rename member pad0 to __glibc_reserved0.
5014         [BZ #16712]
5015         * sysdeps/s390/s390-32/bits/wordsize.h
5016         (__WORDSIZE32_SIZE_ULONG): New define.
5017         * sysdeps/s390/s390-64/bits/wordsize.h
5018         (__WORDSIZE32_SIZE_ULONG): Likewise.
5019         * sysdeps/generic/stdint.h (SIZE_MAX):
5020         Define as UL if __WORDSIZE32_SIZE_ULONG.
5022         [BZ #16713]
5023         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5024         (__glibc_reserved0): New variable.
5025         (sa_flags): Change type to int.
5027         * posix/Makefile (before-compile): Use += before-compile instead
5028         of a :=.
5030         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5031         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5033 2014-03-20  Andreas Schwab  <schwab@suse.de>
5035         [BZ #16743]
5036         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5037         non-matching result from nscd.
5039 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5041         * scripts/bench.py: Moved to ...
5042         * benchtests/scripts/bench.py: ... here.
5043         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5045 2014-03-24  Andreas Schwab  <schwab@suse.de>
5047         [BZ #16002]
5048         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5049         alloca_account and account alloca use for struct in6ailist.
5051 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5053         [BZ #16284]
5054         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5055         rounding mode to recompute results that overflow to infinity or
5056         underflow to zero.
5057         * math/auto-libm-test-in: Don't mark tests as expected to fail for
5058         bug 16284.
5059         * math/auto-libm-test-out: Regenerated.
5060         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5061         (ccosh_test): Likewise.
5062         (csin_test_data): Use plus_oflow.
5063         (csin_test): Use ALL_RM_TEST.
5064         (csinh_test_data): Use plus_oflow.
5065         (csinh_test): Use ALL_RM_TEST.
5066         * sysdeps/i386/fpu/libm-test-ulps: Update.
5067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5069 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
5071         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5072         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5073         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5075         [BZ #16731]
5076         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5077         when x - 1 is zero.
5078         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5079         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5080         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5081         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5082         argument is 1.
5083         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5084         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5085         zero.
5086         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5087         * sysdeps/i386/fpu/libm-test-ulps: Update.
5088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5090 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5092         * scripts/bench.pl: Remove file.
5093         * scripts/bench.py: New benchmark script.
5094         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5095         * benchtests/README: Mention python dependency.
5096         * scripts/pylintrc: New file.
5097         * scripts/pylint: New file.
5099         * bits/mathdef.h: Use #ifdef instead of #if.
5100         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5101         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5102         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5103         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5104         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5105         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5107 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5108             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5110         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5111         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5112         and strpbrk-ppc64 objects.
5113         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5114         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5115         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5116         multiarch strpbrk for POWER7.
5117         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5118         multiarch strpbrk for PPC64.
5119         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5120         ifunc selector.
5121         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5122         strpbrk for POWER7.
5124 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5126         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5127         (atan_test): Likewise.
5128         (atanh_test_data): Use NO_TEST_INLINE for two tests.
5129         (atanh_test): Use ALL_RM_TEST.
5130         (atan2_test_data): Likewise.
5131         (cabs_test): Likewise.
5132         (cacosh_test): Likewise.
5133         (carg_test): Likewise.
5134         (casin_test): Likewise.
5135         (casinh_test): Likewise.
5136         (cbrt_test): Likewise.
5137         (csqrt_test): Likewise.
5138         (erf_test): Likewise.
5139         (erfc_test): Likewise.
5140         (pow10_test): Likewise.
5141         (exp2_test): Likewise.
5142         (hypot_test): Likewise.
5143         (j0_test): Likewise.
5144         (j1_test): Likewise.
5145         (lgamma_test): Likewise.
5146         (gamma_test): Likewise.
5147         (sincos_test): Likewise.
5148         (tanh_test): Likewise.
5149         (y0_test): Likewise.
5150         (y1_test): Likewise.
5151         * sysdeps/i386/fpu/libm-test-ulps: Update.
5152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5154 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5156         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5157         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5158         and strcspn-ppc64 objects.
5159         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5160         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5161         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5162         multiarch strcspn for POWER7.
5163         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5164         multiarch strcspn for PPC64.
5165         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5166         ifunc selector.
5167         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5168         strcspn for POWER7.
5170 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5172         * math/gen-libm-test.pl (generate_testfile): Expect only function
5173         name as argument to AUTO_TESTS_* and pass results for all rounding
5174         modes to parse_args.
5175         (parse_auto_input): Separate inputs of automatic tests from
5176         outputs before storing in %auto_tests.
5177         * math/libm-test.inc (acos_test_data): Update call to
5178         AUTO_TESTS_f_f.
5179         (acos_test): Use ALL_RM_TEST.
5180         (acos_tonearest_test_data): Remove.
5181         (acos_test_tonearest): Likewise.
5182         (acos_towardzero_test_data): Likewise.
5183         (acos_test_towardzero): Likewise.
5184         (acos_downward_test_data): Likewise.
5185         (acos_test_downward): Likewise.
5186         (acos_upward_test_data): Likewise.
5187         (acos_test_upward): Likewise.
5188         (acosh_test_data): Update call to AUTO_TESTS_f_f.
5189         (asin_test_data): Likewise.
5190         (asin_test): Use ALL_RM_TEST.
5191         (asin_tonearest_test_data): Remove.
5192         (asin_test_tonearest): Likewise.
5193         (asin_towardzero_test_data): Likewise.
5194         (asin_test_towardzero): Likewise.
5195         (asin_downward_test_data): Likewise.
5196         (asin_test_downward): Likewise.
5197         (asin_upward_test_data): Likewise.
5198         (asin_test_upward): Likewise.
5199         (asinh_test_data): Update call to AUTO_TESTS_f_f.
5200         (atan_test_data): Likewise.
5201         (atanh_test_data): Likewise.
5202         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5203         (cabs_test_data): Update call to AUTO_TESTS_c_f.
5204         (carg_test_data): Likewise.
5205         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5206         (ccos_test_data): Update call to AUTO_TESTS_c_c.
5207         (ccosh_test_data): Likewise.
5208         (cexp_test_data): Likewise.
5209         (clog_test_data): Likewise.
5210         (clog10_test_data): Likewise.
5211         (cos_test_data): Update call to AUTO_TESTS_f_f.
5212         (cos_test): Use ALL_RM_TEST.
5213         (cos_tonearest_test_data): Remove.
5214         (cos_test_tonearest): Likewise.
5215         (cos_towardzero_test_data): Likewise.
5216         (cos_test_towardzero): Likewise.
5217         (cos_downward_test_data): Likewise.
5218         (cos_test_downward): Likewise.
5219         (cos_upward_test_data): Likewise.
5220         (cos_test_upward): Likewise.
5221         (cosh_test_data): Update call to AUTO_TESTS_f_f.
5222         (cosh_test): Use ALL_RM_TEST.
5223         (cosh_tonearest_test_data): Remove.
5224         (cosh_test_tonearest): Likewise.
5225         (cosh_towardzero_test_data): Likewise.
5226         (cosh_test_towardzero): Likewise.
5227         (cosh_downward_test_data): Likewise.
5228         (cosh_test_downward): Likewise.
5229         (cosh_upward_test_data): Likewise.
5230         (cosh_test_upward): Likewise.
5231         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5232         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5233         (ctan_test_data): Likewise.
5234         (ctan_test): Use ALL_RM_TEST.
5235         (ctan_tonearest_test_data): Remove.
5236         (ctan_test_tonearest): Likewise.
5237         (ctan_towardzero_test_data): Likewise.
5238         (ctan_test_towardzero): Likewise.
5239         (ctan_downward_test_data): Likewise.
5240         (ctan_test_downward): Likewise.
5241         (ctan_upward_test_data): Likewise.
5242         (ctan_test_upward): Likewise.
5243         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5244         (ctanh_test): Use ALL_RM_TEST.
5245         (ctanh_tonearest_test_data): Remove.
5246         (ctanh_test_tonearest): Likewise.
5247         (ctanh_towardzero_test_data): Likewise.
5248         (ctanh_test_towardzero): Likewise.
5249         (ctanh_downward_test_data): Likewise.
5250         (ctanh_test_downward): Likewise.
5251         (ctanh_upward_test_data): Likewise.
5252         (ctanh_test_upward): Likewise.
5253         (erf_test_data): Update call to AUTO_TESTS_f_f.
5254         (erfc_test_data): Likewise.
5255         (exp_test_data): Likewise.
5256         (exp_test): Use ALL_RM_TEST.
5257         (exp_tonearest_test_data): Remove.
5258         (exp_test_tonearest): Likewise.
5259         (exp_towardzero_test_data): Likewise.
5260         (exp_test_towardzero): Likewise.
5261         (exp_downward_test_data): Likewise.
5262         (exp_test_downward): Likewise.
5263         (exp_upward_test_data): Likewise.
5264         (exp_test_upward): Likewise.
5265         (exp10_test_data): Update call to AUTO_TESTS_f_f.
5266         (exp10_test): Use ALL_RM_TEST.
5267         (exp10_tonearest_test_data): Remove.
5268         (exp10_test_tonearest): Likewise.
5269         (exp10_towardzero_test_data): Likewise.
5270         (exp10_test_towardzero): Likewise.
5271         (exp10_downward_test_data): Likewise.
5272         (exp10_test_downward): Likewise.
5273         (exp10_upward_test_data): Likewise.
5274         (exp10_test_upward): Likewise.
5275         (exp2_test_data): Update call to AUTO_TESTS_f_f.
5276         (expm1_test_data): Likewise.
5277         (expm1_test): Use ALL_RM_TEST.
5278         (expm1_tonearest_test_data): Remove.
5279         (expm1_test_tonearest): Likewise.
5280         (expm1_towardzero_test_data): Likewise.
5281         (expm1_test_towardzero): Likewise.
5282         (expm1_downward_test_data): Likewise.
5283         (expm1_test_downward): Likewise.
5284         (expm1_upward_test_data): Likewise.
5285         (expm1_test_upward): Likewise.
5286         (fma_test_data): Update call to AUTO_TESTS_fff_f.
5287         (fma_test): Use ALL_RM_TEST.
5288         (fma_towardzero_test_data): Remove.
5289         (fma_test_towardzero): Likewise.
5290         (fma_downward_test_data): Likewise.
5291         (fma_test_downward): Likewise.
5292         (fma_upward_test_data): Likewise.
5293         (fma_test_upward): Likewise.
5294         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5295         (j0_test_data): Update call to AUTO_TESTS_f_f.
5296         (j1_test_data): Likewise.
5297         (jn_test_data): Update call to AUTO_TESTS_if_f.
5298         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5299         (log_test_data): Update call to AUTO_TESTS_f_f.
5300         (log10_test_data): Likewise.
5301         (log1p_test_data): Likewise.
5302         (log2_test_data): Likewise.
5303         (pow_test_data): Update call to AUTO_TESTS_ff_f.
5304         (pow_tonearest_test_data): Likewise.
5305         (sin_test_data): Update call to AUTO_TESTS_f_f.
5306         (sin_test): Use ALL_RM_TEST.
5307         (sin_tonearest_test_data): Remove.
5308         (sin_test_tonearest): Likewise.
5309         (sin_towardzero_test_data): Likewise.
5310         (sin_test_towardzero): Likewise.
5311         (sin_downward_test_data): Likewise.
5312         (sin_test_downward): Likewise.
5313         (sin_upward_test_data): Likewise.
5314         (sin_test_upward): Likewise.
5315         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5316         (sinh_test_data): Update call to AUTO_TESTS_f_f.
5317         (sinh_test): Use ALL_RM_TEST.
5318         (sinh_tonearest_test_data): Remove.
5319         (sinh_test_tonearest): Likewise.
5320         (sinh_towardzero_test_data): Likewise.
5321         (sinh_test_towardzero): Likewise.
5322         (sinh_downward_test_data): Likewise.
5323         (sinh_test_downward): Likewise.
5324         (sinh_upward_test_data): Likewise.
5325         (sinh_test_upward): Likewise.
5326         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5327         (sqrt_test): Use ALL_RM_TEST.
5328         (sqrt_tonearest_test_data): Remove.
5329         (sqrt_test_tonearest): Likewise.
5330         (sqrt_towardzero_test_data): Likewise.
5331         (sqrt_test_towardzero): Likewise.
5332         (sqrt_downward_test_data): Likewise.
5333         (sqrt_test_downward): Likewise.
5334         (sqrt_upward_test_data): Likewise.
5335         (sqrt_test_upward): Likewise.
5336         (tan_test_data): Update call to AUTO_TESTS_f_f.
5337         (tan_test): Use ALL_RM_TEST.
5338         (tan_tonearest_test_data): Remove.
5339         (tan_test_tonearest): Likewise.
5340         (tan_towardzero_test_data): Likewise.
5341         (tan_test_towardzero): Likewise.
5342         (tan_downward_test_data): Likewise.
5343         (tan_test_downward): Likewise.
5344         (tan_upward_test_data): Likewise.
5345         (tan_test_upward): Likewise.
5346         (tanh_test_data): Update call to AUTO_TESTS_f_f.
5347         (tgamma_test_data): Likewise.
5348         (y0_test_data): Likewise.
5349         (y1_test_data): Likewise.
5350         (yn_test_data): Update call to AUTO_TESTS_if_f.
5351         (main): Do not call removed functions.
5353 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5355         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5356         (ldexp_test_data): Remove.
5357         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
5358         scalbn_test_data.
5359         (scalb_test): Use ALL_RM_TEST.
5361 2014-03-19  Andreas Schwab  <schwab@suse.de>
5363         * nscd/nscd.service: Also invalidate netgroup cache on reload.
5365 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5367         [BZ #16649]
5368         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5369         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5370         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5371         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5372         (__ASSUME_PREADV): Undefine.
5373         (__ASSUME_PWRITEV): Likewise.
5375 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5377         * bits/mman-linux.h: Add comment about non-Linux use.
5378         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5379         bits/mman-linux.h resting place.
5381         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5382         * bits/mman-linux.h: ... here.
5384 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5386         * conform/conformtest.pl: Add standard definition when calling C
5387         preprocessor on data files.
5388         (checknamespace): Remove unused variable.
5390 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5392         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5393         minus_oflow, plus_uflow and minus_uflow in expected results.
5394         * math/libm-test.inc (scalbn_test_data): Add more tests of
5395         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
5396         minus_uflow.
5397         (scalbn_test): Use ALL_RM_TEST.
5398         (scalbln_test_data): Add more tests of negative arguments.  Use
5399         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5400         (scalbln_test): Use ALL_RM_TEST.
5402 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5404         * scripts/abilist.awk: Ignore symbols marked with .hidden.
5406 2014-03-18  Will Newton  <will.newton@linaro.org>
5408         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5409         inaccurate comment.
5411 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5413         * Makerules [!subdir] (check-abi): Exit with error status if a
5414         test failed.
5416 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
5418         * math/libm-test.inc (nearbyint_test_data): Include all tests used
5419         for rint.  Include results for all rounding modes.
5420         (nearbyint_test): Use ALL_RM_TEST.
5421         (rint_test_data): Include all tests used for nearbyint.
5423 2014-03-17  Will Newton  <will.newton@linaro.org>
5425         * nptl/sysdeps/pthread/pthread.h: Revert previous
5426         change.
5428         * sysdeps/generic/ldsodefs.h: Revert previous
5429         change.
5431         * libio/genops.c: Revert previous change.
5432         * libio/libioP.h: Likewise.
5433         * stdio-common/vfprintf.c: Likewise.
5435         * sysdeps/generic/math_private.h: Revert previous
5436         change.
5438         * sysdeps/generic/math_private.h: Check whether
5439         HAVE_RM_CTX is defined with #ifdef rather
5440         than #if.
5442         * argp/argp-fmtstream.h: Check whether
5443         __STRICT_ANSI__ is defined with #ifdef rather
5444         than #if.
5445         * argp/argp.h: Likewise.
5447         * libio/genops.c: Check whether
5448         _IO_JUMPS_OFFSET is defined with #ifdef rather
5449         than #if.
5450         * libio/libioP.h: Likewise.
5451         * stdio-common/vfprintf.c: Likewise.
5453         * sysdeps/generic/ldsodefs.h: Check whether
5454         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5455         than #if.
5457         * nptl/sysdeps/pthread/pthread.h: Check
5458         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5459         its value.
5461 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5463         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5464         setting O_APPEND.
5465         * libio/tst-ftell-active-handler.c (do_append_test): Add a
5466         test case.
5468         [BZ #16680]
5469         * libio/fileops.c (_IO_file_open): Seek to end of file but
5470         don't cache the offset.
5471         (get_file_offset): Remove function.
5472         (do_ftell): Use cached offset when available.
5473         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5474         don't cache the offset.
5475         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5476         case.
5477         (do_one_test): Call it.
5478         (do_ftell_test): Fix up expected old offset for a+ mode.
5479         * libio/wfileops.c (do_ftell_wide): Used cached offset when
5480         available.
5482         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5483         up test status with function return status.
5484         (do_write_test): Likewise.
5485         (do_append_test): Likewise.
5487         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5488         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5489         Remove.
5491 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
5493         * math/gen-libm-test.pl (parse_args): Handle results specified for
5494         each rounding mode separately.
5495         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5496         tests and results from lrint_tonearest_test_data,
5497         lrint_towardzero_test_data, lrint_downward_test_data and
5498         lrint_upward_test_data.
5499         (lrint_test): Use ALL_RM_TEST.
5500         (lrint_tonearest_test_data): Remove.
5501         (lrint_test_tonearest): Likewise.
5502         (lrint_towardzero_test_data): Likewise.
5503         (lrint_test_towardzero): Likewise.
5504         (lrint_downward_test_data): Likewise.
5505         (lrint_test_downward): Likewise.
5506         (lrint_upward_test_data): Likewise.
5507         (lrint_test_upward): Likewise.
5508         (llrint_test_data): Merge in per-rounding-mode tests and results
5509         from llrint_tonearest_test_data, llrint_towardzero_test_data,
5510         llrint_downward_test_data and llrint_upward_test_data.
5511         (llrint_test): Use ALL_RM_TEST.
5512         (llrint_tonearest_test_data): Remove.
5513         (llrint_test_tonearest): Likewise.
5514         (llrint_towardzero_test_data): Likewise.
5515         (llrint_test_towardzero): Likewise.
5516         (llrint_downward_test_data): Likewise.
5517         (llrint_test_downward): Likewise.
5518         (llrint_upward_test_data): Likewise.
5519         (llrint_test_upward): Likewise.
5520         (rint_test_data): Merge in per-rounding-mode tests and results
5521         from rint_tonearest_test_data, rint_towardzero_test_data,
5522         rint_downward_test_data and rint_upward_test_data.  Add
5523         per-rounding-mode results for tests not in those arrays.
5524         (rint_test): Use ALL_RM_TEST.
5525         (rint_tonearest_test_data): Remove.
5526         (rint_test_tonearest): Likewise.
5527         (rint_towardzero_test_data): Likewise.
5528         (rint_test_towardzero): Likewise.
5529         (rint_downward_test_data): Likewise.
5530         (rint_test_downward): Likewise.
5531         (rint_upward_test_data): Likewise.
5532         (rint_test_upward): Likewise.
5533         (main): Don't call removed functions.
5535 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5537         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5538         "Compiled on ..." crapola.  It is anti-useful.
5540 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
5542         * scripts/evaluate-test.sh: Handle fourth argument to determine
5543         whether test run should stop on failure.
5544         * Makeconfig (stop-on-test-failure): New variable.
5545         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5546         $(stop-on-test-failure).
5547         * Makefile (tests): Give a summary of results from testing and
5548         exit with failure status if they include an ERROR or FAIL.
5549         (xtests): Likewise.
5550         * manual/install.texi (Configuring and compiling): Mention
5551         stop-on-test-failure=y.
5552         * INSTALL: Regenerated.
5554 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5556         * scripts/versionlist.awk: New file.
5557         * Makerules [$(build-shared) = yes]
5558         (postclean-generated): Add Versions.def, not Versions.def.v and
5559         Versions.def.v.i.
5560         ($(common-objpfx)Versions.def.v.i): Target removed.
5561         ($(common-objpfx)Versions.def): New target.
5562         ($(common-objpfx)Versions.all): Depend on that rather that
5563         $(common-objpfx)Versions.def.v.
5564         * Versions.def: File removed.
5566         * Makeconfig (+gccwarn): Add -Wundef.
5567         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5568         a dl-sysdep.h breaking its contract.
5569         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5570         * include/stackinfo.h: New file.
5571         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5572         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5573         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5574         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5575         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5576         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5577         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5578         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5579         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5580         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5581         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5582         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5583         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5584         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5585         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5587 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5589         [BZ #16707]
5590         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5591         implementation.
5592         * math/libm-test.inc (round_test_data): Add more tests.
5594         [BZ #16706]
5595         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5596         implementation.
5597         * math/libm-test.inc (nearbyint_test_data): Add more tests.
5599         [BZ #16701]
5600         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5601         implementation.
5602         * math/libm-test.inc (ceil_test_data): Add more tests.
5604         * math/libm-test.inc (trunc_test_data): Add more tests related to
5605         BZ#16414.
5607 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5609         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5610         with #if rather than #ifdef.
5611         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5613 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
5615         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5616         first.  Disable AVX-512 GCC support if assembler doesn't support
5617         it.
5618         * sysdeps/x86_64/configure: Regenerated.
5620 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
5622         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5623         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5624         (__old_pthread_attr_setstack): Likewise.
5625         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5626         [!_STACK_GROWS_DOWN]: Likewise.
5628 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
5630         * config.make.in (have-bash2): Delete.
5631         * configure.ac (libc_cv_have_bash2): Delete.
5632         * configure: Regenerate.
5633         * elf/Makefile (common-ldd-rewrite): Rename to ...
5634         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
5635         (sh-ldd-rewrite): Delete.
5636         (bash-ldd-rewrite): Delete.
5637         (have-bash2): Delete checks.
5638         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5639         ldd-rewrite.
5641         * config.make.in (have-ksh): Delete.
5642         (KSH): Delete.
5643         * configure.ac (libc_cv_have_ksh): Delete.
5644         * configure: Regenerate.
5646         * elf/Makefile: Delete $(have-ksh) check.
5647         ($(objpfx)sotruss): Change KSH to BASH.
5648         * elf/sotruss.ksh: Rename to ...
5649         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
5650         function style to match POSIX.  Drop ksh vim mode setting.
5652         * manual/time.texi (Specifying the Time Zone with TZ): Change
5653         Tuesday to Thursday.
5655         * debug/tst-longjmp_chk2.c: Update header comment.
5656         (stackoverflow_handler): Add comment.  Call assert on pass value.
5658 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
5660         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5661         (HAVE_AVX512_ASM_SUPPORT): Likewise.
5662         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5663         (La_x86_64_vector): Add zmm.
5664         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5665         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5666         ($(objpfx)tst-audit10): New target.
5667         ($(objpfx)tst-audit10.out): Likewise.
5668         (tst-audit10-ENV): New.
5669         (AVX512-CFLAGS): Likewise.
5670         (CFLAGS-tst-audit10.c): Likewise.
5671         (CFLAGS-tst-auditmod10a.c): Likewise.
5672         (CFLAGS-tst-auditmod10b.c): Likewise.
5673         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5674         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5675         * sysdeps/x86_64/configure: Regenerated.
5676         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5677         AVX-512 zmm register support.
5678         (_dl_x86_64_save_sse): Likewise.
5679         (_dl_x86_64_restore_sse): Likewise.
5680         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5681         size vector registers.
5682         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5683         (ZMM_SIZE): Likewise.
5684         * sysdeps/x86_64/tst-audit10.c: New file.
5685         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5686         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5688 2014-03-13  Roland McGrath  <roland@hack.frob.com>
5690         * configure.ac (HAVE_EHDR_START): New check.
5691         * configure: Regenerated.
5692         * config.h.in (HAVE_EHDR_START): New #undef.
5693         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5694         assuming the lowest-addressed segment maps the start of the file.
5696 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
5698         * INSTALL: Regenerated.
5700 2014-03-13  Will Newton  <will.newton@linaro.org>
5702         * manual/setjmp.texi (System V contexts): Improve
5703         clarity and grammar of documentation.
5705 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5707         [BZ #16381]
5708         * elf/Makefile (tests): Add tst-pie2.
5709         (tests-pie): Add tst-pie2.
5710         * elf/tst-pie2.c: New file.
5711         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5712         for ET_EXEC.
5713         * elf/rtld.c (map_doit): Load executable as lt_executable.
5714         (dl_main): Likewise.
5716 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
5718         [BZ #16642]
5719         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5720         (__ASSUME_PSELECT): Undefine.
5722 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5724         [BZ #16689]
5725         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5726         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5727         static build.
5728         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5729         selector for static builds.
5731 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5733         [BZ #16695]
5734         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5735         key in the buffer.
5737 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5739         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5740         IFUNC selector for static builds.
5742 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
5744         * sysdeps/mips/math_private.h [__mips_hard_float]
5745         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5746         libc_feresetround_mips_ctx.
5747         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5748         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5749         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5751         [BZ #16677]
5752         * math/s_nextafter.c (__nextafter): Do not return value from
5753         overflowing computation.
5754         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5755         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5756         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5757         Likewise.
5758         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5759         Likewise.
5760         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5761         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5763 2014-03-11  Roland McGrath  <roland@hack.frob.com>
5765         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5766         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5767         Move sfi_sp use from the load-multiple (that no longer sets sp) to
5768         the new mov targetting sp.
5770 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5772         [BZ #16683]
5773         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5774         Define it for static builds as well.
5775         (NO_BZERO_IMPL): Likewise.
5777 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5779         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5780         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5781         multiarch strspn for PPC64.
5782         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5783         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5785         (__libc_ifunc_impl_list): Likewise.
5786         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5787         multiarch optimizations
5788         * string/strspn.c (strspn): Using macro to redefine symbol name.
5790 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5791             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5793         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5794         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5795         multiarch strncat for PPC64.
5796         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5797         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5798         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5799         (__libc_ifunc_impl_list): Likewise.
5800         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5801         multiarch optimizations
5803 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5805         [BZ #16639]
5806         * nscd/nscd.service: Make service type forking.
5808 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5810         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5811         sign in non default rounding modes.
5812         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5814 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
5816         * math/libm-test.inc (ALL_RM_TEST): New macro.
5817         (ceil_test): Use ALL_RM_TEST.
5818         (cimag_test): Likewise.
5819         (conj_test): Likewise.
5820         (copysign_test): Likewise.
5821         (cproj_test): Likewise.
5822         (creal_test): Likewise.
5823         (fabs_test): Likewise.
5824         (floor_test): Likewise.
5825         (fmax_test): Likewise.
5826         (fmin_test): Likewise.
5827         (fmod_test): Likewise.
5828         (fpclassify_test): Likewise.
5829         (frexp_test): Likewise.
5830         (ilogb_test): Likewise.
5831         (isfinite_test): Likewise.
5832         (finite_test): Likewise.
5833         (isgreater_test): Likewise.
5834         (isgreaterequal_test): Likewise.
5835         (isinf_test): Likewise.
5836         (isless_test): Likewise.
5837         (islessequal_test): Likewise.
5838         (islessgreater_test): Likewise.
5839         (isnan_test): Likewise.
5840         (isnormal_test): Likewise.
5841         (issignaling_test): Likewise.
5842         (isunordered_test): Likewise.
5843         (logb_test): Likewise.
5844         (logb_downward_test_data): Remove.
5845         (logb_test_downward): Likewise.
5846         (lround_test): Use ALL_RM_TEST.
5847         (llround_test): Likewise.
5848         (modf_test): Likewise.
5849         (nexttoward_test): Likewise.
5850         (remainder_test): Likewise.
5851         (drem_test): Likewise.
5852         (remainder_tonearest_test_data): Likewise.
5853         (remainder_test_tonearest): Likewise.
5854         (drem_test_tonearest): Likewise.
5855         (remainder_towardzero_test_data): Likewise.
5856         (remainder_test_towardzero): Likewise.
5857         (drem_test_towardzero): Likewise.
5858         (remainder_downward_test_data): Likewise.
5859         (remainder_test_downward): Likewise.
5860         (drem_test_downward): Likewise.
5861         (remainder_upward_test_data): Likewise.
5862         (remainder_test_upward): Likewise.
5863         (drem_test_upward): Likewise.
5864         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
5865         (round_test): Use ALL_RM_TEST.
5866         (signbit_test): Likewise.
5867         (trunc_test): Likewise.
5868         (significand_test): Likewise.
5869         (main): Don't call removed functions.
5871 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5873         [BZ #16674]
5874         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5875         || __USE_XOPEN2K8].
5876         (ILL_ILLOPN): Likewise.
5877         (ILL_ILLADR): Likewise.
5878         (ILL_ILLTRP): Likewise.
5879         (ILL_PRVOPC): Likewise.
5880         (ILL_PRVREG): Likewise.
5881         (ILL_COPROC): Likewise.
5882         (ILL_BADSTK): Likewise.
5883         (FPE_INTDIV): Likewise.
5884         (FPE_INTOVF): Likewise.
5885         (FPE_FLTDIV): Likewise.
5886         (FPE_FLTOVF): Likewise.
5887         (FPE_FLTUND): Likewise.
5888         (FPE_FLTRES): Likewise.
5889         (FPE_FLTINV): Likewise.
5890         (FPE_FLTSUB): Likewise.
5891         (SEGV_MAPERR): Likewise.
5892         (SEGV_ACCERR): Likewise.
5893         (BUS_ADRALN): Likewise.
5894         (BUS_ADRERR): Likewise.
5895         (BUS_OBJERR): Likewise.
5896         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5897         (TRAP_TRACE): Likewise.
5898         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5899         __USE_XOPEN2K8].
5900         (CLD_KILLED): Likewise.
5901         (CLD_DUMPED): Likewise.
5902         (CLD_TRAPPED): Likewise.
5903         (CLD_STOPPED): Likewise.
5904         (CLD_CONTINUED): Likewise.
5905         (POLL_IN): Likewise.
5906         (POLL_OUT): Likewise.
5907         (POLL_MSG): Likewise.
5908         (POLL_ERR): Likewise.
5909         (POLL_PRI): Likewise.
5910         (POLL_HUP): Likewise.
5911         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5912         Likewise.
5913         (ILL_ILLOPN): Likewise.
5914         (ILL_ILLADR): Likewise.
5915         (ILL_ILLTRP): Likewise.
5916         (ILL_PRVOPC): Likewise.
5917         (ILL_PRVREG): Likewise.
5918         (ILL_COPROC): Likewise.
5919         (ILL_BADSTK): Likewise.
5920         (FPE_INTDIV): Likewise.
5921         (FPE_INTOVF): Likewise.
5922         (FPE_FLTDIV): Likewise.
5923         (FPE_FLTOVF): Likewise.
5924         (FPE_FLTUND): Likewise.
5925         (FPE_FLTRES): Likewise.
5926         (FPE_FLTINV): Likewise.
5927         (FPE_FLTSUB): Likewise.
5928         (SEGV_MAPERR): Likewise.
5929         (SEGV_ACCERR): Likewise.
5930         (BUS_ADRALN): Likewise.
5931         (BUS_ADRERR): Likewise.
5932         (BUS_OBJERR): Likewise.
5933         (BUS_MCEERR_AR): Likewise.
5934         (BUS_MCEERR_AO): Likewise.
5935         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5936         (TRAP_TRACE): Likewise.
5937         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5938         __USE_XOPEN2K8].
5939         (CLD_KILLED): Likewise.
5940         (CLD_DUMPED): Likewise.
5941         (CLD_TRAPPED): Likewise.
5942         (CLD_STOPPED): Likewise.
5943         (CLD_CONTINUED): Likewise.
5944         (POLL_IN): Likewise.
5945         (POLL_OUT): Likewise.
5946         (POLL_MSG): Likewise.
5947         (POLL_ERR): Likewise.
5948         (POLL_PRI): Likewise.
5949         (POLL_HUP): Likewise.
5950         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5951         (ILL_ILLOPN): Likewise.
5952         (ILL_ILLADR): Likewise.
5953         (ILL_ILLTRP): Likewise.
5954         (ILL_PRVOPC): Likewise.
5955         (ILL_PRVREG): Likewise.
5956         (ILL_COPROC): Likewise.
5957         (ILL_BADSTK): Likewise.
5958         (FPE_INTDIV): Likewise.
5959         (FPE_INTOVF): Likewise.
5960         (FPE_FLTDIV): Likewise.
5961         (FPE_FLTOVF): Likewise.
5962         (FPE_FLTUND): Likewise.
5963         (FPE_FLTRES): Likewise.
5964         (FPE_FLTINV): Likewise.
5965         (FPE_FLTSUB): Likewise.
5966         (SEGV_MAPERR): Likewise.
5967         (SEGV_ACCERR): Likewise.
5968         (BUS_ADRALN): Likewise.
5969         (BUS_ADRERR): Likewise.
5970         (BUS_OBJERR): Likewise.
5971         (BUS_MCEERR_AR): Likewise.
5972         (BUS_MCEERR_AO): Likewise.
5973         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5974         (TRAP_TRACE): Likewise.
5975         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5976         __USE_XOPEN2K8].
5977         (CLD_KILLED): Likewise.
5978         (CLD_DUMPED): Likewise.
5979         (CLD_TRAPPED): Likewise.
5980         (CLD_STOPPED): Likewise.
5981         (CLD_CONTINUED): Likewise.
5982         (POLL_IN): Likewise.
5983         (POLL_OUT): Likewise.
5984         (POLL_MSG): Likewise.
5985         (POLL_ERR): Likewise.
5986         (POLL_PRI): Likewise.
5987         (POLL_HUP): Likewise.
5988         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5989         Likewise.
5990         (ILL_ILLOPN): Likewise.
5991         (ILL_ILLADR): Likewise.
5992         (ILL_ILLTRP): Likewise.
5993         (ILL_PRVOPC): Likewise.
5994         (ILL_PRVREG): Likewise.
5995         (ILL_COPROC): Likewise.
5996         (ILL_BADSTK): Likewise.
5997         (ILL_BADIADDR): Likewise.
5998         (ILL_BREAK): Likewise.
5999         (FPE_INTDIV): Likewise.
6000         (FPE_INTOVF): Likewise.
6001         (FPE_FLTDIV): Likewise.
6002         (FPE_FLTOVF): Likewise.
6003         (FPE_FLTUND): Likewise.
6004         (FPE_FLTRES): Likewise.
6005         (FPE_FLTINV): Likewise.
6006         (FPE_FLTSUB): Likewise.
6007         (FPE_DECOVF): Likewise.
6008         (FPE_DECDIV): Likewise.
6009         (FPE_DECERR): Likewise.
6010         (FPE_INVASC): Likewise.
6011         (FPE_INVDEC): Likewise.
6012         (SEGV_MAPERR): Likewise.
6013         (SEGV_ACCERR): Likewise.
6014         (SEGV_PSTKOVF): Likewise.
6015         (BUS_ADRALN): Likewise.
6016         (BUS_ADRERR): Likewise.
6017         (BUS_OBJERR): Likewise.
6018         (BUS_MCEERR_AR): Likewise.
6019         (BUS_MCEERR_AO): Likewise.
6020         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6021         (TRAP_TRACE): Likewise.
6022         (TRAP_BRANCH): Likewise.
6023         (TRAP_HWBKPT): Likewise.
6024         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6025         __USE_XOPEN2K8].
6026         (CLD_KILLED): Likewise.
6027         (CLD_DUMPED): Likewise.
6028         (CLD_TRAPPED): Likewise.
6029         (CLD_STOPPED): Likewise.
6030         (CLD_CONTINUED): Likewise.
6031         (POLL_IN): Likewise.
6032         (POLL_OUT): Likewise.
6033         (POLL_MSG): Likewise.
6034         (POLL_ERR): Likewise.
6035         (POLL_PRI): Likewise.
6036         (POLL_HUP): Likewise.
6037         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6038         (ILL_ILLOPN): Likewise.
6039         (ILL_ILLADR): Likewise.
6040         (ILL_ILLTRP): Likewise.
6041         (ILL_PRVOPC): Likewise.
6042         (ILL_PRVREG): Likewise.
6043         (ILL_COPROC): Likewise.
6044         (ILL_BADSTK): Likewise.
6045         (FPE_INTDIV): Likewise.
6046         (FPE_INTOVF): Likewise.
6047         (FPE_FLTDIV): Likewise.
6048         (FPE_FLTOVF): Likewise.
6049         (FPE_FLTUND): Likewise.
6050         (FPE_FLTRES): Likewise.
6051         (FPE_FLTINV): Likewise.
6052         (FPE_FLTSUB): Likewise.
6053         (SEGV_MAPERR): Likewise.
6054         (SEGV_ACCERR): Likewise.
6055         (BUS_ADRALN): Likewise.
6056         (BUS_ADRERR): Likewise.
6057         (BUS_OBJERR): Likewise.
6058         (BUS_MCEERR_AR): Likewise.
6059         (BUS_MCEERR_AO): Likewise.
6060         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6061         (TRAP_TRACE): Likewise.
6062         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6063         __USE_XOPEN2K8].
6064         (CLD_KILLED): Likewise.
6065         (CLD_DUMPED): Likewise.
6066         (CLD_TRAPPED): Likewise.
6067         (CLD_STOPPED): Likewise.
6068         (CLD_CONTINUED): Likewise.
6069         (POLL_IN): Likewise.
6070         (POLL_OUT): Likewise.
6071         (POLL_MSG): Likewise.
6072         (POLL_ERR): Likewise.
6073         (POLL_PRI): Likewise.
6074         (POLL_HUP): Likewise.
6075         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6076         (ILL_ILLOPN): Likewise.
6077         (ILL_ILLADR): Likewise.
6078         (ILL_ILLTRP): Likewise.
6079         (ILL_PRVOPC): Likewise.
6080         (ILL_PRVREG): Likewise.
6081         (ILL_COPROC): Likewise.
6082         (ILL_BADSTK): Likewise.
6083         (FPE_INTDIV): Likewise.
6084         (FPE_INTOVF): Likewise.
6085         (FPE_FLTDIV): Likewise.
6086         (FPE_FLTOVF): Likewise.
6087         (FPE_FLTUND): Likewise.
6088         (FPE_FLTRES): Likewise.
6089         (FPE_FLTINV): Likewise.
6090         (FPE_FLTSUB): Likewise.
6091         (SEGV_MAPERR): Likewise.
6092         (SEGV_ACCERR): Likewise.
6093         (BUS_ADRALN): Likewise.
6094         (BUS_ADRERR): Likewise.
6095         (BUS_OBJERR): Likewise.
6096         (BUS_MCEERR_AR): Likewise.
6097         (BUS_MCEERR_AO): Likewise.
6098         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6099         (TRAP_TRACE): Likewise.
6100         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6101         __USE_XOPEN2K8].
6102         (CLD_KILLED): Likewise.
6103         (CLD_DUMPED): Likewise.
6104         (CLD_TRAPPED): Likewise.
6105         (CLD_STOPPED): Likewise.
6106         (CLD_CONTINUED): Likewise.
6107         (POLL_IN): Likewise.
6108         (POLL_OUT): Likewise.
6109         (POLL_MSG): Likewise.
6110         (POLL_ERR): Likewise.
6111         (POLL_PRI): Likewise.
6112         (POLL_HUP): Likewise.
6113         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6114         (ILL_ILLOPN): Likewise.
6115         (ILL_ILLADR): Likewise.
6116         (ILL_ILLTRP): Likewise.
6117         (ILL_PRVOPC): Likewise.
6118         (ILL_PRVREG): Likewise.
6119         (ILL_COPROC): Likewise.
6120         (ILL_BADSTK): Likewise.
6121         (FPE_INTDIV): Likewise.
6122         (FPE_INTOVF): Likewise.
6123         (FPE_FLTDIV): Likewise.
6124         (FPE_FLTOVF): Likewise.
6125         (FPE_FLTUND): Likewise.
6126         (FPE_FLTRES): Likewise.
6127         (FPE_FLTINV): Likewise.
6128         (FPE_FLTSUB): Likewise.
6129         (SEGV_MAPERR): Likewise.
6130         (SEGV_ACCERR): Likewise.
6131         (BUS_ADRALN): Likewise.
6132         (BUS_ADRERR): Likewise.
6133         (BUS_OBJERR): Likewise.
6134         (BUS_MCEERR_AR): Likewise.
6135         (BUS_MCEERR_AO): Likewise.
6136         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6137         (TRAP_TRACE): Likewise.
6138         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6139         __USE_XOPEN2K8].
6140         (CLD_KILLED): Likewise.
6141         (CLD_DUMPED): Likewise.
6142         (CLD_TRAPPED): Likewise.
6143         (CLD_STOPPED): Likewise.
6144         (CLD_CONTINUED): Likewise.
6145         (POLL_IN): Likewise.
6146         (POLL_OUT): Likewise.
6147         (POLL_MSG): Likewise.
6148         (POLL_ERR): Likewise.
6149         (POLL_PRI): Likewise.
6150         (POLL_HUP): Likewise.
6151         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6152         (ILL_ILLOPN): Likewise.
6153         (ILL_ILLADR): Likewise.
6154         (ILL_ILLTRP): Likewise.
6155         (ILL_PRVOPC): Likewise.
6156         (ILL_PRVREG): Likewise.
6157         (ILL_COPROC): Likewise.
6158         (ILL_BADSTK): Likewise.
6159         (ILL_DBLFLT): Likewise.
6160         (ILL_HARDWALL): Likewise.
6161         (FPE_INTDIV): Likewise.
6162         (FPE_INTOVF): Likewise.
6163         (FPE_FLTDIV): Likewise.
6164         (FPE_FLTOVF): Likewise.
6165         (FPE_FLTUND): Likewise.
6166         (FPE_FLTRES): Likewise.
6167         (FPE_FLTINV): Likewise.
6168         (FPE_FLTSUB): Likewise.
6169         (SEGV_MAPERR): Likewise.
6170         (SEGV_ACCERR): Likewise.
6171         (BUS_ADRALN): Likewise.
6172         (BUS_ADRERR): Likewise.
6173         (BUS_OBJERR): Likewise.
6174         (BUS_MCEERR_AR): Likewise.
6175         (BUS_MCEERR_AO): Likewise.
6176         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6177         (TRAP_TRACE): Likewise.
6178         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6179         __USE_XOPEN2K8].
6180         (CLD_KILLED): Likewise.
6181         (CLD_DUMPED): Likewise.
6182         (CLD_TRAPPED): Likewise.
6183         (CLD_STOPPED): Likewise.
6184         (CLD_CONTINUED): Likewise.
6185         (POLL_IN): Likewise.
6186         (POLL_OUT): Likewise.
6187         (POLL_MSG): Likewise.
6188         (POLL_ERR): Likewise.
6189         (POLL_PRI): Likewise.
6190         (POLL_HUP): Likewise.
6191         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6192         (ILL_ILLOPN): Likewise.
6193         (ILL_ILLADR): Likewise.
6194         (ILL_ILLTRP): Likewise.
6195         (ILL_PRVOPC): Likewise.
6196         (ILL_PRVREG): Likewise.
6197         (ILL_COPROC): Likewise.
6198         (ILL_BADSTK): Likewise.
6199         (FPE_INTDIV): Likewise.
6200         (FPE_INTOVF): Likewise.
6201         (FPE_FLTDIV): Likewise.
6202         (FPE_FLTOVF): Likewise.
6203         (FPE_FLTUND): Likewise.
6204         (FPE_FLTRES): Likewise.
6205         (FPE_FLTINV): Likewise.
6206         (FPE_FLTSUB): Likewise.
6207         (SEGV_MAPERR): Likewise.
6208         (SEGV_ACCERR): Likewise.
6209         (BUS_ADRALN): Likewise.
6210         (BUS_ADRERR): Likewise.
6211         (BUS_OBJERR): Likewise.
6212         (BUS_MCEERR_AR): Likewise.
6213         (BUS_MCEERR_AO): Likewise.
6214         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6215         (TRAP_TRACE): Likewise.
6216         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6217         __USE_XOPEN2K8].
6218         (CLD_KILLED): Likewise.
6219         (CLD_DUMPED): Likewise.
6220         (CLD_TRAPPED): Likewise.
6221         (CLD_STOPPED): Likewise.
6222         (CLD_CONTINUED): Likewise.
6223         (POLL_IN): Likewise.
6224         (POLL_OUT): Likewise.
6225         (POLL_MSG): Likewise.
6226         (POLL_ERR): Likewise.
6227         (POLL_PRI): Likewise.
6228         (POLL_HUP): Likewise.
6229         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6230         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6232         [BZ #16670]
6233         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6234         before #include of <time.h>.
6235         [!__USE_XOPEN2K] (__need_timespec): Likewise.
6236         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6237         (test-xfail-UNIX98/sched.h/conform): Likewise.
6239 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6241         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6242         error absence of trapping exception support.
6243         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6245 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6247         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6248         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6249         * timezone/Makefile (testdata): Move definition above include of
6250         Rules.
6251         (test-zones): New variable.
6252         (tests-special): Add zone files.
6253         (build-testdata): Use $(evaluate-test).
6255         * elf/Makefile (tests-special): Rename tests to end with .out.
6256         ($(objpfx)noload-mem): Likewise.
6257         ($(objpfx)tst-leaks1-mem): Likewise.
6258         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6259         * iconv/Makefile (xtests-special): Change test-iconvconfig to
6260         $(objpfx)test-iconvconfig.out.
6261         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
6262         set -e inside subshell and redirect output to file.
6263         * iconvdata/Makefile (generated): Rename tests to end with .out.
6264         Correct type.
6265         (tests-special): Rename tests to end with .out.
6266         ($(objpfx)mtrace-tst-loading): Likewise.
6267         * intl/Makefile (generated): Likewise.
6268         (tests-special): Likewise.
6269         ($(objpfx)mtrace-tst-gettext): Likewise.
6270         * misc/Makefile (generated): Likewise.
6271         (tests-special): Likewise.
6272         ($(objpfx)tst-error1-mem): Likewise.
6273         * nptl/Makefile (tests-special): Likewise.
6274         ($(objpfx)tst-stack3-mem): Likewise.
6275         (generated): Likewise.
6276         * posix/Makefile (generated): Likewise.
6277         (tests-special): Likewise.
6278         (xtests-special): Likewise.
6279         ($(objpfx)tst-fnmatch-mem): Likewise.
6280         ($(objpfx)bug-regex2-mem): Likewise.
6281         ($(objpfx)bug-regex14-mem): Likewise.
6282         ($(objpfx)bug-regex21-mem): Likewise.
6283         ($(objpfx)bug-regex31-mem): Likewise.
6284         ($(objpfx)tst-vfork3-mem): Likewise.
6285         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6286         ($(objpfx)tst-pcre-mem): Likewise.
6287         ($(objpfx)tst-boost-mem): Likewise.
6288         ($(objpfx)bug-ga2-mem): Likewise.
6289         ($(objpfx)bug-glob2-mem): Likewise.
6290         * resolv/Makefile (generate): Likewise.
6291         (tests-special): Likewise.
6292         (xtests-special): Likewise.
6293         (generated): Likewise.
6294         ($(objpfx)mtrace-tst-leaks): Likewise.
6295         ($(objpfx)mtrace-tst-leaks2): Likewise.
6297         * scripts/merge-test-results.sh: New file.
6298         * Makefile (tests-special-notdir): New variable.
6299         (tests): Run merge-test-results.sh.
6300         (xtests): Likewise.
6301         * Rules (tests-special-notdir): New variable.
6302         (xtests-special-notdir): Likewise.
6303         (tests): Run merge-test-results.sh
6304         (xtests): Likewise.
6306         * Makeconfig (test-xfail-name): New variable.
6307         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6308         compute variable name for expected failures.
6309         * conform/Makefile (conformtest-headers-data): New variable.
6310         (conformtest-standards): Likewise.
6311         (conformtest-headers-ISO): Likewise.
6312         (conformtest-headers-ISO99): Likewise.
6313         (conformtest-headers-ISO11): Likewise.
6314         (conformtest-headers-POSIX): Likewise.
6315         (conformtest-headers-XPG3): Likewise.
6316         (conformtest-headers-XPG4): Likewise.
6317         (conformtest-headers-UNIX98): Likewise.
6318         (conformtest-headers-XOPEN2K): Likewise.
6319         (conformtest-headers-POSIX2008): Likewise.
6320         (conformtest-headers-XOPEN2K8): Likewise.
6321         (conformtest-header-list-base): Likewise.
6322         (conformtest-header-list-tests): Likewise.
6323         (conformtest-header-base): Likewise.
6324         (conformtest-header-tests): Likewise.
6325         (tests-special): Add $(conformtest-header-list-tests).  If
6326         [$(fast-check) && !$(cross-compiling)], add
6327         $(conformtest-header-tests) instead of
6328         $(objpfx)run-conformtest.out.
6329         (generated): Add $(conformtest-header-list-base).  If
6330         [$(fast-check) && !$(cross-compiling)], add
6331         $(conformtest-header-base).  Remove previous setting.
6332         ($(conformtest-header-list-tests)): New target.
6333         (test-xfail-run-conformtest): Remove variable.
6334         ($(objpfx)run-conformtest.out): Remove target.
6335         (test-xfail-ISO11/complex.h/conform): New variable.
6336         (test-xfail-ISO11/stdalign.h/conform): Likewise.
6337         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6338         (test-xfail-XPG3/varargs.h/conform): Likewise.
6339         (test-xfail-XPG4/varargs.h/conform): Likewise.
6340         (test-xfail-UNIX98/varargs.h/conform): Likewise.
6341         (test-xfail-XPG4/ndbm.h/conform): Likewise.
6342         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6343         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6344         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6345         (test-xfail-XPG3/fcntl.h/conform): Likewise.
6346         (test-xfail-XPG3/ftw.h/conform): Likewise.
6347         (test-xfail-XPG3/grp.h/conform): Likewise.
6348         (test-xfail-XPG3/langinfo.h/conform): Likewise.
6349         (test-xfail-XPG3/limits.h/conform): Likewise.
6350         (test-xfail-XPG3/pwd.h/conform): Likewise.
6351         (test-xfail-XPG3/search.h/conform): Likewise.
6352         (test-xfail-XPG3/signal.h/conform): Likewise.
6353         (test-xfail-XPG3/stdio.h/conform): Likewise.
6354         (test-xfail-XPG3/stdlib.h/conform): Likewise.
6355         (test-xfail-XPG3/string.h/conform): Likewise.
6356         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6357         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6358         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6359         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6360         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6361         (test-xfail-XPG3/sys/types.h/conform): Likewise.
6362         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6363         (test-xfail-XPG3/termios.h/conform): Likewise.
6364         (test-xfail-XPG3/time.h/conform): Likewise.
6365         (test-xfail-XPG3/unistd.h/conform): Likewise.
6366         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6367         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6368         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6369         (test-xfail-XPG4/netdb.h/conform): Likewise.
6370         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6371         (test-xfail-XPG4/signal.h/conform): Likewise.
6372         (test-xfail-XPG4/stdio.h/conform): Likewise.
6373         (test-xfail-XPG4/stdlib.h/conform): Likewise.
6374         (test-xfail-XPG4/stropts.h/conform): Likewise.
6375         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6376         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6377         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6378         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6379         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6380         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6381         (test-xfail-XPG4/sys/time.h/conform): Likewise.
6382         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6383         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6384         (test-xfail-XPG4/termios.h/conform): Likewise.
6385         (test-xfail-XPG4/ucontext.h/conform): Likewise.
6386         (test-xfail-XPG4/unistd.h/conform): Likewise.
6387         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6388         (test-xfail-POSIX/sched.h/conform): Likewise.
6389         (test-xfail-POSIX/signal.h/conform): Likewise.
6390         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6391         (test-xfail-POSIX/tar.h/conform): Likewise.
6392         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6393         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6394         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6395         (test-xfail-UNIX98/netdb.h/conform): Likewise.
6396         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6397         (test-xfail-UNIX98/sched.h/conform): Likewise.
6398         (test-xfail-UNIX98/signal.h/conform): Likewise.
6399         (test-xfail-UNIX98/stdio.h/conform): Likewise.
6400         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6401         (test-xfail-UNIX98/stropts.h/conform): Likewise.
6402         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6403         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6404         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6405         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6406         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6407         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6408         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6409         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6410         (test-xfail-UNIX98/unistd.h/conform): Likewise.
6411         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6412         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6413         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6414         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6415         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6416         (test-xfail-XOPEN2K/math.h/conform): Likewise.
6417         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6418         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6419         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6420         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6421         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6422         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6423         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6424         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6425         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6426         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6427         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6428         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6429         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6430         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6431         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6432         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6433         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6434         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6435         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6436         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6437         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6438         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6439         (test-xfail-POSIX2008/signal.h/conform): Likewise.
6440         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6441         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6442         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6443         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6444         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6445         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6446         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6447         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6448         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6449         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6450         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6451         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6452         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6453         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6454         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6455         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6456         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6457         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6458         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6459         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6460         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6461         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6462         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6463         (conformtest-cc-flags): Likewise.
6464         ($(conformtest-header-tests): New target.
6465         * conform/check-header-lists.sh: New file.
6466         * conform/run-conformtest.sh: Remove.
6468         * conform/conformtest.pl: Allow ' and \ in values given for
6469         constants.
6470         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6471         inclusion.
6472         [POSIX] (sys/types.h): Likewise.
6473         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6474         inclusion.
6475         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6476         inclusion.
6477         * conform/data/signal.h-data (SIGIO): Remove expectation.
6478         [XPG3] (SIGBUS): Do not expect.
6479         [POSIX || XPG3] (SIGPOLL): Likewise.
6480         [POSIX || XPG3] (SIGPROF): Likewise.
6481         [POSIX || XPG3] (SIGSYS): Likewise.
6482         [XPG3] (SIGTRAP): Likewise.
6483         [POSIX || XPG3] (SIGURG): Likewise.
6484         [POSIX || XPG3] (SIGVTALRM): Likewise.
6485         [POSIX || XPG3] (SIGXCPU): Likewise.
6486         [POSIX || XPG3] (SIGXFSZ): Likewise.
6487         [POSIX] (SA_SIGINFO): Expect.
6488         [XPG3] (siginfo_t): Do not expect type or contents.
6489         [POSIX] (si_pid): Do not expect element.
6490         [POSIX] (si_uid): Likewise.
6491         [POSIX] (si_addr): Likewise.
6492         [POSIX] (si_status): Likewise.
6493         [POSIX] (si_band): Likewise.
6494         [XPG4] (si_value): Likewise.
6495         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6496         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6497         [POSIX || XPG3] (ILL_ILLADR): Likewise.
6498         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6499         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6500         [POSIX || XPG3] (ILL_PRVREG): Likewise.
6501         [POSIX || XPG3] (ILL_COPROC): Likewise.
6502         [POSIX || XPG3] (ILL_BADSTK): Likewise.
6503         [POSIX || XPG3] (FPE_INTDIV): Likewise.
6504         [POSIX || XPG3] (FPE_INTOVF): Likewise.
6505         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6506         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6507         [POSIX || XPG3] (FPE_FLTUND): Likewise.
6508         [POSIX || XPG3] (FPE_FLTRES): Likewise.
6509         [POSIX || XPG3] (FPE_FLTINV): Likewise.
6510         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6511         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6512         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6513         [POSIX || XPG3] (BUS_ADRALN): Likewise.
6514         [POSIX || XPG3] (BUS_ADRERR): Likewise.
6515         [POSIX || XPG3] (BUS_OBJERR): Likewise.
6516         [POSIX || XPG3] (CLD_EXITED): Likewise.
6517         [POSIX || XPG3] (CLD_KILLED): Likewise.
6518         [POSIX || XPG3] (CLD_DUMPED): Likewise.
6519         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6520         [POSIX || XPG3] (CLD_STOPPED): Likewise.
6521         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6522         [POSIX || XPG3] (POLL_IN): Likewise.
6523         [POSIX || XPG3] (POLL_OUT): Likewise.
6524         [POSIX || XPG3] (POLL_MSG): Likewise.
6525         [POSIX || XPG3] (POLL_ERR): Likewise.
6526         [POSIX || XPG3] (POLL_PRI): Likewise.
6527         [POSIX || XPG3] (POLL_HUP): Likewise.
6528         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6529         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6530         (SIG*): Do not allow.
6531         [XPG3] (si_*): Likewise.
6532         [XPG3] (SI_*): Likewise.
6533         [XPG3 || XPG4] (sigev_*): Likewise.
6534         [XPG3 || XPG4] (SIGEV_*): Likewise.
6535         [XPG3 || XPG4] (sival_*): Likewise.
6536         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6537         [POSIX || XPG3] (BUS_*): Likewise.
6538         [POSIX || XPG3] (CLD_*): Likewise.
6539         [POSIX || XPG3] (FPE_*): Likewise.
6540         [POSIX || XPG3] (ILL_*): Likewise.
6541         [POSIX || XPG3] (POLL_*): Likewise.
6542         [POSIX || XPG3] (SEGV_*): Likewise.
6543         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6544         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6545         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6546         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6547         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6548         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6549         Specify type and value.
6550         (TVERSLEN): Likewise.
6551         (REGTYPE): Likewise.
6552         (AREGTYPE): Likewise.
6553         (LNKTYPE): Likewise.
6554         (SYMTYPE): Likewise.
6555         (CHRTYPE): Likewise.
6556         (BLKTYPE): Likewise.
6557         (DIRTYPE): Likewise.
6558         (FIFOTYPE): Likewise.
6559         (CONTTYPE): Likewise.
6560         (TSUID): Likewise.
6561         (TSGID): Likewise.
6562         (TSVTX): Likewise.
6563         (TUREAD): Likewise.
6564         (TUWRITE): Likewise.
6565         (TUEXEC): Likewise.
6566         (TGREAD): Likewise.
6567         (TGWRITE): Likewise.
6568         (TGEXEC): Likewise.
6569         (TOREAD): Likewise.
6570         (TOWRITE): Likewise.
6571         (TOEXEC): Likewise.
6572         [POSIX] (TSVTX): Expect constant.
6574 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
6576         * Makefile (tests): Change dependencies to ....
6577         (tests-special): ... additions to this variable.
6578         (tests): Depend on $(tests-special).
6579         * Makerules (check-abi-list): New variable.
6580         (check-abi): Depend on $(check-abi-list).
6581         [$(subdir) = elf] (tests-special): Add
6582         $(objpfx)check-abi-libc.out.
6583         [$(build-shared) = yes && subdir] (tests-special): Add
6584         $(check-abi-list).
6585         [$(build-shared) = yes && subdir] (tests): Do not depend on
6586         check-abi.
6587         * Rules (tests): Depend on $(tests-special).
6588         (xtests): Depend on $(xtests-special).
6589         * catgets/Makefile (tests): Change dependencies to ....
6590         (tests-special): ... additions to this variable.
6591         * conform/Makefile (tests): Change dependencies to ....
6592         (tests-special): ... additions to this variable.
6593         * elf/Makefile (tests): Change dependencies to ....
6594         (tests-special): ... additions to this variable.
6595         * grp/Makefile (tests): Change dependencies to ....
6596         (tests-special): ... additions to this variable.
6597         * iconv/Makefile (xtests): Change dependencies to ....
6598         (xtests-special): ... additions to this variable.
6599         * iconvdata/Makefile (tests): Change dependencies to ....
6600         (tests-special): ... additions to this variable.
6601         * intl/Makefile (tests): Change dependencies to ....
6602         (tests-special): ... additions to this variable.  Also add
6603         $(objpfx)tst-gettext.out.
6604         * io/Makefile (tests): Change dependencies to ....
6605         (tests-special): ... additions to this variable.
6606         * libio/Makefile (tests): Change dependencies to ....
6607         (tests-special): ... additions to this variable.
6608         * malloc/Makefile (tests): Change dependencies to ....
6609         (tests-special): ... additions to this variable.
6610         * misc/Makefile (tests): Change dependencies to ....
6611         (tests-special): ... additions to this variable.
6612         * nptl/Makefile (tests): Change dependencies to ....
6613         (tests-special): ... additions to this variable.
6614         * nptl_db/Makefile (tests): Change dependencies to ....
6615         (tests-special): ... additions to this variable.
6616         * posix/Makefile (tests): Change dependencies to ....
6617         (tests-special): ... additions to this variable.
6618         (xtests): Change dependencies to ....
6619         (xtests-special): ... additions to this variable.
6620         * resolv/Makefile (tests): Change dependencies to ....
6621         (tests-special): ... additions to this variable.
6622         (xtests): Change dependencies to ....
6623         (xtests-special): ... additions to this variable.
6624         * stdio-common/Makefile (tests): Change dependencies to ....
6625         (tests-special): ... additions to this variable.
6626         (do-tst-unbputc): Remove target.
6627         (do-tst-printf): Likewise.
6628         * stdlib/Makefile (tests): Change dependencies to ....
6629         (tests-special): ... additions to this variable.
6630         * string/Makefile (tests): Change dependencies to ....
6631         (tests-special): ... additions to this variable.
6632         * sysdeps/x86/Makefile (tests): Change dependencies to ....
6633         (tests-special): ... additions to this variable.
6635         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6636         whole file.
6637         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6638         whole file.
6639         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6640         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6642         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6643         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6644         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6645         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6646         * conform/data/libgen.h-data [XPG3]: Likewise.
6647         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6648         * conform/data/ndbm.h-data [XPG3]: Likewise.
6649         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6650         * conform/data/netdb.h-data [XPG3]: Likewise.
6651         * conform/data/netinet/in.h-data [XPG3]: Likewise.
6652         * conform/data/poll.h-data [XPG3]: Likewise.
6653         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6654         * conform/data/strings.h-data [XPG3]: Likewise.
6655         * conform/data/stropts.h-data [XPG3]: Likewise.
6656         * conform/data/sys/mman.h-data [XPG3]: Likewise.
6657         * conform/data/sys/resource.h-data [XPG3]: Likewise.
6658         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6659         Likewise.
6660         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6661         * conform/data/sys/time.h-data [XPG3]: Likewise.
6662         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6663         * conform/data/sys/uio.h-data [XPG3]: Likewise.
6664         * conform/data/sys/un.h-data [XPG3]: Likewise.
6665         * conform/data/syslog.h-data [XPG3]: Likewise.
6666         * conform/data/ucontext.h-data [XPG3]: Likewise.
6667         * conform/data/utmpx.h-data [XPG3]: Likewise.
6668         * conform/data/varargs.h-data [UNIX98]: Enable file.
6670         * manual/Makefile (INSTALL_INFO): Remove variable setting.
6672         * math/libm-test.inc (struct test_f_f_data): Move expected results
6673         into structure for each rounding mode.
6674         (struct test_ff_f_data): Likewise.
6675         (struct test_ff_f_data_nexttoward): Likewise.
6676         (struct test_fi_f_data): Likewise.
6677         (struct test_fl_f_data): Likewise.
6678         (struct test_if_f_data): Likewise.
6679         (struct test_fff_f_data): Likewise.
6680         (struct test_c_f_data): Likewise.
6681         (struct test_f_f1_data): Likewise.
6682         (struct test_fF_f1_data): Likewise.
6683         (struct test_ffI_f1_data): Likewise.
6684         (struct test_c_c_data): Likewise.
6685         (struct test_cc_c_data): Likewise.
6686         (struct test_f_i_data): Likewise.
6687         (struct test_ff_i_data): Likewise.
6688         (struct test_f_l_data): Likewise.
6689         (struct test_f_L_data): Likewise.
6690         (struct test_fFF_11_data): Likewise.
6691         (RM_): New macro.
6692         (RM_FE_DOWNWARD): Likewise.
6693         (RM_FE_TONEAREST): Likewise.
6694         (RM_FE_TOWARDZERO): Likewise.
6695         (RM_FE_UPWARD): Likewise.
6696         (RUN_TEST_LOOP_f_f): Update references to expected results.
6697         (RUN_TEST_LOOP_2_f): Likewise.
6698         (RUN_TEST_LOOP_fff_f): Likewise.
6699         (RUN_TEST_LOOP_c_f): Likewise.
6700         (RUN_TEST_LOOP_f_f1): Likewise.
6701         (RUN_TEST_LOOP_fF_f1): Likewise.
6702         (RUN_TEST_LOOP_fI_f1): Likewise.
6703         (RUN_TEST_LOOP_ffI_f1): Likewise.
6704         (RUN_TEST_LOOP_c_c): Likewise.
6705         (RUN_TEST_LOOP_cc_c): Likewise.
6706         (RUN_TEST_LOOP_f_i): Likewise.
6707         (RUN_TEST_LOOP_f_i_tg): Likewise.
6708         (RUN_TEST_LOOP_ff_i_tg): Likewise.
6709         (RUN_TEST_LOOP_f_b): Likewise.
6710         (RUN_TEST_LOOP_f_b_tg): Likewise.
6711         (RUN_TEST_LOOP_f_l): Likewise.
6712         (RUN_TEST_LOOP_f_L): Likewise.
6713         (RUN_TEST_LOOP_fFF_11): Likewise.
6714         * math/gen-libm-test.pl (parse_args): Output four copies of
6715         expected results for each test.
6717         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6718         (__ASSUME_UTIMES): Remove.
6719         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6720         (__ASSUME_UTIMES): Likewise.
6722         * math/gen-auto-libm-tests.c: Update comment on output format.
6723         (output_for_one_input_case): Generate before-rounding and
6724         after-rounding information as conditions on output flags not
6725         floating-point format.
6726         * math/auto-libm-test-out: Regenerated.
6727         * math/gen-libm-test.pl (cond_value): New function.
6728         (or_cond_value): Use cond_value.
6729         (generate_testfile): Handle conditional exceptions.
6731 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
6733         * math/libm-test.inc (max_valid_error): New variable.
6734         (init_max_error): Take new argument specifying whether function
6735         results are exactly determined.  Set max_valid_error and bound
6736         other variables for errors based on this argument.
6737         (set_max_error): Do not record results above max_valid_error.
6738         (check_float_internal): Only accept errors of up to 0.5ulps if
6739         also at most max_valid_error.
6740         (START): Take new argument EXACT and pass it to init_max_error.
6741         (acos_test): Update call to START.
6742         (acos_test_tonearest): Likewise.
6743         (acos_test_towardzero): Likewise.
6744         (acos_test_downward): Likewise.
6745         (acos_test_upward): Likewise.
6746         (acosh_test): Likewise.
6747         (asin_test): Likewise.
6748         (asin_test_tonearest): Likewise.
6749         (asin_test_towardzero): Likewise.
6750         (asin_test_downward): Likewise.
6751         (asin_test_upward): Likewise.
6752         (asinh_test): Likewise.
6753         (atan_test): Likewise.
6754         (atanh_test): Likewise.
6755         (atan2_test): Likewise.
6756         (cabs_test): Likewise.
6757         (cacos_test): Likewise.
6758         (cacosh_test): Likewise.
6759         (carg_test): Likewise.
6760         (casin_test): Likewise.
6761         (casinh_test): Likewise.
6762         (catan_test): Likewise.
6763         (catanh_test): Likewise.
6764         (cbrt_test): Likewise.
6765         (ccos_test): Likewise.
6766         (ccosh_test): Likewise.
6767         (ceil_test): Likewise.
6768         (cexp_test): Likewise.
6769         (cimag_test): Likewise.
6770         (clog_test): Likewise.
6771         (clog10_test): Likewise.
6772         (conj_test): Likewise.
6773         (copysign_test): Likewise.
6774         (cos_test): Likewise.
6775         (cos_test_tonearest): Likewise.
6776         (cos_test_towardzero): Likewise.
6777         (cos_test_downward): Likewise.
6778         (cos_test_upward): Likewise.
6779         (cosh_test): Likewise.
6780         (cosh_test_tonearest): Likewise.
6781         (cosh_test_towardzero): Likewise.
6782         (cosh_test_downward): Likewise.
6783         (cosh_test_upward): Likewise.
6784         (cpow_test): Likewise.
6785         (cproj_test): Likewise.
6786         (creal_test): Likewise.
6787         (csin_test): Likewise.
6788         (csinh_test): Likewise.
6789         (csqrt_test): Likewise.
6790         (ctan_test): Likewise.
6791         (ctan_test_tonearest): Likewise.
6792         (ctan_test_towardzero): Likewise.
6793         (ctan_test_downward): Likewise.
6794         (ctan_test_upward): Likewise.
6795         (ctanh_test): Likewise.
6796         (ctanh_test_tonearest): Likewise.
6797         (ctanh_test_towardzero): Likewise.
6798         (ctanh_test_downward): Likewise.
6799         (ctanh_test_upward): Likewise.
6800         (erf_test): Likewise.
6801         (erfc_test): Likewise.
6802         (exp_test): Likewise.
6803         (exp_test_tonearest): Likewise.
6804         (exp_test_towardzero): Likewise.
6805         (exp_test_downward): Likewise.
6806         (exp_test_upward): Likewise.
6807         (exp10_test): Likewise.
6808         (exp10_test_tonearest): Likewise.
6809         (exp10_test_towardzero): Likewise.
6810         (exp10_test_downward): Likewise.
6811         (exp10_test_upward): Likewise.
6812         (pow10_test): Likewise.
6813         (exp2_test): Likewise.
6814         (expm1_test): Likewise.
6815         (expm1_test_tonearest): Likewise.
6816         (expm1_test_towardzero): Likewise.
6817         (expm1_test_downward): Likewise.
6818         (expm1_test_upward): Likewise.
6819         (fabs_test): Likewise.
6820         (fdim_test): Likewise.
6821         (floor_test): Likewise.
6822         (fma_test): Likewise.
6823         (fma_test_towardzero): Likewise.
6824         (fma_test_downward): Likewise.
6825         (fma_test_upward): Likewise.
6826         (fmax_test): Likewise.
6827         (fmin_test): Likewise.
6828         (fmod_test): Likewise.
6829         (fpclassify_test): Likewise.
6830         (frexp_test): Likewise.
6831         (hypot_test): Likewise.
6832         (ilogb_test): Likewise.
6833         (isfinite_test): Likewise.
6834         (finite_test): Likewise.
6835         (isgreater_test): Likewise.
6836         (isgreaterequal_test): Likewise.
6837         (isinf_test): Likewise.
6838         (isless_test): Likewise.
6839         (islessequal_test): Likewise.
6840         (islessgreater_test): Likewise.
6841         (isnan_test): Likewise.
6842         (isnormal_test): Likewise.
6843         (issignaling_test): Likewise.
6844         (isunordered_test): Likewise.
6845         (j0_test): Likewise.
6846         (j1_test): Likewise.
6847         (jn_test): Likewise.
6848         (ldexp_test): Likewise.
6849         (lgamma_test): Likewise.
6850         (gamma_test): Likewise.
6851         (lrint_test): Likewise.
6852         (lrint_test_tonearest): Likewise.
6853         (lrint_test_towardzero): Likewise.
6854         (lrint_test_downward): Likewise.
6855         (lrint_test_upward): Likewise.
6856         (llrint_test): Likewise.
6857         (llrint_test_tonearest): Likewise.
6858         (llrint_test_towardzero): Likewise.
6859         (llrint_test_downward): Likewise.
6860         (llrint_test_upward): Likewise.
6861         (log_test): Likewise.
6862         (log10_test): Likewise.
6863         (log1p_test): Likewise.
6864         (log2_test): Likewise.
6865         (logb_test): Likewise.
6866         (logb_test_downward): Likewise.
6867         (lround_test): Likewise.
6868         (llround_test): Likewise.
6869         (modf_test): Likewise.
6870         (nearbyint_test): Likewise.
6871         (nextafter_test): Likewise.
6872         (nexttoward_test): Likewise.
6873         (pow_test): Likewise.
6874         (pow_test_tonearest): Likewise.
6875         (pow_test_towardzero): Likewise.
6876         (pow_test_downward): Likewise.
6877         (pow_test_upward): Likewise.
6878         (remainder_test): Likewise.
6879         (drem_test): Likewise.
6880         (remainder_test_tonearest): Likewise.
6881         (drem_test_tonearest): Likewise.
6882         (remainder_test_towardzero): Likewise.
6883         (drem_test_towardzero): Likewise.
6884         (remainder_test_downward): Likewise.
6885         (drem_test_downward): Likewise.
6886         (remainder_test_upward): Likewise.
6887         (drem_test_upward): Likewise.
6888         (remquo_test): Likewise.
6889         (rint_test): Likewise.
6890         (rint_test_tonearest): Likewise.
6891         (rint_test_towardzero): Likewise.
6892         (rint_test_downward): Likewise.
6893         (rint_test_upward): Likewise.
6894         (round_test): Likewise.
6895         (scalb_test): Likewise.
6896         (scalbn_test): Likewise.
6897         (scalbln_test): Likewise.
6898         (signbit_test): Likewise.
6899         (sin_test): Likewise.
6900         (sin_test_tonearest): Likewise.
6901         (sin_test_towardzero): Likewise.
6902         (sin_test_downward): Likewise.
6903         (sin_test_upward): Likewise.
6904         (sincos_test): Likewise.
6905         (sinh_test): Likewise.
6906         (sinh_test_tonearest): Likewise.
6907         (sinh_test_towardzero): Likewise.
6908         (sinh_test_downward): Likewise.
6909         (sinh_test_upward): Likewise.
6910         (sqrt_test): Likewise.
6911         (sqrt_test_tonearest): Likewise.
6912         (sqrt_test_towardzero): Likewise.
6913         (sqrt_test_downward): Likewise.
6914         (sqrt_test_upward): Likewise.
6915         (tan_test): Likewise.
6916         (tan_test_tonearest): Likewise.
6917         (tan_test_towardzero): Likewise.
6918         (tan_test_downward): Likewise.
6919         (tan_test_upward): Likewise.
6920         (tanh_test): Likewise.
6921         (tgamma_test): Likewise.
6922         (trunc_test): Likewise.
6923         (y0_test): Likewise.
6924         (y1_test): Likewise.
6925         (yn_test): Likewise.
6926         (significand_test): Likewise.
6928         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6929         individual tests in comment.
6930         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6931         (prev_max_error): New variable.
6932         (prev_real_max_error): Likewise.
6933         (prev_imag_max_error): Likewise.
6934         (compare_ulp_data): Don't refer to test names in comment.
6935         (find_test_ulps): Remove function.
6936         (find_function_ulps): Likewise.
6937         (find_complex_function_ulps): Likewise.
6938         (init_max_error): Take function name as argument.  Look up ulps
6939         for that function.
6940         (print_ulps): Remove function.
6941         (print_max_error): Use prev_max_error instead of calling
6942         find_function_ulps.
6943         (print_complex_max_error): Use prev_real_max_error and
6944         prev_imag_max_error instead of calling find_complex_function_ulps.
6945         (check_float_internal): Take max_ulp parameter instead of calling
6946         find_test_ulps.  Don't call print_ulps.
6947         (check_float): Update call to check_float_internal.
6948         (check_complex): Update calls to check_float_internal.
6949         (START): Pass argument to init_max_error.
6950         * math/gen-libm-test.pl (%results): Don't include "kind"
6951         information.
6952         (parse_ulps): Don't handle ulps of individual tests.
6953         (print_ulps_file): Likewise.
6954         (output_ulps): Likewise.
6955         * math/README.libm-test: Update.
6956         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6957         individual tests.
6958         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6959         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6960         * sysdeps/arm/libm-test-ulps: Likewise.
6961         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6962         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6963         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6964         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6965         * sysdeps/microblaze/libm-test-ulps: Likewise.
6966         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6967         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6968         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6969         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6970         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6971         * sysdeps/sh/libm-test-ulps: Likewise.
6972         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6973         * sysdeps/tile/libm-test-ulps: Likewise.
6974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6976 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
6978         * math/libm-test.inc (print_complex_max_error): Check separately
6979         whether real and imaginary errors are within allowed range and
6980         pass 0 to print_complex_function_ulps instead of value within
6981         allowed range.
6983 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6985         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6986         formatting.
6987         (get_handles_fopen): Likewise.
6988         (do_write_test): Likewise.
6990         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6992         * libio/fileops.c (do_ftell): Use cached offset when
6993         available.
6994         * libio/iofwide.c (do_ftell_wide): Likewise.
6995         * libio/iofdopen.c (_IO_new_fdopen): Don't use
6996         _IO_file_attach.
6997         * libio/wfileops.c (_IO_fwide): Don't cache offset.
6999         [BZ #16532]
7000         * libio/libioP.h (get_file_offset): New function.
7001         * libio/fileops.c (get_file_offset): Likewise.
7002         (do_ftell): Likewise.
7003         (_IO_new_file_seekoff): Split out ftell logic.
7004         * libio/wfileops.c (do_ftell_wide): Likewise.
7005         (_IO_wfile_seekoff): Split out ftell logic.
7006         * libio/tst-ftell-active-handler.c: New test case.
7007         * libio/Makefile (tests): Add it.
7009 2014-03-03  Roland McGrath  <roland@hack.frob.com>
7011         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7012         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7014 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7016         [BZ #16639]
7017         * nscd/connections.c (nscd_init): Call do_exit.
7018         (start_threads): Call do_exit and notify_parent.
7019         (begin_drop_privileges): Call do_exit.
7020         (finish_drop_privileges): Likewise.
7021         * nscd/selinux.c (preserve_capabilities): Likewise.
7022         (install_real_capabilities): Likewise.
7023         (nscd_selinux_enabled): Likewise.
7024         (avc_create_thread): Likewise.
7025         (avc_alloc_lock): Likewise.
7026         (nscd_avc_init): Likewise.
7027         * nscd/nscd.c (parent_fd): New static variable.
7028         (main): Create a pipe between parent and child processes.
7029         Skip closing parent_fd.
7030         (monitor_child): New function.
7031         (do_exit): Likewise.
7032         (notify_parent): Likewise.
7033         * nscd/nscd.h (notify_parent): Likewise.
7034         (do_exit): Likewise.
7036 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
7038         * malloc/malloc.c (__libc_calloc): Revert last change.
7040 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7044 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7046         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7047         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7048         implementation.
7049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7050         (__libc_ifunc_impl_list): Likewise.
7051         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7052         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7053         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7054         * string/strrchr.c: Define STRRCHR.
7056 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
7058         * benchtest/bench-strtok.c (simple_strtok): Delete.
7059         (strtok_string): Use as benchmark.
7060         * string/strtok (STRTOK): New macro.
7062 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
7064         * manual/threads.texi: Add header and standard comments to all
7065         functions.
7067         * elf/dl-lookup.c (check_match): New function.
7068         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7069         (do_lookup_x): Remove nested function check_match. Use non-nested
7070         function check_match.
7072 2014-02-28  Roland McGrath  <roland@hack.frob.com>
7074         * csu/Makefile (generated, before-compile): Use += rather than =.
7075         * catgets/Makefile (generated, generated-dirs): Likewise.
7076         * debug/Makefile (generated): Likewise.
7077         * dlfcn/Makefile (generated): Likewise.
7078         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7079         * iconvdata/Makefile (before-compile, generated): Likewise.
7080         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7081         * libio/Makefile (generated): Likewise.
7082         * malloc/Makefile (generated): Likewise.
7083         * manual/Makefile (generated, generated-dirs): Likewise.
7084         * misc/Makefile (generated): Likewise.
7085         * posix/Makefile (generated): Likewise.
7086         * resolv/Makefile (generated): Likewise.
7087         * sunrpc/Makefile (generated, generated-dirs): Likewise.
7088         * timezone/Makefile (generated, generated-dirs): Likewise.
7090         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7092 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7094         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7095         power8 implementation.
7096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7097         file: POWER8 llround ifunc implementation.
7098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7099         (__lllround): Add POWER8 implementation.
7100         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7101         POWER8 llround implementation.
7103         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7104         power8 implementation.
7105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7106         file: POWER8 llrint ifunc implementation.
7107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7108         Add POWER8 implementation.
7109         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7110         POWER8 llrint implementation.
7112         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7113         power8 implementation.
7114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7115         file: POWER8 finite ifunc implementation.
7116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7117         Add POWER8 implementation.
7118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7119         Likewise.
7120         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7121         POWER8 finite implementation.
7122         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7124         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7125         power8 implementation.
7126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7127         file: POWER8 isinf ifunc implementation.
7128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7129         POWER8 implementation.
7130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7131         Likewise.
7132         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7133         isinf implementation.
7134         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7136         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7137         (INIT_ARCH): Add hwcap2 initialization.
7138         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7139         power8 implementation.
7140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7141         file: POWER8 isnan ifunc implementation.
7142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7143         POWER8 implementation.
7144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7145         Likewise.
7146         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7147         isnan implementation.
7148         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7150 2014-02-27  Joey Ye  <joey.ye@arm.com>
7152         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7153         (_FP_NANFRAC_Q): Set to zero.
7155 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7157         [BZ #16623]
7158         * math/auto-libm-test-in: New test inputs.
7159         * math/auto-libm-test-out: Regenerate.
7160         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7161         and DA.
7162         (__cos): Likewise.
7163         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7165 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
7167         * scripts/evaluate-test.sh: Take new argument indicating whether
7168         failure is expected.
7169         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7170         indicating whether failure is expected.
7171         * conform/Makefile (test-xfail-run-conformtest): New variable.
7172         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7173         level.
7174         * posix/Makefile (test-xfail-annexc): New variable.
7175         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7177 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
7179         * argp/Makefile: Include Makeconfig immediately after defining
7180         subdir.
7181         * assert/Makefile: Likewise.
7182         * benchtests/Makefile: Likewise.
7183         * catgets/Makefile: Likewise.
7184         * conform/Makefile: Likewise.
7185         * crypt/Makefile: Likewise.
7186         * csu/Makefile: Likewise.
7187         (all): Remove target.
7188         * ctype/Makefile: Include Makeconfig immediately after defining
7189         subdir.
7190         * debug/Makefile: Likewise.
7191         * dirent/Makefile: Likewise.
7192         * dlfcn/Makefile: Likewise.
7193         * gmon/Makefile: Likewise.
7194         * gnulib/Makefile: Likewise.
7195         * grp/Makefile: Likewise.
7196         * gshadow/Makefile: Likewise.
7197         * hesiod/Makefile: Likewise.
7198         * hurd/Makefile: Likewise.
7199         (all): Remove target.
7200         * iconvdata/Makefile: Include Makeconfig immediately after
7201         defining subdir.
7202         * inet/Makefile: Likewise.
7203         * intl/Makefile: Likewise.
7204         * io/Makefile: Likewise.
7205         * libio/Makefile: Likewise.
7206         (all): Remove target.
7207         * locale/Makefile: Include Makeconfig immediately after defining
7208         subdir.
7209         * login/Makefile: Likewise.
7210         * mach/Makefile: Likewise.
7211         (all): Remove target.
7212         * malloc/Makefile: Include Makeconfig immediately after defining
7213         subdir.
7214         (all): Remove target.
7215         * manual/Makefile: Include Makeconfig immediately after defining
7216         subdir.
7217         * math/Makefile: Likewise.
7218         * misc/Makefile: Likewise.
7219         * nis/Makefile: Likewise.
7220         * nss/Makefile: Likewise.
7221         * po/Makefile: Likewise.
7222         (all): Remove target.
7223         * posix/Makefile: Include Makeconfig immediately after defining
7224         subdir.
7225         * pwd/Makefile: Likewise.
7226         * resolv/Makefile: Likewise.
7227         * resource/Makefile: Likewise.
7228         * rt/Makefile: Likewise.
7229         * setjmp/Makefile: Likewise.
7230         * shadow/Makefile: Likewise.
7231         * signal/Makefile: Likewise.
7232         * socket/Makefile: Likewise.
7233         * soft-fp/Makefile: Likewise.
7234         * stdio-common/Makefile: Likewise.
7235         * stdlib/Makefile: Likewise.
7236         * streams/Makefile: Likewise.
7237         * string/Makefile: Likewise.
7238         * sunrpc/Makefile: Likewise.
7239         (all): Remove target.
7240         * sysvipc/Makefile: Include Makeconfig immediately after defining
7241         subdir.
7242         * termios/Makefile: Likewise.
7243         * time/Makefile: Likewise.
7244         * timezone/Makefile: Likewise.
7245         (all): Remove target.
7246         * wcsmbs/Makefile: Include Makeconfig immediately after defining
7247         subdir.
7248         * wctype/Makefile: Likewise.
7250 2014-02-26  Steve Ellcey  <sellcey@mips.com>
7252         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7253         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7254         (libc_feholdexcept_setround_mips): Ditto.
7255         (libc_feholdsetround): New.
7256         (libc_feholdsetroundf): New.
7257         (libc_feholdsetroundl): New.
7258         (libc_feupdateenv_test_mips): New.
7259         (libc_feupdateenv_test): New.
7260         (libc_feupdateenv_testf): New.
7261         (libc_feupdateenv_testl): New.
7262         (libc_feresetround): New.
7263         (libc_feresetroundf): New.
7264         (libc_feresetroundl): New.
7265         (libc_fetestexcept_mips): New.
7266         (libc_fetestexcept): New.
7267         (libc_fetestexceptf): New.
7268         (libc_fetestexceptl): New.
7269         (HAVE_RM_CTX): New.
7270         (libc_feholdexcept_setround_mips_ctx): New.
7271         (libc_feholdexcept_setround_ctx): New.
7272         (libc_feholdexcept_setroundf_ctx): New.
7273         (libc_feholdexcept_setroundl_ctx): New.
7274         (libc_fesetenv_mips_ctx): New.
7275         (libc_fesetenv_ctx): New.
7276         (libc_fesetenv_ctxf): New.
7277         (libc_fesetenv_ctxl): New.
7278         (libc_feupdateenv_mips_ctx): New.
7279         (libc_feupdateenv_ctx): New.
7280         (libc_feupdateenvf_ctx): New.
7281         (libc_feupdateenvl_ctx): New.
7282         (libc_feholdsetround_mips_ctx): New.
7283         (libc_feholdsetround_ctx): New.
7284         (libc_feholdsetroundf_ctx): New.
7285         (libc_feholdsetroundl_ctx): New.
7286         (libc_feresetround_mips_ctx): New.
7287         (libc_feresetround_ctx): New.
7288         (libc_feresetroundf_ctx): New.
7289         (libc_feresetroundl_ctx): New.
7291 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
7293         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7295         * manual/ipc.texi: New file.
7296         * manual/Makefile (chapters): Add ipc.
7297         * manual/job.texi: Add "Inter-Process Communication" to next.
7298         * manual/process.texi: Add "Inter-Process Communication" to prev.
7300 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7304 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
7306         * malloc/malloc.c (__libc_calloc): Simplify implementation.
7308         * manual/arith.texi: Fix spaces after sentences.
7309         * manual/charset.texi: Likewise.
7310         * manual/errno.texi: Likewise.
7311         * manual/install.texi: Likewise.
7312         * manual/llio.texi: Likewise.
7313         * manual/locale.texi: Likewise.
7314         * manual/maint.texi: Likewise.
7315         * manual/math.texi: Likewise.
7316         * manual/memory.texi: Likewise.
7317         * manual/message.texi: Likewise.
7318         * manual/probes.texi: Likewise.
7319         * manual/resource.texi: Likewise.
7320         * manual/signal.texi: Likewise.
7321         * manual/socket.texi: Likewise.
7322         * manual/stdio.texi: Likewise.
7323         * manual/string.texi: Likewise.
7324         * manual/time.texi: Likewise.
7325         * manual/users.texi: Likewise.
7327 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
7329         [BZ #16632]
7330         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7331         _DEFAULT_SOURCE is defined.
7333 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
7334             Carlos O'Donell  <carlos@redhat.com>
7336         [BZ #16613]
7337         * elf/dl-tls.c (_dl_count_modids): New function.
7338         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7339         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7340         audit library and increment generation counter.
7341         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7342         * elf/tst-audit9.c: New file.
7343         * elf/tst-auditmod9a.c: New file.
7344         * elf/tst-auditmod9b.c: New file.
7345         * elf/Makefile: Add rules to build and run tst-audit9.
7347 2014-02-25  Florian Weimer  <fweimer@redhat.com>
7349         [BZ #15347]
7350         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7352 2014-02-25  Will Newton  <will.newton@linaro.org>
7354         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7355         (__longjmp): Restore sp and lr before restoring callee
7356         saved registers.  Add longjmp and longjmp_target
7357         SystemTap probe point.
7358         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7359         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7360         Define to zero to match jmpbuf layout.
7361         * sysdeps/arm/setjmp.S: Include stap-probe.h.
7362         (__sigsetjmp): Save sp and lr before saving callee
7363         saved registers.  Add setjmp SystemTap probe point.
7365 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7367         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7369 2014-02-24  Andreas Schwab  <schwab@suse.de>
7371         [BZ #15804]
7372         * elf/pldd.c (wait_for_ptrace_stop): New function.
7373         (main): Call it after attaching.
7375 2014-02-22  Roland McGrath  <roland@hack.frob.com>
7377         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7378         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7379         Versions files is now verboten.
7380         * hurd/Versions (libc: GLIBC_2.0):
7381         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7382         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7383         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7384         * mach/Versions: Likewise.
7386         * csu/Versions: Remove unused %include.
7387         * resolv/Versions: Likewise.
7389 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
7391         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7392         ($(objpfx)check-local-headers.out): Likewise.
7393         ($(objpfx)begin-end-check.out): Likewise.
7394         * Makerules (check-abi-%.out): Likewise.
7395         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7396         ($(objpfx)test2.cat): Likewise.
7397         ($(objpfx)de/libc.cat): Likewise.
7398         ($(objpfx)test-gencat.out): Likewise.
7399         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7400         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7401         ($(objpfx)noload-mem): Likewise.
7402         ($(objpfx)tst-pathopt.out): Likewise.
7403         ($(objpfx)tst-rtld-load-self.out): Likewise.
7404         ($(objpfx)tst-array1-cmp.out): Likewise.
7405         ($(objpfx)tst-array1-static-cmp.out): Likewise.
7406         ($(objpfx)tst-array2-cmp.out): Likewise.
7407         ($(objpfx)tst-array3-cmp.out): Likewise.
7408         ($(objpfx)tst-array4-cmp.out): Likewise.
7409         ($(objpfx)tst-array5-cmp.out): Likewise.
7410         ($(objpfx)tst-array5-static-cmp.out): Likewise.
7411         ($(objpfx)check-textrel.out): Likewise.
7412         ($(objpfx)check-execstack.out): Likewise.
7413         ($(objpfx)check-localplt.out): Likewise.
7414         ($(objpfx)order2-cmp.out): Likewise.
7415         ($(objpfx)tst-leaks1-mem): Likewise.
7416         ($(objpfx)tst-leaks1-static-mem): Likewise.
7417         ($(objpfx)tst-initorder-cmp.out): Likewise.
7418         ($(objpfx)tst-initorder2-cmp.out): Likewise.
7419         ($(objpfx)tst-unused-dep.out): Likewise.
7420         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7421         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7422         * iconv/Makefile (test-iconvconfig): Likewise.
7423         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7424         ($(objpfx)iconv-test.out): Likewise.
7425         ($(objpfx)tst-tables.out): Likewise.
7426         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7427         ($(objpfx)tst-gettext.out): Likewise.
7428         ($(objpfx)tst-translit.out): Likewise.
7429         ($(objpfx)tst-gettext2.out): Likewise.
7430         ($(objpfx)tst-gettext4.out): Likewise.
7431         ($(objpfx)tst-gettext6.out): Likewise.
7432         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7433         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7434         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7435         ($(objpfx)tst-fopenloc-mem.out): Likewise.
7436         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7437         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7438         * posix/Makefile ($(objpfx)globtest.out): Likewise.
7439         ($(objpfx)wordexp-tst.out): Likewise.
7440         ($(objpfx)annexc.out): Likewise.
7441         ($(objpfx)tst-fnmatch-mem): Likewise.
7442         ($(objpfx)bug-regex2-mem): Likewise.
7443         ($(objpfx)bug-regex14-mem): Likewise.
7444         ($(objpfx)bug-regex21-mem): Likewise.
7445         ($(objpfx)bug-regex31-mem): Likewise.
7446         ($(objpfx)tst-vfork3-mem): Likewise.
7447         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7448         ($(objpfx)tst-pcre-mem): Likewise.
7449         ($(objpfx)tst-boost-mem): Likewise.
7450         ($(objpfx)tst-getconf.out): Likewise.
7451         ($(objpfx)bug-ga2-mem): Likewise.
7452         ($(objpfx)bug-glob2-mem): Likewise.
7453         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7454         ($(objpfx)mtrace-tst-leaks2): Likewise.
7455         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7456         ($(objpfx)tst-printf.out): Likewise.
7457         ($(objpfx)tst-setvbuf1.out): Likewise.
7458         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7459         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7460         ($(objpfx)tst-fmtmsg.out): Likewise.
7461         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7462         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7464         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7465         * bits/sigaction.h [__USE_MISC]: Likewise.
7466         * bits/waitstatus.h: Update #endif comments.
7467         * ctype/ctype.h: Likewise.
7468         * dirent/dirent.h: Likewise.
7469         [__USE_MISC]: Remove redundant conditionals.
7470         * grp/grp.h: Update #endif comments.
7471         [__USE_GNU]: Remove redundant conditionals.
7472         [__USE_MISC]: Likewise.
7473         * inet/netinet/in.h [__USE_GNU]: Likewise.
7474         * io/sys/stat.h [__USE_MISC]: Likewise.
7475         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7476         * libio/bits/stdio.h: Update #endif comments.
7477         [__USE_MISC]: Remove redundant conditionals.
7478         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7479         * libio/stdio.h: Update #endif comments.
7480         [__USE_MISC]: Remove redundant conditionals.
7481         * math/bits/math-finite.h [__USE_MISC]: Likewise.
7482         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7483         * math/math.h: Update #else and #endif comments.
7484         [__USE_MISC]: Remove redundant conditionals.
7485         * misc/sys/uio.h: Update #endif comments.
7486         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7487         * posix/glob.h [__USE_MISC]: Likewise.
7488         * posix/sys/types.h: Update #endif comments.
7489         [__USE_MISC]: Remove redundant conditionals.
7490         * posix/sys/wait.h: Update #endif comments.
7491         [__USE_MISC]: Remove redundant conditionals.
7492         * posix/unistd.h: Update #endif comments.
7493         [__USE_MISC]: Remove redundant conditionals.
7494         * pwd/pwd.h [__USE_GNU]: Likewise.
7495         [__USE_MISC]: Likewise.
7496         * resolv/netdb.h [__USE_GNU]: Likewise.
7497         * signal/signal.h: Update #endif comments.
7498         [__USE_MISC]: Remove redundant conditionals.
7499         * stdlib/stdlib.h: Update #else and #endif comments.
7500         [__USE_MISC]: Remove redundant conditionals.
7501         [__USE_GNU]: Likewise.
7502         * string/bits/string2.h [__USE_MISC]: Likewise.
7503         * string/string.h: Update #endif comments.
7504         [__USE_MISC]: Remove redundant conditionals.
7505         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7506         Likewise.
7507         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7508         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7509         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7510         Likewise.
7511         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7512         Likewise.
7513         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7514         comments.
7515         [__USE_MISC]: Remove redundant conditionals.
7516         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7517         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7518         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7519         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7520         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7521         Likewise.
7522         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7523         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7524         Likewise.
7525         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7526         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7527         Likewise.
7528         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7529         Likewise.
7530         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7531         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7532         Likewise.
7533         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7534         Likewise.
7535         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7536         * sysdeps/x86/bits/string.h: Update #endif comments.
7537         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7538         conditionals.
7539         * time/sys/time.h: Update #endif comments.
7540         * time/time.h: Likewise.
7541         [__USE_MISC]: Remove redundant conditionals.
7543 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
7545         [BZ #16600]
7546         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7548 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
7550         * Versions.def (librt): Add GLIBC_2.17.
7552 2014-02-21  Adam Conrad  <adconrad@0c3.net>
7554         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7555         synonym for _SYS_AUXV_H to allow direct inclusion.
7556         * sysdeps/sparc/bits/hwcap.h: Likewise.
7557         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7558         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7559         * sysdeps/sparc/sysdep.h: Likewise.
7561 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7563         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7565 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7567         * benchtests/bench-strrchr.c: Print length instead of position.
7569 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
7571         [BZ #16611]
7572         * sysdeps/unix/sysv/linux/kernel-features.h
7573         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7574         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7575         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7576         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7577         Likewise.
7578         [__i386__ || __powerpc__ || __sh__ || __sparc__]
7579         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7580         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7581         (__ASSUME_SENDMMSG): Define instead of using previous
7582         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7583         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7584         (__ASSUME_SENDMMSG_SYSCALL): Define.
7585         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7586         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7587         Likewise.
7588         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7589         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7590         Likewise.
7591         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7592         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7593         Likewise.
7594         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7595         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7596         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7597         [__ASSUME_SENDMMSG]: Change conditionals to
7598         [__ASSUME_SENDMMSG_SOCKETCALL].
7599         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7600         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7601         Define.
7602         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7603         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7604         Likewise.
7605         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7606         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7607         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7608         [!__ASSUME_SENDMMSG]: Change conditional to
7609         [!__ASSUME_SENDMMSG_SOCKETCALL].
7610         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7611         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7612         Define.
7614         [BZ #16610]
7615         * sysdeps/unix/sysv/linux/kernel-features.h
7616         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7617         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7618         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7619         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7620         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7621         [__i386__ || __sparc__]
7622         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7623         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7624         (__ASSUME_RECVMMSG): Define instead of using previous
7625         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7626         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7627         (__ASSUME_RECVMMSG_SYSCALL): Define.
7628         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7629         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7630         Likewise.
7631         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7632         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7633         Likewise.
7634         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7635         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7636         Likewise.
7637         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7638         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7639         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7640         [__ASSUME_RECVMMSG]: Change condition to
7641         [__ASSUME_RECVMMSG_SOCKETCALL].
7642         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7643         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7644         Define.
7645         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7646         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7647         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7648         Likewise.
7649         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7650         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7651         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7652         [!__ASSUME_RECVMMSG]: Change condition to
7653         [!__ASSUME_RECVMMSG_SOCKETCALL].
7654         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7655         (__ASSUME_RECVMMSG_SYSCALL): Define.
7657         [BZ #16609]
7658         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7659         __powerpc__ || __s390__ || __sh__ || __sparc__]
7660         (__ASSUME_SOCKETCALL): Define.
7661         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7662         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7663         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7664         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7665         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7666         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7667         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7668         (__ASSUME_ACCEPT4): Define instead of using previous
7669         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7670         __powerpc__ || __sparc__ || __s390__)] condition.
7671         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7672         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7673         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7674         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7675         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7676         [!__ASSUME_ACCEPT4]: Change condition to
7677         [!__ASSUME_ACCEPT4_SOCKETCALL].
7678         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7679         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
7680         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7681         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7682         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7683         __ASSUME_ACCEPT4_SYSCALL.
7684         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7685         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7686         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7687         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7688         __ASSUME_ACCEPT4_SYSCALL.
7689         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7690         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7691         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7692         [__ASSUME_ACCEPT4]: Change condition to
7693         [__ASSUME_ACCEPT4_SOCKETCALL].
7694         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7695         (__ASSUME_SOCKETCALL): Define.
7696         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7697         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7698         (__ASSUME_SOCKETCALL): Define.
7699         (__ASSUME_ACCEPT4): Remove.
7700         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7701         Define.
7702         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7703         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7704         Likewise.
7705         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7706         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7708         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7709         macro.
7710         (HWCAP_ARM_LPAE): Likewise.
7711         (HWCAP_ARM_EVTSTRM): Likewise.
7712         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7713         Add vpfd32, lpae and evtstrm.
7714         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7715         Increase to 22.
7717 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
7719         * math/auto-libm-test-in: Add tests of clog10.
7720         * math/auto-libm-test-out: Regenerated.
7721         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7722         * sysdeps/i386/fpu/libm-test-ulps: Update.
7723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7725 2014-02-18  Andreas Schwab  <schwab@suse.de>
7727         [BZ #16574]
7728         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7729         Store non-zero if the second buffer was newly allocated.
7730         (send_dg): Likewise.
7731         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7732         to send_vc and send_dg.
7733         (res_nsend): Pass NULL for ansp2_malloced.
7734         * resolv/res_query.c (__libc_res_nquery): Add parameter
7735         answerp2_malloced and pass it down to __libc_res_nsend.
7736         (res_nquery): Pass additional NULL to __libc_res_nquery.
7737         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7738         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
7739         second answer buffer if answerp2_malloced was set.
7740         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7741         (__libc_res_nquerydomain): Add parameter
7742         answerp2_malloced and pass it down to __libc_res_nquery.
7743         (res_nquerydomain): Pass additional NULL to
7744         __libc_res_nquerydomain.
7745         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7746         additional NULL to __libc_res_nsend and __libc_res_nquery.
7747         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7748         additional NULL to __libc_res_nsearch.
7749         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
7750         parameter of __libc_res_nsearch to check for separately allocated
7751         second buffer.
7752         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7753         __libc_res_nquery.
7754         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7755         additional NULL to __libc_res_nquery.
7756         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7757         __libc_res_nsearch.
7758         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7759         * include/resolv.h: Update prototypes of __libc_res_nquery,
7760         __libc_res_nsearch, __libc_res_nsend.
7762 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
7764         * math/auto-libm-test-in: Add tests of fma.
7765         * math/auto-libm-test-out: Regenerated.
7766         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7767         (fma_towardzero_test_data): Likewise.
7768         (fma_downward_test_data): Likewise.
7769         (fma_upward_test_data): Likewise.
7770         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7771         mpc_mode.
7772         (rounding_modes): Add values for new field.
7773         (func_calc_method): Add value mpfr_fff_f.
7774         (func_calc_desc): Add mpfr_fff_f union field.
7775         (test_function): Add field exact_args.
7776         (FUNC): Add macro argument EXACT_ARGS.
7777         (FUNC_mpfr_f_f): Update call to FUNC.
7778         (FUNC_mpfr_f_f): Likewise.
7779         (FUNC_mpfr_ff_f): Likewise.
7780         (FUNC_mpfr_if_f): Likewise.
7781         (FUNC_mpc_c_f): Likewise.
7782         (FUNC_mpc_c_c): Likewise.
7783         (test_functions): Add fma.  Update calls to FUNC.
7784         (handle_input_arg): Add argument exact_args.
7785         (add_test): Update call to handle_input_arg.
7786         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
7787         (output_for_one_input_case): Update call to calc_generic_results.
7788         Recalculate exact zero results in each rounding mode.
7790         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7791         non-negative before setting low bit.
7792         * math/auto-libm-test-in: Mark one asin test possibly having
7793         spurious underflow.
7794         * math/auto-libm-test-out: Regenerated.
7795         * sysdeps/i386/fpu/libm-test-ulps: Update.
7796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7798 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
7800         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7801         * sysdeps/unix/sysv/linux/microblaze: Move directory from
7802         ports/sysdeps/unix/sysv/linux/microblaze.
7803         * README: Add missing listing for microblaze*-*-linux-gnu.
7805 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
7807         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7808         * sysdeps/unix/sysv/linux/ia64: Move directory from
7809         ports/sysdeps/unix/sysv/linux/ia64.
7810         * README: Update listing for ia64-*-linux-gnu.
7812 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
7813             Joseph Myers  <joseph@codesourcery.com>
7815         * Makeconfig (test-name): New variable.
7816         (evaluate-test): Likewise.
7817         * Makerules (do-test-clean): Remove .test-result files.
7818         (common-mostlyclean): Likewise.
7819         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7820         * scripts/evaluate-test.sh: New file.
7822 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
7824         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7825         separate $(objpfx)tst-fopenloc-cmp.out and
7826         $(objpfx)tst-fopenloc-mem.out targets.
7827         (tests): Update dependencies.
7828         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7829         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7830         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7831         (tst-rxspencer-no-utf8-ARGS): New variable.
7832         (tst-rxspencer-no-utf8-ENV): Likewise.
7833         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7834         instead of $(objpfx)tst-rxspencer-mem.
7835         ($(objpfx)tst-rxspencer-mem): Change target to
7836         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
7837         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7838         * posix/tst-rxspencer-no-utf8.c: New file.
7840         * elf/Makefile ($(objpfx)order.out): Remove rule.
7841         [$(run-built-tests) = yes] (tests): Depend on
7842         $(objpfx)order-cmp.out.
7843         ($(objpfx)order-cmp.out): New rule.
7844         [$(run-built-tests) = yes] (tests): Depend on
7845         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7846         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7847         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7848         $(objpfx)tst-array5-static-cmp.out.
7849         ($(objpfx)tst-array1.out): Remove rule.
7850         ($(objpfx)tst-array1-cmp.out): New rule.
7851         ($(objpfx)tst-array1-static.out): Remove rule.
7852         ($(objpfx)tst-array1-static-cmp.out): New rule.
7853         ($(objpfx)tst-array2.out): Remove rule.
7854         ($(objpfx)tst-array2-cmp.out): New rule.
7855         ($(objpfx)tst-array3.out): Remove rule.
7856         ($(objpfx)tst-array3-cmp.out): New rule.
7857         ($(objpfx)tst-array4.out): Remove rule.
7858         ($(objpfx)tst-array4-cmp.out): New rule.
7859         ($(objpfx)tst-array5.out): Remove rule.
7860         ($(objpfx)tst-array5-cmp.out): New rule.
7861         ($(objpfx)tst-array5-static.out): Remove rule.
7862         ($(objpfx)tst-array5-static-cmp.out): New rule.
7863         [$(run-built-tests) = yes] (tests): Depend on
7864         $(objpfx)order2-cmp.out.
7865         ($(objpfx)order2.out): Remove rule.
7866         ($(objpfx)order2-cmp.out): New rule.
7867         ($(objpfx)tst-initorder.out): Remove rule.
7868         [$(run-built-tests) = yes] (tests): Depend on
7869         $(objpfx)tst-initorder-cmp.out.
7870         ($(objpfx)tst-initorder-cmp.out): New rule.
7871         ($(objpfx)tst-initorder2.out): Remove rule.
7872         [$(run-built-tests) = yes] (tests): Depend on
7873         $(objpfx)tst-initorder2-cmp.out.
7874         ($(objpfx)tst-initorder2-cmp.out): New rule.
7875         [$(run-built-tests) = yes] (tests): Depend on
7876         $(objpfx)tst-unused-dep-cmp.out.
7877         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7878         ($(objpfx)tst-unused-dep-cmp.out): New rule.
7879         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7880         on $(objpfx)tst-setvbuf1-cmp.out.
7881         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7882         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7883         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7884         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7885         ($(objpfx)tst-svc.out): Remove rule.
7886         ($(objpfx)tst-svc-cmp.out): New rule.
7888 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
7890         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7891         * ctype/ctype.h [__USE_MISC]: Likewise.
7892         * dirent/dirent.h [__USE_MISC]: Likewise.
7893         * grp/grp.h [__USE_MISC]: Likewise.
7894         * io/fcntl.h [__USE_MISC]: Likewise.
7895         * io/sys/stat.h [__USE_MISC]: Likewise.
7896         * libio/stdio.h [__USE_MISC]: Likewise.
7897         * posix/unistd.h [__USE_MISC]: Likewise.
7898         * pwd/pwd.h [__USE_MISC]: Likewise.
7899         * stdlib.h [__USE_MISC]: Likewise.
7900         * string/bits/string2.h [__USE_MISC]: Likewise.
7901         * string/string.h [__USE_MISC]: Likewise.
7902         * time/time.h [__USE_MISC]: Likewise.
7904 2014-02-13  Andreas Schwab  <schwab@suse.de>
7906         [BZ #16574]
7907         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7908         second answer buffer if it was separately allocated.
7910 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
7912         * sysdeps/mips/math-tests.h: Include <features.h>.
7913         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7914         (ROUNDING_TESTS_long_double): Do not define.
7915         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7916         (EXCEPTION_TESTS_long_double): Likewise.
7917         * sysdeps/mips/mips64/libm-test-ulps: Update.
7919         * include/features.h (__USE_BSD): Remove macro definitions.
7920         (__USE_SVID): Likewise.
7921         (_BSD_SOURCE): Likewise.
7922         (_SVID_SOURCE): Likewise.
7923         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7924         from definition of _DEFAULT_SOURCE.
7925         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7926         [_DEFAULT_SOURCE].
7927         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7928         * bits/mman.h [__USE_BSD]: Likewise.
7929         * bits/termios.h [__USE_BSD]: Likewise.
7930         * bits/waitstatus.h [__USE_BSD]: Likewise.
7931         * ctype/ctype.h [__USE_SVID]: Likewise.
7932         * dirent/dirent.h [__USE_BSD]: Likewise.
7933         * grp/grp.h [__USE_SVID]: Likewise.
7934         [__USE_BSD]: Likewise.
7935         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7936         * io/fcntl.h [__USE_BSD]: Likewise.
7937         * io/ftw.h [__USE_BSD]: Likewise.
7938         * io/sys/stat.h [__USE_BSD]: Likewise.
7939         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7940         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7941         * libio/stdio.h [__USE_SVID]: Likewise.
7942         [__USE_BSD]: Likewise.
7943         * math/math.h [__USE_SVID]: Likewise.
7944         [__USE_BSD]: Likewise.
7945         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7946         * misc/bits/syslog.h [__USE_BSD]: Likewise.
7947         * misc/search.h [__USE_SVID]: Likewise.
7948         * misc/sys/mman.h [__USE_BSD]: Likewise.
7949         * misc/sys/syslog.h [__USE_BSD]: Likewise.
7950         * misc/sys/uio.h [__USE_BSD]: Likewise.
7951         * posix/bits/unistd.h [__USE_BSD]: Likewise.
7952         * posix/glob.h [__USE_BSD]: Likewise.
7953         * posix/regex.h [__USE_BSD]: Likewise.
7954         * posix/sys/types.h [__USE_BSD]: Likewise.
7955         [__USE_SVID]: Likewise.
7956         * posix/sys/utsname.h [__USE_SVID]: Likewise.
7957         * posix/sys/wait.h [__USE_BSD]: Likewise.
7958         [__USE_SVID]: Likewise.
7959         * posix/unistd.h [__USE_BSD]: Likewise.
7960         [__USE_SVID]: Likewise.
7961         * pwd/pwd.h [__USE_SVID]: Likewise.
7962         * resolv/netdb.h [__USE_BSD]: Likewise.
7963         * setjmp/setjmp.h [__USE_BSD]: Likewise.
7964         * signal/signal.h [__USE_BSD]: Likewise.
7965         [__USE_SVID]: Likewise.
7966         * socket/sys/socket.h [__USE_BSD]: Likewise.
7967         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7968         * stdlib/stdlib.h [__USE_BSD]: Likewise.
7969         [__USE_SVID]: Likewise.
7970         * string/bits/string2.h [__USE_BSD]: Likewise.
7971         [__USE_SVID]: Likewise.
7972         * string/bits/string3.h [__USE_BSD]: Likewise.
7973         * string/endian.h [__USE_BSD]: Likewise.
7974         * string/string.h [__USE_SVID]: Likewise.
7975         [__USE_BSD]: Likewise.
7976         * string/strings.h [__USE_BSD]: Likewise.
7977         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7978         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7979         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7980         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7981         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7982         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7983         Likewise.
7984         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7985         Likewise.
7986         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7987         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7988         Likewise.
7989         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7990         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7991         Likewise.
7992         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7993         Likewise.
7994         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7995         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7996         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7997         Likewise.
7998         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7999         Likewise.
8000         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8001         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8002         * termios/termios.h [__USE_BSD]: Likewise.
8003         * time/sys/time.h [__USE_BSD]: Likewise.
8004         * time/time.h [__USE_BSD]: Likewise.
8005         [__USE_SVID]: Likewise.
8007         * Makefile (subdir_targets): Remove subdir_lint.out.
8009         * stdio-common/Makefile (do-tst-unbputc): Remove target.
8010         (do-tst-printf): Likewise.
8011         (tests): Depend directly on $(objpfx)tst-unbputc.out and
8012         $(objpfx)tst-printf.out.
8014         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8016         * Makerules (check-abi-%): Change target to
8017         $(objpfx)check-abi-%.out.
8018         (check-abi target): Update dependencies.
8019         (check-abi-pattern variable): Redirect output of diff to $@.
8020         (check-abi variable): Likewise.
8021         * elf/Makefile (check-abi): Update dependencies.
8023         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8024         unused.
8025         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8026         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8027         subnormal range.
8028         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8029         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8030         value has largest subnormal exponent.
8031         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8032         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8033         * sysdeps/aarch64/soft-fp/sfp-machine.h
8034         (_FP_TININESS_AFTER_ROUNDING): New macro.
8035         * sysdeps/alpha/soft-fp/sfp-machine.h
8036         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8037         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8038         Likewise.
8039         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8040         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8041         * sysdeps/mips/soft-fp/sfp-machine.h
8042         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8043         * sysdeps/powerpc/soft-fp/sfp-machine.h
8044         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8045         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8046         Likewise.
8047         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8048         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8049         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8050         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8051         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8052         Likewise.
8054 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
8056         [BZ #16545]
8057         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8058         model 1.
8060 2014-02-12  Richard Henderson  <rth@redhat.com>
8062         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8063         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8064         * sysdeps/unix/sysv/linux/alpha: Move directory from
8065         ports/sysdeps/unix/sysv/linux/alpha.
8066         * README: Update listing for alpha-*-linux-gnu.
8068 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
8070         * include/features.h: Update comment documenting feature test
8071         macros.
8072         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
8073         _DEFAULT_SOURCE.
8074         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8075         (_SVID_SOURCE): Likewise.
8076         (_DEFAULT_SOURCE): Update description of default features.
8077         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8078         with _GNU_SOURCE.
8079         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8080         (S_ISVTX): Likewise.
8081         * manual/math.texi (Mathematical Constants): Likewise.
8082         * manual/signal.texi (Interrupted Primitives): Likewise.
8083         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8084         * math/test-matherr.c (_SVID_SOURCE): Do not define.
8085         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8086         Don't refer to _SVID_SOURCE in warning text.
8088         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8090         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8091         already defined.
8092         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8093         * sysdeps/mips/dl-lookup.c: Remove.
8094         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8096 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8098         [BZ #16447]
8099         * math/auto-libm-test-in: Add testcase for expl.
8100         * math/auto-libm-test-out: Regenerate.
8101         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8102         calculation of unsafe.
8103         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8105 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8107         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8108         * sysdeps/unix/sysv/linux/aarch64: Move directory from
8109         ports/sysdeps/unix/sysv/linux/aarch64.
8110         * README: Update listing for aarch64*-*-linux-gnu.
8112 2014-02-11  Will Newton  <will.newton@linaro.org>
8114         * manual/probes.texi (Mathematical Function Probes): Use
8115         "triggered" instead of "hit".
8117         * manual/probes.texi (Internal Probes): Add documentation
8118         of setjmp, longjmp and longjmp_target probes.
8120         * include/stap-probe.h: Add comment about probe argument
8121         format.
8123         * malloc/mtrace.c (attribute_hidden): Remove unused macro
8124         definition.  (tr_where, tr_freehook, tr_mallochook,
8125         tr_reallochook, tr_memalignhook): Use ANSI protoype.
8127 2014-02-11  David S. Miller  <davem@davemloft.net>
8129         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8130         processing int_tests.
8132 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
8134         * sysdeps/mips: Move directory from ports/sysdeps/mips.
8135         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8136         * sysdeps/unix/sysv/linux/mips: Move directory from
8137         ports/sysdeps/unix/sysv/linux/mips.
8138         * README: Update listing for mips-*-linux-gnu and
8139         mips64-*-linux-gnu.
8141 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
8143         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8144         * sysdeps/unix/sysv/linux/m68k: Move directory from
8145         ports/sysdeps/unix/sysv/linux/m68k.
8146         * README: Update listing for m68k-*-linux-gnu.
8148 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
8150         * sysdeps/tile: Move directory from ports/sysdeps/tile.
8151         * sysdeps/unix/sysv/linux/generic: Move directory from
8152         ports/sysdeps/unix/sysv/linux/generic.
8153         * sysdeps/unix/sysv/linux/tile: Move directory from
8154         ports/sysdeps/unix/sysv/linux/tile.
8155         * README: Update listing for tile*-*-linux-gnu.
8157 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
8159         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8160         __builtin_expect.
8161         * benchtests/bench-memmem.c (simple_memmem): Likewise.
8162         * catgets/open_catalog.c (__open_catalog): Likewise.
8163         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8164         * debug/confstr_chk.c: Likewise.
8165         * debug/fread_chk.c (__fread_chk): Likewise.
8166         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8167         * debug/getgroups_chk.c: Likewise.
8168         * debug/mbsnrtowcs_chk.c: Likewise.
8169         * debug/mbsrtowcs_chk.c: Likewise.
8170         * debug/mbstowcs_chk.c: Likewise.
8171         * debug/memcpy_chk.c: Likewise.
8172         * debug/memmove_chk.c: Likewise.
8173         * debug/mempcpy_chk.c: Likewise.
8174         * debug/memset_chk.c: Likewise.
8175         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8176         * debug/strcat_chk.c (__strcat_chk): Likewise.
8177         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8178         * debug/strncat_chk.c (__strncat_chk): Likewise.
8179         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8180         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8181         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8182         * debug/wcpncpy_chk.c: Likewise.
8183         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8184         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8185         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8186         * debug/wcsncpy_chk.c: Likewise.
8187         * debug/wcsnrtombs_chk.c: Likewise.
8188         * debug/wcsrtombs_chk.c: Likewise.
8189         * debug/wcstombs_chk.c: Likewise.
8190         * debug/wmemcpy_chk.c: Likewise.
8191         * debug/wmemmove_chk.c: Likewise.
8192         * debug/wmempcpy_chk.c: Likewise.
8193         * debug/wmemset_chk.c: Likewise.
8194         * dirent/scandirat.c (SCANDIRAT): Likewise.
8195         * dlfcn/dladdr1.c (dladdr1): Likewise.
8196         * dlfcn/dladdr.c (dladdr): Likewise.
8197         * dlfcn/dlclose.c (dlclose_doit): Likewise.
8198         * dlfcn/dlerror.c (__dlerror): Likewise.
8199         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8200         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8201         * dlfcn/dlopen.c (dlopen_doit): Likewise.
8202         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8203         * dlfcn/dlsym.c (dlsym_doit): Likewise.
8204         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8205         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8206         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8207         Likewise.
8208         * elf/dl-conflict.c: Likewise.
8209         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8210         * elf/dl-dst.h: Likewise.
8211         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8212         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8213         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8214         * elf/dl-init.c (call_init, _dl_init): Likewise.
8215         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8216         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8217         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8218         Likewise.
8219         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8220         Likewise.
8221         * elf/dl-minimal.c (__libc_memalign): Likewise.
8222         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8223         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8224         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8225         * elf/dl-sym.c (do_sym): Likewise.
8226         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8227         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8228         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8229         * elf/dl-writev.h (_dl_writev): Likewise.
8230         * elf/ldconfig.c (search_dir): Likewise.
8231         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8232         (dl_main): Likewise.
8233         * elf/setup-vdso.h (setup_vdso): Likewise.
8234         * grp/compat-initgroups.c (compat_call): Likewise.
8235         * grp/fgetgrent.c (fgetgrent): Likewise.
8236         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8237         * grp/putgrent.c (putgrent): Likewise.
8238         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8239         Likewise.
8240         * hurd/hurdinit.c: Likewise.
8241         * iconvdata/8bit-gap.c (struct): Likewise.
8242         * iconvdata/ansi_x3.110.c : Likewise.
8243         * iconvdata/big5.c : Likewise.
8244         * iconvdata/big5hkscs.c : Likewise.
8245         * iconvdata/cp1255.c: Likewise.
8246         * iconvdata/cp1258.c : Likewise.
8247         * iconvdata/cp932.c : Likewise.
8248         * iconvdata/euc-cn.c: Likewise.
8249         * iconvdata/euc-jisx0213.c : Likewise.
8250         * iconvdata/euc-jp.c: Likewise.
8251         * iconvdata/euc-jp-ms.c : Likewise.
8252         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8253         * iconvdata/gb18030.c : Likewise.
8254         * iconvdata/gbbig5.c (const): Likewise.
8255         * iconvdata/gbgbk.c: Likewise.
8256         * iconvdata/gbk.c : Likewise.
8257         * iconvdata/ibm1364.c : Likewise.
8258         * iconvdata/ibm930.c : Likewise.
8259         * iconvdata/ibm932.c: Likewise.
8260         * iconvdata/ibm933.c : Likewise.
8261         * iconvdata/ibm935.c : Likewise.
8262         * iconvdata/ibm937.c : Likewise.
8263         * iconvdata/ibm939.c : Likewise.
8264         * iconvdata/ibm943.c: Likewise.
8265         * iconvdata/iso_11548-1.c: Likewise.
8266         * iconvdata/iso-2022-cn.c : Likewise.
8267         * iconvdata/iso-2022-cn-ext.c : Likewise.
8268         * iconvdata/iso-2022-jp-3.c: Likewise.
8269         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8270         * iconvdata/iso-2022-kr.c : Likewise.
8271         * iconvdata/iso646.c (gconv_end): Likewise.
8272         * iconvdata/iso_6937-2.c : Likewise.
8273         * iconvdata/iso_6937.c : Likewise.
8274         * iconvdata/iso8859-1.c: Likewise.
8275         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8276         * iconvdata/shift_jisx0213.c : Likewise.
8277         * iconvdata/sjis.c : Likewise.
8278         * iconvdata/t.61.c : Likewise.
8279         * iconvdata/tcvn5712-1.c : Likewise.
8280         * iconvdata/tscii.c: Likewise.
8281         * iconvdata/uhc.c : Likewise.
8282         * iconvdata/unicode.c (gconv_end): Likewise.
8283         * iconvdata/utf-16.c (gconv_end): Likewise.
8284         * iconvdata/utf-32.c (gconv_end): Likewise.
8285         * iconvdata/utf-7.c (base64): Likewise.
8286         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8287         * iconv/gconv_close.c (__gconv_close): Likewise.
8288         * iconv/gconv_open.c (__gconv_open): Likewise.
8289         * iconv/gconv_simple.c (internal_ucs4_loop_single)
8290         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8291         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8292         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8293         (ucs4le_internal_loop_single): Likewise.
8294         * iconv/iconv.c (iconv): Likewise.
8295         * iconv/iconv_close.c: Likewise.
8296         * iconv/loop.c (SINGLE): Likewise.
8297         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8298         * include/atomic.h: Likewise.
8299         * inet/inet6_option.c (option_alloc): Likewise.
8300         * intl/bindtextdom.c (set_binding_values): Likewise.
8301         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8302         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8303         * intl/localealias.c (read_alias_file): Likewise.
8304         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8305         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8306         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8307         * libio/fmemopen.c (fmemopen): Likewise.
8308         * libio/iofgets.c (_IO_fgets): Likewise.
8309         * libio/iofgets_u.c (fgets_unlocked): Likewise.
8310         * libio/iofgetws.c (fgetws): Likewise.
8311         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8312         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8313         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8314         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8315         * locale/findlocale.c (_nl_find_locale): Likewise.
8316         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8317         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8318         Likewise.
8319         * locale/setlocale.c (setlocale): Likewise.
8320         * login/programs/pt_chown.c (main): Likewise.
8321         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8322         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8323         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8324         (mmap, mmap64, mremap, munmap): Likewise.
8325         * math/e_exp2l.c: Likewise.
8326         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8327         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8328         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8329         * math/s_catan.c (__catan): Likewise.
8330         * math/s_catanf.c (__catanf): Likewise.
8331         * math/s_catanh.c (__catanh): Likewise.
8332         * math/s_catanhf.c (__catanhf): Likewise.
8333         * math/s_catanhl.c (__catanhl): Likewise.
8334         * math/s_catanl.c (__catanl): Likewise.
8335         * math/s_ccosh.c (__ccosh): Likewise.
8336         * math/s_ccoshf.c (__ccoshf): Likewise.
8337         * math/s_ccoshl.c (__ccoshl): Likewise.
8338         * math/s_cexp.c (__cexp): Likewise.
8339         * math/s_cexpf.c (__cexpf): Likewise.
8340         * math/s_cexpl.c (__cexpl): Likewise.
8341         * math/s_clog10.c (__clog10): Likewise.
8342         * math/s_clog10f.c (__clog10f): Likewise.
8343         * math/s_clog10l.c (__clog10l): Likewise.
8344         * math/s_clog.c (__clog): Likewise.
8345         * math/s_clogf.c (__clogf): Likewise.
8346         * math/s_clogl.c (__clogl): Likewise.
8347         * math/s_csin.c (__csin): Likewise.
8348         * math/s_csinf.c (__csinf): Likewise.
8349         * math/s_csinh.c (__csinh): Likewise.
8350         * math/s_csinhf.c (__csinhf): Likewise.
8351         * math/s_csinhl.c (__csinhl): Likewise.
8352         * math/s_csinl.c (__csinl): Likewise.
8353         * math/s_csqrt.c (__csqrt): Likewise.
8354         * math/s_csqrtf.c (__csqrtf): Likewise.
8355         * math/s_csqrtl.c (__csqrtl): Likewise.
8356         * math/s_ctan.c (__ctan): Likewise.
8357         * math/s_ctanf.c (__ctanf): Likewise.
8358         * math/s_ctanh.c (__ctanh): Likewise.
8359         * math/s_ctanhf.c (__ctanhf): Likewise.
8360         * math/s_ctanhl.c (__ctanhl): Likewise.
8361         * math/s_ctanl.c (__ctanl): Likewise.
8362         * math/w_pow.c: Likewise.
8363         * math/w_powf.c: Likewise.
8364         * math/w_powl.c: Likewise.
8365         * math/w_scalb.c (sysv_scalb): Likewise.
8366         * math/w_scalbf.c (sysv_scalbf): Likewise.
8367         * math/w_scalbl.c (sysv_scalbl): Likewise.
8368         * misc/error.c (error_tail): Likewise.
8369         * misc/pselect.c (__pselect): Likewise.
8370         * nis/nis_callback.c (__nis_create_callback): Likewise.
8371         * nis/nis_call.c (__nisfind_server): Likewise.
8372         * nis/nis_creategroup.c (nis_creategroup): Likewise.
8373         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8374         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8375         * nis/nis_getservlist.c (nis_getservlist): Likewise.
8376         * nis/nis_lookup.c (nis_lookup): Likewise.
8377         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8378         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8379         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8380         * nis/nis_xdr.c (xdr_endpoint): Likewise.
8381         * nis/nss_compat/compat-grp.c (getgrent_next_file)
8382         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8383         * nis/nss_compat/compat-initgroups.c (add_group)
8384         (internal_getgrent_r): Likewise.
8385         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8386         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8387         * nis/nss_compat/compat-spwd.c (getspent_next_file)
8388         (internal_getspnam_r): Likewise.
8389         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8390         (_nss_nis_getaliasbyname_r): Likewise.
8391         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8392         (_nss_nis_getntohost_r): Likewise.
8393         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8394         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8395         (_nss_nis_getgrgid_r): Likewise.
8396         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8397         (internal_nis_gethostent_r, internal_gethostbyname2_r)
8398         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8399         (_nss_nis_gethostbyname4_r): Likewise.
8400         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8401         (initgroups_netid): Likewise.
8402         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8403         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8404         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8405         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8406         (_nss_nis_getprotobynumber_r): Likewise.
8407         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8408         (_nss_nis_getsecretkey): Likewise.
8409         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8410         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8411         (_nss_nis_getpwuid_r): Likewise.
8412         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8413         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8414         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8415         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8416         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8417         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8418         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8419         Likewise.
8420         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8421         (_nss_nisplus_getntohost_r): Likewise.
8422         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8423         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8424         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8425         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8426         Likewise.
8427         * nis/nss_nisplus/nisplus-initgroups.c
8428         (_nss_nisplus_initgroups_dyn): Likewise.
8429         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8430         (_nss_nisplus_getnetbyaddr_r): Likewise.
8431         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8432         (_nss_nisplus_getprotobynumber_r): Likewise.
8433         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8434         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8435         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8436         Likewise.
8437         * nis/nss_nisplus/nisplus-service.c
8438         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8439         (_nss_nisplus_getservbyport_r): Likewise.
8440         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8441         (_nss_nisplus_getspnam_r): Likewise.
8442         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8443         Likewise.
8444         * nscd/aicache.c (addhstaiX): Likewise.
8445         * nscd/cache.c (cache_search, prune_cache): Likewise.
8446         * nscd/connections.c (register_traced_file, send_ro_fd)
8447         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8448         (main_loop_epoll): Likewise.
8449         * nscd/grpcache.c (addgrbyX): Likewise.
8450         * nscd/hstcache.c (addhstbyX): Likewise.
8451         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8452         * nscd/mem.c (gc, mempool_alloc): Likewise.
8453         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8454         (addinnetgrX): Likewise.
8455         * nscd/nscd-client.h (__nscd_acquire_maplock)
8456         (__nscd_drop_map_ref): Likewise.
8457         * nscd/nscd_getai.c (__nscd_getai): Likewise.
8458         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8459         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8460         Likewise.
8461         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8462         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8463         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8464         (__nscd_get_map_ref): Likewise.
8465         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8466         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8467         Likewise.
8468         * nscd/pwdcache.c (addpwbyX): Likewise.
8469         * nscd/selinux.c (preserve_capabilities): Likewise.
8470         * nscd/servicescache.c (addservbyX): Likewise.
8471         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8472         * posix/fnmatch.c (fnmatch): Likewise.
8473         * posix/getopt.c (_getopt_internal_r): Likewise.
8474         * posix/glob.c (glob, glob_in_dir): Likewise.
8475         * posix/wordexp.c (exec_comm_child): Likewise.
8476         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8477         (getanswer_r, gaih_getanswer_slice): Likewise.
8478         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8479         * resolv/res_init.c: Likewise.
8480         * resolv/res_mkquery.c (res_nmkquery): Likewise.
8481         * resolv/res_query.c (__libc_res_nquery): Likewise.
8482         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8483         Likewise.
8484         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8485         * stdio-common/perror.c (perror): Likewise.
8486         * stdio-common/printf_fp.c (___printf_fp): Likewise.
8487         * stdio-common/tmpnam.c (tmpnam): Likewise.
8488         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8489         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8490         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8491         Likewise.
8492         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8493         * stdlib/putenv.c (putenv): Likewise.
8494         * stdlib/setenv.c (__add_to_environ): Likewise.
8495         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8496         * stdlib/strtol_l.c (INTERNAL): Likewise.
8497         * string/memmem.c (memmem): Likewise.
8498         * string/strerror.c (strerror): Likewise.
8499         * string/strnlen.c (__strnlen): Likewise.
8500         * string/test-memmem.c (simple_memmem): Likewise.
8501         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8502         * sunrpc/pm_getport.c (__get_socket): Likewise.
8503         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8504         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8505         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8506         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8507         Likewise.
8508         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8509         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8510         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8511         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8512         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8513         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8514         Likewise.
8515         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8516         Likewise.
8517         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8518         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8519         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8520         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8521         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8522         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8523         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8524         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8525         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8526         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8527         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8528         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8529         Likewise.
8530         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8531         Likewise.
8532         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8533         Likewise.
8534         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8535         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8536         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8537         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8538         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8539         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8540         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8541         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8542         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8543         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8544         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8545         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8546         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8547         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8548         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8549         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8550         Likewise.
8551         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8552         Likewise.
8553         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8554         Likewise.
8555         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8556         Likewise.
8557         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8558         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8559         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8560         Likewise.
8561         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8562         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8563         * sysdeps/posix/opendir.c (__opendirat): Likewise.
8564         * sysdeps/posix/sleep.c: Likewise.
8565         * sysdeps/posix/tempname.c: Likewise.
8566         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8567         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8568         Likewise.
8569         * sysdeps/powerpc/powerpc32/dl-machine.h
8570         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8571         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8572         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8573         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8574         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8575         Likewise.
8576         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8577         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8578         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8579         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8580         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8581         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8582         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8583         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8584         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8585         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8586         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8587         (elf_machine_lazy_rel): Likewise.
8588         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8589         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8590         (elf_machine_lazy_rel): Likewise.
8591         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8592         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8593         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8594         * sysdeps/unix/grantpt.c (grantpt): Likewise.
8595         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8596         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8597         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8598         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8599         Likewise.
8600         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8601         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8602         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8603         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8604         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8605         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8606         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8607         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8608         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8609         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8610         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8611         Likewise.
8612         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8613         (__posix_fallocate64_l64): Likewise.
8614         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8615         (posix_fallocate): Likewise.
8616         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8617         Likewise.
8618         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8619         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8620         (getifaddrs_internal): Likewise.
8621         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8622         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8623         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8624         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8625         * sysdeps/unix/sysv/linux/posix_fallocate64.c
8626         (__posix_fallocate64_l64): Likewise.
8627         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8628         Likewise.
8629         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8630         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8631         (__get_clockfreq): Likewise.
8632         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8633         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8634         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8635         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8636         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8637         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8638         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8639         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8640         Likewise.
8641         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8642         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8643         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8644         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8645         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8646         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8647         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8648         Likewise.
8649         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8650         (posix_fallocate): Likewise.
8651         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8652         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8653         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8654         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8655         (elf_machine_rela, elf_machine_rela_relative)
8656         (elf_machine_lazy_rel): Likewise.
8657         * time/asctime.c (asctime_internal): Likewise.
8658         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8659         * time/tzset.c (__tzset_parse_tz): Likewise.
8660         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8661         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8662         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8663         * wcsmbs/wcsmbsload.h: Likewise.
8665         [BZ #15894]
8666         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8668         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8669         (arena_get2): Remove THREAD_STATS conditionals.
8670         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8671         (__malloc_stats, int): Likewise.
8673 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
8675         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8676         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
8678         * manual/setjmp.texi: Fix typos/grammar errors.
8680         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8681         Only return early when n is <= 0.  Delete unused return statement.
8683         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8684         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8685         * debug/tst-longjmp_chk3.c: New file.
8687         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8688         (test_main): Replace code with set_fortify_handler call.
8689         * debug/test-strcpy_chk.c: Likewise.
8690         * debug/tst-chk1.c: Likewise.
8691         * debug/tst-longjmp_chk.c: Likewise.
8692         * test-skeleton.c: Include fcntl.h & paths.h
8693         (set_fortify_handler): Define.
8695         * debug/tst-longjmp_chk.c: Add header comment and include
8696         ../test-skeleton.c.
8697         (do_test): Mark static.
8698         (TEST_FUNCTION): Define.
8700         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8701         (IP_PMTUDISC_INTERFACE): Likewise.
8702         (IP_MULTICAST_IF): Likewise.
8703         (IP_MULTICAST_TTL): Likewise.
8704         (IP_MULTICAST_LOOP): Likewise.
8705         (IP_ADD_MEMBERSHIP): Likewise.
8706         (IP_DROP_MEMBERSHIP): Likewise.
8707         (IP_UNBLOCK_SOURCE): Likewise.
8708         (IP_BLOCK_SOURCE): Likewise.
8709         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8710         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8711         (IP_MSFILTER): Likewise.
8712         (MCAST_JOIN_GROUP): Likewise.
8713         (MCAST_BLOCK_SOURCE): Likewise.
8714         (MCAST_UNBLOCK_SOURCE): Likewise.
8715         (MCAST_LEAVE_GROUP): Likewise.
8716         (MCAST_JOIN_SOURCE_GROUP): Likewise.
8717         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8718         (MCAST_MSFILTER): Likewise.
8719         (IP_MULTICAST_ALL): Likewise.
8720         (IP_UNICAST_IF): Likewise.
8722         * timezone/Makefile: Delete $(have-ksh) check.
8723         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8724         * timezone/tzselect.ksh: Add +x mode bits.
8726         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8727         (ANON_INODE_FS_MAGIC): Likewise.
8728         (BDEVFS_MAGIC): Likewise.
8729         (BINFMTFS_MAGIC): Likewise.
8730         (BTRFS_TEST_MAGIC): Likewise.
8731         (CRAMFS_MAGIC_WEND): Likewise.
8732         (DEBUGFS_MAGIC): Likewise.
8733         (ECRYPTFS_SUPER_MAGIC): Likewise.
8734         (EXT3_SUPER_MAGIC): Likewise.
8735         (EXT4_SUPER_MAGIC): Likewise.
8736         (FUTEXFS_SUPER_MAGIC): Likewise.
8737         (HOSTFS_SUPER_MAGIC): Likewise.
8738         (HUGETLBFS_MAGIC): Likewise.
8739         (MINIX3_SUPER_MAGIC): Likewise.
8740         (MTD_INODE_FS_MAGIC): Likewise.
8741         (NILFS_SUPER_MAGIC): Likewise.
8742         (OPENPROM_SUPER_MAGIC): Likewise.
8743         (PIPEFS_MAGIC): Likewise.
8744         (PSTOREFS_MAGIC): Likewise.
8745         (QNX6_SUPER_MAGIC): Likewise.
8746         (RAMFS_MAGIC): Likewise.
8747         (REISERFS_SUPER_MAGIC_STRING): Likewise.
8748         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8749         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8750         (SECURITYFS_MAGIC): Likewise.
8751         (SELINUX_MAGIC): Likewise.
8752         (SMACK_MAGIC): Likewise.
8753         (SOCKFS_MAGIC): Likewise.
8754         (SQUASHFS_MAGIC): Likewise.
8755         (STACK_END_MAGIC): Likewise.
8756         (TMPFS_MAGIC): Likewise.
8757         (USBDEVICE_SUPER_MAGIC): Likewise.
8758         (V9FS_MAGIC): Likewise.
8759         (XENFS_SUPER_MAGIC): Likewise.
8760         (CRAMFS_MAGIC): Fix typo in comment.
8761         (EXT2_SUPER_MAGIC): Update comment.
8762         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8764 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
8766         * sysdeps/arm: Move directory from ports/sysdeps/arm.
8767         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8768         * sysdeps/unix/sysv/linux/arm: Move directory from
8769         ports/sysdeps/unix/sysv/linux/arm.
8770         * README: Update listing for arm-*-linux-gnueabi.
8772         * README: Remove mention of am33.
8774 2014-02-07  Roland McGrath  <roland@hack.frob.com>
8776         * bits/sigset.h (__sigemptyset): Use a statement expression rather
8777         than the comma operator, to avoid "rhs of comma has no effect"
8778         compiler warnings.
8779         (__sigfillset, __sigandset, __sigorset): Likewise.
8780         * include/signal.h (__sigemptyset): Likewise.
8781         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8783 2014-02-07  Allan McRae  <allan@archlinux.org>
8785         * version.h (RELEASE): Set to "development".
8786         (VERSION): Set to "2.19.90"
8787         * NEWS: Add 2.20 section.
8789 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
8791         [BZ #16529]
8792         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8794 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8796         * manual/contrib.texi: Update entry for Carlos O'Donell,
8797         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8799 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
8801         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8803         * sysdeps/unix/sysv/linux/kernel-features.h
8804         [__LINUX_KERNEL_VERSION >= 0x020621]
8805         (__ASSUME_PROC_PID_TASK_COMM): Define.
8807 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8809         [BZ #16398]
8810         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8811         conversion when destination buffer does not have enough space.
8812         * libio/tst-ftell-partial-wide.c: New test case.
8813         * libio/Makefile (tests): Add tst-ftell-partial-wide.
8815         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8816         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
8817         Leonard and Allan McRae.
8819 2014-02-04  David S. Miller  <davem@davemloft.net>
8821         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8822         32-bit.
8824 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8827         New file
8828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8829         New file
8830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8831         New file.
8832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8833         New file.
8834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8835         New file.
8836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8837         New file.
8838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8839         New file.
8840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8841         New file.
8842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8843         New file.
8844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8845         New file.
8846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8847         New file.
8848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8849         New file.
8850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8851         New file.
8853 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8855         * nptl/shlib-versions: Change powerpc*le start to 2.17.
8856         * shlib-versions: Likewise.
8858 2014-02-04  Roland McGrath  <roland@hack.frob.com>
8859             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8861         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8862         (abilist-pattern): New variable, set to %-le.abilist.
8864         * Makerules (abilist-pattern): New variable.
8865         (vpath): Use $(abilist-pattern) in place of %.abilist.
8866         (check-abi-% pattern rule): Likewise.
8867         (check-abi, update-abi): Likewise.
8869 2014-02-04  Eric Wong  <normalperson@yhbt.net>
8871         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8873 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
8875         * manual/startup.texi: Add next, previous, and top entries for
8876         the `Program Arguments' and `Environment Variables' nodes.
8878 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
8880         * manual/macros.texi: Add comments before MTASC-safety macros.
8882         * manual/users.texi: Document MTASC-safety properties.
8884         * manual/threads.texi (pthread_key_create, pthread_key_delete)
8885         (pthread_getspecific, pthread_setspecific): Format with
8886         @deftypefun, and add @safety note.
8887         * manual/signal.texi: Move comments that analyze the above
8888         functions to their home place.
8890 2014-02-03  Allan McRae  <allan@archlinux.org>
8892         * po/sl.po: Update Slovenian translation from translation project.
8894 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
8896         * manual/time.texi (timegm): Add missing blank after @c.
8897         Reported by Joseph Myers <joseph@codesourcery.com>.
8899 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
8901         * manual/check-safety.sh: New.
8902         * manual/Makefile ($(objpfx)stamp-summary): Run it.
8904         * manual/terminal.texi: Document MTASC-safety properties.
8906         * manual/filesys.texi: Document MTASC-safety properties.
8908         * manual/errno.texi: Document MTASC-safety properties.
8910         * manual/intro.texi: Document safety identifiers and
8911         conditionals.
8913         * manual/string.texi (wcstok): Fix prototype.
8914         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8916         * manual/time.texi: Document MTASC-safety properties.
8918         * manual/string.texi: Document MTASC-safety properties.
8920         * manual/threads.texi: Document MTASC-safety properties.
8922         * manual/stdio.texi: Document MTASC-safety properties.
8924         * manual/syslog.texi: Document MTASC-safety properties.
8926         * manual/sysinfo.texi: Document MTASC-safety properties.
8928         * manual/startup.texi: Document MTASC-safety properties.
8930         * manual/socket.texi: Document MTASC-safety properties.
8932         * manual/signal.texi: Document MTASC-safety properties.
8934 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
8936         * manual/setjmp.texi: Document MTASC-safety properties.
8938         * manual/search.texi: Document MTASC-safety properties.
8940         * manual/resource.texi: Document MTASC-safety properties.
8942         * manual/process.texi: Document MTASC-safety properties.
8944         * manual/platform.texi: Document MTASC-safety properties.
8946         * manual/pipe.texi: Document MTASC-safety properties.
8948         * manual/pattern.texi: Document MTASC-safety properties.
8950         * manual/message.texi: Document MTASC-safety properties.
8952         [BZ #12751]
8953         * manual/memory.texi: Document MTASC-safety properties.
8955         * manual/math.texi: Document MTASC-safety properties.
8957         * manual/locale.texi: Document MTASC-safety properties.
8959         * manual/llio.texi: Document MTASC-safety properties.
8961         * manual/libdl.texi: New.
8963         * manual/lang.texi: Document MTASC-safety properties.
8965         * manual/job.texi: Document MTASC-safety properties.
8967         * manual/getopt.texi: Document MTASC-safety properties.
8969         * manual/ctype.texi: Document MTASC-safety properties.
8971 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
8973         [BZ #16046]
8974         * csu/libc-tls.c (static_map): Remove variable.
8975         (__libc_setup_tls): Use main executable's link map for TLS data.
8976         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8977         casing for LM_ID_BASE and GL(dl_nns).
8978         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8979         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
8980         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8981         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8982         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8983         member.
8984         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8985         l_phnum members.
8987 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
8989         * manual/debug.texi: Document MTASC-safety properties.
8991 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
8993         [BZ #16510]
8994         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8995         of __x86_64__ when disabling x87 inline functions.
8997 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
8999         * manual/charset.texi: Document MTASC-safety properties.
9001         * manual/crypt.texi: Document MTASC-safety properties.
9003         * manual/conf.texi: Document MTASC-safety properties.
9005         * manual/arith.texi: Document MTASC-safety properties.
9007         * manual/argp.texi: Document MTASC-safety properties.
9009         * manual/macros.texi: Introduce macros to document multi
9010         thread, asynchronous signal and asynchronous cancellation
9011         safety properties.
9012         * manual/intro.texi: Introduce the properties themselves.
9014 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9016         * sysdeps/sh/sh4/Makefile: New file.
9018 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
9020         * math/gen-libm-test.pl ($srcdir): New variable.
9021         ($auto_input): Use it.
9023 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9025         [BZ #16506]
9026         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9027         access beyond array bounds when parsing netgroups file.
9029         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9030         the old buffer before realloc.
9032 2014-01-27  Allan McRae  <allan@archlinux.org>
9034         * po/fr.po: Update French translation from translation project.
9036 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9038         * sysdeps/sh/libm-test-ulps: Regenerate.
9040 2014-01-24  David S. Miller  <davem@davemloft.net>
9042         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9044 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9046         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9047         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9049 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9051         [BZ #16474]
9052         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9053         string pointers after reallocation.
9055 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9057         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9058         __SH4A__ instead of __SH_FPU_ANY__.
9060 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9062         * sysdeps/sh/fpu_control.h: New file.
9063         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9064         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9065         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9066         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9067         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9068         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9069         * sysdeps/sh/sys/ucontext.h: Remove.
9070         * sysdeps/sh/sys: Remove directory.
9072 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9074         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9075         s390/sys/ucontext.h.
9076         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9077         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9079 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
9081         [BZ #15605]
9082         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9084 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9086         [BZ#16431]
9087         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9088         Adjust the vDSO correctly for internal calls.
9089         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9091 2014-01-20  Allan McRae  <allan@archlinux.org>
9093         * po/ca.po: Update Catalan translation from translation project.
9095 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
9097         * sysdeps/s390/sotruss-lib.c: New file.
9099 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9101         [BZ#16430]
9102         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9103         (__GI___gettimeofday): Alias for a different internal symbol to avoid
9104         local calls issues by not having a PLT stub required for IFUNC calls.
9105         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9107 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
9109         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9110         * math/test-fpucw-static.c: Likewise.
9112 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9114         [BZ #16453]
9115         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9117 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9119         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9120         implementation for powerpc.
9122 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
9124         [BZ #14782]
9125         * sysdeps/posix/system.c (__libc_system): Do not enable
9126         asynchronous cancellation.
9128 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9130         [BZ #16427]
9131         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9132         handling only for numbers special also in the IEEE case.
9134 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9136         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9138 2014-01-11  Allan McRae  <allan@archlinux.org>
9140         * po/bg.po: Update Bulgarian translation from translation project.
9142         * po/de.po: Update German translation from translation project.
9144 2014-01-10  Roland McGrath  <roland@hack.frob.com>
9146         * sysdeps/generic/gcc-compat.h: New file.
9148 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9150         * benchtests/asin-inputs: Correct slow inputs.
9151         * benchtests/acos-inputs: Likewise.
9153 2014-01-10  Allan McRae  <allan@archlinux.org>
9155         * po:sv.po: Update Swedish translation from translation project.
9157         * po/vi.po: Update Vietnamese translation from translation project.
9159         * po/eo.po: Update Esperanto translation from translation project.
9161         * po/cs.po: Update Czech translation from translation project.
9163         * po/nl.po: Update Dutch translation from translation project.
9165         * po/pl.po: Update Polish translation from translation project.
9167         * po/ru.po: Update Russian translation from translation project.
9169         * po/uk.po: Update Ukrainian translation from translation project.
9171 2014-01-08  Brooks Moses  <bmoses@google.com>
9173         * elf/dl-load.c: Fix comment typo.
9175 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
9177         * po/header.pot: Rename to...
9178         * po/pot.header: ... this.
9179         * po/Makefile: Use pot.header.
9181 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
9182             Maxim Kuvyrkov  <maxim@kugelworks.com>
9184         [BZ #16394]
9185         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9186         SRC and DEST against LEN.
9188 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9190         [BZ #16414]
9191         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9192         implementation.
9193         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9195 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9197         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9199 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
9201         [BZ #16408]
9202         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9203         for large positive arguments.
9205 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
9207         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9209         * math/auto-libm-test-in: Mark various tests with
9210         xfail-rounding:ldbl-128ibm.
9211         * math/auto-libm-test-out: Regenerated.
9213         [BZ #16407]
9214         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9215         Increase overflow threshold.
9217 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
9219         [BZ #14286]
9220         * stdio-common/vfprintf.c: Check for integer overflow.
9222 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9224         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9225         the first argument and return value of __tls_get_addr_internal.
9227 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9229         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9230         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9232 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9234         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9235         * sysdeps/s390/rtld-global-offsets.sym: New file.
9236         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9237         GLIBC_2.19 symbol.
9238         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9239         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9240         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9241         ... this.
9242         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9243         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9244         ... this.
9245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9246         Regenerate.
9247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9248         Regenerate.
9249         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9250         halfs of GPRs for high_gprs contexts.
9251         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9252         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
9253         field.
9254         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9255         uc_flags field.
9256         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9257         64 bit versions:
9258         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9259         for high GPRs (uc_high_gprs) and for future extensions
9260         (__reserved).
9261         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9262         for future extensions (__reserved).
9263         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9264         64 bit versions:
9265         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9266         SC_HIGHGPRS offset definition.
9267         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9268         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9270         * Versions.def: Add GLIBC_2.19 for libpthread.
9271         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9272         siglongjmp for libpthread with GLIBC_2.19 symver.
9273         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9274         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9275         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9276         * sysdeps/s390/__longjmp.c: New file.
9277         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9278         * sysdeps/s390/longjmp.c: New file.
9279         * sysdeps/s390/setjmp.S: New file.
9280         * sysdeps/s390/sigjmp.S: New file.
9281         * sysdeps/s390/v1-longjmp.c: New file.
9282         * sysdeps/s390/v1-setjmp.h: New file.
9283         * sysdeps/s390/v1-sigjmp.c: New file.
9284         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9285         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9286         GLIBC_2.19 version.
9287         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9288         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9289         versioned symbols for ____longjmp_chk.
9290         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9291         Likewise.
9292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9293         Regenerate.
9294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9295         Regenerate.
9296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9297         Regenerate.
9298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9299         Regenerate.
9300         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9301         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9302         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9303         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9304         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9305         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9306         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9307         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9308         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9309         * sysdeps/s390/rtld-__longjmp.c: New file.
9310         * sysdeps/s390/rtld-setjmp.S: New file.
9312 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
9314         [BZ #16400]
9315         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9316         Return -__logl (x) for small positive arguments without evaluating
9317         a polynomial.
9319 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
9321         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9322         Rename to ...
9323         (__ptrace_peeksiginfo_args): ... this.
9324         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9325         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9326         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9328 2014-01-06  Allan McRae  <allan@archlinux.org>
9330         * inet/netinet/in.h: Fix typo in comment.
9332 2014-01-05  Andreas Jaeger  <aj@suse.de>
9334         * sysdeps/i386/fpu/libm-test-ulps: Update.
9336 2014-01-05  Allan McRae  <allan@archlinux.org>
9338         * po/libc.pot: Regenerated.
9340         * malloc/memusagestat.c: Fix gettext call formatting.
9342 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
9344         * nscd/nscd.c: Improve usage() output.
9346 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
9348         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9349         * sysdeps/unix/sysv/linux/configure: Regenerated.
9350         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9351         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9353 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9355         [BZ #16390]
9356         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9357         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9359 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9361         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9362         extra tokens at end of #undef directive.
9363         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9364         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9365         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9367 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9369         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9371         * math/auto-libm-test-in: Mark various tests with
9372         xfail-rounding:ldbl-128ibm.
9373         * math/auto-libm-test-out: Regenerated.
9375 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
9377         [BZ #16386]
9378         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9379         numbers with subnormal high part when calculating exponent.
9381         [BZ #16385]
9382         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9383         fabs.
9385         [BZ #16384]
9386         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9387         M_LN2l.
9388         (__ieee754_acoshl): Use __log1pl not __log1p.
9390 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
9392         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9393         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9394         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9395         (grow_heap, heap_trim, _int_new_arena, get_free_list)
9396         (reused_arena, arena_get2): Convert to GNU style.
9397         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9398         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9399         (memalign_check, __malloc_set_state): Likewise.
9400         * malloc/mallocbug.c (main): Likewise.
9401         * malloc/malloc.c (__malloc_assert, malloc_init_state)
9402         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9403         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9404         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9405         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9406         (__posix_memalign, malloc_info): Likewise.
9407         * malloc/malloc.h: Likewise.
9408         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9409         (mallochook, memalignhook, reallochook, mabort): Likewise.
9410         * malloc/mcheck.h: Likewise.
9411         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9412         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9413         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9414         * malloc/morecore.c (__default_morecore): Likewise.
9415         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9416         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9417         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9418         (print_and_abort): Likewise.
9419         * malloc/obstack.h: Likewise.
9420         * malloc/set-freeres.c (__libc_freeres): Likewise.
9421         * malloc/tst-mallocstate.c (main): Likewise.
9422         * malloc/tst-mtrace.c (main): Likewise.
9423         * malloc/tst-realloc.c (do_test): Likewise.
9425 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9427         [BZ #16366]
9428         * nscd/netgroupcache.c (do_notfound): New function.
9429         (addgetnetgrentX): Use it.
9431         [BZ # 16365]
9432         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9433         NSS_STATUS_NOTFOUND.
9435 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
9437         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9440 2014-01-01  Allan McRae  <allan@archlinux.org>
9442         * scripts/update-copyrights: Update configure input file suffix.
9444         * NEWS: Update copyright year.
9445         * catgets/gencat.c: Likewise.
9446         * csu/version.c: Likewise.
9447         * debug/catchsegv.sh: Likewise.
9448         * debug/pcprofiledump.c: Likewise.
9449         * debug/xtrace.sh: Likewise.
9450         * elf/ldconfig.c: Likewise.
9451         * elf/ldd.bash.in: Likewise.
9452         * elf/pldd.c: Likewise.
9453         * elf/sotruss.ksh: Likewise.
9454         * elf/sprof.c: Likewise.
9455         * iconv/iconv_prog.c: Likewise.
9456         * iconv/iconvconfig.c: Likewise.
9457         * locale/programs/locale.c: Likewise.
9458         * locale/programs/localedef.c: Likewise.
9459         * login/programs/pt_chown.c: Likewise.
9460         * malloc/memusage.sh: Likewise.
9461         * malloc/memusagestat.c: Likewise.
9462         * malloc/mtrace.pl: Likewise.
9463         * manual/libc.texinfo: Likewise.
9464         * nscd/nscd.c: Likewise.
9465         * nss/getent.c: Likewise.
9466         * nss/makedb.c: Likewise.
9467         * posix/getconf.c: Likewise.
9468         * scripts/test-installation.pl: Likewise.
9470         * All files with FSF copyright notices: Update copyright dates
9471         using scripts/update-copyrights.
9472         * intl/plural.c: Regenerated.
9473         * locale/programs/charmap-kw.h: Likewise.
9474         * locale/programs/locfile-kw.h: Likewise.
9476 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
9478         * sysdeps/unix/sysv/linux/configure: Regenerated.
9479         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9480         the linux/fanotify.h header.
9481         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9482         HAVE_LINUX_FANOTIFY_H is defined.
9484 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9486         * benchtests/cos-inputs: New inputs.
9487         * benchtests/sin-inputs: Likewise.
9489         * benchtests/atan-inputs: New inputs. Fix name of multiple
9490         precision fallback inputs.
9492         * benchtests/atanh-inputs: New inputs.
9493         * benchtests/tanh-inputs: Likewise.
9495         * benchtests/acosh-inputs: New inputs.
9496         * benchtests/asinh-inputs: Likewise.
9498         * benchtests/cosh-inputs: New inputs.
9499         * benchtests/sinh-inputs: Likewise.
9501         * benchtests/acos-inputs: Add more inputs.
9502         * benchtests/asin-inputs: Likewise.
9504 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
9506         [BZ #16375]
9507         * manual/arith.texi: Fix spelling.
9508         * manual/charset.texi: Likewise.
9509         * manual/errno.texi: Likewise.
9510         * manual/filesys.texi: Likewise.
9511         * manual/lang.texi: Likewise.
9512         * manual/llio.texi: Likewise.
9513         * manual/locale.texi: Likewise.
9514         * manual/message.texi: Likewise.
9515         * manual/resource.texi: Likewise.
9516         * manual/search.texi: Likewise.
9517         * manual/setjmp.texi: Likewise.
9518         * manual/stdio.texi: Likewise.
9519         * manual/string.texi: Likewise.
9520         * manual/sysinfo.texi: Likewise.
9521         * manual/time.texi: Likewise.
9523 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
9525         * po/sl.po: New file.
9527 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
9529         * .gitignore: Add core/.gdbinit/.gdb_history.
9531 2013-12-27  Allan McRae  <allan@archlinux.org>
9533         [BZ #16369]
9534         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9535         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9537 2013-12-24  Brooks Moses  <bmoses@google.com>
9539         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9540         all compilers that claim C++98 compliance, not just GCC.
9541         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9542         Likewise.
9544 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
9546         * NEWS: Restore accidentally deleted bug-fix entries.
9548 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
9549             Ondřej Bílka  <neleai@seznam.cz>
9551         [BZ #15073]
9552         * malloc/malloc.c (_int_free): Perform sanity check only if we
9553         have_lock.
9555 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
9557         [BZ #12986]
9558         * manual/stdio.texi (String Input Conversions): Clarify that character
9559         classes are not supported.
9561 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9565 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
9567         [BZ #16337]
9568         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9569         Calculate results for small negative arguments directly rather
9570         than using reflection formula with special underflow handling.
9572         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9573         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9574         sysdeps/unix/bsd/bsd4.4/syscalls.list.
9575         (fchflags): Likewise.
9576         (revoke): Likewise.
9577         (setlogin): Likewise.
9578         (sigaltstack): Likewise.
9579         (wait4): Likewise.
9580         (sigblock): Remove.
9581         (sigsetmask): Likewise.
9582         (wait3): Likewise.
9583         (waitpid): Likewise.
9584         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9585         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9586         file.
9587         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9588         * sysdeps/unix/bsd/Makefile: ... here.
9589         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9590         * sysdeps/unix/bsd/Versions: ... here.
9591         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9592         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9593         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9594         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9595         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9596         * sysdeps/unix/bsd/sigblock.c: ... here.
9597         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9598         * sysdeps/unix/bsd/sigsetmask.c: ... here.
9599         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9600         * sysdeps/unix/bsd/sigvec.c: ... here.
9601         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9602         * sysdeps/unix/bsd/tcdrain.c: ... here.
9603         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9604         * sysdeps/unix/bsd/tcgetattr.c: ... here.
9605         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9606         * sysdeps/unix/bsd/tcsetattr.c: ... here.
9607         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9608         * sysdeps/unix/bsd/wait.c: ... here.
9609         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9610         * sysdeps/unix/bsd/wait3.c: ... here.
9611         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9612         * sysdeps/unix/bsd/waitpid.c: ... here.
9614 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
9616         [BZ #16356]
9617         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9618         round-to-nearest for [!USE_AS_EXPM1L].
9619         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9620         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
9621         more tests of exp and exp10.  Expect some exp10 tests to miss
9622         exceptions or fail in directed rounding modes.
9623         * math/auto-libm-test-out: Regenerated.
9624         * math/libm-test.inc (exp10_tonearest_test_data): New array.
9625         (exp10_test_tonearest): New function.
9626         (exp10_towardzero_test_data): New array.
9627         (exp10_test_towardzero): New function.
9628         (exp10_downward_test_data): New array.
9629         (exp10_test_downward): New function.
9630         (exp10_upward_test_data): New array.
9631         (exp10_test_upward): New function.
9632         (main): Call the new functions.
9633         * sysdeps/i386/fpu/libm-test-ulps: Update.
9634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9636 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
9638         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9639         asinh, atan, atan2, atanh, cbrt, cos and cosh.
9640         * math/auto-libm-test-out: Regenerated.
9641         * math/libm-test.inc (acosh_test_data): Add more tests.
9642         (atanh_test_data): Likewise.
9643         (ceil_test_data): Likewise.
9644         (copysign_test_data): Likewise.
9645         * sysdeps/i386/fpu/libm-test-ulps: Update.
9646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9648         * timezone/checktab.awk: Update from tzcode 2013i.
9649         * timezone/private.h: Likewise.
9650         * timezone/scheck.c: Likewise.
9651         * timezone/tzfile.h: Likewise.
9652         * timezone/tzselect.ksh: Likewise.
9653         * timezone/zdump.c: Likewise.
9654         * timezone/zic.c: Likewise.
9656         * math/auto-libm-test-in: Add tests of cpow.
9657         * math/auto-libm-test-out: Regenerated.
9658         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9659         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9660         mpc_cc_c.
9661         (func_calc_desc): Add mpc_cc_c union field.
9662         (test_functions): Add cpow.
9663         (special_fill_2pi): New function.
9664         (special_real_inputs): Add 2pi.
9665         (calc_generic_results): Handle mpc_cc_c.
9666         * sysdeps/i386/fpu/libm-test-ulps: Update.
9667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9669         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9670         csqrt, ctan and ctanh.
9671         * math/auto-libm-test-out: Regenerated.
9672         * math/libm-test.inc (TEST_COND_x86_64): New macro.
9673         (TEST_COND_x86): Likewise.
9674         (ccos_test_data): Use AUTO_TESTS_c_c.
9675         (ccosh_test_data): Likewise.
9676         (cexp_test_data): Likewise.
9677         (clog_test_data): Likewise.
9678         (csqrt_test_data): Likewise.
9679         (ctan_test_data): Likewise.
9680         (ctan_tonearest_test_data): Likewise.
9681         (ctan_towardzero_test_data): Likewise.
9682         (ctan_downward_test_data): Likewise.
9683         (ctan_upward_test_data): Likewise.
9684         (ctanh_test_data): Likewise.
9685         (ctanh_tonearest_test_data): Likewise.
9686         (ctanh_towardzero_test_data): Likewise.
9687         (ctanh_downward_test_data): Likewise.
9688         (ctanh_upward_test_data): Likewise.
9689         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9690         mpc_c_c.
9691         (func_calc_desc): Add mpc_c_c union field.
9692         (FUNC_mpc_c_c): New macro.
9693         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9694         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9695         ctanh.
9696         (special_fill_min_subnorm_p120): New function.
9697         (special_real_inputs): Add min_subnorm_p120.
9698         (calc_generic_results): Handle mpc_c_c.
9699         * sysdeps/i386/fpu/libm-test-ulps: Update.
9700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9702 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9704         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9705         (do_sin_slow): New functions.
9706         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9707         (cslow2, csloww1, csloww2): Use the new functions.
9709         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9710         Use M to change sign of result instead of X.  Assume X is
9711         positive.
9712         (csloww1): Likewise.
9713         (__sin): Adjust.
9714         (__cos): Adjust.
9716         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9717         arguments A and DA.
9718         (__sin): Adjust.
9719         (__cos): Likewise.
9721         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9722         (__cos): Likewise.
9723         (sloww1): Don't adjust sign of DX.
9724         (csloww1): Likewise.
9725         (sloww2): Use X directly and don't adjust sign of DX.
9726         (csloww2): Likewise.
9728 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9730         * math/auto-libm-test-in: Add tests of cabs and carg.
9731         * math/auto-libm-test-out: Regenerated.
9732         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9733         (carg_test_data): Likewise.
9734         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9735         mpc_c_f.
9736         (func_calc_desc): Add mpc_c_f union field.
9737         (test_functions): Add cabs and carg.
9738         (calc_generic_results): Handle mpc_c_f.
9740         * sysdeps/powerpc/powerpc32/libgcc-compat.S
9741         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9742         as a macro and a compat symbol.
9743         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9744         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9745         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9746         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9747         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9748         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9749         not use .hidden.
9750         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9751         Likewise.
9752         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9753         Likewise.
9754         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9755         Likewise.
9756         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9757         Likewise.
9758         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9759         Likewise.
9760         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9761         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9762         from GLIBC_2.3.2.
9764 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9768 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9770         * manual/texinfo.tex: Update to version 2013-11-26.10 with
9771         trailing whitespace removed.
9772         * scripts/config.guess: Update to version 2013-11-29.
9773         * scripts/config.sub: Update to version 2013-10-01.
9775         * math/auto-libm-test-in: Add tests of sincos.
9776         * math/auto-libm-test-out: Regenerated.
9777         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9778         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9779         mpfr_f_11.
9780         (func_calc_desc): Add mpfr_f_11 union field.
9781         (test_functions): Add sincos.
9782         (calc_generic_results): Handle mpfr_f_11.
9783         * sysdeps/i386/fpu/libm-test-ulps: Update.
9784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9786 2013-12-19  Andreas Schwab  <schwab@suse.de>
9788         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9789         CALL_MCOUNT.
9790         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9791         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9792         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9794 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9796         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9797         * sysdeps/i386/fpu/libm-test-ulps: Update.
9798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9800         [BZ #16293]
9801         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9802         round-to-nearest mode when using frndint.
9803         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9804         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9805         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9806         Likewise.
9807         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
9808         sinh test to fail.
9809         * math/auto-libm-test-out: Regenerated.
9810         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9811         (TEST_COND_x86): Likewise.
9812         (expm1_tonearest_test_data): New array.
9813         (expm1_test_tonearest): New function.
9814         (expm1_towardzero_test_data): New array.
9815         (expm1_test_towardzero): New function.
9816         (expm1_downward_test_data): New array.
9817         (expm1_test_downward): New function.
9818         (expm1_upward_test_data): New array.
9819         (expm1_test_upward): New function.
9820         (main): Run the new test functions.
9821         * sysdeps/i386/fpu/libm-test-ulps: Update.
9822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9824         * include/features.h: Update comment documenting feature test
9825         macros.  Mention _DEFAULT_SOURCE in comment.
9826         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9827         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9828         _BSD_SOURCE and _SVID_SOURCE.
9829         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9830         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9831         !_SVID_SOURCE]: Likewise.
9832         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9833         (__USE_POSIX_IMPLICITLY): Define.
9834         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9835         (_POSIX_SOURCE): Undefine and redefine.
9836         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9837         (_POSIX_C_SOURCE): Likewise.
9838         * manual/creature.texi (_DEFAULT_SOURCE): Document.
9839         (Feature Test Macros): Update documentation of default features.
9841 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9843         * benchtests/Makefile: Add bench-strtok.
9844         * benchtests/bench-strtok.c: New file: strtok benchtest.
9846 2013-12-19  Allan McRae  <allan@archlinux.org>
9848         * manual/install.texi: Suppress menu for plain text output.
9849         * INSTALL: Regenerated.
9851 2013-12-18  Brooks Moses  <bmoses@google.com>
9853         [BZ #15846]
9854         * misc/getauxval.c: Include errno.h.
9855         (__getauxval): Set errno to ENOENT if the requested type is not
9856         found.
9857         * misc/sys/auxv.h (getauxval): Document that it may set errno;
9858         don't declare with __attribute_const__.
9859         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9860         * manual/startup.texi: Document that getauxval sets errno.
9862 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
9864         * math/auto-libm-test-in: Add tests of jn and yn.
9865         * math/auto-libm-test-out: Regenerated.
9866         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9867         (yn_test_data): Likewise.
9868         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9869         mpfr_if_f.
9870         (func_calc_desc): Add mpfr_if_f union field.
9871         (FUNC_mpfr_if_f): New macro.
9872         (test_functions): Add jn and yn.
9873         (calc_generic_results): Assert type of second input for
9874         mpfr_ff_f.  Handle mpfr_if_f.
9875         (output_for_one_input_case): Disable all checking for arguments
9876         fitting floating-point types in case of an integer argument.
9877         * sysdeps/i386/fpu/libm-test-ulps: Update.
9878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9881         Don't expect fegetround reference in libm.so.
9883 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9885         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9886         $(config-cflags-nofma).
9888 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
9890         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9891         * math/auto-libm-test-out: Regenerated.
9893         [BZ #16338]
9894         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9895         to determine exponent and adjust argument to have exponent of -1.
9896         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9897         log2.
9898         * math/auto-libm-test-out: Regenerated.
9899         * sysdeps/i386/fpu/libm-test-ulps: Update.
9900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9902 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
9904         * manual/probes.texi: Remove cases when per-thread arenas are
9905         disabled.
9907 2013-12-18  Andreas Schwab  <schwab@suse.de>
9909         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9910         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9911         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9912         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9913         * sysdeps/i386/i686/multiarch/Makefile: Update.
9914         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9916 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9918         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9919         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9921 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
9923         [BZ #15968]
9924         Support TZ transition times < 00:00:00.
9925         This is needed for version-3 tz-format files; it supports time
9926         stamps past 2037 for America/Godthab (the only entry in the tz
9927         database for which this change is relevant).
9928         * manual/time.texi (TZ Variable): Document transition times
9929         from -167:59:59 through -00:00:01.
9930         * time/tzset.c (tz_rule): Time of day is now signed.
9931         (__tzset_parse_tz): Parse negative time of day.
9933         Document TZ transition times >= 25:00:00.
9934         * manual/time.texi (TZ Variable): Document transition times from
9935         25:00:00 through 167:59:59.  These are already supported, and this
9936         support will help with version-3 tz-format files.
9938         * manual/time.texi (TZ Variable): Modernize North America example
9939         to reflect current (i.e., 2007-and-later) daylight saving rules.
9941         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9943 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9945         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9946         * sysdeps/unix/bsd/bits/stat.h: Likewise.
9947         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9948         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9949         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9950         * sysdeps/unix/bsd/bsdstat.h: Likewise.
9951         * sysdeps/unix/bsd/clock.c: Likewise.
9952         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9953         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9954         * sysdeps/unix/bsd/init-posix.c: Likewise.
9955         * sysdeps/unix/bsd/poll.c: Likewise.
9956         * sysdeps/unix/bsd/ptsname.c: Likewise.
9957         * sysdeps/unix/bsd/seekdir.c: Likewise.
9958         * sysdeps/unix/bsd/setegid.c: Likewise.
9959         * sysdeps/unix/bsd/seteuid.c: Likewise.
9960         * sysdeps/unix/bsd/setgid.c: Likewise.
9961         * sysdeps/unix/bsd/setrgid.c: Likewise.
9962         * sysdeps/unix/bsd/setruid.c: Likewise.
9963         * sysdeps/unix/bsd/setsid.c: Likewise.
9964         * sysdeps/unix/bsd/setuid.c: Likewise.
9965         * sysdeps/unix/bsd/sigaction.c: Likewise.
9966         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9967         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9968         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9969         * sysdeps/unix/bsd/telldir.c: Likewise.
9970         * sysdeps/unix/bsd/times.c: Likewise.
9971         * sysdeps/unix/bsd/usleep.c: Likewise.
9973         * misc/Makefile (install-lib): Remove libbsd-compat.a.
9974         ($(objpfx)libbsd-compat.a): Remove rule.
9976         * include/features.h (__FAVOR_BSD): Do not define.
9977         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9978         features conflicting with POSIX.
9979         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9980         (_BSD_SOURCE): Remove description of not being a subset of other
9981         feature test macros.
9982         * manual/job.texi (getpgrp): Do not document BSD version.
9983         (getpgid): Do not document by reference to BSD getpgrp.
9984         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9985         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9986         * signal/signal.h [__FAVOR_BSD]: Likewise.
9987         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9988         instead of making contents conditional on [__FAVOR_BSD].
9989         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9991 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9995 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9997         [BZ #16314]
9998         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9999         values below 2**-450, not 2**-500.
10000         * math/auto-libm-test-in: Don't allow spurious underflow from
10001         hypot.
10002         * math/auto-libm-test-out: Regenerated.
10004         [BZ #16316]
10005         [BZ #16330]
10006         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10007         values of ha and hb and sort them after adjusting subnormal
10008         arguments.
10009         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10010         Likewise.
10011         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10012         values of ea and eb and sort them after adjusting subnormal
10013         arguments.
10014         * math/auto-libm-test-in: Do not expect some hypot tests of
10015         subnormals to fail.  Add more hypot tests.
10016         * math/auto-libm-test-out: Regenerated.
10018 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10020         [BZ #13304]
10021         * sysdeps/sh/s_fma.c: New file.
10022         * sysdeps/sh/s_fmaf.c: New file.
10023         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
10024         version.
10025         * sysdeps/sh/Implies: Add sh/soft-fp.
10027 2013-12-16  Roland McGrath  <roland@hack.frob.com>
10029         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
10030         level of indirection to members `objname', `errstring', `malloced'.
10031         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10032         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
10033         it as the __longjmp argument (just pass 1 instead).
10034         (_dl_catch_error): Initialize C with argument pointers and address of
10035         volatile local ERRCODE rather than copying values out of C at return.
10037 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
10039         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10040         * math/auto-libm-test-out: Regenerated.
10041         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10042         (hypot_test_data): Likewise.
10043         (pow_test_data): Likewise.
10044         (pow_tonearest_test_data): Likewise.
10045         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10046         mpfr_ff_f.
10047         (func_calc_desc): Add mpfr_ff_f union field.
10048         (FUNC_mpfr_ff_f): New macro.
10049         (test_functions): Add atan2, hypot and pow.
10050         (special_fill_min): New function.
10051         (special_fill_minus_min): Likewise.
10052         (special_fill_min_subnorm): Likewise.
10053         (special_fill_minus_min_subnorm): Likewise.
10054         (special_real_inputs): Add min, -min, min_subnorm and
10055         -min_subnorm.
10056         (calc_generic_results): Handle mpfr_ff_f.
10057         * sysdeps/i386/fpu/libm-test-ulps: Update.
10058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10060 2013-12-16  Will Newton  <will.newton@linaro.org>
10062         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10063         (Aligned Memory Blocks): Add documentation for aligned_alloc
10064         and suggest it as an alternative to posix_memalign.
10065         (Hooks for Malloc): Document __memalign_hook is also called
10066         for aligned_alloc.  (Summary of Malloc): Add summary for
10067         aligned alloc.  Document __memalign_hook is also called
10068         for aligned_alloc.
10070 2013-12-16  Will Newton  <will.newton@linaro.org>
10072         * manual/memory.texi (Malloc Examples): Clarify default
10073         alignment documentation.  Suggest posix_memalign rather
10074         than memalign or valloc.
10075         (Aligned Memory Blocks): Remove suggestion to use memalign
10076         or valloc.  Remove obsolete comment about BSD.
10077         Document memalign errno values and mark the function obsolete.
10078         Document posix_memalign returned error codes.  Mark valloc
10079         as obsolete.  (Hooks for Malloc): __memalign_hook is also
10080         called for posix_memalign and valloc.
10081         (Summary of Malloc): Add posix_memalign to function summary.
10082         __memalign_hook is also called for posix_memalign and valloc.
10084 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10086         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10087         TAYLOR_SIN.
10088         (__sin): Adjust.
10089         (__cos): Likewise.
10090         (sloww): Use mynumber union.  Expand ternary operator into
10091         if-else statements.
10092         (cslow): use mynumber union.
10094 2013-12-16  Allan McRae  <allan@archlinux.org>
10096         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10097         * configure: Regenerated.
10099         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10101         [BZ #14120]
10102         * configure.ac: Added --enable-maintainer-mode. Check for
10103         autoconf when enabled.
10104         * configure: Regenerated.
10106         * nscd/nscd.service: New file.
10107         * nscd/nscd.tmpfiles: New file.
10109 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
10111         [BZ #12100]
10112         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10113         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10114         * sysdeps/x86_64/multiarch/strstr.c: ... here.
10115         (strstr): Add __strstr_sse2_unaligned ifunc.
10116         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10117         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10118         (strcasestr): Remove __strcasestr_sse42 ifunc.
10119         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10120         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10121         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10123 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10125         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10126         * sysdeps/sh/bits/fenv.h: ... here.
10127         * sysdeps/sh/sh4/fpu/bits: Remove directory.
10129 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10131         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10133         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10134         hypotf multiarch implementations.
10135         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10136         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10137         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10138         multiarch hypot for PPC64.
10139         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10140         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10141         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10142         multiarch hypotf for PPC64.
10144         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10145         modff multiarch implementations.
10146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10149         multiarch modf for PPC64.
10150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10153         multiarch modff for PPC64.
10155         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10156         and logl multiarch implementations.
10157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10160         multiarch logb for PPC64.
10161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10164         multiarch logb for PPC64.
10165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10168         multiarch logb for PPC64.
10170         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10171         isinff multiarch implementation.
10172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10173         file.
10174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10176         multiarch isinf for PPC64.
10177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10178         file.
10179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10180         multiarch isinff for PPC64.
10182         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10183         finitef multiarch implementation.
10184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10185         file.
10186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10188         multiarch finite for PPC64.
10189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10190         file.
10191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10192         multiarch finitef for PPC64.
10194         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10195         lrint multiarch implementation.
10196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10197         file.
10198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10200         multiarch llrint for PPC64.
10201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10202         multiarch lrint for PPC64.
10204         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10205         copysignf multiarch implementation.
10206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10207         file.
10208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10209         file.
10210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10211         multiarch copysign for PPC64.
10212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10213         multiarch copysignf for PPC64.
10215         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10216         multiarch implementation.
10217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10218         file.
10219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10220         file.
10221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10222         file.
10223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10224         file.
10225         multiarch llround for PPC64.
10226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10227         multiarch trunc for PPC64.
10228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10229         multiarch truncf for PPC64.
10231         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10232         multiarch implementation.
10233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10234         file.
10235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10236         file.
10237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10238         file.
10239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10240         file.
10241         multiarch llround for PPC64.
10242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10243         multiarch round for PPC64.
10244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10245         multiarch roundf for PPC64.
10247         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10248         multiarch implementation.
10249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10250         file.
10251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10252         file.
10253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10254         file.
10255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10256         file.
10257         multiarch llround for PPC64.
10258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10259         multiarch floor for PPC64.
10260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10261         multiarch floorf for PPC64.
10263         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10264         multiarch implementation.
10265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10266         file.
10267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10268         file.
10269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10270         file.
10271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10272         file.
10273         multiarch llround for PPC64.
10274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10275         multiarch ceil for PPC64.
10276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10277         multiarch ceilf for PPC64.
10279         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10280         multiarch implementation.
10281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10282         file.
10283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10284         file.
10285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10286         file.
10287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10288         multiarch llround for PPC64.
10289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10290         multiarch lround for PPC64.
10292         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10293         multiarch implementation.
10294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10297         file.
10298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10301         multiarch isnan for PPC64.
10302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10303         multiarch isnanf for PPC64.
10305         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10306         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10307         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10308         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10309         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10312         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10313         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10314         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10315         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10318         multiarch implementations.
10319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10320         (__libc_ifunc_impl_list): Likewise.
10321         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10322         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10323         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10324         multiarch stpcpy for PPC64.
10326         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10327         multiarch implementations.
10328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10329         (__libc_ifunc_impl_list): Likewise.
10330         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10331         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10332         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10333         multiarch strcpy for PPC64.
10335         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10336         redefine function name.
10337         (_wordcopy_fwd_dest_aligned): Likewise.
10338         (_wordcopy_bwd_aligned): Likewise.
10339         (_wordcopy_bwd_dest_aligned): Likewise.
10340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10341         multiarch implementations.
10342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10343         (__libc_ifunc_impl_list): Likewise.
10344         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10345         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10346         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10347         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10348         multiarch wcscpy for PPC64.
10350         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10351         multiarch implementations.
10352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10353         (__libc_ifunc_impl_list): Likewise.
10354         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10355         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10356         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10357         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10358         multiarch wcscpy for PPC64.
10360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10361         multiarch implementations.
10362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10363         (__libc_ifunc_impl_list): Likewise.
10364         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10365         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10366         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10367         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10368         multiarch wcsrchr for PPC64.
10370         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10371         multiarch implementations.
10372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10373         (__libc_ifunc_impl_list): Likewise.
10374         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10375         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10376         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10377         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10378         multiarch wcschr for PPC64.
10380         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10381         multiarch implementations.
10382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10383         (__libc_ifunc_impl_list): Likewise.
10384         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10385         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10386         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10387         multiarch strchrnul for PPC64.
10389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10390         implementations.
10391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10392         (__libc_ifunc_impl_list): Likewise.
10393         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10394         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10395         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10396         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10397         strchr for PPC64.
10399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10400         implementations.
10401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10402         (__libc_ifunc_impl_list): Likewise.
10403         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10404         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10405         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10406         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10407         strncmp for PPC64.
10409         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10410         multiarch implementations.
10411         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10412         (__libc_ifunc_impl_list): Likewise.
10413         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10414         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10415         strncasecmp for PPC64.
10416         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10417         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10418         multiarch strncasecmp_l for PPC64.
10420         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10421         multiarch implementations.
10422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10423         (__libc_ifunc_impl_list): Likewise.
10424         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10425         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10426         multiarch strcasecmp for PPC64.
10427         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10428         file.
10429         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10430         multiarch strcasecmp_l for PPC64.
10432         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10433         implementations.
10434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10435         (__libc_ifunc_impl_list): Likewise.
10436         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10437         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10438         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10439         strnlen for PPC64.
10441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10442         implementations.
10443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10444         (__libc_ifunc_impl_list): Likewise.
10445         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10446         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10447         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10448         strlen for PPC64.
10450         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10451         implementations.
10452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10453         (__libc_ifunc_impl_list): Likewise.
10454         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10455         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10456         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10457         rawmemrchr for PPC64.
10459         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10460         implementation.
10461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10462         (__libc_ifunc_impl_list): Likewise.
10463         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10464         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10465         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10466         memrchr for PPC64.
10468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10469         implementation.
10470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10471         (__libc_ifunc_impl_list): Likewise.
10472         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10473         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10474         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10475         memchr for PPC64.
10477         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10478         implementation.
10479         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10480         (__libc_ifunc_impl_list): Likewise.
10481         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10482         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10483         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10484         mempcpy for PPC64.
10486         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10487         avoid cretion of __bzero symbol.
10488         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10489         Likewise.
10490         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10491         Likewise.
10492         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10493         Likewise.
10494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10495         multiarch implementations.
10496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10497         (__libc_ifunc_impl_list): Likewise.
10498         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10499         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10500         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10501         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10502         bzero for PPC32.
10503         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10504         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10505         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10506         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10507         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10508         memset for PPC64.
10509         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10511         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10512         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10513         implementations.
10514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10515         (__libc_ifunc_impl_list): Likewise.
10516         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10517         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10518         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10519         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10520         memcmp for PPC64.
10522         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10523         multiarch for POWER/PPC64.
10524         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10525         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10526         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10527         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10528         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10529         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10530         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10531         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10532         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10533         memcpy for PPC64.
10535         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10536         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10537         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10538         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10539         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10540         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10541         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10542         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10543         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10544         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10545         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10546         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10547         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10548         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10549         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10558 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10560         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10562 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10564         * benchtests/Makefile (bench): Add exp2 and log2.
10565         (LDLIBS-bench-exp2): Add -lm.
10566         (LDLIBS-bench-log2): Likewise.
10567         * benchtests/exp2-inputs: New inputs file.
10568         * benchtests/log2-inputs: New inputs file.
10569         * benchtests/log-inputs: Add new inputs.
10570         * benchtests/tan-inputs: Likewise.
10572 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10574         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10575         definition...
10576         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10577         (csloww2): ... from here.
10579         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10580         instead of structures.
10581         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10582         (POLYNOMIAL): Likewise.
10583         (TAYLOR_SLOW): Likewise.
10584         (__sin): Likewise.
10585         (__cos): Likewise.
10586         (slow1): Likewise.
10587         (slow2): Likewise.
10588         (sloww): Likewise.
10589         (sloww1); Likewise.
10590         (sloww2): Likewise.
10591         (bsloww1): Likewise.
10592         (bsloww2): Likewise.
10593         (cslow2): Likewise.
10594         (csloww): Likewise.
10595         (csloww1): Likewise.
10596         (csloww2): Likewise.
10598 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
10600         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10601         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10602         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10603         * malloc/hooks.c (realloc_check): Likewise.
10605         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10606         * malloc/arena.c: Remove PER_THREAD conditional.
10607         [!PER_THREAD]: Remove code.
10608         (ptmalloc_unlock_all2): Likewise.
10609         (ptmalloc_init): Likewise.
10610         (_int_new_arena): Likewise.
10611         (arena_get2): Likewise.
10612         * malloc/hooks.c (__malloc_get_state): Likewise.
10613         (__malloc_set_state): Likewise.
10614         * malloc/malloc.c: Likewise.
10615         (struct malloc_state): Likewise.
10616         (struct malloc_par): Likewise.
10617         (__libc_realloc): Likewise.
10618         (__libc_mallopt): Likewise.
10620 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10622         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10624 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
10626         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10627         macro to a function.  Check for zero perturb_byte.
10628         (_int_malloc, _int_free): Remove zero perturb_byte checks.
10630         * malloc/malloc.c: (force_reg): Remove.
10631         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10632         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10633         force_reg by atomic_forced_read.
10634         * malloc/arena.c (ptmalloc_init): Likewise.
10635         * malloc/hooks.c (top_check): Likewise.
10637 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10641 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
10643         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10645 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
10647         * math/auto-libm-test-in: Add tests of lgamma.
10648         * math/auto-libm-test-out: Regenerated.
10649         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10650         (M_LOG_2_SQRT_PIl): Likewise.
10651         (lgamma_test_data): Use AUTO_TESTS_f_f1.
10652         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10653         mpfr_f_f1.
10654         (func_calc_desc): Add mpfr_f_f1 union field.
10655         (ARGS1): New macro.
10656         (ARGS2): Likewise.
10657         (ARGS3): Likewise.
10658         (ARGS4): Likewise.
10659         (RET1): Likewise.
10660         (RET2): Likewise.
10661         (CALC): Likewise.
10662         (FUNC): Likewise.
10663         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10664         (test_functions): Add lgamma.
10665         (calc_generic_results): Handle mpfr_f_f1.
10666         * sysdeps/i386/fpu/libm-test-ulps: Update.
10667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10669 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10671         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10672         __mpn_add_n for PowerPC64/POWER7.
10673         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10674         __mpn_sub_n for PowerPC64/POWER7.
10676         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10677         __mpn_addmul_1 for PowerPC64.
10678         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10679         __mpn_submul_1 for PowerPC64.
10680         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10681         for PowerPC64.
10682         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10683         for PowerPC64.
10685 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
10687         [BZ #15089]
10688         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10690 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10692         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10694         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10695         add multiarch folders.
10696         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10697         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10698         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10699         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10700         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10701         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10702         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10703         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10704         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10705         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10706         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10715         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10717         New file.
10718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10719         New file.
10720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10721         multiarch __ieee754_hypot for PowerPC32.
10722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10723         New file.
10724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10725         New file.
10726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10727         multiarch __ieee754_hypotf for PowerPC32.
10729         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10730         long_double_symbol only if __logbl is defined.
10731         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10732         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10733         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10734         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10735         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10736         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10737         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10738         path for implementation.
10739         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10740         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10742         logb, and logbl multiarch implementations for PowerPC32.
10743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10744         file.
10745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10746         file.
10747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10748         multiarch logb for PowerPC32.
10749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10750         file.
10751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10752         file.
10753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10754         multiarch logbf for PowerPC32.
10755         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10757         file.
10758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10759         multiarch logbl implementation for PowerPC32.
10761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10762         and modff multiarch implementations.
10763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10764         New file.
10765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10766         New file.
10767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10768         multiarch modf for PowerPC32.
10769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10770         New file.
10771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10772         New file.
10773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10774         multiarch modff for PowerPC32.
10776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10777         and lrintf multiarch implementations.
10778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10779         New file.
10780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10781         New file.
10782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10783         multiarch lrint for PowerPC32.
10784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10785         file: multiarch lrintf for PowerPC32.
10787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10788         and lroundf multiarch implementations.
10789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10790         New file.
10791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10792         New file.
10793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10794         New file.
10795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10796         multiarch lround for PowerPC32.
10797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10798         file: multiarch lroundf for PowerPC32.
10800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10801         copysign and copysignf multiarch implementations.
10802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10803         New file.
10804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10805         New file.
10806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10807         file: multiarch copysign for PowerPC32.
10808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10809         file: multiarch copysignf for PowerPC32.
10811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10812         and truncf multiarch implementations.
10813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10814         New file.
10815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10816         file.
10817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10818         multiarch trunc for PowerPC32.
10819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10820         New file.
10821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10822         New file.
10823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10824         multiarch truncf for PowerPC32.
10826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10827         and roundf multiarch implementations.
10828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10829         New file.
10830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10831         file.
10832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10833         multiarch round for PowerPC32.
10834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10835         New file.
10836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10837         New file.
10838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10839         multiarch roundf for PowerPC32.
10841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10842         and floorf multiarch implementations.
10843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10844         New file.
10845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10846         file.
10847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10848         multiarch floor for PowerPC32.
10849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10850         New file.
10851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10852         New file.
10853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10854         multiarch floorf for PowerPC32.
10856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10857         and ceilf multiarch implementations.
10858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10859         New file.
10860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10861         file.
10862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10863         multiarch ceil for PowerPC32.
10864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10865         New file.
10866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10867         file.
10868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10869         multiarch ceilf for PowerPC32.
10871         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10872         is defined.
10873         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10874         FINITEF is defined.
10875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10876         and finitef multiarch implementations.
10877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10878         New file.
10879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10880         file.
10881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10882         multiarch finite for PowerPC32.
10883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10884         New file.
10885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10886         file: multiarch finitef for PowerPC32.
10888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10889         and isinff multiarch implementations.
10890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10891         file.
10892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10893         file.
10894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10895         multiarch isinf for PowerPC32.
10896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10897         New file.
10898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10899         multiarch isinff for PowerPC32.
10901         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10902         alias when __isnan is defined.
10903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10904         and isnanf multiarch implementations.
10905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10906         file.
10907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10908         file.
10909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10910         file.
10911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10912         file.
10913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10914         multiarch isnan for PowerPC32.
10915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10916         New file.
10917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10918         New file.
10919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10920         multiarch isnanf for PowerPC32.
10922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10923         and sqrtf multiarch implementations.
10924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10925         file.
10926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10927         file.
10928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10929         multiarch sqrt for PowerPC32.
10930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10931         file.
10932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10933         file.
10934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10935         multiarch sqrtf for PowerPC32.
10937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10938         and llroundf multiarch implementations.
10939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10940         New file.
10941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10942         New file.
10943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10944         New file.
10945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10946         file: multiarch llround for PowerPC32.
10947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10948         file: multiarch llroundf for PowerPC32.
10950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10951         multiarch PowerPC32 fpu implementations.
10952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10953         New file.
10954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10955         New file.
10956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10957         multiarch llrint for PowerPC32.
10958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10959         New file.
10960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10961         New file.
10962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10963         file.
10965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10967         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10968         file.
10969         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10970         file.
10971         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10972         file.
10973         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10974         multiarch wordcopy for PPC32.
10975         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10976         wordcopy objects.
10977         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10978         (__libc_ifunc_impl_list): Likewise.
10979         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10980         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10981         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10982         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10983         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10984         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10986         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10987         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10988         file.
10989         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10990         file.
10991         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10992         file.
10993         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10994         multiarch wcscpy for PPC32.
10995         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10996         multiarch objects.
10997         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10998         (__libc_ifunc_impl_list): Likewise.
10999         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11000         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11001         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11002         sysdeps/powerpc/power6/wcscpy.c.
11004         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11005         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11006         file.
11007         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11008         file.
11009         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11010         file.
11011         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11012         multiarch wcsrchr for PPC32.
11013         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11014         multiarch objects.
11015         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11016         (__libc_ifunc_impl_list): Likewise.
11017         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11018         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11019         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11020         sysdeps/powerpc/power6/wcsrchr.c.
11022         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11023         file.
11024         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11025         file.
11026         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11027         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11028         multiarch wcschr for PPc32.
11029         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11030         multiarch objects.
11031         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11032         (__libc_ifunc_impl_list): Likewise.
11033         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11034         * sysdeps/powerpc/power6/wcschr.c: ... to here.
11035         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11036         sysdeps/powerpc/power6/wcschr.c.
11038         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11039         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11040         file.
11041         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11042         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11043         file: multiarch strchr for PPC32.
11044         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11045         multiarch objects.
11046         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11047         (__libc_ifunc_impl_list): Likewise.
11049         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11050         name.
11051         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11052         file.
11053         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11054         file.
11055         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11056         multiarch strchrnul for PPC32.
11057         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11058         multiarch objects.
11059         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11060         (__libc_ifunc_impl_list): Likewise.
11062         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11063         file.
11064         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11065         multiarch strncasecmp for PPC32.
11066         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11067         file.
11068         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11069         multiarch strncasecmp_l for PPC32.
11070         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11071         strncasecmp multiarch objects.
11072         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11073         (__libc_ifunc_impl_list): Likewise.
11075         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11076         file.
11077         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11078         multiarch strncasecmp for PPC32.
11079         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11080         New file.
11081         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11082         multiarch strcasecmp_l for PPC32.
11083         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11084         multiarch objects.
11085         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11086         (__libc_ifunc_impl_list): Likewise.
11088         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11089         file.
11090         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11091         file.
11092         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11093         multiarch strncmp for PPC32.
11094         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11095         multiarch objects.
11096         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11097         (__libc_ifunc_impl_list): Likewise.
11099         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11100         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11101         file.
11102         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11103         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11104         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11105         multiarch objects.
11106         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11107         (__libc_ifunc_impl_list): Likewise.
11109         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11110         file.
11111         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11112         file.
11113         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11114         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11115         multiarch objects.
11116         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11117         (__libc_ifunc_impl_list): Likewise.
11119         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11120         file.
11121         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11122         file.
11123         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11124         multiarch rawmemchr for PPC32.
11125         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11126         multiarch objects.
11127         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11128         (__libc_ifunc_impl_list): Likewise.
11130         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11131         file.
11132         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11133         file.
11134         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11135         file: memrchr multiarch for PPC32.
11136         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11137         multiarch objects.
11138         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11139         (__libc_ifunc_impl_list): Likewise.
11141         * string/memchr.c (__memchr): Using macro to redefine symbol name.
11142         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11143         file.
11144         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11145         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11146         multiarch memchr for PPC32.
11147         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11148         multiarch objects.
11149         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11150         (__libc_ifunc_impl_list): Likewise.
11152         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11153         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11154         file.
11155         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11156         file.
11157         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11158         file: multiarch mempcpy for PPC32.
11159         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11160         multiarch objects.
11161         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11162         (__libc_ifunc_impl_list): Likewise.
11164         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11165         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11166         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11167         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11168         multiarch bzero for PPC32.
11169         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11170         file.
11171         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11172         file.
11173         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11174         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11175         file: multiarch memset for PPC32.
11176         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11177         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11178         memset multiarch objects.
11179         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11180         (__libc_ifunc_impl_list): Likewise.
11182         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11183         file.
11184         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11185         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11186         memcmp for PPC32.
11187         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11188         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11189         multiarch objects.
11190         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11191         (__libc_ifunc_impl_list): Likewise.
11193         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11194         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11195         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11196         file.
11197         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11198         file.
11199         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11200         file.
11201         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11202         multiarch memcpy for PPC32.
11203         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11204         multiarch objects.
11205         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11206         (__libc_ifunc_impl_list): Likewise.
11208         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11209         support multiarch for POWER/PPC32.
11210         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11211         Likewise.
11212         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11214         Implies file to make multiarch folder appers before the fpu and
11215         default folder for power4 configuration.
11217 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11219         * scripts/bench.pl: Append volatile keyword to type.
11221 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11223         * sysdeps/sh/sotruss-lib.c: New file.
11224         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11226 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11230 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
11232         [BZ #6810]
11233         * math/w_tgamma.c: Include <errno.h>.
11234         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
11235         * math/w_tgammaf.c: Include <errno.h>.
11236         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
11237         * math/w_tgammal.c: Include <errno.h>.
11238         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
11239         * math/auto-libm-test-in: Do not allow missing errno on tgamma
11240         underflow.  Add more tgamma tests.
11241         * math/auto-libm-test-out: Regenerated.
11242         * sysdeps/i386/fpu/libm-test-ulps: Update.
11243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11245         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11246         sin, sinh, tan, tanh, tgamma, y0 and y1.
11247         * math/auto-libm-test-out: Regenerated.
11248         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11249         (TEST_COND_x86): Likewise.
11250         (M_E2l): Remove macro.
11251         (M_E3l): Likewise.
11252         (M_2_SQRT_PIl): Likewise.
11253         (M_SQRT_PIl): Likewise.
11254         (M_1_DIV_El): Likewise.
11255         (log_test_data): Use AUTO_TESTS_f_f.
11256         (log10_test_data): Likewise.
11257         (log1p_test_data): Likewise.
11258         (log2_test_data): Likewise.
11259         (sin_test_data): Likewise.
11260         (sin_tonearest_test_data): Likewise.
11261         (sin_towardzero_test_data): Likewise.
11262         (sin_downward_test_data): Likewise.
11263         (sin_upward_test_data): Likewise.
11264         (sinh_test_data): Likewise.
11265         (sinh_tonearest_test_data): Likewise.
11266         (sinh_towardzero_test_data): Likewise.
11267         (sinh_downward_test_data): Likewise.
11268         (sinh_upward_test_data): Likewise.
11269         (tan_test_data): Likewise.
11270         (tan_tonearest_test_data): Likewise.
11271         (tan_towardzero_test_data): Likewise.
11272         (tan_downward_test_data): Likewise.
11273         (tan_upward_test_data): Likewise.
11274         (tanh_test_data): Likewise.
11275         (tgamma_test_data): Likewise.
11276         (y0_test_data): Likewise.
11277         (y1_test_data): Likewise.
11278         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11279         (special_real_inputs): Add pi/4.
11280         * sysdeps/i386/fpu/libm-test-ulps: Update.
11281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11283 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11285         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11286         "longjmp_target" static probes.
11287         (__longjmp): Rename to __longjmp_symbol.
11288         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11289         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11290         on which longjmp to generate.
11291         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11292         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11293         probe.
11294         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11295         (__sigjmp_save): Rename to __sigjmp_save_symbol.
11296         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11297         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11298         and __sigjmp_save_symbol based on which sigsetjmp to generated.
11299         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11301         __longjmp_symbol based on which __longjmp to generate.
11302         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11303         probe.
11304         (setjmp): Rename to setjmp_symbol.
11305         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11306         (_setjmp): Rename to _setjmp_symbol.
11307         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11308         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11309         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11310         which setjmp to generate.
11311         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11312         "longjmp_target" static probes.
11314 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11316         * benchtests/README: Add note about output arguments.
11317         * benchtests/bench-sincos.c: Remove file.
11318         * benchtests/sincos-inputs: New file.
11319         * scripts/bench.pl: Identify output arguments and define
11320         static variables for them.
11322         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11324         [BZ #15941]
11325         * Makefile (INSTALL): Add install-plain.texi as the primary
11326         dependency.
11327         * manual/install-plain.texi: New file.
11328         * manual/install.texi: Include node directive only for
11329         non-plaintext output.
11331 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
11333         * stdlib/longlong.h: Update from GCC.
11335         [BZ #6807]
11336         [BZ #15901]
11337         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11338         * math/w_j0f.c (y0f): Likewise.
11339         * math/w_j0l.c (__y0l): Likewise.
11340         * math/w_j1.c (y1): Likewise.
11341         * math/w_j1f.c (y1f): Likewise.
11342         * math/w_j1l.c (__y1l): Likewise
11343         * math/w_jn.c (yn): Likewise.
11344         * math/w_jnf.c (ynf): Likewise.
11345         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11346         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
11347         value for Bessel function domain errors outside _SVID_ mode.
11348         Adjust sign of return value for yn (negative integer, 0).
11349         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11350         by zero in return for negative x and set sign appropriately for
11351         negative n.
11352         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11353         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11354         * math/libm-test.inc (y0_test_data): Add more tests and adjust
11355         expectations in error cases.
11356         (y1_test_data): Likewise.
11357         (yn_test_data): Likewise.
11358         * sysdeps/i386/fpu/libm-test-ulps: Update.
11359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11361 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11363         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11364         "64" to "64-v1".  Add "64-v2".
11365         (abi-64-options): Rename to ...
11366         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
11367         (abi-64-condition): Rename to ...
11368         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
11369         (abi-64-ld-soname): Rename to ...
11370         (abi-64-v1-ld-soname): ... this.
11371         (abi-64-v2-options): Define.
11372         (abi-64-v2-condition): Likewise.
11373         (abi-64-v2-ld-soname): Likewise.
11374         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11375         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11380 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11381             Alan Modra  <amodra@gmail.com>
11383         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11384         New versions for use with the ELFv2 ABI.
11385         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11386         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11387         declaration.
11388         (struct La_ppc64v2_retval): Likewise.
11389         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11390         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11391         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11392         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11393         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11394         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11395         Do not save or restore CR.
11396         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11397         (_dl_profile_resolve): Do no save or restore CR.  Support extended
11398         return values for ELFv2 ABI.  Fix location of FPR return registers.
11399         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11400         updated values for _CALL_ELF == 2.
11401         (La_regs, La_retval, int_retval): Likewise.
11403 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11405         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11406         (FRAME_MIN_SIZE_PARM): Likewise.
11407         (FRAME_BACKCHAIN): Likewise.
11408         (FRAME_CR_SAVE): Likewise.
11409         (FRAME_LR_SAVE): Likewise.
11410         (FRAME_TOC_SAVE): Likewise.
11411         (FRAME_PARM_SAVE): Likewise.
11412         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11413         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11414         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11415         (call_mcount_parm_offset): New macro.
11416         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11417         (PROF): Use symbolic stack frame offsets.
11418         (TAIL_CALL_SYSCALL_ERROR): Likewise.
11419         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11420         Redefine in terms of FRAME_MIN_SIZE.
11421         (_dl_runtime_resolve): Use symbolic stack frame offsets.
11422         (_dl_profile_resolve): Likewise.  Update comment.
11423         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11424         symbols stack frame offsets.
11425         (__sigsetjmp): Likewise.
11426         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11427         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11428         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11429         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11432         (FRAME_BACKCHAIN): Remove.
11433         (FRAME_CR_SAVE): Likewise.
11434         (FRAME_LR_SAVE): Likewise.
11435         (FRAME_COMPILER_DW): Likewise.
11436         (FRAME_LINKER_DW): Likewise.
11437         (FRAME_TOC_SAVE): Likewise.
11438         (FRAME_PARM_SAVE): Likewise.
11439         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11440         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11441         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11443         (CHECK_SP): Use symbolic stack frame offsets.
11444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11445         zone" instead of caller's parameter save area for temp storage.
11446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11447         Likewise.  Also, use symbolic stack frame offsets.
11448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11449         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11450         our own stack frame instead of the caller's.
11451         (__socket): Use symbolic stack frame offsets.
11453 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11454             Alan Modra  <amodra@gmail.com>
11456         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11457         Define.
11458         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11459         (PPC64_LOCAL_ENTRY_OFFSET): Define.
11460         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11461         New function.
11462         (elf_machine_fixup_plt): Call it.
11463         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
11464         reloc arguments.
11465         (elf_machine_rela): Update call to elf_machine_plt_conflict.
11466         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11467         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11468         r2 before calling target.
11470 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11471             Alan Modra  <amodra@gmail.com>
11473         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11474         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11475         versions of macros to support ELFv2 ABI.
11476         (LOCALENTRY): New macro.
11477         (ENTRY, EALIGN): Use it.
11478         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11479         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11480         fall through into ENTRY entry point.
11481         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11482         Only define if _CALL_ELF != 2.
11484         (elf_machine_matches_host): Verify ABI version matches.
11485         (RTLD_START): Use LOCALENTRY.
11486         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11487         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11488         (PLT_ENTRY_WORDS): New macro.
11489         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11490         (elf_machine_runtime_setup): Support ELFv2 ABI.
11491         (elf_machine_fixup_plt): Likewise.
11492         (elf_machine_plt_conflict): Likewise.
11493         (resolve_ifunc): Likewise.
11494         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11495         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11496         Likewise.
11497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11498         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11500         (makecontext): Support ELFv2 ABI.
11501         * elf/elf.h (EF_PPC64_ABI): Define.
11503 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11505         * sysdeps/powerpc/powerpc64/sysdep.h
11506         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11507         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11508         (ENTRY) [ASSEMBLER]: ... but instead here ...
11509         (EALIGN) [ASSEMBLER]: ... and here.
11510         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11511         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11512         (ENTRY_2) [!ASSEMBLER]: Use it.
11513         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11514         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
11515         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11516         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11517         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11519         Use PPC64_LOAD_FUNCPTR.
11521         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11523 2013-12-04  Alan Modra  <amodra@gmail.com>
11525         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11526         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11527         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11528         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11530         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11531         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11532         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11533         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11534         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11535         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11537 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11540         (__makecontext): Fix incorrect CFI when backtracing out of
11541         context created via makecontext.
11542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11543         (__setcontext): Fix incorrect CFI during switch to new context.
11544         (__novec_setcontext): Likewise.
11546 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
11548         [BZ #4772]
11549         * time/strptime_l.c (__strptime_internal): Allow modifiers
11550         in strptime.
11551         * time/tst-strptime.c (day_tests): Add testcase.
11553 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11555         * scripts/bench.pl: Skip over blank lines.
11557 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11559         [BZ #926]
11560         * manual/time.texi (Calendar Time): Clarify what timezone functions
11561         use.
11563 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11567 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
11569         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11570         implementation.
11571         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11572         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11573         * debug/memset_chk.c (__memset_chk): Likewise.
11574         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11575         * debug/strncpy_chk.c: Likewise.
11577 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
11579         [BZ #15268]
11580         [BZ #15425]
11581         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11582         (__ieee754_exp): For possibly underflowing results, check size of
11583         result and force underflow exception if required.
11584         * math/auto-libm-test-in: Add more tests of exp.
11585         * math/auto-libm-test-out: Regenerated.
11586         * sysdeps/i386/fpu/libm-test-ulps: Update.
11587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11589         [BZ #16283]
11590         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11591         * math/w_exp2f.c (__exp2f): Likewise.
11592         * math/w_exp2l.c (__exp2l): Likewise.
11593         * math/auto-libm-test-in: Do not allow missing errno on exp2
11594         underflow.
11595         * math/auto-libm-test-out: Regenerated.
11597 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
11599         [BZ #16274]
11600         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11601         handle filename validation.
11602         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11603         (do_open): Delete.
11605 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
11607         [BZ #6786]
11608         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11609         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11610         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11611         <float.h>.
11612         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11613         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11614         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11615         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11616         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11617         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11618         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11619         * math/auto-libm-test-in: Don't allow missing errno from erfc.
11620         Add more erfc tests.
11621         * math/auto-libm-test-out: Regenerated.
11622         * sysdeps/i386/fpu/libm-test-ulps: Update.
11623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11625         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11626         exp2, expm1, j0 and j1.
11627         * math/auto-libm-test-out: Regenerated.
11628         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11629         (erfc_test_data): Likewise.
11630         (exp_test_data): Likewise.
11631         (exp_tonearest_test_data): Likewise.
11632         (exp_towardzero_test_data): Likewise.
11633         (exp_downward_test_data): Likewise.
11634         (exp_upward_test_data): Likewise.
11635         (exp10_test_data): Likewise.
11636         (exp2_test_data): Likewise.
11637         (expm1_test_data): Likewise.
11638         (j0_test_data): Likewise.
11639         (j1_test_data): Likewise.
11640         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11641         (input_flag_type): Add flag_xfail_rounding.
11642         (input_flags): Add xfail-rounding.
11643         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11644         (output_for_one_input_case): Handle flag_xfail_rounding.
11645         * sysdeps/i386/fpu/libm-test-ulps: Update.
11646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11648 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
11650         [BZ #16289]
11651         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11652         division by 0.
11654 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11656         [BZ #16195]
11657         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11658         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11659         (STAP_PROBE0): New macro.
11660         (STAP_PROBE1): Likewise.
11661         (STAP_PROBE2): Likewise.
11662         (STAP_PROBE3): Likewise.
11663         (STAP_PROBE4): Likewise.
11665 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
11667         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11669 2013-12-02  Steve Ellcey  <sellcey@mips.com>
11671         * benchtests/Makefile (bench): Add sqrt.
11672         (LDLIBS-bench-sqrt): New.
11673         * benchtests/sqrt-input: New.
11675 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
11677         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11678         (GAIH_EAI): Likewise.
11679         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11680         (gaih_inet): Likewise.
11681         (getaddrinfo): Don't use GAIH_EAI.
11683         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11684         (struct gaih): Remove definition.
11686 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11688         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11689         Use HERRNOP directly.
11691 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11695 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
11697         * math/gen-auto-libm-tests.c (test_functions): Add more
11698         single-argument functions.
11699         (special_fill_pi_2): New function.
11700         (special_fill_minus_pi_2): Likewise.
11701         (special_fill_pi_6): Likewise.
11702         (special_fill_minus_pi_6): Likewise.
11703         (special_fill_pi_3): Likewise.
11704         (special_fill_2pi_3): Likewise.
11705         (special_fill_e): Likewise.
11706         (special_fill_1_e): Likewise.
11707         (special_fill_e_minus_1): Likewise.
11708         (special_real_inputs): Add more special inputs.
11709         (output_for_one_input_case): Do not require ERANGE on underflow to
11710         zero if round-to-nearest result does not underflow to zero, unless
11711         exact results required.
11712         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11713         atan, atanh, cbrt, cos and cosh.
11714         * math/auto-libm-test-out: Regenerated.
11715         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11716         (acos_tonearest_test_data): Likewise.
11717         (acos_towardzero_test_data): Likewise.
11718         (acos_downward_test_data): Likewise.
11719         (acos_upward_test_data): Likewise.
11720         (acosh_test_data): Likewise.
11721         (asin_test_data): Likewise.
11722         (asin_tonearest_test_data): Likewise.
11723         (asin_towardzero_test_data): Likewise.
11724         (asin_upward_test_data): Likewise.
11725         (asinh_test_data): Likewise.
11726         (atan_test_data): Likewise.
11727         (atanh_test_data): Likewise.
11728         (cbrt_test_data): Likewise.
11729         (cos_test_data): Likewise.
11730         (cos_tonearest_test_data): Likewise.
11731         (cos_towardzero_test_data): Likewise.
11732         (cos_downward_test_data): Likewise.
11733         (cos_upward_test_data): Likewise.
11734         (cosh_test_data): Likewise.
11735         (cosh_tonearest_test_data): Likewise.
11736         (cosh_towardzero_test_data): Likewise.
11737         (cosh_downward_test_data): Likewise.
11738         (cosh_upward_test_data): Likewise.
11739         * sysdeps/i386/fpu/libm-test-ulps: Update.
11740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11742 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
11744         [BZ #6787]
11745         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11746         * math/w_exp10f.c (__exp10f): Likewise.
11747         * math/w_exp10l.c (__exp10l): Likewise.
11748         * math/libm-test.inc (exp10_test_data): Add more tests and expect
11749         errno settings in existing tests.
11751         [BZ #14032]
11752         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11753         precision control set to double precision.
11754         * sysdeps/i386/fpu/w_sqrt.c: New file.
11755         * math/auto-libm-test-in: Add more tests.
11756         * math/auto-libm-test-out: Update.
11758         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11759         (sqrt_test_tonearest): New function.
11760         (sqrt_towardzero_test_data): New variable.
11761         (sqrt_test_towardzero): New function.
11762         (sqrt_downward_test_data): New variable.
11763         (sqrt_test_downward): New function.
11764         (sqrt_upward_test_data): New variable.
11765         (sqrt_test_upward): New function.
11766         (main): Call the new functions.
11768         * math/gen-auto-libm-tests.c: New file.
11769         * math/auto-libm-test-in: Likewise.
11770         * math/auto-libm-test-out: New generated file.
11771         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11772         variables.
11773         (%beautify): Add generated representations of zero.
11774         (top level): Set $auto_input and call parse_auto_input.
11775         (beautify): Remove trailing "f" from hex float constants.
11776         (parse_args): Handle XFAIL_TEST.
11777         (convert_condition): New function.
11778         (or_value): Likewise.
11779         (or_cond_value): Likewise.
11780         (generate_testfile): Handle AUTO_TESTS_* lines.
11781         (parse_auto_input): New function.
11782         * math/libm-test.inc (XFAIL_TEST): New macro.
11783         (ERRNO_UNCHANGED): Update value.
11784         (ERRNO_EDOM): Likewise.
11785         (ERRNO_ERANGE): Likewise.
11786         (IGNORE_RESULT): Likewise.
11787         (TEST_COND_flt_32): New macro.
11788         (TEST_COND_dbl_64): Likewise.
11789         (TEST_COND_ldbl_96_intel): Likewise.
11790         (TEST_COND_ldbl_96_m68k): Likewise.
11791         (TEST_COND_ldbl_128): Likewise.
11792         (TEST_COND_ldbl_128ibm): Likewise.
11793         (TEST_COND_long32): Likewise.
11794         (TEST_COND_long64): Likewise.
11795         (TEST_COND_before_rounding): Likewise.
11796         (TEST_COND_after_rounding): Likewise.
11797         (enable_test): Handle XFAIL_TEST flag.
11798         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11799         with finite results.
11800         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11801         auto-libm-test-out.
11803 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11804             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11806         [BZ #16214]
11807         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11808         __tls_get_addr_internal instead of __tls_get_offset in order to
11809         avoid GOT pointer dependency.  Make rtld export
11810         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11811         __tls_get_addr since we are a __tls_get_offset platform.
11812         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11813         GOT pointer being set up before.
11814         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11816 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
11818         * manual/math.texi (Errors in Math Functions): Document accuracy
11819         goals.
11821         [BZ #15004]
11822         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11823         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11824         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11825         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11826         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11827         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11828         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11829         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11830         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11831         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11832         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11833         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11834         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11835         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11836         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11837         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11839         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11840         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11841         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11842         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11843         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11844         Likewise.
11845         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11846         Likewise.
11847         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11848         Likewise.
11849         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11850         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11851         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11852         atomic-feupdateenv and flt-rounds.
11853         * sysdeps/powerpc/nofpu/Versions (libc): Add
11854         __atomic_feholdexcept, __atomic_feclearexcept,
11855         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11856         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11857         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11858         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11859         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11860         here.
11861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11862         Update.
11864         * manual/arith.texi (FP Exceptions): Document that exceptions may
11865         not be raised when matherr is used.
11866         (Math Error Reporting): Document overflow in directed rounding
11867         modes.  Document that errno may not be set when finite values are
11868         returned on overflow.  Document intent to set errno on underflow
11869         only for underflow to zero.
11871         [BZ #16271]
11872         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11873         round-to-nearest then adjust result for other rounding modes.
11874         * include/fenv.h (fegetround): Use libm_hidden_proto.
11875         * math/fegetround.c (fegetround): Use libm_hidden_def.
11876         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11877         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11878         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11879         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11880         Likewise.
11881         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11882         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11883         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11884         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11886 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11888         [BZ #16077]
11889         * nss/Versions (libnss_files): Add
11890         _nss_files_gethostbyname3_r.
11891         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11892         New function.
11893         (HOST_DB_LOOKUP): Remove macro.
11894         (_nss_files_gethostbyname_r): Implement function without the
11895         HOST_DB_LOOKUP macro.
11896         (_nss_files_gethostbyname2_r): Likewise.
11898 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
11900         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11902 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
11904         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11905         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11906         warning.
11908 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11910         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11911         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11912         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11913         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11914         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11915         __fe_nomask_env_priv and attribute_hidden.
11916         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11917         (libc_feupdateenv_test_ppc): Likewise.
11918         (libc_feresetround_ppc): Likewise.
11919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11920         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11921         compat_symbol macro.
11922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11923         (__fe_nomask_env): Likewise.
11924         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11926 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11928         * string/Makefile: Remove ifunc tests.
11929         * string/test-string.h: Define TEST_IFUNC.
11930         * string/test-bcopy-ifunc.c: Remove.
11931         * string/test-bzero-ifunc.c: Likewise.
11932         * string/test-memccpy-ifunc.c: Likewise.
11933         * string/test-memchr-ifunc.c: Likewise.
11934         * string/test-memcmp-ifunc.c: Likewise.
11935         * string/test-memcpy-ifunc.c: Likewise.
11936         * string/test-memmem-ifunc.c: Likewise.
11937         * string/test-memmove-ifunc.c: Likewise.
11938         * string/test-mempcpy-ifunc.c: Likewise.
11939         * string/test-memrchr-ifunc.c: Likewise.
11940         * string/test-memset-ifunc.c: Likewise.
11941         * string/test-rawmemchr-ifunc.c: Likewise.
11942         * string/test-stpcpy-ifunc.c: Likewise.
11943         * string/test-stpncpy-ifunc.c: Likewise.
11944         * string/test-strcasecmp-ifunc.c: Likewise.
11945         * string/test-strcasestr-ifunc.c: Likewise.
11946         * string/test-strcat-ifunc.c: Likewise.
11947         * string/test-strchr-ifunc.c: Likewise.
11948         * string/test-strchrnul-ifunc.c: Likewise.
11949         * string/test-strcmp-ifunc.c: Likewise.
11950         * string/test-strcpy-ifunc.c: Likewise.
11951         * string/test-strcspn-ifunc.c: Likewise.
11952         * string/test-strlen-ifunc.c: Likewise.
11953         * string/test-strncasecmp-ifunc.c: Likewise.
11954         * string/test-strncat-ifunc.c: Likewise.
11955         * string/test-strncmp-ifunc.c: Likewise.
11956         * string/test-strncpy-ifunc.c: Likewise.
11957         * string/test-strnlen-ifunc.c: Likewise.
11958         * string/test-strpbrk-ifunc.c: Likewise.
11959         * string/test-strrchr-ifunc.c: Likewise.
11960         * string/test-strspn-ifunc.c: Likewise.
11961         * string/test-strstr-ifunc.c: Likewise.
11963 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11965         * benchtests/Makefile: Remove ifunc tests.
11966         * benchtests/bench-string.h: Define TEST_IFUNC.
11967         * benchtests/bench-bcopy-ifunc.c: Remove.
11968         * benchtests/bench-bzero-ifunc.c: Likewise.
11969         * benchtests/bench-memccpy-ifunc.c: Likewise.
11970         * benchtests/bench-memchr-ifunc.c: Likewise.
11971         * benchtests/bench-memcmp-ifunc.c: Likewise.
11972         * benchtests/bench-memcpy-ifunc.c: Likewise.
11973         * benchtests/bench-memmem-ifunc.c: Likewise.
11974         * benchtests/bench-memmove-ifunc.c: Likewise.
11975         * benchtests/bench-mempcpy-ifunc.c: Likewise.
11976         * benchtests/bench-memrchr-ifunc.c: Likewise.
11977         * benchtests/bench-memset-ifunc.c: Likewise.
11978         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11979         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11980         * benchtests/bench-stpcpy-ifunc.c: Likewise.
11981         * benchtests/bench-stpncpy-ifunc.c: Likewise.
11982         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11983         * benchtests/bench-strcasestr-ifunc.c: Likewise.
11984         * benchtests/bench-strcat-ifunc.c: Likewise.
11985         * benchtests/bench-strchr-ifunc.c: Likewise.
11986         * benchtests/bench-strchrnul-ifunc.c: Likewise.
11987         * benchtests/bench-strcmp-ifunc.c: Likewise.
11988         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11989         * benchtests/bench-strcpy-ifunc.c: Likewise.
11990         * benchtests/bench-strcspn-ifunc.c: Likewise.
11991         * benchtests/bench-strlen-ifunc.c: Likewise.
11992         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11993         * benchtests/bench-strncat-ifunc.c: Likewise.
11994         * benchtests/bench-strncmp-ifunc.c: Likewise.
11995         * benchtests/bench-strncpy-ifunc.c: Likewise.
11996         * benchtests/bench-strnlen-ifunc.c: Likewise.
11997         * benchtests/bench-strpbrk-ifunc.c: Likewise.
11998         * benchtests/bench-strrchr-ifunc.c: Likewise.
11999         * benchtests/bench-strsep-ifunc.c: Likewise.
12000         * benchtests/bench-strspn-ifunc.c: Likewise.
12001         * benchtests/bench-strstr-ifunc.c: Likewise.
12003 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12005         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12007 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12009         * resolv/netdb.h: Use __glibc_reserved instead __unused.
12010         * rt/aio.h: Likewise.
12011         * sysdeps/gnu/bits/utmp.h: Likewise.
12012         * sysdeps/gnu/bits/utmpx.h: Likewise.
12013         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12014         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12015         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12016         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12017         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12018         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12019         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12020         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12021         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12022         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12023         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12024         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12025         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12027         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12028         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12029         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12030         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12031         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12032         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12033         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12034         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12035         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12036         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12037         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12038         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12039         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12040         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12041         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12042         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12043         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12044         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12045         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12046         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12047         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12048         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12049         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12050         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12051         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12052         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12053         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12054         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12056 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
12058         [BZ #16245]
12059         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12060         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12062 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
12064         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12065         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12066         Likewise.
12068 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12070         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12071         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12072         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12073         (__fesetround): Remove define.
12074         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12075         rounding and exceptions handling.
12076         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12077         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12078         (__fe_nomask_env): Likewise.
12079         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12080         __fegetround instead of fegetround.
12081         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12082         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12084 2013-11-21  Roland McGrath  <roland@hack.frob.com>
12086         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12087         it's there.
12089         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12091 2013-11-21  Meador Inge  <meadori@codesourcery.com>
12093         [BZ #11157]
12094         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12095         (encrypt_r): Likewise.
12096         * malloc/obstack.h (obstack_free): Likewise.
12097         * posix/unistd.h (encrypt): Likewise.
12099 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
12101         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12102         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12103         DL_CALL_DT_FINI() that call the functions directly.
12104         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12105         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12106         * elf/dl-fini.c: Likewise.
12108 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
12110         * malloc/hooks.c (memalign_check): Add alignment rounding.
12111         * malloc/malloc.c (_mid_memalign): New function.
12112         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12113         Implement by calling _mid_memalign.
12114         * manual/probes.texi (Memory Allocation Probes): Remove
12115         memory_valloc_retry and memory_pvalloc_retry.
12117 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12119         * locale/programs/locarchive.c (open_archive): Add const
12120         qualifier to ARCHIVEFNAME and copy default fname to
12121         DEFAULT_FNAME.
12123         [BZ #15601]
12124         * libio/tst-widetext.input: Rename Oriya to Odia.
12125         * locale/iso-639.def: Likewise.
12127         * manual/probes.texi (Mathematical Function Probes): Add
12128         documentation for sin, cos, asin and acos probes.
12129         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12130         (__sin32): Add slowasin probe.
12131         (__cos32): Add slowacos probe.
12132         (__mpsin): Add slowsin probe.
12133         (__mpcos): Add slowcos probe.
12135 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
12137         [BZ #15483]
12138         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12139         thread-local __sim_exceptions_thread and global
12140         __sim_exceptions_global.
12141         (__sim_disabled_exceptions): Change to thread-local
12142         __sim_disabled_exceptions_thread and global
12143         __sim_disabled_exceptions_global.
12144         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12145         and global __sim_round_mode_global.
12146         (__simulate_exceptions): Use thread-local floating-point state and
12147         set global state from it as needed.
12148         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12149         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12150         __sim_round_mode_thread.
12151         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12152         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12153         and global __sim_exceptions_global.
12154         (__sim_disabled_exceptions): Change to thread-local
12155         __sim_disabled_exceptions_thread and global
12156         __sim_disabled_exceptions_global.
12157         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12158         and global __sim_round_mode_global.
12159         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12160         (SIM_SET_GLOBAL): Likewise.
12161         * sysdeps/powerpc/soft-fp/sfp-machine.h
12162         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12163         __sim_round_mode_thread.
12164         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12165         __sim_disabled_exceptions_thread.
12166         (__sim_exceptions): Change to __sim_exceptions_thread.
12167         (__sim_disabled_exceptions): Change to
12168         __sim_disabled_exceptions_thread.
12169         (__sim_round_mode): Change to __sim_round_mode_thread.
12170         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12171         thread-local floating-point state and set global state from it as
12172         needed.
12173         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12174         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12175         (__sim_disabled_exceptions): Remove extern declaration.
12176         (feenableexcept): Use thread-local floating-point state and set
12177         global state from it as needed.
12178         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12179         extern declaration.
12180         (__sim_disabled_exceptions): Likewise.
12181         (__sim_round_mode): Likewise.
12182         (__fegetenv): Use thread-local floating-point state.
12183         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12184         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12185         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12186         floating-point state and set global state from it as needed.
12187         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12188         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12189         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12190         Likewise.
12191         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12192         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12193         Likewise.
12194         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12195         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12196         Use __sim_round_mode_thread.
12197         * math/test-fenv-tls.c: New file.
12198         * math/Makefile (tests): Add test-fenv-tls.
12199         ($(objpfx)test-fenv-tls): Depend on
12200         $(common-objpfx)nptl/libpthread.so.
12202 2013-11-19  Andreas Schwab  <schwab@suse.de>
12204         * locale/programs/locale.c (show_info): Decode wordarray elements.
12205         * locale/categories.def (LC_MONETARY): Add element for
12206         _NL_MONETARY_CRNCYSTR.
12207         * locale/C-monetary.c (conversion_rate): New variable.
12208         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12209         element.
12211 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
12213         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12214         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12216 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
12218         * elf/Makefile (tst-auxv): New test.
12219         * elf/tst-auxv.c: New
12220         * elf/rtld.c (dl_main): Adjust AT_EXECFN
12222 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
12224         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12225         (hidden_proto): Caller changed.
12226         (hidden_tls_proto): New macro.
12227         (libc_hidden_tls_proto): Likewise.
12228         (rtld_hidden_tls_proto): Likewise.
12229         (libm_hidden_tls_proto): Likewise.
12230         (libresolv_hidden_tls_proto): Likewise.
12231         (librt_hidden_tls_proto): Likewise.
12232         (libdl_hidden_tls_proto): Likewise.
12233         (libnss_files_hidden_tls_proto): Likewise.
12234         (libnsl_hidden_tls_proto): Likewise.
12235         (libnss_nisplus_hidden_tls_proto): Likewise.
12236         (libutil_hidden_tls_proto): Likewise.
12238 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
12240         [BZ #10253]
12241         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12242         (decompose_rpath): Defer expansion to fillin_rpath.
12243         (_dl_init_paths): Pass linkmap to fillin_rpath.
12245 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12247         * benchtests/Makefile: Add strsep.
12248         * benchtests/bench-strsep.c: New file: strsep benchtest.
12249         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12251 2013-11-18  Andreas Schwab  <schwab@suse.de>
12253         * locale/programs/locale.c (show_info) [case byte]: Check for
12254         '\377' instead of '\177'.
12255         * locale/C-monetary.c (not_available): Always use "\377".
12256         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12257         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
12258         detect unavailable sign_posn locale elements.
12259         * locale/localeconv.c (__localeconv): For grouping and
12260         mon_grouping handle "\177" and "\377" like no grouping.
12261         (INT_ELEM): New macro.  Use it to set all numeric members.
12262         * locale/programs/ld-monetary.c (monetary_read)
12263         <tok_mon_grouping>: Normalize single -1 to the empty string.
12264         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12265         Likewise.
12267 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
12269         [BZ #16055]
12270         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12271         when we match (nil).
12272         * stdio-common/tst-sscanf.c (struct test): Add testcase.
12274 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
12276         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12277         (NO_TEST_INLINE): Update value.
12278         (ERRNO_UNCHANGED): Likewise.
12279         (ERRNO_EDOM): Likewise.
12280         (ERRNO_ERANGE): Likewise.
12281         (IGNORE_RESULT): Likewise.
12282         (check_float_internal): Check signs of NaN results if
12283         TEST_NAN_SIGN used.
12284         (check_complex): Pass TEST_NAN_SIGN flag through to second
12285         check_float_internal call.
12286         (copysign_test_data): Add tests with quiet NaNs as second
12287         argument.  Use TEST_NAN_SIGN.
12288         (fabs_test_data): Add test of negative quiet NaN argument.  Use
12289         TEST_NAN_SIGN.
12290         (signbit_test_data): Add tests of quiet NaN argument.
12291         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12293         * math/gen-libm-test.pl (show_exceptions): Take extra argument
12294         $ignore_result.
12295         (parse_args): Handle function results specified as IGNORE.
12296         * math/libm-test.inc (IGNORE_RESULT): New macro.
12297         (check_float_internal): Do not check numerical result if flag
12298         IGNORE_RESULT set.
12299         (check_complex): Pass through IGNORE_RESULT to second
12300         check_float_internal call.
12301         (check_int): Do not check numerical result if flag IGNORE_RESULT
12302         set.
12303         (check_long): Likewise.
12304         (check_bool): Likewise.
12305         (check_longlong): Likewise.
12306         (lrint_test_data): Add tests of infinite and NaN arguments.
12307         (lrint_tonearest_test_data): Likewise.
12308         (lrint_towardzero_test_data): Likewise.
12309         (lrint_downward_test_data): Likewise.
12310         (lrint_upward_test_data): Likewise.
12311         (llrint_test_data): Likewise.
12312         (llrint_tonearest_test_data): Likewise.
12313         (llrint_towardzero_test_data): Likewise.
12314         (llrint_downward_test_data): Likewise.
12315         (llrint_upward_test_data): Likewise.
12316         (lround_test_data): Likewise.
12317         (llround_test_data): Likewise.
12319         * math/libm-test.inc (NO_TEST_INLINE): New macro.
12320         (ERRNO_UNCHANGED): Update value.
12321         (ERRNO_EDOM): Likewise.
12322         (ERRNO_ERANGE): Likewise.
12323         (NO_TEST_INLINE_FLOAT): New macro.
12324         (NO_TEST_INLINE_DOUBLE): Likewise.
12325         (enable_test): New function.
12326         (RUN_TEST_f_f): Check enable_test before running test.
12327         (RUN_TEST_2_f): Likewise.
12328         (RUN_TEST_fff_f): Likewise.
12329         (RUN_TEST_c_f): Likewise.
12330         (RUN_TEST_f_f1): Likewise.
12331         (RUN_TEST_fF_f1): Likewise.
12332         (RUN_TEST_fI_f1): Likewise.
12333         (RUN_TEST_ffI_f1): Likewise.
12334         (RUN_TEST_c_c): Likewise.
12335         (RUN_TEST_cc_c): Likewise.
12336         (RUN_TEST_f_i): Likewise.
12337         (RUN_TEST_f_i_tg): Likewise.
12338         (RUN_TEST_ff_i_tg): Likewise.
12339         (RUN_TEST_f_b): Likewise.
12340         (RUN_TEST_f_b_tg): Likewise.
12341         (RUN_TEST_f_l): Likewise.
12342         (RUN_TEST_f_L): Likewise.
12343         (RUN_TEST_fFF_11): Likewise.
12344         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12345         conditionals.
12346         (cosh_test_data): Likewise.
12347         (exp_test_data): Likewise.
12348         (expm1_test_data): Likewise.
12349         (hypot_test_data): Likewise.
12350         (pow_test_data): Likewise.
12351         (sinh_test_data): Likewise.
12352         (tanh_test_data): Likewise.
12353         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12354         flags argument.
12356         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12357         tests with quiet NaN input and output.
12358         (acosh_test_data): Likewise.
12359         (asin_test_data): Likewise.
12360         (asinh_test_data): Likewise.
12361         (atan_test_data): Likewise.
12362         (atanh_test_data): Likewise.
12363         (atan2_test_data): Likewise.
12364         (cbrt_test_data): Likewise.
12365         (cos_test_data): Likewise.
12366         (cosh_test_data): Likewise.
12367         (erf_test_data): Likewise.
12368         (erfc_test_data): Likewise.
12369         (exp_test_data): Likewise.
12370         (exp10_test_data): Likewise.
12371         (exp2_test_data): Likewise.
12372         (expm1_test_data): Likewise.
12373         (hypot_test_data): Likewise.
12374         (j0_test_data): Likewise.
12375         (j1_test_data): Likewise.
12376         (jn_test_data): Likewise.
12377         (lgamma_test_data): Likewise.
12378         (log_test_data): Likewise.
12379         (log10_test_data): Likewise.
12380         (log1p_test_data): Likewise.
12381         (log2_test_data): Likewise.
12382         (pow_test_data): Likewise.
12383         (scalb_test_data): Likewise.
12384         (sin_test_data): Likewise.
12385         (sincos_test_data): Likewise.
12386         (sinh_test_data): Likewise.
12387         (tan_test_data): Likewise.
12388         (tanh_test_data): Likewise.
12389         (tgamma_test_data): Likewise.
12390         (y0_test_data): Likewise.
12391         (y1_test_data): Likewise.
12392         (yn_test_data): Likewise.
12394         [BZ #16167]
12395         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12396         argument being NaN and avoid computations with second argument in
12397         that case.
12398         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12399         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12400         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12402 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
12404         * locale/iso-639.def: Add Chitwani Tharu (the).
12406 2013-11-14  Andreas Schwab  <schwab@suse.de>
12408         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12409         word instead of empty string.
12411 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12414         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12416         (__fe_nomask_env): Likewise.
12418 2013-11-13  Steve Ellcey  <sellcey@mips.com>
12420         * benchtests/bench-timing.h: Include time.h.
12422 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
12424         [BZ #15997]
12425         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12426         to 3.4.0 for x32.
12427         * sysdeps/unix/sysv/linux/configure: Regenerated.
12429 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
12431         [BZ #16151]
12432         * stdlib/strtod_l.c (round_and_return): Do not consider
12433         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12434         exponent one less than half the least subnormal exponent.
12435         * stdlib/test-strtod-round-data: Add more tests.
12436         * stdlib/tst-strtod-round.c (tests): Regenerated.
12438 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12440         [BZ #14143]
12441         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12442         (__fe_mask_env): Likewise.
12443         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12444         libm_hidden_proto and add function prototype.
12445         (__fe_mask_env): Add function prototype.
12446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12447         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12449         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12451         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12453 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12455         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12456         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12458 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12460         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12461         of htab_find_slot().
12463 2013-11-11  David S. Miller  <davem@davemloft.net>
12465         [BZ #16150]
12466         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12467         symbol in the non-vis3 case in static builds.
12468         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12469         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12470         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12471         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12473 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
12475         [BZ #387]
12476         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12477         it is empty.
12479 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12481         * benchtests/Makefile: Add bench-strtod.
12482         * benchtests/bench-strtod.c: New file: strtod benchtest
12484 2013-11-11  Andreas Schwab  <schwab@suse.de>
12486         [BZ #16153]
12487         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12488         terminating NUL in key length.
12490 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12492         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12493         Add artificial ODP entry for vDSO symbol for PPC64.
12494         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12495         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12497 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
12499         [BZ #15374]
12500         * nss/getent.c (services_keys): Recognize services starting with digit.
12502 2013-11-06  David S. Miller  <davem@davemloft.net>
12504         [BZ #15985]
12505         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12506         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12508 2013-11-06  Will Newton  <will.newton@linaro.org>
12510         * manual/memory.texi (Malloc Examples): Remove register
12511         keyword from examples.
12513 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
12515         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12517 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
12519         [BZ #6981]
12520         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12521         depending on [__GCC_IEC_559 > 0].
12522         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12523         depending on [__GCC_IEC_559_COMPLEX > 0].
12525 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
12527         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12528         to iso-639.def.
12530 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
12532         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12534 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
12536         [BZ #16112]
12537         * malloc/malloc (malloc_info): Do not handle first bin as
12538         special case.
12540 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
12542         * locale/iso-639.def: Add Central Nahuatl (nhn).
12544 2013-11-01  Bruno Haible  <bruno@clisp.org>
12546         [BZ #7003]
12547         * manual/math.texi (BSD Random): Specify range upper bound as
12548         in POSIX.
12550 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
12552         * locale/iso-639.def: Add Meadow Mari (mhr).
12554 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
12556         [BZ #14752], [BZ #15763]
12557         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12558         Validate name.
12559         * rt/tst_shm.c: Add test for escaping directory.
12561 2013-10-31  Andreas Schwab  <schwab@suse.de>
12563         [BZ #15917]
12564         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12565         followed by 'x' as part of digit sequence.
12566         * stdio-common/tst-sscanf.c (double_tests2): New tests.
12568 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12570         [BZ #16037]
12571         * configure.ac: allow GNU Make 4.0 and greater.
12572         * configure: Regenerated.
12574 2013-10-30  Will Newton  <will.newton@linaro.org>
12576         [BZ #16038]
12577         * malloc/hooks.c (memalign_check): Limit alignment to the
12578         maximum representable power of two.
12579         * malloc/malloc.c (__libc_memalign): Likewise.
12580         * malloc/tst-memalign.c (do_test): Add test for very
12581         large alignment values.
12582         * malloc/tst-posix_memalign.c (do_test): Likewise.
12584 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
12586         [BZ #11087]
12587         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12588         (munmap_chunk): Likewise.
12589         (mremap_chunk): Likewise.
12591 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
12593         [BZ #15799]
12594         * stdlib/div.c (div): Remove obsolete code.
12595         * stdlib/ldiv.c (ldiv): Likewise.
12596         * stdlib/lldiv.c (lldiv): Likewise.
12598 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12600         [BZ #16071]
12601         * nss/nss_files/files-XXX.c (get_contents_ret): New
12602         enumerator.
12603         (get_contents): New function.
12604         (internal_getent): Use it.  Expand size of LINEBUFLEN.
12606 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
12608         * configure.in: Moved to ...
12609         * configure.ac: ... here. Change reference to configure.in
12610         to configure.ac.
12611         * sysdeps/arm/preconfigure.ac: ... here.
12612         configure.in to configure.ac.
12613         * sysdeps/gnu/configure.in: Moved to ...
12614         * sysdeps/gnu/configure.ac: ... here.
12615         * sysdeps/i386/configure.in: Moved to ...
12616         * sysdeps/i386/configure.ac: ... here.
12617         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12618         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12619         * sysdeps/mach/configure.in: Moved to ...
12620         * sysdeps/mach/configure.ac: ... here.
12621         * sysdeps/mach/hurd/configure.in: Moved to ...
12622         * sysdeps/mach/hurd/configure.ac: ... here.
12623         * sysdeps/powerpc/configure.in: Moved to ...
12624         * sysdeps/powerpc/configure.ac: ... here.
12625         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12626         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12627         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12628         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12629         * sysdeps/s390/s390-32/configure.in: Moved to ...
12630         * sysdeps/s390/s390-32/configure.ac: ... here.
12631         * sysdeps/s390/s390-64/configure.in: Moved to ...
12632         * sysdeps/s390/s390-64/configure.ac: ... here.
12633         * sysdeps/sh/configure.in: Moved to ...
12634         * sysdeps/sh/configure.ac: ... here.
12635         * sysdeps/sparc/configure.in: Moved to ...
12636         * sysdeps/sparc/configure.ac: ... here.
12637         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12638         * sysdeps/unix/sysv/linux/configure.ac: ... here.
12639         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12640         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12641         * sysdeps/x86_64/configure.in: Moved to ...
12642         * sysdeps/x86_64/configure.ac: ... here.
12643         * sysdeps/x86_64/preconfigure.in: Moved to ...
12644         * sysdeps/x86_64/preconfigure.ac: ... here.
12645         * aclocal.m4: Change reference to configure.in to configure.ac.
12646         * config.h.in: Likewise.
12647         * manual/install.texi: Likewise.
12648         * manual/maint.texi: Likewise.
12649         * Makefile: Likewise.
12650         * malloc/Makefile: Likewise.
12651         * nscd/Makefile: Likewise.
12652         * Makeconfig: Change reference to configure.in and
12653         preconfigure.in to configure.ac and preconfigure.ac
12654         respectively.
12655         * INSTALL: Regenerated.
12656         * configure: Likewise.
12657         * sysdeps/gnu/configure: Likewise.
12658         * sysdeps/i386/configure: Likewise.
12659         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12660         * sysdeps/mach/configure: Likewise.
12661         * sysdeps/mach/hurd/configure: Likewise.
12662         * sysdeps/powerpc/configure: Likewise.
12663         * sysdeps/powerpc/powerpc32/configure: Likewise.
12664         * sysdeps/powerpc/powerpc64/configure: Likewise.
12665         * sysdeps/s390/s390-32/configure: Likewise.
12666         * sysdeps/s390/s390-64/configure: Likewise.
12667         * sysdeps/sh/configure: Likewise.
12668         * sysdeps/sparc/configure: Likewise.
12669         * sysdeps/unix/sysv/linux/configure: Likewise.
12670         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12671         * sysdeps/x86_64/configure: Likewise.
12672         * sysdeps/x86_64/preconfigure: Likewise.
12674 2013-10-29  Andreas Schwab  <schwab@suse.de>
12676         * stdio-common/Makefile (tst-swscanf-ENV): Define.
12678 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12680         * benchtests/pow-inputs: Add new inputs.
12682         * benchtests/exp-inputs: Add new inputs.
12684         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12685         conditional check for return value.
12686         (__cos32): Likewise.
12688 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12690         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12691         to provide a boost for large inputs with word alignment.
12692         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12693         implementation based on optimized PPC64 strcpy.
12694         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12695         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12696         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12697         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12699 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12701         [BZ #2801]
12702         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12704 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12706         [BZ #14876]
12707         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12708         * time/tst-strptime.c (day_tests): Add testcase.
12710 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12712         [BZ #14029]
12713         * manual/pattern.texi: Acknowledge that fnmatch can fail.
12715 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
12717         [BZ #16074]
12718         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12719         MAP_FAILED on error.
12721 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12723         [BZ #16072]
12724         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12725         heap for large requests.
12727 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
12729         [BZ #9954]
12730         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12731         result if the result has no associated interface.
12732         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12733         interface for all 127.X.Y.Z addresses.
12735 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
12737         * locale/iso-639.def: Add Ligurian (lij)
12739 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
12741         [BZ #15825]
12742         * sunrpc/rpc_main.c: Document rpcgen -5.
12744 2013-10-19  Michael Stahl  <mstahl@redhat.com>
12746         * elf/rtld.c (do_preload): Print the reason why preloading failed.
12748 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
12750         [BZ #10278]
12751         * posix/glob.c: Match only directories when trailing slash is present.
12752         * posix/tst-gnuglob.c (my_opendir): Do not open files.
12753         (main): Add testcase.
12755 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
12757         [BZ #15670]
12758         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12760 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
12762         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12763         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12764         AUTH_DES and cindex for FIPS 140-2.
12765         (DES Encryption): Add cindex FIPS 46-3.
12767         * locale/locarchive.h (struct locarhandle): Add fname.
12768         * locale/programs/localedef.c (main): Pass ARGV[remaining]
12769         if an optional argument was specified to --list-archive,
12770         otherwise NULL.
12771         * locale/programs/locarchive.c (show_archive_content): Take new
12772         argument fname and pass it via ah.fname to open_archive.
12773         * locale/programs/localedef.h: Update decl.
12774         (open_archive): If AH->fname is non-null, open that file
12775         rather than the default file name, and don't ignore ENOENT.
12776         (create_archive): Set AH.fname to NULL.
12777         (delete_locales_from_archive): Likewise.
12778         (add_locales_to_archive): Likewise.
12779         * locale/programs/locfile.c (write_all_categories): Likewise.
12781 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
12782             Aldy Hernandez  <aldyh@redhat.com>
12784         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12785         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12786         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12787         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12788         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12789         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12790         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12791         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12792         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12793         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12794         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12795         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12796         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12797         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12798         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12799         Likewise.
12800         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12801         Likewise.
12802         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12803         Likewise.
12804         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12805         Likewise.
12806         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12807         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12808         Likewise.
12809         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12810         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12811         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12812         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12813         Likewise.
12814         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12815         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12816         * sysdeps/powerpc/preconfigure: Likewise.
12817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12818         Likewise.
12819         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12820         Replace contents of file by #include of <fenv_libc.h>.
12821         * sysdeps/powerpc/soft-fp/sfp-machine.h
12822         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12823         and <sys/prctl.h>.
12824         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12825         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12826         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12827         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12828         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12829         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12830         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12831         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12832         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12833         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12834         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12835         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12837         Allow copysignl PLT reference to be missing.
12839 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
12840             Joseph Myers  <joseph@codesourcery.com
12842         [BZ #15948]
12843         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12844         single character.
12845         (add_to_tablewc): Assert sequence of wide characters is nonempty.
12847 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12849         * elf/tst-tls-dlinfo.c: Don't include tls.h.
12850         * elf/tst-tls1.c: Likewise.
12851         * elf/tst-tls10.h: Likewise.
12852         * elf/tst-tls14.c: Likewise.
12853         * elf/tst-tls2.c: Likewise.
12854         * elf/tst-tls3.c: Likewise.
12855         * elf/tst-tls4.c: Likewise.
12856         * elf/tst-tls5.c: Likewise.
12857         * elf/tst-tls6.c: Likewise.
12858         * elf/tst-tls7.c: Likewise.
12859         * elf/tst-tls8.c: Likewise.
12860         * elf/tst-tls9.c: Likewise.
12861         * elf/tst-tlsmod1.c: Likewise.
12862         * elf/tst-tlsmod13.c: Likewise.
12863         * elf/tst-tlsmod13a.c: Likewise.
12864         * elf/tst-tlsmod14a.c: Likewise.
12865         * elf/tst-tlsmod16a.c: Likewise.
12866         * elf/tst-tlsmod16b.c: Likewise.
12867         * elf/tst-tlsmod2.c: Likewise.
12868         * elf/tst-tlsmod3.c: Likewise.
12869         * elf/tst-tlsmod4.c: Likewise.
12870         * elf/tst-tlsmod5.c: Likewise.
12871         * elf/tst-tlsmod6.c: Likewise.
12873 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
12875         [BZ #12486]
12876         * malloc/malloc.c: remove checks for statistics.
12878 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
12880         [BZ #15277]
12881         * inet/inet_net.c (inet_network): Detect additional invalid strings.
12882         * inet/tst-network.c: Add testcase.
12884 2013-10-17  Andreas Schwab  <schwab@suse.de>
12886         [BZ #15218]
12887         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12888         to determine canonical name.
12890 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
12892         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12893         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12894         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12895         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12896         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12897         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12898         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12899         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12900         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12901         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12902         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12903         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12904         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12905         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12906         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12907         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12908         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12909         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12910         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12911         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12912         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12913         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12914         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12915         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12916         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12917         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12918         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12919         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12920         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12921         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12922         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12923         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12924         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12925         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12926         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12927         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12928         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12929         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12930         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12931         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12932         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12933         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12934         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12935         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12936         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12937         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12938         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12939         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12940         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12941         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12942         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12943         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12944         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12945         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12946         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12947         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12948         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12949         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12951 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
12953         [BZ #16041]
12954         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12955         make result into a quiet NaN.
12957 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
12959         * soft-fp/adddf3.c: Fix horizontal whitespace.
12960         * soft-fp/addsf3.c: Likewise.
12961         * soft-fp/addtf3.c: Likewise.
12962         * soft-fp/divdf3.c: Likewise.
12963         * soft-fp/divsf3.c: Likewise.
12964         * soft-fp/divtf3.c: Likewise.
12965         * soft-fp/double.h: Likewise.
12966         * soft-fp/eqdf2.c: Likewise.
12967         * soft-fp/eqsf2.c: Likewise.
12968         * soft-fp/eqtf2.c: Likewise.
12969         * soft-fp/extenddftf2.c: Likewise.
12970         * soft-fp/extended.h: Likewise.
12971         * soft-fp/extendsfdf2.c: Likewise.
12972         * soft-fp/extendsftf2.c: Likewise.
12973         * soft-fp/extendxftf2.c: Likewise.
12974         * soft-fp/fixdfdi.c: Likewise.
12975         * soft-fp/fixdfsi.c: Likewise.
12976         * soft-fp/fixdfti.c: Likewise.
12977         * soft-fp/fixsfdi.c: Likewise.
12978         * soft-fp/fixsfsi.c: Likewise.
12979         * soft-fp/fixsfti.c: Likewise.
12980         * soft-fp/fixtfdi.c: Likewise.
12981         * soft-fp/fixtfsi.c: Likewise.
12982         * soft-fp/fixtfti.c: Likewise.
12983         * soft-fp/fixunsdfdi.c: Likewise.
12984         * soft-fp/fixunsdfsi.c: Likewise.
12985         * soft-fp/fixunsdfti.c: Likewise.
12986         * soft-fp/fixunssfdi.c: Likewise.
12987         * soft-fp/fixunssfsi.c: Likewise.
12988         * soft-fp/fixunssfti.c: Likewise.
12989         * soft-fp/fixunstfdi.c: Likewise.
12990         * soft-fp/fixunstfsi.c: Likewise.
12991         * soft-fp/fixunstfti.c: Likewise.
12992         * soft-fp/floatdidf.c: Likewise.
12993         * soft-fp/floatdisf.c: Likewise.
12994         * soft-fp/floatditf.c: Likewise.
12995         * soft-fp/floatsidf.c: Likewise.
12996         * soft-fp/floatsisf.c: Likewise.
12997         * soft-fp/floatsitf.c: Likewise.
12998         * soft-fp/floattidf.c: Likewise.
12999         * soft-fp/floattisf.c: Likewise.
13000         * soft-fp/floattitf.c: Likewise.
13001         * soft-fp/floatundidf.c: Likewise.
13002         * soft-fp/floatundisf.c: Likewise.
13003         * soft-fp/floatunditf.c: Likewise.
13004         * soft-fp/floatunsidf.c: Likewise.
13005         * soft-fp/floatunsisf.c: Likewise.
13006         * soft-fp/floatunsitf.c: Likewise.
13007         * soft-fp/floatuntidf.c: Likewise.
13008         * soft-fp/floatuntisf.c: Likewise.
13009         * soft-fp/floatuntitf.c: Likewise.
13010         * soft-fp/fmadf4.c: Likewise.
13011         * soft-fp/fmasf4.c: Likewise.
13012         * soft-fp/fmatf4.c: Likewise.
13013         * soft-fp/gedf2.c: Likewise.
13014         * soft-fp/gesf2.c: Likewise.
13015         * soft-fp/getf2.c: Likewise.
13016         * soft-fp/ledf2.c: Likewise.
13017         * soft-fp/lesf2.c: Likewise.
13018         * soft-fp/letf2.c: Likewise.
13019         * soft-fp/muldf3.c: Likewise.
13020         * soft-fp/mulsf3.c: Likewise.
13021         * soft-fp/multf3.c: Likewise.
13022         * soft-fp/negdf2.c: Likewise.
13023         * soft-fp/negsf2.c: Likewise.
13024         * soft-fp/negtf2.c: Likewise.
13025         * soft-fp/op-1.h: Likewise.
13026         * soft-fp/op-2.h: Likewise.
13027         * soft-fp/op-4.h: Likewise.
13028         * soft-fp/op-8.h: Likewise.
13029         * soft-fp/op-common.h: Likewise.
13030         * soft-fp/quad.h: Likewise.
13031         * soft-fp/single.h: Likewise.
13032         * soft-fp/soft-fp.h: Likewise.
13033         * soft-fp/sqrtdf2.c: Likewise.
13034         * soft-fp/sqrtsf2.c: Likewise.
13035         * soft-fp/sqrttf2.c: Likewise.
13036         * soft-fp/subdf3.c: Likewise.
13037         * soft-fp/subsf3.c: Likewise.
13038         * soft-fp/subtf3.c: Likewise.
13039         * soft-fp/truncdfsf2.c: Likewise.
13040         * soft-fp/trunctfdf2.c: Likewise.
13041         * soft-fp/trunctfsf2.c: Likewise.
13042         * soft-fp/trunctfxf2.c: Likewise.
13043         * soft-fp/unorddf2.c: Likewise.
13044         * soft-fp/unordsf2.c: Likewise.
13045         * soft-fp/unordtf2.c: Likewise.
13047 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
13049         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13050         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13052 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
13054         * elf/dl-libc.c: Clear initfini list after freeing.
13056 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
13058         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13059         * soft-fp/addsf3.c: Likewise.
13060         * soft-fp/addtf3.c: Likewise.
13061         * soft-fp/divdf3.c: Likewise.
13062         * soft-fp/divsf3.c: Likewise.
13063         * soft-fp/divtf3.c: Likewise.
13064         * soft-fp/double.h: Likewise.
13065         * soft-fp/eqdf2.c: Likewise.
13066         * soft-fp/eqsf2.c: Likewise.
13067         * soft-fp/eqtf2.c: Likewise.
13068         * soft-fp/extenddftf2.c: Likewise.
13069         * soft-fp/extended.h: Likewise.
13070         * soft-fp/extendsfdf2.c: Likewise.
13071         * soft-fp/extendsftf2.c: Likewise.
13072         * soft-fp/extendxftf2.c: Likewise.
13073         * soft-fp/fixdfdi.c: Likewise.
13074         * soft-fp/fixdfsi.c: Likewise.
13075         * soft-fp/fixdfti.c: Likewise.
13076         * soft-fp/fixsfdi.c: Likewise.
13077         * soft-fp/fixsfsi.c: Likewise.
13078         * soft-fp/fixsfti.c: Likewise.
13079         * soft-fp/fixtfdi.c: Likewise.
13080         * soft-fp/fixtfsi.c: Likewise.
13081         * soft-fp/fixtfti.c: Likewise.
13082         * soft-fp/fixunsdfdi.c: Likewise.
13083         * soft-fp/fixunsdfsi.c: Likewise.
13084         * soft-fp/fixunsdfti.c: Likewise.
13085         * soft-fp/fixunssfdi.c: Likewise.
13086         * soft-fp/fixunssfsi.c: Likewise.
13087         * soft-fp/fixunssfti.c: Likewise.
13088         * soft-fp/fixunstfdi.c: Likewise.
13089         * soft-fp/fixunstfsi.c: Likewise.
13090         * soft-fp/fixunstfti.c: Likewise.
13091         * soft-fp/floatdidf.c: Likewise.
13092         * soft-fp/floatdisf.c: Likewise.
13093         * soft-fp/floatditf.c: Likewise.
13094         * soft-fp/floatsidf.c: Likewise.
13095         * soft-fp/floatsisf.c: Likewise.
13096         * soft-fp/floatsitf.c: Likewise.
13097         * soft-fp/floattidf.c: Likewise.
13098         * soft-fp/floattisf.c: Likewise.
13099         * soft-fp/floattitf.c: Likewise.
13100         * soft-fp/floatundidf.c: Likewise.
13101         * soft-fp/floatundisf.c: Likewise.
13102         * soft-fp/floatunsidf.c: Likewise.
13103         * soft-fp/floatunsisf.c: Likewise.
13104         * soft-fp/floatuntidf.c: Likewise.
13105         * soft-fp/floatuntisf.c: Likewise.
13106         * soft-fp/floatuntitf.c: Likewise.
13107         * soft-fp/fmadf4.c: Likewise.
13108         * soft-fp/fmasf4.c: Likewise.
13109         * soft-fp/fmatf4.c: Likewise.
13110         * soft-fp/gedf2.c: Likewise.
13111         * soft-fp/gesf2.c: Likewise.
13112         * soft-fp/getf2.c: Likewise.
13113         * soft-fp/ledf2.c: Likewise.
13114         * soft-fp/lesf2.c: Likewise.
13115         * soft-fp/letf2.c: Likewise.
13116         * soft-fp/muldf3.c: Likewise.
13117         * soft-fp/mulsf3.c: Likewise.
13118         * soft-fp/multf3.c: Likewise.
13119         * soft-fp/negdf2.c: Likewise.
13120         * soft-fp/negsf2.c: Likewise.
13121         * soft-fp/negtf2.c: Likewise.
13122         * soft-fp/op-1.h: Likewise.
13123         * soft-fp/op-2.h: Likewise.
13124         * soft-fp/op-4.h: Likewise.
13125         * soft-fp/op-8.h: Likewise.
13126         * soft-fp/op-common.h: Likewise.
13127         * soft-fp/quad.h: Likewise.
13128         * soft-fp/single.h: Likewise.
13129         * soft-fp/soft-fp.h: Likewise.
13130         * soft-fp/sqrtdf2.c: Likewise.
13131         * soft-fp/sqrtsf2.c: Likewise.
13132         * soft-fp/sqrttf2.c: Likewise.
13133         * soft-fp/subdf3.c: Likewise.
13134         * soft-fp/subsf3.c: Likewise.
13135         * soft-fp/subtf3.c: Likewise.
13136         * soft-fp/truncdfsf2.c: Likewise.
13137         * soft-fp/trunctfdf2.c: Likewise.
13138         * soft-fp/trunctfsf2.c: Likewise.
13139         * soft-fp/trunctfxf2.c: Likewise.
13140         * soft-fp/unorddf2.c: Likewise.
13141         * soft-fp/unordsf2.c: Likewise.
13142         * soft-fp/unordtf2.c: Likewise.
13144 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
13146         [BZ #15672]
13147         * misc/error.c (error_tail): Fix possible buffer overflow.
13149 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
13151         [BZ #13028]
13152         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13153         address.
13155 2013-10-14  P. J. McDermott  <pj@pehjota.net>
13157         [BZ #832]
13158         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
13159         testing pipefail option.
13161 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13163         * soft-fp/double.h: Indent preprocessor directives inside #if.
13164         * soft-fp/extended.h: Likewise.
13165         * soft-fp/op-2.h: Likewise.
13166         * soft-fp/op-4.h: Likewise.
13167         * soft-fp/op-common.h: Likewise.
13168         * soft-fp/quad.h: Likewise.
13169         * soft-fp/single.h: Likewise.
13170         * soft-fp/soft-fp.h: Likewise.
13172 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
13174         * iconv/iconv_prog.c: Fix typos.
13175         * stdio-common/psiginfo-data.h: Likewise.
13177 2013-10-12   Reuben Thomas <rrt@sc3d.org>
13179         [BZ #15764]
13180         * locale/setlocale.c: Fix typo.
13182 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13184         [BZ #16036]
13185         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13186         signaling NaN arguments.
13187         * soft-fp/unordsf2.c (__unordsf2): Likewise.
13188         * soft-fp/unordtf2.c (__unordtf2): Likewise.
13190         [BZ #14910]
13191         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13192         unordered operands.
13193         * soft-fp/gesf2.c (__gesf2): Likewise.
13194         * soft-fp/getf2.c (__getf2): Likewise.
13195         * soft-fp/ledf2.c (__ledf2): Likewise.
13196         * soft-fp/lesf2.c (__lesf2): Likewise.
13197         * soft-fp/letf2.c (__letf2): Likewise.
13199         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13200         * soft-fp/eqsf2.c (__eqsf2): Likewise.
13201         * soft-fp/eqtf2.c (__eqtf2): Likewise.
13202         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13203         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13204         * soft-fp/fixdfti.c (__fixdfti): Likewise.
13205         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13206         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13207         * soft-fp/fixsfti.c (__fixsfti): Likewise.
13208         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13209         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13210         * soft-fp/fixtfti.c (__fixtfti): Likewise.
13211         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13212         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13213         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13214         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13215         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13216         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13217         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13218         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13219         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13220         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13221         * soft-fp/floatdisf.c (__floatdisf): Likewise.
13222         * soft-fp/floatsisf.c (__floatsisf): Likewise.
13223         * soft-fp/floattidf.c (__floattidf): Likewise.
13224         * soft-fp/floattisf.c (__floattisf): Likewise.
13225         * soft-fp/floattitf.c (__floattitf): Likewise.
13226         * soft-fp/floatundidf.c (__floatundidf): Likewise.
13227         * soft-fp/floatundisf.c (__floatundisf): Likewise.
13228         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13229         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13230         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13231         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13232         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13233         * soft-fp/gesf2.c (__gesf2): Likewise.
13234         * soft-fp/getf2.c (__getf2): Likewise.
13235         * soft-fp/ledf2.c (__ledf2): Likewise.
13236         * soft-fp/lesf2.c (__lesf2): Likewise.
13237         * soft-fp/letf2.c (__letf2): Likewise.
13239         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13240         Undefine and redefine.
13241         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13242         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13243         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13244         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13245         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13246         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13247         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13248         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13249         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13250         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13251         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13252         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13253         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13254         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13255         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13257         [BZ #16032]
13258         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13259         without decrementing exponent if mantissa >= that for the
13260         denominator, not >.
13261         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13262         denominator, not >.  Decrement exponent in < case instead of
13263         incrementing in >= case.
13264         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13265         without decrementing exponent if mantissa >= that for the
13266         denominator, not >.
13268         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13269         computing saturated result for unsigned overflow.
13271 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13272             Jeff Law  <law@redhat.com>
13274         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13275         (atan2Mp): Add systemtap probe marker.
13276         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13277         (__ieee754_log): Add systemtap probe marker.
13278         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13279         (atanMp): Add systemtap probe marker.
13280         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13281         (tanMp): Add systemtap probe marker.
13282         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13283         (__slowexp): Add systemtap probe marker.
13284         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13285         (__slowpow): Add systemtap probe marker.
13286         * manual/probes.texi: Document probes.
13288 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
13290         [BZ #15362]
13291         * libio/fileops.c (_IO_new_file_write): Return count of bytes
13292         written.
13293         (_IO_new_file_xsputn): Don't return EOF if nothing has been
13294         written.
13295         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13296         written to buffer but not flushed.
13297         * libio/iofwrite_u.c:  Likewise.
13298         * libio/iopadn.c:  Return bytes returned even if EOF was
13299         encountered.
13300         * libio/iowpadn.c:  Likewise.
13301         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13302         if _IO_padn does not write the whole buffer.
13303         [!COMPILE_WPRINTF] (PAD): Likewise.
13305 2013-10-10  David S. Miller  <davem@davemloft.net>
13307         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13308         directory block.
13310 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13312         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
13313         instead of FSF address.
13314         * soft-fp/fixdfti.c: Likewise.
13315         * soft-fp/fixsfti.c: Likewise.
13316         * soft-fp/fixtfti.c: Likewise.
13317         * soft-fp/fixunsdfti.c: Likewise.
13318         * soft-fp/fixunssfti.c: Likewise.
13319         * soft-fp/fixunstfti.c: Likewise.
13320         * soft-fp/floattidf.c: Likewise.
13321         * soft-fp/floattisf.c: Likewise.
13322         * soft-fp/floattitf.c: Likewise.
13323         * soft-fp/floatuntidf.c: Likewise.
13324         * soft-fp/floatuntisf.c: Likewise.
13325         * soft-fp/floatuntitf.c: Likewise.
13326         * soft-fp/trunctfxf2.c: Likewise.
13328         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
13329         * soft-fp/fixdfti.c: Likewise.
13330         * soft-fp/fixsfti.c: Likewise.
13331         * soft-fp/fixtfti.c: Likewise.
13332         * soft-fp/fixunsdfti.c: Likewise.
13333         * soft-fp/fixunssfti.c: Likewise.
13334         * soft-fp/fixunstfti.c: Likewise.
13335         * soft-fp/floattidf.c: Likewise.
13336         * soft-fp/floattisf.c: Likewise.
13337         * soft-fp/floattitf.c: Likewise.
13338         * soft-fp/floatuntidf.c: Likewise.
13339         * soft-fp/floatuntisf.c: Likewise.
13340         * soft-fp/floatuntitf.c: Likewise.
13341         * soft-fp/trunctfxf2.c: Likewise.
13343 2013-10-10  David S. Miller  <davem@davemloft.net>
13345         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13347 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
13349         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13350         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13351         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13352         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13353         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13354         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13355         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13357         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13358         for NaNs before doing comparisons on argument.
13359         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13360         Likewise.
13362 2013-10-10  Will Newton  <will.newton@linaro.org>
13364         * malloc/hooks.c (memalign_check): Ensure the value of bytes
13365         passed to _int_memalign does not overflow.
13367 2013-10-10  Torvald Riegel  <triegel@redhat.com>
13369         * scripts/bench.pl: Add include-sources directive.
13370         * benchtests/README: Update documentation.
13372 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13374         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13375         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13376         instead of FP_INIT_ROUNDMODE.
13377         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13378         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13380         [BZ #16034]
13381         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
13382         copy class of input value.
13383         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
13384         not handle exceptions.
13385         * soft-fp/negsf2.c (__negsf2): Likewise.
13386         * soft-fp/negtf2.c (__negtf2): Likewise.
13387         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13389 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
13391         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13392         semicolon.  From Linux kernel.
13394 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
13396         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13398 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
13400         [BZ #156]
13401         * manual/socket.texi: Added statement about buffer
13402         for gethostbyname2_r.
13404 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
13406         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13407         Use .p2align directive instead, throughout.
13408         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13409         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13410         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13411         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13412         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13413         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13414         * sysdeps/x86_64/strchr.S: Likewise.
13415         * sysdeps/x86_64/strrchr.S: Likewise.
13417 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13419         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13421         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13423         * sysdeps/generic/math_private.h (__mpsin1): Remove
13424         declaration.
13425         (__mpcos1): Likewise.
13426         (__mpsin): New argument __range_reduce.
13427         (__mpcos): Likewise.
13428         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13429         (slow): Use __mpsin and __mpcos.
13430         (slow1): Likewise.
13431         (slow2): Likewise.
13432         (sloww): Likewise.
13433         (sloww1): Likewise.
13434         (sloww2): Likewise.
13435         (bsloww): Likewise.
13436         (bsloww1): Likewise.
13437         (bsloww2): Likewise.
13438         (cslow2): Likewise.
13439         (csloww): Likewise.
13440         (csloww1): Likewise.
13441         (csloww2): Likewise.
13442         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13443         range_reduce.  Merge in __mpsin1.
13444         (__mpcos): Likewise.
13445         (__mpsin1): Remove.
13446         (__mpcos1): Likewise.
13448 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
13450         * locale/loadlocale.c (_nl_intern_locale_data): Use
13451         LOCFILE_ALIGNED_P.
13452         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13453         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13454         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13455         obstack data is appropriately aligned.
13456         (obstack_int32_grow_fast): Likewise.
13457         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13458         * locale/programs/locfile.c (add_locale_uint32): Likewise.
13459         (add_locale_uint32_array): Likewise.
13461 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
13463         * benchtests/Makefile: Remove ARGLIST and RET variables.
13464         ($(objpfx)bench-%.c): Pass only function name to the script.
13465         * benchtests/README: Update documentation.
13466         * benchtests/acos-inputs: Add new directives.
13467         * benchtests/acosh-inputs: Likewise.
13468         * benchtests/asin-inputs: Likewise.
13469         * benchtests/asinh-inputs: Likewise.
13470         * benchtests/atan-inputs: Likewise.
13471         * benchtests/atanh-inputs: Likewise.
13472         * benchtests/cos-inputs: Likewise.
13473         * benchtests/cosh-inputs: Likewise.
13474         * benchtests/exp-inputs: Likewise.
13475         * benchtests/log-inputs: Likewise.
13476         * benchtests/pow-inputs: Likewise.
13477         * benchtests/rint-inputs: Likewise.
13478         * benchtests/sin-inputs: Likewise.
13479         * benchtests/sinh-inputs: Likewise.
13480         * benchtests/tan-inputs: Likewise.
13481         * benchtests/tanh-inputs: Likewise.
13482         * scripts/bench.pl: Add support for new directives.
13484 2013-10-07  Alan Modra  <amodra@gmail.com>
13486         * README: Fix careless merge.
13488 2013-10-05  Alan Modra  <amodra@gmail.com>
13490         * NEWS: Mention powerpc64le support and bugs fixed.
13491         * README: Both big-endian and little-endian powerpc64 supported.
13493 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13495         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13496         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13497         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13498         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13500 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
13502         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13503         match prototype.
13505 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
13507         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13508         Move -mhard-float appending from
13509         ports/sysdeps/powerpc/powerpc32/Makefile.
13510         [$(with-fp) = yes] (ASFLAGS): Likewise.
13511         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13512         * sysdeps/powerpc/nofpu: Move directory from
13513         ports/sysdeps/powerpc/nofpu.
13514         * sysdeps/powerpc/soft-fp: Move directory from
13515         ports/sysdeps/powerpc/soft-fp.
13516         * sysdeps/powerpc/powerpc32/405: Move directory from
13517         ports/sysdeps/powerpc/powerpc32/405.
13518         * sysdeps/powerpc/powerpc32/440: Move directory from
13519         ports/sysdeps/powerpc/powerpc32/440.
13520         * sysdeps/powerpc/powerpc32/464: Move directory from
13521         ports/sysdeps/powerpc/powerpc32/464.
13522         * sysdeps/powerpc/powerpc32/476: Move directory from
13523         ports/sysdeps/powerpc/powerpc32/476.
13524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13525         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13527         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13529         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13531         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13533         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13534         * README: Update for powerpc-*-linux-gnu software floating point
13535         support in libc.
13537         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13538         case to powerpc/powerpc32*.
13539         * sysdeps/unix/sysv/linux/configure: Regenerated.
13541         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13542         (_FPU_MASK_OM): Define as 0x04.
13543         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13544         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13545         0x00c10080.
13546         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13547         0x0000003c.
13548         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13551         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13552         getcontext_e500.
13553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13554         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13555         setcontext_e500.
13556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13557         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13558         and setcontext_e500.
13560 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
13562         * locale/iso-3166.def: Update iso-1366.def and related occurrences
13564 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13566         * manual/threads.texi (Default Thread Attributes): Fix typo.
13568 2013-10-04  Will Newton  <will.newton@linaro.org>
13570         * malloc/Makefile: Add tst-memalign.
13571         * malloc/tst-memalign.c: New file.
13573         * malloc/tst-posix_memalign.c: Add comments.
13574         (do_test): Add comments and call free on all potentially
13575         allocated pointers. Add space after cast.
13577         * malloc/tst-pvalloc.c: Add comments.
13578         (do_test): Add comments and call free on all potentially
13579         allocated pointers. Remove duplicate check for NULL pointer.
13580         Add space after cast.
13582         * malloc/tst-valloc.c: Add comments.
13583         (do_test): Add comments and call free on all potentially
13584         allocated pointers. Remove duplicate check for NULL pointer.
13585         Add space after cast.
13587 2013-10-04  Alan Modra  <amodra@gmail.com>
13589         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13590         Use stdint types in rather than __attribute__((mode())).
13591         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13593 2013-10-04  Alan Modra  <amodra@gmail.com>
13595         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13596         Correct handling of unaligned relocs for little-endian.
13597         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13599 2013-10-04  Alan Modra  <amodra@gmail.com>
13601         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13602         * configure: Regenerate.
13603         * nptl/shlib-versions: Powerpc*le starts at 2.18.
13604         * shlib-versions: Likewise.
13606 2013-10-04  Alan Modra  <amodra@gmail.com>
13608         * string/tester.c (test_memrchr): Increment reported test cycle.
13610 2013-10-04  Alan Modra  <amodra@gmail.com>
13612         * string/test-memcpy.c (do_one_test): When reporting errors, print
13613         string address and don't overrun end of string.
13615 2013-10-04  Alan Modra  <amodra@gmail.com>
13617         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13618         insrdi.  Make better use of reg selection to speed exit slightly.
13619         Schedule entry path a little better.  Remove useless "are we done"
13620         checks on entry to main loop.  Handle wrapping around zero address.
13621         Correct main loop count.  Handle single left-over word from main
13622         loop inline rather than by using loop_small.  Remove extra word
13623         case in loop_small caused by wrong loop count.  Add little-endian
13624         support.
13625         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13626         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
13627         cache hint.
13628         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13629         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13630         support.  Avoid rlwimi.
13631         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13633 2013-10-04  Alan Modra  <amodra@gmail.com>
13635         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13636         insrdi.  Formatting.
13637         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13638         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13639         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13640         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13641         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13642         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13644 2013-10-04  Alan Modra  <amodra@gmail.com>
13646         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13647         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13648         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13649         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13650         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13651         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13652         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13653         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13654         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
13655         use of regs.  Use power7 mtocrf.  Tidy function tails.
13657 2013-10-04  Alan Modra  <amodra@gmail.com>
13659         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13660         Formatting.  Consistently use rXXX register defines or rN defines.
13661         Use early exit labels that avoid restoring unused non-volatile regs.
13662         Make cr field use more consistent with rWORDn compares.  Rename
13663         regs used as shift registers for unaligned loop, using rN defines
13664         for short lifetime/multiple use regs.
13665         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13666         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
13667         addi 1,1,64 to pop stack frame.  Simplify return value code.
13668         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13670 2013-10-04  Alan Modra  <amodra@gmail.com>
13672         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13673         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
13674         rather than rlwimi.
13675         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13676         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13677         little-endian support.  Correct typos.
13678         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
13679         rather than rlwimi.
13680         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
13681         in loop and entry code to keep "and." results.
13682         (strchr): Add little-endian support.  Comment.  Move cntlzd
13683         earlier in tail.
13684         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13686 2013-10-04  Alan Modra  <amodra@gmail.com>
13688         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13689         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13690         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13691         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13693 2013-10-04  Alan Modra  <amodra@gmail.com>
13695         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13696         (rTMP): Define as r11.
13697         (strcmp): Add little-endian support.  Optimise tail.
13698         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13699         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13700         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13701         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13702         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13703         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13704         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13706 2013-10-04  Alan Modra  <amodra@gmail.com>
13708         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13709         little-endian support.  Remove unnecessary "are we done" tests.
13710         Handle "s" wrapping around zero and extremely large "size".
13711         Correct main loop count.  Handle single left-over word from main
13712         loop inline rather than by using small_loop.  Correct comments.
13713         Delete "zero" tail, use "end_max" instead.
13714         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13716 2013-10-04  Alan Modra  <amodra@gmail.com>
13718         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13719         support.  Don't branch over align.
13720         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13721         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13722         support.  Rearrange tmp reg use to suit.  Comment.
13723         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13725 2013-10-04  Alan Modra  <amodra@gmail.com>
13727         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13729 2013-10-04  Alan Modra  <amodra@gmail.com>
13731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13732         conditional form of branch and link when obtaining pc.
13733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13735 2013-10-04  Alan Modra  <amodra@gmail.com>
13737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13738         HIWORD/LOWORD.
13739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13742 2013-10-04  Alan Modra  <amodra@gmail.com>
13744         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13745         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13746         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13747         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13748         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13749         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13750         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13751         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13752         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13753         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13755 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13756             Alistair Popple <alistair@ozlabs.au.ibm.com>
13757             Alan Modra <amodra@gmail.com>
13759         [BZ #15723]
13760         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13761         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13762         _dl_hwcap access for little-endian.
13763         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
13764         destroy vmx regs when saving unaligned.
13765         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13766         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
13767         destroy vmx regs when saving unaligned.
13769 2013-10-04  Alan Modra  <amodra@gmail.com>
13771         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13772         Don't use a union to pack hi/low value.
13774 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13776         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13777         for little-endian.
13778         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13779         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13780         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13781         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13782         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13784 2013-10-04  Alan Modra  <amodra@gmail.com>
13786         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13787         constants to usual value for .cst8 section, and remove redundant
13788         high address load.
13789         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13790         constant for 0x1p52.  Load little-endian words of double from
13791         correct stack offsets.
13793 2013-10-04  Alan Modra  <amodra@gmail.com>
13795         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13796         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13797         words of double from correct stack offsets.
13798         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13799         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13800         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13801         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13802         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13803         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13804         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13805         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13806         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13807         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13808         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13809         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13810         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13811         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13812         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13813         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13814         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13816 2013-10-04  Alan Modra  <amodra@gmail.com>
13818         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13819         64-bit int/double union.
13820         (_FPU_SETCW): Likewise.
13821         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13822         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13824 2013-10-04  Alan Modra  <amodra@gmail.com>
13826         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13827         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13829 2013-10-04  Alan Modra  <amodra@gmail.com>
13831         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13832         use vector int constants.
13833         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13835 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13837         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13838         array with long long.
13839         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13840         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13841         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13842         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13843         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13844         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13845         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13846         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13847         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13848         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13849         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13850         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13851         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13853 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13855         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13856         (__signbit): Likewise.  Correct for little-endian.
13857         (__signbitl): Call __signbit.
13858         (lrint): Correct for little-endian.
13859         (lrintf): Call lrint.
13861 2013-10-04  Alan Modra  <amodra@gmail.com>
13863         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13864         union 32-bit int array member with 64-bit int array.
13865         (t515, tm256): Double rather than long double.
13866         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13868 2013-10-04  Alan Modra  <amodra@gmail.com>
13870         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13871         Delete.
13872         (IEEE854_LONG_DOUBLE_BIAS): Delete.
13873         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13874         version of math_ldbl.h.
13876 2013-10-04  Alan Modra  <amodra@gmail.com>
13878         [BZ #15734], [BZ #15735]
13879         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13880         all uses of ieee875 long double macros and unions.  Simplify test
13881         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
13882         ldbl_extract_mantissa value for ix,iy exponents.  Properly
13883         normalize after ldbl_extract_mantissa, and don't add hidden bit
13884         already handled.  Don't treat low word of ieee854 mantissa like
13885         low word of IBM long double and mask off bit when testing for
13886         zero.
13887         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13888         all uses of ieee875 long double macros and unions.  Simplify tests
13889         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
13890         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
13891         two1022, instead use their values.  Recognise that tests for large
13892         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
13893         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13894         Rewrite all uses of ieee875 long double macros and unions.  Simplify
13895         test for 0.0L and nan.  Correct negation.
13896         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13897         ieee875 long double macros and unions.  Correct output for large
13898         magnitude x.  Correct absolute value calculation.
13899         (__erfcl): Likewise.
13900         * math/libm-test.inc: Add tests for errors discovered in IBM long
13901         double versions of fmodl, remainderl, erfl and erfcl.
13903 2013-10-04  Alan Modra  <amodra@gmail.com>
13905         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13906         all uses of ieee854 long double macros and unions.  Simplify tests
13907         for long doubles that are fully specified by the high double.
13908         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13909         Likewise.
13910         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13911         Remove dead code too.
13912         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13913         (__ieee754_ynl): Likewise.
13914         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13915         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13916         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13917         Remove dead code too.
13918         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13919         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13920         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13921         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13922         Simplify.
13923         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13924         Simplify.
13925         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13926         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13927         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13928         Comment on variable precision.
13929         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13930         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13931         Likewise.
13932         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13933         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13934         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13935         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13936         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13938 2013-10-04  Alan Modra  <amodra@gmail.com>
13940         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13941         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13942         all uses of ieee854 long double macros and unions.
13943         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13944         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13945         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13946         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13947         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13948         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13949         Likewise.
13950         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13951         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13952         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13953         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13954         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13955         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13956         Simplify sign and nan test too.
13957         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13958         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13959         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13960         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13961         Likewise.
13962         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13963         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13964         Likewise.
13965         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13966         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13967         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13968         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13969         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13970         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13972 2013-10-04  Alan Modra  <amodra@gmail.com>
13974         * stdio-common/printf_size.c (__printf_size): Don't use
13975         union ieee854_long_double in fpnum union.
13976         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
13977         signbit macro to retrieve sign from long double.
13978         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13979         retrieve sign from long double.
13980         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13981         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13982         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13983         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13984         * math/test-misc.c (main): Don't use union ieee854_long_double.
13986 2013-10-04  Alan Modra  <amodra@gmail.com>
13988         [BZ #15680]
13989         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13990         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13991         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13992         calculation.  Remove unnecessary test for denormal exponent.
13993         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13994         Correct handling of denormals.  Avoid undefined shift behaviour.
13995         Correct normalisation of low mantissa when low double is denormal.
13996         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13997         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
13998         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13999         Correct normalisation of low mantissa.  Test for overflow of high
14000         mantissa and normalise.
14001         (ldbl_nearbyint): Use more readable constant for two52.
14002         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14003         (__mpn_construct_long_double): Fix test for overflow of high
14004         mantissa and correct normalisation.  Avoid undefined shift.
14006 2013-10-04  Alan Modra  <amodra@gmail.com>
14008         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14009         (union ibm_extended_long_double): Define as an array of ieee754_double.
14010         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14011         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14012         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14013         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14014         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14015         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14016         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14017         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14018         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14019         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14020         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14022 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
14024         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14025         page size instead of calling getpagesize.
14027         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14028         (LOCFILE_ALIGN_MASK): Likewise.
14029         (LOCFILE_ALIGN_UP): Likewise.
14030         (LOCFILE_ALIGNED_P): Likewise.
14031         * locale/programs/ld-collate.c (collate_output): Use the new
14032         macros instead of __alignof__ (int32_t).
14033         * locale/weight.h (findidx): Likewise.
14035 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
14037         [BZ #431]
14038         * manual/string.texi: Fix strncat and wcsncat.
14040 2013-10-03  Brooks Moses  <bmoses@google.com>
14042         [BZ #15915]
14043         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14044         * Makerules: ...here, and adjust associated comments.
14046 2013-10-02  Will Newton  <will.newton@linaro.org>
14048         * malloc/Makefile: Add tst-pvalloc.
14049         * malloc/tst-pvalloc.c: New file.
14051 2013-10-02  Will Newton  <will.newton@linaro.org>
14053         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14054         improve test coverage.
14056 2013-10-02  Will Newton  <will.newton@linaro.org>
14058         * malloc/Makefile: Add tst-posix_memalign.
14059         * malloc/tst-posix_memalign.c: New file.
14061 2013-10-01  Eric Blake  <eblake@redhat.com>
14063         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14064         Use __THROWNL rather than __THROW on static functions.
14066 2013-09-30  Petr Machata  <pmachata@redhat.com>
14068         * elf/elf.h (R_AARCH64_ABS16): New macro.
14069         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14070         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14071         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14072         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14073         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14074         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14075         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14076         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14077         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14078         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14079         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14080         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14081         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14082         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14083         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14084         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14085         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14086         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14087         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14088         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14089         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14090         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14091         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14092         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14093         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14094         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14095         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14096         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14097         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14098         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14099         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14100         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14101         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14102         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14103         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14104         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14105         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14106         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14107         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14108         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14109         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14110         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14111         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14112         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14113         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14114         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14115         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14116         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14117         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14118         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14119         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14120         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14121         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14122         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14123         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14124         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14125         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14126         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14127         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14128         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14129         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14130         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14131         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14132         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14133         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14134         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14135         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14136         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14137         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14138         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14139         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14140         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14141         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14142         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14143         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14144         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14145         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14146         (R_AARCH64_TLSDESC_LDR): Likewise.
14147         (R_AARCH64_TLSDESC_ADD): Likewise.
14148         (R_AARCH64_TLSDESC_CALL): Likewise.
14150 2013-09-30  Andreas Schwab  <schwab@suse.de>
14152         [BZ #15048]
14153         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14154         the nss database lookup.
14155         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14156         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14158 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
14160         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14162 2013-09-28  P. J. McDermott  <pj@pehjota.net>
14164         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14165         ${Bash-specific parameter/pattern/string} parameter expansion.
14166         * sysdeps/unix/make-syscalls.sh: Likewise.
14168 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14170         * sysdeps/sh/stackguard-macros.h: New file.
14172 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
14174         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14175         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14176         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14177         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14178         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14179         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14181 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14183         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14184         Fix thread ID register.
14186 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
14188         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14189         [POSIX || UNIX98]: Require rather than permitting all symbols from
14190         <time.h>.
14191         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14192         element of struct sched_param.
14193         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14194         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14195         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14196         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14197         constant.
14199 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
14201         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14202         argument calculation.
14204 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14206         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14207         Expect macro.
14208         [POSIX] (pthread_attr_t): Do not require type.
14209         [POSIX] (pthread_cond_t): Likewise.
14210         [POSIX] (pthread_condattr_t): Likewise.
14211         [POSIX] (pthread_key_t): Likewise.
14212         [POSIX] (pthread_mutex_t): Likewise.
14213         [POSIX] (pthread_mutexattr_t): Likewise.
14214         [POSIX] (pthread_once_t): Likewise.
14215         [POSIX] (pthread_t): Likewise.
14216         [POSIX-based standards] (pthread_atfork): Expect function.
14218 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14219             Richard Sandiford  <richard@codesourcery.com>
14221         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14222         (swap_endianness_p): New extern variable.
14223         (set_big_endian): New inline function.
14224         (maybe_swap_uint32): Likewise.
14225         (maybe_swap_uint32_array): Likewise.
14226         (maybe_swap_uint32_obstack): Likewise.
14227         * locale/programs/locfile.c: Include <stdbool.h>.
14228         (swap_endianness_p): New variable.
14229         (add_locale_uint32): Call maybe_swap_uint32.
14230         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14231         (write_locale_data): Call maybe_swap_uint32_array.
14232         * locale/programs/ld-collate.c (obstack_int32_grow): Call
14233         maybe_swap_uint32.
14234         (obstack_int32_grow_fast): Likewise.
14235         (output_weightwc): Call maybe_swap_uint32_obstack.
14236         (collate_output): Likewise.
14237         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14238         (OPT_LITTLE_ENDIAN): Likewise.
14239         (options): Add --little-endian and --big-endian options.
14240         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14241         * locale/programs/locarchive.c: Include "locfile.h".
14242         (GET): New macro.
14243         (SET): Likewise.
14244         (INC): Likewise.
14245         (create_archive): Use the new macros to access fields of
14246         structures directly mapped from or written to locale archives.
14247         (oldlocrecentcmp): Likewise.
14248         (enlarge_archive): Likewise.
14249         (insert_name): Likewise.
14250         (add_alias): Likewise.
14251         (add_locale): Likewise.
14252         (delete_locales_from_archive): Likewise.
14253         (show_archive_content): Likewise.
14254         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
14255         locale data.
14257 2013-09-24  Roland McGrath  <roland@hack.frob.com>
14259         * manual/freemanuals.texi: Updated from (newly) canonical copy at
14260         http://www.gnu.org/doc/freemanuals.texi.
14261         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14263 2013-09-24  Will Newton  <will.newton@linaro.org>
14265         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14266         macro.
14268 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
14270         * locale/hashval.h (compute_hashval): Interpret bytes of key as
14271         unsigned char.
14273 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
14275         * manual/threads.texi (POSIX Threads): Fix a typo.
14277 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14279         [BZ #14547]
14280         * string/tst-strcoll-overflow.c: New test case.
14281         * string/Makefile (xtests): Add tst-strcoll-overflow.
14282         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14283         cache if string sizes may cause integer overflow.
14285         [BZ #14547]
14286         * string/strcoll_l.c (coll_seq): New members rule, idx,
14287         save_idx and back_us.
14288         (get_next_seq_nocache): New function.
14289         (do_compare_nocache): New function.
14290         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14291         when malloc fails.
14293 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
14295         [BZ #15754]
14296         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14297         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14298         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14300         [BZ #15754]
14301         * elf/Makefile (tests): Add tst-ptrguard1.
14302         (tests-static): Add tst-ptrguard1-static.
14303         (tst-ptrguard1-ARGS): Define.
14304         (tst-ptrguard1-static-ARGS): Define.
14305         * elf/tst-ptrguard1.c: New file.
14306         * elf/tst-ptrguard1-static.c: New file.
14307         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14308         * sysdeps/i386/stackguard-macros.h: Likewise.
14309         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14310         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14311         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14312         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14313         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14314         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14316 2013-09-23  Hector Marco  <hecmargi@upv.es>
14317             Ismael Ripoll  <iripoll@disca.upv.es>
14318             Carlos O'Donell  <carlos@redhat.com>
14320         [BZ #15754]
14321         * sysdeps/generic/stackguard-macros.h: Define
14322         __pointer_chk_guard_local and POINTER_CHK_GUARD.
14323         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14324         Define __pointer_chk_guard_local.
14325         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14326         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14328 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
14330         [BZ #15859]
14331         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14333 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
14335         * include/string.h (__ffs): Declare as hidden.
14336         * string/ffs.c (__ffs): Define as hidden.
14337         * sysdeps/i386/ffs.c (__ffs): Likewise.
14338         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14339         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14340         * sysdeps/s390/ffs.c (__ffs): Likewise.
14341         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14343 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
14345         * NEWS: Mention malloc probes.
14347         * malloc/arena.c (new_heap): New memory_heap_new probe.
14348         (grow_heap): New memory_heap_more probe.
14349         (shrink_heap): New memory_heap_less probe.
14350         (heap_trim): New memory_heap_free probe.
14351         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14352         (systrim): New memory_sbrk_less probe.
14353         * manual/probes.texi: Document them.
14355         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14356         * manual/probes.texi: Document it.
14358         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14359         (__libc_realloc): Add memory_realloc_retry probe.
14360         (__libc_memalign): Add memory_memalign_retry probe.
14361         (__libc_valloc): Add memory_valloc_retry probe.
14362         (__libc_pvalloc): Add memory_pvalloc_retry probe.
14363         (__libc_calloc): Add memory_calloc_retry probe.
14364         * manual/probes.texi: Document them.
14366         * malloc/arena.c (get_free_list): Add probe
14367         memory_arena_reuse_free_list.
14368         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14369         and memory_arena_reuse.
14370         (arena_get2) [!PER_THREAD]: Likewise.
14371         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14372         memory_arena_reuse_realloc.
14373         * manual/probes.texi: Document them.
14375         * malloc/malloc.c (__libc_free): Add
14376         memory_mallopt_free_dyn_thresholds probe.
14377         (__libc_mallopt): Add multiple memory_mallopt probes.
14378         * manual/probes.texi: Document them.
14380         * malloc/malloc.c: Include stap-probe.h.
14381         (__libc_mallopt): Add memory_mallopt probe.
14382         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14383         * manual/probes.texi: New.
14384         * manual/Makefile (chapters): Add probes.
14385         * manual/threads.texi: Set next node.
14387 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
14389         [BZ #15963, #13985]
14390         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14391         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14392         Add `Chinese' to `nan' entry name.
14394 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14396         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14397         (POLYNOMIAL): Likewise.
14398         (TAYLOR_SINCOS): Likewise.
14399         (TAYLOR_SLOW): Likewise.
14400         (__sin): Use TAYLOR_SINCOS.
14401         (__cos): Likewise.
14402         (slow): Use TAYLOR_SLOW.
14403         (sloww): Likewise.
14404         (bsloww): Likewise.
14405         (csloww): Likewise.
14407 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14409         * stdlib/strtod_l.c: Fix buffer overrun.
14411 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14413         * benchtests/Makefile (bench): Add sincos.
14414         * benchtests/bench-sincos.c: New file.
14416         * math/libm-test.inc (cos_test_data): New test inputs.
14417         (sin_test_data): Likewise.
14419         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14420         macro.
14421         (__sin): Use it.
14422         (__cos): Likewise.
14423         (slow1): Likewise.
14424         (slow2): Likewise.
14425         (sloww1): Likewise.
14426         (sloww2): Likewise.
14427         (bsloww1): Likewise.
14428         (bsloww2): Likewise.
14429         (cslow2): Likewise.
14430         (csloww1): Likewise.
14431         (csloww2): Likewise.
14433         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14434         function.
14435         (__sin): Use it.
14436         (__cos): Likewise.
14438         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14439         gotos.
14440         (__cos): Likewise.
14442 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
14444         * config.h.in (HAVE_MIPS_NAN2008): New macro.
14445         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14446         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14447         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14448         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14449         * elf/cache.c (print_entry): Handle the new cache flags.
14451 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
14452             Aldy Hernandez  <aldyh@redhat.com>
14454         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14455         Change condition to [_SOFT_FLOAT].
14456         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14457         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14458         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14459         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14460         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14461         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14462         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14463         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14464         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14465         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14466         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14467         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14468         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14469         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14470         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14471         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14472         declaration.
14474 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
14476         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14477         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14478         (__longjmp): Use LOAD_GP to load saved GPRs.
14479         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14480         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14481         (__sigsetjmp): Use SAVE_GP to save GPRs.
14483         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14484         Do not append -msoft-float.
14485         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14487 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14489         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14491 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
14493         [BZ #15966]
14494         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14495         (_FPU_GETCW): Use initial "__" on variable and field names but not
14496         on macro parameter name.
14497         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
14498         parentheses around reference to macro parameter.
14500 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
14502         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14503         prototype.
14504         (ctype_startup): Use uint32_t in cast and sizeof for
14505         ctype->charnames.
14507 2013-09-11  Jia Liu  <proljc@gmail.com>
14509         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14510         __daddr_t_defined.
14511         [__FreeBSD__]: Likewise.
14513 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
14515         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14516         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14517         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14518         (strchr): Remove __strchr_sse42 ifunc selection.
14519         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14520         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14522 2013-09-11  Will Newton  <will.newton@linaro.org>
14524         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14525         parameter to RES. Remove hardcoded 1000 value.
14526         * benchtests/bench-skeleton.c (main): Pass RES parameter
14527         to TIMING_INIT and multiply result by 1000.
14529 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14533 2013-09-11  Andreas Schwab  <schwab@suse.de>
14535         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14536         if not defined.
14537         (O_TMPFILE) [__USE_GNU]: Define.
14538         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14539         Define.
14541 2013-09-11  Will Newton  <will.newton@linaro.org>
14543         [BZ #15857]
14544         * malloc/malloc.c (__libc_memalign): Check the value of bytes
14545         does not overflow.
14547 2013-09-11  Will Newton  <will.newton@linaro.org>
14549         [BZ #15856]
14550         * malloc/malloc.c (__libc_valloc): Check the value of bytes
14551         does not overflow.
14553 2013-09-11  Will Newton  <will.newton@linaro.org>
14555         [BZ #15855]
14556         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14557         does not overflow.
14559 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
14561         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14562         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14563         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14564         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14565         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14567 2013-09-10  Allan McRae  <allan@archlinux.org>
14569         [BZ #15748]
14570         * manual/arith.texi (Parsing of Floats): Clarify
14571         cross-reference.
14573         [BZ #15849]
14574         * manual/install.texi (Running make install): Mention
14575         --enable-pt-chown.
14576         * INSTALL: Regenerated.
14578 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
14580         * csu/init-first.c (_init): Remove the !SHARED condition around
14581         FPU control word initialization.
14582         * elf/dl-support.c (_dl_fpu_control): New variable.
14583         (_dl_aux_init) <AT_FPUCW>: Initialize it.
14584         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14585         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14586         * math/test-fpucw-static.c: New file.
14587         * math/test-fpucw-ieee.c: New file.
14588         * math/test-fpucw-ieee-static.c: New file.
14589         * math/Makefile (tests): Add `test-fpucw-ieee' and
14590         `$(tests-static)'.
14591         (tests-static): New variable.
14592         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14593         dependency to...
14594         [($(build-shared),yes)]
14595         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14596         ... this.
14597         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14598         New dependency.
14600 2013-09-09  Allan McRae  <allan@archlinux.org>
14602         [BZ #15939]
14603         * manual/string.texi (Collation Functions): Fix typo in
14604         strcoll example.
14605         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14607         [BZ #15893]
14608         * stdlib/isomac.c (get_null_defines): Fix memory leak.
14610         [BZ #15892]
14611         * libio/memstream.c (open_memstream): Fix memory leak.
14612         * libio/wmemstream.c (open_wmemstream): Likewise.
14614         [BZ #15895]
14615         * nscd/netgroupcache.c: Fix nesting of ifdefs.
14617 2013-09-09  Will Newton  <will.newton@linaro.org>
14619         * malloc/Makefile: Add tst-realloc to tests.
14620         * malloc/tst-realloc.c: New file.
14622 2013-09-09  Allan McRae  <allan@archlinux.org>
14624         [BZ #15844]
14625         * COPYING: Update from GNU website to fix FSF address.
14626         * COPYING.LIB: Likewise.
14628 2013-09-06  David S. Miller  <davem@davemloft.net>
14630         * po/zh_TW.po: Update Chinese (traditional) translation from
14631         translation project.
14633 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
14634             Joseph Myers  <joseph@codesourcery.com>
14636         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14637         "localeinfo.h".
14638         (obstack_chunk_alloc): New macro.
14639         (obstack_chunk_free): Likewise.
14640         (record_offset): New function.
14641         (init_locale_data): Likewise.
14642         (align_locale_data): Likewise.
14643         (add_locale_empty): Likewise.
14644         (add_locale_raw_data): Likewise.
14645         (add_locale_raw_obstack): Likewise.
14646         (add_locale_string): Likewise.
14647         (add_locale_wstring): Likewise.
14648         (add_locale_uint32): Likewise.
14649         (add_locale_uint32_array): Likewise.
14650         (add_locale_char): Likewise.
14651         (start_locale_structure): Likewise.
14652         (end_locale_structure): Likewise.
14653         (start_locale_prelude): Likewise.
14654         (end_locale_prelude): Likewise.
14655         (write_locale_data): Take locale_file structure rather than an
14656         iovec.
14657         * locale/programs/locfile.h: Include "obstack.h".
14658         (struct locale_file): Change to store locale file contents instead
14659         of header.
14660         (init_locale_data): New prototype.
14661         (align_locale_data): Likewise.
14662         (add_locale_empty): Likewise.
14663         (add_locale_raw_data): Likewise.
14664         (add_locale_raw_obstack): Likewise.
14665         (add_locale_string): Likewise.
14666         (add_locale_wstring): Likewise.
14667         (add_locale_uint32): Likewise.
14668         (add_locale_uint32_array): Likewise.
14669         (add_locale_char): Likewise.
14670         (start_locale_structure): Likewise.
14671         (end_locale_structure): Likewise.
14672         (start_locale_prelude): Likewise.
14673         (end_locale_prelude): Likewise.
14674         (write_locale_data): Update prototype.
14675         * locale/programs/3level.h (struct TABLE): Remove result field.
14676         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14677         Use new locale_file interface.
14678         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14679         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14680         * locale/programs/ld-address.c (address_output): Use new
14681         locale_file interface.
14682         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14683         NO_ADD_LOCALE.
14684         (collate_finish): Don't call collseq_table_finalize.
14685         (collate_output): Use new locale_file interface.
14686         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14687         in file.
14688         (NO_FINALIZE): Change to NO_ADD_LOCALE.
14689         (TABLE): Move defines earlier in file.
14690         (ELEMENT): Likewise.
14691         (DEFAULT): Likewise.
14692         (wctrans_table_add): Move macro and inline function earlier in
14693         file.
14694         (struct wctype_table): Move type earlier in file.
14695         (add_locale_wctype_table): New static prototype.
14696         (struct locale_ctype_t): Use logical types instead of struct iovec
14697         pointers for members.
14698         (ctype_output): Use new locale_file interface.
14699         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
14700         new locale_file interface.
14701         (allocate_arrays): Update for use of new locale_file interface.
14702         * locale/programs/ld-identification.c (identification_output): Use
14703         new locale_file interface.
14704         * locale/programs/ld-measurement.c (measurement_output): Likewise.
14705         * locale/programs/ld-messages.c (messages_output): Likewise.
14706         * locale/programs/ld-monetary.c (monetary_output): Likewise.
14707         * locale/programs/ld-name.c (name_output): Likewise.
14708         * locale/programs/ld-numeric.c (numeric_output): Likewise.
14709         * locale/programs/ld-paper.c (paper_output): Likewise.
14710         * locale/programs/ld-telephone.c (telephone_output): Likewise.
14711         * locale/programs/ld-time.c (time_output): Likewise.
14713 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14715         * benchtests/Makefile: Add memrchr benchmark.
14716         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14717         benchmark as memrchr.
14718         * benchtests/bench-memrchr-ifunc.c: New file.
14719         * benchtests/bench-memrchr.c: New file.
14721 2013-09-06   Will Newton  <will.newton@linaro.org>
14723         * benchtests/Makefile (string-bench): Add memcpy.
14725 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
14726             Cong Wang  <amwang@redhat.com>
14728         [BZ #15850]
14729         * sysdeps/unix/sysv/linux/bits/in.h
14730         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14731         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14732         before __USE_KERNEL_IPV6_DEFS uses.
14733         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14734         IPPROTO_BEETPH.
14735         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14736         sockaddr_in6, or ipv6_mreq.
14738 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14740         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14741         memory access for final bytes in some large inputs.
14742         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14744 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14746         * string/test-memrchr.c: New file.
14747         * string/test-memrchr-ifunc.c: New file.
14748         * string/Makefile: Add new memrchr testcase.
14750 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
14752         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14753         fanotify_init returns EPERM.
14755 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
14757         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14758         errors.
14759         (top level): Treat second token from macro or constant entries for
14760         allowed headers as allowed.
14761         * include/complex.h: Condition internal declarations on
14762         [!_ISOMAC].
14763         * include/fenv.h: Condition include of <stdbool.h> and internal
14764         declarations on [!_ISOMAC].
14766 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
14768         [BZ #15923]
14769         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14771 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
14773         * configure.in (--enable-versioning): Remove configure option.
14774         (libc_cv_asm_symver_directive): Remove configure test.
14775         (libc_cv_ld_version_script_option): Likewise.
14776         (VERSIONING): Remove variable and AC_SUBST.
14777         (DO_VERSIONING): Remove AC_DEFINE.
14778         * configure: Regenerated.
14779         * config.h.in (DO_VERSIONING): Remove macro.
14780         * Makerules [$(versioning) = yes]: Change conditionals to
14781         [$(build-shared) = yes].
14782         * config.make.in (versioning): Remove variable.
14783         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14784         [$(build-shared) = yes].
14785         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14786         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14787         * elf/Makefile [$(versioning) = yes]: Change conditionals to
14788         [$(build-shared) = yes].
14789         * extra-lib.mk [$(versioning) = yes]: Likewise.
14790         * hurd/Makefile [$(versioning) = yes]: Likewise.
14791         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14792         [SHARED].
14793         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14794         [SHARED].
14795         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14796         [SHARED && !NO_HIDDEN].
14797         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14798         [SHARED].
14799         [SHARED && DO_VERSIONING]: Likewise..
14800         * libio/Makefile [$(versioning) = yes]: Change conditionals to
14801         [$(build-shared) = yes].
14802         * manual/install.texi (--disable-versioning): Remove
14803         documentation.
14804         * INSTALL: Regenerated.
14805         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14806         to [SHARED].
14807         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14808         [$(build-shared) = yes].
14809         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14810         * sysdeps/i386/i686/multiarch/strstr-c.c
14811         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14812         [SHARED && !NO_HIDDEN].
14813         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14814         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14815         * sysdeps/powerpc/powerpc32/dl-machine.c
14816         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14817         * sysdeps/powerpc/powerpc32/sysdep.h
14818         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14819         to [SHARED && PIC && !NO_HIDDEN].
14820         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14821         conditional to [SHARED].
14823 2013-09-04   Will Newton  <will.newton@linaro.org>
14825         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14826         * benchtests/bench-string.h: Include bench-timing.h instead
14827         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14828         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14829         call to HP_TIMING_DIFF_INIT.
14830         * benchtests/bench-memccpy.c: Use bench-timing.h macros
14831         instead of hp-timing.h macros.
14832         * benchtests/bench-memchr.c: Likewise.
14833         * benchtests/bench-memcmp.c: Likewise.
14834         * benchtests/bench-memcpy.c: Likewise.
14835         * benchtests/bench-memmem.c: Likewise.
14836         * benchtests/bench-memmove.c: Likewise.
14837         * benchtests/bench-memset.c: Likewise.
14838         * benchtests/bench-rawmemchr.c: Likewise.
14839         * benchtests/bench-strcasecmp.c: Likewise.
14840         * benchtests/bench-strcasestr.c: Likewise.
14841         * benchtests/bench-strcat.c: Likewise.
14842         * benchtests/bench-strchr.c: Likewise.
14843         * benchtests/bench-strcmp.c: Likewise.
14844         * benchtests/bench-strcpy.c: Likewise.
14845         * benchtests/bench-strcpy_chk.c: Likewise.
14846         * benchtests/bench-strlen.c: Likewise.
14847         * benchtests/bench-strncasecmp.c: Likewise.
14848         * benchtests/bench-strncat.c: Likewise.
14849         * benchtests/bench-strncmp.c: Likewise.
14850         * benchtests/bench-strncpy.c: Likewise.
14851         * benchtests/bench-strnlen.c: Likewise.
14852         * benchtests/bench-strpbrk.c: Likewise.
14853         * benchtests/bench-strrchr.c: Likewise.
14854         * benchtests/bench-strspn.c: Likewise.
14855         * benchtests/bench-strstr.c: Likewise.
14857 2013-09-04  Will Newton  <will.newton@linaro.org>
14859         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14861 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
14863         [BZ #15427]
14864         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14865         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14866         * math/libm-test.inc (lgamma_test_data): Add more tests.
14867         * sysdeps/i386/fpu/libm-test-ulps: Update.
14868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14870 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
14872         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14873         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14874         Add ifunc.
14875         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14876         Add strcmp-sse2-unaligned
14877         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14879 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
14881         * Versions.def (libc): Add GLIBC_2.19.
14883 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
14885         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14886         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14888 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
14890         [BZ #14155]
14891         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14892         intermediate calculations in recurrence.
14893         (__ieee754_ynf): Likewise.
14894         * math/libm-test.inc (jn_test_data): Do not allow spurious
14895         underflow exception.  Add more tests.
14896         (yn_test_data): Add more tests.
14897         * sysdeps/i386/fpu/libm-test-ulps: Update.
14898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14900 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
14902         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14904 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
14906         * csu/init-first.c: Fix then/than typos.
14907         * locale/programs/ld-collate.c: Likewise.
14908         * locale/programs/linereader.h: Likewise.
14909         * manual/charset.texi: Likewise.
14910         * manual/filesys.texi: Likewise.
14911         * manual/stdio.texi: Likewise.
14912         * manual/string.texi: Likewise.
14913         * stdlib/fmtmsg.c: Likewise.
14914         * sysdeps/i386/stpncpy.S: Likewise.
14915         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14916         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14917         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14918         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14920 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
14922         * elf/dl-open.c: Fix typos.
14923         * iconvdata/gbbig5.c: Likewise.
14924         * iconvdata/iso-2022-jp.c: Likewise.
14925         * iconv/gconv_int.h: Likewise.
14926         * iconv/loop.c: Likewise.
14927         * nis/rpcsvc/nis.h: Likewise.
14928         * resolv/ns_name.c: Likewise.
14929         * stdio-common/vfscanf.c: Likewise.
14930         * streams/stropts.h: Likewise.
14931         * sunrpc/rpc_thread.c: Likewise.
14932         * sysdeps/i386/strpbrk.S: Likewise.
14933         * sysdeps/ieee754/k_standard.c: Likewise.
14934         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14935         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14936         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14937         * sysdeps/mach/hurd/profil.c: Likewise.
14938         * sysdeps/s390/dl-procinfo.h: Likewise.
14939         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14940         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14941         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14942         * sysdeps/x86_64/dl-trampoline.S: Likewise.
14943         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14945 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
14947         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14948         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14950 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
14952         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14953         aix specific files.
14954         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14955         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14956         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14957         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14958         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14959         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14960         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14961         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14963 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
14964             Roland McGrath  <roland@hack.frob.com>
14966         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14967         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14969 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14971         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14972         __executable_start symbol instead of _start.
14974 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
14976         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14977         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14978         Move macros to...
14979         * sysdeps/gnu/ldsodefs.h: ... this new file.
14981         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14982         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14983         instead of ELFOSABI_LINUX.
14985         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14986         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14987         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14988         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14989         Likewise.
14990         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14991         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14992         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14993         Likewise.
14994         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14995         (ibm_extended_long_double): Add ieee_nan member.
14996         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14997         (do_test): New function.
14999         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15000         TEST_TRUNC.
15001         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15002         functions, renamed from truncdfsf_test, trunctfsf_test,
15003         trunctfdf_test.
15004         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15005         functions.
15006         (do_test): Run all these.
15008 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
15010         * argp/argp-help.c: Fix typos.
15011         * argp/argp-parse.c: Likewise.
15012         * debug/backtracesyms.c: Likewise.
15013         * elf/elf.h: Likewise.
15014         * malloc/malloc.c: Likewise.
15015         * nis/nis_print.c: Likewise.
15016         * resolv/res_comp.c: Likewise.
15017         * stdlib/stdlib.h: Likewise.
15018         * sunrpc/clnt_tcp.c: Likewise.
15019         * sunrpc/clnt_udp.c: Likewise.
15020         * sunrpc/clnt_unix.c: Likewise.
15021         * sysdeps/unix/bsd/ptsname.c: Likewise.
15022         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15023         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15025         Likewise.
15026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15027         Likewise.
15028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15029         Likewise.
15030         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15032 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15034         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15035         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15037 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
15039         [BZ #15897]
15040         * dlfcn/Makefile (tests): Add bug-dl-leaf.
15041         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15042         ($(objpfx)bug-dl-leaf): New rule.
15043         ($(objpfx)bug-dl-leaf.so): Likewise.
15044         ($(objpfx)bug-dl-leaf.out): Likewise.
15045         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15046         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15047         * dlfcn/bug-dl-leaf.c: New test.
15048         * dlfcn/bug-dl-leaf-lib.c: Likewise.
15049         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15050         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15051         (dlclose): Likewise.
15052         (dlmopen): Likewise.
15054 2013-08-27  Roland McGrath  <roland@hack.frob.com>
15056         * include/netdb.h [!_ISOMAC]:
15057         Don't include <tls.h>.
15058         (h_errno, __libc_h_errno): Move declaration and macros out of
15059         [_LIBC_REENTRANT].
15061         * include/resolv.h [_RESOLV_H_]:
15062         Don't include <tls.h>.
15063         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15064         * resolv/res_libc.c: Don't include <tls.h>.
15065         (_res): Use __attribute__ ((nocommon)) in place of
15066         __attribute__ ((section (".bss"))).
15068         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15069         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15071         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15073         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15074         only under [SIOCGIFCONF && SIOCGIFNETMASK].
15076         * resolv/res_mkquery.c: Include <sys/time.h>.
15078         * inet/ifreq.c: Moved to ...
15079         * sysdeps/unix/ifreq.c: ... here.
15080         * inet/ifreq.c: New file, true stub version.
15082         * socket/sa_len.c: New file.
15083         * socket/Makefile (aux): Add it.
15084         * sysdeps/unix/sysv/linux/Makefile
15085         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15086         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15087         and #include <socket/sa_len.c>.
15088         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15089         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15091         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15092         * bits/socket.h: ... here.
15094         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15095         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15096         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15098 2013-08-27  Andreas Schwab  <schwab@suse.de>
15100         [BZ #15736]
15101         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15102         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15103         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15104         * string/test-strcasecmp.c (test_main): Run tests in several
15105         locales.
15106         * string/test-strncasecmp.c (test_main): Likewise.
15108         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15109         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15110         to __strcasecmp_nonascii and __strncasecmp_nonascii.
15111         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15112         (__strncasecmp_ssse3) [PIC]: Likewise.
15114 2013-08-26  Roland McGrath  <roland@hack.frob.com>
15116         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15118         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15119         instead of explicitly declaring xdecrypt.
15120         * nis/nss_nis/nis-publickey.c: Likewise.
15122 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15124         [BZ #15890]
15125         * nscd/aicache.c: Include res_hconf.h.
15126         (addhstaiX): Initialize res_hconf.
15128 2013-08-26  Andreas Schwab  <schwab@suse.de>
15130         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15131         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15133 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15135         * nscd/aicache.c (addhstaiX): Fix indentation.
15137 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
15139         * configure.ac: Quote $build_pt_chown test.
15140         * configure: Regenerated.
15142 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
15144         [BZ #15532]
15145         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15146         * math/s_cexpf.c (__cexpf): Likewise.
15147         * math/s_cexpl.c (__cexpl): Likewise.
15148         * math/libm-test.inc (cexp_test_data): Correct expected return
15149         value for NaN + i0.  Add another test.
15151 2013-08-22  David S. Miller  <davem@davemloft.net>
15153         * po/ca.po: Update Catalan translation from translation project.
15154         * po/uk.po: Add Ukrainian translations from translation project.
15156 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
15158         [BZ #15797]
15159         * math/s_fdim.c (__fdim): Check for infinite arguments if result
15160         is infinite, not alongside NaN test.
15161         * math/s_fdimf.c (__fdimf): Likewise.
15162         * math/s_fdiml.c (__fdiml): Likewise.
15163         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
15164         errno is unchanged.
15166 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
15168         * argp/argp-help.c: Fix typos.
15169         * crypt/speeds.c: Likewise.
15170         * csu/check_fds.c: Likewise.
15171         * elf/dl-load.c: Likewise.
15172         * elf/dl-open.c: Likewise.
15173         * elf/reldep3.c: Likewise.
15174         * elf/reldep.c: Likewise.
15175         * elf/sprof.c: Likewise.
15176         * iconv/iconv_charmap.c: Likewise.
15177         * iconv/skeleton.c: Likewise.
15178         * iconv/strtab.c: Likewise.
15179         * io/lockf64.c: Likewise.
15180         * libio/libioP.h: Likewise.
15181         * resolv/gai_notify.c: Likewise.
15182         * resolv/ns_name.c: Likewise.
15183         * resolv/ns_samedomain.c: Likewise.
15184         * resolv/res_send.c: Likewise.
15185         * stdlib/random.c: Likewise.
15186         * sunrpc/rpc/xdr.h: Likewise.
15187         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15188         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15189         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15190         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15191         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15192         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15193         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15194         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15195         * sysdeps/mach/hurd/check_fds.c: Likewise.
15196         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15197         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15198         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15199         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15200         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15201         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15202         * sysdeps/pthread/aio_notify.c: Likewise.
15203         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15204         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15205         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15206         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15207         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15209 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15211         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15212         version if bit_Slow_SSE4_2 is set.
15213         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15214         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15216 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15218         [BZ #15867]
15219         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15220         trampoline stack frame information.
15221         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15222         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15223         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15224         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15225         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15226         * sysdeps/unix/sysv/linux/powerpc/init-first.c
15227         (_libc_vdso_platform_setup): Initialize the signal trampolines.
15228         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15229         sa_flags value.
15230         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15231         interrupting a syscall and set with option SA_SIGINFO.
15233 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15235         [BZ #15531]
15236         * math/s_cproj.c (__cproj): Only return an infinity if one part of
15237         argument is infinite.
15238         * math/s_cprojf.c (__cprojf): Likewise.
15239         * math/s_cprojl.c (__cprojl): Likewise.
15240         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15241         * math/libm-test.inc (cproj_test_data): Add more tests.
15243         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15245         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15246         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15247         size.  Use __ffs to determine corresponding shift.
15249 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15250             Roland McGrath  <roland@hack.frob.com>
15252         * Makefile (INSTALL): Remove trailing blank lines from output of
15253         makeinfo.
15255 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15257         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15258         Align 32 bit compat elf_greg to 8 bytes.
15260 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15262         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15264 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15266         * string/strcoll_l.c (coll_seq): New structure.
15267         (get_next_seq_cached): New function.
15268         (get_next_seq): New function.
15269         (do_compare): New function.
15270         (STRCOLL): Use GNU style definition.  Simplify implementation
15271         by using get_next_seq, get_next_seq_cached and do_compare.
15273 2013-08-16  Florian Weimer  <fweimer@redhat.com>
15275         [BZ #14699]
15276         CVE-2013-4237
15277         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15278         member.
15279         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15280         member.
15281         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15282         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15283         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
15284         conditional.
15285         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15286         GETDENTS_64BIT_ALIGNED.
15287         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15288         * manual/filesys.texi (Reading/Closing Directory): Document
15289         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
15290         strongly.
15291         * manual/conf.texi (Limits for Files): Add portability note to
15292         NAME_MAX, PATH_MAX.
15293         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15295 2013-08-13  Andreas Schwab  <schwab@suse.de>
15297         [BZ #15749]
15298         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15299         of fabs.
15300         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15301         LDBL_MAX_EXP >= 16384]: Add tests for it.
15303 2013-08-12  David S. Miller  <davem@davemloft.net>
15305         * version.h (RELEASE): Set to "development".
15306         (VERSION): Set to "2.18.90".
15307         * NEWS: Add 2.19 section.
15309 2013-08-03  David S. Miller  <davem@davemloft.net>
15311         * po/ko.po: Update Korean translation from translation project.
15313 2013-08-01  David S. Miller  <davem@davemloft.net>
15315         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
15316         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15317         Bilka.
15319 2013-07-30  David S. Miller  <davem@davemloft.net>
15321         * po/fr.po: Update French translation from translation project.
15323 2013-07-28  David S. Miller  <davem@davemloft.net>
15325         * po/cs.po: Update Czech translation from translation project.
15327         * po/sv.po: Update Swedish translation from translation project.
15329 2013-07-27  David S. Miller  <davem@davemloft.net>
15331         * po/eo.po: Update Esperanto translation from translation project.
15333         * po/vi.po: Update Vietnamese translation from translation project.
15335         * po/de.po: Update German translation from translation project.
15337 2013-07-26  David S. Miller  <davem@davemloft.net>
15339         * po/bg.po: Update Bulgarian translation from translation project.
15341         * po/nl.po: Update Dutch translation from translation project.
15342         * po/pl.po: Update Polish translation from translation project.
15343         * po/ru.po: Update Russian translation from translation project.
15345 2013-07-24  David S. Miller  <davem@davemloft.net>
15347         * po/libc.pot: Update.
15349 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15351         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15352         variable page size.
15353         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15354         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15355         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15357 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15359         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15361 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15362             Andreas Schwab  <schwab@suse.de>
15363             Roland McGrath  <roland@hack.frob.com>
15364             Joseph Myers  <joseph@codesourcery.com>
15365             Carlos O'Donell  <carlos@redhat.com>
15367         [BZ #15755]
15368         * config.h.in: Define HAVE_PT_CHOWN.
15369         * config.make.in (build-pt-chown): New variable.
15370         * configure.in (--enable-pt_chown): New configure option.
15371         * configure: Regenerate.
15372         * login/Makefile: Include Makeconfig.  Build pt_chown only if
15373         build-pt-chown is enabled.
15374         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15375         pt_chown to fix pty ownership.
15376         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15377         CLOSE_ALL_FDS.
15378         * manual/install.texi (Configuring and compiling): Mention
15379         --enable-pt_chown. Add @findex for grantpt.
15380         * INSTALL: Regenerate.
15382 2013-07-20  David S. Miller  <davem@davemloft.net>
15384         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15385         difference between 32-bit and 64-bit.
15387 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
15389         [BZ #15711]
15390         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15391         Avoid system header dependency with -ffreestanding.
15392         ($(objpfx)bits/syscall%d): Likewise.
15394 2013-07-13  David S. Miller  <davem@davemloft.net>
15396         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15397         underflows from atanl/atan2l due to bug 15319.
15398         (casinh_test_data): Likewise.
15400 2013-07-07  David S. Miller  <davem@davemloft.net>
15402         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15404 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
15406         * sysdeps/i386/fpu/libm-test-ulps: Update.
15407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15409 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15411         * configure.in (--enable-lock-elision): Fix message text.
15412         * INSTALL: Regenerate.
15413         * configure: Regenerate.
15415 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15419 2013-07-03  Andreas Jaeger  <aj@suse.de>
15421         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15422         define.
15423         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15424         (ptrace_peeksiginfo_args): Add.
15425         (__ptrace_peeksiginfo_flags): Add.
15426         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15427         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15428         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15430 2013-07-03  Allan McRae  <allan@archlinux.org>
15432         * sysdeps/i386/fpu/libm-test-ulps: Update.
15434 2013-07-02  David S. Miller  <davem@davemloft.net>
15436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15438 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
15440         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15442 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
15444         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15447 2013-07-02  Andi Kleen <ak@linux.intel.com>
15449         * config.h.in (ENABLE_LOCK_ELISION): Add.
15450         * configure.in (--enable-lock-elision): Add option.
15451         * manual/install.texi: Document --enable lock elision.
15452         * configure: Regenerate
15453         * INSTALL: Regenerate.
15455 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
15457         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15458         SSE4.2 strcasecmp for libc.a.
15459         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15461 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
15463         [BZ #13304]
15464         * soft-fp/op-common.h (_FP_FMA): New macro.
15465         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15466         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
15467         (_FP_MUL_MEAT_1_imm): ... here.
15468         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
15469         (_FP_MUL_MEAT_1_wide): ... here.
15470         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
15471         (_FP_MUL_MEAT_1_hard): ... here.
15472         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15473         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
15474         (_FP_MUL_MEAT_2_wide): ... here.
15475         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
15476         (_FP_MUL_MEAT_2_wide_3mul): ... here.
15477         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
15478         (_FP_MUL_MEAT_2_gmp): ... here.
15479         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15480         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
15481         (_FP_MUL_MEAT_4_wide): ... here.
15482         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
15483         (_FP_MUL_MEAT_4_gmp): ... here.
15484         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15485         (_FP_WFRACBITS_DW_S): Likewise.
15486         (_FP_WFRACXBITS_DW_S): Likewise.
15487         (_FP_HIGHBIT_DW_S): Likewise.
15488         (FP_FMA_S): Likewise.
15489         (_FP_FRAC_HIGH_DW_S): Likewise.
15490         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15491         (_FP_WFRACBITS_DW_D): Likewise.
15492         (_FP_WFRACXBITS_DW_D): Likewise.
15493         (_FP_HIGHBIT_DW_D): Likewise.
15494         (FP_FMA_D): Likewise.
15495         (_FP_FRAC_HIGH_DW_D): Likewise.
15496         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15497         (_FP_WFRACBITS_DW_E): Likewise.
15498         (_FP_WFRACXBITS_DW_E): Likewise.
15499         (_FP_HIGHBIT_DW_E): Likewise.
15500         (FP_FMA_E): Likewise.
15501         (_FP_FRAC_HIGH_DW_E): Likewise.
15502         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15503         (_FP_WFRACBITS_DW_Q): Likewise.
15504         (_FP_WFRACXBITS_DW_Q): Likewise.
15505         (_FP_HIGHBIT_DW_Q): Likewise.
15506         (FP_FMA_Q): Likewise.
15507         (_FP_FRAC_HIGH_DW_Q): Likewise.
15508         * soft-fp/fmasf4.c: New file.
15509         * soft-fp/fmadf4.c: Likewise.
15510         * soft-fp/fmatf4.c: Likewise.
15512 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15514         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15515         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15516         Silvermont.
15517         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15518         macro.
15519         (index_Slow_SSE4_2): Likewise.
15520         (index_Prefer_PMINUB_for_stringop): Likewise.
15521         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15522         bit_Slow_SSE4_2 is set.
15523         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15524         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15526 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15528         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15529         rtld_global._dl_hwcap2.
15530         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15531         POWER8.
15532         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15533         POWER8 feature descriptions defined in _dl_hwcap2.
15534         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15535         string handling for POWER8 feature bits.
15536         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15537         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15538         _dl_powerpc_cap_flags.
15539         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15540         * sysdeps/powerpc/rtld-global-offsets.sym
15541         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15542         _dl_hwcap2 in the rtld_global_ro structure.
15544 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15546         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15547         hardware capabilities in support of AT_HWCAP2.
15548         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15549         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15550         GLRO(dl_hwcap2).
15551         (_dl_show_auxv): Add support for calling _dl_procinfo to display
15552         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
15553         explicitly the unknown a_type display mechanism is used.
15554         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15555         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15556         struct member.
15557         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15558         to macro prototype for AT_HWCAP2 support.
15559         * sysdeps/i386/dl-procinfo.h: Likewise.
15560         * sysdeps/s390/dl-procinfo.h: Likewise.
15561         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15562         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
15563         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
15564         return -1 for unknown a_type display fallback.
15565         * sysdeps/sparc/dl-procinfo.h: Likewise.
15566         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15567         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15569 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
15571         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15572         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15574 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
15576         [BZ #12492]
15577         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15578         mprotect making __stack_prot writable.
15580 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
15581             Joseph Myers  <joseph@codesourcery.com>
15583         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15584         as being properly aligned.
15586 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
15588         * dlfcn/modstatic5.c: New file.
15589         * dlfcn/tststatic5.c: New file.
15590         * dlfcn/Makefile (tests): Add tststatic5.
15591         (tests-static): Likewise.
15592         (modules-names): Add modstatic5.
15593         (tststatic5-ENV): New variable.
15594         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15596         [BZ #15022]
15597         * elf/dl-support.c (_dl_main_map): New variable.
15598         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15599         (_dl_nns, _dl_load_adds): Set to 1.
15600         (_dl_initial_searchlist): Refer to _dl_main_map.
15601         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15602         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15603         call to _dl_get_origin.
15604         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15605         around call_map.
15606         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15607         * dlfcn/modstatic3.c: New file.
15608         * dlfcn/tststatic3.c: New file.
15609         * dlfcn/tststatic4.c: New file.
15610         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15611         (tests-static): Likewise.
15612         (modules-names): Add modstatic3.
15613         (tststatic3-ENV, tststatic4-ENV): New variables.
15614         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15615         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15617 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
15619         * configure.in (CC): Require GCC version 4.4 or later.
15620         * configure: Regenerated.
15621         * manual/install.texi (Tools for Compilation): Update GCC version
15622         requirement.
15623         * INSTALL: Regenerated.
15625 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15627         [BZ #15674]
15628         * string/test-memcmp.c (check2): New.
15629         (main): Call check2.
15631         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15633 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
15635         [BZ #15022]
15636         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15637         over to...
15638         (dl_open_worker) [!SHARED]: ... here.
15640 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15642         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15644 2013-06-25  Richard Henderson  <rth@redhat.com>
15646         * locale/programs/locarchive.c: Include <libc-internal.h>
15648 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
15650         * manual/texinfo.tex: Update to version 2013-06-21.17, with
15651         trailing whitespace removed.
15653 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
15655         [BZ #10283]
15656         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15657         * locale/programs/locarchive.c: Include libc-mmap.h.
15658         (prepare_address_space): Take two new outputs (the mmap base and len).
15659         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
15660         values.
15661         (create_archive): Declare new mmap base and len values for
15662         prepare_address_space, and store the result in ah.
15663         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15664         (enlarge_archive): If ah->mmap_base is not NULL, use that and
15665         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15666         Declare new mmap base and len values for
15667         prepare_address_space, and store the result in new_ah.
15668         (open_archive): Declare new mmap base and len values for
15669         prepare_address_space, and store the result in ah.
15670         (close_archive): If ah->mmap_base is not NULL, use that and
15671         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15672         * sysdeps/generic/libc-mmap.h: New file.
15674 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
15676         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15677         (ALIGN_UP): Likewise.
15678         (PTR_ALIGN_DOWN): Likewise.
15679         (PTR_ALIGN_UP): Likewise.
15681 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15683         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15684         entry mapped to PPC_PLATFORM_POWER8.
15685         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15686         POWER8.
15687         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15688         (_dl_string_platform): Add case for exporting platform position for
15689         POWER8.
15690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15691         search path to sysdeps/powerpc/powerpc32/power8 directory.
15692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15693         search path to sysdeps/powerpc/powerpc64/power8 directory.
15694         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15695         power7 directories.
15696         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15697         power7 directories.
15699 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15701         * INSTALL: Regenerate.
15703         * nscd/connections.c (nscd_init): Fix comment.
15705 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
15707         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15709         [BZ #15667]
15710         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15711         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15713 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
15715         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15716         DL_DST_REQ_STATIC.
15717         (DL_DST_REQ_STATIC): Remove macro.
15719 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
15721         [BZ #7006]
15722         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15723         with a shift of 0 bits.
15725 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
15727         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15728         $(tststatic-ENV).
15730 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15732         [BZ #15655]
15733         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15735 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15737         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15738         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15739         accepts -fno-tree-loop-distribute-patterns.
15740         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15741         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15742         recursive call.
15743         * string/memset.c (memset): Likewise.
15744         * string/test-memmove.c (simple_memmove): Disable loop transformation
15745         to library calls.
15746         * string/test-memset.c (simple_memset): Likewise.
15747         * benchtests/bench-memmove.c (simple_memmove): Likewise.
15748         * benchtests/bench-memset.c (simple_memset): Likewise.
15749         * configure: Regenerated.
15751 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
15753         * math/test-misc.c (main): Ignore fesetround failure when failures
15754         of subsequent rounding tests would be ignored.
15756         [BZ #15654]
15757         * math/fedisblxcpt.c (fedisableexcept): Return 0.
15758         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15759         * math/fegetenv.c (__fegetenv): Return 0.
15760         * math/fegetexcept.c (fegetexcept): Return 0.
15761         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15762         FE_TONEAREST.
15763         * math/feholdexcpt.c (feholdexcept): Return 0.
15764         * math/fesetenv.c (__fesetenv): Return 0.
15765         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15766         argument FE_TONEAREST.
15767         * math/feupdateenv.c (__feupdateenv): Return 0.
15768         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15770 2013-06-18  Roland McGrath  <roland@hack.frob.com>
15772         * elf/rtld-Rules (rtld-compile-command.S): New variable.
15773         (rtld-compile-command.s, rtld-compile-command.c): New variables.
15774         ($(objpfx)rtld-%.os rules): Use them.
15776 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15778         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15779         fields.
15781 2013-06-17  Roland McGrath  <roland@hack.frob.com>
15783         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15784         length of target pattern, then descending length of dependency pattern.
15785         * configure.in (AWK): Require gawk 3.1.2 or newer.
15786         * manual/install.texi (Tools for Compilation): Say that we do.
15787         * configure: Regenerated.
15789         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15790         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15791         * scripts/sysd-rules.awk: ... this new script.
15792         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15793         than a glob-style pattern.
15795 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
15797         * math/test-misc.c (main): Do not treat incorrectly rounded
15798         conversions as failure unless ROUNDING_TESTS passes.
15800 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
15802         [BZ #15631]
15803         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15804         restore exception state around main square root computation, then
15805         check for inexactness explicitly.
15807         * math/libm-test.inc (fma_test_data): Add another test.
15809 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15811         * manual/threads.texi (Non-POSIX Extensions): New document
15812         node.  Document pthread_getattr_default_np and
15813         pthread_setattr_default_np.
15815         * Versions.def (libpthread): Add GLIBC_2.18.
15816         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15818         Likewise.
15819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15820         Likewise.
15821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15822         Likewise.
15823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15824         Likewise.
15825         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15826         Likewise.
15827         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15828         Likewise.
15829         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15830         Likewise.
15831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15832         Likewise.
15833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15834         Likewise.
15836 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15838         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15839         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15841 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15842             H.J. Lu  <hjl.tools@gmail.com>
15844         [BZ #15627]
15845         * sysdeps/x86_64/rtld-memset.c: Remove file.
15846         * sysdeps/x86_64/rtld-memset.S: New file.
15848 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
15850         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15851         (test_in_one_mode): Take arguments for whether the rounding mode
15852         is supported for each floating-point type.
15853         (do_test): Pass new arguments to test_in_one_mode using
15854         ROUNDING_TESTS.
15856 2013-06-13  Roland McGrath  <roland@hack.frob.com>
15858         * posix/tst-waitid.c (do_test): Distinguish different instances of
15859         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
15860         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15861         before entering the kernel for waitpid.
15863 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15865         * NEWS: Fix note on clock function precision.  Text by Roland
15866         McGrath.
15868 2013-06-13  Roland McGrath  <roland@hack.frob.com>
15870         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15871         it into place only when and if the sanity check passes.
15873 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
15875         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15876         output for whether conversion result is exact.  Take argument
15877         indicating whether type is IBM long double.
15878         (round_for_all): Change need_exact field to ibm_ld.
15879         * stdlib/tst-strtod-round.c (struct exactness): New type.
15880         (struct test): Change bool ld_ok field to struct exactness exact.
15881         (TEST): Update all definitions for change to field.
15882         (tests): Regenerate array contents.
15883         (test_in_one_mode): Take pointer to new field instead of old ld_ok
15884         field value.  Check for IBM long double here.
15885         (do_test): Update calls to test_in_one_mode.
15887 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15889         [BZ #12515]
15890         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15891         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15893 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15895         [BZ #15605]
15896         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15897         generated by the compiler on loop optimizations.
15898         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15899         general definitions.
15901 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
15903         * math/bug-nextafter.c: Include <math-tests.h>.
15904         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15905         the relevant type.
15906         * math/bug-nexttoward.c: Include <math-tests.h>.
15907         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15908         the relevant type.
15909         * math/test-misc.c: Include <math-tests.h>.
15910         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15911         the relevant type.
15913 2013-06-12  Andreas Jaeger  <aj@suse.de>
15915         * po/ia.po: Update Interlingua translation from translation
15916         project.
15918 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15920         * include/fenv.h: Include stdbool.h.
15921         (struct rm_ctx): New structure.
15922         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15923         Define macro.
15924         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15925         (SET_RESTORE_ROUNDF): Likewise.
15926         (SET_RESTORE_ROUNDL): Likewise.
15927         (SET_RESTORE_ROUND_NOEX): Likewise.
15928         (SET_RESTORE_ROUND_NOEXF): Likewise.
15929         (SET_RESTORE_ROUND_NOEXL): Likewise.
15930         (SET_RESTORE_ROUND_53BIT): Likewise.
15931         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15932         (libc_feresetround_noexf_ctx): Likewise.
15933         (libc_feresetround_noexl_ctx): Likewise.
15934         (libc_feholdsetround_53bit_ctx): Likewise.
15935         (libc_feresetround_53bit_ctx): Likewise.
15936         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15937         (libc_feholdexcept_setround_sse_ctx): New function.
15938         (libc_fesetenv_sse_ctx): Likewise.
15939         (libc_feupdateenv_sse_ctx): Likewise.
15940         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15941         (libc_feholdexcept_setround_387_ctx): Likewise.
15942         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15943         (libc_feholdsetround_387_prec_ctx): Likewise.
15944         (libc_feholdsetround_387_ctx): Likewise.
15945         (libc_feholdsetround_387_53bit_ctx): Likewise.
15946         (libc_feholdsetround_sse_ctx): Likewise.
15947         (libc_feresetround_sse_ctx): Likewise.
15948         (libc_feresetround_387_ctx): Likewise.
15949         (libc_feupdateenv_387_ctx): Likewise.
15950         (libc_feholdexcept_setroundf_ctx): Define macro.
15951         (libc_fesetenvf_ctx): Likewise.
15952         (libc_feupdateenvf_ctx): Likewise.
15953         (libc_feholdsetroundf_ctx): Likewise.
15954         (libc_feresetroundf_ctx): Likewise.
15955         (libc_feholdexcept_setround_ctx): Likewise.
15956         (libc_fesetenv_ctx): Likewise.
15957         (libc_feupdateenv_ctx): Likewise.
15958         (libc_feholdsetround_ctx): Likewise.
15959         (libc_feresetround_ctx): Likewise.
15960         (libc_feholdexcept_setroundl_ctx): Likewise.
15961         (libc_feupdateenvl_ctx): Likewise.
15962         (libc_feholdsetroundl_ctx): Likewise.
15963         (libc_feresetroundl_ctx): Likewise.
15964         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15965         (libc_feresetround_53bit_ctx): Likewise.
15967 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15969         * locale/iso-639.def: Convert to UTF-8.
15971 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
15973         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15974         (EXCEPTION_TESTS_double): Likewise.
15975         (EXCEPTION_TESTS_long_double): Likewise.
15976         (EXCEPTION_TESTS): Likewise.
15977         * math/libm-test.inc (test_exceptions): Only test exceptions if
15978         EXCEPTION_TESTS (FLOAT).
15980 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15982         * benchtests/Makefile (string-bench): Add strcpy_chk and
15983         stpcpy_chk.
15984         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15985         * benchtests/bench-stpcpy_chk.c: New file.
15986         * benchtests/bench-strcpy_chk-ifunc.c: New file.
15987         * benchtests/bench-strcpy_chk.c: New file.
15988         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15989         code.
15990         (do_test): Likewise.
15992 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15994         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15995         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15996         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15997         with tabs where appropriate.
15998         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15999         dl-procinfo.h.
16000         [PPC_PLATFORM_PPC440]: Likewise.
16001         [PPC_PLATFORM_PPC464]: Likewise.
16002         [PPC_PLATFORM_PPC476]: Likewise.
16003         (_dl_string_platform): Add support for detecting ppc405, ppc440,
16004         ppc464, and ppc476 platform strings merging from ports/
16005         dl-procinfo.h.
16007 2013-06-11  Andreas Schwab  <schwab@suse.de>
16009         [BZ #14991]
16010         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16011         (from_ucs4_idx): Regenerate.
16012         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16013         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16014         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16015         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16016         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16017         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16018         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16019         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16020         from FROM_LOOP and TO_LOOP specific macros.
16021         (BODY): Handle combining characters.
16022         * iconvdata/BIG5HKSCS.irreversible: Update.
16023         * iconvdata/BIG5HKSCS.precomposed: New file.
16024         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16025         characters.
16026         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16028 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16030         * include/sys/time.h: Fix indentation and add copyright header.
16032         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16033         (do_test): Likewise.
16034         * string/test-memchr.c (do_one_test): Likewise.
16035         (do_test): Likewise.
16036         * string/test-memcmp.c (do_one_test): Likewise.
16037         (do_test): Likewise.
16038         * string/test-memcpy.c (do_one_test): Likewise.
16039         (do_test): Likewise.
16040         * string/test-memmem.c (do_one_test): Likewise.
16041         (do_test): Likewise.
16042         (do_random_tests): Likewise.
16043         * string/test-memmove.c (do_one_test): Likewise.
16044         (do_test): Likewise.
16045         * string/test-memset.c (do_one_test): Likewise.
16046         (do_test): Likewise.
16047         * string/test-rawmemchr.c (do_one_test): Likewise.
16048         (do_test): Likewise.
16049         * string/test-strcasecmp.c (do_one_test): Likewise.
16050         (do_test): Likewise.
16051         * string/test-strcasestr.c (do_one_test): Likewise.
16052         (do_test): Likewise.
16053         * string/test-strcat.c (do_one_test): Likewise.
16054         (do_test): Likewise.
16055         * string/test-strchr.c (do_one_test): Likewise.
16056         (do_test): Likewise.
16057         * string/test-strcmp.c (do_one_test): Likewise.
16058         (do_test): Likewise.
16059         * string/test-strcpy.c (do_one_test): Likewise.
16060         (do_test): Likewise.
16061         * string/test-string.h: Likewise.
16062         (test_init): Likewise.
16063         * string/test-strlen.c (do_one_test): Likewise.
16064         (do_test): Likewise.
16065         * string/test-strncasecmp.c (do_one_test): Likewise.
16066         (do_test): Likewise.
16067         * string/test-strncat.c (do_one_test): Likewise.
16068         (do_test): Likewise.
16069         * string/test-strncmp.c (do_one_test): Likewise.
16070         (do_test_limit): Likewise.
16071         (do_test): Likewise.
16072         * string/test-strncpy.c (do_one_test): Likewise.
16073         (do_test): Likewise.
16074         * string/test-strnlen.c (do_one_test): Likewise.
16075         (do_test): Likewise.
16076         * string/test-strpbrk.c (do_one_test): Likewise.
16077         (do_test): Likewise.
16078         * string/test-strrchr.c (do_one_test): Likewise.
16079         (do_test): Likewise.
16080         * string/test-strspn.c (do_one_test): Likewise.
16081         (do_test): Likewise.
16082         * string/test-strstr.c (do_one_test): Likewise.
16083         (do_test): Likewise.
16085         * benchtests/Makefile (string-bench): Add string benchmarks.
16086         * benchtests/bench-bcopy-ifunc.c: New file.
16087         * benchtests/bench-bcopy.c: New file.
16088         * benchtests/bench-bzero-ifunc.c: New file.
16089         * benchtests/bench-bzero.c: New file.
16090         * benchtests/bench-memccpy-ifunc.c: New file.
16091         * benchtests/bench-memccpy.c: New file.
16092         * benchtests/bench-memchr-ifunc.c: New file.
16093         * benchtests/bench-memchr.c: New file.
16094         * benchtests/bench-memcmp-ifunc.c: New file.
16095         * benchtests/bench-memcmp.c: New file.
16096         * benchtests/bench-memmem-ifunc.c: New file.
16097         * benchtests/bench-memmem.c: New file.
16098         * benchtests/bench-memmove-ifunc.c: New file.
16099         * benchtests/bench-memmove.c: New file.
16100         * benchtests/bench-mempcpy-ifunc.c: New file.
16101         * benchtests/bench-mempcpy.c: New file.
16102         * benchtests/bench-memset-ifunc.c: New file.
16103         * benchtests/bench-memset.c: New file.
16104         * benchtests/bench-rawmemchr-ifunc.c: New file.
16105         * benchtests/bench-rawmemchr.c: New file.
16106         * benchtests/bench-stpcpy-ifunc.c: New file.
16107         * benchtests/bench-stpcpy.c: New file.
16108         * benchtests/bench-stpncpy-ifunc.c: New file.
16109         * benchtests/bench-stpncpy.c: New file.
16110         * benchtests/bench-strcasecmp-ifunc.c: New file.
16111         * benchtests/bench-strcasecmp.c: New file.
16112         * benchtests/bench-strcasestr-ifunc.c: New file.
16113         * benchtests/bench-strcasestr.c: New file.
16114         * benchtests/bench-strcat-ifunc.c: New file.
16115         * benchtests/bench-strcat.c: New file.
16116         * benchtests/bench-strchr-ifunc.c: New file.
16117         * benchtests/bench-strchr.c: New file.
16118         * benchtests/bench-strchrnul-ifunc.c: New file.
16119         * benchtests/bench-strchrnul.c: New file.
16120         * benchtests/bench-strcmp-ifunc.c: New file.
16121         * benchtests/bench-strcmp.c: New file.
16122         * benchtests/bench-strcpy-ifunc.c: New file.
16123         * benchtests/bench-strcpy.c: New file.
16124         * benchtests/bench-strcspn-ifunc.c: New file.
16125         * benchtests/bench-strcspn.c: New file.
16126         * benchtests/bench-strlen-ifunc.c: New file.
16127         * benchtests/bench-strlen.c: New file.
16128         * benchtests/bench-strncasecmp-ifunc.c: New file.
16129         * benchtests/bench-strncasecmp.c: New file.
16130         * benchtests/bench-strncat-ifunc.c: New file.
16131         * benchtests/bench-strncat.c: New file.
16132         * benchtests/bench-strncmp-ifunc.c: New file.
16133         * benchtests/bench-strncmp.c: New file.
16134         * benchtests/bench-strncpy-ifunc.c: New file.
16135         * benchtests/bench-strncpy.c: New file.
16136         * benchtests/bench-strnlen-ifunc.c: New file.
16137         * benchtests/bench-strnlen.c: New file.
16138         * benchtests/bench-strpbrk-ifunc.c: New file.
16139         * benchtests/bench-strpbrk.c: New file.
16140         * benchtests/bench-strrchr-ifunc.c: New file.
16141         * benchtests/bench-strrchr.c: New file.
16142         * benchtests/bench-strspn-ifunc.c: New file.
16143         * benchtests/bench-strspn.c: New file.
16144         * benchtests/bench-strstr-ifunc.c: New file.
16145         * benchtests/bench-strstr.c: New file.
16147         * benchtests/Makefile: Disable parallel execution of targets.
16148         (string-bench): Add memcpy.
16149         (benchset): New variable to store a list of benchmark sets.
16150         (bench-func): Renamed from bench.
16151         (bench-set): New target.
16152         (bench): Depend on bench-func and bench-set.
16153         * benchtests/README: Add section on benchmark sets.
16154         * benchtests/bench-memcpy-ifunc.c: New file.
16155         * benchtests/bench-memcpy.c: New file.
16156         * benchtests/bench-string.h: New file.
16158 2013-06-11  Andreas Schwab  <schwab@suse.de>
16160         [BZ #15577]
16161         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16162         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16163         values in the triple.
16164         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16165         terminator in the group key.
16167 2013-06-11  Andreas Jaeger  <aj@suse.de>
16169         * po/zh_TW.po: Update Chinese (traditional) translation from
16170         translation project.
16172 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16174         * include/time.h (__clock_gettime): Add libc_hidden_proto.
16175         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16176         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
16177         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16178         (clock_getcpuclockid): Likewise.
16179         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16180         Add weak_alias and libc_hidden_def.
16181         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16182         * rt/clock_gettime.c (clock_gettime): Rename to
16183         __clock_gettime.  Add weak_alias and libc_hidden_def.
16184         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16185         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16186         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
16187         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16188         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16189         Likewise.
16190         * rt/clock_settime.c (clock_settime): Rename to
16191         __clock_settime.  Add weak_alias and libc_hidden_def.
16192         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16194 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
16196         * mach/err_boot.sub: Remove trailing whitespace.
16197         * mach/err_ipc.sub: Likewise.
16198         * mach/err_mach.sub: Likewise.
16200         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16201         (ROUNDING_TESTS_double): Likewise.
16202         (ROUNDING_TESTS_long_double): Likewise.
16203         (ROUNDING_TESTS): Likewise.
16204         * math/libm-test.inc: Include <math-tests.h>.
16205         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16206         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16207         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16208         (IF_ROUND_INIT_FE_UPWARD): Likewise.
16210 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16212         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16213         of assigning.
16215 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
16217         * sysdeps/gnu/errlist.awk: Do not generate space at end of
16218         otherwise empty TRANS lines.
16219         * sysdeps/gnu/errlist.c: Regenerated.
16221         * catgets/gencat.c (error_print): Use (void) in function
16222         definition.
16223         * crypt/crypt_util.c (__init_des): Likewise.
16224         * crypt/speeds.c (Stop): Likewise.
16225         (main): Likewise.
16226         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16227         * inet/ruserpass.c (token): Likewise.
16228         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16229         * intl/localealias.c (extend_alias_table): Likewise.
16230         * intl/plural-exp.c (init_germanic_plural): Likewise.
16231         * libio/fcloseall.c (__fcloseall): Likewise.
16232         * libio/genops.c (_IO_flush_all): Likewise.
16233         (_IO_flush_all_linebuffered): Likewise.
16234         (_IO_cleanup): Likewise.
16235         (_IO_iter_begin): Likewise.
16236         (_IO_iter_end): Likewise.
16237         (_IO_list_lock): Likewise.
16238         (_IO_list_unlock): Likewise.
16239         (_IO_list_resetlock): Likewise.
16240         * libio/getchar.c (getchar): Likewise.
16241         * libio/getchar_u.c (getchar_unlocked): Likewise.
16242         * libio/getwchar.c (getwchar): Likewise.
16243         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16244         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16245         * login/getpt.c (__getpt): Likewise.
16246         * login/tst-utmp.c (main): Likewise.
16247         * malloc/hooks.c (__malloc_check_init): Likewise.
16248         * malloc/malloc.c (__malloc_stats): Likewise.
16249         * malloc/mtrace.c (tr_break): Likewise.
16250         (mtrace): Likewise.
16251         (muntrace): Likewise.
16252         * misc/fstab.c (endfsent): Likewise.
16253         * misc/getclktck.c (__getclktck): Likewise.
16254         * misc/getdtsz.c (__getdtablesize): Likewise.
16255         * misc/gethostid.c (gethostid): Likewise.
16256         * misc/getpagesize.c (__getpagesize): Likewise.
16257         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16258         (__get_nprocs): Likewise.
16259         (__get_phys_pages): Likewise.
16260         (__get_avphys_pages): Likewise.
16261         * misc/getttyent.c (getttyent): Likewise.
16262         (setttyent): Likewise.
16263         (endttyent): Likewise.
16264         * misc/getusershell.c (getusershell): Likewise.
16265         (endusershell): Likewise.
16266         (setusershell): Likewise.
16267         (initshells): Likewise.
16268         * misc/hsearch.c (__hdestroy): Likewise.
16269         * misc/sync.c (sync): Likewise.
16270         * misc/syslog.c (closelog_internal): Likewise.
16271         (closelog): Likewise.
16272         * misc/ttyslot.c (ttyslot): Likewise.
16273         * misc/vhangup.c (vhangup): Likewise.
16274         * posix/fork.c (__fork): Likewise.
16275         * posix/getegid.c (__getegid): Likewise.
16276         * posix/geteuid.c (__geteuid): Likewise.
16277         * posix/getgid.c (__getgid): Likewise.
16278         * posix/getpid.c (__getpid): Likewise.
16279         * posix/getppid.c (__getppid): Likewise.
16280         * posix/getuid.c (__getuid): Likewise.
16281         * posix/pause.c (pause): Likewise.
16282         * posix/setpgrp.c (setpgrp): Likewise.
16283         * posix/setsid.c (__setsid): Likewise.
16284         * posix/test-vfork.c (noop): Likewise.
16285         * resolv/gethnamaddr.c (_endhtent): Likewise.
16286         (_gethtent): Likewise.
16287         (ht_endhostent): Likewise.
16288         (gethostent): Likewise.
16289         (dns_service): Likewise.
16290         * stdlib/drand48.c (drand48): Likewise.
16291         * stdlib/lrand48.c (lrand48): Likewise.
16292         * stdlib/mrand48.c (mrand48): Likewise.
16293         * stdlib/rand.c (rand): Likewise.
16294         * stdlib/random.c (__random): Likewise.
16295         * stdlib/setenv.c (clearenv): Likewise.
16296         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16297         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16298         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16299         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16300         (__get_nprocs): Likewise.
16301         (__get_phys_pages): Likewise.
16302         (__get_avphys_pages): Likewise.
16303         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16304         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16305         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16306         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16307         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16308         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16309         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16310         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16311         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16312         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16313         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16314         * sysdeps/mach/hurd/sync.c (sync): Likewise.
16315         * sysdeps/posix/clock.c (clock): Likewise.
16316         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16317         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16318         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16319         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16320         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16321         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16322         (__get_nprocs_conf): Likewise.
16323         (__get_phys_pages): Likewise.
16324         (__get_avphys_pages): Likewise.
16325         * time/clock.c (clock): Likewise.
16326         * time/tzset.c (__tzname_max): Likewise.
16328 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
16330         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16331         (__bswap_32): Do not use "register".
16332         * crypt/crypt.c (_ufc_doit_r): Likewise.
16333         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16334         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16335         * gmon/gmon.c (__monstartup): Likewise.
16336         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16337         * hurd/hurdmalloc.c (more_memory): Likewise.
16338         (malloc): Likewise.
16339         (free): Likewise.
16340         (realloc): Likewise.
16341         (malloc_fork_prepare): Likewise.
16342         (malloc_fork_parent): Likewise.
16343         (malloc_fork_child): Likewise.
16344         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16345         (_svcauth_des): Likewise.
16346         * inet/inet_lnaof.c (inet_lnaof): Likewise.
16347         * inet/inet_net.c (inet_network): Likewise.
16348         * inet/inet_netof.c (inet_netof): Likewise.
16349         * inet/rcmd.c (__validuser2_sa): Likewise.
16350         * io/fts.c (fts_open): Likewise.
16351         (fts_load): Likewise.
16352         (fts_close): Likewise.
16353         (fts_read): Likewise.
16354         (fts_children): Likewise.
16355         (fts_build): Likewise.
16356         (fts_stat): Likewise.
16357         (fts_sort): Likewise.
16358         (fts_alloc): Likewise.
16359         (fts_lfree): Likewise.
16360         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16361         (_IO_file_xsgetn): Likewise.
16362         (_IO_file_xsgetn_mmap): Likewise.
16363         * libio/iofopncook.c (_IO_cookie_read): Likewise.
16364         (_IO_cookie_write): Likewise.
16365         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16366         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16367         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16368         * malloc/obstack.c (_obstack_begin): Likewise.
16369         (_obstack_begin_1): Likewise.
16370         (_obstack_newchunk): Likewise.
16371         (_obstack_allocated_p): Likewise.
16372         (obstack_free): Likewise.
16373         (_obstack_memory_used): Likewise.
16374         * misc/getttyent.c (getttynam): Likewise.
16375         (getttyent): Likewise.
16376         (skip): Likewise.
16377         (value): Likewise.
16378         * misc/getusershell.c (initshells): Likewise.
16379         * misc/syslog.c (__vsyslog_chk): Likewise.
16380         * misc/ttyslot.c (ttyslot): Likewise.
16381         * nis/nis_hash.c (__nis_hash): Likewise.
16382         * posix/fnmatch_loop.c (FCT): Likewise.
16383         * posix/getconf.c (print_all): Likewise.
16384         (main): Likewise.
16385         * posix/getopt.c (exchange): Likewise.
16386         * posix/glob.c (globfree): Likewise.
16387         (prefix_array): Likewise.
16388         (__glob_pattern_type): Likewise.
16389         * resolv/arpa/nameser.h (NS_GET16): Likewise.
16390         (NS_GET32): Likewise.
16391         (NS_PUT16): Likewise.
16392         (NS_PUT32): Likewise.
16393         * resolv/gethnamaddr.c (getanswer): Likewise.
16394         (gethostbyname2): Likewise.
16395         (gethostbyaddr): Likewise.
16396         (_gethtent): Likewise.
16397         (_gethtbyname2): Likewise.
16398         (_gethtbyaddr): Likewise.
16399         * resolv/ns_print.c (dst_s_get_int16): Likewise.
16400         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16401         * resolv/res_init.c (__res_vinit): Likewise.
16402         (net_mask): Likewise.
16403         * resolv/res_mkquery.c (outchar): Likewise.
16404         (PRINT): Likewise.
16405         * stdio-common/printf_fp.c (outchar): Likewise.
16406         (PRINT): Likewise.
16407         * stdio-common/printf_fphex.c (outchar): Likewise.
16408         (PRINT): Likewise.
16409         * stdio-common/printf_size.c (outchar): Likewise.
16410         (PRINT): Likewise.
16411         * stdio-common/test_rdwr.c (main): Likewise.
16412         * stdio-common/tfformat.c (matches): Likewise.
16413         * stdio-common/vfprintf.c (outchar): Likewise.
16414         (printf_unknown): Likewise.
16415         (buffered_vfprintf): Likewise.
16416         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16417         * stdio-common/xbug.c (AppendToBuffer): Likewise.
16418         (ReadFile): Likewise.
16419         * stdlib/qsort.c (SWAP): Likewise.
16420         (_quicksort): Likewise.
16421         * stdlib/setenv.c (__add_to_environ): Likewise.
16422         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16423         * stdlib/strtol_l.c (__strtol_l): Likewise.
16424         * stdlib/tst-strtod.c (main): Likewise.
16425         * stdlib/tst-strtol.c (main): Likewise.
16426         * stdlib/tst-strtoll.c (main): Likewise.
16427         * string/bits/string2.h (__strcmp_cc): Likewise.
16428         (__strcmp_cg): Likewise.
16429         (__strcspn_c1): Likewise.
16430         (__strcspn_c2): Likewise.
16431         (__strcspn_c3): Likewise.
16432         (__strspn_c1): Likewise.
16433         (__strspn_c2): Likewise.
16434         (__strspn_c3): Likewise.
16435         (__strsep_1c): Likewise.
16436         (__strsep_2c): Likewise.
16437         (__strsep_3c): Likewise.
16438         * string/memccpy.c (__memccpy): Likewise.
16439         * string/stpcpy.c (__stpcpy): Likewise.
16440         * string/strcmp.c (strcmp): Likewise.
16441         * string/strrchr.c (strrchr): Likewise.
16442         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16443         Likewise.
16444         * sysdeps/mach/hurd/getcwd.c
16445         (_hurd_canonicalize_directory_name_internal): Likewise.
16446         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16447         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16448         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16449         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16450         Likewise, in both definitions.
16451         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16452         definitions.
16453         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16454         64] (__bswap_64): Likewise.
16455         * time/test_time.c (main): Likewise.
16456         * time/tzfile.c (__tzfile_read): Likewise.
16457         (__tzfile_compute): Likewise.
16458         * time/tzset.c (__tzset_parse_tz): Likewise.
16459         (tzset_internal): Likewise.
16460         (compute_change): Likewise.
16461         * wcsmbs/wcscat.c (__wcscat): Likewise.
16462         * wcsmbs/wcschr.c (wcschr): Likewise.
16463         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16464         * wcsmbs/wcscspn.c (wcscspn): Likewise.
16465         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16466         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16467         * wcsmbs/wcsspn.c (wcsspn): Likewise.
16468         * wcsmbs/wcsstr.c (wcsstr): Likewise.
16469         * wcsmbs/wmemchr.c (wmemchr): Likewise.
16470         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16471         * wcsmbs/wmemset.c (wmemset): Likewise.
16473 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
16475         * scripts/config.guess: Update to version 2013-05-16.
16476         * scripts/config.sub: Update to version 2013-04-24.
16477         * scripts/install-sh: Update to version 2011-11-20.07.
16478         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16479         * scripts/move-if-change: Update to version 2012-01-06 07:23.
16481 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
16483         * debug/fgetws_u_chk.c: Fix leading whitespaces.
16484         * elf/sln.c: Likewise.
16485         * hurd/hurd/ioctl.h: Likewise.
16486         * hurd/hurdmalloc.c: Likewise.
16487         * hurd/xattr.c: Likewise.
16488         * include/shlib-compat.h: Likewise.
16489         * inet/ruserpass.c: Likewise.
16490         * libio/iofgets_u.c: Likewise.
16491         * libio/iofgetws_u.c: Likewise.
16492         * locale/programs/ld-identification.c: Likewise.
16493         * locale/programs/ld-time.c: Likewise.
16494         * mach/msg-destroy.c: Likewise.
16495         * nss/nss_files/files-netgrp.c: Likewise.
16496         * resolv/res_data.c: Likewise.
16497         * soft-fp/op-1.h: Likewise.
16498         * soft-fp/op-2.h: Likewise.
16499         * soft-fp/op-4.h: Likewise.
16500         * soft-fp/op-common.h: Likewise.
16501         * stdio-common/printf_fphex.c: Likewise.
16502         * stdlib/strtod_l.c: Likewise.
16503         * sunrpc/rpc/clnt.h: Likewise.
16504         * sysdeps/generic/framestate.c: Likewise.
16505         * sysdeps/i386/bsd-_setjmp.S: Likewise.
16506         * sysdeps/i386/bsd-setjmp.S: Likewise.
16507         * sysdeps/i386/__longjmp.S: Likewise.
16508         * sysdeps/i386/setjmp.S: Likewise.
16509         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16510         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16511         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16512         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16513         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16514         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16515         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16516         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16517         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16518         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16519         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16520         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16521         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16522         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16523         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16524         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16525         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16526         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16527         * sysdeps/ieee754/support.c: Likewise.
16528         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16529         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16530         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16531         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16532         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16533         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16534         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16535         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16536         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16537         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16538         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16539         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16540         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16541         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16542         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16543         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16544         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16547 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
16549         * posix/transbug.c: Remove executable mode.
16551 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
16553         * crypt/speeds.c: Remove trailing whitespace.
16554         * dlfcn/default.c: Likewise.
16555         * elf/ifuncdep2.c: Likewise.
16556         * elf/ifuncmain1.c: Likewise.
16557         * elf/ifuncmain1vis.c: Likewise.
16558         * elf/testobj.h: Likewise.
16559         * elf/tst-stackguard1.c: Likewise.
16560         * gmon/sys/gmon.h: Likewise.
16561         * hurd/hurdmsg.c: Likewise.
16562         * hurd/new-fd.c: Likewise.
16563         * hurd/ports-get.c: Likewise.
16564         * iconvdata/ibm1008_420.c: Likewise.
16565         * inet/tst-getni1.c: Likewise.
16566         * inet/tst-getni2.c: Likewise.
16567         * libio/ioungetc.c: Likewise.
16568         * libio/wfiledoalloc.c: Likewise.
16569         * manual/libm-err-tab.pl: Likewise.
16570         * math/w_dremf.c: Likewise.
16571         * misc/ftruncate.c: Likewise.
16572         * posix/bug-glob2.c: Likewise.
16573         * posix/tst-pcre.c: Likewise.
16574         * posix/wait4.c: Likewise.
16575         * resolv/README: Likewise.
16576         * resolv/res_debug.h: Likewise.
16577         * resolv/tst-inet_ntop.c: Likewise.
16578         * setjmp/bug269-setjmp.c: Likewise.
16579         * soft-fp/extended.h: Likewise.
16580         * soft-fp/op-1.h: Likewise.
16581         * soft-fp/op-2.h: Likewise.
16582         * soft-fp/op-4.h: Likewise.
16583         * soft-fp/op-8.h: Likewise.
16584         * soft-fp/testit.c: Likewise.
16585         * stdio-common/bug16.c: Likewise.
16586         * stdlib/random.c: Likewise.
16587         * sunrpc/rpcsvc/rquota.x: Likewise.
16588         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16589         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16590         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16591         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16592         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16593         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16594         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16595         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16596         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16597         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16598         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16599         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16600         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16601         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16602         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16603         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16604         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16605         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16606         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16607         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16608         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16609         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16610         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16611         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16612         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16613         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16614         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16615         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16616         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16617         * sysdeps/ieee754/s_lib_version.c: Likewise.
16618         * sysdeps/mach/hurd/check_fds.c: Likewise.
16619         * sysdeps/mach/hurd/getsockname.c: Likewise.
16620         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16621         * sysdeps/mach/hurd/recvfrom.c: Likewise.
16622         * sysdeps/powerpc/bits/link.h: Likewise.
16623         * sysdeps/powerpc/dl-procinfo.c: Likewise.
16624         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16625         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16626         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16627         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16628         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16629         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16630         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16631         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16632         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16633         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16634         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16635         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16636         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16637         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16638         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16639         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16640         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16641         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16642         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16643         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16644         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16645         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16646         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16647         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16648         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16649         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16650         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16651         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16652         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16653         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16654         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16655         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16656         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16657         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16658         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16659         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16660         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16661         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16662         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16663         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16664         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16665         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16666         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16667         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16668         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16669         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16670         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16671         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16672         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16673         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16674         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16675         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16676         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16677         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16678         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16679         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16680         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16681         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16682         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16683         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16684         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16685         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16686         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16687         * sysdeps/powerpc/sysdep.h: Likewise.
16688         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16689         * sysdeps/s390/s390-64/sub_n.S: Likewise.
16690         * sysdeps/sh/dl-trampoline.S: Likewise.
16691         * sysdeps/sh/memset.S: Likewise.
16692         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16693         * sysdeps/sh/strlen.S: Likewise.
16694         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16695         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16696         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16697         * sysdeps/sparc/sparc32/rem.S: Likewise.
16698         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16699         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16700         * sysdeps/sparc/sparc32/strchr.S: Likewise.
16701         * sysdeps/sparc/sparc32/udiv.S: Likewise.
16702         * sysdeps/sparc/sparc32/urem.S: Likewise.
16703         * sysdeps/sparc/sparc64/add_n.S: Likewise.
16704         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16705         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16706         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16707         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16708         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16709         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16710         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16711         * sysdeps/unix/bsd/times.c: Likewise.
16712         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16713         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16717         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16718         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16719         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16720         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16721         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16722         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16723         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16724         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16725         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16726         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16727         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16728         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16729         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16730         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16731         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16732         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16733         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16734         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16735         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16736         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16737         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16738         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16739         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16740         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16741         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16742         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16743         * sysdeps/x86_64/strcspn.S: Likewise.
16745 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16747         * locale/C-translit.h: Revert #include <stdint.h> because this is a
16748         generated file.  Regenerate properly from gen-translit.pl.
16749         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
16750         locale/C-translit.h.
16752 2013-06-05  Andreas Schwab  <schwab@suse.de>
16754         [BZ #15100]
16755         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16756         week as 6 instead of -1.
16757         * time/tst-strptime.c (day_tests): Add test case.
16759 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16761         * sysdeps/generic/math_private.h
16762         (libc_feholdexcept_setround_53bit): Replace with
16763         libc_feholdsetround_53bit.
16764         (libc_feupdateenv_53bit): Replace with
16765         libc_feresetround_53bit.
16766         (SET_RESTORE_ROUND_53BIT): Adjust.
16768 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16770         * string/test-strchrnul.c: Add copyright header.
16772         * posix/tst-getaddrinfo4.c: Increase test timeout.
16774 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
16776         [BZ #15536]
16777         * math/libm-test.inc (MAX_EXP): Remove
16778         (MIN_EXP): Define.
16779         (ulp): Use MIN_EXP - MANT_DIG.
16780         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16782 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
16784         * po/be.po: Revert last change.
16785         * po/zh_CN.po: Likewise.
16786         * po/header.pot: Likewise.
16788 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
16790         * Makefile ($(common-objpfx)linkobj/libc.so): Define
16791         link-libc-deps to empty as target-specific variable.
16792         * Makerules (link-libc-args): New variable.
16793         (libc-for-link): Likewise.
16794         (link-libc-deps): Likewise.
16795         (lib%.so): Depend on $(link-libc-deps).  Link with
16796         $(link-libc-args).
16797         (build-module): Link with $(link-libc-args).
16798         (build-module-asneeded): Likewise.
16799         (build-module-helper-objlist): Filter out $(link-libc-deps) from
16800         list of objects.
16801         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16802         target-specific variable.
16803         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16804         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16805         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16806         libc.
16807         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16808         libc and ld.so.
16809         ($(objpfx)libpcprofile.so): Likewise.
16810         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16811         libc_nonshared.a.
16812         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16813         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16814         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16815         $(link-libc-deps).
16816         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16817         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16818         * login/Makefile ($(objpfx)libutil.so): Likewise.
16819         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16820         * math/Makefile ($(objpfx)libm.so): Likewise.
16821         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16822         $(objpfx)libnsl.so): Define libc-for-link as target-specific
16823         variable instead of depending directly on libc.
16824         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16825         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16826         $(link-libc-deps).
16827         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16828         libc.
16829         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16830         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16831         ($(objpfx)libanl.so): Likewise.
16832         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16833         ld.so.
16834         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16835         $(link-libc-deps).
16836         * sysdeps/i386/fpu/Makefile: Remove file.
16837         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16838         ($(objpfx)libm.so): Remove dependency on ld.so.
16840 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
16842         [BZ # 15553]
16843         * nis/yp_xdr.c (XDRMAXNAME): Define.
16844         (XDRMAXRECORD): Define.
16845         (xdr_domainname): Use XDRMAXNAME.
16846         (xdr_mapname): Likewise.
16847         (xdr_peername): Likewise.
16848         (xdr_keydat): Use XDRMAXRECORD.
16849         (xdr_valdat): Likewise.
16851 2013-05-30  Jeff Law  <law@redhat.com>
16853         [BZ #14256]
16854         * manual/errno.texi (ESTALE): Update to account for more than
16855         just NFS file systems.
16856         * sysdeps/gnu/errlist.c: Regenerated.
16858 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16860         [BZ #15465]
16861         * elf/Makefile (tests): Add tst-null-argv.
16862         (modules-names):  Add tst-null-argv-lib.
16863         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16864         (tst-null-argv-ENV): Set environment for tst-null-argv.
16865         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16866         (RTLD_PROGNAME): New macro.
16867         * elf/tst-null-argv.c: New test case.
16868         * elf/tst-null-argv-lib.c: Library for test case.
16869         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16870         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16871         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16872         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16873         * elf/dl-init.c (call_init): Likewise.
16874         (_dl_init): Likewise.
16875         * elf/dl-load.c (print_search_path): Likewise.
16876         (_dl_map_object): Likewise.
16877         * elf/dl-lookup.c (do_lookup_x): Likewise.
16878         (add_dependency): Likewise.
16879         (_dl_lookup_symbol_x): Likewise.
16880         (_dl_debug_bindings): Likewise.
16881         * elf/dl-open.c (_dl_show_scope): Likewise.
16882         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16883         * elf/dl-version.c (match_symbol): Likewise.
16884         (_dl_check_map_versions): Likewise.
16885         * elf/rtld.c (dl_main): Likewise.
16886         (print_unresolved): Use RTLD_PROGNAME.
16887         (print_missing_version): Likewise.
16888         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16889         (elf_machine_rela): Likewise.
16890         * sysdeps/powerpc/powerpc32/dl-machine.c
16891         (__process_machine_rela): Likewise.
16892         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16893         Likewise.
16894         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16895         Likewise.
16896         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16897         Likewise.
16898         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16899         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16900         Likewise.
16901         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16902         Likewise.
16903         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16905 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
16907         * po/be.po: Add descriptive title.
16908         * po/zh_CN.po: Likewise.
16909         * po/header.pot: Likewise.
16911 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
16913         * locale/programs/locarchive.c (create_archive): Inlucde fname in
16914         error message.
16915         (enlarge_archive): Likewise.
16917 2013-05-28  Ben North  <ben@redfrontdoor.org>
16919         * manual/arith.texi (frexp): It is the magnitude of the return
16920         value which lies in [0.5, 1), not the return value itself.
16922 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16926 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
16928         * stdio-common/bug26.c (main): Correct fscanf template.
16930         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16931         declare _dl_skip_args.
16933         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16934         Don't declare.
16936         * manual/platform.texi: Add missing @end deftypefun.
16938 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
16940         [BZ #15529]
16941         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16942         bit of mantissa of 2^16382.
16943         * math/libm-test.inc (hypot_test_data): Add more tests.
16945         * math/libm-test.inc: Add drem and pow10 to list of tested
16946         functions.
16947         (pow10_test): New function.
16948         (drem_test): Likewise.
16949         (drem_test_tonearest): Likewise.
16950         (drem_test_towardzero): Likewise.
16951         (drem_test_downward): Likewise.
16952         (drem_test_upward): Likewise.
16953         (main): Call the new functions.
16955         * math/libm-test.inc (finite_test_data): Remove.
16956         (finite_test): Run tests from isfinite_test_data.
16957         (gamma_test_data): Remove.
16958         (gamma_test): Run tests from lgamma_test_data.
16959         * sysdeps/i386/fpu/libm-test-ulps: Update.
16960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16962 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16964         * manual/platform.texi: Add PowerPC PPR function set documentation.
16965         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16966         implementation.
16968 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
16970         * math/libm-test.inc (MAX_EXP): Define.
16971         (ULPDIFF): Define.
16972         (ulp): New function.
16973         (check_float_internal): Use ULPDIFF.
16974         (cpow_test): Disable failing test.
16975         (check_ulp): Test ulp() implemetnation.
16976         (main): Call check_ulp before starting tests.
16978 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
16980         * math/gen-libm-test.pl (generate_testfile): Do not handle
16981         START_DATA and END_DATA.
16982         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16983         END_DATA.
16984         (acos_tonearest_test_data): Likewise.
16985         (acos_towardzero_test_data): Likewise.
16986         (acos_downward_test_data): Likewise.
16987         (acos_upward_test_data): Likewise.
16988         (acosh_test_data): Likewise.
16989         (asin_test_data): Likewise.
16990         (asin_tonearest_test_data): Likewise.
16991         (asin_towardzero_test_data): Likewise.
16992         (asin_downward_test_data): Likewise.
16993         (asin_upward_test_data): Likewise.
16994         (asinh_test_data): Likewise.
16995         (atan_test_data): Likewise.
16996         (atanh_test_data): Likewise.
16997         (atan2_test_data): Likewise.
16998         (cabs_test_data): Likewise.
16999         (cacos_test_data): Likewise.
17000         (cacosh_test_data): Likewise.
17001         (carg_test_data): Likewise.
17002         (casin_test_data): Likewise.
17003         (casinh_test_data): Likewise.
17004         (catan_test_data): Likewise.
17005         (catanh_test_data): Likewise.
17006         (cbrt_test_data): Likewise.
17007         (ccos_test_data): Likewise.
17008         (ccosh_test_data): Likewise.
17009         (ceil_test_data): Likewise.
17010         (cexp_test_data): Likewise.
17011         (cimag_test_data): Likewise.
17012         (clog_test_data): Likewise.
17013         (clog10_test_data): Likewise.
17014         (conj_test_data): Likewise.
17015         (copysign_test_data): Likewise.
17016         (cos_test_data): Likewise.
17017         (cos_tonearest_test_data): Likewise.
17018         (cos_towardzero_test_data): Likewise.
17019         (cos_downward_test_data): Likewise.
17020         (cos_upward_test_data): Likewise.
17021         (cosh_test_data): Likewise.
17022         (cosh_tonearest_test_data): Likewise.
17023         (cosh_towardzero_test_data): Likewise.
17024         (cosh_downward_test_data): Likewise.
17025         (cosh_upward_test_data): Likewise.
17026         (cpow_test_data): Likewise.
17027         (cproj_test_data): Likewise.
17028         (creal_test_data): Likewise.
17029         (csin_test_data): Likewise.
17030         (csinh_test_data): Likewise.
17031         (csqrt_test_data): Likewise.
17032         (ctan_test_data): Likewise.
17033         (ctan_tonearest_test_data): Likewise.
17034         (ctan_towardzero_test_data): Likewise.
17035         (ctan_downward_test_data): Likewise.
17036         (ctan_upward_test_data): Likewise.
17037         (ctanh_test_data): Likewise.
17038         (ctanh_tonearest_test_data): Likewise.
17039         (ctanh_towardzero_test_data): Likewise.
17040         (ctanh_downward_test_data): Likewise.
17041         (ctanh_upward_test_data): Likewise.
17042         (erf_test_data): Likewise.
17043         (erfc_test_data): Likewise.
17044         (exp_test_data): Likewise.
17045         (exp_tonearest_test_data): Likewise.
17046         (exp_towardzero_test_data): Likewise.
17047         (exp_downward_test_data): Likewise.
17048         (exp_upward_test_data): Likewise.
17049         (exp10_test_data): Likewise.
17050         (exp2_test_data): Likewise.
17051         (expm1_test_data): Likewise.
17052         (fabs_test_data): Likewise.
17053         (fdim_test_data): Likewise.
17054         (finite_test_data): Likewise.
17055         (floor_test_data): Likewise.
17056         (fma_test_data): Likewise.
17057         (fma_towardzero_test_data): Likewise.
17058         (fma_downward_test_data): Likewise.
17059         (fma_upward_test_data): Likewise.
17060         (fmax_test_data): Likewise.
17061         (fmin_test_data): Likewise.
17062         (fmod_test_data): Likewise.
17063         (fpclassify_test_data): Likewise.
17064         (frexp_test_data): Likewise.
17065         (gamma_test_data): Likewise.
17066         (hypot_test_data): Likewise.
17067         (ilogb_test_data): Likewise.
17068         (isfinite_test_data): Likewise.
17069         (isgreater_test_data): Likewise.
17070         (isgreaterequal_test_data): Likewise.
17071         (isinf_test_data): Likewise.
17072         (isless_test_data): Likewise.
17073         (islessequal_test_data): Likewise.
17074         (islessgreater_test_data): Likewise.
17075         (isnan_test_data): Likewise.
17076         (isnormal_test_data): Likewise.
17077         (issignaling_test_data): Likewise.
17078         (isunordered_test_data): Likewise.
17079         (j0_test_data): Likewise.
17080         (j1_test_data): Likewise.
17081         (jn_test_data): Likewise.
17082         (ldexp_test_data): Likewise.
17083         (lgamma_test_data): Likewise.
17084         (lrint_test_data): Likewise.
17085         (lrint_tonearest_test_data): Likewise.
17086         (lrint_towardzero_test_data): Likewise.
17087         (lrint_downward_test_data): Likewise.
17088         (lrint_upward_test_data): Likewise.
17089         (llrint_test_data): Likewise.
17090         (llrint_tonearest_test_data): Likewise.
17091         (llrint_towardzero_test_data): Likewise.
17092         (llrint_downward_test_data): Likewise.
17093         (llrint_upward_test_data): Likewise.
17094         (log_test_data): Likewise.
17095         (log10_test_data): Likewise.
17096         (log1p_test_data): Likewise.
17097         (log2_test_data): Likewise.
17098         (logb_test_data): Likewise.
17099         (logb_downward_test_data): Likewise.
17100         (lround_test_data): Likewise.
17101         (llround_test_data): Likewise.
17102         (modf_test_data): Likewise.
17103         (nearbyint_test_data): Likewise.
17104         (nextafter_test_data): Likewise.
17105         (nexttoward_test_data): Likewise.
17106         (pow_test_data): Likewise.
17107         (pow_tonearest_test_data): Likewise.
17108         (pow_towardzero_test_data): Likewise.
17109         (pow_downward_test_data): Likewise.
17110         (pow_upward_test_data): Likewise.
17111         (remainder_test_data): Likewise.
17112         (remainder_tonearest_test_data): Likewise.
17113         (remainder_towardzero_test_data): Likewise.
17114         (remainder_downward_test_data): Likewise.
17115         (remainder_upward_test_data): Likewise.
17116         (remquo_test_data): Likewise.
17117         (rint_test_data): Likewise.
17118         (rint_tonearest_test_data): Likewise.
17119         (rint_towardzero_test_data): Likewise.
17120         (rint_downward_test_data): Likewise.
17121         (rint_upward_test_data): Likewise.
17122         (round_test_data): Likewise.
17123         (scalb_test_data): Likewise.
17124         (scalbn_test_data): Likewise.
17125         (scalbln_test_data): Likewise.
17126         (signbit_test_data): Likewise.
17127         (sin_test_data): Likewise.
17128         (sin_tonearest_test_data): Likewise.
17129         (sin_towardzero_test_data): Likewise.
17130         (sin_downward_test_data): Likewise.
17131         (sin_upward_test_data): Likewise.
17132         (sincos_test_data): Likewise.
17133         (sinh_test_data): Likewise.
17134         (sinh_tonearest_test_data): Likewise.
17135         (sinh_towardzero_test_data): Likewise.
17136         (sinh_downward_test_data): Likewise.
17137         (sinh_upward_test_data): Likewise.
17138         (sqrt_test_data): Likewise.
17139         (tan_test_data): Likewise.
17140         (tan_tonearest_test_data): Likewise.
17141         (tan_towardzero_test_data): Likewise.
17142         (tan_downward_test_data): Likewise.
17143         (tan_upward_test_data): Likewise.
17144         (tanh_test_data): Likewise.
17145         (tgamma_test_data): Likewise.
17146         (trunc_test_data): Likewise.
17147         (y0_test_data): Likewise.
17148         (y1_test_data): Likewise.
17149         (yn_test_data): Likewise.
17150         (significand_test_data): Likewise.
17152         * math/gen-libm-test.pl (@functions): Remove variable.
17153         (generate_testfile): Don't handle START and END lines.
17154         * math/libm-test.inc (START): New macro.
17155         (END): Likewise.
17156         (END_COMPLEX): Likewise.
17157         (acos_test): Use END macro without arguments.
17158         (acos_test_tonearest): Likewise.
17159         (acos_test_towardzero): Likewise.
17160         (acos_test_downward): Likewise.
17161         (acos_test_upward): Likewise.
17162         (acosh_test): Likewise.
17163         (asin_test): Likewise.
17164         (asin_test_tonearest): Likewise.
17165         (asin_test_towardzero): Likewise.
17166         (asin_test_downward): Likewise.
17167         (asin_test_upward): Likewise.
17168         (asinh_test): Likewise.
17169         (atan_test): Likewise.
17170         (atanh_test): Likewise.
17171         (atan2_test): Likewise.
17172         (cabs_test): Likewise.
17173         (cacos_test): Use END_COMPLEX macro without arguments.
17174         (cacosh_test): Likewise.
17175         (carg_test): Use END macro without arguments.
17176         (casin_test): Use END_COMPLEX macro without arguments.
17177         (casinh_test): Likewise.
17178         (catan_test): Likewise.
17179         (catanh_test): Likewise.
17180         (cbrt_test): Use END macro without arguments.
17181         (ccos_test): Use END_COMPLEX macro without arguments.
17182         (ccosh_test): Likewise.
17183         (ceil_test): Use END macro without arguments.
17184         (cexp_test): Use END_COMPLEX macro without arguments.
17185         (cimag_test): Use END macro without arguments.
17186         (clog_test): Use END_COMPLEX macro without arguments.
17187         (clog10_test): Likewise.
17188         (conj_test): Likewise.
17189         (copysign_test): Use END macro without arguments.
17190         (cos_test): Likewise.
17191         (cos_test_tonearest): Likewise.
17192         (cos_test_towardzero): Likewise.
17193         (cos_test_downward): Likewise.
17194         (cos_test_upward): Likewise.
17195         (cosh_test): Likewise.
17196         (cosh_test_tonearest): Likewise.
17197         (cosh_test_towardzero): Likewise.
17198         (cosh_test_downward): Likewise.
17199         (cosh_test_upward): Likewise.
17200         (cpow_test): Use END_COMPLEX macro without arguments.
17201         (cproj_test): Likewise.
17202         (creal_test): Use END macro without arguments.
17203         (csin_test): Use END_COMPLEX macro without arguments.
17204         (csinh_test): Likewise.
17205         (csqrt_test): Likewise.
17206         (ctan_test): Likewise.
17207         (ctan_test_tonearest): Likewise.
17208         (ctan_test_towardzero): Likewise.
17209         (ctan_test_downward): Likewise.
17210         (ctan_test_upward): Likewise.
17211         (ctanh_test): Likewise.
17212         (ctanh_test_tonearest): Likewise.
17213         (ctanh_test_towardzero): Likewise.
17214         (ctanh_test_downward): Likewise.
17215         (ctanh_test_upward): Likewise.
17216         (erf_test): Use END macro without arguments.
17217         (erfc_test): Likewise.
17218         (exp_test): Likewise.
17219         (exp_test_tonearest): Likewise.
17220         (exp_test_towardzero): Likewise.
17221         (exp_test_downward): Likewise.
17222         (exp_test_upward): Likewise.
17223         (exp10_test): Likewise.
17224         (exp2_test): Likewise.
17225         (expm1_test): Likewise.
17226         (fabs_test): Likewise.
17227         (fdim_test): Likewise.
17228         (finite_test): Likewise.
17229         (floor_test): Likewise.
17230         (fma_test): Likewise.
17231         (fma_test_towardzero): Likewise.
17232         (fma_test_downward): Likewise.
17233         (fma_test_upward): Likewise.
17234         (fmax_test): Likewise.
17235         (fmin_test): Likewise.
17236         (fmod_test): Likewise.
17237         (fpclassify_test): Likewise.
17238         (frexp_test): Likewise.
17239         (gamma_test): Likewise.
17240         (hypot_test): Likewise.
17241         (ilogb_test): Likewise.
17242         (isfinite_test): Likewise.
17243         (isgreater_test): Likewise.
17244         (isgreaterequal_test): Likewise.
17245         (isinf_test): Likewise.
17246         (isless_test): Likewise.
17247         (islessequal_test): Likewise.
17248         (islessgreater_test): Likewise.
17249         (isnan_test): Likewise.
17250         (isnormal_test): Likewise.
17251         (issignaling_test): Likewise.
17252         (isunordered_test): Likewise.
17253         (j0_test): Likewise.
17254         (j1_test): Likewise.
17255         (jn_test): Likewise.
17256         (ldexp_test): Likewise.
17257         (lgamma_test): Likewise.
17258         (lrint_test): Likewise.
17259         (lrint_test_tonearest): Likewise.
17260         (lrint_test_towardzero): Likewise.
17261         (lrint_test_downward): Likewise.
17262         (lrint_test_upward): Likewise.
17263         (llrint_test): Likewise.
17264         (llrint_test_tonearest): Likewise.
17265         (llrint_test_towardzero): Likewise.
17266         (llrint_test_downward): Likewise.
17267         (llrint_test_upward): Likewise.
17268         (log_test): Likewise.
17269         (log10_test): Likewise.
17270         (log1p_test): Likewise.
17271         (log2_test): Likewise.
17272         (logb_test): Likewise.
17273         (logb_test_downward): Likewise.
17274         (lround_test): Likewise.
17275         (llround_test): Likewise.
17276         (modf_test): Likewise.
17277         (nearbyint_test): Likewise.
17278         (nextafter_test): Likewise.
17279         (nexttoward_test): Likewise.
17280         (pow_test): Likewise.
17281         (pow_test_tonearest): Likewise.
17282         (pow_test_towardzero): Likewise.
17283         (pow_test_downward): Likewise.
17284         (pow_test_upward): Likewise.
17285         (remainder_test): Likewise.
17286         (remainder_test_tonearest): Likewise.
17287         (remainder_test_towardzero): Likewise.
17288         (remainder_test_downward): Likewise.
17289         (remainder_test_upward): Likewise.
17290         (remquo_test): Likewise.
17291         (rint_test): Likewise.
17292         (rint_test_tonearest): Likewise.
17293         (rint_test_towardzero): Likewise.
17294         (rint_test_downward): Likewise.
17295         (rint_test_upward): Likewise.
17296         (round_test): Likewise.
17297         (scalb_test): Likewise.
17298         (scalbn_test): Likewise.
17299         (scalbln_test): Likewise.
17300         (signbit_test): Likewise.
17301         (sin_test): Likewise.
17302         (sin_test_tonearest): Likewise.
17303         (sin_test_towardzero): Likewise.
17304         (sin_test_downward): Likewise.
17305         (sin_test_upward): Likewise.
17306         (sincos_test): Likewise.
17307         (sinh_test): Likewise.
17308         (sinh_test_tonearest): Likewise.
17309         (sinh_test_towardzero): Likewise.
17310         (sinh_test_downward): Likewise.
17311         (sinh_test_upward): Likewise.
17312         (sqrt_test): Likewise.
17313         (tan_test): Likewise.
17314         (tan_test_tonearest): Likewise.
17315         (tan_test_towardzero): Likewise.
17316         (tan_test_downward): Likewise.
17317         (tan_test_upward): Likewise.
17318         (tanh_test): Likewise.
17319         (tgamma_test): Likewise.
17320         (trunc_test): Likewise.
17321         (y0_test): Likewise.
17322         (y1_test): Likewise.
17323         (yn_test): Likewise.
17324         (significand_test): Likewise.
17326 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
17328         [BZ #15381]
17329         * libio/genops.c (_IO_no_init): Initialize wide struct info.
17331 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17333         [BZ #14894]
17334         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17335         __ppc_mdoio and __ppc_mdoom.
17336         * manual/platform.texi: Document new functions __ppc_yield,
17337         __ppc_mdoio and __ppc_mdoom.
17339 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
17341         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17342         (main): Mention "tls" pseudo-hwcap is legacy.
17343         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17345 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
17347         * math/gen-libm-test.pl (parse_args): Output only string of
17348         arguments as text for test name, not full call or descriptions of
17349         tests for extra outputs.
17350         (generate_testfile): Do not pass function name to parse_args.
17351         Generate this_func variable from START.
17352         * math/libm-test.inc (struct test_f_f_data): Rename test_name
17353         field to arg_str.
17354         (struct test_ff_f_data): Likewise.
17355         (test_ff_f_data_nexttoward): Likewise.
17356         (struct test_fi_f_data): Likewise.
17357         (struct test_fl_f_data): Likewise.
17358         (struct test_if_f_data): Likewise.
17359         (struct test_fff_f_data): Likewise.
17360         (struct test_c_f_data): Likewise.
17361         (struct test_f_f1_data): Likewise.  Remove field extra_name.
17362         (struct test_fF_f1_data): Likewise.
17363         (struct test_ffI_f1_data): Likewise.
17364         (struct test_c_c_data): Rename test_name field to arg_str.
17365         (struct test_cc_c_data): Likewise.
17366         (struct test_f_i_data): Likewise.
17367         (struct test_ff_i_data): Likewise.
17368         (struct test_f_l_data): Likewise.
17369         (struct test_f_L_data): Likewise.
17370         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
17371         and extra2_name.
17372         (COMMON_TEST_SETUP): New macro.
17373         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17374         (COMMON_TEST_CLEANUP): Likewise.
17375         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17376         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
17377         macros.
17378         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17379         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
17380         macros.
17381         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17382         (RUN_TEST_fff_f): Take argument string.  Call new setup and
17383         cleanup macros.
17384         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17385         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
17386         macros.
17387         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17388         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
17389         macros.
17390         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17391         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
17392         cleanup macros.
17393         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17394         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
17395         cleanup macros.
17396         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17397         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
17398         cleanup macros.
17399         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17400         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
17401         macros.
17402         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17403         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
17404         macros.
17405         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17406         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
17407         macros.
17408         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17409         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
17410         cleanup macros.
17411         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17412         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
17413         cleanup macros.
17414         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17415         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
17416         macros.
17417         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17418         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
17419         cleanup macros.
17420         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17421         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
17422         macros.
17423         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17424         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
17425         macros.
17426         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17427         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
17428         cleanup macros.
17429         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17431 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
17433         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17434         to _sifields.sigfault.
17435         (si_addr_lsb): Define new macro.
17436         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17437         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17438         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17440 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
17442         [BZ #15441]
17443         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17444         returns -1.
17445         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17446         null return -1.
17447         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17448         loading the domain.
17450 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
17452         * math/gen-libm-test.pl (parse_args): Do not include expected
17453         result in test name.
17454         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17455         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17456         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17457         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17458         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17461 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17463         * benchtests/Makefile: Sort function entries.
17465         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17466         tanh, asinh, acosh, atanh.
17467         * benchtests/acos-inputs: New file.
17468         * benchtests/acosh-inputs: New file.
17469         * benchtests/asin-inputs: New file.
17470         * benchtests/asinh-inputs: New file.
17471         * benchtests/atanh-inputs: New file.
17472         * benchtests/cosh-inputs: New file.
17473         * benchtests/log-inputs: New file.
17474         * benchtests/sinh-inputs: New file.
17475         * benchtests/tanh-inputs: New file.
17477 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
17479         [BZ #15339]
17480         * posix/tst-getaddrinfo4.c: New test.
17481         * posix/Makefile (tests): Add it.
17483 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17485         [BZ #15339]
17486         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17487         when no services were used.
17488         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17489         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17491 2013-05-21  Andreas Schwab  <schwab@suse.de>
17493         [BZ #15014]
17494         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17495         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17496         successful.
17497         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17498         redundant variable declarations and reallocation of buffer when
17499         parsing as IPv6 address.  Always set NSS status when called from
17500         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
17501         buffer too small.  Correct computation of needed size.
17502         * nss/Makefile (tests): Add test-digits-dots.
17503         * nss/test-digits-dots.c: New test.
17505 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17507         * benchtests/Makefile: Remove instructions for adding
17508         benchmark tests.
17509         * benchtests/README: New file to explain how to execute and
17510         enhance the benchmark tests.
17512 2013-05-21  Andreas Schwab  <schwab@suse.de>
17514         [BZ #15493]
17515         * setjmp/Makefile (tests): Add tst-sigsetjmp.
17516         * setjmp/tst-sigsetjmp.c: New test.
17518 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
17520         * sysdeps/x86_64/memset.S (memset): New implementation.
17521         (__bzero): Likewise.
17522         (__memset_tail): New function.
17524 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
17526         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17527         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17528         __memcpy_sse2_unaligned ifunc selection.
17529         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17530         Add memcpy-sse2-unaligned.S.
17531         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17532         Add: __memcpy_sse2_unaligned.
17534 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
17536         [BZ #15490]
17537         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17538         math_force_eval before restoring floating-point envrionment.
17539         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17540         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17541         Likewise.
17542         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17543         <math_private.h>.
17544         (__nearbyintl): Use math_force_eval before restoring
17545         floating-point environment.
17546         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17548         * math/gen-libm-test.pl (special_functions): Remove.
17549         (parse_args): Don't handle TEST_extra.  Handle functions with no
17550         return value.
17551         * math/libm-test.inc (struct test_sincos_data): Replace with
17552         struct test_fFF_11_data.
17553         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17554         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17555         (sincos_test_data): Change element type to struct
17556         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
17557         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17558         RUN_TEST_LOOP_sincos.
17559         * math/README.libm-test: Don't mention special handling of
17560         individual functions.
17561         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17562         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17563         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17564         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17565         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17568         * math/gen-libm-test.pl (get_variable): Remove function.
17569         (parse_args): Don't show pointer parameters to call in test
17570         names.  Use "extra output N" in test names for extra outputs
17571         rather than naming variables.
17573 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
17575         [BZ #15488]
17576         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17577         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17578         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17579         double tests.
17580         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17581         disable.
17582         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17583         check_long_double.
17585         * math/gen-libm-test.pl (@tests): Remove variable.
17586         ($count): Likewise.
17587         (new_test): Remove function.
17588         (show_exceptions): New function.
17589         (special_functions): Use show_exceptions instead of new_test.
17590         (parse_args): Likewise.
17591         (generate_testfile): Pass only function name in generated call to
17592         print_max_error or print_complex_max_error.
17593         (get_ulps): Do not handle complex tests specially.
17594         (output_test): Rename to ...
17595         (get_all_ulps_for_test): ... this.  Return a string rather than
17596         printing to a file.  Require ulps to be present.
17597         (output_ulps): Generate arrays rather than #defines.
17598         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17599         (struct ulp_data): New type.
17600         (BUILD_COMPLEX_ULP): Remove macro.
17601         (compare_ulp_data): New function.
17602         (find_ulps): Likewise.
17603         (find_test_ulps): Likewise.
17604         (find_function_ulps): Likewise.
17605         (find_complex_function_ulps): Likewise.
17606         (print_max_error): Determine allowed ulps using
17607         find_function_ulps.
17608         (print_complex_max_error): Determine allowed ulps using
17609         find_complex_function_ulps.
17610         (check_float_internal): Determine max ulps using find_test_ulps.
17611         (check_float): Do not take max_ulp parameter.  Update call to
17612         check_float_internal.
17613         (check_complex): Likewise.
17614         (check_int): Do not take max_ulp parameter.
17615         (check_long): Likewise.
17616         (check_bool): Likewise.
17617         (check_longlong): Likewise.
17618         (struct test_f_f_data): Remove max_ulp field.
17619         (struct test_ff_f_data): Likewise.
17620         (struct test_ff_f_data_nexttoward): Likewise.
17621         (struct test_fi_f_data): Likewise.
17622         (struct test_fl_f_data): Likewise.
17623         (struct test_if_f_data): Likewise.
17624         (struct test_fff_f_data): Likewise.
17625         (struct test_c_f_data): Likewise.
17626         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17627         (struct test_fF_f1_data): Likewise.
17628         (struct test_ffI_f1_data): Likewise.
17629         (struct test_c_c_data): Remove max_ulp field.
17630         (struct test_cc_c_data): Likewise.
17631         (struct test_f_i_data): Likewise.
17632         (struct test_ff_i_data): Likewise.
17633         (struct test_f_l_data): Likewise.
17634         (struct test_f_L_data): Likewise.
17635         (struct test_sincos_data): Likewise.
17636         (RUN_TEST_f_f): Do not handle ulps.
17637         (RUN_TEST_LOOP_f_f): Likewise.
17638         (RUN_TEST_2_f): Likewise.
17639         (RUN_TEST_LOOP_2_f): Likewise.
17640         (RUN_TEST_fff_f): Likewise.
17641         (RUN_TEST_LOOP_fff_f): Likewise.
17642         (RUN_TEST_c_f): Likewise.
17643         (RUN_TEST_LOOP_c_f): Likewise.
17644         (RUN_TEST_f_f1): Likewise.
17645         (RUN_TEST_LOOP_f_f1): Likewise.
17646         (RUN_TEST_fF_f1): Likewise.
17647         (RUN_TEST_LOOP_fF_f1): Likewise.
17648         (RUN_TEST_fI_f1): Likewise.
17649         (RUN_TEST_LOOP_fI_f1): Likewise.
17650         (RUN_TEST_ffI_f1): Likewise.
17651         (RUN_TEST_LOOP_ffI_f1): Likewise.
17652         (RUN_TEST_c_c): Likewise.
17653         (RUN_TEST_LOOP_c_c): Likewise.
17654         (RUN_TEST_cc_c): Likewise.
17655         (RUN_TEST_LOOP_cc_c): Likewise.
17656         (RUN_TEST_f_i): Likewise.
17657         (RUN_TEST_LOOP_f_i): Likewise.
17658         (RUN_TEST_f_i_tg): Likewise.
17659         (RUN_TEST_LOOP_f_i_tg): Likewise.
17660         (RUN_TEST_ff_i_tg): Likewise.
17661         (RUN_TEST_LOOP_ff_i_tg): Likewise.
17662         (RUN_TEST_f_b): Likewise.
17663         (RUN_TEST_LOOP_f_b): Likewise.
17664         (RUN_TEST_f_b_tg): Likewise.
17665         (RUN_TEST_LOOP_f_b_tg): Likewise.
17666         (RUN_TEST_f_l): Likewise.
17667         (RUN_TEST_LOOP_f_l): Likewise.
17668         (RUN_TEST_f_L): Likewise.
17669         (RUN_TEST_LOOP_f_L): Likewise.
17670         (RUN_TEST_sincos): Likewise.
17671         (RUN_TEST_LOOP_sincos): Likewise.
17673 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
17675         [BZ #15480]
17676         [BZ #15485]
17677         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17678         main case of finite arguments, set rounding mode to FE_TONEAREST
17679         and discard exceptions.
17680         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17681         exceptions.
17682         (remainder_tonearest_test_data): New variable.
17683         (remainder_test_tonearest): New function.
17684         (remainder_towardzero_test_data): New variable.
17685         (remainder_test_towardzero): New function.
17686         (remainder_downward_test_data): New variable.
17687         (remainder_test_downward): New function.
17688         (remainder_upward_test_data): New variable.
17689         (remainder_test_upward): New function.
17690         (main): Call the new test functions.
17692         * math/libm-test.inc (struct test_f_f1_data): Remove field
17693         extra_init.
17694         (struct test_fF_f1_data): Likewise.
17695         (struct test_ffI_f1_data): Likewise.
17696         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
17697         based on value of EXTRA_EXPECTED.
17698         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17699         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
17700         EXTRA_VAR based on value of EXTRA_EXPECTED.
17701         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17702         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
17703         EXTRA_VAR based on value of EXTRA_EXPECTED.
17704         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17705         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
17706         EXTRA_VAR based on value of EXTRA_EXPECTED.
17707         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17708         * math/gen-libm-test.pl (parse_args): Don't output initializers
17709         for extra output values.
17711         * math/libm-test.inc (check_int): Expect result to be exactly
17712         equal to expected value and do not handle ulps.
17713         (check_long): Likewise.
17714         (check_longlong): Likewise.
17716         * math/libm-test.inc (ceil_test_data): Test for "inexact"
17717         exceptions.
17718         (cimag_test_data): Likewise.
17719         (conj_test_data): Likewise.
17720         (copysign_test_data): Likewise.
17721         (cproj_test_data): Likewise.
17722         (creal_test_data): Likewise.
17723         (fabs_test_data): Likewise.
17724         (fdim_test_data): Likewise.
17725         (finite_test_data): Likewise.
17726         (floor_test_data): Likewise.
17727         (fmax_test_data): Likewise.
17728         (fmin_test_data): Likewise.
17729         (fmod_test_data): Likewise.
17730         (fpclassify_test_data): Likewise.
17731         (frexp_test_data): Likewise.
17732         (ilogb_test_data): Likewise.
17733         (isfinite_test_data): Likewise.
17734         (isgreater_test_data): Likewise.
17735         (isgreaterequal_test_data): Likewise.
17736         (isinf_test_data): Likewise.
17737         (isless_test_data): Likewise.
17738         (islessequal_test_data): Likewise.
17739         (islessgreater_test_data): Likewise.
17740         (isnan_test_data): Likewise.
17741         (isnormal_test_data): Likewise.
17742         (issignaling_test_data): Likewise.
17743         (isunordered_test_data): Likewise.
17744         (ldexp_test_data): Likewise.
17745         (lrint_test_data): Likewise.
17746         (lrint_test_data) [TEST_FLOAT]: Disable one test.
17747         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17748         (lrint_tonearest_test_data): Test for "inexact" exceptions.
17749         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17750         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17751         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17752         test input.
17753         (lrint_towardzero_test_data): Test for "inexact" exceptions.
17754         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17755         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17756         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17757         that test input.
17758         (lrint_downward_test_data): Test for "inexact" exceptions.
17759         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17760         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17761         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17762         test input.
17763         (lrint_upward_test_data): Test for "inexact" exceptions.
17764         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17765         test input.
17766         (llrint_test_data): Test for "inexact" exceptions.
17767         (llrint_test_data) [TEST_FLOAT]: Disable one test.
17768         (llrint_tonearest_test_data): Test for "inexact" exceptions.
17769         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17770         (llrint_towardzero_test_data): Test for "inexact" exceptions.
17771         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17772         (llrint_downward_test_data): Test for "inexact" exceptions.
17773         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17774         (llrint_upward_test_data): Test for "inexact" exceptions.
17775         (logb_test_data): Likewise.
17776         (logb_downward_test_data): Likewise.
17777         (nextafter_test_data): Likewise.
17778         (nexttoward_test_data): Likewise.
17779         (remainder_test_data): Likewise.
17780         (remquo_test_data): Likewise.
17781         (scalbn_test_data): Likewise.
17782         (scalbln_test_data): Likewise.
17783         (signbit_test_data): Likewise.
17784         (sqrt_test_data): Likewise.
17785         (significand_test_data): Likewise.
17787 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17789         [BZ #15424]
17790         * benchtests/bench-modf.c (struct args): Mark arg0 as
17791         volatile.
17792         * scripts/bench.pl: Mark members of struct args as volatile.
17794 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17796         [BZ # 15497]
17797         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17798         negative infinity on POWER6 or lower.
17799         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17801 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17803         [BZ #15442]
17804         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17805         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17806         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17807         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17808         (_FP_SETQNAN): New macro.
17809         (_FP_SETQNAN_SEMIRAW): Likewise.
17810         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17811         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17812         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17813         (FP_EXTEND): Use _FP_FRAC_SNANP.
17814         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17815         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17816         into account.
17817         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17818         New macro.
17819         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17820         Likewise.
17822 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17824         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17825         with DIVIDE_BY_ZERO_EXCEPTION.
17826         (gamma_test_data): Likewise.
17827         (lgamma_test_data): Likewise.
17828         (log_test_data): Likewise.
17829         (log10_test_data): Likewise.
17830         (log2_test_data): Likewise.
17831         (tgamma_test_data): Likewise.
17833         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17834         (acos_test_tonearest): Likewise.
17835         (acos_test_towardzero): Likewise.
17836         (acos_test_downward): Likewise.
17837         (acos_test_upward): Likewise.
17838         (acosh_test): Likewise.
17839         (asin_test): Likewise.
17840         (asin_test_tonearest): Likewise.
17841         (asin_test_towardzero): Likewise.
17842         (asin_test_downward): Likewise.
17843         (asin_test_upward): Likewise.
17844         (asinh_test): Likewise.
17845         (atan_test): Likewise.
17846         (atanh_test): Likewise.
17847         (atan2_test): Likewise.
17848         (cabs_test): Likewise.
17849         (cacos_test): Likewise.
17850         (cacosh_test): Likewise.
17851         (casin_test): Likewise.
17852         (casinh_test): Likewise.
17853         (catan_test): Likewise.
17854         (catanh_test): Likewise.
17855         (cbrt_test): Likewise.
17856         (ccos_test): Likewise.
17857         (ccosh_test): Likewise.
17858         (cexp_test): Likewise.
17859         (clog_test): Likewise.
17860         (clog10_test): Likewise.
17861         (cos_test): Likewise.
17862         (cos_test_tonearest): Likewise.
17863         (cos_test_towardzero): Likewise.
17864         (cos_test_downward): Likewise.
17865         (cos_test_upward): Likewise.
17866         (cosh_test): Likewise.
17867         (cosh_test_tonearest): Likewise.
17868         (cosh_test_towardzero): Likewise.
17869         (cosh_test_downward): Likewise.
17870         (cosh_test_upward): Likewise.
17871         (cpow_test): Likewise.
17872         (csin_test): Likewise.
17873         (csinh_test): Likewise.
17874         (csqrt_test): Likewise.
17875         (ctan_test): Likewise.
17876         (ctan_test_tonearest): Likewise.
17877         (ctan_test_towardzero): Likewise.
17878         (ctan_test_downward): Likewise.
17879         (ctan_test_upward): Likewise.
17880         (ctanh_test): Likewise.
17881         (ctanh_test_tonearest): Likewise.
17882         (ctanh_test_towardzero): Likewise.
17883         (ctanh_test_downward): Likewise.
17884         (ctanh_test_upward): Likewise.
17885         (erf_test): Likewise.
17886         (erfc_test): Likewise.
17887         (exp_test): Likewise.
17888         (exp_test_tonearest): Likewise.
17889         (exp_test_towardzero): Likewise.
17890         (exp_test_downward): Likewise.
17891         (exp_test_upward): Likewise.
17892         (exp10_test): Likewise.
17893         (exp2_test): Likewise.
17894         (expm1_test): Likewise.
17895         (fmod_test): Likewise.
17896         (gamma_test): Likewise.
17897         (hypot_test): Likewise.
17898         (j0_test): Likewise.
17899         (j1_test): Likewise.
17900         (jn_test): Likewise.
17901         (lgamma_test): Likewise.
17902         (log_test): Likewise.
17903         (log10_test): Likewise.
17904         (log1p_test): Likewise.
17905         (log2_test): Likewise.
17906         (logb_test_downward): Likewise.
17907         (pow_test): Likewise.
17908         (pow_test_tonearest): Likewise.
17909         (pow_test_towardzero): Likewise.
17910         (pow_test_downward): Likewise.
17911         (pow_test_upward): Likewise.
17912         (remainder_test): Likewise.
17913         (remquo_test): Likewise.
17914         (sin_test): Likewise.
17915         (sin_test_tonearest): Likewise.
17916         (sin_test_towardzero): Likewise.
17917         (sin_test_downward): Likewise.
17918         (sin_test_upward): Likewise.
17919         (sincos_test): Likewise.
17920         (sinh_test): Likewise.
17921         (sinh_test_tonearest): Likewise.
17922         (sinh_test_towardzero): Likewise.
17923         (sinh_test_downward): Likewise.
17924         (sinh_test_upward): Likewise.
17925         (sqrt_test): Likewise.
17926         (tan_test): Likewise.
17927         (tan_test_tonearest): Likewise.
17928         (tan_test_towardzero): Likewise.
17929         (tan_test_downward): Likewise.
17930         (tan_test_upward): Likewise.
17931         (tanh_test): Likewise.
17932         (tgamma_test): Likewise.
17933         (y0_test): Likewise.
17934         (y1_test): Likewise.
17935         (yn_test): Likewise.
17937         * math/gen-libm-test.pl (adjust_arg): Remove function.
17938         (special_function): Remove argument $in_func.  Only handle
17939         generating output for tables of tests, not inside functions.
17940         (parse_args): Likewise.
17941         (generate_testfile): Remove variable $in_func.  Update call to
17942         parse_args.
17943         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17944         (MINUS_ZERO_INIT): Rename macro to minus_zero.
17945         (PLUS_INFTY_INIT): Rename macro to plus_infty.
17946         (MINUS_INFTY_INIT): Rename macro to minus_infty.
17947         (QNAN_VALUE_INIT): Rename macro to qnan_value.
17948         (MAX_VALUE_INIT): Rename macro to max_value.
17949         (MIN_VALUE_INIT): Rename macro to min_value.
17950         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17951         (plus_zero): Remove variable.
17952         (minus_zero): Likewise.
17953         (plus_infty): Likewise.
17954         (minus_infty): Likewise.
17955         (qnan_value): Likewise.
17956         (max_value): Likewise.
17957         (min_value): Likewise.
17958         (min_subnorm_value): Likewise.
17960 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17962         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17963         uint64_t or uint32_t usage.
17964         * crypt/sha256-block.c: Likewise.
17965         * crypt/sha256-crypt.c: Likewise.
17966         * crypt/sha256.c: Likewise.
17967         * crypt/sha512-block.c: Likewise.
17968         * crypt/sha512-crypt.c: Likewise.
17969         * crypt/sha512.c: Likewise.
17970         * debug/backtrace-tst.c: Likewise.
17971         * debug/pcprofiledump.c: Likewise.
17972         * elf/cache.c: Likewise.
17973         * elf/dl-cache.c: Likewise.
17974         * elf/dl-misc.c: Likewise.
17975         * elf/dl-profile.c: Likewise.
17976         * elf/dl-support.c: Likewise.
17977         * elf/ldconfig.c: Likewise.
17978         * elf/sprof.c: Likewise.
17979         * iconv/dummy-repertoire.c: Likewise.
17980         * iconv/iconv_charmap.c: Likewise.
17981         * iconv/skeleton.c: Likewise.
17982         * iconvdata/8bit-generic.c: Likewise.
17983         * iconvdata/cp737.h: Likewise.
17984         * iconvdata/cp775.h: Likewise.
17985         * iconvdata/ibm1008.h: Likewise.
17986         * iconvdata/ibm1025.h: Likewise.
17987         * iconvdata/ibm1046.h: Likewise.
17988         * iconvdata/ibm1097.h: Likewise.
17989         * iconvdata/ibm1112.h: Likewise.
17990         * iconvdata/ibm1122.h: Likewise.
17991         * iconvdata/ibm1123.h: Likewise.
17992         * iconvdata/ibm1124.h: Likewise.
17993         * iconvdata/ibm1129.h: Likewise.
17994         * iconvdata/ibm1130.h: Likewise.
17995         * iconvdata/ibm1132.h: Likewise.
17996         * iconvdata/ibm1133.h: Likewise.
17997         * iconvdata/ibm1137.h: Likewise.
17998         * iconvdata/ibm1140.h: Likewise.
17999         * iconvdata/ibm1141.h: Likewise.
18000         * iconvdata/ibm1142.h: Likewise.
18001         * iconvdata/ibm1143.h: Likewise.
18002         * iconvdata/ibm1144.h: Likewise.
18003         * iconvdata/ibm1145.h: Likewise.
18004         * iconvdata/ibm1146.h: Likewise.
18005         * iconvdata/ibm1147.h: Likewise.
18006         * iconvdata/ibm1148.h: Likewise.
18007         * iconvdata/ibm1149.h: Likewise.
18008         * iconvdata/ibm1153.h: Likewise.
18009         * iconvdata/ibm1154.h: Likewise.
18010         * iconvdata/ibm1155.h: Likewise.
18011         * iconvdata/ibm1156.h: Likewise.
18012         * iconvdata/ibm1157.h: Likewise.
18013         * iconvdata/ibm1158.h: Likewise.
18014         * iconvdata/ibm1160.h: Likewise.
18015         * iconvdata/ibm1161.h: Likewise.
18016         * iconvdata/ibm1162.h: Likewise.
18017         * iconvdata/ibm1163.h: Likewise.
18018         * iconvdata/ibm1164.h: Likewise.
18019         * iconvdata/ibm1166.h: Likewise.
18020         * iconvdata/ibm1167.h: Likewise.
18021         * iconvdata/ibm12712.h: Likewise.
18022         * iconvdata/ibm1390.h: Likewise.
18023         * iconvdata/ibm1399.h: Likewise.
18024         * iconvdata/ibm16804.h: Likewise.
18025         * iconvdata/ibm4517.h: Likewise.
18026         * iconvdata/ibm4899.h: Likewise.
18027         * iconvdata/ibm4909.h: Likewise.
18028         * iconvdata/ibm4971.h: Likewise.
18029         * iconvdata/ibm5347.h: Likewise.
18030         * iconvdata/ibm803.h: Likewise.
18031         * iconvdata/ibm856.h: Likewise.
18032         * iconvdata/ibm901.h: Likewise.
18033         * iconvdata/ibm902.h: Likewise.
18034         * iconvdata/ibm9030.h: Likewise.
18035         * iconvdata/ibm9066.h: Likewise.
18036         * iconvdata/ibm921.h: Likewise.
18037         * iconvdata/ibm922.h: Likewise.
18038         * iconvdata/ibm9448.h: Likewise.
18039         * iconvdata/isiri-3342.h: Likewise.
18040         * iconvdata/jis0201.h: Likewise.
18041         * include/link.h: Likewise.
18042         * include/netdb.h: Likewise.
18043         * inet/check_native.c: Likewise.
18044         * inet/check_pf.c: Likewise.
18045         * inet/getipv4sourcefilter.c: Likewise.
18046         * inet/getnameinfo.c: Likewise.
18047         * inet/getsourcefilter.c: Likewise.
18048         * inet/htonl.c: Likewise.
18049         * inet/setipv4sourcefilter.c: Likewise.
18050         * inet/setsourcefilter.c: Likewise.
18051         * inet/test-inet6_opt.c: Likewise.
18052         * inet/tst-network.c: Likewise.
18053         * locale/C-collate.c: Likewise.
18054         * locale/C-ctype.c: Likewise.
18055         * locale/C-time.c: Likewise.
18056         * locale/C-translit.h: Likewise.
18057         * locale/loadarchive.c: Likewise.
18058         * locale/programs/3level.h: Likewise.
18059         * locale/programs/charmap.c: Likewise.
18060         * locale/programs/charmap.h: Likewise.
18061         * locale/programs/ld-address.c: Likewise.
18062         * locale/programs/ld-collate.c: Likewise.
18063         * locale/programs/ld-ctype.c: Likewise.
18064         * locale/programs/ld-identification.c: Likewise.
18065         * locale/programs/ld-measurement.c: Likewise.
18066         * locale/programs/ld-messages.c: Likewise.
18067         * locale/programs/ld-monetary.c: Likewise.
18068         * locale/programs/ld-name.c: Likewise.
18069         * locale/programs/ld-numeric.c: Likewise.
18070         * locale/programs/ld-paper.c: Likewise.
18071         * locale/programs/ld-telephone.c: Likewise.
18072         * locale/programs/ld-time.c: Likewise.
18073         * locale/programs/linereader.c: Likewise.
18074         * locale/programs/locale.c: Likewise.
18075         * locale/programs/locarchive.c: Likewise.
18076         * locale/programs/locfile.h: Likewise.
18077         * locale/programs/repertoire.c: Likewise.
18078         * locale/programs/simple-hash.c: Likewise.
18079         * locale/programs/simple-hash.h: Likewise.
18080         * malloc/memusage.c: Likewise.
18081         * malloc/memusagestat.c: Likewise.
18082         * nis/nis_defaults.c: Likewise.
18083         * nis/nis_hash.c: Likewise.
18084         * nis/nis_print.c: Likewise.
18085         * nis/nis_xdr.c: Likewise.
18086         * nscd/connections.c: Likewise.
18087         * nscd/hstcache.c: Likewise.
18088         * nscd/nscd_gethst_r.c: Likewise.
18089         * nscd/nscd_getserv_r.c: Likewise.
18090         * nscd/nscd_helper.c: Likewise.
18091         * nscd/servicescache.c: Likewise.
18092         * nss/makedb.c: Likewise.
18093         * nss/nss_db/db-XXX.c: Likewise.
18094         * nss/nss_db/db-initgroups.c: Likewise.
18095         * nss/nss_db/db-netgrp.c: Likewise.
18096         * nss/nss_files/files-network.c: Likewise.
18097         * nss/nss_files/files-parse.c: Likewise.
18098         * posix/bug-regex5.c: Likewise.
18099         * posix/fnmatch_loop.c: Likewise.
18100         * posix/regcomp.c: Likewise.
18101         * posix/regexec.c: Likewise.
18102         * posix/tst-rfc3484-2.c: Likewise.
18103         * posix/tst-rfc3484-3.c: Likewise.
18104         * posix/tst-rfc3484.c: Likewise.
18105         * resolv/nss_dns/dns-canon.c: Likewise.
18106         * resolv/nss_dns/dns-network.c: Likewise.
18107         * resolv/res_init.c: Likewise.
18108         * resolv/res_mkquery.c: Likewise.
18109         * resolv/tst-aton.c: Likewise.
18110         * stdlib/cxa_atexit.c: Likewise.
18111         * stdlib/cxa_finalize.c: Likewise.
18112         * stdlib/gen-fpioconst.c: Likewise.
18113         * stdlib/strtol_l.c: Likewise.
18114         * string/tst-endian.c: Likewise.
18115         * sunrpc/auth_des.c: Likewise.
18116         * sunrpc/clnt_udp.c: Likewise.
18117         * sunrpc/rtime.c: Likewise.
18118         * sunrpc/svcauth_des.c: Likewise.
18119         * sunrpc/xdr.c: Likewise.
18120         * sunrpc/xdr_intXX_t.c: Likewise.
18121         * sunrpc/xdr_rec.c: Likewise.
18122         * sysdeps/generic/ldconfig.h: Likewise.
18123         * sysdeps/generic/ldsodefs.h: Likewise.
18124         * sysdeps/generic/memusage.h: Likewise.
18125         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18126         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18127         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18128         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18129         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18130         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18131         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18132         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18133         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18134         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18135         * sysdeps/posix/getaddrinfo.c: Likewise.
18136         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18137         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18138         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18139         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18140         * sysdeps/powerpc/test-gettimebase.c: Likewise.
18141         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18142         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18143         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18144         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18145         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18146         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18147         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18148         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18149         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18150         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18151         * sysdeps/x86_64/dl-tls.h: Likewise.
18152         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18153         * time/alt_digit.c: Likewise.
18154         * time/era.c: Likewise.
18155         * wcsmbs/tst-c16c32-1.c: Likewise.
18157 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18159         * math/libm-test.inc (struct test_sincos_data): New type.
18160         (RUN_TEST_LOOP_sincos): New macro.
18161         (sincos_test_data): New variable.
18162         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18164 2013-05-16  Richard Henderson  <rth@redhat.com>
18166         * math/atest-exp2.c (LIMB64): New macro.
18167         (CONSTSZ): New macro.
18168         (mp_exp1, mp_exp_m1, mp_log2): New variables.
18169         (hexdig): Move ...
18170         (print_mpn_fp): ... to function scope.
18171         (read_mpn_hex): Remove.
18172         (get_log2): Remove.
18173         (exp2_mpn): Use mp_log2.
18174         (main): Use mp_exp1.
18176 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18178         * math/libm-test.inc: Remove comment about not testing "inexact"
18179         exceptions.
18180         (INEXACT_EXCEPTION): New macro.
18181         (NO_INEXACT_EXCEPTION): Likewise.
18182         (INVALID_EXCEPTION_OK): Update value.
18183         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18184         (OVERFLOW_EXCEPTION_OK): Likewise.
18185         (UNDERFLOW_EXCEPTION_OK): Likewise.
18186         (IGNORE_ZERO_INF_SIGN): Likewise.
18187         (ERRNO_UNCHANGED): Likewise.
18188         (ERRNO_EDOM): Likewise.
18189         (ERRNO_ERANGE): Likewise.
18190         (test_exceptions): Handle testing "inexact" exceptions.
18191         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18192         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18193         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18194         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18195         INEXACT_EXCEPTION.
18196         (rint_towardzero_test_data): Likewise.
18197         (rint_downward_test_data): Likewise.
18198         (rint_upward_test_data): Likewise.
18200         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18201         with OVERFLOW_EXCEPTION.
18202         (exp10_test_data): Likewise.
18203         (exp2_test_data): Likewise.
18204         (expm1_test_data): Likewise.
18205         (lgamma_test_data): Likewise.
18206         (pow_test_data): Likewise.
18207         (tgamma_test_data): Likewise.
18208         (yn_test_data): Remove duplicate test of overflow.
18210         * math/libm-test.inc (struct test_cc_c_data): New type.
18211         (RUN_TEST_LOOP_cc_c): New macro.
18212         (cpow_test_data): New variable.
18213         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18215         * math/libm-test.inc (struct test_f_L_data): New type.
18216         (RUN_TEST_LOOP_f_L): New macro.
18217         (llrint_test_data): New variable.
18218         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18219         (llrint_tonearest_test_data): New variable.
18220         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18221         (llrint_towardzero_test_data): New variable.
18222         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18223         (llrint_downward_test_data): New variable.
18224         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18225         (llrint_upward_test_data): New variable.
18226         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18227         (llround_test_data): New variable.
18228         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18230 2013-05-13  Peter Collingbourne  <pcc@google.com>
18232         * math/atest-exp2.c (get_log2): Remove const attribute.
18234 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18236         * math/libm-test.inc (struct test_f_l_data): New type.
18237         (RUN_TEST_LOOP_f_l): New macro.
18238         (lrint_test_data): New variable.
18239         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18240         (lrint_tonearest_test_data): New variable.
18241         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18242         (lrint_towardzero_test_data): New variable.
18243         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18244         (lrint_downward_test_data): New variable.
18245         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18246         (lrint_upward_test_data): New variable.
18247         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18248         (lround_test_data): New variable.
18249         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18251 2013-05-15  Peter Collingbourne  <pcc@google.com>
18253         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18254         (EXTRACT_WORDS64) Use where appropriate.
18255         (INSERT_WORDS64) Likewise.
18257         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18258         constraints with x constraints.
18259         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18261         * malloc/obstack.c (_obstack_compat): Add initializer.
18263 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18265         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18266         si_trapno and add si_addr_lsb to _sifields.sigfault.
18267         (si_trapno): Remove macro.
18268         (si_addr_lsb): Define new macro.
18269         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18271 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18273         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18274         instead of TEST_f_l.
18275         (llrint_test_tonearest): Likewise.
18276         (llrint_test_towardzero): Likewise.
18277         (llrint_test_downward): Likewise.
18278         (llrint_test_upward): Likewise.
18279         (llround_test): Likewise.
18281         * math/libm-test.inc (struct test_f_i_data): Add comment.
18282         (RUN_TEST_LOOP_f_b): New macro.
18283         (RUN_TEST_LOOP_f_b_tg): Likewise.
18284         (finite_test_data): New variable.
18285         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18286         (isfinite_test_data): New variable.
18287         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18288         (isinf_test_data): New variable.
18289         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18290         (isnan_test_data): New variable.
18291         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18292         (isnormal_test_data): New variable.
18293         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18294         (issignaling_test_data): New variable.
18295         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18296         (signbit_test_data): New variable.
18297         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18299         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18300         with INVALID_EXCEPTION.
18301         (acosh_test_data): Likewise.
18302         (asin_test_data): Likewise.
18303         (atanh_test_data): Likewise.
18304         (fmod_test_data): Likewise.
18305         (log_test_data): Likewise.
18306         (log10_test_data): Likewise.
18307         (log2_test_data): Likewise.
18308         (pow_test_data): Likewise.
18309         (sqrt_test_data): Likewise.
18310         (y0_test_data): Likewise.
18311         (y1_test_data): Likewise.
18312         (yn_test_data): Likewise.
18314         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18315         function contents.
18317         * math/libm-test.inc (struct test_ff_i_data): New type.
18318         (RUN_TEST_LOOP_ff_i_tg): New macro.
18319         (isgreater_test_data): New variable.
18320         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18321         (isgreaterequal_test_data): New variable.
18322         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18323         (isless_test_data): New variable.
18324         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18325         (islessequal_test_data): New variable.
18326         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18327         (islessgreater_test_data): New variable.
18328         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18329         (isunordered_test_data): New variable.
18330         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18332 2013-05-14  David S. Miller  <davem@davemloft.net>
18334         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18336 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
18338         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18340         * math/libm-test.inc (struct test_fF_f1_data): Change type of
18341         extra_test to int.
18342         (struct test_f_i_data): Change type of max_ulp to int.
18344         * math/libm-test.inc (test_ffI_f1_data): New type.
18345         (RUN_TEST_LOOP_ffI_f1): New macro.
18346         (remquo_test_data): New variable.
18347         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18349         * setjmp/tst-setjmp-fp.c: New file.
18350         * setjmp/Makefile (tests): Add tst-setjmp-fp.
18351         (link-libm): New variable.
18352         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18354         * math/libm-test.inc (struct test_f_i_data): New type.
18355         (RUN_TEST_LOOP_f_i): New macro.
18356         (RUN_TEST_LOOP_f_i_tg): Likewise.
18357         (fpclassify_test_data): New variable.
18358         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18359         (ilogb_test_data): New variable.
18360         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18362         * math/libm-test.inc (scalbln_test): Correct function name in END
18363         call.
18365         * math/libm-test.inc (struct test_f_f1_data): Add comment.
18366         (RUN_TEST_LOOP_fI_f1): New macro.
18367         (frexp_test_data): New variable.
18368         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18370         * math/libm-test.inc (struct test_fF_f1_data): New type.
18371         (RUN_TEST_LOOP_fF_f1): New macro.
18372         (modf_test_data): New variable.
18373         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18375         * math/libm-test.inc (struct test_f_f1_data): New type.
18376         (RUN_TEST_LOOP_f_f1): New macro.
18377         (gamma_test_data): New variable.
18378         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18379         (lgamma_test_data): New variable.
18380         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18382 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
18384         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18385         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18386         (main): Comment "tls" pseudo-hwcap.
18388 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
18390         * math/libm-test.inc (struct test_fl_f_data): New type.
18391         (RUN_TEST_LOOP_fl_f): New variable.
18392         (scalbln_test_data): New variable.
18393         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18395         * math/libm-test.inc (struct test_fi_f_data): New type.
18396         (RUN_TEST_LOOP_fi_f): New macro.
18397         (ldexp_test_data): New variable.
18398         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18399         (scalbn_test_data): New variable.
18400         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18402         * math/libm-test.inc (struct test_c_f_data): New type.
18403         (RUN_TEST_LOOP_c_f): New macro.
18404         (cabs_test_data): New variable.
18405         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18406         (carg_test_data): New variable.
18407         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18408         (cimag_test_data): New variable.
18409         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18410         (creal_test_data): New variable.
18411         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18413         * math/libm-test.inc (struct test_if_f_data): New type.
18414         (RUN_TEST_LOOP_if_f): New macro.
18415         (jn_test_data): New variable.
18416         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18417         (yn_test_data): New variable.
18418         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18420         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18422 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18424         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18425         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18427 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18429         * benchtests/Makefile (CPPFLAGS-nonlib): Add
18430         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18431         (bench-deps): Add bench-timing.h.
18432         * benchtests-bench-skeleton.c: Include bench-timing.h.
18433         (main): Use TIMING_* macros instead of clock_gettime.
18434         * benchtests/bench-timing.h: New file.
18436         [BZ #14582]
18437         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18438         Renamed from _LIB_VERSION.
18439         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18441 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
18443         * math/libm-test.inc (struct test_fff_f_data): New type.
18444         (RUN_TEST_LOOP_fff_f): New macro.
18445         (fma_test_data): New variable.
18446         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18447         (fma_towardzero_test_data): New variable.
18448         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18449         (fma_downward_test_data): New variable.
18450         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18451         (fma_upward_test_data): New variable.
18452         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18454         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18455         (struct test_c_c_data): New type.
18456         (RUN_TEST_LOOP_c_c): New macro.
18457         (cacos_test_data): New variable.
18458         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18459         (cacosh_test_data): New variable.
18460         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18461         (casin_test_data): New variable.
18462         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18463         (casinh_test_data): New variable.
18464         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18465         (catan_test_data): New variable.
18466         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18467         (catanh_test_data): New variable.
18468         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18469         (ccos_test_data): New variable.
18470         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18471         (ccosh_test_data): New variable.
18472         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18473         (cexp_test_data): New variable.
18474         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18475         (clog_test_data): New variable.
18476         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18477         (clog10_test_data): New variable.
18478         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18479         (conj_test_data): New variable.
18480         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18481         (cproj_test_data): New variable.
18482         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18483         (csin_test_data): New variable.
18484         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18485         (csinh_test_data): New variable.
18486         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18487         (csqrt_test_data): New variable.
18488         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18489         (ctan_test_data): New variable.
18490         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18491         (ctan_tonearest_test_data): New variable.
18492         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18493         (ctan_towardzero_test_data): New variable.
18494         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18495         (ctan_downward_test_data): New variable.
18496         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18497         (ctan_upward_test_data): New variable.
18498         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18499         (ctanh_test_data): New variable.
18500         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18501         (ctanh_tonearest_test_data): New variable.
18502         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18503         (ctanh_towardzero_test_data): New variable.
18504         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18505         (ctanh_downward_test_data): New variable.
18506         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18507         (ctanh_upward_test_data): New variable.
18508         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18509         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18510         of BUILD_COMPLEX.
18512         * math/libm-test.inc (struct test_ff_f_data): New type.
18513         (struct test_ff_f_data_nexttoward): Likewise.
18514         (RUN_TEST_LOOP_2_f): New macro.
18515         (RUN_TEST_LOOP_ff_f): Likewise.
18516         (atan2_test_data): New variable.
18517         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18518         (copysign_test_data): New variable.
18519         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18520         (fdim_test_data): New variable.
18521         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18522         (fmax_test_data): New variable.
18523         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18524         (fmin_test_data): New variable.
18525         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18526         (fmod_test_data): New variable.
18527         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18528         (hypot_test_data): New variable.
18529         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18530         (nextafter_test_data): New variable.
18531         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18532         (nexttoward_test_data): New variable.
18533         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18534         (pow_test_data): New variable.
18535         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18536         (pow_tonearest_test_data): New variable.
18537         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18538         (pow_towardzero_test_data): New variable.
18539         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18540         (pow_downward_test_data): New variable.
18541         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18542         (pow_upward_test_data): New variable.
18543         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18544         (remainder_test_data): New variable.
18545         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18546         (scalb_test_data): New variable.
18547         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18548         * sysdeps/i386/fpu/libm-test-ulps: Update.
18550 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
18552         * math/libm-test.inc (fma_test): Use max_value instead of local
18553         variable fltmax.
18554         (nextafter_test): Likewise.
18556         * math/libm-test.inc (acos_towardzero_test_data): New variable.
18557         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18558         (acos_downward_test_data): New variable.
18559         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18560         (acos_upward_test_data): New variable.
18561         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18562         (acosh_test_data): New variable.
18563         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18564         (asin_test_data): New variable.
18565         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18566         (asin_tonearest_test_data): New variable.
18567         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18568         (asin_towardzero_test_data): New variable.
18569         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18570         (asin_downward_test_data): New variable.
18571         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18572         (asin_upward_test_data): New variable.
18573         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18574         (asinh_test_data): New variable.
18575         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18576         (atan_test_data): New variable.
18577         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18578         (atanh_test_data): New variable.
18579         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18580         (cbrt_test_data): New variable.
18581         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18582         (ceil_test_data): New variable.
18583         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18584         (cos_test_data): New variable.
18585         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18586         (cos_tonearest_test_data): New variable.
18587         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18588         (cos_towardzero_test_data): New variable.
18589         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18590         (cos_downward_test_data): New variable.
18591         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18592         (cos_upward_test_data): New variable.
18593         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18594         (cosh_test_data): New variable.
18595         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18596         (cosh_tonearest_test_data): New variable.
18597         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18598         (cosh_towardzero_test_data): New variable.
18599         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18600         (cosh_downward_test_data): New variable.
18601         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18602         (cosh_upward_test_data): New variable.
18603         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18604         (erf_test_data): New variable.
18605         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18606         (erfc_test_data): New variable.
18607         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18608         (exp_test_data): New variable.
18609         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18610         (exp_tonearest_test_data): New variable.
18611         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18612         (exp_towardzero_test_data): New variable.
18613         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18614         (exp_downward_test_data): New variable.
18615         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18616         (exp_upward_test_data): New variable.
18617         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18618         (exp10_test_data): New variable.
18619         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18620         (exp2_test_data): New variable.
18621         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18622         (expm1_test_data): New variable.
18623         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18624         (fabs_test_data): New variable.
18625         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18626         (floor_test_data): New variable.
18627         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18628         (j0_test_data): New variable.
18629         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18630         (j1_test_data): New variable.
18631         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18632         (log_test_data): New variable.
18633         (log_test): Run tests with RUN_TEST_LOOP_f_f.
18634         (log10_test_data): New variable.
18635         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18636         (log1p_test_data): New variable.
18637         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18638         (log2_test_data): New variable.
18639         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18640         (logb_test_data): New variable.
18641         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18642         (logb_downward_test_data): New variable.
18643         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18644         (nearbyint_test_data): New variable.
18645         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18646         (rint_test_data): New variable.
18647         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18648         (rint_tonearest_test_data): New variable.
18649         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18650         (rint_towardzero_test_data): New variable.
18651         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18652         (rint_downward_test_data): New variable.
18653         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18654         (rint_upward_test_data): New variable.
18655         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18656         (round_test_data): New variable.
18657         (round_test): Run tests with RUN_TEST_LOOP_f_f.
18658         (sin_test_data): New variable.
18659         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18660         (sin_tonearest_test_data): New variable.
18661         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18662         (sin_towardzero_test_data): New variable.
18663         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18664         (sin_downward_test_data): New variable.
18665         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18666         (sin_upward_test_data): New variable.
18667         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18668         (sinh_test_data): New variable.
18669         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18670         (sinh_tonearest_test_data): New variable.
18671         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18672         (sinh_towardzero_test_data): New variable.
18673         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18674         (sinh_downward_test_data): New variable.
18675         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18676         (sinh_upward_test_data): New variable.
18677         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18678         (sqrt_test_data): New variable.
18679         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18680         (tan_test_data): New variable.
18681         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18682         (tan_tonearest_test_data): New variable.
18683         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18684         (tan_towardzero_test_data): New variable.
18685         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18686         (tan_downward_test_data): New variable.
18687         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18688         (tan_upward_test_data): New variable.
18689         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18690         (tanh_test_data): New variable.
18691         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18692         (tgamma_test_data): New variable.
18693         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18694         (trunc_test_data): New variable.
18695         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18696         (y0_test_data): New variable.
18697         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18698         (y1_test_data): New variable.
18699         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18700         (significand_test_data): New variable.
18701         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18703 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
18705         [BZ #12387]
18706         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18708 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18710         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18712 2013-05-10  Andreas Jaeger  <aj@suse.de>
18714         [BZ #15448]
18715         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18716         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18718 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
18720         * math/gen-libm-test.pl (adjust_arg): New function.
18721         (special_functions): Handle generating output in both functions
18722         and arrays.
18723         (parse_args): Likewise.
18724         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
18725         $in_func argument to parse_args.
18726         * math/libm-test.inc (struct test_f_f_data): New type.
18727         (IF_ROUND_INIT_): New macro.
18728         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18729         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18730         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18731         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18732         (ROUND_RESTORE_): Likewise.
18733         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18734         (ROUND_RESTORE_FE_TONEAREST): Likewise.
18735         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18736         (ROUND_RESTORE_FE_UPWARD): Likewise.
18737         (RUN_TEST_LOOP_f_f): New macro.
18738         (acos_test_data): New variable.
18739         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18740         (acos_tonearest_test_data): New variable.
18741         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18743 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18745         * benchtests/bench-skeleton.c (startup): Fix coding style.
18747 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
18749         [BZ #6809]
18750         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18751         negative infinity argument.
18752         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18753         negative infinity argument.
18754         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18755         negative infinity argument.
18756         * math/libm-test.inc (tgamma_test): Expect errno to be set for
18757         domain errors.
18759 2013-05-10  Florian Weimer  <fweimer@redhat.com>
18761         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18762         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18763         * iconv/iconv_prog.c (main): Likewise.
18764         * locale/programs/charmap-dir.c (charmap_readdir)
18765         (fopen_uncompressed): Likewise.
18766         * locale/programs/locfile.c (siblings_uncached)
18767         (write_locale_data): Use lstat64 instead of lstat.
18768         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18769         stat.
18771 2013-05-10  Andreas Jaeger  <aj@suse.de>
18773         [BZ #15395]
18774         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18775         localization.
18776         Include <locale.h>.
18778 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
18780         * elf/dl-close.c (_dl_close_worker): Add comments.
18782 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
18784         [BZ #15359]
18785         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18786         high part of pi/2.
18787         (__ieee754_rem_pio2l): Update comments.
18789         [BZ #15429]
18790         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18791         high part of pi/2.
18792         (__ieee754_rem_pio2l): Update comments.
18794         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18795         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18797         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18798         M_PI_4l.
18800         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18801         (M_PI_34_LOG10El): Likewise.
18802         (M_PI2_LOG10El): Likewise.
18803         (M_PI4_LOG10El): Likewise.
18804         (M_PI_LOG10El): Likewise.
18806 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18810 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
18812         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18813         (MINUS_ZERO_INIT): Likewise.
18814         (PLUS_INFTY_INIT): Likewise.
18815         (MINUS_INFTY_INIT): Likewise.
18816         (QNAN_VALUE_INIT): Likewise.
18817         (MAX_VALUE_INIT): Likewise.
18818         (MIN_VALUE_INIT): Likewise.
18819         (MIN_SUBNORM_VALUE_INIT): Likewise.
18820         (plus_zero): Initialize with PLUS_ZERO_INIT.
18821         (minus_zero): Initialize with MINUS_ZERO_INIT.
18822         (plus_infty): Initialize with PLUS_INFTY_INIT.
18823         (minus_infty): Initialize with MINUS_INFTY_INIT.
18824         (qnan_value): Initialize with QNAN_VALUE_INIT.
18825         (max_value): Initialize with MAX_VALUE_INIT.
18826         (min_value): Initialize with MIN_VALUE_INIT.
18827         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18829         * math/libm-test.inc (RUN_TEST_if_f): New macro.
18830         (jn_test): Use TEST_if_f instead of TEST_ff_f.
18831         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18832         (yn_test): Use TEST_if_f instead of TEST_ff_f.
18834         * math/libm-test.inc (RUN_TEST_f_f): New macro.
18835         (RUN_TEST_2_f): Likewise.
18836         (RUN_TEST_ff_f): Likewise.
18837         (RUN_TEST_fi_f): Likewise.
18838         (RUN_TEST_fl_f): Likewise.
18839         (RUN_TEST_fff_f): Likewise.
18840         (RUN_TEST_c_f): Likewise.
18841         (RUN_TEST_f_f1): Likewise.
18842         (RUN_TEST_fF_f1): Likewise.
18843         (RUN_TEST_fI_f1): Likewise.
18844         (RUN_TEST_ffI_f1): Likewise.
18845         (RUN_TEST_c_c): Likewise.
18846         (RUN_TEST_cc_c): Likewise.
18847         (RUN_TEST_f_i): Likewise.
18848         (RUN_TEST_f_i_tg): Likewise.
18849         (RUN_TEST_ff_i_tg): Likewise.
18850         (RUN_TEST_f_b): Likewise.
18851         (RUN_TEST_f_b_tg): Likewise.
18852         (RUN_TEST_f_l): Likewise.
18853         (RUN_TEST_f_L): Likewise.
18854         (RUN_TEST_sincos): Likewise.
18855         * math/gen-libm-test.pl (new_test): Take new argument to indicate
18856         whether to show exceptions.  Do not include ");\n" in return
18857         value.
18858         (special_functions): Output call to RUN_TEST_sincos instead of
18859         check_float calls.  Update calls to new_test.
18860         (parse_args): Output call to single RUN_TEST_* macro instead of
18861         check_* calls and other assignments.  Update calls to new_test.
18863         [BZ #2546]
18864         [BZ #2560]
18865         [BZ #5159]
18866         [BZ #15426]
18867         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18868         input to result for tgamma overflow.
18869         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18870         (gamma_coeff): New variable.
18871         (NCOEFF): New macro.
18872         (gamma_positive): New function.
18873         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18874         underflow here.  Use gamma_positive instead of exp (lgamma) for
18875         other arguments.
18876         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18877         (gamma_coeff): New variable.
18878         (NCOEFF): New macro.
18879         (gammaf_positive): New function.
18880         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18881         underflow here.  Use gamma_positive instead of exp (lgamma) for
18882         other arguments.
18883         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18884         (gamma_coeff): New variable.
18885         (NCOEFF): New macro.
18886         (gammal_positive): New function.
18887         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18888         underflow here.  Use gamma_positive instead of exp (lgamma) for
18889         other arguments.
18890         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18891         (gamma_coeff): New variable.
18892         (NCOEFF): New macro.
18893         (gammal_positive): New function.
18894         (__ieee754_gammal_r): Handle positive infinity, overflow and
18895         underflow here.  Handle NaN the same as positive infinity.  Remove
18896         check x < 0xffffffff for negative integers.  Use gamma_positive
18897         instead of exp (lgamma) for other arguments.
18898         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18899         (gamma_coeff): New variable.
18900         (NCOEFF): New macro.
18901         (gammal_positive): New function.
18902         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18903         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18904         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18905         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18906         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18907         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18908         * sysdeps/generic/math_private.h (__gamma_productf): New
18909         prototype.
18910         (__gamma_product): Likewise.
18911         (__gamma_productl): Likewise.
18912         * math/Makefile (libm-calls): Add gamma_product.
18913         * math/libm-test.inc (tgamma_test): Add more tests.
18914         * sysdeps/i386/fpu/libm-test-ulps: Update.
18915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18917 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
18919         * benchtests/bench-skeleton.c (main): Preheat CPU.
18921 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
18923         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18925 2013-05-07  Roland McGrath  <roland@hack.frob.com>
18927         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18928         and _dl_skip_args_internal.
18930 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
18932         * manual/message.texi (Message Translation): Talk about users.
18933         Message to key mapping impacts design.
18935 2013-05-06  Roland McGrath  <roland@hack.frob.com>
18937         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18939         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18941         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18942         * sysdeps/wordsize-64/glob64.c: ... here.
18944         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18945         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18946         New macros.
18948         * debug/getlogin_r_chk.c: Moved to ...
18949         * login/getlogin_r_chk.c: ... here.
18950         * debug/Makefile (routines): Move getlogin_r_chk to ...
18951         * login/Makefile (routines): ... here.
18952         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18953         * login/Versions (libc: GLIBC_2.4): ... here.
18955         * io/poll.c (__poll): Renamed from poll.
18956         Add libc_hidden_def.
18957         (poll): Define as weak alias.
18959         * debug/ptsname_r_chk.c: Moved to ...
18960         * login/ptsname_r_chk.c: ... here.
18961         * debug/Makefile (routines): Move ptsname_r_chk to ...
18962         * login/Makefile (routines): ... here.
18963         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18964         * login/Versions (libc: GLIBC_2.4): ... here.
18966         * posix/getlogin.c: Moved to ...
18967         * login/getlogin.c: ... here.
18968         * posix/getlogin_r.c: Moved to ...
18969         * login/getlogin_r.c: ... here.
18970         * posix/getlogin_r.c: Moved to ...
18971         * login/getlogin_r.c: ... here.
18972         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18973         * login/Makefile (routines): ... here.
18974         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18975         * login/Versions (libc: GLIBC_2.0): ... here.
18977         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18978         (setrlimit): Define as weak alias.
18980         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18981         Call __ names for open, ftruncate, and close.
18982         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18983         (truncate): Define as weak alias.
18985 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
18987         * math/gen-libm-test.pl (parse_args): Initialize x before each
18988         test of frexp, modf and remquo.
18990         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18991         test signgam value.
18993 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18995         [BZ #15418]
18996         [BZ #15419]
18997         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18998         internal tests.
18999         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19001 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19003         * elf/dl-writev.h: New file.
19004         * elf/dl-misc.c: Include it.
19005         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19006         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19008 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
19010         * math/libm-test.inc (noXFails): Remove variable.
19011         (noXPasses): Likewise.
19012         (BUILD_COMPLEX_INT): Remove macro.
19013         (print_screen): Remove xfail argument.
19014         (print_screen_max_error): Likewise.
19015         (update_stats): Likewise.
19016         (print_max_error): Likewise.  Update calls to other affected
19017         functions.
19018         (print_complex_max_error): Likewise.
19019         (test_single_exception): Update calls to print_screen.
19020         (test_single_errno): Likewise.
19021         (check_float_internal): Remove xfail argument.  Update calls to
19022         other affected functions.
19023         (check_float): Likewise.
19024         (check_complex): Likewise.
19025         (check_int): Likewise.
19026         (check_long): Likewise.
19027         (check_bool): Likewise.
19028         (check_longlong): Likewise.
19029         (main): Don't print noXFails and noXPasses.
19030         * math/gen-libm-test.pl (top level): Don't mention expected
19031         failure handling in comment.
19032         (new_test): Don't handle expected failures.
19033         (parse_args): Don't mention expected failure handling in comment.
19034         (generate_testfile): Don't handle expected failures.
19035         (parse_ulps): Likewise.
19036         (print_ulps_file): Likewise.
19037         (get_failure): Remove function.
19038         (output_test): Don't handle expected failures.
19039         * make/README.libm-test: Don't mention expected failure handling.
19041         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
19042         (minus_zero): Likewise.
19043         (plus_infty): Likewise.
19044         (minus_infty): Likewise.
19045         (qnan_value): Likewise.
19046         (max_value): Likewise.
19047         (min_value): Likewise.
19048         (min_subnorm_value): Likewise.
19049         (initialize): Do not initialize those variables dynamically.
19051 2013-05-03  Roland McGrath  <roland@hack.frob.com>
19053         * io/open.c (__open_2): Moved to ...
19054         * io/open_2.c: ... this new file.
19055         * io/open64.c (__open64_2): Moved to ...
19056         * io/open64_2.c: ... this new file.
19057         * io/openat.c (__openat_2): Moved to ...
19058         * io/openat_2.c: ... this new file.
19059         * io/openat64.c (__openat64_2): Moved to ...
19060         * io/openat64_2.c: ... this new file.
19061         * io/Makefile (routines): Add them.
19062         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19063         * sysdeps/unix/sysv/linux/open_2.c: File removed.
19064         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19065         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19066         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19067         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19068         (__openat64): Add hidden_ver.
19069         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19070         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19072         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19073         Separately conditionalize setting of GLRO(dl_sysinfo) so
19074         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19075         as well, but the actual setting is only under [NEED_DL_SYSINFO].
19077 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19079         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19080         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19081         definition.
19082         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19083         * sysdeps/unix/sysv/linux/powerpc/init-first.c
19084         (_libc_vdso_platform_setup): Add __vdso_time initialization.
19085         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19086         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19088 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
19090         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19091         test signgam value.
19093         * math/libm-test.inc (hypot_test): Do not use
19094         IGNORE_ZERO_INF_SIGN.
19096 2013-05-03  Andreas Jaeger  <aj@suse.de>
19098         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19099         Linux 3.9.
19100         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19101         (PF_MAX): Adjust for VSOCK change.
19103 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19107 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
19109         [BZ #15264]
19110         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19111         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19112         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19114 2013-05-02  David S. Miller  <davem@davemloft.net>
19116         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19118 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
19120         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19122 2013-05-01  Roland McGrath  <roland@hack.frob.com>
19124         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19126 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
19128         [BZ #14952]
19129         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19130         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19131         Use __attribute__ ((__gnu_inline__)).
19132         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19133         Don't use __attribute__ ((__gnu_inline__)).
19135 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
19137         [BZ #15423]
19138         * math/s_catan.c (__catan): Handle small real or imaginary part of
19139         input specially to avoid spurious underflow.
19140         * math/s_catanf.c (__catanf): Likewise.
19141         * math/s_catanh.c (__catanh): Likewise.
19142         * math/s_catanhf.c (__catanhf): Likewise.
19143         * math/s_catanhl.c (__catanhl): Likewise.
19144         * math/s_catanl.c (__catanl): Likewise.
19145         * math/libm-test.inc (catan_test): Add more tests.
19146         (catanh_test): Likewise.
19147         * sysdeps/i386/fpu/libm-test-ulps: Update.
19148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19150 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19154 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
19156         [BZ #15416]
19157         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19158         accurately for denominator in atan2.
19159         * math/s_catanf.c (__catanf): Likewise.
19160         * math/s_catanh.c (__catanh): Likewise.
19161         * math/s_catanhf.c (__catanhf): Likewise.
19162         * math/s_catanhl.c (__catanhl): Likewise.
19163         * math/s_catanl.c (__catanl): Likewise.
19164         * math/libm-test.inc (catan_test): Add more tests.
19165         (catanh_test): Likewise.
19166         * sysdeps/i386/fpu/libm-test-ulps: Update.
19167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19169 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19171         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19173         * benchtests/Makefile (bench): Remove slow benchmarks.
19174         * benchtests/atan-inputs: Add slow benchmark inputs.
19175         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19176         (BENCH_FUNC): Accept variant offset.
19177         (VARIANT): Define.
19178         * benchtests/bench-skeleton.c (main): Run benchmark for each
19179         variant.
19180         * benchtests/cos-inputs: Add slow benchmark inputs.
19181         * benchtests/exp-inputs: Likewise.
19182         * benchtests/pow-inputs: Likewise.
19183         * benchtests/sin-inputs: Likewise.
19184         * benchtests/slowatan-inputs: Remove.
19185         * benchtests/slowatan.c: Remove.
19186         * benchtests/slowcos-inputs: Remove.
19187         * benchtests/slowcos.c: Remove.
19188         * benchtests/slowexp-inputs: Remove.
19189         * benchtests/slowexp.c: Remove.
19190         * benchtests/slowpow-inputs: Remove.
19191         * benchtests/slowpow.c: Remove.
19192         * benchtests/slowsin-inputs: Remove.
19193         * benchtests/slowsin.c: Remove.
19194         * benchtests/slowtan-inputs: Remove.
19195         * benchtests/slowtan.c: Remove.
19196         * benchtests/tan-inputs: Add slow benchmark inputs.
19197         * scripts/bench.pl: Parse comments and directives.
19199         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
19200         in CPPFLAGS.
19201         ($(objpfx)bench-%.c): Remove *-ITER.
19202         * benchtests/bench-modf.c: Remove definition of ITER.
19203         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19204         (main): Loop for DURATION seconds instead of fixed number of
19205         iterations.
19206         * scripts/bench.pl: Don't expect iterations in parameters.
19208 2013-04-29  Roland McGrath  <roland@hack.frob.com>
19210         * io/fchdir.c (__fchdir): Renamed from fchdir.
19211         (fchdir): Define as weak alias.
19213 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19215         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19216         (ERRNO_EDOM): Likewise.
19217         (ERRNO_ERANGE): Likewise.
19218         (noErrnoTests): New variable.
19219         (init_max_error): Set errno to 0.
19220         (test_single_errno): New function.
19221         (test_errno): Likewise.
19222         (check_float_internal): Call test_errno.  Set errno to 0.
19223         (check_complex): Refer to errno tests in comment.
19224         (check_int): Call test_errno.  Set errno to 0.
19225         (check_long): Likewise.
19226         (check_bool): Likewise.
19227         (check_longlong): Likewise.
19228         (cos_test): Use ERRNO_* flags for errno tests instead of
19229         check_int.
19230         (expm1_test): Likewise.
19231         (fmod_test): Likewise.
19232         (ilogb_test): Likewise.
19233         (lgamma_test): Likewise.
19234         (pow_test): Likewise.
19235         (remainder_test): Likewise.
19236         (sin_test): Likewise.
19237         (tan_test): Likewise.
19238         (yn_test): Likewise.
19239         (initialize): Set errno to 0.
19240         (main): Print number of errno tests.
19241         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19243 2013-04-29  Andreas Jaeger  <aj@suse.de>
19245         [BZ #15084]
19246         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19247         and RES_USEVC.
19249         [BZ #15085]
19250         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19251         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19252         unimplemented.
19254         [BZ #15380]
19255         * stdlib/random.c (__initstate): Return NULL if
19256         __initstate fails.
19258         [BZ #15086]
19259         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19260         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19261         RES_SNGLKUPREOP.
19263 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19267 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19269         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19270         of individual tests.
19271         (casin_test): Likewise.
19272         (casinh_test): Likewise.
19274 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
19276         [BZ #15409]
19277         * math/s_catan.c (__catan): Handle arguments with large real or
19278         imaginary part separately without squaring.
19279         * math/s_catanf.c (__catanf): Likewise.
19280         * math/s_catanh.c (__catanh): Likewise.
19281         * math/s_catanhf.c (__catanhf): Likewise.
19282         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19283         and redefine.
19284         (__catanhl): Handle arguments with large real or imaginary part
19285         separately without squaring.
19286         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19287         and redefine.
19288         (__catanl): Handle arguments with large real or imaginary part
19289         separately without squaring.
19290         * math/libm-test.inc (catan_test): Add more tests.
19291         (catanh_test): Likewise.
19292         * sysdeps/i386/fpu/libm-test-ulps: Update.
19293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19295 2013-04-27  Andreas Jaeger  <aj@suse.de>
19297         [BZ #15007]
19298         * stdlib/stdlib.h: Update guards for qecvt.
19299         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19300         <stdlib.h>.
19302 2013-04-27  Allan McRae  <allan@archlinux.org>
19304         * sysdeps/i386/fpu/libm-test-ulps: Update.
19306 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
19308         [BZ #15406]
19309         * math/s_catan.c: Include <float.h>.
19310         (__catan): Ensure underflow exception occurs for underflowed
19311         result.
19312         * math/s_catanf.c: Include <float.h>.
19313         (__catanf): Ensure underflow exception occurs for underflowed
19314         result.
19315         * math/s_catanh.c: Include <float.h>.
19316         (__catanh): Ensure underflow exception occurs for underflowed
19317         result.
19318         * math/s_catanhf.c: Include <float.h>.
19319         (__catanhf): Ensure underflow exception occurs for underflowed
19320         result.
19321         * math/s_catanhl.c: Include <float.h>.
19322         (__catanhl): Ensure underflow exception occurs for underflowed
19323         result.
19324         * math/s_catanl.c: Include <float.h>.
19325         (__catanl): Ensure underflow exception occurs for underflowed
19326         result.
19327         * math/libm-test.inc (catan_test): Add more tests.
19328         (catanh_test): Likewise.
19330         [BZ #15405]
19331         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19332         underflowed result.
19333         * math/s_ccoshf.c (__ccoshf): Likewise.
19334         * math/s_ccoshl.c (__ccoshl): Likewise.
19335         * math/s_csin.c (__csin): Likewise.
19336         * math/s_csinf.c (__csinf): Likewise.
19337         * math/s_csinh.c (__csinh): Likewise.
19338         * math/s_csinhf.c (__csinhf): Likewise.
19339         * math/s_csinhl.c (__csinhl): Likewise.
19340         * math/s_csinl.c (__csinl): Likewise.
19341         * math/libm-test.inc (ccos_test): Add more tests.
19342         (ccosh_test): Likewise.
19343         (csin_test): Likewise.
19344         (csinh_test): Likewise.
19346 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19348         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19349         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19350         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19351         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19352         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19353         powerpc/power5+/fpu folders.
19354         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19357 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19359         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19361 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
19363         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19364         additions to variable.
19365         [$(config-machine) = x86_64] (modules-names): Likewise.
19366         ($(objpfx)tst-audit3): Remove dependency.
19367         ($(objpfx)tst-audit3.out): Likewise.
19368         ($(objpfx)tst-audit4): Likewise.
19369         ($(objpfx)tst-audit4.out): Likewise.
19370         ($(objpfx)tst-audit5): Likewise.
19371         ($(objpfx)tst-audit5.out): Likewise.
19372         ($(objpfx)tst-audit6): Likewise.
19373         ($(objpfx)tst-audit6.out): Likewise.
19374         ($(objpfx)tst-audit7): Likewise.
19375         ($(objpfx)tst-audit7.out): Likewise.
19376         (tst-audit3-ENV): Remove variable.
19377         (tst-audit4-ENV): Likewise.
19378         (tst-audit5-ENV): Likewise.
19379         (tst-audit6-ENV): Likewise.
19380         (tst-audit7-ENV): Likewise.
19381         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19382         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19383         addition to variable.
19384         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19385         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19386         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19387         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19388         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19389         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19390         tst-audit3, tst-audit4 and tst-audit5.
19391         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19392         tst-audit6 and tst-audit7.
19393         [$(subdir) = elf] (modules-names): Add audit modules for those
19394         tests.
19395         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19396         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19397         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19398         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19399         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19400         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19401         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19402         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19403         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19404         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19405         [$(subdir) = elf] (tst-audit3-ENV): New variable.
19406         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19407         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19408         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19409         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19410         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19411         Likewise.
19412         [$(subdir) = elf && $(config-cflags-avx) = yes]
19413         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19414         [$(subdir) = elf && $(config-cflags-avx) = yes]
19415         (CFLAGS-tst-auditmod4a.c): Likewise.
19416         [$(subdir) = elf && $(config-cflags-avx) = yes]
19417         (CFLAGS-tst-auditmod4b.c): Likewise.
19418         [$(subdir) = elf && $(config-cflags-avx) = yes]
19419         (CFLAGS-tst-auditmod6b.c): Likewise.
19420         [$(subdir) = elf && $(config-cflags-avx) = yes]
19421         (CFLAGS-tst-auditmod6c.c): Likewise.
19422         [$(subdir) = elf && $(config-cflags-avx) = yes]
19423         (CFLAGS-tst-auditmod7b.c): Likewise.
19424         * elf/tst-audit3.c: Move to ...
19425         * sysdeps/x86_64/tst-audit3.c: ... here.
19426         * elf/tst-audit4.c: Move to ...
19427         * sysdeps/x86_64/tst-audit4.c: ... here.
19428         * elf/tst-audit5.c: Move to ...
19429         * sysdeps/x86_64/tst-audit5.c: ... here.
19430         * elf/tst-audit6.c: Move to ...
19431         * sysdeps/x86_64/tst-audit6.c: ... here.
19432         * elf/tst-audit7.c: Move to ...
19433         * sysdeps/x86_64/tst-audit7.c: ... here.
19434         * elf/tst-auditmod3a.c: Move to ...
19435         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19436         * elf/tst-auditmod3b.c: Move to ...
19437         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19438         * elf/tst-auditmod4a.c: Move to ...
19439         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19440         * elf/tst-auditmod4b.c: Move to ...
19441         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19442         * elf/tst-auditmod5a.c: Move to ...
19443         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19444         * elf/tst-auditmod5b.c: Move to ...
19445         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19446         * elf/tst-auditmod6a.c: Move to ...
19447         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19448         * elf/tst-auditmod6b.c: Move to ...
19449         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19450         * elf/tst-auditmod6c.c: Move to ...
19451         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19452         * elf/tst-auditmod7a.c: Move to ...
19453         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19454         * elf/tst-auditmod7b.c: Move to ...
19455         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19457 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
19459         [BZ #15366]
19460         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19461         define unconditionally.
19462         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19463         define unconditionally.
19464         (INT8_C, INT16_C, etc.): Likewise.
19466 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
19468         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19469         __ehdr_start with hidden visibility.
19471         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19473 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
19475         * math/libm-test.inc (cos_test): Use accurate hex constants.
19476         (sincost_test): Likewise.
19478 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
19480         * math/libm-test.inc (catan_test): Add more tests.
19481         (catanh_test): Likewise.
19483         * math/s_catanf.c (__catanf): Use suffixed floating-point
19484         constants.
19485         * math/s_catanhf.c (__catanhf): Likewise.
19486         * math/s_catanhl.c (__catanhl): Likewise.
19487         * math/s_catanl.c (__catanl): Likewise.
19489         [BZ #15394]
19490         * math/s_catan.c (__catan): Calculate imaginary part of result
19491         with log1p not log unless computing log of number close to 0.
19492         * math/s_catanf.c (__catanf): Likewise.
19493         * math/s_catanl.c (__catanl): Likewise.
19494         * math/s_catanh.c (__catanh): Calculate real part of result with
19495         log1p not log unless computing log of number close to 0.
19496         * math/s_catanhf.c (__catanhf): Likewise.
19497         * math/s_catanhl.c (__catanhl): Likewise.
19498         * math/libm-test.inc (catan_test): Add more tests.
19499         (catanh_test): Likewise.
19500         * sysdeps/i386/fpu/libm-test-ulps: Update.
19501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19503 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19505         * benchtests/Makefile: Mention files in which fast and slow
19506         paths of math functions are implemented.
19508 2013-04-23  Roland McGrath  <roland@hack.frob.com>
19510         * sysdeps/posix/timespec_get.c: New file.
19512 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19514         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19515         POWER.
19516         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19517         for POWER.
19518         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19519         powerpc/power5/fpu folders.
19520         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19521         * benchtests/Makefile: Add modf testcase.
19522         * benchtests/bench-modf.c: New file: Benchmark test for mo
19524 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19526         [BZ #14888]
19527         * time/Makefile (tests): Add tst-strptime-whitespace.
19528         * time/strptime_l.c (get_number): Use ISSPACE.
19529         (__strptime_internal): Likewise.
19530         * time/tst-strptime-whitespace.c: New test case.
19532 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
19534         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19535         member.
19536         (_nss_files_init): Set it here.
19538 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
19540         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19541         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19542         unsigned.
19544 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
19546         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19548 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19550         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19551         size just once.
19553 2013-04-21  David S. Miller  <davem@davemloft.net>
19555         * po/ru.po: Update Russion translation from translation project.
19557 2013-04-17  Adam Conrad  <adconrad@0c3.net>
19559         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19560         and setfsgid.
19562 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
19564         * configure.in: Remove i386 configure warning. Remove i386 case.
19565         * configure: Regenerate.
19566         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19567         Add example to error message.
19568         * sysdeps/i386/configure: Regenerate.
19570 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19572         * benchtests/Makefile (bench): Add cos, tan, slowcos and
19573         slowtan.
19574         * benchtests/cos-inputs: New file.
19575         * benchtests/slowcos-inputs: New file.
19576         * benchtests/slowcos.c: New file.
19577         * benchtests/slowtan-inputs: New file.
19578         * benchtests/slowtan.c: New file.
19579         * benchtests/tan-inputs: New file.
19581 2013-04-16  Roland McGrath  <roland@hack.frob.com>
19583         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19584         considered kosher.
19586 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19588         * benchtests/Makefile: Include cppflags-iterator.mk to add
19589         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19591         * Makefile.in (bench-clean): New target.
19592         * benchtests/Makefile (bench-clean): Likewise.
19594 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
19596         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19598 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
19600         * stdio-common/tstdiomisc.c: Fix coding-style violation.
19602 2013-04-15  Andreas Schwab  <schwab@suse.de>
19604         * nscd/grpcache.c (cache_addgr): Properly check for short write.
19605         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19606         * nscd/pwdcache.c (cache_addpw): Likewise.
19607         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
19608         more than recsize.
19610 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19612         * benchtests/Makefile (bench): Write all output to
19613         bench-out.tmp together.
19615 2013-04-15  Andreas Schwab  <schwab@suse.de>
19617         * nscd/nscd.c (main): Don't fork again after closing files.
19619 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19621         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19623         * benchtests/Rules (bench-deps): Collect dependencies into a
19624         single variable.  Add Makefile to dependencies.
19625         ($(objpfx)bench-%.c): Depend on bench-deps.
19627 2013-04-12  Roland McGrath  <roland@hack.frob.com>
19628             Xavier Roche  <roche+kml2@exalead.com>
19630         [BZ #15361]
19631         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19632         just that it's a file descriptor.
19633         * manual/llio.texi (Synchronizing AIO Operations): Update description
19634         for EBADF error from aio_fsync.
19636 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19638         * Rules (bench): Move target definition...
19639         * benchtests/Makefile: ... here.
19641 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
19643         * math/libm-test.inc (cos_test): Fix PI/2 test.
19644         (sincos_test): Likewise.
19645         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19646         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19648 2013-04-11  Andreas Schwab  <schwab@suse.de>
19650         [BZ #13988]
19651         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19652         accept exponent character only when digits were seen.
19653         * stdio-common/Makefile (tests): Add bug26.
19654         * stdio-common/bug26.c: New file.
19656         [BZ #14293]
19657         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19658         non-freeable.
19660 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19662         * Makeconfig (rtld-prefix): Define built linker prefix.
19663         * Rules (run-bench): Use it.
19664         * math/Makefile (run-regen-ulps): Likewise.
19666         * Rules (bench): Remove eval.
19668 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19669             Roland McGrath  <roland@hack.frob.com>
19670             Ondrej Bilka  <neleai@seznam.cz>
19672         [BZ #15346]
19673         * time/getdate.c: Include ctype.h and alloca.h.
19674         (__getdate_r): Trim leading and trailing spaces of input.
19675         * time/tst-getdate.c (tests): Add tests with leading and
19676         trailing spaces.
19678 2013-04-08  Roland McGrath  <roland@hack.frob.com>
19680         [BZ #14280]
19681         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19682         when computing value.
19684 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19686         * math/README.libm-test (How can I generate "libm-test-ulps"?):
19687         Use testrun.sh to run libm tests.
19689         [BZ #15309]
19690         * elf/dl-open.c (dl_open_worker): memset all of seen array.
19692 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
19694         [BZ #15264]
19695         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19697 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19699         * Makefile.in (regen-ulps): New target.
19700         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19701         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19702         [ifneq (no,$(PERL)] (regen-ulps): New target.
19703         [ifeq (no,$(PERL)] (regen-ulps): New target.
19704         * math/libm-test.inc (ulps_file_name): Define.
19705         (output_dir): New variable.
19706         (options): Add "output-dir" option.
19707         (parse_opt): Handle 'o' case.
19708         (main): If output_dir is non-NULL use it as a prefix
19709         otherwise use "".
19710         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19712 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19714         [BZ #10060, #10062]
19715         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19716         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19717         fail configure if __sync_val_compare_and_swap is not inlined.
19718         * sysdeps/i386/configure: Regenerate.
19719         * configure.in: Build for i686 when configured for i386.
19720         * configure: Regenerate.
19721         * README: Remove i386 reference.
19723 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19725         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19726         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19728 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
19730         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19731         (lmsnanval): New variables.
19732         (F): Add conversion tests.
19733         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19734         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19736         * stdio-common/tstdiomisc.c (F): Properly collect individual
19737         tests' results.
19739         [BZ #14686, #15336]
19740         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19741         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19742         Instead, use input NaN values or generate a qNaN by arithmetic
19743         operation.  Also fix bugs to comply with the standard.
19744         * math/libm-test.inc (remainder_test): Add more tests.
19746         [BZ #15335, #15342]
19747         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19748         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19749         input NaN values or generate a qNaN by arithmetic operation.
19751         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19752         unreachable code.
19754         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19755         definitions.
19757 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
19759         [BZ #14478]
19760         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19761         underflowed result.
19762         * math/s_cexpf.c (__cexpf): Likewise.
19763         * math/s_cexpl.c (__cexpl): Likewise.
19764         * math/libm-test.inc (cexp_test): Add more tests.
19766 2013-04-03  Andreas Schwab  <schwab@suse.de>
19768         [BZ #15330]
19769         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19770         order arrays from heap if bigger than alloca cutoff.
19772 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
19774         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19775         (SNAN_TESTS_double): Refer to GCC PR56831.
19776         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19777         GCC PR56828.
19779 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19781         * Rules (bench): Move bench.out after the run is complete.
19783         * Rules (bench): Echo currently running benchmark.
19785         * benchtests/Makefile (bench): Add atan and slowatan.
19786         * benchtests/atan-inputs: New file.
19787         * benchtests/slowatan-inputs: New file.
19788         * benchtests/slowatan.c: New file.
19790         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19791         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19792         its value.
19794         [BZ #15305]
19795         * sysdeps/unix/sysv/linux/kernel-features.h
19796         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19797         __ASSUME_XFS_RESTRICTED_CHOWN.
19798         * sysdeps/unix/sysv/linux/pathconf.c
19799         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19800         Save and restore errno.
19802 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
19804         [BZ #15327]
19805         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19806         arguments using __kernel_casinh.
19807         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19808         arguments using __kernel_casinhf.
19809         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19810         arguments using __kernel_casinhl.
19811         * math/libm-test.inc (cacosh_test): Add more tests.
19812         * sysdeps/i386/fpu/libm-test-ulps: Update.
19813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19815 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19817         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19818         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19820         * bench/Makefile (bench): Add sin and slowsin.
19821         * benchtests/sin-inputs: New file.
19822         * benchtests/slowsin-inputs: New file.
19823         * benchtests/slowsin.c: New file.
19825         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19826         (bench): Add slowexp and slowpow.
19827         (exp-ITER): Increase iterations.
19828         (pow-ITER): Likewise.
19829         * benchtests/exp-inputs: Change input.
19830         * benchtests/pow-inputs: Likewise.
19831         * benchtests/slowexp-inputs: New file.
19832         * benchtests/slowexp.c: New file.
19833         * benchtests/slowpow-inputs: New file.
19834         * benchtests/slowpow.c: New file.
19836 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19838         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19839         instructions.
19840         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19841         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19842         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19843         * benchtests/Makefile: Add rint benchtest.
19844         * benchtests/rint-inputs: Input for rint benchtest.
19846 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
19848         * Versions.def (libm): Add GLIBC_2.18.
19849         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19850         hidden libm prototypes.
19851         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19852         * math/Makefile (libm-calls): Add s_issignaling.
19853         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19854         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
19855         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19856         declaration.
19857         * math/math.h [__USE_GNU] (issignaling): New macro.
19858         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19859         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19860         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19861         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19862         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19863         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19864         * manual/arith.texi (issignaling): New section.
19865         * manual/libm-err-tab.pl (@all_functions): Update comment.
19866         * math/gen-libm-test.pl (parse_args): Apply special handling for
19867         issignaling.
19868         * math/libm-test.inc (print_float, issignaling_test): New
19869         functions.
19870         (check_float_internal): Add issignaling checks.
19871         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19872         default definition.
19873         * sysdeps/powerpc/math-tests.h: New file.
19874         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19875         tests.
19876         * math/test-snan.c (TEST_FUNC): Likewise.
19878 2013-03-30  David S. Miller  <davem@davemloft.net>
19880         * po/de.po: Update from translation team.
19882 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
19884         [BZ #10357]
19885         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19886         imaginary part less than 1.0 and real part less than 0.5
19887         specially.
19888         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19889         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19890         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19891         (cacos_test): Add more tests.
19892         (casin_test): Likewise.
19893         (casinh_test): Likewise.
19894         * sysdeps/i386/fpu/libm-test-ulps: Update.
19895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19897 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19899         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19900         ONE with its value.
19902         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19903         (__pow_mp): Replace ONE and MONE with their values.
19904         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19905         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19906         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19907         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19908         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19909         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19911         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19913         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19914         (__pow_mp): Replace ZERO and MZERO with their values.
19915         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19916         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19917         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19918         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19919         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19920         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19921         (__sqr): Likewise.
19923         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19925         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19927 2013-03-28  Roland McGrath  <roland@hack.frob.com>
19929         * include/stdlib.h [!SHARED] (__call_tls_dtors):
19930         Declare with __attribute__ ((weak)).
19931         * stdlib/exit.c (__libc_atexit) [!SHARED]:
19932         Call __call_tls_dtors only if it's not NULL.
19934 2013-03-28  Roland McGrath  <roland@hack.frob.com>
19936         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19937         didn't do it already, then set _dl_phdr and _dl_phnum based on the
19938         magic __ehdr_start linker symbol if it's defined.
19939         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19940         them up here if it was already done.
19942         * elf/dl-support.c (_dl_phdr): Make pointer to const.
19943         (_dl_aux_init): Use const in cast when setting it.
19944         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19945         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19946         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19948         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19949         Declare them here.
19950         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19951         * csu/libc-tls.c: Nor here.
19952         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19954         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19955         (__libc_message): Never call vsyslog.
19957 2013-03-28  Alan Modra  <amodra@gmail.com>
19959         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19960         Define as empty.
19961         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19962         Likewise.
19964 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19966         [BZ #15214]
19967         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19968         underflow.
19969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19971 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19973         [BZ #15304]
19974         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19975         Don't add gid passed as argument.
19977         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19979 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
19981         [BZ #15307]
19982         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19983         imaginary part between 1.0 and 1.5 and real part less than 0.5
19984         specially.
19985         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19986         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19987         * math/libm-test.inc (cacos_test): Add more tests.
19988         (casin_test): Likewise.
19989         (casinh_test): Likewise.
19990         * sysdeps/i386/fpu/libm-test-ulps: Update.
19991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19993 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19995         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19996         constants.
19997         (norm): Likewise.
19998         (denorm): Likewise.
19999         (__dbl_mp): Likewise.
20000         (add_magnitudes): Likewise.
20001         (sub_magnitudes): Likewise.
20002         (__add): Likewise.
20003         (__sub): Likewise.
20004         (__mul): Likewise.
20005         (__sqr): Likewise.
20006         (__inv): Likewise.
20007         (__dvd): Likewise.
20009         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20010         commented code.
20011         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20012         (__dubcos): Likewise.
20013         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20014         (__ieee754_acos): Likewise.
20015         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20016         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20017         (__exp1): Likewise.
20018         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20019         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20020         (log1): Likewise.
20021         (my_log2): Likewise.
20022         (checkint): Likewise.
20023         * sysdeps/ieee754/dbl-64/e_remainder.c
20024         (__ieee754_remainder): Likewise.
20025         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20026         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20027         (bsloww): Likewise.
20028         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20030         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20031         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20032         MANTISSA_STORE_T to store computations on mantissa.  Use
20033         macros for rounding and division.
20034         (denorm): Likewise.
20035         (__dbl_mp): Likewise.
20036         (add_magnitudes): Likewise.
20037         (sub_magnitudes): Likewise.
20038         (__mul): Likewise.
20039         (__sqr): Likewise.
20040         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20041         powers of two in terms of TWOPOW macro.
20042         (mp_no): Make type of mantissa as MANTISSA_T.
20043         [!RADIXI]: Define RADIXI.
20044         [!TWO52]: Define TWO52.
20045         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20047 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20049         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20050         llroundl symbol when building for PPC32.
20052 2013-03-24  Mark H Weaver  <mhw@netris.org>
20054         * manual/arith.texi (Normalization Functions): Fix prototypes for
20055         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20057 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20059         [BZ #13889]
20060         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20061         high value to check if expl overflow.
20062         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20063         to check for underflow and overflow.
20064         * math/libm-test.inc: Add exp test.
20066 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
20068         [BZ #11120]
20069         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20070         with NOT_IN_libc.
20072 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20074         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20075         symbol.
20077 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20079         * math/gen-libm-test.pl (parse_args, special_functions): Properly
20080         wrap blocks consisting of several statements.
20082         * sysdeps/generic/math-tests.h: New file.
20083         * sysdeps/i386/fpu/math-tests.h: Likewise.
20084         * math/test-snan.c: Include it.
20085         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20087 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20089         [BZ #15285]
20090         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20091         (__ieee754_j0l): Do not improve calculations using cos of twice
20092         input for inputs above LDBL_MAX / 2.0L.
20093         (__ieee754_y0l): Likewise.
20094         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20095         (__ieee754_j1l): Do not improve calculations using cos of twice
20096         input for inputs above LDBL_MAX / 2.0L.
20097         (__ieee754_y1l): Likewise.
20098         * math/libm-test.inc (j0_test): Add another test.
20099         (j1_test): Likewise.
20100         (y0_test): Likewise.
20101         (y1_test): Likewise.
20102         * sysdeps/i386/fpu/libm-test-ulps: Update.
20104 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20106         * Rules ($(objpfx)bench-%.c): Include code from a C source
20107         file.
20109 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20111         [BZ #15287]
20112         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20113         imaginary part 1.0 and real part less than 0.5 specially.
20114         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20115         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20116         * math/libm-test.inc (cacos_test): Add more tests.
20117         (casin_test): Likewise.
20118         (casinh_test): Likewise.
20119         * sysdeps/i386/fpu/libm-test-ulps: Update.
20120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20122 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20124         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20125         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20127 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
20129         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20130         * config.make.in (config-cflags-sse4): Remove variable.
20131         (config-cflags-avx): Likewise.
20132         (config-cflags-sse2avx): Likewise.
20133         (config-cflags-novzeroupper): Likewise.
20134         (config-asflags-i686): Likewise.
20135         (have-mfma4): Likewise.
20136         (have-as-vis3): Likewise.
20137         (MIG): Likewise.
20138         * configure.in (MIG): Do not AC_SUBST.
20139         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20140         (libc_cv_cc_sse4): Do not AC_SUBST.
20141         (libc_cv_cc_avx): Likewise.
20142         (libc_cv_cc_sse2avx): Likewise.
20143         (libc_cv_cc_novzeroupper): Likewise.
20144         (libc_cv_cc_fma4): Likewise.
20145         (libc_cv_as_i686): Likewise.
20146         (libc_cv_sparc_as_vis3): Likewise.
20147         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20148         LIBC_CONFIG_VAR.
20149         (config-asflags-i686): Likewise.
20150         (config-cflags-avx): Likewise.
20151         (config-cflags-sse2avx): Likewise.
20152         (have-mfma4): Likewise.
20153         (config-cflags-novzeroupper): Likewise.
20154         * sysdeps/mach/configure.in (MIG): Likewise.
20155         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20156         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20157         LIBC_CONFIG_VAR.
20158         (config-cflags-avx): Likewise.
20159         (config-cflags-sse2avx): Likewise.
20160         (have-mfma4): Likewise.
20161         (config-cflags-novzeroupper): Likewise.
20162         * configure: Regenerated.
20163         * sysdeps/i386/configure: Likewise.
20164         * sysdeps/mach/configure: Likewise.
20165         * sysdeps/sparc/configure: Likewise.
20166         * sysdeps/x86_64/configure: Likewise.
20168 2013-03-20  Roland McGrath  <roland@hack.frob.com>
20170         [BZ #14812]
20171         * locale/programs/localedef.c (options): Put N_ translation marker
20172         on argument names, not just descriptions.
20174 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20176         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20178 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
20180         [BZ #14176]
20181         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20183 2013-03-19  Roland McGrath  <roland@hack.frob.com>
20185         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20186         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20187         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20188         [!BEFORE_ABORT] (before_abort): New function.
20189         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20190         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20191         (writev_for_fatal): New function.
20192         (WRITEV_FOR_FATAL): New macro; call that.
20193         (backtrace_and_maps): New function.
20194         (BEFORE_ABORT): New macro; call that.
20195         (struct str_list): Type removed.
20196         (__libc_message, __libc_fatal): Functions removed.
20197         Include <sysdeps/posix/libc_fatal.c> instead.
20199 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
20201         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20202         constants.
20203         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20204         double constants.
20206 2013-03-19  Andreas Schwab  <schwab@suse.de>
20208         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20209         * sysdeps/gnu/configure: Regenerate.
20211         * configure.in: Substitute libc_cv_rtlddir.
20212         * configure: Regenerate.
20213         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20214         * Makeconfig (rtlddir, inst_rtlddir): New variables.
20215         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20216         * elf/Makefile (install-others, CFLAGS-interp.c)
20217         (ldso_install, common-ldd-rewrite): Likewise.
20218         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20219         $(inst_slibdir)/$(rtld-installed-name).
20220         * scripts/rellns-sh: Add -p option.
20221         * Makerules (make-shlib-link): Use rellns-sh to get relative name
20222         for source.
20224 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20226         * manual/nptl.texi: Renamed to ...
20227         * manual/threads.texi: ... this.
20228         * manual/Makefile (chapters): Update.
20230 2013-03-18  Roland McGrath  <roland@hack.frob.com>
20232         [BZ #14812]
20233         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20234         on argument names, not just descriptions.
20235         * malloc/memusagestat.c (options): Likewise.
20236         * nss/getent.c (options): Likewise.
20238 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
20240         [BZ #14812]
20241         * iconv/iconv_prog.c (options): Put N_ translation marker
20242         on argument names, not just descriptions.
20243         * iconv/iconvconfig.c (options): Likewise.
20245 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
20247         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20248         implementation which is faster on all x86_64 architectures.
20249         Tested on AMD, Intel Nehalem, SNB, IVB.
20250         * sysdeps/x86_64/strnlen.S: Likewise.
20252         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20253         Remove all multiarch strlen and strnlen versions.
20254         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20255         Remove strlen and strnlen related parts.
20257         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20258         Inline strlen part.
20259         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20261         * sysdeps/x86_64/multiarch/strlen.S: Remove.
20262         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20263         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20264         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20265         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20266         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20268 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
20270         * manual/memory.texi (Malloc Tunable Parameters):
20271         Sort parameters alphabetically. Add comments for missing entries.
20273 2013-03-17  David S. Miller  <davem@davemloft.net>
20275         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20277 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
20279         [BZ #15283]
20280         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20281         for arguments at most half maximum finite value.
20282         * math/libm-test.inc (j0_test): Add more tests.
20283         (j1_test): Likewise.
20284         (y0_test): Likewise.
20285         (y1_test): Likewise.
20286         * sysdeps/i386/fpu/libm-test-ulps: Update.
20287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20289         [BZ #14155]
20290         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20291         1 / x and functions P and Q for arguments above 0x1p256L.
20292         (__ieee754_y0l): Likewise.
20293         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20294         (__ieee754_y1l): Likewise.
20295         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20296         (j1_test): Likewise.
20297         (y0_test): Likewise.
20298         (y1_test): Likewise.
20300 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
20302         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20303         variable.
20305 2013-03-15  Roland McGrath  <roland@hack.frob.com>
20307         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20308         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20309         zero since it's initialized to EXEC_PAGESIZE.
20311         * sysdeps/unix/sysv/linux/ldsodefs.h
20312         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20313         * sysdeps/generic/ldsodefs.h: ... here.
20315 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
20317         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20319         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20320         math/test-snan.c.
20321         * math/test-snan.c: Renamed from
20322         sysdeps/powerpc/fpu/test-powerpc-snan.c.
20323         * math/Makefile (tests): Add test-snan.
20324         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20325         test-powerpc-snan.
20327         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20328         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
20329         functions.
20330         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
20331         __builtin_nan family of functions.
20332         * math/libm-test.inc (initialize): Initialize qnan_value with
20333         __builtin_nan family of functions.
20334         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20335         Remove variables.
20336         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20337         Remove functions.
20338         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
20339         storage class.  Initialize qNaN_var and sNaN_var with
20340         __builtin_nan and __builtin_nans families of functions,
20341         respectively.
20343         * math/libm-test.inc (acosh_test): Also test with qNaN input.
20344         (sqrt_test): Remove duplicate test with qNaN input.
20345         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20346         (round_test, signbit_test, significand_test): Note missing +/-Inf
20347         as well as qNaN tests.
20349         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20350         qNaN_var.  Fix a few strings, too.
20351         * math/libm-test.inc (nan_value): Rename to qnan_value.
20352         * math/gen-libm-test.pl (%beautify): Adjust to that.
20353         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20354         * math/test-misc.c (main): Likewise.
20355         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20356         to __qnan_bytes, and __qnan_union, respectively.
20357         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20358         Likewise.
20359         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20360         and lqnanval, respectively.
20361         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20362         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20363         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20364         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20366         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20367         * math/test-misc.c (main) [__x86_64__]: Enable test for long
20368         doubles.
20370         * math/test-misc.c (main): Fix copy'n'pastos.
20371         * misc/tst-efgcvt.c (special): Likewise.
20373         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20374         Remove declarations.
20376 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20378         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20379         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20380         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20381         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20383 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20385         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20386         macro to return vdso values correctly in IFUNC implementations.
20387         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20388         Optimization by using IFUNC.
20390 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20391             Richard Henderson  <rth@redhat.com>
20392             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20394         * Makefile.in (bench): New target.
20395         * NEWS: Mention the benchmark framework.
20396         * Rules (bench): Likewise.
20397         (binaries-bench): Generate binaries for functions to
20398         benchmark.
20399         * benchtests/Makefile: New makefile for benchmark tests.
20400         * benchtests/bench-skeleton.c: New skeleton file for benchmark
20401         programs.
20402         * benchtests/exp-inputs: New input file for EXP function.
20403         * benchtests/pow-inputs: New input file for POW function.
20404         * scripts/bench.pl: New script to generate source files for
20405         benchmark programs.
20407 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20409         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20410         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20411         computations on mantissa.  Use macros for rounding and
20412         division.
20413         (denorm): Likewise.
20414         (__dbl_mp): Likewise.
20415         (add_magnitudes): Likewise.
20416         (sub_magnitudes): Likewise.
20417         (__mul): Likewise.
20418         (__sqr): Likewise.
20419         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20420         powers of two in terms of TWOPOW macro.
20421         (mp_no): Make type of mantissa as MANTISSA_T.
20422         [!RADIXI]: Define RADIXI.
20423         [!TWO52]: Define TWO52.
20424         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20426         * manual/nptl.texi (cindex): Modify threads to pthreads.
20428 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
20430         * sysdeps/x86_64/preconfigure: Regenerated.
20432 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
20434         [BZ #14155]
20435         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20436         0x1p28 and above.
20437         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20438         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20439         0x1p28 and above.
20440         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20441         * math/libm-test.inc (j0_test): Do not allow one spurious
20442         underflow exception.
20443         (y1_test): Likewise.
20445 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20447         * manual/Makefile (chapters): Add nptl.
20448         * manual/debug.texi (Debugging Support): Add link to Threads
20449         chapter.
20450         * manual/nptl.texi: New file.
20452         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20454 2013-03-14  Petr Baudis  <pasky@ucw.cz>
20456         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20457         for non-NULL pointer before the memory validity test. Pointed
20458         out by Holger Brunck <holger.brunck@keymile.com>.
20460 2013-03-13  Andreas Schwab  <schwab@suse.de>
20462         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20463         instead of .os.
20465 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
20467         * timezone/zic.c: Update from tzcode 2013b.
20469 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
20471         * manual/install.texi (Configuring and compiling):
20472         Mention i686 and i586.
20473         * INSTALL: Regenerate.
20475 2013-03-12  Roland McGrath  <roland@hack.frob.com>
20477         * sysdeps/init_array/elf-init.c: New file.
20478         * csu/elf-init.c
20479         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20480         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20482         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20483         __gmon_start__ as global, but as static with a .preinit_array pointer.
20484         * sysdeps/init_array/gmon-start.c: New file.  Use that.
20485         * sysdeps/init_array/crti.S: New file, empty except for comments.
20486         * sysdeps/init_array/crtn.S: Likewise.
20488 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
20490         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20491         definining bcopy.
20492         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20493         Remove Prefer_SSE_for_memop.
20494         * sysdeps/x86_64/multiarch/init-arch.h: Remove
20495         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20496         HAS_PREFER_SSE_FOR_MEMOP.
20497         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20498         memset-x86-64.
20499         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20500         Remove bzero, memset ifunc support.
20501         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20502         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20503         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20504         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20506 2013-03-11  Andreas Schwab  <schwab@suse.de>
20508         [BZ #15234]
20509         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20510         by SHLIB_COMPAT.
20511         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20512         (GLIBC_2.16): Remove pthread_atfork.
20514 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20516         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20517         (ptestcases.h): Likewise.
20519 2013-03-08  Roland McGrath  <roland@hack.frob.com>
20521         * Makeconfig ($(common-objpfx)config.status): Depend on
20522         sysdeps/*/preconfigure{,.in} too.
20524 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
20526         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20527         (__free_hook): Use void * instead of __malloc_ptr_t.
20528         (__malloc_hook): Likewise.
20529         (__realloc_hook): Likewise.
20530         (__memalign_hook): Likewise.
20531         (__after_morecore_hook): Likewise.
20532         * malloc/arena.c (save_malloc_hook): Likewise.
20533         (save_free_hook): Likewise.
20534         * malloc/hooks.c (malloc_hook_ini): Likewise.
20535         (realloc_hook_ini): Likewise.
20536         (memalign_hook_ini): Likewise.
20537         * malloc/malloc.c (malloc_hook_ini): Likewise.
20538         (realloc_hook_ini): Likewise.
20539         (memalign_hook_ini): Likewise.
20540         (__free_hook): Likewise.
20541         (__malloc_hook): Likewise.
20542         (__realloc_hook): Likewise.
20543         (__memalign_hook): Likewise.
20544         (__libc_malloc): Likewise.
20545         (__libc_free): Likewise.
20546         (__libc_realloc): Likewise.
20547         (__libc_memalign): Likewise.
20548         (__libc_valloc): Likewise.
20549         (__libc_pvalloc): Likewise.
20550         (__libc_calloc): Likewise.
20551         (__posix_memalign): Likewise.
20552         * malloc/morecore.c (__sbrk): Likewise.
20553         (__default_morecore): Likewise.
20555         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20557         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20558         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20559         __malloc_ptrdiff_t.
20561         * malloc/malloc.h (__malloc_size_t): Remove macro.
20562         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20563         __malloc_size_t.
20564         (old_memalign_hook): Likewise.
20565         (old_realloc_hook): Likewise.
20566         (struct hdr): Likewise.
20567         (flood): Likewise.
20568         (mallochook): Likewise.
20569         (memalignhook): Likewise.
20570         (reallochook): Likewise.
20571         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20572         (tr_old_realloc_hook): Likewise.
20573         (tr_old_memalign_hook): Likewise.
20574         (tr_mallochook): Likewise.
20575         (tr_reallochook): Likewise.
20576         (tr_memalignhook): Likewise.
20578 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20580         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20581         default_ldbl_pack and using as default implementation.
20582         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20583         implementation.
20584         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20585         redundant definition.
20586         (ldbl_insert_mantissa): Likewise.
20587         (ldbl_canonicalize): Likewise.
20588         (ldbl_nearbyint): Likewise.
20589         (ldbl_pack): Rename to ldbl_pack_ppc.
20590         (ldbl_unpack): Rename to ldbl_unpack_ppc.
20591         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20592         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20594 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20596         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20597         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20598         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20599         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20600         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20601         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20602         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20603         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20605 2013-03-07  Andreas Jaeger  <aj@suse.de>
20607         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20608         bits/mman-linux.h.
20610 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20612         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20613         Include mpa.h and declare __MPEXP.
20614         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20615         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20616         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20617         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20618         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20619         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20620         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20622         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20623         (__slowpow): Use long double EXPL and LOGL functions to
20624         compute POW.
20625         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20626         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20627         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20628         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20629         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20630         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20632         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20633         intermediate variable to calculate exponent.
20634         (__sqr): Likewise.
20635         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20636         Likewise.
20637         (__sqr): Likewise.
20639         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20640         [!NO__SQR]: Define __sqr.
20641         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20642         and NO__SQR.  Remove all code except __mul and __sqr.  Include
20643         sysdeps/ieee754/dbl-64/mpa.c.
20644         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20646         [BZ #12723]
20647         * posix/Makefile (tests): Add tst-pathconf.
20648         * posix/tst-pathconf.c: New test case.
20649         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20650         _PC_PIPE_BUF.
20651         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20653 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
20655         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20657 2013-03-06  Andreas Jaeger  <aj@suse.de>
20659         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20660         definition via __MAP_ANONYMOUS.
20662         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20663         it's not part of Linux headers.
20665         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20666         (MAP_HUGE_MASK): Define.
20668         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20669         Define.
20670         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20671         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20672         Define.
20673         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20674         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20675         Define.
20676         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20677         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20678         Define.
20679         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20681         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20682         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20683         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20684         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20685         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20686         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20688         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20689         Handle f2fs.
20691         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20692         Handle f2fs and efivarfs.
20694         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20695         f2fs.
20697         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20698         (EFIVARFS_MAGIC): Add.
20699         (F2FS_LINK_MAX): Add.
20701 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20703         * stdio-common/vfprintf.c: Replace __builtin_expect with
20704         __glibc_unlikely.
20706 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
20708         [BZ #13550]
20709         * sysdeps/generic/bp-sym.h: Remove file.
20710         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20711         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20712         <bp-sym.h> and <bp-asm.h>.
20713         (__longjmp): Don't use BP_SYM.
20714         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20715         and <bp-asm.h>.
20716         (memcpy): Don't use BP_SYM.
20717         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20718         <bp-sym.h> and <bp-asm.h>.
20719         (memcpy): Don't use BP_SYM.
20720         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20721         <bp-asm.h>.
20722         (memcpy): Don't use BP_SYM.
20723         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20724         <bp-asm.h>.
20725         (memset): Don't use BP_SYM.
20726         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20727         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20728         (__bzero): Don't use BP_SYM.
20729         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20730         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20731         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20732         <bp-sym.h> and <bp-asm.h>.
20733         (memcmp): Don't use BP_SYM.  Remove comment about bounded
20734         pointers.
20735         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20736         <bp-sym.h> and <bp-asm.h>.
20737         (memcpy): Don't use BP_SYM.
20738         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20739         <bp-sym.h> and <bp-asm.h>.
20740         (memset): Don't use BP_SYM.
20741         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20742         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20743         (__bzero): Don't use BP_SYM.
20744         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20745         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20746         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20747         <bp-sym.h> and <bp-asm.h>.
20748         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20749         pointers.
20750         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20751         <bp-sym.h> and <bp-asm.h>.
20752         (memcpy): Don't use BP_SYM.
20753         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20754         <bp-sym.h> and <bp-asm.h>.
20755         (memset): Don't use BP_SYM.
20756         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20757         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20758         (__bzero): Don't use BP_SYM.
20759         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20760         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20761         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20762         <bp-sym.h> and <bp-asm.h>.
20763         (__memchr): Don't use BP_SYM.
20764         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20765         <bp-sym.h> and <bp-asm.h>.
20766         (memcmp): Don't use BP_SYM.  Remove comment about bounded
20767         pointers.
20768         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20769         <bp-sym.h> and <bp-asm.h>.
20770         (memcpy): Don't use BP_SYM.
20771         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20772         <bp-sym.h> and <bp-asm.h>.
20773         (__mempcpy): Don't use BP_SYM.
20774         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20775         <bp-sym.h> and <bp-asm.h>.
20776         (__memrchr): Don't use BP_SYM.
20777         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20778         <bp-sym.h> and <bp-asm.h>.
20779         (memset): Don't use BP_SYM.
20780         (__bzero): Likewise.
20781         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20782         <bp-sym.h> and <bp-asm.h>.
20783         (__rawmemchr): Don't use BP_SYM.
20784         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20785         <bp-sym.h> and <bp-asm.h>.
20786         (__STRCMP): Don't use BP_SYM.
20787         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20788         <bp-sym.h> and <bp-asm.h>.
20789         (strchr): Don't use BP_SYM.
20790         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20791         <bp-sym.h> and <bp-asm.h>.
20792         (__strchrnul): Don't use BP_SYM.
20793         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20794         <bp-sym.h> and <bp-asm.h>.
20795         (strlen): Don't use BP_SYM.
20796         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20797         <bp-sym.h> and <bp-asm.h>.
20798         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20799         pointers.
20800         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20801         <bp-sym.h> and <bp-asm.h>.
20802         (__strnlen): Don't use BP_SYM.
20803         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20804         <bp-sym.h> and <bp-asm.h>.
20805         (__GI__setjmp): Don't use BP_SYM.
20806         (_setjmp): Likewise.
20807         (__sigsetjmp): Likewise.
20808         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20809         (L(start_addresses)): Don't use BP_SYM.
20810         (_start): Likewise.
20811         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20812         <bp-asm.h>.
20813         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20814         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20815         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20816         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20817         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20818         <bp-asm.h>.
20819         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20820         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
20821         about bounded pointers.
20822         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20823         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20824         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20825         <bp-asm.h>.
20826         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
20827         about bounded pointers.  Remove GKM FIXME comments.
20828         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20829         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20830         <bp-asm.h>.
20831         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20832         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
20833         Remove GKM FIXME comments.
20834         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20835         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20836         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20837         <bp-asm.h>.
20838         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
20839         about bounded pointers.  Remove GKM FIXME comment.
20840         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20841         and <bp-asm.h>.
20842         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20843         pointers.
20844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20845         <bp-sym.h> and <bp-asm.h>.
20846         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20848         <bp-sym.h> and <bp-asm.h>.
20849         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
20850         comment.
20852 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20854         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20855         call free(NULL).
20857 2013-03-05  David S. Miller  <davem@davemloft.net>
20859         * po/es.po: Update from translation team.
20861 2013-03-05  Andreas Jaeger  <aj@suse.de>
20863         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20864         <bits/mman-linux.h>.
20865         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20866         is fine.
20867         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20868         <bits/mman-linux.h> to end of file.
20869         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20870         is fine.
20871         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20872         <bits/mman-linux.h> to end of file.
20873         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20874         is fine.
20875         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20876         <bits/mman-linux.h> to end of file.
20878         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20879         (MCL_CURRENT, MCL_FUTURE): Define here.
20881 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20883         [BZ #15232]
20884         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20885         attribute_hidden.
20886         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20888 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20890         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20891         fourth parameter needed for rt_sigprocmask syscall.
20892         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20893         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20894         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20895         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20896         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20897         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20899 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
20901         [BZ #13550]
20902         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20903         comment about bounded pointers.
20904         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20905         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20907 2013-03-04  Andreas Jaeger  <aj@suse.de>
20909         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20910         common definitions.
20912         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20913         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20914         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20915         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20916         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20917         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20919 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20921         [BZ #15055]
20922         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20923         __ieee754_sqrl instead of __sqrl.
20925 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
20927         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20928         * sysdeps/powerpc/fpu_control.h: ... here.
20929         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20930         * sysdeps/powerpc/bits/fenvinline.h: ... here.
20931         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20932         * sysdeps/powerpc/bits/mathinline.h: ... here.
20934 2013-03-01  Roland McGrath  <roland@hack.frob.com>
20936         * elf/dl-hwcaps.c (_dl_important_hwcaps):
20937         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20938         to just [NEED_DL_SYSINFO_DSO].
20939         * elf/dl-support.c: Likewise.
20940         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20941         * elf/rtld.c (dl_main): Likewise.
20942         * elf/setup-vdso.h (setup_vdso): Likewise.
20943         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20944         * sysdeps/unix/sysv/linux/dl-sysdep.c
20945         (_dl_discover_osversion): Likewise.
20947 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
20949         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20950         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20952 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20954         * NEWS: Mention libm performance improvements and non-x86 PI
20955         futex support.
20957         * csu/libc-start.c (__pthread_initialize_minimal): Change
20958         function arguments.
20959         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20961 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
20963         [BZ #13550]
20964         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20965         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20966         <bp-sym.h> and <bp-asm.h>.
20967         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20968         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20969         and <bp-asm.h>.
20970         (memcpy): Don't use BP_SYM.
20971         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20972         <bp-asm.h>.
20973         (__mpn_add_n): Don't use BP_SYM.
20974         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20975         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20976         and <bp-asm.h>.
20977         (__mpn_addmul_1): Don't use BP_SYM.
20978         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20979         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20980         <bp-sym.h>.
20981         (_setjmp): Don't use BP_SYM.
20982         (__novmx_setjmp): Likewise.
20983         (__GI__setjmp): Likewise.
20984         (__vmx_setjmp): Likewise.
20985         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20986         <bp-sym.h>.
20987         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20988         (__bzero): Don't use BP_SYM.
20989         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20990         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20991         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20992         <bp-sym.h> and <bp-asm.h>.
20993         (memcpy): Don't use BP_SYM.
20994         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20995         <bp-sym.h> and <bp-asm.h>.
20996         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20997         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20998         <bp-sym.h> and <bp-asm.h>.
20999         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21000         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21001         <bp-asm.h>.
21002         (__mpn_lshift): Don't use BP_SYM.
21003         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21004         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21005         <bp-asm.h>.
21006         (memset): Don't use BP_SYM.
21007         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21008         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21009         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21010         <bp-asm.h>.
21011         (__mpn_mul_1): Don't use BP_SYM.
21012         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21013         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21014         <bp-sym.h> and <bp-asm.h>.
21015         (memcmp): Don't use BP_SYM.
21016         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21017         <bp-sym.h> and <bp-asm.h>.
21018         (memcpy): Don't use BP_SYM.
21019         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21020         <bp-sym.h> and <bp-asm.h>.
21021         (memset): Don't use BP_SYM.
21022         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21023         <bp-sym.h> and <bp-asm.h>.
21024         (strncmp): Don't use BP_SYM.
21025         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21026         <bp-sym.h> and <bp-asm.h>.
21027         (memcpy): Don't use BP_SYM.
21028         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21029         <bp-sym.h> and <bp-asm.h>.
21030         (memset): Don't use BP_SYM.
21031         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21032         <bp-sym.h> and <bp-asm.h>.
21033         (__memchr): Don't use BP_SYM.
21034         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21035         <bp-sym.h> and <bp-asm.h>.
21036         (memcmp): Don't use BP_SYM.
21037         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21038         <bp-sym.h> and <bp-asm.h>.
21039         (memcpy): Don't use BP_SYM.
21040         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21041         <bp-sym.h> and <bp-asm.h>.
21042         (__mempcpy): Don't use BP_SYM.
21043         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21044         <bp-sym.h> and <bp-asm.h>.
21045         (__memrchr): Don't use BP_SYM.
21046         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21047         <bp-sym.h> and <bp-asm.h>.
21048         (memset): Don't use BP_SYM.
21049         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21050         <bp-sym.h> and <bp-asm.h>.
21051         (__rawmemchr): Don't use BP_SYM.
21052         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21053         <bp-sym.h> and <bp-asm.h>.
21054         (__STRCMP): Don't use BP_SYM.
21055         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21056         <bp-sym.h> and <bp-asm.h>.
21057         (strchr): Don't use BP_SYM.
21058         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21059         <bp-sym.h> and <bp-asm.h>.
21060         (__strchrnul): Don't use BP_SYM.
21061         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21062         <bp-sym.h> and <bp-asm.h>.
21063         (strlen): Don't use BP_SYM.
21064         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21065         <bp-sym.h> and <bp-asm.h>.
21066         (strncmp): Don't use BP_SYM.
21067         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21068         <bp-sym.h> and <bp-asm.h>.
21069         (__strnlen): Don't use BP_SYM.
21070         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21071         <bp-asm.h>.
21072         (__mpn_rshift): Don't use BP_SYM.
21073         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21074         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21075         <bp-sym.h> and <bp-asm.h>.
21076         (__sigsetjmp): Don't use BP_SYM.
21077         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21078         (L(start_addresses)): Don't use BP_SYM.
21079         (_start): Likewise.
21080         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21081         <bp-asm.h>.
21082         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21083         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21084         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21085         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21086         <bp-asm.h>.
21087         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21088         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21089         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21090         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21091         <bp-asm.h>.
21092         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21093         comments.
21094         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21095         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21096         <bp-asm.h>.
21097         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
21098         FIXME comments.
21099         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21100         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21101         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21102         <bp-asm.h>.
21103         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21104         comment.
21105         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21106         and <bp-asm.h>.
21107         (strncmp): Don't use BP_SYM,
21108         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21109         <bp-asm.h>.
21110         (__mpn_sub_n): Don't use BP_SYM.
21111         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21112         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21113         and <bp-asm.h>.
21114         (__mpn_submul_1): Don't use BP_SYM.
21115         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21117         <bp-sym.h> and <bp-asm.h>.
21118         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21120         <bp-sym.h> and <bp-asm.h>.
21121         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21122         comment.
21124 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21126         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21127         Use ZK to minimize writes to Z.
21128         (sub_magnitudes): Simplify code a bit.
21129         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21130         Use ZK to minimize writes to Z.
21131         (sub_magnitudes): Simplify code a bit.
21133 2013-02-27  Roland McGrath  <roland@hack.frob.com>
21135         * csu/gmon-start.c: Add special exception to license text.
21137 2013-02-27  Richard Henderson  <rth@redhat.com>
21139         * scripts/config.guess: Update from config.git.
21140         * scripts/config.sub: Likewise.
21142 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21144         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21146         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21148         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21150         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21152         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21154 2013-02-26  Roland McGrath  <roland@hack.frob.com>
21156         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21157         [$(build-shared = yes].
21159 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21161         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21162         (__mul): Reduce iterations for calculating mantissa.
21164         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21165         MPTWO.
21166         (__mpranred): Likewise.
21168         [BZ #15160]
21169         * malloc/memusagestat.c (main): Draw graphs for heap and stack
21170         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21172 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
21174         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21175         Define __attribute__.
21177 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21179         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21180         unused.
21181         * posix/regex_internal.h (__attribute): Remove.
21182         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21183         (re_string_context_at): Likewise.
21184         (bitset_not): Use __attribute__ and mark function as possibly
21185         unused.
21186         (bitset_merge): Likewise.
21187         (bitset_mask): Likewise.
21188         (re_string_char_size_at): Likewise.
21189         (re_string_wchar_at): Likewise.
21190         (re_string_elem_size_at): Likewise.
21192 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21194         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21195         code.
21196         (cc32): Likewise.
21198         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21199         (__acr): Likewise.
21200         (__cpy): Likewise.
21201         (norm): Likewise.
21202         (denorm): Likewise.
21203         (__dbl_mp): Likewise.
21204         (add_magnitudes): Likewise.
21205         (sub_magnitudes): Likewise.
21206         (__mul): Likewise.
21207         (__inv): Likewise.
21209         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21210         style.
21212         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21213         style.
21215         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21216         code.
21218         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21219         up changes with default code.
21220         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21221         Likewise.
21223 2013-02-24  Allan McRae  <allan@archlinux.org>
21225         * manual/socket.texi (The Internet Namespace): Order menu items
21226         to match that in the file.
21228         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21229         node listing of the info page menu.
21231 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
21233         [BZ #13550]
21234         * sysdeps/i386/bp-asm.h: Remove file.
21235         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21236         (PARMS): Do not use macros from bp-asm.h.
21237         (S1): Likewise.
21238         (S2): Likewise.
21239         (SIZE): Likewise.
21240         (__mpn_add_n): Do not use BP_SYM
21241         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21242         "bp-asm.h".
21243         (PARMS): Do not use macros from bp-asm.h.
21244         (S1): Likewise.
21245         (SIZE): Likewise.
21246         (__mpn_addmul_1): Do not use BP_SYM
21247         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21248         "bp-asm.h".
21249         (PARMS): Do not use macros from bp-asm.h.
21250         (SIGMSK): Likewise.
21251         (_setjmp): Likewise.  Do not use BP_SYM.
21252         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21253         "bp-asm.h".
21254         (PARMS): Do not use macros from bp-asm.h.
21255         (SIGMSK): Likewise.
21256         (setjmp): Likewise.  Do not use BP_SYM.
21257         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21258         "bp-asm.h".
21259         (PARMS): Do not use macros from bp-asm.h.
21260         (__frexp): Do not use BP_SYM.
21261         (frexp): Likewise.
21262         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21263         "bp-asm.h".
21264         (PARMS): Do not use macros from bp-asm.h.
21265         (__frexpf): Do not use BP_SYM.
21266         (frexpf): Likewise.
21267         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21268         "bp-asm.h".
21269         (PARMS): Do not use macros from bp-asm.h.
21270         (__frexpl): Do not use BP_SYM.
21271         (frexpl): Likewise.
21272         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21273         "bp-asm.h".
21274         (PARMS): Do not use macros from bp-asm.h.
21275         (__remquo): Do not use BP_SYM.
21276         (remquo): Likewise.
21277         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21278         "bp-asm.h".
21279         (PARMS): Do not use macros from bp-asm.h.
21280         (__remquof): Do not use BP_SYM.
21281         (remquof): Likewise.
21282         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21283         "bp-asm.h".
21284         (PARMS): Do not use macros from bp-asm.h.
21285         (__remquol): Do not use BP_SYM.
21286         (remquol): Likewise.
21287         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21288         "bp-asm.h".
21289         (PARMS): Do not use macros from bp-asm.h.
21290         (DEST): Likewise.
21291         (SRC): Likewise.
21292         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
21293         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21294         "bp-asm.h".
21295         (PARMS): Do not use macros from bp-asm.h.
21296         (strlen): Do not use BP_SYM.
21297         * sysdeps/i386/i586/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/i586/addmul_1.S: Do not include "bp-sym.h" and
21305         "bp-asm.h".
21306         (PARMS): Do not use macros from bp-asm.h.
21307         (S1): Likewise.
21308         (SIZE): Likewise.
21309         (__mpn_addmul_1): Do not use BP_SYM.
21310         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21311         weak_alias.
21312         (bzero): Likewise.
21313         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21314         "bp-asm.h".
21315         (PARMS): Do not use macros from bp-asm.h.
21316         (S): Likewise.
21317         (SIZE): Likewise.
21318         (__mpn_lshift): Do not use BP_SYM.
21319         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21320         "bp-asm.h".
21321         (PARMS): Do not use macros from bp-asm.h.
21322         (DEST): Likewise.
21323         (SRC): Likewise.
21324         (LEN): Likewise.
21325         (memcpy): Likewise.  Do not use BP_SYM.
21326         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21327         libc_hidden_def and weak_alias.
21328         (mempcpy): Do not use BP_SYM in weak_alias.
21329         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21330         "bp-asm.h".
21331         (PARMS): Do not use macros from bp-asm.h.
21332         (DEST): Likewise.
21333         (LEN): Likewise.
21334         [!BZERO_P] (CHR): Likewise.
21335         (memset): Likewise.  Do not use BP_SYM.
21336         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21337         "bp-asm.h".
21338         (PARMS): Do not use macros from bp-asm.h.
21339         (S1): Likewise.
21340         (SIZE): Likewise.
21341         (__mpn_mul_1): Do not use BP_SYM.
21342         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21343         "bp-asm.h".
21344         (PARMS): Do not use macros from bp-asm.h.
21345         (S): Likewise.
21346         (SIZE): Likewise.
21347         (__mpn_rshift): Do not use BP_SYM.
21348         * sysdeps/i386/i586/strchr.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         (CHR): Likewise.
21353         (strchr): Likewise.  Do not use BP_SYM.
21354         (index): Do not use BP_SYM in weak_alias.
21355         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21356         "bp-asm.h".
21357         (PARMS): Do not use macros from bp-asm.h.
21358         (DEST): Likewise.
21359         (SRC): Likewise.
21360         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
21361         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21362         "bp-asm.h".
21363         (PARMS): Do not use macros from bp-asm.h.
21364         (strlen): Do not use BP_SYM.
21365         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21366         "bp-asm.h".
21367         (PARMS): Do not use macros from bp-asm.h.
21368         (S1): Likewise.
21369         (S2): Likewise.
21370         (SIZE): Likewise.
21371         (__mpn_sub_n): Do not use BP_SYM.
21372         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21373         "bp-asm.h".
21374         (PARMS): Do not use macros from bp-asm.h.
21375         (S1): Likewise.
21376         (SIZE): Likewise.
21377         (__mpn_submul_1): Do not use BP_SYM.
21378         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21379         "bp-asm.h".
21380         (PARMS): Do not use macros from bp-asm.h.
21381         (S1): Likewise.
21382         (S2): Likewise.
21383         (SIZE): Likewise.
21384         (__mpn_add_n): Do not use BP_SYM.
21385         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21386         weak_alias.
21387         (bzero): Likewise.
21388         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21389         "bp-asm.h".
21390         (PARMS): Do not use macros from bp-asm.h.
21391         (BLK2): Likewise.
21392         (LEN): Likewise.
21393         (memcmp): Do not use BP_SYM.
21394         (bcmp): Do not use BP_SYM in weak_alias.
21395         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21396         "bp-asm.h".
21397         (PARMS): Do not use macros from bp-asm.h.
21398         (DEST): Likewise.
21399         (SRC): Likewise.
21400         (LEN): Likewise.
21401         (memcpy): Likewise.  Do not use BP_SYM.
21402         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21403         "bp-asm.h".
21404         (PARMS): Do not use macros from bp-asm.h.
21405         (DEST): Likewise.
21406         (SRC): Likewise.
21407         (LEN): Likewise.
21408         (memmove): Likewise.  Do not use BP_SYM.
21409         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21410         "bp-asm.h".
21411         (PARMS): Do not use macros from bp-asm.h.
21412         (DEST): Likewise.
21413         (SRC): Likewise.
21414         (LEN): Likewise.
21415         (__mempcpy): Likewise.  Do not use BP_SYM.
21416         (mempcpy): Do not use BP_SYM in weak_alias.
21417         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21418         "bp-asm.h".
21419         (PARMS): Do not use macros from bp-asm.h.
21420         (DEST): Likewise.
21421         (LEN): Likewise.
21422         [!BZERO_P] (CHR): Likewise.
21423         (memset): Likewise.  Do not use BP_SYM.
21424         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21425         "bp-asm.h".
21426         (PARMS): Do not use macros from bp-asm.h.
21427         (STR2): Likewise.
21428         (strcmp): Do not use BP_SYM.
21429         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21430         "bp-asm.h".
21431         (PARMS): Do not use macros from bp-asm.h.
21432         (STR): Likewise.
21433         (DELIM): Likewise.
21434         [USE_AS_STRTOK_R] (SAVE): Likewise.
21435         (FUNCTION): Likewise.  Do not use BP_SYM.
21436         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21437         aliases.
21438         (strtok_r): Likewise.
21439         (__GI___strtok_r): Likewise.
21440         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21441         (PARMS): Do not use macros from bp-asm.h.
21442         (S): Likewise.
21443         (SIZE): Likewise.
21444         (__mpn_lshift): Do not use BP_SYM.
21445         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21446         (PARMS): Do not use macros from bp-asm.h.
21447         (STR): Likewise.
21448         (CHR): Likewise.
21449         (__memchr): Do not use BP_SYM.
21450         (memchr): Do not use BP_SYM in weak_alias.
21451         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21452         (PARMS): Do not use macros from bp-asm.h.
21453         (BLK2): Likewise.
21454         (LEN): Likewise.
21455         (memcmp): Do not use BP_SYM.
21456         (bcmp): Do not use BP_SYM in weak_alias.
21457         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21458         (PARMS): Do not use macros from bp-asm.h.
21459         (S1): Likewise.
21460         (SIZE): Likewise.
21461         (__mpn_mul_1): Do not use BP_SYM.
21462         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21463         "bp-asm.h".
21464         (PARMS): Do not use macros from bp-asm.h.
21465         (STR): Likewise.
21466         (CHR): Likewise.
21467         (__rawmemchr): Do not use BP_SYM.
21468         (rawmemchr): Do not use BP_SYM in weak_alias.
21469         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21470         (PARMS): Do not use macros from bp-asm.h.
21471         (S): Likewise.
21472         (SIZE): Likewise.
21473         (__mpn_rshift): Do not use BP_SYM.
21474         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21475         (PARMS): Do not use macros from bp-asm.h.
21476         (SIGMSK): Likewise.
21477         (__sigsetjmp): Likewise.  Do not use BP_SYM.
21478         * sysdeps/i386/start.S: Do not include "bp-sym.h".
21479         (_start): Do not use BP_SYM.
21480         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21481         (PARMS): Do not use macros from bp-asm.h.
21482         (DEST): Likewise.
21483         (SRC): Likewise.
21484         (__stpcpy): Likewise.  Do not use BP_SYM.
21485         (stpcpy): Do not use BP_SYM in weak_alias.
21486         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21487         "bp-asm.h".
21488         (PARMS): Do not use macros from bp-asm.h.
21489         (DEST): Likewise.
21490         (SRC): Likewise.
21491         (LEN): Likewise.
21492         (__stpncpy): Likewise.  Do not use BP_SYM.
21493         (stpncpy): Do not use BP_SYM in weak_alias.
21494         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21495         (PARMS): Do not use macros from bp-asm.h.
21496         (STR): Likewise.
21497         (CHR): Likewise.
21498         (strchr): Likewise.  Do not use BP_SYM.
21499         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21500         "bp-asm.h".
21501         (PARMS): Do not use macros from bp-asm.h.
21502         (STR): Likewise.
21503         (CHR): Likewise.
21504         (__strchrnul): Likewise.  Do not use BP_SYM.
21505         (strchrnul): Do not use BP_SYM in weak_alias.
21506         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21507         "bp-asm.h".
21508         (PARMS): Do not use macros from bp-asm.h.
21509         (STOP): Likewise.
21510         (strcspn): Do not use BP_SYM.
21511         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21512         "bp-asm.h".
21513         (PARMS): Do not use macros from bp-asm.h.
21514         (STR): Likewise.
21515         (STOP): Likewise.
21516         (strpbrk): Likewise.  Do not use BP_SYM.
21517         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21518         "bp-asm.h".
21519         (PARMS): Do not use macros from bp-asm.h.
21520         (STR): Likewise.
21521         (CHR): Likewise.
21522         (strrchr): Likewise.  Do not use BP_SYM.
21523         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21524         (PARMS): Do not use macros from bp-asm.h.
21525         (SKIP): Likewise.
21526         (strspn): Do not use BP_SYM.
21527         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21528         (PARMS): Do not use macros from bp-asm.h.
21529         (STR): Likewise.
21530         (DELIM): Likewise.
21531         (SAVE): Likewise.
21532         (FUNCTION): Likewise.  Do not use BP_SYM.
21533         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21534         aliases.
21535         (strtok_r): Likewise.
21536         (__GI___strtok_r): Likewise.
21537         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21538         (PARMS): Do not use macros from bp-asm.h.
21539         (S1): Likewise.
21540         (S2): Likewise.
21541         (SIZE): Likewise.
21542         (__mpn_sub_n): Do not use BP_SYM.
21543         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21544         "bp-asm.h".
21545         (PARMS): Do not use macros from bp-asm.h.
21546         (S1): Likewise.
21547         (SIZE): Likewise.
21548         (__mpn_submul_1): Do not use BP_SYM.
21549         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21550         <bp-sym.h>.
21551         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21552         and <bp-asm.h>.
21553         (PARMS): Do not use macros from bp-asm.h.
21554         (FLAGS): Likewise.
21555         (PTID): Likewise.
21556         (TLS): Likewise.
21557         (CTID): Likewise.
21558         (__clone): Do not use BP_SYM.
21559         (clone): Do not use BP_SYM in weak_alias.
21560         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21561         and <bp-asm.h>.
21562         (PARMS): Do not use macros from bp-asm.h.
21563         (LEN): Likewise.
21564         (__mmap64): Do not use BP_SYM.
21565         (mmap64): Do not use BP_SYM in weak_alias.
21566         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21567         <bp-sym.h> and <bp-asm.h>.
21568         (PARMS): Do not use macros from bp-asm.h.
21569         (__posix_fadvise64_l64): Do not use BP_SYM.
21570         * sysdeps/unix/sysv/linux/i386/semtimedop.S
21571         (PARMS): Do not use macros from bp-asm.h.
21572         (NSOPS): Likewise.
21573         (semtimedop): Do not use BP_SYM.
21574         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21575         and <bp-asm.h>.
21577 2013-02-21  Allan McRae  <allan@archlinux.org>
21579         * manual/message.texi (Charset conversion in gettext):
21580         Move @end statement to beginning of line.
21582 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21584         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21585         static.
21586         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21587         Likewise.
21589         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21590         (denorm): Likewise.
21591         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21592         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21594 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21596         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21597         tail-call to the resolved function if pltexit isn't needed.
21599 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21601         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21602         or Y being zero as being unlikely.
21603         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21604         Likewise.
21606 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
21608         * manual/nss.texi (System Databases and Name Service Switch):
21609         Remove frobnicate @pxref.
21611 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
21613         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21614         __attribute__ ((unused)) to __attribute__ ((__unused__)).
21616 2013-02-20  Petr Machata  <pmachata@redhat.com>
21618         * elf/elf.h (R_ARM_TARGET1): New macro.
21619         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21620         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21621         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21622         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21623         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21624         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21625         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21626         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21627         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21628         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21629         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21630         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21631         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21632         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21633         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21634         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21635         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21636         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21637         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21638         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21639         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21640         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21641         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21642         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21643         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21644         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21645         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21646         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21647         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21648         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21649         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21650         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21651         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21652         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21653         (R_ARM_THM_GOT_BREL12): Likewise.
21654         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21655         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21656         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21657         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21658         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21659         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21660         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21661         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21662         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21664 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
21666         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21667         __attribute_used__ to __attribute__ ((unused)).
21669 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21671         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21672         powerpc mpa.c.
21673         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21674         comment formatting.
21675         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21677 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
21679         [BZ #13550]
21680         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21681         Remove macro.
21682         (ENTER): Remove both macro definitions.
21683         (LEAVE): Likewise.
21684         (CHECK_BOUNDS_LOW): Likewise.
21685         (CHECK_BOUNDS_HIGH): Likewise.
21686         (CHECK_BOUNDS_BOTH): Likewise.
21687         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21688         (RETURN_BOUNDED_POINTER): Likewise.
21689         (RETURN_NULL_BOUNDED_POINTER): Likewise.
21690         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21691         (POP_ERRNO_LOCATION_RETURN): Likewise.
21692         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21693         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21694         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21695         macros.
21696         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21697         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21698         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21699         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21700         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21701         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21702         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21703         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21704         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21705         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21706         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21707         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21708         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21709         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21710         removed macros.
21711         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21712         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21713         macros.
21714         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21715         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21716         * sysdeps/i386/i586/memset.S (memset): Likewise.
21717         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21718         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21719         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21720         macros.
21721         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21722         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21723         Change uses of L(2) to L(out).
21724         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21725         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21726         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21727         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21728         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21729         removed macros.
21730         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21731         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21732         macros.
21733         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21734         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21735         (RETURN): Do not use macro LEAVE.
21736         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21737         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21738         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21739         * sysdeps/i386/i686/memset.S (memset): Likewise.
21740         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21741         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21742         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21743         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21744         Likewise.
21745         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21746         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
21747         L(1_2) and L(1_3) into L(1).
21748         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21749         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21750         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21751         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21752         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21753         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21754         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21755         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21756         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21757         macros.
21758         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21759         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21760         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21761         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21762         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21763         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21764         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21765         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21766         * sysdeps/i386/strcspn.S (strcspn): Likewise.
21767         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21768         * sysdeps/i386/strrchr.S (strrchr): Likewise.
21769         * sysdeps/i386/strspn.S (strspn): Likewise.
21770         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21771         conditional code.
21772         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21773         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21774         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21775         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
21776         L(1_3) into L(1_1).
21777         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21778         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21779         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21780         macros.
21781         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21783 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
21785         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21786         macro.
21788 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21790         * math/atest-exp.c (exp_mpn): Remove ROUND.
21791         * math/atest-exp2.c (exp_mpn): Likewise.
21792         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21794         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21795         * stdlib/tst-tls-atexit-lib.c: Likewise.
21796         * stdlib/tst-tls-atexit.c: Likewise.
21798 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21800         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21801         and __attribute_alloc_size__.
21803 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21805         * include/programs/xmalloc.h: Change __attribute_alloc_size to
21806         __attribute_alloc_size__.
21807         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21808         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21810 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21812         * include/programs/xmalloc.h: New file.
21813         * catgets/gencat.c: Include it.
21814         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21815         * elf/pldd.c: Likewise.
21816         * iconv/iconv_charmap.c: Likewise.
21817         * iconv/iconvconfig.c: Likewise.
21818         * iconv/strtab.c: Likewise.
21819         * locale/programs/locale.c: Likewise.
21820         * locale/programs/localedef.h: Likewise.
21821         * locale/programs/simple-hash.c: Likewise.
21822         * nscd/nscd.h: Likewise.
21823         * nss/makedb.c: Likewise.
21824         * sysdeps/generic/ldconfig.h: Likewise.
21826 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21828         * Versions.def: Add GLIBC_2.18.
21829         * include/link.h (struct link_map): New member l_tls_dtor_count.
21830         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21831         (__call_tls_dtors): Likewise.
21832         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21833         __cxa_thread_atexit_impl.
21834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21835         Likewise.
21836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21837         Likewise.
21838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21839         Likewise.
21840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21841         Likewise.
21842         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21843         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21844         Likewise.
21845         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21846         Likewise.
21847         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21849         Likewise.
21850         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21851         (tests): Add test case tst-tls-atexit.
21852         (modules-names): Add shared library for tst-tls-atexit.
21853         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21854         (GLIBC_PRIVATE): Add __call_tls_dtors.
21855         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21856         for libstdc++.
21857         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21858         * stdlib/tst-tls-atexit.c: New test case.
21859         * stdlib/tst-tls-atexit-lib.c: New test case.
21861         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21863         * elf/Versions (ld): Add _dl_find_dso_for_object.
21864         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21865         * elf/dl-open.c (_dl_find_dso_for_object): New function.
21866         (dl_open_worker): Use _dl_find_dso_for_object.
21867         * elf/dl-sym.c (do_sym): Likewise.
21868         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21870 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21872         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21873         Syntactic changes only.
21874         (_dl_runtime_profile): Do a tail-call to the resolved function.
21876 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
21878         [BZ #13550]
21879         * sysdeps/x86_64/bp-asm.h: Remove file.
21880         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21881         <bp-sym.h> and <bp-asm.h>.
21882         (__clone): Do not use BP_SYM.
21883         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21884         <bp-sym.h> and <bp-asm.h>.
21885         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21886         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21887         "bp-asm.h".
21888         (_setjmp): Do not use BP_SYM.
21889         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21890         "bp-asm.h".
21891         (setjmp): Do not use BP_SYM.
21892         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21893         libc_hidden_def.
21894         (mempcpy): Do not use BP_SYM in weak_alias.
21895         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21896         "bp-asm.h".
21897         (strchr): Do not use BP_SYM.
21898         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21899         "bp-asm.h".
21900         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21901         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21902         (_start): Do not use BP_SYM.
21903         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21904         "bp-asm.h".
21905         (strcat): Do not use BP_SYM.
21906         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21907         "bp-asm.h".
21908         (STRCMP): Do not use BP_SYM.
21909         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21910         "bp-asm.h".
21911         (STRCPY): Do not use BP_SYM.
21912         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21913         "bp-asm.h".
21914         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21915         "bp-asm.h".
21916         (FUNCTION): Do not use BP_SYM.
21917         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21918         weak_alias.
21919         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21921 2013-02-17  Andreas Jaeger  <aj@suse.de>
21923         * time/Versions: Sort entries.
21924         * string/Versions: Likewise.
21925         * resolv/Versions: Likewise.
21926         * posix/Versions: Likewise.
21927         * iconv/Versions: Likewise.
21928         * elf/Versions: Likewise.
21929         * wcsmbs/Versions: Likewise.
21931 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21933         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21934         loop termination condition.
21936         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21937         variable to calculate EZ.
21938         (__sqr): Likewise.
21940         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21941         the lower precision input.
21943 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
21945         [BZ #13550]
21946         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21947         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21948         (run-via-rtld-prefix): Do not handle %-bp tests.
21949         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21950         (all-object-suffixes): Remove .ob.
21951         (bppfx): Remove variable.
21952         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21953         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21954         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21955         [$(build-bounded) = yes] (libtype.ob): Likewise.
21956         * Makerules (elide-routines.ob): Remove variable.
21957         (do-tests-clean): Do not handle *-bp.out.
21958         (common-mostlyclean): Do not handle *-bp and *-bp.out.
21959         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21960         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21961         (tests): Do not include $(tests-bp.out).
21962         (xtests): Do not include $(xtests-bp.out).
21963         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21964         [$(build-bounded) = yes] ($(addprefix
21965         $(objpfx),$(binaries-bounded))): Remove rule.
21966         ($(objpfx)%-bp.out): Remove rule.
21967         * config.make.in (build-bounded): Remove variable.
21968         * crypt/Makefile [$(build-bounded) = yes]
21969         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21970         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21971         append to variable.
21972         [$(build-bounded) = yes] (install-lib): Likewise.
21973         [$(build-bounded) = yes] (generated): Likewise.
21974         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21975         Remove rule.
21976         * intl/Makefile [$(build-bounded) = yes]
21977         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21978         * math/Makefile [$(build-bounded) = yes]
21979         ($(tests:%=$(objpfx)%-bp): Likewise.
21980         * misc/Makefile [$(build-bounded) = yes]
21981         ($(objpfx)tst-tsearch-bp): Likewise.
21982         * nptl/Makeconfig (bounded-thread-library): Remove variable.
21983         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21984         Remove dependency.
21985         * string/Makefile (o-objects.ob): Remove variable.
21986         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21987         (CFLAGS-.ob): Remove variable.
21988         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21989         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21990         both definitions of variable.
21991         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21992         (ASFLAGS-.ob): Remove variable.
21994 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
21996         [BZ #13550]
21997         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21998         Remove __BOUNDED_POINTERS__ from condition.
21999         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22000         * string/bits/string2.h [!__NO_STRING_INLINES &&
22001         !__BOUNDED_POINTERS__]: Likewise.
22002         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22003         Likewise.
22004         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22005         Remove conditional code.
22006         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22007         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22008         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22009         condition.
22011         [BZ #13550]
22012         * csu/libc-start.c: Do not include <bp-sym.h>.
22013         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22014         * elf/dl-open.c: Do not include <bp-sym.h>.
22015         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22016         * math/fegetenv.c: Do not include <bp-sym.h>.
22017         (fegetenv): Do not use BP_SYM in versioned symbols.
22018         * nptl/sysdeps/pthread/bits/libc-lockP.h
22019         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22020         <bp-sym.h>.
22021         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22022         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22023         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22024         (__pthread_mutex_destroy): Likewise.
22025         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22026         (__pthread_mutex_lock): Likewise.
22027         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22028         (__pthread_mutex_trylock): Likewise.
22029         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22030         (__pthread_mutex_unlock): Likewise.
22031         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22032         (__pthread_mutexattr_init): Likewise.
22033         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22034         (__pthread_mutexattr_destroy): Likewise.
22035         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22036         (__pthread_mutexattr_settype): Likewise.
22037         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22038         (__pthread_rwlock_init): Likewise.
22039         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22040         (__pthread_rwlock_destroy): Likewise.
22041         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22042         (__pthread_rwlock_rdlock): Likewise.
22043         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22044         (__pthread_rwlock_tryrdlock): Likewise.
22045         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22046         (__pthread_rwlock_wrlock): Likewise.
22047         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22048         (__pthread_rwlock_trywrlock): Likewise.
22049         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22050         (__pthread_rwlock_unlock): Likewise.
22051         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22052         (__pthread_key_create): Likewise.
22053         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22054         (__pthread_setspecific): Likewise.
22055         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22056         (__pthread_getspecific): Likewise.
22057         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22058         Likewise.
22059         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22060         (_pthread_cleanup_push_defer): Likewise.
22061         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22062         (_pthread_cleanup_pop_restore): Likewise.
22063         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22064         (pthread_setcancelstate): Likewise.
22065         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22066         <bp-sym.h>.
22067         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22068         (memchr): Do not use BP_SYM in weak_alias.
22069         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22070         (fegetenv): Do not use BP_SYM in versioned symbols.
22071         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22072         (fesetenv): Do not use BP_SYM in versioned symbols.
22073         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22074         (feupdateenv): Do not use BP_SYM in versioned symbols.
22075         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22076         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22077         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22078         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22079         (open64): Do not use BP_SYM in weak_alias.
22080         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22081         (fegetenv): Do not use BP_SYM in versioned symbols.
22082         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22083         (fesetenv): Do not use BP_SYM in versioned symbols.
22084         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22085         (feupdateenv): Do not use BP_SYM in versioned symbols.
22086         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22087         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22088         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22089         (feraiseexcept): Do not use BP_SYM in versioned symbols.
22090         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22091         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22092         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22093         <bp-sym.h>.
22094         (__libc_start_main): Do not use BP_SYM.
22096 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22098         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22099         redundant return line.
22100         (norm): Likewise.
22101         (denorm): Likewise.
22102         (dbl_mp): Likewise.
22103         (sub_magnitudes): Likewise.
22104         (__add): Likewise.
22105         (__sub): Likewise.
22106         (__mul): Likewise.
22107         (__inv): Likewise.
22108         (__dvd): Likewise.
22109         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22110         (norm): Likewise.
22111         (denorm): Likewise.
22112         (dbl_mp): Likewise.
22113         (sub_magnitudes): Likewise.
22114         (__add): Likewise.
22115         (__sub): Likewise.
22116         (__mul): Likewise.
22117         (__inv): Likewise.
22118         (__dvd): Likewise.
22120         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22121         instead of __mul.
22122         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22123         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22124         (cc32): Likewise.
22126         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22127         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22128         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22129         of __mul for squares.
22130         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22131         function
22132         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22133         Likewise.
22134         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22135         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22137 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
22139         [BZ #13550]
22140         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22141         code.
22142         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22143         prototype or function definition.  Rename ubp_* variables and
22144         parameters.  Remove argv definitions conditional on
22145         [__BOUNDED_POINTERS__].
22146         * debug/backtrace.c (__backtrace): Do not use __unbounded.
22147         * elf/dl-runtime.c (_dl_fixup): Likewise.
22148         * include/set-hooks.h (RUN_HOOK): Likewise.
22149         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22150         definition.
22151         * string/strcpy.c (strcpy): Do not use __unbounded.
22152         * sysdeps/generic/frame.h (struct layout): Likewise.
22153         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22154         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22155         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22156         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22157         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22158         (__backtrace): Likewise.
22159         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22160         use __ptrvalue.
22161         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22162         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22163         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22164         Likewise.
22165         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22166         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22167         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22168         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22169         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22170         Do not use __unbounded.
22171         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22172         Rename __unboundedrlimits parameter to rlimits in prototype.
22173         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22174         Do not use __unbounded.
22175         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22176         not use __ptrvalue.
22177         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22178         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22179         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22180         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22181         __ptrvalue or __unbounded.
22182         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22183         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22184         use __unbounded.
22185         (__new_msgctl): Do not use __ptrvalue.
22186         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22187         __unbounded.
22188         (__libc_msgrcv): Do not use __ptrvalue.
22189         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22190         startup_info): Do not use __unbounded.
22191         (__libc_start_main): Likewise.  Rename ubp_* variables and
22192         parameters.  Remove argv definitions conditional on
22193         [__BOUNDED_POINTERS__].
22194         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22195         __ptrvalue.
22196         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22197         use __unbounded.
22198         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22199         or __ptrvalue.
22200         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22201         use __unbounded.
22202         (__new_shmctl): Do not use __ptrvalue.
22203         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22204         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22205         Likewise.
22206         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22207         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22208         (__libc_sigaction): Likewise.
22209         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22210         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22211         Likewise.
22212         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22214 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
22216         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22218         * string/mempcpy.c: Implement by calling memcpy.
22220 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22222         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22224         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22225         evaluation.
22227         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22228         values in the mantissa.
22230         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22231         minimize writes to Z.
22232         (sub_magnitudes): Simplify code a bit.
22234 2013-02-12  Roland McGrath  <roland@hack.frob.com>
22236         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22237         from the message.  The linker prefixes all warnings with that already.
22239 2013-02-12  Andreas Schwab  <schwab@suse.de>
22241         [BZ #15078]
22242         * posix/regexec.c (extend_buffers): Add parameter min_len.
22243         (check_matching): Pass minimum needed length.
22244         (clean_state_log_if_needed): Likewise.
22245         (get_subexp): Likewise.
22246         * posix/Makefile (tests): Add bug-regex34.
22247         (bug-regex34-ENV): Define.
22248         * posix/bug-regex34.c: New file.
22250         [BZ #11561]
22251         * posix/regcomp.c (parse_bracket_exp): When looking up collating
22252         elements compare against the byte sequence of it, not its name.
22253         * posix/Makefile (tests): Add bug-regex35.
22254         (bug-regex35-ENV): Define.
22255         * posix/bug-regex35.c: New file.
22257 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22259         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
22260         comment.
22261         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22262         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22263         (CHECK_EOL): Add undef.
22265 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
22267         * bits/stdlib-bsearch.h: New file.
22268         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22269         * stdlib/stdlib.h: Likewise.
22271 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22273         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22274         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22275         declaration.
22276         * manual/search.texi (Array Search Function): Add missing const in
22277         lfind prototype.
22278         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22279         declaration to use rlim_t.
22280         (Basic Scheduling Functions): Remove erroneous const from
22281         sched_getparam prototype.  Remove erroneous * from
22282         sched_get_priority_max and sched_get_priority_min prototypes.
22283         (Resource Usage): Fix summary @comment on vtimes to refer to
22284         sys/vtimes.h rather than vtimes.h.
22285         Add missing *s in vtimes prototype.
22286         (Limits on Resources): Fix ulimit prototype to return long int.
22287         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22288         prototypes to use long int rather than double.
22289         (BSD Random): Fix initstate and setstate to use char *, not void *.
22290         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22291         prototype to make second argument 'struct aiocb64 *const[]'.
22292         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22293         (Status of AIO Operations): Remove erroneous const in aio_return and
22294         aio_return64 prototypes.
22295         (Synchronizing I/O): Fix sync prototype to return void.
22296         * manual/startup.texi (Suboptions): Remove an erroneous const in
22297         getsubopt prototype.
22298         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22299         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22300         use size_t rather than int.
22301         (Scanning All Users): Likewise for getpwent_r.
22302         (Setting Groups): Add missing const to setgroups prototype.
22303         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22304         * manual/socket.texi (Host Names): Fix gethostbyaddr and
22305         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22306         'const void *' rather than 'const char *'.
22307         (Host Address Functions): Likewise for inet_ntop.
22308         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22309         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22310         ssize_t for return value.
22311         (Sending Data): Likewise for send, sendto, sendmsg.
22312         (Socket Option Functions): Add a missing const in setsockopt prototype.
22313         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22314         use wchar_t for the argument.
22315         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22316         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22317         take no arguments.
22318         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22319         double/float/long double for second argument.
22320         Fix return types of significand, significandf, significandl.
22321         * manual/filesys.texi (Setting Permissions): Use mode_t for second
22322         argument in fchmod prototype.
22323         (File Owner): Use uid_t and gid_t in fchown prototype.
22324         (File Times): Add const to utimes, futimes, and lutimes prototypes.
22325         (Making Special Files): Use mode_t and dev_t in mknod prototype.
22326         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22327         use 'const struct dirent **' as argument types to CMP function pointer
22328         argument.
22329         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22330         (File Times): Fix summary magic @comment for struct utimbuf and utime
22331         to refer to utime.h, not time.h.
22332         * manual/string.texi (Argz Functions): Add missing const in
22333         argz_extract and argz_next prototypes.
22334         (Finding Tokens in a String): Likewise for basename.
22335         (String/Array Comparison): Fix typo in wcscasecmp prototype.
22336         (Copying and Concatenation): Fix typo in wmemmove prototype.
22337         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22338         (Signal Stack): Remove erroneous const in sigstack prototype.
22339         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22340         prototype.
22341         (Simple Calendar Time): Likewise for stime.
22342         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22343         prototype.
22344         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22345         say sys/sysctl.h instead.
22346         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22347         and vsyslog prototypes.
22349 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22351         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22352         Remove.
22354 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22356         * misc/sys/mman.h: Fix typo in mremap comment.
22358 2013-02-08  Roland McGrath  <roland@hack.frob.com>
22360         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22361         the '\0' terminator.
22363 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
22365         [BZ #13550]
22366         * debug/segfault.c: Don't include <bp-checks.h>.
22367         * sysdeps/generic/bp-checks.h: Remove file.
22368         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22369         (__GETDENTS): Don't use CHECK_N.
22370         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22371         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22372         (__getgroups): Don't use CHECK_N.
22373         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22374         (setgroups): Don't use CHECK_N.
22375         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22376         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22377         (__libc_msgrcv): Don't use CHECK_N.
22378         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22379         (__libc_msgsnd): Don't use CHECK_N.
22380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22381         <bp-checks.h>.
22382         (__libc_pread): Don't use CHECK_N.
22383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22384         include <bp-checks.h>.
22385         (__libc_pread64): Don't use CHECK_N.
22386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22387         include <bp-checks.h>.
22388         (__libc_pwrite): Don't use CHECK_N.
22389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22390         include <bp-checks.h>.
22391         (__libc_pwrite64): Don't use CHECK_N.
22392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22393         <bp-checks.h>.
22394         (__libc_pread): Don't use CHECK_N.
22395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22396         include <bp-checks.h>.
22397         (__libc_pread64): Don't use CHECK_N.
22398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22399         include <bp-checks.h>.
22400         (__libc_pwrite): Don't use CHECK_N.
22401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22402         include <bp-checks.h>.
22403         (__libc_pwrite64): Don't use CHECK_N.
22404         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22405         (do_pread): Don't use CHECK_N.
22406         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22407         (do_pread64): Don't use CHECK_N.
22408         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22409         (do_pwrite): Don't use CHECK_N.
22410         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22411         (do_pwrite64): Don't use CHECK_N.
22412         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22413         (__libc_readv): Don't use CHECK_N.
22414         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22415         (semop): Don't use CHECK_N.
22416         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22417         <bp-checks.h>.
22418         (semtimedop): Don't use CHECK_N.
22419         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22420         (__libc_pread): Don't use CHECK_N.
22421         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22422         <bp-checks.h>.
22423         (__libc_pread64): Don't use CHECK_N.
22424         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22425         <bp-checks.h>.
22426         (__libc_pwrite): Don't use CHECK_N.
22427         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22428         <bp-checks.h>.
22429         (__libc_pwrite64): Don't use CHECK_N.
22430         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22431         <bp-checks.h>.
22432         (__libc_msgrcv): Don't use CHECK_N.
22433         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22434         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
22435         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22436         (__libc_writev): Don't use CHECK_N.
22438 2013-02-08  Roland McGrath  <roland@hack.frob.com>
22440         * string/strcpy.c: Removed unused variable.
22442         * Makeconfig (+sysdep-includes): Define with := rather than =.
22443         Use an existing include/ subdir of each sysdeps dir before it.
22445 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22447         * nscd/connection.c (register_traced_file): Comment function.
22448         [HAVE_INOTIFY] (union __inev): Define.
22449         [HAVE_INOTIFY] (inotify_check_files): New function.
22450         [HAVE_INOTIFY] (clear_db_cache): Likewise.
22451         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22452         clear_db_cache.
22453         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22455 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22457         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22458         loaded if not already and that a failure is permanent.
22460 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22462         [BZ #15006]
22463         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22464         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22466 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
22468         [BZ #13550]
22469         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22470         (CHECK_1_NULL_OK): Likewise.
22471         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22472         (__fxstat): Do not use CHECK_1.
22473         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22474         <bp-checks.h>.
22475         (___fxstat64): Do not use CHECK_1.
22476         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22477         <bp-checks.h>.
22478         (__fxstatat): Do not use CHECK_1.
22479         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22480         <bp-checks.h>.
22481         (__fxstatat64): Do not use CHECK_1.
22482         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22483         <bp-checks.h>.
22484         (__fxstat): Do not use CHECK_1.
22485         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22486         <bp-checks.h>.
22487         (__fxstatat): Do not use CHECK_1.
22488         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22489         <bp-checks.h>.
22490         (__getresgid): Do not use CHECK_1.
22491         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22492         <bp-checks.h>.
22493         (__getresuid): Do not use CHECK_1.
22494         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22495         <bp-checks.h>.
22496         (__lxstat): Do not use CHECK_1.
22497         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22498         <bp-checks.h>.
22499         (__old_msgctl): Do not use CHECK_1.
22500         (__new_msgctl): Likewise.
22501         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22502         <bp-checks.h>.
22503         (__new_setrlimit): Do not use CHECK_1.
22504         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22505         <bp-checks.h>.
22506         (__old_shmctl): Do not use CHECK_1.
22507         (__new_shmctl): Likewise.
22508         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22509         <bp-checks.h>.
22510         (__xstat): Do not use CHECK_1.
22511         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22512         (__lxstat): Do not use CHECK_1.
22513         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22514         <bp-checks.h>.
22515         (___lxstat64): Do not use CHECK_1.
22516         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22517         (__old_msgctl): Do not use CHECK_1.
22518         (__new_msgctl): Likewise.
22519         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22520         <bp-checks.h>.
22521         (__gettimeofday): Do not use CHECK_1.
22522         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22523         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22524         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22525         <bp-checks.h>.
22526         (__gettimeofday): Do not use CHECK_1.
22527         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22528         (__old_shmctl): Do not use CHECK_1_NULL_OK.
22529         (__new_shmctl): Do not use CHECK_1.
22530         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22531         <bp-checks.h>.
22532         (do_sigtimedwait): Do not use CHECK_1.
22533         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22534         <bp-checks.h>.
22535         (do_sigwaitinfo): Do not use CHECK_1.
22536         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22537         <bp-checks.h>.
22538         (msgctl): Do not use CHECK_1.
22539         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22540         <bp-checks.h>.
22541         (shmctl): Do not use CHECK_1.
22542         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22543         (ustat): Do not use CHECK_1.
22544         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22545         <bp-checks.h>.
22546         (__fxstat): Do not use CHECK_1.
22547         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22548         <bp-checks.h>.
22549         (__fxstatat): Do not use CHECK_1.
22550         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22551         <bp-checks.h>.
22552         (__lxstat): Do not use CHECK_1.
22553         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22554         <bp-checks.h>.
22555         (__xstat): Do not use CHECK_1.
22556         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22557         (__xstat): Do not use CHECK_1.
22558         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22559         (___xstat64): Do not use CHECK_1.
22561         [BZ #13550]
22562         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22563         definitions.
22564         (CHECK_BOUNDS_HIGH): Likewise.
22565         * string/strcpy.c: Do not include <bp-checks.h>.
22566         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22568 2013-02-07  Roland McGrath  <roland@hack.frob.com>
22570         * nscd/nscd-client.h (__nscd_drop_map_ref):
22571         Add __attribute__ ((unused)).
22572         * nis/nss-nisplus.h (niserr2nss): Likewise.
22574         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22575         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22577         * csu/libc-tls.c (init_static_tls, init_slotinfo):
22578         Remove inline keyword.
22579         * include/rounding-mode.h (round_away): Likewise.
22580         * libio/wfileops.c (adjust_wide_data): Likewise.
22581         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22582         (__m128i_strloadu_tolower): Likewise.
22583         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22584         (__m128i_strloadu_tolower): Likewise.
22585         * time/mktime.c (ydhms_diff): Likewise.
22586         * locale/elem-hash.h (elem_hash): Likewise.
22587         * locale/setlocale.c (setdata): Likewise.
22588         * posix/regex_internal.h (re_string_char_size_at): Likewise.
22589         (re_string_wchar_at): Likewise.
22590         (bitset_not, bitset_merge, bitset_mask): Likewise.
22591         [!(__GNUC__ > 3)] (inline): Remove macro.
22592         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22593         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22594         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22595         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22596         * string/memcmp.c (memcmp_bytes): Likewise.
22597         * locale/programs/locarchive.c (compute_hashval): Likewise.
22598         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22599         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22600         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22601         * nss/getent.c (print_rpc, print_protocols): Likewise.
22602         (print_passwd, print_group, print_aliases): Likewise.
22603         * nis/nss-nisplus.h (niserr2nss): Likewise.
22604         * nscd/connections.c (restart_p): Likewise.
22605         Change return type to bool.
22607 2013-02-05  Roland McGrath  <roland@hack.frob.com>
22609         * Makeconfig (all-Depend-files): Add existing
22610         $(sorted-subdirs:=/Depend) files.
22611         (all-subdirs): Remove nss.
22612         * sysdeps/unix/inet/Subdirs: Add it here instead.
22613         * hesiod/Depend: New file.
22615         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22616         instead of calling alloca.
22618         * io/lseek.c (__lseek): Rename to __libc_lseek.
22619         Define __lseek as an alias.
22621         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22623 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
22625         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22626         else clause and remove check for non-standard endianness.
22628 2013-02-04  David S. Miller  <davem@davemloft.net>
22630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22632 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
22634         [BZ #13550]
22635         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22636         (__ubp_memchr): Remove prototype.
22637         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22638         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22639         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22640         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22641         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22642         Remove alias.
22643         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22644         (__ubp_memchr): Likewise.
22645         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22646         (__ubp_memchr): Likewise.
22647         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22648         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22649         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22650         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22651         CHECK_STRING.
22652         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22653         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22654         (__getcwd): Do not use CHECK_STRING.
22655         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22656         <bp-checks.h>.
22657         (__real_chown): Do not use CHECK_STRING.
22658         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22659         <bp-checks.h>.
22660         (fchownat): Do not use CHECK_STRING.
22661         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22662         CHECK_STRING.
22663         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22664         <bp-checks.h>.
22665         (__lchown): Do not use CHECK_STRING.
22666         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22667         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22668         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22669         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22671         include <bp-checks.h>.
22672         (truncate64): Do not use CHECK_STRING.
22673         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22674         <bp-checks.h>.
22675         (__real_chown): Do not use CHECK_STRING.
22676         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22677         <bp-checks.h>.
22678         (__lchown): Do not use CHECK_STRING.
22679         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22680         <bp-checks.h>.
22681         (__chown): Do not use CHECK_STRING.
22682         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22683         <bp-checks.h>.
22684         (truncate64): Do not use CHECK_STRING.
22685         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22686         Likewise.
22687         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22688         (__xmknod): Do not use CHECK_STRING.
22689         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22690         <bp-checks.h>.
22691         (__xmknodat): Do not use CHECK_STRING.
22692         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22693         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22695 2013-02-04  Andreas Schwab  <schwab@suse.de>
22697         [BZ #14142]
22698         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22699         * include/netdb.h: Likewise for h_errno.
22700         * elf/tst-stackguard1.c: Include <tls.h>.
22702 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
22704         * elf/link.h (struct link_map): Extend the l_addr comment.
22705         * include/link.h (struct link_map): Likewise.
22707 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
22709         [BZ #13550]
22710         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22711         (BOUNDED_1): Remove macro.
22712         * debug/backtrace.c: Don't include <bp-checks.h>.
22713         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22714         (__backtrace): Likewise.
22715         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22716         <bp-checks.h>.
22717         (__backtrace): Don't use BOUNDED_1.
22718         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22719         <bp-checks.h>.
22720         (__backtrace): Don't use BOUNDED_1.
22721         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22722         (__backtrace): Don't use BOUNDED_1.
22723         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22724         (shmat): Don't use BOUNDED_N.
22726 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
22728         [BZ #13550]
22729         * sysdeps/generic/bp-start.h: Remove file.
22730         * csu/libc-start.c: Don't include <bp-start.h>.
22731         (LIBC_START_MAIN): Set up __environ directly instead of using
22732         INIT_ARGV_and_ENVIRON.
22733         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22734         <bp-start.h>.
22736         [BZ #13550]
22737         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22738         definitions.
22739         (CHECK_FCNTL): Likewise.
22740         (CHECK_N_PAGES): Likewise.
22742         [BZ #13550]
22743         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22744         definitions.
22745         (CHECK_SIGSET_NULL_OK): Likewise.
22746         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22747         <bp-checks.h>.
22748         (sigpending): Don't use CHECK_SIGSET.
22749         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22750         <bp-checks.h>.
22751         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22752         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22753         <bp-checks.h>.
22754         (do_sigsuspend): Don't use CHECK_SIGSET.
22755         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22756         use CHECK_SIGSET.
22757         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22758         (do_sigwait): Don't use CHECK_SIGSET.
22759         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22760         use CHECK_SIGSET.
22761         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22762         include <bp-checks.h>.
22763         (sigpending): Don't use CHECK_SIGSET.
22764         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22765         include <bp-checks.h>.
22766         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22767         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22768         <bp-checks.h>.
22769         (sigpending): Don't use CHECK_SIGSET.
22770         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22771         <bp-checks.h>.
22772         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22774         [BZ #13550]
22775         * sysdeps/generic/bp-semctl.h: Remove file.
22776         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22777         <bp-checks.h> and <bp-semctl.h>.
22778         (__old_semctl): Don't use CHECK_SEMCTL.
22779         (__new_semctl): Likewise.
22780         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22781         and <bp-semctl.h>.
22782         (__old_semctl): Don't use CHECK_SEMCTL.
22783         (__new_semctl): Likewise.
22784         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22785         <bp-checks.h> and <bp-semctl.h>.
22786         (__old_semctl): Don't use CHECK_SEMCTL.
22787         (__new_semctl): Likewise.
22788         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22789         <bp-checks.h> and <bp-semctl.h>.
22790         (semctl): Don't use CHECK_SEMCTL.
22792         [BZ #13550]
22793         * Makerules (elide-bp-thunks): Remove variable.
22794         (elide-routines.oS): Don't use $(elide-bp-thunks).
22795         (elide-routines.os): Likewise.
22796         (elide-routines.o): Likewise.
22797         (elide-routines.op): Likewise.
22798         (elide-routines.og): Likewise.
22799         (objects): Don't use $(bp-thunks).
22800         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22801         include.
22802         (common-generated): Do not add s-proto-bp.d.
22803         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22804         (int): Likewise.
22805         (typ): Likewise.
22806         Do not generate makefile rules for bounded-pointer thunks.
22807         * sysdeps/generic/bp-thunks.h: Remove file.
22808         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22809         * sysdeps/unix/s-proto-bp.S: Likewise.
22811         [BZ #15062]
22812         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22813         parts of result separately when argument is not close to line from
22814         -i to i and one part of argument is small.
22815         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22816         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22817         * math/libm-test.inc (cacos_test): Add more tests.
22818         (casin_test): Likewise.
22819         (casinh_test): Likewise.
22820         * sysdeps/i386/fpu/libm-test-ulps: Update.
22821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22823 2013-01-31  David S. Miller  <davem@davemloft.net>
22825         * po/de.po: Update from translation team.
22827 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
22829         * time/tzfile.c: Include stdint.h for SIZE_MAX.
22831 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
22833         * configure.in (_AC_PROG_CC_C89): New definition.
22834         * configure: Regenerate.
22836         * configure.in (AC_PROG_CPP): New definition.
22837         * configure: Regenerate.
22839 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
22841         * debug/tst-backtrace.h: New file.
22842         * debug/tst-backtrace2.c: Include tst-backtrace.h.
22843         (ret): Remove variable.
22844         (x): Likewise.
22845         (FAIL): Remove macro.
22846         (NO_INLINE): Likewise.
22847         (fn1): Use match function instead of strstr.
22848         * debug/tst-backtrace3.c: Include tst-backtrace.h.
22849         (ret): Remove variable.
22850         (x): Likewise.
22851         (FAIL): Remove macro.
22852         (NO_INLINE): Likewise.
22853         (fn): Use match function instead of strstr.
22854         * debug/tst-backtrace4.c: Include tst-backtrace.h.
22855         (ret): Remove variable.
22856         (x): Likewise.
22857         (FAIL): Remove macro.
22858         (NO_INLINE): Likewise.
22859         (handle_signal): Use match function instead of strstr.
22860         * debug/tst-backtrace5.c: Include tst-backtrace.h.
22861         (ret): Remove variable.
22862         (x): Likewise.
22863         (FAIL): Remove macro.
22864         (NO_INLINE): Likewise.
22865         (handle_signal): Use match function instead of strstr.
22867 2013-01-23  Roland McGrath  <roland@hack.frob.com>
22869         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22871 2013-01-23  David S. Miller  <davem@davemloft.net>
22873         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22874         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22875         argument of CAS if possible.
22876         * sysdeps/sparc/sparc64/bits/atomic.h
22877         (__arch_compare_and_exchange_val_32_acq): Likewise.
22878         (__arch_compare_and_exchange_val_64_acq): Likewise.
22880 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
22882         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22883         * sysdeps/posix/ulimit.c: ... this.
22884         Include <limits.h>.
22885         * sysdeps/unix/bsd/ulimit.c: Remove file.
22887 2013-01-23  Adam Conrad  <adconrad@0c3.net>
22889         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22890         (LDFLAGS-tst-array5): Likewise.
22892 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
22894         [BZ #15036]
22895         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22896         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22897         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22898         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22900 2013-01-21  David S. Miller  <davem@davemloft.net>
22902         * sysdeps/sparc/backtrace.c: New file.
22903         * sysdeps/sparc/sparc32/backtrace.h: New file.
22904         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22905         * sysdeps/sparc/sparc64/backtrace.h: New file.
22906         * sysdeps/sparc/sparc64/backtrace.c: Delete.
22907         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22908         -funwind-tables.
22910 2013-01-21  Andreas Schwab  <schwab@suse.de>
22912         [BZ #15020]
22913         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22914         closed its stdout.
22916 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
22918         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22919         "mpa2.h".
22920         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22922 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
22923             Mark Mitchell  <mark@codesourcery.com>
22924             Tom de Vries  <tom@codesourcery.com>
22925             Paul Pluzhnikov  <ppluzhnikov@google.com>
22927         * debug/tst-backtrace2.c: New file.
22928         * debug/tst-backtrace3.c: Likewise.
22929         * debug/tst-backtrace4.c: Likewise.
22930         * debug/tst-backtrace5.c: Likewise.
22931         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22932         (CFLAGS-tst-backtrace3.c): Likewise.
22933         (CFLAGS-tst-backtrace4.c): Likewise.
22934         (CFLAGS-tst-backtrace5.c): Likewise.
22935         (LDFLAGS-tst-backtrace2): Likewise.
22936         (LDFLAGS-tst-backtrace3): Likewise.
22937         (LDFLAGS-tst-backtrace4): Likewise.
22938         (LDFLAGS-tst-backtrace5): Likewise.
22939         (tests): Add new tests tst-backtrace2, tst-backtrace3,
22940         tst-backtrace4 and tst-backtrace5.
22942 2013-01-18  Anton Blanchard  <anton@samba.org>
22943             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22945         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22946         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22947         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22948         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22950         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22951         "+r" and remove output regs list as redundant.  Add explicit inline
22952         asm to specify register of return val to work around compiler codegen
22953         bug.  Remove (int) cast on return value.  Add return type parameter to
22954         use in macro so that this macro does not truncate return value for
22955         64-bit values.
22956         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22957         pass to INTERNAL_VSYSCALL_NCS.
22958         (INLINE_VSYSCALL): Add 'long int' as return type to
22959         INTERNAL_VSYSCALL_NCS macro invocation.
22960         (INTERNAL_VSYSCALL): Add 'long int' as return type to
22961         INTERNAL_VSYSCALL_NCS macro invocation.
22962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22964 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22966         [BZ #14496]
22967         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22968         Fix application of SIMD FP exception mask.
22970         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22971         mp_no from a power of two.
22972         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22973         __mpexp_twomm1.  Use __pow_mp.
22975         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22976         multiplication.
22978 2013-01-17  David S. Miller  <davem@davemloft.net>
22980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22982 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
22984         [BZ #15023]
22985         * include/complex.h: Condition contents on [!_COMPLEX_H].
22986         (__kernel_casinhf): New prototype.
22987         (__kernel_casinh): Likewise.
22988         (__kernel_casinhl): Likewise.
22989         * math/Makefile (libm_calls): Add k_casinh.
22990         * math/k_casinh.c: New file.
22991         * math/k_casinhf.c: Likewise.
22992         * math/k_casinhl.c: Likewise.
22993         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22994         finite nonzero arguments.
22995         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22996         finite nonzero arguments.
22997         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22998         finite nonzero arguments.
22999         * math/s_casinh.c: Do not include <float.h>.
23000         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23001         * math/s_casinhf.c: Do not include <float.h>.
23002         (__casinhf): Move code for finite nonzero arguments to
23003         k_casinhf.c.
23004         * math/s_casinhl.c: Do not include <float.h>.
23005         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23006         redefine.
23007         (__casinhl): Move code for finite nonzero arguments to
23008         k_casinhl.c.
23009         * math/libm-test.inc (cacos_test): Add more tests.
23010         * sysdeps/i386/fpu/libm-test-ulps: Update.
23011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23013 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
23015         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23016         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23017         [!HAVE_MREMAP]: Remove [defined linux] case.
23018         * malloc/arena.c: Do not include <malloc-sysdep.h>.
23020 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23022         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23024 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
23026         * elf/elf.h (R_386_SIZE32): New relocation.
23027         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23028         R_386_SIZE32.
23029         (elf_machine_rela): Likewise.
23030         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23031         R_X86_64_SIZE64 and R_X86_64_SIZE32.
23033 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23035         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23036         (FP_FAST_FMA): Do not define.
23037         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23038         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23039         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23040         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23041         !_SOFT_FLOAT]: Likewise.
23042         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23043         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23044         value.
23045         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23046         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23047         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23048         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23049         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23050         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23051         file.
23053 2013-01-16  Andreas Schwab  <schwab@suse.de>
23055         [BZ #14327]
23056         * include/stdlib.h (__mktemp): Add declaration.
23057         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23058         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23060 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23062         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23063         definitions.
23064         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23065         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23066         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23067         definitions here.
23068         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23069         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23070         definitions.
23071         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23072         and ONE.
23073         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23074         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23075         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23076         definitions.
23077         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23078         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23079         definitions.
23080         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23082         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23084 2013-01-15  David S. Miller  <davem@davemloft.net>
23086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23087         trunc{,f} to libm-sysdep_routes.
23088         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23090         file.
23091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23093         file.
23094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23095         file.
23096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23098         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23099         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23100         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23101         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23102         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23103         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23106         nearbyint{,f} to libm-sysdep_routes.
23107         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23109         New file.
23110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23111         file.
23112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23113         New file.
23114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23115         file.
23116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23118         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23119         file.
23120         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23121         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23122         file.
23123         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23124         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23125         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23127         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23128         libc_feholdexcept and libc_fesetenv.
23130 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
23132         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23134 2013-01-14  David S. Miller  <davem@davemloft.net>
23136         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23137         (SPARC_ASM_VIS2_IFUNC): Likewise.
23138         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23140         use of 'siam' instruction.
23141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23142         Likewise.
23143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23144         Likewise.
23145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23146         Likewise.
23147         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23148         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23149         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23150         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23152         file.
23153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23154         file.
23155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23156         file.
23157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23158         file.
23159         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23160         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23161         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23162         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23164         new VIS2 routines.
23165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23168         Likewise.
23169         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23170         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23171         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23172         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23174         routines to libm-sysdep_routines.
23175         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23178         fdim/fdimf to libm-sysdep_routines.
23179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23180         file.
23181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23183         file.
23184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23187         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23188         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23189         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23190         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23192 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23194         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23195         to optimize copies.
23197         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23198         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23199         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23201         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23202         local variable MPTWO.
23203         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23204         Likewise.
23206 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23208         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23209         GLOB_NOESCAPE.
23211 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23213         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23215 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23217         * manual/pattern.texi (glob_t): Document gl_flags.
23218         (glob64_t): Likewise.
23220 2013-01-11  David S. Miller  <davem@davemloft.net>
23222         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23223         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23224         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
23225         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23226         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23227         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23228         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23229         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23230         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23231         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23232         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23233         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23234         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23236         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23237         sparc V9 rather than using V8 code.
23238         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23239         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23241         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23242         Move to...
23243         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23244         Here.
23246 2013-01-11  Roland McGrath  <roland@hack.frob.com>
23248         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23249         not in the main loop.
23250         * configure: Regenerated.
23252 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
23254         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23255         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23256         to just #else.
23257         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
23258         [!__GLIBC_HAVE_LONG_LONG] case.
23259         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23260         condition to just #else.
23261         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23262         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23263         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23264         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23265         unconditional.
23266         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23267         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23268         #elif condition to just #else.
23269         * sysdeps/unix/sysv/linux/sys/sysmacros.h
23270         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23271         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23272         #elif condition to just #else.
23274 2013-01-11  Steve Ellcey  <sellcey@mips.com>
23276         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23277         (EF_MIPS_ARCH_64): Fix value.
23278         (EF_MIPS_ARCH_32R2): New.
23279         (EF_MIPS_ARCH_64R2): New.
23281 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
23283         * Makeconfig (+link-pie-before-libc): New.
23284         (+link-pie-after-libc): Likewise.
23285         (+link-pie-tests): Likewise.
23286         (+link-pie): Rewritten.
23287         (link-before-libc): Remove $(config-LDFLAGS).
23288         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23289         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23290         (config-LDFLAGS): Renamed to ...
23291         (rtld-LDFLAGS): This.
23292         (rtld-tests-LDFLAGS): New macro.
23293         (link-libc-rpath-link): Likewise.
23294         (link-libc-tests-rpath-link): Likewise.
23295         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23296         (link-libc): Prepand $(link-libc-rpath-link).
23297         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23298         (test-program-prefix): New macro.
23299         (test-via-rtld-prefix): Likewise.
23300         (test-program-cmd): Likewise.
23301         (host-test-program-cmd): Likewise.
23302         * Makefile ($(common-objpfx)testrun.sh): Replace
23303         $(run-program-prefix) with $(test-program-prefix).
23304         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23305         $(rtld-LDFLAGS).
23306         ($(common-objpfx)shlib.lds): Likewise.
23307         (build-module-helper): Likewise.
23308         ($(common-objpfx)format.lds): Likewise.
23309         * Rules (binaries-pie-tests): New.
23310         (binaries-pie-notests): Likewise.
23311         (binaries-pie): Rewritten.
23312         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23313         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23314         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23315         (make-test-out): Replace $(host-built-program-cmd) with
23316         $(host-test-program-cmd).
23317         * config.make.in (build-hardcoded-path-in-tests): New variable.
23318         * configure.in (--enable-hardcoded-path-in-tests): New configure
23319         option.
23320         (hardcoded_path_in_tests): New AC_SUBST.
23321         * configure: Regenerated.
23322         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23323         $(built-program-cmd) with $(test-program-cmd).
23324         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23325         (test_program_cmd): This.
23326         * elf/Makefile ($(objpfx)order.out): Run test with
23327         $(test-program-prefix).
23328         ($(objpfx)order2.out): Likewise.
23329         ($(objpfx)tst-initorder.out): Likewise.
23330         ($(objpfx)tst-initorder2.out): Likewise.
23331         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23332         $(test-program-cmd).
23333         ($(objpfx)tst-array1-static.out): Likewise.
23334         ($(objpfx)tst-array2.out): Likewise.
23335         ($(objpfx)tst-array3.out): Likewise.
23336         ($(objpfx)tst-array4.out): Likewise.
23337         ($(objpfx)tst-array5.out): Likewise.
23338         ($(objpfx)tst-array5-static.out): Likewise.
23339         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23340         $(test-program-cmd).
23341         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23342         $(run-program-prefix) with $(test-program-prefix).
23343         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23344         (test_program_prefix): This.
23345         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23346         $(run-program-prefix) with $(test-program-prefix).
23347         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23348         (test_program_prefix): This.
23349         * iconvdata/tst-tables.sh: Likewise.
23350         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23351         $(run-program-prefix) with $(test-program-prefix).
23352         ($(objpfx)tst-translit.out): Likewise.
23353         ($(objpfx)tst-gettext2.out): Likewise.
23354         ($(objpfx)tst-gettext4.out): Likewise.
23355         ($(objpfx)tst-gettext6.out): Likewise.
23356         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23357         (test_program_prefix): This.
23358         * intl/tst-gettext2.sh: Likewise.
23359         * intl/tst-gettext4.sh  Likewise.
23360         * intl/tst-gettext6.sh: Likewise.
23361         * intl/tst-translit.sh: Likewise.
23362         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23363         with $(test-program-cmd).
23364         * libio/Makefile ($(objpfx)test-freopen.out): Replace
23365         $(run-program-prefix) with $(test-program-prefix).
23366         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23367         (test_program_prefix): This.
23368         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23369         $(run-program-prefix) with $(test-program-prefix).
23370         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23371         (test_program_prefix): This.
23372         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23373         * posix/Makefile ($(objpfx)globtest.out): Replace
23374         $(run-via-rtld-prefix) and $(test-wrapper) with
23375         $(test-program-prefix) and $(test-via-rtld-prefix).
23376         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23377         $(test-program-prefix).
23378         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23379         $(host-test-program-cmd).
23380         (tst-spawn-ARGS): Likewise.
23381         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23382         $(test-program-prefix).
23383         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23384         (test_via_rtld_prefix): This.
23385         (test_wrapper): Renamed to ...
23386         (test_program_prefix): This.
23387         (run_program_prefix): Replaced by test_program_prefix.
23388         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23389         (test_program_prefix): This.
23390         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23391         with $(host-test-program-cmd).
23392         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23393         $(run-program-prefix) with $(test-program-prefix).
23394         ($(objpfx)tst-printf.out): Likewise.
23395         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23396         $(test-program-cmd).
23397         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23398         (test_program_prefix): This.
23399         * stdio-common/tst-unbputc.sh: Likewise.
23400         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23401         $(run-program-prefix) with $(test-program-prefix).
23402         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23403         (test_program_prefix): This.
23404         * string/Makefile ($(objpfx)tst-svc.out):  Replace
23405         $(built-program-cmd) with $(test-program-cmd).
23407 2013-01-11  Andreas Jaeger  <aj@suse.de>
23409         [BZ #15003]
23410         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23411         value. Sync with Linux 3.7.
23413 2013-01-10  David S. Miller  <davem@davemloft.net>
23415         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23416         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23417         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23419 2013-01-10  Roland McGrath  <roland@hack.frob.com>
23421         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23422         never set.
23423         * configure: Regenerated.
23425 2013-01-10  David S. Miller  <davem@davemloft.net>
23427         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23428         sparc V9 rather than using V8 code.
23429         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23430         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23432 2013-01-10  Roland McGrath  <roland@hack.frob.com>
23434         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23435         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23436         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23437         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23438         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23439         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23440         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23441         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23442         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23443         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23444         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23445         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23446         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23447         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23448         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23449         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23450         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23451         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23452         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23453         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23454         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23455         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23456         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23457         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23458         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23459         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23460         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23462 2013-01-10  David S. Miller  <davem@davemloft.net>
23464         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23466 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
23468         * posix/Makefile (tests-static): New variable.
23469         (tests): Add $(tests-static).
23470         (tst-exec-static-ARGS): New variable.
23471         (tst-spawn-static-ARGS): Likewise.
23472         * posix/tst-exec-static.c: New file.
23473         * posix/tst-spawn-static.c: Likewise.
23474         * posix/tst-exec.c: Support run directly.
23475         * posix/tst-spawn.c: Likewise.
23477 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
23479         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23480         long.
23481         * math/bits/mathcalls.h (llrint): Likewise.
23482         (llround): Likewise.
23483         * stdlib/stdlib.h (struct drand48_data): Likewise.
23484         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23485         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23486         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23487         Likewise.
23488         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23489         Likewise.
23490         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23491         (elf_greg_t): Likewise.
23492         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23493         (__jmp_buf): Likewise.
23494         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23495         definitions.
23496         (llrint): Likewise, for all definitions.
23497         (llrintl): Likewise.
23499         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23500         Remove [__GNUC__] condition.
23501         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23502         condition to just [__USE_ISOC99].
23503         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23505 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
23507         [BZ #14200]
23508         * sysdeps/unix/sysv/linux/x86/bits/environments.h
23509         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23510         defined.
23511         (_POSIX_V6_ILP32_OFF32): Likewise.
23512         (_XBS5_ILP32_OFF32): Likewise.
23513         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23514         (__ILP32_OFFBIG_LDFLAGS): Likewise.
23516 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23518         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23520         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23521         doubles __mpexp_twomm1.  Adjust usage.
23522         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23523         Remove.
23525 2013-01-10  Andreas Schwab  <schwab@suse.de>
23527         [BZ #14964]
23528         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23529         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23531 2013-01-09  David S. Miller  <davem@davemloft.net>
23533         [BZ #15003]
23534         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23535         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23536         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23537         (TCP_FASTOPEN): Define.
23538         (tcp_repair_opt): New structure.
23539         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23540         enum values.
23541         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23542         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23543         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23544         (tcp_cookie_transactions): New structure.
23546 2013-01-09  Anton Blanchard  <anton@samba.org>
23548         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23549         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23550         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23551         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23553 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
23555         * include/features.h (__USE_ANSI): Remove.
23557 2013-01-09  Roland McGrath  <roland@hack.frob.com>
23559         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23561         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23563 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
23565         * sysdeps/s390/fpu/libm-test-ulps: Update.
23567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23569         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23570         (__acr): Likewise.
23571         (__cpy): Likewise.
23572         (norm): Likewise.
23573         (denorm): Likewise.
23574         (__mp_dbl): Likewise.
23575         (__dbl_mp): Likewise.
23576         (add_magnitudes): Likewise.
23577         (sub_magnitudes): Likewise.
23578         (__add): Likewise.
23579         (__sub): Likewise.
23580         (__mul): Likewise.
23581         (__inv): Likewise.
23582         (__dvd): Likewise.
23583         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23584         (__acr): Likewise.
23585         (__cpy): Likewise.
23586         (norm): Likewise.
23587         (denorm): Likewise.
23588         (__mp_dbl): Likewise.
23589         (__dbl_mp): Likewise.
23590         (add_magnitudes): Likewise.
23591         (sub_magnitudes): Likewise.
23592         (__add): Likewise.
23593         (__sub): Likewise.
23594         (__mul): Likewise.
23595         (__inv): Likewise.
23596         (__dvd): Likewise.
23597         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23598         (__acr): Likewise.
23599         (__cpy): Likewise.
23600         (norm): Likewise.
23601         (denorm): Likewise.
23602         (__mp_dbl): Likewise.
23603         (__dbl_mp): Likewise.
23604         (add_magnitudes): Likewise.
23605         (sub_magnitudes): Likewise.
23606         (__add): Likewise.
23607         (__sub): Likewise.
23608         (__mul): Likewise.
23609         (__inv): Likewise.
23610         (__dvd): Likewise.
23612 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
23614         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23615         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23616         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23617         2 && __USE_EXTERN_INLINES]: Likewise.
23619 2013-01-08  Andreas Jaeger  <aj@suse.de>
23621         [BZ# 14985]
23622         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23623         Remove.
23624         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23625         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23627 2013-01-07  Anton Blanchard  <anton@samba.org>
23629         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23630         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23631         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23632         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23633         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23634         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23635         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23636         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23637         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23638         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23639         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23640         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23641         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23642         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23643         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23644         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23645         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23646         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23647         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23648         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23649         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23650         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23651         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23652         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23653         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23654         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23655         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23656         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23657         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23658         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23659         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23660         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23661         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23662         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23663         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23664         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23665         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23666         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23667         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23668         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23669         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23670         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23671         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23673 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
23675         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23676         (__MALLOC_PMT): Likewise.
23677         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23678         [__GNUC__], only on [_LIBC].
23679         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23680         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23681         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23682         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23683         forward declaration.
23684         (realloc_hook_ini): Likewise.
23685         (memalign_hook_ini): Likewise.
23686         (__libc_memalign): Do not use __MALLOC_PMT in variable
23687         declaration.
23688         (__libc_valloc): Likewise.
23689         (__libc_pvalloc): Likewise.
23690         (__libc_calloc): Likewise.
23691         (__posix_memalign): Likewise.
23693         [BZ #14996]
23694         * math/s_casinh.c: Include <float.h>.
23695         (__casinh): Do not do computation with squaring and square root
23696         for large arguments.
23697         * math/s_casinhf.c: Include <float.h>.
23698         (__casinhf): Do not do computation with squaring and square root
23699         for large arguments.
23700         * math/s_casinhl.c: Include <float.h>.
23701         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23702         (__casinhl): Do not do computation with squaring and square root
23703         for large arguments.
23704         * math/libm-test.inc (casin_test): Add more tests.
23705         (casinh_test): Likewise.
23706         * sysdeps/i386/fpu/libm-test-ulps: Update.
23707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23709 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
23711         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23712         (__x86_64_raw_data_cache_size): Likewise.
23713         (__x86_64_data_cache_size_half): Likewise.
23714         (__x86_64_raw_data_cache_size_half): Likewise.
23715         (__x86_64_shared_cache_size): Likewise.
23716         (__x86_64_raw_shared_cache_size): Likewise.
23717         (__x86_64_shared_cache_size_half): Likewise.
23718         (__x86_64_raw_shared_cache_size_half): Likewise.
23719         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23720         to ...
23721         (__x86_data_cache_size): This.
23722         (__x86_64_raw_data_cache_size): Renamed to ...
23723         (__x86_raw_data_cache_size): This.
23724         (__x86_64_data_cache_size_half): Renamed to ...
23725         (__x86_data_cache_size_half): This.
23726         (__x86_64_raw_data_cache_size_half): Renamed to ...
23727         (__x86_raw_data_cache_size_half): This.
23728         (__x86_64_shared_cache_size): Renamed to ...
23729         (__x86_shared_cache_size): This.
23730         (__x86_64_raw_shared_cache_size): Renamed to ...
23731         (__x86_raw_shared_cache_size): This.
23732         (__x86_64_shared_cache_size_half): Renamed to ...
23733         (__x86_shared_cache_size_half): This.
23734         (__x86_64_raw_shared_cache_size_half): Renamed to ...
23735         (__x86_raw_shared_cache_size_half): This.
23736         * sysdeps/x86_64/memcpy.S: Updated.
23737         * sysdeps/x86_64/memset.S: Likewise.
23738         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23739         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23740         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23742 2013-01-04  David S. Miller  <davem@davemloft.net>
23744         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23746 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
23748         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23749         1 to avoid redefinition warning.
23750         (__USE_GNU): Don't define.
23751         (init_signaling_nan): Protoize.
23753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23755 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23757         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23758         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23759         (__cpymn): Likewise.
23760         (norm): Remove commented code.
23761         (denorm): Likewise.
23762         (__mp_dbl): Likewise.
23763         (__inv): Likewise.
23764         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23765         (__cpymn): Likewise.
23766         (norm): Remove commented code.
23767         (denorm): Likewise.
23768         (__mp_dbl): Likewise.
23769         (__inv): Likewise.
23771         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23772         mp_no value for 1.0 and 2.0.
23773         (norm): Use RADIXI instead of radixi.d.
23774         (denorm): Likewise.
23775         (__mul): Use 0.0 instead of zero.d.
23776         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23777         mp_no value for 1.0 and 2.0.
23778         (norm): Use RADIXI instead of radixi.d.
23779         (denorm): Likewise.
23780         (__mul): Use 0.0 instead of zero.d.
23782 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
23784         [BZ #14994]
23785         * math/s_casinh.c (__casinh): Reduce finite argument to first
23786         quadrant then set signs of results at the end.
23787         * math/s_casinhf.c (__casinhf): Likewise.
23788         * math/s_casinhl.c (__casinhl): Likewise.
23789         * math/libm-test.inc (casin_test): Add more tests.
23790         (casinh_test): Likewise.
23791         * sysdeps/i386/fpu/libm-test-ulps: Update.
23792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23794 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23796         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23798         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23800         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23801         declarations.
23802         (denorm): Likewise.
23803         (__mp_dbl): Likewise.
23804         (__inv): Likewise.
23806         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23807         and adjust the header comment.
23809         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23810         variable name from declaration.
23812 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
23814         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23815         Initialize COMMON_CPUID_INDEX_7 element.
23816         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23817         (CPUID_RTM): Likewise.
23818         (HAS_RTM): Likewise.
23819         (COMMON_CPUID_INDEX_7): New enum.
23821 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
23823         [BZ #14981]
23824         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23825         size is zero, record memory as freed.
23827 2013-01-03  Andreas Jaeger  <aj@suse.de>
23829         * po/ia.po: Add new Interlingua translation.
23831 2012-01-03  Allan McRae  <allan@archlinux.org>
23833         * locale/programs/localedef.c: Fix description of '--posix' flag.
23835 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
23837         * NEWS: Update dates in second copyright notice.
23838         * README: Update copyright dates in example.
23839         * manual/libc.texinfo: Update copyright dates.
23840         * scripts/test-installation.pl: Update copyright date in --version
23841         output.
23843         * hurd/ctty-input.c: Fix copyright notice formatting.
23844         * hurd/ctty-output.c: Likewise.
23845         * hurd/dtable.c: Likewise.
23846         * hurd/hurd-raise.c: Likewise.
23847         * hurd/hurdprio.c: Likewise.
23848         * hurd/msgportdemux.c: Likewise.
23849         * misc/sys/file.h: Likewise.
23850         * misc/sys/ioctl.h: Likewise.
23851         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23852         * sysdeps/mach/hurd/chdir.c: Likewise.
23853         * sysdeps/mach/hurd/fchdir.c: Likewise.
23854         * sysdeps/mach/hurd/rename.c: Likewise.
23855         * sysdeps/mach/hurd/rmdir.c: Likewise.
23856         * sysdeps/mach/hurd/seekdir.c: Likewise.
23857         * sysdeps/mach/hurd/setsid.c: Likewise.
23858         * sysdeps/posix/wait3.c: Likewise.
23860         * All files with FSF copyright notices: Update copyright dates
23861         using scripts/update-copyrights.
23862         * intl/plural.c: Regenerated.
23863         * locale/programs/charmap-kw.h: Likewise.
23864         * locale/programs/locfile-kw.h: Likewise.
23866 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23868         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23869         four values.
23871         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23872         calculation loop and add branch prediction.
23874         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23875         check access beyond bounds of m1np.
23877         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23878         MPTWO.
23879         (__inv): Remove local variable MPTWO to use the global
23880         constant.
23881         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23882         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23883         variable MPTWO.
23884         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23885         MP3HALFS static const.
23887 2013-01-01  David S. Miller  <davem@davemloft.net>
23889         * po/ca.po: Update from translation team.
23891 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
23893         * scripts/update-copyrights: New file.
23894         * Makeconfig: Reformat copyright notice.
23895         * ctype/ctype.h: Likewise.
23896         * debug/swprintf_chk.c: Likewise.
23897         * elf/dl-cache.c: Likewise.
23898         * elf/dl-debug.c: Likewise.
23899         * elf/dl-object.c: Likewise.
23900         * grp/initgroups.c: Likewise.
23901         * hurd/Makefile: Likewise.
23902         * hurd/hurd/signal.h: Likewise.
23903         * hurd/hurdfault.c: Likewise.
23904         * hurd/hurdioctl.c: Likewise.
23905         * hurd/hurdlookup.c: Likewise.
23906         * hurd/intr-msg.c: Likewise.
23907         * iconv/gconv_open.c: Likewise.
23908         * libio/swprintf.c: Likewise.
23909         * locale/lc-ctype.c: Likewise.
23910         * locale/nl_langinfo.c: Likewise.
23911         * mach/Machrules: Likewise.
23912         * mach/Makefile: Likewise.
23913         * malloc/obstack.h: Likewise.
23914         * manual/Makefile: Likewise.
23915         * manual/tsort.awk: Likewise.
23916         * misc/bits/stab.def: Likewise.
23917         * nis/nis_print_group_entry.c: Likewise.
23918         * nis/nis_table.c: Likewise.
23919         * nis/nss_compat/compat-pwd.c: Likewise.
23920         * nis/nss_compat/compat-spwd.c: Likewise.
23921         * po/Makefile: Likewise.
23922         * posix/fnmatch.c: Likewise.
23923         * posix/regex.h: Likewise.
23924         * resolv/Makefile: Likewise.
23925         * resolv/nss_dns/dns-network.c: Likewise.
23926         * resolv/res_hconf.c: Likewise.
23927         * scripts/gen-sorted.awk: Likewise.
23928         * soft-fp/soft-fp.h: Likewise.
23929         * stdio-common/printf.h: Likewise.
23930         * stdlib/monetary.h: Likewise.
23931         * stdlib/random.c: Likewise.
23932         * stdlib/random_r.c: Likewise.
23933         * sysdeps/generic/Makefile: Likewise.
23934         * sysdeps/gnu/Makefile: Likewise.
23935         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23936         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23937         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23938         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23939         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23940         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23941         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23942         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23943         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23944         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23945         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23946         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23947         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23948         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23949         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23950         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23951         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23952         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23953         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23954         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23955         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23956         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23957         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23958         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23959         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23960         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23961         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23962         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23963         * sysdeps/mach/hurd/errnos.awk: Likewise.
23964         * sysdeps/mach/hurd/fork.c: Likewise.
23965         * sysdeps/mach/hurd/getcwd.c: Likewise.
23966         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23967         * sysdeps/mach/hurd/mmap.c: Likewise.
23968         * sysdeps/mach/hurd/utimes.c: Likewise.
23969         * sysdeps/mach/hurd/xmknod.c: Likewise.
23970         * sysdeps/posix/profil.c: Likewise.
23971         * sysdeps/posix/readdir_r.c: Likewise.
23972         * sysdeps/powerpc/bits/mathdef.h: Likewise.
23973         * sysdeps/powerpc/bits/setjmp.h: Likewise.
23974         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23975         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23976         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23977         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23978         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23979         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23980         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23981         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23982         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23983         * sysdeps/pthread/lio_listio.c: Likewise.
23984         * sysdeps/sparc/dl-procinfo.h: Likewise.
23985         * sysdeps/unix/i386/sysdep.S: Likewise.
23986         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23987         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23988         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23989         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23991         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23992         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23993         * sysdeps/unix/sysv/linux/speed.c: Likewise.
23994         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23995         * sysdeps/wordsize-32/divdi3.c: Likewise.
23996         * time/sys/time.h: Likewise.
23997         * wcsmbs/Makefile: Likewise.
23999 2013-01-01  David S. Miller  <davem@davemloft.net>
24001         * po/fr.po: Update from translation team.
24003         * catgets/gencat.c: Update copyright year.
24004         * csu/version.c: Likewise.
24005         * debug/catchsegv.sh: Likewise.
24006         * debug/pcprofiledump.c: Likewise.
24007         * debug/xtrace.sh: Likewise.
24008         * elf/ldconfig.c: Likewise.
24009         * elf/ldd.bash.in: Likewise.
24010         * elf/pldd.c: Likewise.
24011         * elf/sotruss.ksh: Likewise.
24012         * elf/sprof.c: Likewise.
24013         * iconv/iconv_prog.c: Likewise.
24014         * iconv/iconvconfig.c: Likewise.
24015         * locale/programs/locale.c: Likewise.
24016         * locale/programs/localedef.c: Likewise.
24017         * login/programs/pt_chown.c: Likewise.
24018         * malloc/memusage.sh: Likewise.
24019         * malloc/memusagestat.c: Likewise.
24020         * malloc/mtrace.pl: Likewise.
24021         * nscd/nscd.c: Likewise.
24022         * nss/getent.c: Likewise.
24023         * nss/makedb.c: Likewise.
24024         * posix/getconf.c: Likewise.
24026 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24028         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24029         numbers.
24031 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
24033         * math/bits/mathcalls.h (modf): Use __nonnull.
24035 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24037         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24038         (split): Use macro CN instead of the bare value.
24039         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24040         could be used.
24041         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24042         instead of the bare value.
24043         (power1): Likewise.
24045 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24047         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24048         __ATAN_TWOM.
24049         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24051         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24052         their values.
24053         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24054         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24055         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24056         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24058 2012-12-28  Andreas Jaeger  <aj@suse.de>
24060         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
24061         values are from Linux 3.7.
24063         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24064         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
24066 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24068         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24069         TRUE case.
24071         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24072         (norm): Likewise.
24073         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24074         variables with preprocessor constants.
24075         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24076         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24077         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24079 2012-12-27  Bruno Haible  <bruno@clisp.org>
24081         [BZ #14317]
24082         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24083         only if needed.
24085 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24087         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24088         and use variable directly.
24089         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24091         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24092         MPONE.
24093         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24094         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24095         variable MPONE.
24096         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24097         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24098         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24099         include directive.  Remove local variable MPONE.
24100         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24101         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24102         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24104 2012-12-25  David S. Miller  <davem@davemloft.net>
24106         * version.h (RELEASE): Set to "development".
24107         (VERSION): Set to "2.17.90".
24108         * NEWS: Add 2.18 section.
24110 2012-12-21  David S. Miller  <davem@davemloft.net>
24112         * po/hr.po: Update from translation team.
24114 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24116         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24118 2012-12-19  Steve Ellcey  <sellcey@mips.com>
24120         * NEWS:  Mention new memcpy for MIPS.
24122 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24124         * manual/contrib.texi (Contributors): Spelling correction.
24126 2012-12-15  David S. Miller  <davem@davemloft.net>
24128         * po/ru.po: Update from translation team.
24130 2012-12-13  David S. Miller  <davem@davemloft.net>
24132         * NEWS: Mention IFUNC testsuite enhancements.
24134         * po/pl.po: Update from translation team.
24135         * po/bg.po: Likewise.
24137         * manual/contrib.texi (Contributors): Update entries for Hongjiu
24138         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
24140 2012-12-11  David S. Miller  <davem@davemloft.net>
24142         * po/sv.po: Update from translation team.
24144         * po/vi.po: Update from translation team.
24146         * po/cs.po: Update from translation team.
24148         * po/de.po: Update from translation team.
24149         * po/eo.po: Likewise.
24150         * po/nl.po: Likewise.
24152 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24154         [BZ #14246]
24155         * manual/argp.texi (Argp Helper Functions): Move node to follow
24156         Argp Parsing State.
24158         [BZ #14872]
24159         * manual/conf.texi (Limits on File System Capacity): Mention if
24160         terminating null is included in the max size.
24162 2012-12-10  Andreas Jaeger  <aj@suse.de>
24164         * po/cs.po: Update from translation team.
24166 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24168         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24169         void pointer and cast to uintptr_t.
24170         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24171         path.
24172         * sysdeps/s390/s390-64/memcpy.S: Likewise.
24173         * sysdeps/s390/s390-64/memset.S: Likewise.
24175 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
24177         [BZ #14833]
24178         * menual/message.texi (Message Translation): Fix typos.
24179         (Helper programs for gettext): Likewise.
24181 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
24183         [BZ #14898]
24184         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24185         Change to -1.
24187 2012-12-07  David S. Miller  <davem@davemloft.net>
24189         * po/libc.pot: Update.
24191 2012-12-07  Richard Henderson  <rth@redhat.com>
24193         [BZ #10114]
24194         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24195         normal/normal case to before the switch.
24196         (_FP_DIV): Likewise.
24198 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
24199             Mike Frysinger  <vapier@gentoo.org>
24201         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24202         check for __NR_fadvise64_64.
24204 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
24206         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24207         0, not just to plain "0" as a statement.
24208         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24209         with cw.
24211 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
24213         * NEWS: Use sourceware.org in Bugzilla URL.
24215 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24218         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24220         * stdio-common/tst-put-error.c (do_test): Add newline to the
24221         padded test to ensure flush.
24223 2012-12-05  Jeff Law  <law@redhat.com>
24225         * sunrpc/etc.rpc (fedfs_admin): Add entry.
24227 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
24229         * README: Don't refer to ports add-on as distributed separately.
24230         Mention AArch64 in list of systems supported in the ports add-on.
24232         * LICENSES: Add more non-FSF copyright and license notices.
24234         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24235         ((unused)).
24237         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24239         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24240         10000 as width of padded output.
24242 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24244         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24246         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24247         variable LX with __attribute__ ((unused)).
24248         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24249         Likewise.
24250         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24251         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24252         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24253         with __attribute__ ((unused)).
24255 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
24257         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24259 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24261         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24262         (CFLAGS-nldbl-acos.c): New variable.
24263         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24264         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24265         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24266         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24267         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24268         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24269         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24270         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24271         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24272         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24273         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24274         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24275         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24276         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24277         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24278         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24279         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24280         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24281         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24282         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24283         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24284         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24285         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24286         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24287         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24288         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24289         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24290         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24291         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24292         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24293         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24294         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24295         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24296         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24297         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24298         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24299         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24300         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24301         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24302         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24303         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24304         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24305         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24306         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24307         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24308         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24309         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24310         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24311         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24312         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24313         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24314         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24315         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24316         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24317         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24318         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24319         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24320         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24321         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24322         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24323         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24324         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24325         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24326         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24327         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24328         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24329         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24330         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24331         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24332         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24333         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24334         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24335         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24336         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24337         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24338         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24339         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24340         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24341         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24342         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24343         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24344         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24345         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24346         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24347         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24348         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24349         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24350         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24351         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24352         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24353         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24354         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24355         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24356         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24357         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24358         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24359         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24362         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24364         [BZ #14914]
24365         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24366         whole low double instead of just low 47 bits when splitting values
24367         into two parts.
24369 2012-12-03  Allan McRae  <allan@archlinux.org>
24371         * manual/stdio.texi (Predefined Printf Handlers): Remove
24372         @hsep and @vsep usage.
24374 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
24376         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24377         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24379 2012-12-03  Jeff Law  <law@redhat.com>
24381         * time/sys/time.h (settimeofday): Do not mark TV argument
24382         as __nonnull.
24384 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
24386         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24387         when currently writing and seek to current position when not.
24388         * libio/Makefile (tests): Remove bug-fclose1.
24389         * libio/bug-fclose1.c: Delete.
24391 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
24393         * manual/arith.texi (feenableexcept): Fix typo.
24394         (fedisableexcept): Likewise.
24396 2012-11-30  Roland McGrath  <roland@hack.frob.com>
24398         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24399         second, differently-typed declaration, rather than a cast.
24401 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24403         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24404         * include/rpc/svc.h: ... here.
24406 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
24408         [BZ #13013]
24409         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24410         depending n and resplen2 to catch cases where answer
24411         equals answerp2.
24413 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
24415         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24416         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24418 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
24420         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24422 2012-11-29  Roland McGrath  <roland@hack.frob.com>
24424         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24426 2012-11-28  Jeff Law  <law@redhat.com>
24428         [BZ #13761]
24429         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24430         dataset_temporary.  Track alloca usage into alloca_used.
24431         If dataset is large allocate and release it via malloc/free.
24433 2012-06-04  Florian Weimer  <fweimer@redhat.com>
24435         [BZ #14197]
24436         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24438 2012-11-28  David S. Miller  <davem@davemloft.net>
24440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24442 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
24444         [BZ #14803]
24445         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24446         of pi/2 rounded to nearest to 64 bits.
24447         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24448         nearest to 64 bits.
24449         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24450         bits.
24452 2012-11-28  Jeff Law <law@redhat.com>
24453             Martin Osvald <mosvald@redhat.com>
24455         [BZ #14889]
24456         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24457         * sunrpc/svc.c: Include time.h.
24458         (__svc_accept_failed): New function.
24459         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24460         any reason other than EINTR, call __svc_accept_failed.
24461         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24462         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24464 2012-11-28  Andreas Schwab  <schwab@suse.de>
24466         * scripts/abilist.awk: Also handle indirect functions in .opd
24467         section.
24469 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
24471         [BZ #13881]
24472         * sysdeps/x86/fpu/powl_helper.c: New file.
24473         * sysdeps/x86/fpu/Makefile: Likewise.
24474         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24475         (p3): New object.
24476         (__ieee754_powl): Use __powl_helper for finite arguments except
24477         integer exponents below 8.
24478         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24479         (p3): New object.
24480         (__ieee754_powl): Use __powl_helper for finite arguments except
24481         integer exponents below 8.
24482         * math/libm-test.inc (pow_test): Add more tests and enable some
24483         previously disabled tests.
24484         * sysdeps/i386/fpu/libm-test-ulps: Update.
24485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24487 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24488             Carlos O'Donell  <carlos_odonell@mentor.com>
24490         * nss/makedb.c (is_prime): Assert that input is odd and greater
24491         than 4.  Note that fact in a comment too.
24492         (next_prime): Add 4 to input.
24494 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24496         [BZ #11741]
24497         * libio/Makefile (tests): Add test case tst-fwrite-error.
24498         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24499         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24500         * libio/tst-fwrite-error.c: New test case.
24502 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
24504         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24505         before casting to void *.
24506         * include/libc-internal.h (__pointer_type): New macro.
24507         (__integer_if_pointer_type_sub): Likewise.
24508         (__integer_if_pointer_type): Likewise.
24509         (cast_to_integer): Likewise.
24510         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24511         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24512         before casting to atomic64_t.
24513         (atomic_exchange_acq): Likewise.
24514         (__arch_exchange_and_add_body): Likewise.
24515         (__arch_add_body): Likewise.
24516         (atomic_add_negative): Likewise.
24517         (atomic_add_zero): Likewise.
24519 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
24521         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24522         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24523         (add_fdes): Likewise.
24524         (linear_search_fdes): Likewise.
24525         (binary_search_unencoded_fdes): Likewise.
24527 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
24529         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24531 2012-11-24  Adam Conrad  <adconrad@0c3.net>
24533         * configure.in: Autodetect C++ header directories.
24534         * configure: Regenerated.
24536 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
24538         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24540 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
24542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24544 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
24546         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24547         LDBL_MANT_DIG == 106]: Disable some tests.
24548         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24549         Likewise.
24550         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24551         Likewise.
24553         [BZ #14871]
24554         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24555         input for small inputs.  Return +/- pi/2 for large inputs.
24556         * math/libm-test.inc (atan_test): Add more tests.
24558         * sysdeps/generic/unwind-dw2-fde-glibc.c
24559         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24560         __attribute__ ((unused)).
24562         [BZ #14645]
24563         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24564         x * y if x and y are nonzero and z is zero.
24566         [BZ #14811]
24567         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24568         nonzero exponents with absolute value below 0x1p-117 to +/-
24569         0x1p-117.
24571         [BZ #14869]
24572         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24573         up arguments below 2**-450, not just those below 2**-500.
24574         * math/libm-test.inc (hypot_test): Add another test.
24576         [BZ #14868]
24577         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24578         Return a+b for ratio over 2**120, not 2**60.
24579         * math/libm-test.inc (hypot_test): Add another test.
24581         * math/libm-test.inc (clog_test): Use
24582         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24583         (clog10_test): Likewise.
24585         [BZ #6778]
24586         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24588 2012-11-22  Andreas Schwab  <schwab@suse.de>
24590         * sysdeps/i386/fpu/libm-test-ulps: Update.
24592 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
24594         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24595         printf output with newline.
24597 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
24599         [BZ #14865]
24600         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24601         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24602         -z nodlopen, -z initfirst and -z execstack support.
24603         * configure: Regenerated.
24605         * elf/elf.h (DF_1_NODIRECT): New macro.
24606         (DF_1_IGNMULDEF): Likewise.
24607         (DF_1_NOKSYMS): Likewise.
24608         (DF_1_NOHDR): Likewise.
24609         (DF_1_EDITED): Likewise.
24610         (DF_1_NORELOC): Likewise.
24611         (DF_1_SYMINTPOSE): Likewise.
24612         (DF_1_GLOBAUDIT): Likewise.
24613         (DF_1_SINGLETON): Likewise.
24614         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24615         DT_1_SUPPORTED_MASK bits.
24616         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24618 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
24620         * sysdeps/unix/make-syscalls.sh: Document prefixes.
24622 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
24624         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24625         macro.
24627         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24628         (sendmmsg): Move declarations...
24629         * socket/sys/socket.h: ... here.
24630         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24631         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24632         include it from...
24633         * socket/recvmmsg.c: ... this new file.
24634         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24635         (sendmmsg): Rename to __sendmmsg, create weak alias and make
24636         definition of __sendmmsg hidden.
24637         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24638         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24639         Move ENOSYS stub into and include it from...
24640         * socket/sendmmsg.c: ... this new file.
24641         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24642         (sysdep_routines): Move recvmmsg and sendmmsg...
24643         * socket/Makefile (routines): ... here.
24644         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24645         (GLIBC_PRIVATE): Add __sendmmsg.
24646         * include/sys/socket.h (__sendmmsg): Add declarations.
24647         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24648         sendmmsg.
24650 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
24652         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24653         variable I1 with __attribute__ ((unused)).
24654         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24656 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
24658         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24659         DUMMY variables with __attribute__ ((unused)).
24661         * bits/byteswap.h: Include <bits/types.h>.
24662         (__bswap_64): Use __uint64_t instead of unsigned long long int.
24664 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
24666         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24667         string_t.  Do not manually set errno.
24668         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24669         length with __strnlen.  Make sure to both set errno and return it on
24670         failure.
24672 2012-11-19  David S. Miller  <davem@davemloft.net>
24674         With help from Joseph Myers.
24675         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24676         very large arguments properly.
24677         * math/libm-test.inc (atan_test): New tests.
24678         (atan2_test): New tests.
24679         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24680         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24682 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
24684         [BZ #14856]
24685         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24686         Define to 3.
24688         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24689         [POSIX] (EADDRNOTAVAIL): Likewise.
24690         [POSIX] (EAFNOSUPPORT): Likewise.
24691         [POSIX] (EALREADY): Likewise.
24692         [POSIX] (ECONNABORTED): Likewise.
24693         [POSIX] (ECONNREFUSED): Likewise.
24694         [POSIX] (ECONNRESET): Likewise.
24695         [POSIX] (EDESTADDRREQ): Likewise.
24696         [POSIX] (EDQUOT): Likewise.
24697         [POSIX] (EHOSTUNREACH): Likewise.
24698         [POSIX] (EIDRM): Likewise.
24699         [POSIX] (EISCONN): Likewise.
24700         [POSIX] (ELOOP): Likewise.
24701         [POSIX] (EMULTIHOP): Likewise.
24702         [POSIX] (ENETDOWN): Likewise.
24703         [POSIX] (ENETUNREACH): Likewise.
24704         [POSIX] (ENOBUFS): Likewise.
24705         [POSIX] (ENODATA): Likewise.
24706         [POSIX] (ENOLINK): Likewise.
24707         [POSIX] (ENOMSG): Likewise.
24708         [POSIX] (ENOPROTOOPT): Likewise.
24709         [POSIX] (ENOSR): Likewise.
24710         [POSIX] (ENOSTR): Likewise.
24711         [POSIX] (ENOTCONN): Likewise.
24712         [POSIX] (ENOTSOCK): Likewise.
24713         [POSIX] (EOPNOTSUPP): Likewise.
24714         [POSIX] (EOVERFLOW): Likewise.
24715         [POSIX] (EPROTO): Likewise.
24716         [POSIX] (EPROTONOSUPPORT): Likewise.
24717         [POSIX] (EPROTOTYPE): Likewise.
24718         [POSIX] (ESTALE): Likewise.
24719         [POSIX] (ETIME): Likewise.
24720         [POSIX] (ETXTBSY): Likewise.
24721         [POSIX] (EWOULDBLOCK): Likewise.
24722         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24723         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24724         [POSIX] (SEEK_CUR): Likewise.
24725         [POSIX] (SEEK_END): Likewise.
24726         [POSIX || UNIX98] (mode_t): Do not require.
24727         [POSIX] (off_t): Likewise.
24728         [POSIX] (pid_t): Likewise.
24729         [POSIX] (sys/stat.h): Do not allow header.
24730         [POSIX] (unistd.h): Likewise.
24731         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24732         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24733         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24734         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24735         require.
24736         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24737         sigevent): Specify elements.
24738         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24739         entry.
24740         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24741         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24743         * conform/data/cpio.h-data [POSIX]: Disable whole file.
24744         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24745         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24746         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24747         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24748         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24749         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24750         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24751         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24752         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24753         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24754         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24755         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24756         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24757         Likewise.
24758         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24759         Likewise.
24760         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24761         Likewise.
24762         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24763         Likewise.
24764         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24765         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24766         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24767         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24768         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24769         Specify lower bound on value.
24770         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24771         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24772         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24773         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24774         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24775         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24776         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24777         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24778         value.
24779         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24780         as optional.
24781         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24782         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24783         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24784         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24785         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24786         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24787         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24788         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24789         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24790         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24791         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24792         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24793         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24794         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24795         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24796         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24797         entry.
24798         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24799         optional.
24800         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24801         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24802         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24803         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24804         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24805         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24806         Likewise.
24807         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24808         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24809         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24810         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24811         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
24812         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24813         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24814         as optional.
24815         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24816         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24817         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24818         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24819         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24820         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24821         specify as optional.
24822         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24823         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24824         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24825         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24826         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24827         [XPG3] (NL_LANGMAX): Likewise.
24828         [POSIX || XPG3] (NL_MSGMAX): Likewise.
24829         [POSIX || XPG3] (NL_NMAX): Likewise.
24830         [POSIX || XPG3] (NL_SETMAX): Likewise.
24831         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24832         [XPG3] (NZERO): Likewise.
24833         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24834         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24835         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24836         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24837         (REG_ERANGE): Expect.
24838         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24839         optional-constant.
24840         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24841         Use (void) in prototype.
24842         [POSIX] (*_t): Allow.
24843         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24844         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24845         (WRDE_BADVAL): Expect.
24847         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24848         expect.
24849         [XPG3 || XPG4] (O_RSYNC): Likewise.
24850         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24851         Likewise.
24852         [XPG3 || XPG4] (pthread_sigmask): Likewise.
24853         [XPG3 || XPG4] (sigqueue): Likewise.
24854         [XPG3 || XPG4] (sigtimedwait): Likewise.
24855         [XPG3 || XPG4] (sigwaitinfo): Likewise.
24856         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24857         [XPG3 || XPG4] (vsnprintf): Likewise.
24858         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24859         Likewise.
24860         [XPG3 || XPG4] (blksize_t): Likewise.
24861         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24862         Likewise.
24863         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24864         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24865         [XPG3 || XPG4] (struct itimerspec): Likewise.
24866         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24867         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24868         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24869         [XPG3 || XPG4] (clockid_t): Likewise.
24870         [XPG3 || XPG4] (timer_t): Likewise.
24871         [XPG3 || XPG4] (clock_getres): Likewise.
24872         [XPG3 || XPG4] (clock_gettime): Likewise.
24873         [XPG3 || XPG4] (clock_settime): Likewise.
24874         [XPG3 || XPG4] (nanosleep): Likewise.
24875         [XPG3 || XPG4] (timer_create): Likewise.
24876         [XPG3 || XPG4] (timer_delete): Likewise.
24877         [XPG3 || XPG4] (timer_gettime): Likewise.
24878         [XPG3 || XPG4] (timer_getoverrun): Likewise.
24879         [XPG3 || XPG4] (timer_settime): Likewise.
24880         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24881         [XPG3 || XPG4] (getlogin_r): Likewise.
24882         [XPG3 || XPG4] (pread): Likewise.
24883         [XPG3 || XPG4] (pthread_atfork): Likewise.
24884         [XPG3 || XPG4] (pwrite): Likewise.
24886         [BZ #14835]
24887         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24888         <bits/siginfo.h>.
24890 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
24892         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24893         finalizing MALLSTREAM.
24895         * sysdeps/mach/hurd/syncfs.c: New file.
24897 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24899         [BZ #14719]
24900         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24901         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24902         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24903         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24904         (_nss_dns_gethostbyname4_r): Likewise.
24905         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24906         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24908 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
24910         [BZ #13763]
24911         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24913 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
24915         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24916         * elf/cache.c (print_entry): Print ",AArch64" for
24917         FLAG_AARCH64_LIB64
24919         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24920         * elf/cache.c (print_entry): Print ",hard-float" for
24921         FLAG_ARM_LIBHF.
24923 2012-11-18  David S. Miller  <davem@davemloft.net>
24925         With help from Joseph Myers.
24926         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24927         cutoff to 2**-13.
24928         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24929         cutoff to 2**-25.
24930         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24931         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24932         small.
24933         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24934         * math/libm-test.inc (y0_test): New tests.
24935         (y1_test): New tests.
24936         * sysdeps/i386/fpu/libm-test-ulps: Update.
24937         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24938         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24940 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
24942         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24943         64-bit targets.
24944         * configure: Regenerated.
24946 2012-11-17  David S. Miller  <davem@davemloft.net>
24948         [BZ #14811]
24949         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24950         nonzero exponents with absolute value below 0x1p-128 to +/-
24951         0x1p-128.
24953 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
24955         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24957         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24959         * posix/getconf-speclist.c: New file.
24960         * posix/posix-envs.def: Likewise.
24961         * posix/confstr.c (START_ENV_GROUP): New macro.
24962         (END_ENV_GROUP): Likewise.
24963         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24964         (KNOWN_PRESENT_ENV_STRING): Likewise.
24965         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24966         (UNKNOWN_ENVIRONMENT): Likewise.
24967         (confstr): Include posix-envs.def instead of handling
24968         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24969         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24970         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24971         (END_ENV_GROUP): Likewise.
24972         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24973         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24974         (UNKNOWN_ENVIRONMENT): Likewise.
24975         (__sysconf): Include posix-envs.def instead of handling associated
24976         cases directly here.
24977         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24978         preprocessing getconf-speclist.c rather than running getconf or
24979         generating empty file.
24981 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
24983         * scripts/check-local-headers.sh: Ignore 'mach' headers.
24985 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
24987         [BZ #14672]
24988         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24990 2012-11-16  David S. Miller  <davem@davemloft.net>
24992         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24993         smaller than LDBL_EPSILON/2.0L, just return xm1.
24995 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
24997         * elf/tst-array1.c (init): Set constructor priority to 1000.
24998         (fini): Set destructor priority to 1000.
24999         * elf/tst-array2dep.c: Likewise.
25001 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25003         [BZ #11741]
25004         * libio/fileops.c (_IO_new_file_write): Correctly return error.
25005         (_IO_new_file_xsputn): Also return EOF if none of the input
25006         data was written when overflow failed.
25007         * libio/iopadn.c (_IO_padn): Likewise.
25008         * libio/iowpadn.c (_IO_wpadn): Likewise.
25009         * stdio-common/tst-put-error.c: Add copyright notice.
25010         (do_test): Add case for printing padded string.
25011         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25012         _IO_padn returned error.
25013         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25014         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25015         return EOF.
25017 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25019         * libio/libioP.h: Add comment note that the references to C++
25020         bits are now obsolete.
25022 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25024         * math/libm-test.inc (check_complex): Use asprintf.
25026 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
25028         * debug/pcprofiledump.c (print_version): Update copyright year.
25029         * malloc/memusagestat.c (print_version): Likewise.
25031 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
25033         [BZ #14831]
25034         * elf/Makefile (tests): Add tst-audit8.
25035         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25036         ($(objpfx)tst-audit8.out): New target.
25037         (tst-audit8-ENV): New variable.
25038         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25039         audit if l_reloc_result is NULL.
25040         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25041         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25042         * elf/tst-audit8.c: New file.
25044 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25046         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25047         * misc/Makefile (CFLAGS-select.c): Define.
25048         * posix/Makefile (CFLAGS-pause.c): Define.
25050 2012-11-13  David S. Miller  <davem@davemloft.net>
25052         * crypt/Makefile: Move test targets after toplevel Rules
25053         inclusion.  Grab any necessary sysdep routines when linking.
25054         * crypt/md5.c (md5_process_block): Remove define, we will always
25055         name it __md5_process_block.
25056         (md5_finish_ctx): Update md5_process_block call.
25057         (md5_stream): Likewise.
25058         (md5_process_bytes): Likewise.
25059         (md5_process_block): Rename to __md5_process_block and move to ...
25060         * crypt/md5-block.c: ... here.
25061         * crypt/sha256.c (sha256_process_block): Move to ...
25062         * crypt/sha256-block.c: ... here.
25063         * crypt/sha512.c (sha512_process_block): Move to ...
25064         * crypt/sha512-block.c: ... here.
25065         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25066         path.
25067         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25068         * sysdeps/sparc/sparc64/multiarch/Makefile
25069         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25070         crypt subdir.
25071         (localedef-aux): Add md5 crypto assembler when in locale subdir.
25072         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25073         multiarch changes.
25074         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25075         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25076         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25077         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25078         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25079         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25080         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25081         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25082         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25083         file.
25084         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25085         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25086         file.
25087         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25089 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
25091         * timezone/tzselect.ksh: Update from tzcode git revision
25092         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25093         * timezone/zdump.c: Likewise.
25094         * timezone/zic.c: Likewise.
25095         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25096         in TZVERSION setting, not $(PKGVERSION).
25097         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
25098         REPORT_BUGS_TO settings.
25100         [BZ #14838]
25101         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25102         macro.
25104 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25106         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25107         detection to immediately after _FP_ROUND().
25108         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25109         bits are 0.
25111 2012-11-11  David S. Miller  <davem@davemloft.net>
25113         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25114         inttypes.h
25115         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25116         __close rather than their public counterparts.
25118 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
25120         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25121         file.
25122         [UNIX98] (sem_timedwait): Do not expect.
25123         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25124         [XPG4 || UNIX98] (sockatmark): Do not expect.
25125         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25126         (clock_getcpuclockid): Do not expect.
25127         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25128         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25129         Do not expect.
25130         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25131         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25132         [UNIX98] (vwscanf): Likewise.
25133         [UNIX98] (vswscanf): Likewise.
25135 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
25137         * timezone/version.h: Remove file.
25138         * timezone/README: Do not refer to version.h.
25139         * timezone/Makefile ($(objpfx)zic.o): New dependency on
25140         $(objpfx)version.h.
25141         ($(objpfx)zdump.o): Likewise.
25142         ($(objpfx)version.h): New target.
25144         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25145         2012i.
25146         * timezone/README: Don't mention modification to tzselect.ksh.
25147         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25148         work on unmodified tzselect.ksh.  Substitute version numbers in
25149         tzselect.ksh.
25151         * Makefile (format-me): Remove.
25152         (INSTALL): Adjust indentation.  Use commands directly instead of
25153         using $(format-me).
25155         * aclocal.m4 (ACX_PKGVERSION): New macro.
25156         (ACX_BUGURL): Likewise.
25157         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25158         (PKGVERSION): New AC_DEFINE_UNQUOTED.
25159         (REPORT_BUGS_TO): Likewise.
25160         * configure: Regenerated.
25161         * config.h.in (PKGVERSION): New macro.
25162         (REPORT_BUGS_TO): Likewise.
25163         * config.make.in (PKGVERSION): New variable.
25164         (PKGVERSION_TEXI): Likewise.
25165         (REPORT_BUGS_TO): Likewise.
25166         (REPORT_BUGS_TEXI): Likewise.
25167         * Makefile (format-me): Use -I$(common-objpfx)manual.
25168         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25169         ($(common-objpfx)manual/%): New target.
25170         (manual/%): Remove target.
25171         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25172         (print_version): Use PKGVERSION.
25173         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25174         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25175         and REPORT_BUGS_TO.
25176         ($(objpfx)xtrace): Likewise.
25177         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25178         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25179         (print_version): Use PKGVERSION.
25180         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25181         (do_version): Use PKGVERSION.
25182         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25183         REPORT_BUGS_TO.
25184         (common-ldd-rewrite): Likewise.
25185         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25186         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25187         (print_version): Use PKGVERSION.
25188         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25189         * elf/pldd.c (argp_program_bug_address): Remove variable.
25190         (more_help): New function.
25191         (argp): Use more_help.
25192         (print_version): Use PKGVERSION.
25193         * elf/sln.c (main): Use PKGVERSION.
25194         (usage): Use REPORT_BUGS_TO.
25195         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25196         (top level): Use PKGVERSION.
25197         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25198         (print_version): Use PKGVERSION.
25199         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25200         (print_version): Use PKGVERSION.
25201         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25202         (print_version): Use PKGVERSION.
25203         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25204         (print_version): Use PKGVERSION.
25205         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25206         (print_version): Use PKGVERSION.
25207         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25208         (print_version): Use PKGVERSION.
25209         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25210         and BUGURL.
25211         ($(objpfx)memusage): Likewise.
25212         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25213         (do_version): Use PKGVERSION.
25214         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25215         (print_version): Use PKGVERSION.
25216         * malloc/mtrace.pl ($PACKAGE): Remove variable.
25217         ($PKGVERSION): New variable.
25218         ($REPORT_BUGS_TO): Likewise.
25219         (usage): Use $REPORT_BUGS_TO.
25220         (top level): Use $PKGVERSION.
25221         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25222         ($(objpfx)pkgvers.texi): New rule.
25223         ($(objpfx)stamp-pkgvers): Likewise.
25224         * manual/install.texi: Include pkgvers.texi.
25225         (--with-pkgversion): Document new configure option.
25226         (--with-bugurl): Likewise.
25227         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25228         than necessarily for this particular distribution.  Use
25229         REPORT_BUGS_TO for where to report bugs.
25230         * INSTALL: Regenerated.
25231         * manual/libc.texinfo: Include pkgvers.texi.
25232         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25233         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25234         (print_version): Use PKGVERSION.
25235         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25236         (print_version): Use PKGVERSION.
25237         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25238         (print_version): Use PKGVERSION.
25239         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25240         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25241         macro.
25242         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25243         (print_version): Use PKGVERSION.
25244         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25245         (print_version): Use PKGVERSION.
25246         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25247         and PKGVERSION.
25249         * timezone/checktab.awk: Update from tzcode 2012i.
25250         * timezone/ialloc.c: Likewise.
25251         * timezone/private.h: Likewise.
25252         * timezone/scheck.c: Likewise.
25253         * timezone/tzfile.h: Likewise.
25254         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25255         (TZVERSION): Hardcode tzcode version number.
25256         * timezone/zdump.c: Update from tzcode 2012i.
25257         * timezone/zic.c: Likewise.
25258         * timezone/version.h: New file.
25259         * timezone/README: Describe version.h.  Update upstream location.
25261         [BZ #14824]
25262         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25263         (mktemp): Enable declaration.
25264         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25265         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25266         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25267         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25268         Likewise.
25269         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25270         Likewise.
25271         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25272         Likewise.
25273         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25274         Likewise.
25275         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25276         Likewise.
25277         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25278         Likewise.
25280         [BZ #14821]
25281         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25282         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
25283         for copies of such integer values.
25284         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25285         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25287 2012-11-09  Andreas Jaeger  <aj@suse.de>
25289         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25290         definitions and declarations that are provided by
25291         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25293 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25295         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25296         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25297         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25298         definition.
25300 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25302         * elf/elf.h: Update comment before AArch64 relocations.
25304 2012-11-07  David S. Miller  <davem@davemloft.net>
25306         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25307         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25308         (__start_context): Declare.
25309         (__makecontext_ret): Delete.
25310         (__makecontext): Hook up __start_context instead of
25311         __makecontext_ret.
25312         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25313         (sysdep_routines): Add __start_context when in stdlib.
25315 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25317         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25318         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25319         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
25320         hardcoded "nm".
25321         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
25322         (READELF): New variable.  Use it instead of hardcoded "readelf".
25324 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25326         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25327         * sysdeps/x86/Makefile: Here.
25328         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25329         * sysdeps/x86/tst-xmmymm.sh: This.
25331 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25333         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25334         expectations.
25335         [UNIX98] (pthread_barrier_t): Do not expect.
25336         [UNIX98] (pthread_barrierattr_t): Likewise.
25337         [UNIX98] (pthread_spinlock_t): Likewise.
25338         [UNIX98] (pthread_barrier_destroy): Likewise.
25339         [UNIX98] (pthread_barrier_init): Likewise.
25340         [UNIX98] (pthread_barrier_wait): Likewise.
25341         [UNIX98] (pthread_barrierattr_destroy): Likewise.
25342         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25343         [UNIX98] (pthread_barrierattr_init): Likewise.
25344         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25345         [UNIX98] (pthread_getcpuclockid): Likewise.
25346         [UNIX98] (pthread_mutex_timedlock): Likewise.
25347         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25348         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25349         [UNIX98] (pthread_sigmask): Likewise.
25350         [UNIX98] (pthread_spin_destroy): Likewise.
25351         [UNIX98] (pthread_spin_init): Likewise.
25352         [UNIX98] (pthread_spin_lock): Likewise.
25353         [UNIX98] (pthread_spin_trylock): Likewise.
25354         [UNIX98] (pthread_spin_unlock): Likewise.
25355         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25356         Do not expect.
25357         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25358         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25359         [XPG3 || XPG4] (pthread_cond_t): Likewise.
25360         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25361         [XPG3 || XPG4] (pthread_key_t): Likewise.
25362         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25363         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25364         [XPG3 || XPG4] (pthread_once_t): Likewise.
25365         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25366         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25367         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25368         [XPG3 || XPG4] (pthread_t): Likewise.
25370         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25371         not expect.
25372         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25374         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25375         Change function return type to int.
25377         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25378         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25379         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25380         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25381         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25382         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25383         [!POSIX] (posix_madvise): Likewise.
25384         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25385         && !UNIX98].
25386         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25387         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25388         (mode_t): Likewise.
25389         (posix_mem_offset): Likewise.
25390         (posix_typed_mem_get_info): Likewise.
25391         (posix_typed_mem_open): Likewise.
25393         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25394         Change condition to [XOPEN2K8].
25396         * conform/conformtest.pl: Preprocess allow-header data with -x c
25397         instead of from stdin.
25398         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25399         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25400         [C99-based standards] (cerfc): Likewise.
25401         [C99-based standards] (cexp2): Likewise.
25402         [C99-based standards] (cexpm1): Likewise.
25403         [C99-based standards] (clog10): Likewise.
25404         [C99-based standards] (clog1p): Likewise.
25405         [C99-based standards] (clog2): Likewise.
25406         [C99-based standards] (clgamma): Likewise.
25407         [C99-based standards] (ctgamma): Likewise.
25408         [C99-based standards] (cerff): Likewise.
25409         [C99-based standards] (cerfcf): Likewise.
25410         [C99-based standards] (cexp2f): Likewise.
25411         [C99-based standards] (cexpm1f): Likewise.
25412         [C99-based standards] (clog10f): Likewise.
25413         [C99-based standards] (clog1pf): Likewise.
25414         [C99-based standards] (clog2f): Likewise.
25415         [C99-based standards] (clgammaf): Likewise.
25416         [C99-based standards] (ctgammaf): Likewise.
25417         [C99-based standards] (cerfl): Likewise.
25418         [C99-based standards] (cerfcl): Likewise.
25419         [C99-based standards] (cexp2l): Likewise.
25420         [C99-based standards] (cexpm1l): Likewise.
25421         [C99-based standards] (clog10l): Likewise.
25422         [C99-based standards] (clog1pl): Likewise.
25423         [C99-based standards] (clog2l): Likewise.
25424         [C99-based standards] (clgammal): Likewise.
25425         [C99-based standards] (ctgammal): Likewise.
25426         * conform/data/inttypes.h-data [C99-based standards]: Include
25427         stdint.h-data.  Remove all expectations for stdint.h contents.
25428         [C99-based standards] (PRI*): Do not allow.
25429         [C99-based standards] (SCN*): Likewise.
25430         [C99-based standards] (*_t): Likewise.
25431         [C99-based-standards] (PRId8): Expect macro.
25432         [C99-based-standards] (PRIi8): Likewise.
25433         [C99-based-standards] (PRIo8): Likewise.
25434         [C99-based-standards] (PRIu8): Likewise.
25435         [C99-based-standards] (PRIx8): Likewise.
25436         [C99-based-standards] (PRIX8): Likewise.
25437         [C99-based-standards] (SCNd8): Likewise.
25438         [C99-based-standards] (SCNi8): Likewise.
25439         [C99-based-standards] (SCNo8): Likewise.
25440         [C99-based-standards] (SCNu8): Likewise.
25441         [C99-based-standards] (SCNx8): Likewise.
25442         [C99-based-standards] (PRIdLEAST8): Likewise.
25443         [C99-based-standards] (PRIiLEAST8): Likewise.
25444         [C99-based-standards] (PRIoLEAST8): Likewise.
25445         [C99-based-standards] (PRIuLEAST8): Likewise.
25446         [C99-based-standards] (PRIxLEAST8): Likewise.
25447         [C99-based-standards] (PRIXLEAST8): Likewise.
25448         [C99-based-standards] (SCNdLEAST8): Likewise.
25449         [C99-based-standards] (SCNiLEAST8): Likewise.
25450         [C99-based-standards] (SCNoLEAST8): Likewise.
25451         [C99-based-standards] (SCNuLEAST8): Likewise.
25452         [C99-based-standards] (SCNxLEAST8): Likewise.
25453         [C99-based-standards] (PRIdFAST8): Likewise.
25454         [C99-based-standards] (PRIiFAST8): Likewise.
25455         [C99-based-standards] (PRIoFAST8): Likewise.
25456         [C99-based-standards] (PRIuFAST8): Likewise.
25457         [C99-based-standards] (PRIxFAST8): Likewise.
25458         [C99-based-standards] (PRIXFAST8): Likewise.
25459         [C99-based-standards] (SCNdFAST8): Likewise.
25460         [C99-based-standards] (SCNiFAST8): Likewise.
25461         [C99-based-standards] (SCNoFAST8): Likewise.
25462         [C99-based-standards] (SCNuFAST8): Likewise.
25463         [C99-based-standards] (SCNxFAST8): Likewise.
25464         [C99-based-standards] (PRId16): Likewise.
25465         [C99-based-standards] (PRIi16): Likewise.
25466         [C99-based-standards] (PRIo16): Likewise.
25467         [C99-based-standards] (PRIu16): Likewise.
25468         [C99-based-standards] (PRIx16): Likewise.
25469         [C99-based-standards] (PRIX16): Likewise.
25470         [C99-based-standards] (SCNd16): Likewise.
25471         [C99-based-standards] (SCNi16): Likewise.
25472         [C99-based-standards] (SCNo16): Likewise.
25473         [C99-based-standards] (SCNu16): Likewise.
25474         [C99-based-standards] (SCNx16): Likewise.
25475         [C99-based-standards] (PRIdLEAST16): Likewise.
25476         [C99-based-standards] (PRIiLEAST16): Likewise.
25477         [C99-based-standards] (PRIoLEAST16): Likewise.
25478         [C99-based-standards] (PRIuLEAST16): Likewise.
25479         [C99-based-standards] (PRIxLEAST16): Likewise.
25480         [C99-based-standards] (PRIXLEAST16): Likewise.
25481         [C99-based-standards] (SCNdLEAST16): Likewise.
25482         [C99-based-standards] (SCNiLEAST16): Likewise.
25483         [C99-based-standards] (SCNoLEAST16): Likewise.
25484         [C99-based-standards] (SCNuLEAST16): Likewise.
25485         [C99-based-standards] (SCNxLEAST16): Likewise.
25486         [C99-based-standards] (PRIdFAST16): Likewise.
25487         [C99-based-standards] (PRIiFAST16): Likewise.
25488         [C99-based-standards] (PRIoFAST16): Likewise.
25489         [C99-based-standards] (PRIuFAST16): Likewise.
25490         [C99-based-standards] (PRIxFAST16): Likewise.
25491         [C99-based-standards] (PRIXFAST16): Likewise.
25492         [C99-based-standards] (SCNdFAST16): Likewise.
25493         [C99-based-standards] (SCNiFAST16): Likewise.
25494         [C99-based-standards] (SCNoFAST16): Likewise.
25495         [C99-based-standards] (SCNuFAST16): Likewise.
25496         [C99-based-standards] (SCNxFAST16): Likewise.
25497         [C99-based-standards] (PRId32): Likewise.
25498         [C99-based-standards] (PRIi32): Likewise.
25499         [C99-based-standards] (PRIo32): Likewise.
25500         [C99-based-standards] (PRIu32): Likewise.
25501         [C99-based-standards] (PRIx32): Likewise.
25502         [C99-based-standards] (PRIX32): Likewise.
25503         [C99-based-standards] (SCNd32): Likewise.
25504         [C99-based-standards] (SCNi32): Likewise.
25505         [C99-based-standards] (SCNo32): Likewise.
25506         [C99-based-standards] (SCNu32): Likewise.
25507         [C99-based-standards] (SCNx32): Likewise.
25508         [C99-based-standards] (PRIdLEAST32): Likewise.
25509         [C99-based-standards] (PRIiLEAST32): Likewise.
25510         [C99-based-standards] (PRIoLEAST32): Likewise.
25511         [C99-based-standards] (PRIuLEAST32): Likewise.
25512         [C99-based-standards] (PRIxLEAST32): Likewise.
25513         [C99-based-standards] (PRIXLEAST32): Likewise.
25514         [C99-based-standards] (SCNdLEAST32): Likewise.
25515         [C99-based-standards] (SCNiLEAST32): Likewise.
25516         [C99-based-standards] (SCNoLEAST32): Likewise.
25517         [C99-based-standards] (SCNuLEAST32): Likewise.
25518         [C99-based-standards] (SCNxLEAST32): Likewise.
25519         [C99-based-standards] (PRIdFAST32): Likewise.
25520         [C99-based-standards] (PRIiFAST32): Likewise.
25521         [C99-based-standards] (PRIoFAST32): Likewise.
25522         [C99-based-standards] (PRIuFAST32): Likewise.
25523         [C99-based-standards] (PRIxFAST32): Likewise.
25524         [C99-based-standards] (PRIXFAST32): Likewise.
25525         [C99-based-standards] (SCNdFAST32): Likewise.
25526         [C99-based-standards] (SCNiFAST32): Likewise.
25527         [C99-based-standards] (SCNoFAST32): Likewise.
25528         [C99-based-standards] (SCNuFAST32): Likewise.
25529         [C99-based-standards] (SCNxFAST32): Likewise.
25530         [C99-based-standards] (PRId64): Likewise.
25531         [C99-based-standards] (PRIi64): Likewise.
25532         [C99-based-standards] (PRIo64): Likewise.
25533         [C99-based-standards] (PRIu64): Likewise.
25534         [C99-based-standards] (PRIx64): Likewise.
25535         [C99-based-standards] (PRIX64): Likewise.
25536         [C99-based-standards] (SCNd64): Likewise.
25537         [C99-based-standards] (SCNi64): Likewise.
25538         [C99-based-standards] (SCNo64): Likewise.
25539         [C99-based-standards] (SCNu64): Likewise.
25540         [C99-based-standards] (SCNx64): Likewise.
25541         [C99-based-standards] (PRIdLEAST64): Likewise.
25542         [C99-based-standards] (PRIiLEAST64): Likewise.
25543         [C99-based-standards] (PRIoLEAST64): Likewise.
25544         [C99-based-standards] (PRIuLEAST64): Likewise.
25545         [C99-based-standards] (PRIxLEAST64): Likewise.
25546         [C99-based-standards] (PRIXLEAST64): Likewise.
25547         [C99-based-standards] (SCNdLEAST64): Likewise.
25548         [C99-based-standards] (SCNiLEAST64): Likewise.
25549         [C99-based-standards] (SCNoLEAST64): Likewise.
25550         [C99-based-standards] (SCNuLEAST64): Likewise.
25551         [C99-based-standards] (SCNxLEAST64): Likewise.
25552         [C99-based-standards] (PRIdFAST64): Likewise.
25553         [C99-based-standards] (PRIiFAST64): Likewise.
25554         [C99-based-standards] (PRIoFAST64): Likewise.
25555         [C99-based-standards] (PRIuFAST64): Likewise.
25556         [C99-based-standards] (PRIxFAST64): Likewise.
25557         [C99-based-standards] (PRIXFAST64): Likewise.
25558         [C99-based-standards] (SCNdFAST64): Likewise.
25559         [C99-based-standards] (SCNiFAST64): Likewise.
25560         [C99-based-standards] (SCNoFAST64): Likewise.
25561         [C99-based-standards] (SCNuFAST64): Likewise.
25562         [C99-based-standards] (SCNxFAST64): Likewise.
25563         [C99-based-standards] (PRIdMAX): Likewise.
25564         [C99-based-standards] (PRIiMAX): Likewise.
25565         [C99-based-standards] (PRIoMAX): Likewise.
25566         [C99-based-standards] (PRIuMAX): Likewise.
25567         [C99-based-standards] (PRIxMAX): Likewise.
25568         [C99-based-standards] (PRIXMAX): Likewise.
25569         [C99-based-standards] (SCNdMAX): Likewise.
25570         [C99-based-standards] (SCNiMAX): Likewise.
25571         [C99-based-standards] (SCNoMAX): Likewise.
25572         [C99-based-standards] (SCNuMAX): Likewise.
25573         [C99-based-standards] (SCNxMAX): Likewise.
25574         [C99-based-standards] (PRIdPTR): Likewise.
25575         [C99-based-standards] (PRIiPTR): Likewise.
25576         [C99-based-standards] (PRIoPTR): Likewise.
25577         [C99-based-standards] (PRIuPTR): Likewise.
25578         [C99-based-standards] (PRIxPTR): Likewise.
25579         [C99-based-standards] (PRIXPTR): Likewise.
25580         [C99-based-standards] (SCNdPTR): Likewise.
25581         [C99-based-standards] (SCNiPTR): Likewise.
25582         [C99-based-standards] (SCNoPTR): Likewise.
25583         [C99-based-standards] (SCNuPTR): Likewise.
25584         [C99-based-standards] (SCNxPTR): Likewise.
25585         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25586         allow.
25587         * conform/data/stdint.h-data: Update comments to clarify
25588         requirements.
25589         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
25590         type.
25591         [C99-based standards] (INT8_MAX): Likewise.
25592         [C99-based standards] (INT16_MIN): Likewise.
25593         [C99-based standards] (INT16_MAX): Likewise.
25594         [C99-based standards] (INT32_MIN): Likewise.
25595         [C99-based standards] (INT32_MAX): Likewise.
25596         [C99-based standards] (INT64_MIN): Likewise.
25597         [C99-based standards] (INT64_MAX): Likewise.
25598         [C99-based standards] (UINT8_MAX): Likewise.
25599         [C99-based standards] (UINT16_MAX): Likewise.
25600         [C99-based standards] (UINT32_MAX): Likewise.
25601         [C99-based standards] (UINT64_MAX): Likewise.
25602         [C99-based standards] (INT_LEAST8_MIN): Likewise.
25603         [C99-based standards] (INT_LEAST8_MAX): Likewise.
25604         [C99-based standards] (INT_LEAST16_MIN): Likewise.
25605         [C99-based standards] (INT_LEAST16_MAX): Likewise.
25606         [C99-based standards] (INT_LEAST32_MIN): Likewise.
25607         [C99-based standards] (INT_LEAST32_MAX): Likewise.
25608         [C99-based standards] (INT_LEAST64_MIN): Likewise.
25609         [C99-based standards] (INT_LEAST64_MAX): Likewise.
25610         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25611         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25612         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25613         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25614         [C99-based standards] (INT_FAST8_MIN): Likewise.
25615         [C99-based standards] (INT_FAST8_MAX): Likewise.
25616         [C99-based standards] (INT_FAST16_MIN): Likewise.
25617         [C99-based standards] (INT_FAST16_MAX): Likewise.
25618         [C99-based standards] (INT_FAST32_MIN): Likewise.
25619         [C99-based standards] (INT_FAST32_MAX): Likewise.
25620         [C99-based standards] (INT_FAST64_MIN): Likewise.
25621         [C99-based standards] (INT_FAST64_MAX): Likewise.
25622         [C99-based standards] (UINT_FAST8_MAX): Likewise.
25623         [C99-based standards] (UINT_FAST16_MAX): Likewise.
25624         [C99-based standards] (UINT_FAST32_MAX): Likewise.
25625         [C99-based standards] (UINT_FAST64_MAX): Likewise.
25626         [C99-based standards] (INTPTR_MIN): Likewise.
25627         [C99-based standards] (INTPTR_MAX): Likewise.
25628         [C99-based standards] (UINTPTR_MAX): Likewise.
25629         [C99-based standards] (INTMAX_MIN): Likewise.
25630         [C99-based standards] (INTMAX_MAX): Likewise.
25631         [C99-based standards] (UINTMAX_MAX): Likewise.
25632         [C99-based standards] (PTRDIFF_MIN): Likewise.
25633         [C99-based standards] (PTRDIFF_MAX): Likewise.
25634         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25635         [C99-based standards] (SIZE_MAX): Likewise.
25636         [C99-based standards] (WCHAR_MAX): Likewise.
25637         [C99-based standards] (WINT_MAX): Likewise.
25638         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
25639         constraint on value.
25640         [C99-based standards] (WCHAR_MIN): Likewise.
25641         [C99-based standards] (WINT_MIN): Likewise.
25642         [C99-based standards] (*_t): Allow.
25643         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25644         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25645         Include math.h-data and complex.h-data.  Remove all expectations
25646         of math.h and complex.h contents.
25647         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25648         at end of line.
25649         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25650         (struct tm): Expect tag.
25651         [C99-based-standards] (wcstof): Expect function.
25652         [C99-based-standards] (wcstold): Likewise.
25653         [C99-based-standards] (wcstoll): Likewise.
25654         [C99-based-standards] (wcstoull): Likewise.
25655         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25656         macro-int-constant.  Specify type.
25657         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
25658         constraint on value.
25659         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25660         Specify type.
25661         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25662         Specify value.
25663         [ISO C standards]: Do not allow headers.
25664         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25665         wcs[abcdefghijklmnopqrstuvwxyz]*.
25666         [ISO C standards] (*_t): Do not allow.
25667         * conform/data/wctype.h-data [C99-based standards] (iswblank):
25668         Expect function.
25669         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25670         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25671         Specify type.
25672         [ISO C standards]: Do not allow headers.
25673         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25674         is[abcdefghijklmnopqrstuvwxyz]*.
25675         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25676         to[abcdefghijklmnopqrstuvwxyz]*.
25677         [ISO C standards] (*_t): Do not allow.
25678         * conform/data/stdalign.h-data: New file.
25679         * conform/data/stdbool.h-data: Likewise.
25680         * conform/data/stdnoreturn.h-data: Likewise.
25682 2012-11-07  Roland McGrath  <roland@hack.frob.com>
25684         [BZ #14815]
25685         * manual/filesys.texi (Directory Entries): Typo fix.
25686         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25688 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25690         * elf/elf.h (EM_AARCH64): New macro.
25691         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25692         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25693         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25694         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25695         (R_AARCH64_TLSDESC): Likewise.
25696         (NT_ARM_TLS): Likewise.
25697         (NT_ARM_HW_BREAK): Likewise.
25698         (NT_ARM_HW_WATCH): Likewise.
25700 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25702         [BZ #14811]
25703         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25704         (__ieee754_powl): Saturate nonzero exponents with absolute value
25705         below 0x1p-79 to +/- 0x1p-79.
25706         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25707         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25708         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25709         nonzero exponents with absolute value below 0x1p-32 to +/-
25710         0x1p-32.
25711         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25712         (__ieee754_powl): Saturate nonzero exponents with absolute value
25713         below 0x1p-79 to +/- 0x1p-79.
25714         * math/libm-test.inc (pow_test): Add more tests.
25716 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25718         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25719         _dl_s390_cap_flags with kernel. Increase string length.
25720         (_dl_s390_platforms): Add z196 and zEC12.
25722 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25724         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25725         Change XOPEN21K to XOPEN2K.
25727 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
25729         * string/memmove.c: Use memcpy when possible.
25731 2012-11-06  Andreas Jaeger  <aj@suse.de>
25733         * po/eo.po: Update from translation team.
25735 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
25737         [BZ #14793]
25738         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25739         exponent and small x and y exponents, scale x or y up.  Increase
25740         by 2 the exponent used in scaling up.
25741         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25742         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25743         * math/libm-test.inc (fma_test): Add more tests.
25744         (fma_test_towardzero): Likewise.
25745         (fma_test_downward): Likewise.
25746         (fma_test_upward): Likewise.
25748 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
25750         [BZ #14805]
25751         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25752         fenv_t *.
25754         [BZ #14801]
25755         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25756         namespace for names of struct fields.
25757         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25758         fenv_t fields.
25759         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25760         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25762 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25764         [BZ #3665]
25765         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25767 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
25769         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25770         PTR_DEMANGLE.
25772         [BZ #5246]
25773         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25774         PTR_DEMANGLE.
25776 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
25778         [BZ #14797]
25779         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25780         definitely overflow as x * y not x * y + z.
25781         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25782         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25783         * math/libm-test.inc (fma_test): Add more tests.
25784         (fma_test_towardzero): Likewise.
25785         (fma_test_downward): Likewise.
25786         (fma_test_upward): Likewise.
25788 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
25790         [BZ #157]
25792         * include/stub-tag.h: Remove file.
25793         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25794         '#include' of it.
25795         * manual/maint.texi (Porting): Don't reference it.
25796         * Makerules ($(objpfx)stubs): Likewise.
25797         * dirent/closedir.c: Don't include <stub-tag.h>.
25798         * dirent/dirfd.c: Likewise.
25799         * dirent/fdopendir.c: Likewise.
25800         * dirent/getdents.c: Likewise.
25801         * dirent/getdents64.c: Likewise.
25802         * dirent/opendir.c: Likewise.
25803         * dirent/readdir.c: Likewise.
25804         * dirent/readdir64.c: Likewise.
25805         * dirent/readdir64_r.c: Likewise.
25806         * dirent/readdir_r.c: Likewise.
25807         * dirent/rewinddir.c: Likewise.
25808         * dirent/seekdir.c: Likewise.
25809         * dirent/telldir.c: Likewise.
25810         * gmon/profil.c: Likewise.
25811         * grp/setgroups.c: Likewise.
25812         * inet/if_index.c: Likewise.
25813         * io/access.c: Likewise.
25814         * io/chdir.c: Likewise.
25815         * io/chmod.c: Likewise.
25816         * io/chown.c: Likewise.
25817         * io/close.c: Likewise.
25818         * io/dup.c: Likewise.
25819         * io/dup2.c: Likewise.
25820         * io/dup3.c: Likewise.
25821         * io/euidaccess.c: Likewise.
25822         * io/faccessat.c: Likewise.
25823         * io/fchdir.c: Likewise.
25824         * io/fchmod.c: Likewise.
25825         * io/fchmodat.c: Likewise.
25826         * io/fchown.c: Likewise.
25827         * io/fchownat.c: Likewise.
25828         * io/fcntl.c: Likewise.
25829         * io/flock.c: Likewise.
25830         * io/fstatfs.c: Likewise.
25831         * io/fstatfs64.c: Likewise.
25832         * io/fstatvfs.c: Likewise.
25833         * io/fstatvfs64.c: Likewise.
25834         * io/futimens.c: Likewise.
25835         * io/fxstat.c: Likewise.
25836         * io/fxstat64.c: Likewise.
25837         * io/fxstatat.c: Likewise.
25838         * io/fxstatat64.c: Likewise.
25839         * io/getcwd.c: Likewise.
25840         * io/isatty.c: Likewise.
25841         * io/lchmod.c: Likewise.
25842         * io/lchown.c: Likewise.
25843         * io/link.c: Likewise.
25844         * io/linkat.c: Likewise.
25845         * io/lseek.c: Likewise.
25846         * io/lseek64.c: Likewise.
25847         * io/lxstat64.c: Likewise.
25848         * io/mkdir.c: Likewise.
25849         * io/mkdirat.c: Likewise.
25850         * io/mkfifo.c: Likewise.
25851         * io/mkfifoat.c: Likewise.
25852         * io/open.c: Likewise.
25853         * io/open64.c: Likewise.
25854         * io/openat.c: Likewise.
25855         * io/openat64.c: Likewise.
25856         * io/pipe.c: Likewise.
25857         * io/pipe2.c: Likewise.
25858         * io/poll.c: Likewise.
25859         * io/posix_fadvise.c: Likewise.
25860         * io/posix_fadvise64.c: Likewise.
25861         * io/posix_fallocate.c: Likewise.
25862         * io/posix_fallocate64.c: Likewise.
25863         * io/read.c: Likewise.
25864         * io/readlink.c: Likewise.
25865         * io/readlinkat.c: Likewise.
25866         * io/rmdir.c: Likewise.
25867         * io/sendfile.c: Likewise.
25868         * io/sendfile64.c: Likewise.
25869         * io/statfs.c: Likewise.
25870         * io/statfs64.c: Likewise.
25871         * io/statvfs.c: Likewise.
25872         * io/statvfs64.c: Likewise.
25873         * io/symlink.c: Likewise.
25874         * io/symlinkat.c: Likewise.
25875         * io/ttyname.c: Likewise.
25876         * io/ttyname_r.c: Likewise.
25877         * io/umask.c: Likewise.
25878         * io/unlink.c: Likewise.
25879         * io/unlinkat.c: Likewise.
25880         * io/utime.c: Likewise.
25881         * io/utimensat.c: Likewise.
25882         * io/write.c: Likewise.
25883         * io/xmknod.c: Likewise.
25884         * io/xmknodat.c: Likewise.
25885         * io/xstat.c: Likewise.
25886         * io/xstat64.c: Likewise.
25887         * login/getpt.c: Likewise.
25888         * login/grantpt.c: Likewise.
25889         * login/unlockpt.c: Likewise.
25890         * math/e_acoshl.c: Likewise.
25891         * math/e_acosl.c: Likewise.
25892         * math/e_asinl.c: Likewise.
25893         * math/e_atan2l.c: Likewise.
25894         * math/e_atanhl.c: Likewise.
25895         * math/e_coshl.c: Likewise.
25896         * math/e_expl.c: Likewise.
25897         * math/e_fmodl.c: Likewise.
25898         * math/e_gammal_r.c: Likewise.
25899         * math/e_hypotl.c: Likewise.
25900         * math/e_j0l.c: Likewise.
25901         * math/e_j1l.c: Likewise.
25902         * math/e_jnl.c: Likewise.
25903         * math/e_lgammal_r.c: Likewise.
25904         * math/e_log10l.c: Likewise.
25905         * math/e_log2l.c: Likewise.
25906         * math/e_logl.c: Likewise.
25907         * math/e_powl.c: Likewise.
25908         * math/e_rem_pio2l.c: Likewise.
25909         * math/e_sinhl.c: Likewise.
25910         * math/e_sqrtl.c: Likewise.
25911         * math/fclrexcpt.c: Likewise.
25912         * math/fedisblxcpt.c: Likewise.
25913         * math/feenablxcpt.c: Likewise.
25914         * math/fegetenv.c: Likewise.
25915         * math/fegetexcept.c: Likewise.
25916         * math/fegetround.c: Likewise.
25917         * math/feholdexcpt.c: Likewise.
25918         * math/fesetenv.c: Likewise.
25919         * math/fesetround.c: Likewise.
25920         * math/feupdateenv.c: Likewise.
25921         * math/fgetexcptflg.c: Likewise.
25922         * math/fraiseexcpt.c: Likewise.
25923         * math/fsetexcptflg.c: Likewise.
25924         * math/ftestexcept.c: Likewise.
25925         * math/k_cosl.c: Likewise.
25926         * math/k_rem_pio2l.c: Likewise.
25927         * math/k_sinl.c: Likewise.
25928         * math/k_tanl.c: Likewise.
25929         * math/s_asinhl.c: Likewise.
25930         * math/s_atanl.c: Likewise.
25931         * math/s_cbrtl.c: Likewise.
25932         * math/s_erfl.c: Likewise.
25933         * math/s_expm1l.c: Likewise.
25934         * math/s_log1pl.c: Likewise.
25935         * math/s_tanhl.c: Likewise.
25936         * misc/acct.c: Likewise.
25937         * misc/brk.c: Likewise.
25938         * misc/chflags.c: Likewise.
25939         * misc/chroot.c: Likewise.
25940         * misc/fchflags.c: Likewise.
25941         * misc/fgetxattr.c: Likewise.
25942         * misc/flistxattr.c: Likewise.
25943         * misc/fremovexattr.c: Likewise.
25944         * misc/fsetxattr.c: Likewise.
25945         * misc/fsync.c: Likewise.
25946         * misc/ftruncate.c: Likewise.
25947         * misc/futimes.c: Likewise.
25948         * misc/futimesat.c: Likewise.
25949         * misc/getdomain.c: Likewise.
25950         * misc/getdtsz.c: Likewise.
25951         * misc/gethostid.c: Likewise.
25952         * misc/gethostname.c: Likewise.
25953         * misc/getloadavg.c: Likewise.
25954         * misc/getpagesize.c: Likewise.
25955         * misc/getsysstats.c: Likewise.
25956         * misc/getxattr.c: Likewise.
25957         * misc/gtty.c: Likewise.
25958         * misc/ioctl.c: Likewise.
25959         * misc/lgetxattr.c: Likewise.
25960         * misc/listxattr.c: Likewise.
25961         * misc/llistxattr.c: Likewise.
25962         * misc/lremovexattr.c: Likewise.
25963         * misc/lsetxattr.c: Likewise.
25964         * misc/lutimes.c: Likewise.
25965         * misc/madvise.c: Likewise.
25966         * misc/mincore.c: Likewise.
25967         * misc/mlock.c: Likewise.
25968         * misc/mlockall.c: Likewise.
25969         * misc/mmap.c: Likewise.
25970         * misc/mprotect.c: Likewise.
25971         * misc/msync.c: Likewise.
25972         * misc/munlock.c: Likewise.
25973         * misc/munlockall.c: Likewise.
25974         * misc/munmap.c: Likewise.
25975         * misc/preadv.c: Likewise.
25976         * misc/preadv64.c: Likewise.
25977         * misc/ptrace.c: Likewise.
25978         * misc/pwritev.c: Likewise.
25979         * misc/pwritev64.c: Likewise.
25980         * misc/readv.c: Likewise.
25981         * misc/reboot.c: Likewise.
25982         * misc/remap_file_pages.c: Likewise.
25983         * misc/removexattr.c: Likewise.
25984         * misc/revoke.c: Likewise.
25985         * misc/select.c: Likewise.
25986         * misc/setdomain.c: Likewise.
25987         * misc/setegid.c: Likewise.
25988         * misc/seteuid.c: Likewise.
25989         * misc/sethostid.c: Likewise.
25990         * misc/sethostname.c: Likewise.
25991         * misc/setregid.c: Likewise.
25992         * misc/setreuid.c: Likewise.
25993         * misc/setxattr.c: Likewise.
25994         * misc/sstk.c: Likewise.
25995         * misc/stty.c: Likewise.
25996         * misc/swapoff.c: Likewise.
25997         * misc/swapon.c: Likewise.
25998         * misc/sync.c: Likewise.
25999         * misc/syncfs.c: Likewise.
26000         * misc/syscall.c: Likewise.
26001         * misc/truncate.c: Likewise.
26002         * misc/ualarm.c: Likewise.
26003         * misc/usleep.c: Likewise.
26004         * misc/ustat.c: Likewise.
26005         * misc/utimes.c: Likewise.
26006         * misc/vhangup.c: Likewise.
26007         * misc/writev.c: Likewise.
26008         * posix/_exit.c: Likewise.
26009         * posix/alarm.c: Likewise.
26010         * posix/execve.c: Likewise.
26011         * posix/fexecve.c: Likewise.
26012         * posix/fork.c: Likewise.
26013         * posix/fpathconf.c: Likewise.
26014         * posix/getaddrinfo.c: Likewise.
26015         * posix/getegid.c: Likewise.
26016         * posix/geteuid.c: Likewise.
26017         * posix/getgid.c: Likewise.
26018         * posix/getgroups.c: Likewise.
26019         * posix/getlogin.c: Likewise.
26020         * posix/getlogin_r.c: Likewise.
26021         * posix/getpgid.c: Likewise.
26022         * posix/getpid.c: Likewise.
26023         * posix/getppid.c: Likewise.
26024         * posix/getresgid.c: Likewise.
26025         * posix/getresuid.c: Likewise.
26026         * posix/getsid.c: Likewise.
26027         * posix/getuid.c: Likewise.
26028         * posix/glob64.c: Likewise.
26029         * posix/nanosleep.c: Likewise.
26030         * posix/pathconf.c: Likewise.
26031         * posix/pause.c: Likewise.
26032         * posix/posix_madvise.c: Likewise.
26033         * posix/pread.c: Likewise.
26034         * posix/pread64.c: Likewise.
26035         * posix/pwrite.c: Likewise.
26036         * posix/pwrite64.c: Likewise.
26037         * posix/sched_getaffinity.c: Likewise.
26038         * posix/sched_getp.c: Likewise.
26039         * posix/sched_gets.c: Likewise.
26040         * posix/sched_primax.c: Likewise.
26041         * posix/sched_primin.c: Likewise.
26042         * posix/sched_rr_gi.c: Likewise.
26043         * posix/sched_setaffinity.c: Likewise.
26044         * posix/sched_setp.c: Likewise.
26045         * posix/sched_sets.c: Likewise.
26046         * posix/sched_yield.c: Likewise.
26047         * posix/setgid.c: Likewise.
26048         * posix/setlogin.c: Likewise.
26049         * posix/setpgid.c: Likewise.
26050         * posix/setresgid.c: Likewise.
26051         * posix/setresuid.c: Likewise.
26052         * posix/setsid.c: Likewise.
26053         * posix/setuid.c: Likewise.
26054         * posix/sleep.c: Likewise.
26055         * posix/spawni.c: Likewise.
26056         * posix/sysconf.c: Likewise.
26057         * posix/times.c: Likewise.
26058         * posix/wait.c: Likewise.
26059         * posix/wait3.c: Likewise.
26060         * posix/wait4.c: Likewise.
26061         * posix/waitpid.c: Likewise.
26062         * resolv/gai_sigqueue.c: Likewise.
26063         * resource/getpriority.c: Likewise.
26064         * resource/getrlimit.c: Likewise.
26065         * resource/getrusage.c: Likewise.
26066         * resource/nice.c: Likewise.
26067         * resource/setpriority.c: Likewise.
26068         * resource/setrlimit.c: Likewise.
26069         * resource/ulimit.c: Likewise.
26070         * rt/aio_cancel.c: Likewise.
26071         * rt/aio_fsync.c: Likewise.
26072         * rt/aio_read.c: Likewise.
26073         * rt/aio_sigqueue.c: Likewise.
26074         * rt/aio_suspend.c: Likewise.
26075         * rt/aio_write.c: Likewise.
26076         * rt/clock_getres.c: Likewise.
26077         * rt/clock_gettime.c: Likewise.
26078         * rt/clock_nanosleep.c: Likewise.
26079         * rt/clock_settime.c: Likewise.
26080         * rt/lio_listio.c: Likewise.
26081         * rt/mq_close.c: Likewise.
26082         * rt/mq_getattr.c: Likewise.
26083         * rt/mq_notify.c: Likewise.
26084         * rt/mq_open.c: Likewise.
26085         * rt/mq_receive.c: Likewise.
26086         * rt/mq_send.c: Likewise.
26087         * rt/mq_setattr.c: Likewise.
26088         * rt/mq_timedreceive.c: Likewise.
26089         * rt/mq_timedsend.c: Likewise.
26090         * rt/mq_unlink.c: Likewise.
26091         * rt/shm_open.c: Likewise.
26092         * rt/shm_unlink.c: Likewise.
26093         * rt/timer_create.c: Likewise.
26094         * rt/timer_delete.c: Likewise.
26095         * rt/timer_getoverr.c: Likewise.
26096         * rt/timer_gettime.c: Likewise.
26097         * rt/timer_settime.c: Likewise.
26098         * setjmp/__longjmp.c: Likewise.
26099         * setjmp/setjmp.c: Likewise.
26100         * signal/kill.c: Likewise.
26101         * signal/killpg.c: Likewise.
26102         * signal/raise.c: Likewise.
26103         * signal/sigaction.c: Likewise.
26104         * signal/sigaltstack.c: Likewise.
26105         * signal/sigblock.c: Likewise.
26106         * signal/sigignore.c: Likewise.
26107         * signal/sigintr.c: Likewise.
26108         * signal/signal.c: Likewise.
26109         * signal/sigpause.c: Likewise.
26110         * signal/sigpending.c: Likewise.
26111         * signal/sigqueue.c: Likewise.
26112         * signal/sigreturn.c: Likewise.
26113         * signal/sigset.c: Likewise.
26114         * signal/sigsetmask.c: Likewise.
26115         * signal/sigstack.c: Likewise.
26116         * signal/sigsuspend.c: Likewise.
26117         * signal/sigtimedwait.c: Likewise.
26118         * signal/sigvec.c: Likewise.
26119         * signal/sigwait.c: Likewise.
26120         * signal/sigwaitinfo.c: Likewise.
26121         * signal/sysv_signal.c: Likewise.
26122         * socket/accept.c: Likewise.
26123         * socket/accept4.c: Likewise.
26124         * socket/bind.c: Likewise.
26125         * socket/connect.c: Likewise.
26126         * socket/getpeername.c: Likewise.
26127         * socket/getsockname.c: Likewise.
26128         * socket/getsockopt.c: Likewise.
26129         * socket/isfdtype.c: Likewise.
26130         * socket/listen.c: Likewise.
26131         * socket/recv.c: Likewise.
26132         * socket/recvfrom.c: Likewise.
26133         * socket/recvmsg.c: Likewise.
26134         * socket/send.c: Likewise.
26135         * socket/sendmsg.c: Likewise.
26136         * socket/sendto.c: Likewise.
26137         * socket/setsockopt.c: Likewise.
26138         * socket/shutdown.c: Likewise.
26139         * socket/sockatmark.c: Likewise.
26140         * socket/socket.c: Likewise.
26141         * socket/socketpair.c: Likewise.
26142         * stdio-common/ctermid.c: Likewise.
26143         * stdio-common/cuserid.c: Likewise.
26144         * stdio-common/remove.c: Likewise.
26145         * stdio-common/rename.c: Likewise.
26146         * stdio-common/renameat.c: Likewise.
26147         * stdio-common/tempname.c: Likewise.
26148         * stdlib/getcontext.c: Likewise.
26149         * stdlib/makecontext.c: Likewise.
26150         * stdlib/setcontext.c: Likewise.
26151         * stdlib/swapcontext.c: Likewise.
26152         * stdlib/system.c: Likewise.
26153         * streams/fattach.c: Likewise.
26154         * streams/fdetach.c: Likewise.
26155         * streams/getmsg.c: Likewise.
26156         * streams/getpmsg.c: Likewise.
26157         * streams/putmsg.c: Likewise.
26158         * streams/putpmsg.c: Likewise.
26159         * sysdeps/unix/bsd/getpt.c: Likewise.
26160         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26161         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26162         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26164         Likewise.
26165         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26166         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26167         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26168         * sysvipc/msgctl.c: Likewise.
26169         * sysvipc/msgget.c: Likewise.
26170         * sysvipc/msgrcv.c: Likewise.
26171         * sysvipc/msgsnd.c: Likewise.
26172         * sysvipc/semctl.c: Likewise.
26173         * sysvipc/semget.c: Likewise.
26174         * sysvipc/semop.c: Likewise.
26175         * sysvipc/semtimedop.c: Likewise.
26176         * sysvipc/shmat.c: Likewise.
26177         * sysvipc/shmctl.c: Likewise.
26178         * sysvipc/shmdt.c: Likewise.
26179         * sysvipc/shmget.c: Likewise.
26180         * termios/tcdrain.c: Likewise.
26181         * termios/tcflow.c: Likewise.
26182         * termios/tcflush.c: Likewise.
26183         * termios/tcgetattr.c: Likewise.
26184         * termios/tcgetpgrp.c: Likewise.
26185         * termios/tcsendbrk.c: Likewise.
26186         * termios/tcsetattr.c: Likewise.
26187         * termios/tcsetpgrp.c: Likewise.
26188         * time/adjtime.c: Likewise.
26189         * time/clock.c: Likewise.
26190         * time/getitimer.c: Likewise.
26191         * time/gettimeofday.c: Likewise.
26192         * time/setitimer.c: Likewise.
26193         * time/settimeofday.c: Likewise.
26194         * time/stime.c: Likewise.
26195         * time/time.c: Likewise.
26197 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
26199         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26200         /usr/old/bin.
26202         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26203         instead of spaces.
26204         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26206 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
26208         [BZ #14796]
26209         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26210         FE_TONEAREST before applying Dekker multiplication and Knuth
26211         addition.  Clear inexact exceptions and check for exact zero
26212         results afterwards.
26213         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26214         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26215         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26216         * math/libm-test.inc (fma_test): Add more tests.
26217         (fma_test_towardzero): Likewise.
26218         (fma_test_downward): Likewise.
26219         (fma_test_upward): Likewise.
26220         * sysdeps/generic/math_private.h (default_libc_fesetround): New
26221         function.
26222         (libc_fesetround): New macro.
26223         (libc_fesetroundf): Likewise.
26224         (libc_fesetroundl): Likewise.
26225         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26226         function.
26227         (libc_fesetround_387): Likewise.
26228         (libc_fesetroundf): New macro.
26229         (libc_fesetround): Likewise.
26230         (libc_fesetroundl): Likewise.
26231         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26232         function.
26233         (libc_fesetroundf): New macro.
26234         (libc_fesetround): Likewise.
26235         (libc_fesetroundl): Likewise.
26236         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26237         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26238         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26239         libm_hidden_ver.
26240         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26241         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26242         libm_hidden_def.
26243         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26244         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26245         libm_hidden_ver.
26246         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26247         libm_hidden_def.
26249         [BZ #3439]
26250         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26251         integer constant usable in #if and use that to give value to enum
26252         constant.
26253         (FE_DIVBYZERO): Likewise.
26254         (FE_UNDERFLOW): Likewise.
26255         (FE_OVERFLOW): Likewise.
26256         (FE_INVALID): Likewise.
26257         (FE_INVALID_SNAN): Likewise.
26258         (FE_INVALID_ISI): Likewise.
26259         (FE_INVALID_IDI): Likewise.
26260         (FE_INVALID_ZDZ): Likewise.
26261         (FE_INVALID_IMZ): Likewise.
26262         (FE_INVALID_COMPARE): Likewise.
26263         (FE_INVALID_SOFTWARE): Likewise.
26264         (FE_INVALID_SQRT): Likewise.
26265         (FE_INVALID_INTEGER_CONVERSION): Likewise.
26266         (FE_TONEAREST): Likewise.
26267         (FE_TOWARDZERO): Likewise.
26268         (FE_UPWARD): Likewise.
26269         (FE_DOWNWARD): Likewise.
26270         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26271         (FE_DIVBYZERO): Likewise.
26272         (FE_OVERFLOW): Likewise.
26273         (FE_UNDERFLOW): Likewise.
26274         (FE_INEXACT): Likewise.
26275         (FE_TONEAREST): Likewise.
26276         (FE_DOWNWARD): Likewise.
26277         (FE_UPWARD): Likewise.
26278         (FE_TOWARDZERO): Likewise.
26279         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26280         (FE_UNDERFLOW): Likewise.
26281         (FE_OVERFLOW): Likewise.
26282         (FE_DIVBYZERO): Likewise.
26283         (FE_INVALID): Likewise.
26284         (FE_TONEAREST): Likewise.
26285         (FE_TOWARDZERO): Likewise.
26286         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26287         (FE_OVERFLOW): Likewise.
26288         (FE_UNDERFLOW): Likewise.
26289         (FE_DIVBYZERO): Likewise.
26290         (FE_INEXACT): Likewise.
26291         (FE_TONEAREST): Likewise.
26292         (FE_TOWARDZERO): Likewise.
26293         (FE_UPWARD): Likewise.
26294         (FE_DOWNWARD): Likewise.
26295         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26296         (FE_DIVBYZERO): Likewise.
26297         (FE_OVERFLOW): Likewise.
26298         (FE_UNDERFLOW): Likewise.
26299         (FE_INEXACT): Likewise.
26300         (FE_TONEAREST): Likewise.
26301         (FE_DOWNWARD): Likewise.
26302         (FE_UPWARD): Likewise.
26303         (FE_TOWARDZERO): Likewise.
26305 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
26307         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26309 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
26311         * scripts/cross-test-ssh.sh (command): Use newlines to separate
26312         commands.  Quote $PWD.
26313         (blacklist_exports): Don't use remove_newlines.  Replace "declare
26314         -x" by "export".
26315         (remove_newlines): Remove.
26317 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
26319         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26320         * stdlib/stdlib.h (atof): Moved to ...
26321         * include/bits/stdlib-float.h: Here.  New file.
26322         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26323         * stdlib/bits/stdlib-float.h: New file.
26324         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26325         -mno-sse -mno-mmx.
26326         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26327         <xmmintrin.h>.
26329 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26331         * conform/conformtest.pl (@headers): Add fenv.h.
26332         * conform/data/fenv.h-data: New file.
26333         * include/fenv.h [_ISOMAC]: Disable all contents of file except
26334         include of <math/fenv.h>.
26336         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26337         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26338         && !UNIX98].  Enables tests for XOPEN2K8.
26339         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26340         POSIX2008]: Likewise.
26342         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26343         (struct rusage): Do not expect type or its members.
26345         [BZ #3439]
26346         * math/math.h (FP_NAN): Define macro to integer constant usable in
26347         #if and use that to give value to enum constant.
26348         (FP_INFINITE): Likewise.
26349         (FP_ZERO): Likewise.
26350         (FP_SUBNORMAL): Likewise.
26351         (FP_NORMAL): Likewise.
26353 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
26355         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26356         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26357         arguments.
26359 2012-11-02  Roland McGrath  <roland@hack.frob.com>
26361         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26362         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26363         autoconf-time if not.
26364         * configure.in: Remove AC_PREREQ.
26366 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26368         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26369         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26370         of the internal implementation.
26372 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26374         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26375         except include of <misc/sys/syslog.h>.
26377 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26380         function returns with a NULL context exit with zero.
26382 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26384         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26386 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
26388         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26389         (run_program_cmd): This.
26390         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26391         (tst_langinfo): New variable.  Use it.
26393 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
26395         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26396         floating point opcodes.
26398 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26400         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26401         variable.
26403         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26405         * sysdeps/mach/hurd/powerpc: Remove directory.
26406         * sysdeps/mach/powerpc: Likewise.
26408 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26410         * scripts/check-local-headers.sh: Ignore c++ headers.
26412 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26414         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26415         __libc_cleanup_region_start argument.
26417 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
26419         [BZ #14784]
26420         [BZ #14785]
26421         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26422         x * y using scaling, not as x * y + z.
26423         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26424         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26425         * math/libm-test.inc (fma_test): Add more tests.
26426         (fma_test_towardzero): Likewise.
26427         (fma_test_downward): Likewise.
26428         (fma_test_upward): Likewise.
26430 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26432         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26434 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
26436         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26437         New variable.
26439 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
26441         * rt/tst-shm.c (worker): Correct checking for mmap failure.
26443 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
26445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26446         Fix sort order.
26447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26448         Likewise.
26450 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26453         Fix the order of the list for glibc 2.17.
26454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26455         Likewise.
26457 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
26459         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26461 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
26463         [BZ #14610]
26464         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26465         for low part of x being zero before using __atanl (y).
26466         * math/libm-test.inc (atan2_test): Add another test.
26468         * manual/install.texi (Configuring and compiling): Document
26469         general use of test-wrapper and test-wrapper-env.
26470         * INSTALL: Regenerated.
26472         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26473         (__fma): Do not extract and scale down low bits on after-rounding
26474         systems when result rounded to normal precision would have normal
26475         exponent.
26476         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26477         (__fmal): Do not extract and scale down low bits on after-rounding
26478         systems when result rounded to normal precision would have normal
26479         exponent.
26480         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26481         (__fmal): Do not extract and scale down low bits on after-rounding
26482         systems when result rounded to normal precision would have normal
26483         exponent.
26484         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26485         macro.
26486         (fma_test): Add more tests.
26487         (fma_test_towardzero): Likewise.
26488         (fma_test_downward): Likewise.
26489         (fma_test_upward): Likewise.
26491 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
26493         * sysdeps/i386/tininess.h: Renamed to ...
26494         * sysdeps/x86/tininess.h: This.
26495         * sysdeps/x86_64/tininess.h: Removed.
26497 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
26499         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26500         input.  Use $(build-program-cmd).
26501         ($(objpfx)tst-array1-static.out): Likewise.
26502         ($(objpfx)tst-array2.out): Likewise.
26503         ($(objpfx)tst-array3.out): Likewise.
26504         ($(objpfx)tst-array4.out): Likewise.
26505         ($(objpfx)tst-array5.out): Likewise.
26506         ($(objpfx)tst-array5-static.out): Likewise.
26508 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
26510         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26511         if defined.
26513         * nss/nsswitch.h (nss_interface_function): Provide new
26514         macro for use with NSS functions.
26515         * grp/initgroups.c: Use new macro.
26516         * nss/getXXbyYY.c: Likewise.
26517         * nss/getXXbyYY_r.c: Likewise.
26518         * nss/getXXent.c: Likewise.
26519         * nss/getXXent_r.c: Likewise.
26520         * sysdeps/posix/getaddrinfo.c: Likewise.
26522 2012-10-30  Andreas Jaeger  <aj@suse.de>
26524         * po/ru.po: Update Russion translation from translation project.
26526 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
26528         [BZ #14152]
26529         [BZ #14783]
26530         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26531         result and shift together with sticky bit instead of replicating
26532         round-to-nearest rounding.
26533         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26534         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26535         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
26536         missing underflow exceptions.
26537         (fma_test_towardzero): Add more tests.
26538         (fma_test_downward): Likewise.
26539         (fma_test_upward): Likewise.
26541         [BZ #14047]
26542         * sysdeps/generic/tininess.h: New file.
26543         * sysdeps/i386/tininess.h: Likewise.
26544         * sysdeps/sh/tininess.h: Likewise.
26545         * sysdeps/x86_64/tininess.h: Likewise.
26546         * stdlib/tst-strtod-underflow.c: Likewise.
26547         * stdlib/tst-tininess.c: Likewise.
26548         * stdlib/strtod_l.c: Include <tininess.h>.
26549         (round_and_return): Do not set errno for exact underflow cases.
26550         Force an underflow exception when setting errno for underflow.
26551         Determine underflow based on rounding to normal precision if
26552         TININESS_AFTER_ROUNDING.
26553         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26554         ERANGE for exact underflow cases.
26555         * stdlib/Makefile (tests): Add tst-tininess and
26556         tst-strtod-underflow.
26557         ($(objpfx)tst-tininess): Use $(link-libm).
26558         ($(objpfx)tst-strtod-underflow): Likewise.
26560 2012-10-30  Andreas Jaeger  <aj@suse.de>
26562         [BZ#14767]
26563         * elf/Makefile (tests): Remove conditional for have-initfini-array
26564         since this is now always required and the variable does not exist
26565         anymore.
26566         (tests-static): Likewise.
26567         (modules-names): Likewise.
26569         * po/eo.po: Add Esperanto translation from translation project.
26571         * elf/tst-array1.c (fini_array): Make writeable so that it can be
26572         merged with constructor/destructor.
26573         (init_array): Likewise.
26574         * elf/tst-array2dep.c (fini_array): Likewise.
26575         (init_array): Likewise.
26577 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
26579         * manual/message.texi: Delete @cartouche tags.
26581 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
26583         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26584         EOPNOTSUPP.
26585         * sysdeps/mach/hurd/fsync.c: Likewise.
26587         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26588         [_POSIX_REALTIME_SIGNALS]: Change condition to
26589         [_POSIX_REALTIME_SIGNALS > 0].
26591 2012-10-27  Andreas Jaeger  <aj@suse.de>
26593         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26594         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26595         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26596         [__WORDSIZE != 64]: Likewise.
26598 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
26600         *  iconvdata/tst-table.sh: Remove ${SHELL}.
26601         *  iconvdata/tst-tables.sh: Likewise.
26603 2012-10-25  David S. Miller  <davem@davemloft.net>
26605         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26606         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26607         of strtoull.
26609         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26610         ifunc-impl-list.c
26611         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26612         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26613         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26614         file.
26616 2012-10-25  Roland McGrath  <roland@hack.frob.com>
26618         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26619         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26620         __getdirentries.
26622 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
26623             Jim Blandy  <jimb@codesourcery.com>
26625         * scripts/cross-test-ssh.sh: New file.
26626         * manual/install.texi (Configuring and compiling): Document use of
26627         cross-test-ssh.sh.
26628         * INSTALL: Regenerated.
26630 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
26632         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26633         EOPNOTSUPP.
26635 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
26637         * Makeconfig (run-program-prefix): Fix comment.
26639 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
26640             Jim Blandy  <jimb@codesourcery.com>
26642         * Makeconfig (test-wrapper): New variable,
26643         (test-wrapper-env): Likewise.
26644         [$(cross-compiling) = yes && $(test-wrapper) != ""]
26645         (run-built-tests): Define to yes.
26646         (run-program-prefix): Use $(test-wrapper).
26647         (built-program-cmd): Likewise.
26648         * Rules (make-test-out): Use $(test-wrapper-env) and
26649         $(host-built-program-cmd).
26650         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26651         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26652         tst-pathopt.sh.
26653         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26654         $(test-wrapper-env) to tst-rtld-load-self.sh.
26655         ($(objpfx)order2.out): Use $(test-wrapper).
26656         ($(objpfx)tst-initorder.out): Likewise.
26657         ($(objpfx)tst-initorder2.out): Likewise.
26658         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26659         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26660         (test_wrapper_env): New variable.  Use it to run ld.so.
26661         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26662         Use it to run ld.so.
26663         (test_wrapper_env): Likewise.
26664         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26665         $(test-wrapper) to run-iconv-test.sh.
26666         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26667         (ICONV): Use $test_wrapper.
26668         * posix/Makefile ($(objpfx)globtest.out): Pass
26669         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26670         globtest.sh, not $(run-program-prefix).
26671         * posix/globtest.sh (run_via_rtld_prefix): New variable.
26672         (test_wrapper): Likewise.
26673         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
26674         set together with run_via_rtld_prefix.
26675         (run_program_prefix): Define in terms of test_wrapper and
26676         run_via_rtld_prefix.
26678 2012-10-24  Roland McGrath  <roland@hack.frob.com>
26680         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26681         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26682         Targets removed.
26684         [BZ #14743]
26685         * include/time.h: Remove librt_hidden_proto (clock_gettime).
26686         Declare __clock_getres, __clock_gettime, __clock_settime,
26687         __clock_nanosleep, and __clock_getcpuclockid.
26688         * rt/clock_gettime.c: Define __clock_gettime as an alias.
26689         Remove librt_hidden_def (clock_gettime).
26690         * sysdeps/unix/clock_gettime.c: Likewise.
26691         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26692         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26693         * rt/clock_getres.c: Define __clock_getres as an alias.
26694         * sysdeps/posix/clock_getres.c: Likewise.
26695         * rt/clock_settime.c: Define __clock_settime as an alias.
26696         * sysdeps/unix/clock_settime.c: Likewise.
26697         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26698         * sysdeps/unix/clock_nanosleep.c: Likewise.
26699         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26700         * rt/clock-compat.c: New file.
26701         * rt/Makefile (librt-routines): Add clock-compat and move
26702         $(clock-routines) to ...
26703         (routines): ... here, new variable.
26704         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26705         Don't add get_clockfreq here.
26706         * rt/Versions (libc: GLIBC_2.17): New version set.
26707         Add clock_* symbols here.
26708         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
26709         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26710         (GLIBC_2.17): Add clock_* symbols.
26711         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26713         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26715         Likewise.
26716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26717         Likewise.
26718         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26719         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26720         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26722         * NEWS: Mention the move.
26724         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26725         Use __open, __read, __close rather than their public counterparts.
26726         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26727         (__get_clockfreq_via_cpuinfo): Likewise.
26728         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26729         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26731         * config.h.in (HAVE_IFUNC): New #undef.
26732         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26733         was successful.
26734         * configure: Regenerated.
26736 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
26738         * configure.in: Move READELF check to start of file.
26739         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26740         libc_cv_asm_gnu_indirect_function in the process.
26741         * configure: Regenerated.
26743 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
26745         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26746         send the output to /dev/null.
26747         (libc_cv_cc_with_libunwind): Likewise.
26748         (libc_cv_as_noexecstack): Likewise.
26749         * configure: Regenerate.
26751 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
26753         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26755         * posix/globtest.sh (TMPDIR): Do not set.
26756         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26757         (testout): Likewise.
26759 2012-10-24  Andreas Jaeger  <aj@suse.de>
26761         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26762         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26763         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26764         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26765         posix_fadvise64, posix_fallocate64.
26767         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26768         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26769         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26770         Likewise.
26771         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26772         Likewise.
26773         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26775         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26776         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26777         <bits/fcntl-linux.h>.
26778         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26780         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26781         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26782         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26783         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26784         [__WORDSIZE != 64]: Likewise.
26786 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
26788         * Makeconfig (run-built-tests): New variable.
26789         * Rules [$(cross-compiling) = yes]: Change condition to
26790         [$(run-built-tests) = no].
26791         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26792         to [$(run-built-tests) = yes].
26793         * elf/Makefile [$(cross-compiling) = no]: Likewise
26794         * grp/Makefile [$(cross-compiling) = no]: Likewise.
26795         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26796         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26797         * intl/Makefile [$(cross-compiling) = no]: Likewise.
26798         * io/Makefile [$(cross-compiling) = no]: Likewise.
26799         * libio/Makefile [$(cross-compiling) = no]: Likewise.
26800         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26801         * misc/Makefile [$(cross-compiling) = no]: Likewise.
26802         * posix/Makefile [$(cross-compiling) = no]: Likewise.
26803         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26804         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26805         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26806         * string/Makefile [$(cross-compiling) = no]: Likewise.
26808         * posix/Makefile ($(objpfx)globtest.out): Pass
26809         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26810         $(rtld-installed-name).
26811         * posix/globtest.sh (elf_objpfx): Remove variable.
26812         (rtld_installed_name): Likewise.
26813         (library_path): Likewise.
26814         (run_program_prefix): New variable.  Use for running globtest
26815         binary.
26817 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
26818             Joseph Myers  <joseph@codesourcery.com>
26820         * Makeconfig (host-built-program-cmd): New variable.
26821         * elf/Makefile (tst-stackguard1-ARGS): Use
26822         $(host-built-program-cmd).
26823         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26824         (tst-spawn-ARGS): Likewise.
26825         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26827 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
26828             Jim Blandy  <jimb@codesourcery.com>
26830         * Makeconfig (run-via-rtld-prefix): New variable.
26831         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26832         (built-program-cmd): Likewise.
26834 2012-10-22  Andreas Jaeger  <aj@suse.de>
26836         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26837         __O_RSYNC if it exists, otherwise to O_SYNC.
26839 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
26840             Joseph Myers  <joseph@codesourcery.com>
26842         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26843         /dev/null.
26844         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26845         from /dev/null
26846         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26847         /dev/null.
26849 2012-10-22  Andreas Jaeger  <aj@suse.de>
26851         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26852         Define always.
26853         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26855         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26856         bits/fcntl-linux.h.
26858         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26859         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26861         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26862         to __O_LARGEFILE.
26863         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26864         to __O_LARGEFILE.
26866 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
26867             Joseph Myers  <joseph@codesourcery.com>
26869         * config.make.in (NM): New variable.
26871 2012-10-21  Andreas Jaeger  <aj@suse.de>
26873         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26874         definitions and declarations that are provided by
26875         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26877 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
26879         [BZ #14683]
26880         * elf/Makefile (tests-static): Add tst-leaks1-static.
26881         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26882         ($(objpfx)tst-leaks1-static): New rule.
26883         ($(objpfx)tst-leaks1-static-mem): Likewise.
26884         (tst-leaks1-static-ENV): New macro.
26885         * elf/dl-open.c (dl_open_worker): Check the main application
26886         only if SHARED is defined.
26887         * elf/tst-leaks1-static.c: New file.
26889 2012-10-20  Andreas Jaeger  <aj@suse.de>
26891         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26892         generic values for Linux.
26893         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26894         and declarations that are provided by <bits/fcntl-linux.h> and
26895         include <bits/fcntl-linux.h>.
26896         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26897         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26899 2012-10-20  Roland McGrath  <roland@hack.frob.com>
26901         * io/fcntl.h: Move include of <bits/types.h> to the top and
26902         include it unconditionally.
26904 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
26906         * wcsmbs/Makefile (tests-ifunc): New variable.
26907         (tests): Add $(tests-ifunc).
26908         * wcsmbs/test-wcschr-ifunc.c: New file.
26909         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26910         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26911         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26912         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26913         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26915         * string/Makefile (tests-ifunc): New variable.
26916         (tests): Add $(tests-ifunc).
26917         * string/test-memccpy.c (TEST_NAME): New macro.
26918         * string/test-memchr.c (TEST_NAME): Likewise.
26919         * string/test-memcmp.c (TEST_NAME): Likewise.
26920         * string/test-memcpy.c (TEST_NAME): Likewise.
26921         * string/test-memmem.c (TEST_NAME): Likewise.
26922         * string/test-memmove.c (TEST_NAME): Likewise.
26923         * string/test-memset.c (TEST_NAME): Likewise.
26924         * string/test-rawmemchr.c (TEST_NAME): Likewise.
26925         * string/test-stpcpy.c (TEST_NAME): Likewise.
26926         * string/test-stpncpy.c (TEST_NAME): Likewise.
26927         * string/test-strcasecmp.c (TEST_NAME): Likewise.
26928         * string/test-strcasestr.c (TEST_NAME): Likewise.
26929         * string/test-strcat.c (TEST_NAME): Likewise.
26930         * string/test-strchr.c (TEST_NAME): Likewise.
26931         * string/test-strcmp.c(TEST_NAME): Likewise.
26932         * string/test-strcpy.c (TEST_NAME): Likewise.
26933         * string/test-strcspn.c (TEST_NAME): Likewise.
26934         * string/test-strlen.c (TEST_NAME): Likewise.
26935         * string/test-strncasecmp.c (TEST_NAME): Likewise.
26936         * string/test-strncmp.c (TEST_NAME): Likewise.
26937         * string/test-strncpy.c (TEST_NAME): Likewise.
26938         * string/test-strnlen.c (TEST_NAME): Likewise.
26939         * string/test-strpbrk.c (TEST_NAME): Likewise.
26940         * string/test-strrchr.c (TEST_NAME): Likewise.
26941         * string/test-strspn.c (TEST_NAME): Likewise.
26942         * string/test-strstr.c (TEST_NAME): Likewise.
26943         * string/test-bcopy-ifunc.c: New file.
26944         * string/test-bzero-ifunc.c: Likewise.
26945         * string/test-memccpy-ifunc.c: Likewise.
26946         * string/test-memchr-ifunc.c: Likewise.
26947         * string/test-memcmp-ifunc.c: Likewise.
26948         * string/test-memcpy-ifunc.c: Likewise.
26949         * string/test-memmem-ifunc.c: Likewise.
26950         * string/test-memmove-ifunc.c: Likewise.
26951         * string/test-mempcpy-ifunc.c: Likewise.
26952         * string/test-memset-ifunc.c: Likewise.
26953         * string/test-rawmemchr-ifunc.c: Likewise.
26954         * string/test-stpcpy-ifunc.c: Likewise.
26955         * string/test-stpncpy-ifunc.c: Likewise.
26956         * string/test-strcasecmp-ifunc.c: Likewise.
26957         * string/test-strcasestr-ifunc.c: Likewise.
26958         * string/test-strcat-ifunc.c: Likewise.
26959         * string/test-strchr-ifunc.c: Likewise.
26960         * string/test-strchrnul-ifunc.c: Likewise.
26961         * string/test-strcmp-ifunc.c: Likewise.
26962         * string/test-strcpy-ifunc.c: Likewise.
26963         * string/test-strcspn-ifunc.c: Likewise.
26964         * string/test-strlen-ifunc.c: Likewise.
26965         * string/test-strncasecmp-ifunc.c: Likewise.
26966         * string/test-strncat-ifunc.c: Likewise.
26967         * string/test-strncmp-ifunc.c: Likewise.
26968         * string/test-strncpy-ifunc.c: Likewise.
26969         * string/test-strnlen-ifunc.c: Likewise.
26970         * string/test-strpbrk-ifunc.c: Likewise.
26971         * string/test-strrchr-ifunc.c: Likewise.
26972         * string/test-strspn-ifunc.c: Likewise.
26973         * string/test-strstr-ifunc.c: Likewise.
26975         * debug/Makefile (tests-ifunc): New variable.
26976         (tests): Add $(tests-ifunc).
26977         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26978         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26979         * debug/test-stpcpy_chk-ifunc.c: New file.
26980         * debug/test-strcpy_chk-ifunc.c: Likewise.
26982 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26984         [BZ #13601]
26985         * elf/dl-load.c (open_verify): Retry read if the entire ELF
26986         header is not read in.
26988 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
26990         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
26991         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
26992         directly.  Pass built executable to script as
26993         $(built-program-cmd).
26994         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
26995         $testprogram without using LD_LIBRARY_PATH and $ldso.
26997         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26998         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26999         $(rtld-installed-name).
27000         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27001         (rtld_installed_name): Likewise.
27002         (library_path): Likewise.
27003         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
27004         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27005         $(run-program-prefix) to tst-tables.sh.
27006         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
27007         it to run tst-table-from and tst-table-to.
27008         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27009         Pass it to tst-table.sh.
27010         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27011         $(run-program-prefix) to tst-gettext.sh.
27012         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27013         tst-translit.sh.
27014         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27015         tst-gettext2.sh.
27016         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
27017         to run tst-gettext.
27018         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
27019         to run tst-gettext2.
27020         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
27021         to run tst-translit.
27022         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27023         $(run-program-prefix) to tst-mtrace.sh.
27024         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
27025         to run tst-mtrace.
27026         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27027         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27028         $(rtld-installed-name).
27029         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27030         (rtld_installed_name): Likewise.
27031         (run_program_prefix): New variable.  Use it to run wordexp-test.
27033         * Makeconfig (ARCH): Remove all definitions.
27034         (machine): Likewise.
27035         [ARCH]: Remove conditional code.
27036         [!objdir]: Give error.
27037         [!objdir] (objpfx): Remove.
27038         [!objdir] (common-objpfx): Likewise.
27039         [!objdir] (common-objdir): Likewise.
27040         * configure.in (config_makefile): Remove.  Hardcode Makefile in
27041         AC_CONFIG_FILES call.
27042         * configure: Regenerated.
27044         [BZ #13888]
27045         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27046         or TMPDIR.
27047         (testout): Likewise.
27049         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27050         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27051         $(rtld-installed-name).
27052         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27053         (rtld_installed_name): Likwise.
27054         (runit): Remove function.
27055         (run_getconf): New variable,  Use it for running getconf binary.
27057 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
27059         [BZ #14716]
27060         * string/test-memmem.c (check_result): New function.
27061         (do_one_test): Use it.
27062         (check1): New function.
27063         (test_main): Use it.
27065 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
27067         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27069 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
27071         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27072         (_G_LSEEK64): Likewise.
27073         (_G_MMAP64): Likewise.
27074         (_G_FSTAT64): Likewise.
27075         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27076         (_G_LSEEK64): Likewise.
27077         (_G_MMAP64): Likewise.
27078         (_G_FSTAT64): Likewise.
27079         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27080         unconditional.  Call __mmap64 directly.
27081         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27082         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
27083         __lseek64 directly.
27084         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27085         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
27086         __mmap64 directly.
27087         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27088         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27089         __lseek64 directly.
27090         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27091         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27092         __lseek64 directly.
27093         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27094         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
27095         __lseek64 directly.
27096         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27097         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
27098         __fxstat64 directly.
27099         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27100         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27101         unconditional.
27102         (freopen64) [!_G_OPEN64]: Remove conditional code.
27103         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27104         unconditional.
27105         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27106         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27107         unconditional.
27108         (ftello64) [!_G_LSEEK64]: Remove conditional code.
27109         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27110         unconditional.
27111         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27112         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27113         unconditional.
27114         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27115         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27116         unconditional.
27117         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27118         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27119         unconditional.
27120         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27121         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27122         unconditional.
27123         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27125 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27127         [BZ #12140]
27128         * manual/memory.texi (Malloc Tunable Parameters): Add note
27129         about free list pointers overwriting some perturb bytes.
27130         Wording suggested by Roland McGrath.
27132 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
27134         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27135         (lgamma_test): Likewise.
27136         (tgamma_test): Likewise.
27138 2012-10-16  Florian Weimer  <fweimer@redhat.com>
27140         [BZ #14700]
27141         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27142         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27144 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
27146         * NEWS: Mention BZ #14716.
27147         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27148         when removing AVAILABLE1_USES_J macro.
27150 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
27152         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27153         (__bswap_64): __uint64_t for unsigned 64-bit int.
27155 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
27157         * include/string.h (memmem): Declare libc hidden alias.
27158         * string/memmem.c (memmem): Define libc hidden alias.
27159         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27160         __read, __close instead of open, read, close.
27162 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
27164         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27165         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27166         global and hidden.
27167         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27168         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27169         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27170         Likewise.
27171         (__rawmemchr_sse2): Likewise.
27172         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27173         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27174         (__strchr_sse2): Likewise.
27175         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27176         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27177         (__strcasecmp_sse2): Likewise.
27178         (__strncasecmp_sse2): Likewise.
27179         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27180         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27181         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27182         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27183         (__strrchr_sse2): Likewise.
27184         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27185         ifunc-impl-list.c.
27186         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27187         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27188         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27189         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27190         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27191         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27192         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27193         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27194         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27195         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27196         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27197         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27198         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27199         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27200         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27201         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27202         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27203         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27204         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27205         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27206         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27207         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27208         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27209         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27210         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27211         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27212         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27213         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27214         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27215         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27217         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27218         global and hidden.
27219         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27220         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27221         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27222         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27223         Likewise.
27224         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27225         Likewise.
27226         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27227         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27228         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27229         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27230         ifunc-impl-list.c.
27231         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27232         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27233         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27234         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27235         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27236         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27237         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27238         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27239         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27240         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27241         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27242         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27243         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27244         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27245         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27246         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27247         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27248         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27249         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27250         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27251         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27252         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27253         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27254         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27255         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27256         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27257         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27258         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27259         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27260         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27261         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27262         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27263         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27264         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27265         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27266         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27267         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27268         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27269         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27270         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27271         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27273         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27274         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27275         * include/ifunc-impl-list.h: New file.
27276         * misc/ifunc-impl-list.c: Likewise.
27277         * misc/Makefile (routines): Add ifunc-impl-list.
27278         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27279         * string/test-string.h: Include <ifunc-impl-list.h>.
27280         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27281         TEST_NAME]: New variables.
27282         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27283         are defined.
27284         (test_init): Call __libc_ifunc_impl_list to initialize
27285         func_list if TEST_IFUNC and TEST_NAME are defined.
27287         * string/Makefile (strop-tests): Add bcopy and bzero.
27288         * string/test-bcopy.c: New file.
27289         * string/test-bzero.c: Likewise.
27290         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27291         defined.
27292         * string/test-memset.c: Support bzero test if TEST_BZERO is
27293         defined.
27294         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27295         __libc_memmove.
27296         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27297         __libc_memset.
27298         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27299         of memset.
27301 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
27303         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27304         * configure: Regenerated.
27306         * Makeconfig (+link-static-before-libc): Don't include
27307         $(link-static-libc).
27309         * libio/libio.h (_IO_pos_t): Remove.
27311 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27313         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
27314         McGrath.
27316 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27318         * crypt/crypt-entry.c: Include fips-private.h.
27319         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27320         * crypt/md5c-test.c (main): Tolerate disabled MD5.
27321         * sysdeps/unix/sysv/linux/fips-private.h: New file.
27322         * sysdeps/generic/fips-private.h: New file, dummy fallback.
27324 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27326         * crypt/crypt-private.h: Include stdbool.h.
27327         (_ufc_setup_salt_r): Return bool.
27328         * crypt/crypt-entry.c: Include errno.h.
27329         (__crypt_r): Return NULL with EINVAL for bad salt.
27330         * crypt/crypt_util.c (bad_for_salt): New.
27331         (_ufc_setup_salt_r): Check that salt is long enough and within
27332         the specified alphabet.
27333         * crypt/badsalttest.c: New file.
27334         * crypt/Makefile (tests): Add it.
27335         ($(objpfx)badsalttest): New.
27337 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
27339         * NEWS: Add entry for BZ #14602.
27341 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27343         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27344         type-generic.
27345         * math/libm-test.inc: Update comment listing what functions and
27346         macros are tested.
27347         (isgreater_test): New function.
27348         (isgreaterequal_test): Likewise.
27349         (isless_test): Likewise.
27350         (islessequal_test): Likewise.
27351         (islessgreater_test): Likewise.
27352         (isunordered_test): Likewise.
27353         (main): Call the new functions.
27355 2012-10-09  Roland McGrath  <roland@hack.frob.com>
27357         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27358         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27359         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27360         * sysdeps/i386/configure: Regenerated.
27361         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27362         * sysdeps/mach/configure: Regenerated.
27363         * sysdeps/mach/hurd/configure: Regenerated.
27364         * sysdeps/powerpc/configure: Regenerated.
27365         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27366         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27367         * sysdeps/s390/s390-32/configure: Regenerated.
27368         * sysdeps/s390/s390-64/configure: Regenerated.
27369         * sysdeps/sh/configure: Regenerated.
27370         * sysdeps/sparc/configure: Regenerated.
27371         * sysdeps/unix/sysv/linux/configure: Regenerated.
27372         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27373         * sysdeps/x86_64/configure: Regenerated.
27375         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27376         defined.  Don't check if MAP is NULL.
27378 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27380         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27381         (_G_stat64): Likewise.
27382         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27383         (_G_stat64): Likewise.
27384         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27385         instead of struct _G_stat64.
27386         * libio/fileops.c (mmap_remap_check): Likewise.
27387         (decide_maybe_mmap): Likewise.
27388         (_IO_new_file_seekoff): Likewise.
27389         (_IO_file_stat): Likewise.
27390         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27391         _G_off64_t.
27392         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27393         instead of struct _G_stat64.
27394         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27396 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
27398         [BZ #14602]
27399         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27400         Replace with ...
27401         (CHECK_EOL): New macro.
27402         (two_way_short_needle): Check beginning of haystack for EOL.  Use
27403         CHECK_EOL.
27404         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27405         Replace with CHECK_EOL.
27406         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27407         Replace with CHECK_EOL.
27409 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
27411         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27412         type-generic.
27413         * math/libm-test.inc: Update comment listing what functions and
27414         macros are tested.
27415         (finite_test): New function.
27416         (isinf_test): Likewise.
27417         (isnan_test): Likewise.
27418         (fpclassify_test): Test subnormal input.
27419         (isfinite_test): Likewise.
27420         (isnormal_test): Likewise.
27421         (main): Call the new functions.
27423 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
27425         [BZ #14660]
27426         * Makerules (%.dynsym): Force C locale when running
27427         $(OBJDUMP) --dynamic-syms.
27429 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
27431         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27432         <stdint.h>.
27434 2012-10-06  David S. Miller  <davem@davemloft.net>
27436         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27437         upper 32-bits of the length value in %o2 since we use branch-on-register
27438         tests which consider the entire 64-bit register.
27440 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
27442         * string/test-strstr.c (check2): Add a test for page boundary.
27444 2012-10-05  David S. Miller  <davem@davemloft.net>
27446         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27447         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27448         file.
27449         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27450         sysdep_routines.
27451         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27452         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27453         and bzero when HWCAP_SPARC_CRYPTO is present.
27455 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
27457         [BZ #14602]
27458         * string/test-strstr.c (check2): New function.
27459         (test_main): Call check2.
27461         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27462         and bug-strchr1.
27463         * string/bug-strcasestr1.c (do_test): Moved to ...
27464         * string/test-strcasestr.c (check1): Here.  New function.
27465         (do_one_test): Break out result checking code into ...
27466         (check_result): This.  New function.
27467         (do_one_test): Call check_result.
27468         (test_main): Call check1.
27469         * string/bug-strchr1.c (do_test): Moved to ...
27470         * string/test-strchr.c (check1): Here.  New function.
27471         (do_one_test): Break out result checking code into ...
27472         (check_result): This.  New function.
27473         (do_one_test): Call check_result.
27474         (test_main): Call check1.
27475         * string/bug-strstr1.c (main): Moved to ...
27476         * string/test-strstr.c (check1): Here.  New function.
27477         (do_one_test): Break out result checking code into ...
27478         (check_result): This.  New function.
27479         (do_one_test): Call check_result.
27480         (test_main): Call check1.
27481         * string/bug-strcasestr1.c: Removed.
27482         * string/bug-strchr1.c: Likewise.
27483         * string/bug-strstr1.c: Likewise.
27485         * elf/Makefile (dl-routines): Add hwcaps.
27486         * elf/dl-support.c (_dl_important_hwcaps): Removed.
27487         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27488         (_dl_important_hwcaps): Moved to ...
27489         * elf/dl-hwcaps.c: Here.  New file.
27490         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27492         [BZ #14557]
27493         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27494         if IS_IN_rtld isn't defined.
27496         * elf/dl-support.c (_dl_sysinfo_map): New.
27497         Include "get-dynamic-info.h" and "setup-vdso.h".
27498         (_dl_non_dynamic_init): Call setup_vdso.
27499         * elf/dynamic-link.h: Don't include <assert.h>.
27500         (elf_get_dynamic_info): Moved to ...
27501         * elf/get-dynamic-info.h: Here.  New file.
27502         * elf/dynamic-link.h: Include "get-dynamic-info.h".
27503         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27504         * elf/setup-vdso.h: Here.  New file.
27505         * elf/rtld.c: Include "setup-vdso.h".
27506         (dl_main): Call setup_vdso.
27508 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
27510         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27511         creal in comment listing functions tested.  List finite, isinf,
27512         isnan, isless, islessequal, isgreater, isgreaterequal,
27513         islessgreater, isunordered, lgamma_r and pow10 as functions and
27514         macros not tested.  Mention which functions not tested are aliases
27515         for other functions.  Fix typo.  Note that signs of NaNs are not
27516         tested.
27518         * scripts/config.guess: Update from config.git.
27519         * scripts/config.sub: Likewise.
27521 2012-10-04  Roland McGrath  <roland@hack.frob.com>
27523         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27524         * misc/madvise.c (madvise): Renamed to __madvise.
27525         Make madvise a weak alias.
27526         * include/sys/mman.h: Declare __madvise.
27527         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27528         * sysdeps/unix/syscalls.list
27529         (madvise): Make __madvise the strong name, and madvise a weak alias.
27530         * sysdeps/unix/sysv/linux/syscalls.list
27531         (madvise, mmap): Remove redundant entries.
27532         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27533         * malloc/malloc.c (mtrim): Likewise.
27534         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27536 2012-10-03  Roland McGrath  <roland@hack.frob.com>
27538         * sysdeps/mach/hurd/dl-cache.c: File removed.
27539         * config.h.in (USE_LDCONFIG): New #undef.
27540         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27541         * configure: Regenerated.
27542         * elf/Makefile (dl-routines): Add dl-cache only under
27543         [$(use-ldconfig) = yes].
27544         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27545         cache on [USE_LDCONFIG].
27546         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27547         [USE_LDCONFIG].
27548         * elf/rtld.c (dl_main): Likewise.
27550 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
27552         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27553         _SC_LEVEL4_CACHE_LINESIZE.
27555 2012-10-03  Roland McGrath  <roland@hack.frob.com>
27557         * sysdeps/unix/bsd/confstr.h: File removed.
27559 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
27561         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27562         sys/sdt-config.h.
27564 2012-10-02  Roland McGrath  <roland@hack.frob.com>
27566         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27567         Make 'mapoff' field ElfW(Off) rather than off_t.
27569 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
27571         * nscd/Makefile: Remove nscd-cflags and all its users.
27572         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27573         (CFLAGS-nonlib): Add compiler flags for nscd modules.
27575         [BZ #10631]
27576         * malloc.c (malloc_printerr): Clarify error message.
27578 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
27580         [BZ #14648]
27581         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27582         Set bit_FMA_Usable if FMA is supported.
27583         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27584         macro.
27585         (bit_FMA4_Usable): Updated.
27586         (index_FMA_Usable): New macro.
27587         (CPUID_FMA): Likewise
27588         (HAS_FMA): Defined with bit_FMA_Usable.
27590 2012-10-01  Roland McGrath  <roland@hack.frob.com>
27592         * bits/types.h (__swblk_t): Type removed.
27593         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27594         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27595         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27596         (__SWBLK_T_TYPE): Likewise.
27597         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27598         (__SWBLK_T_TYPE): Likewise.
27599         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27600         (__SWBLK_T_TYPE): Likewise.
27601         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27602         (__SWBLK_T_TYPE): Likewise.
27604 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
27605             Honza Horak <hhorak@redhat.com>
27607         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27608         (xdr_mapname): Use YPMAXMAP as maxsize.
27609         (xdr_peername): Use YPMAXPEER as maxsize.
27610         (xdr_keydat): Use YPAXRECORD as maxsize.
27611         (xdr_valdat): Use YPMAXRECORD as maxsize.
27613 2012-10-01  Roland McGrath  <roland@hack.frob.com>
27615         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27617         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27618         * csu/init-first.c: ... here.
27619         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27620         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27621         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27622         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27623         * sysdeps/i386/init-first.c: File removed.
27624         * sysdeps/sh/init-first.c: File removed.
27626 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
27628         [BZ #14645]
27629         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27630         if x * y might underflow to zero and z is zero.
27631         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27632         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27633         * math/libm-test.inc (min_subnorm_value): New variable.
27634         (fma_test): Add more tests.
27635         (fma_test_towardzero): Likewise.
27636         (fma_test_downward): Likewise
27637         (fma_test_upward): Likewise.
27638         (initialize): Set min_subnorm_value.
27640 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
27642         [BZ #14638]
27643         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27644         0 + 0.
27645         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27646         mode for addition resulting in exact zero.
27647         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27648         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27649         exact 0 + 0.
27650         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27651         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27652         * math/libm-test.inc (fma_test): Add more tests.
27653         (fma_test_towardzero): New function.
27654         (fma_test_downward): Likewise.
27655         (fma_test_upward): Likewise.
27656         (main): Call the new functions.
27658 2012-09-28  David S. Miller  <davem@davemloft.net>
27660         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27662 2012-09-28  Roland McGrath  <roland@hack.frob.com>
27664         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27665         instead of SIGALRM.
27667         * sysdeps/gnu/_G_config.h: Moved to ...
27668         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27669         * sysdeps/mach/hurd/_G_config.h: Moved to ...
27670         * sysdeps/generic/_G_config.h: ... here.
27672         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
27674         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27676         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27677         Conditionalize target on [libnss_test1.so-version].
27679         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27681         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27682         (elfobjdir): Move out of conditionals.
27684         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27685         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27686         (__nss_lookup_function): Conditionalize label remove_from_tree on
27687         [!DO_STATIC_NSS || SHARED], matching its only use.
27689 2012-09-28  David S. Miller  <davem@davemloft.net>
27691         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27692         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27693         file.
27694         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27695         sysdep_routines.
27696         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27697         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27698         when HWCAP_SPARC_CRYPTO is present.
27700 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27702         * io/tst-mknodat.c: Create a FIFO instead of a socket.
27704 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
27706         [BZ #6530]
27707         * stdio-common/vfprintf.c (process_string_arg): Revert
27708         2000-07-22 change.
27710 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
27712         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27713         for testcase.
27714         * stdio-common/tst-sprintf.c: Include <locale.h>
27715         (main): Test sprintf's handling of incomplete multibyte
27716         characters.
27718 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
27720         * elf/dl-runtime.c (VERSYMIDX): Removed.
27721         * elf/dl-version.c (VERSYMIDX): Likewise.
27722         * elf/do-rel.h (VERSYMIDX): Likewise.
27723         (VALIDX): Likewise.
27724         * elf/dynamic-link.h (VERSYMIDX): Likewise.
27725         * elf/rtld.c (VALIDX): Likewise.
27726         (ADDRIDX): Likewise.
27727         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27728         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27729         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27730         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27731         (VALIDX): Likewise.
27732         (ADDRIDX): Likewise.
27734 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27736         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27738 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
27740         [BZ #11438]
27741         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27742         to global scope.
27743         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27744         addresses are in the same scope as 192.0.2/24.
27745         * posix/gai.conf: Document new scope table defaults.
27747 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27749         [BZ #5298]
27750         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27751         for ftell.  Compute offsets from write pointers instead.
27752         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27754 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27756         [BZ #14543]
27757         * libio/Makefile (tests): New test case tst-fseek.
27758         * libio/tst-fseek.c: New test case to verify that fseek/ftell
27759         combination works in wide mode.
27760         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27761         state when the external buffer state changes.
27763 2012-09-27  David S. Miller  <davem@davemloft.net>
27765         [BZ #14376]
27766         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27767         pass reloc->r_addend in as the 'high' argument to
27768         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27770         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27772 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27774         * rt/tst-aio2.c: Include <pthread.h>.
27775         * rt/tst-aio3.c: Likewise.
27777 2012-09-27  Steve Ellcey  <sellcey@mips.com>
27779         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27781 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
27783         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27784         contents on [SHARED].
27786 2012-09-26  Marek Polacek  <polacek@redhat.com>
27788         [BZ #14530]
27789         [BZ #13741]
27790         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27791         for C++ and GCC <4.3 as well as for non GCC compilers.
27793 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
27795         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27797 2012-09-25  Roland McGrath  <roland@hack.frob.com>
27799         * Makefile.in (all, install): Declare with .PHONY.
27800         Reported by Michael Hope <michael.hope@linaro.org>.
27802 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27804         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27805         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27806         system header.
27807         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27808         Likewise.
27809         (sydep_routines): Add the new and the internal functions.
27810         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27811         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27813         (GLIBC_2.17): Add the new function.
27814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27815         (GLIBC_2.17): Likewise.
27816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27817         (GLIBC_2.17): Likewise.
27818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27819         (GLIBC_2.17): Likewise.
27820         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27822 2012-09-25  Alan Modra  <amodra@gmail.com>
27824         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27825         Add release barrier before setting once_control to say
27826         initialisation is done.  Add hints on lwarx.  Use macro in
27827         place of isync.
27828         (clear_once_control): Add release barrier.
27830 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
27832         [BZ #13629]
27833         * math/s_clog.c (__clog): Handle more values close to |z| = 1
27834         specially.
27835         * math/s_clog10.c (__clog10): Likewise.
27836         * math/s_clog10f.c (__clog10f): Likewise.
27837         * math/s_clog10l.c (__clog10l): Likewise.
27838         * math/s_clogf.c (__clogf): Likewise.
27839         * math/s_clogl.c (__clogl): Likewise.
27840         * math/Makefile (libm-calls): Add x2y2m1.
27841         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27842         (__x2y2m1): Likewise.
27843         (__x2y2m1l): Likewise.
27844         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27845         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27846         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27847         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27848         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27849         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27850         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27851         * sysdeps/i386/fpu/libm-test-ulps: Update.
27852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27854         [BZ #14621]
27855         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27856         int as type of variable DEPTH.
27857         (glob): Use size_t instead of int as type of variables NEWCOUNT
27858         and OLD_PATHC.
27860 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27862         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27863         Add s_sincosf-sse2.
27864         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27865         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27866         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27867         macros for using routine as __sincosf_ia32.
27868         Use macro for function declaration and weak_alias.
27869         * sysdeps/i386/fpu/libm-test-ulps: Update.
27871         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27872         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27874         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27875         subnormal argument.
27876         * math/s_cexpf.c (__cexpf): Likewise.
27877         * math/s_csinf.c (__csinf): Likewise.
27878         * math/s_csinhf.c (__csinhf): Likewise.
27879         * math/s_ctanf.c (__ctanf): Likewise.
27880         * math/s_ctanhf.c (__ctanhf): Likewise.
27881         * math/s_ccosh.c (__ccoshf): Likewise.
27882         * math/s_cexp.c (__cexpl): Likewise.
27883         * math/s_csin.c (__csin): Likewise.
27884         * math/s_csinh.c (__csinh): Likewise.
27885         * math/s_ctan.c (__ctan): Likewise.
27886         * math/s_ctanh.c (ctanh): Likewise.
27887         * math/s_ccoshl.c (__ccoshl): Likewise.
27888         * math/s_cexpl.c (__cexpl): Likewise.
27889         * math/s_csinl.c (__csinl): Likewise.
27890         * math/s_csinhl.c (__csinhl): Likewise.
27891         * math/s_ctanl.c (__ctanl): Likewise.
27892         * math/s_ctanhl.c (__ctanhl): Likewise.
27894 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
27896         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27897         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27898         (_IO_off_t): Define to __off_t, not _G_off_t.
27899         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27900         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27901         (_IO_wint_t): Define to wint_t, not _G_wint_t.
27902         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27903         type of __dummy and __dummy2 fields.
27904         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27905         (_G_ssize_t): Likewise.
27906         (_G_off_t): Likewise.
27907         (_G_pid_t): Likewise.
27908         (_G_uid_t): Likewise.
27909         (_G_wchar_t): Likewise.
27910         (_G_wint_t): Likewise.
27911         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27912         (_G_ssize_t): Likewise.
27913         (_G_off_t): Likewise.
27914         (_G_pid_t): Likewise.
27915         (_G_uid_t): Likewise.
27916         (_G_wchar_t): Likewise.
27917         (_G_wint_t): Likewise.
27918         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27919         (_G_ssize_t): Likewise.
27920         (_G_off_t): Likewise.
27921         (_G_pid_t): Likewise.
27922         (_G_uid_t): Likewise.
27923         (_G_wchar_t): Likewise.
27924         (_G_wint_t): Likewise.
27926 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27928         * malloc/arena.c: Include malloc-sysdep.h.
27929         (shrink_heap): Use check_may_shrink_heap to decide if madvise
27930         is sufficient to shrink the heap or an unmap is needed.
27931         * sysdeps/generic/malloc-sysdep.h: New file.  Define
27932         new function check_may_shrink_heap.
27933         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
27934         new function check_may_shrink_heap.
27936 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27938         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27939         comments.
27941 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
27943         * catgets/test-gencat.sh: Add "set -e".
27944         * elf/tst-pathopt.sh: Likewise.
27945         * grp/tst_fgetgrent.sh: Likewise.
27946         * iconvdata/run-iconv-test.sh: Likewise.
27947         * intl/tst-gettext.sh: Likewise.
27948         * intl/tst-gettext2.sh: Likewise.
27949         * intl/tst-gettext4.sh: Likewise.
27950         * intl/tst-gettext6.sh: Likewise.
27951         * intl/tst-translit.sh: Likewise.
27952         * io/ftwtest-sh: Likewise.
27953         * libio/test-freopen.sh: Likewise.
27954         * malloc/tst-mtrace.sh: Likewise.
27955         * posix/globtest.sh: Likewise.
27956         * posix/tst-getconf.sh: Likewise.
27957         * posix/wordexp-tst.sh: Likewise.
27958         * stdio-common/tst-printf.sh: Likewise.
27959         * stdio-common/tst-unbputc.sh: Likewise.
27960         * stdlib/tst-fmtmsg.sh: Likewise.
27961         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27962         * catgets/Makefile: Do not specify -e option when running
27963         testsuite shell scripts.
27964         * elf/Makefile: Likewise.
27965         * grp/Makefile: Likewise.
27966         * iconvdata/Makefile: Likewise.
27967         * intl/Makefile: Likewise.
27968         * io/Makefile: Likewise.
27969         * libio/Makefile: Likewise.
27970         * malloc/Makefile: Likewise.
27971         * posix/Makefile: Likewise.
27972         * stdio-common/Makefile: Likewise.
27973         * stdlib/Makefile: Likewise.
27974         * sysdeps/x86_64/Makefile: Likewise.
27976         * io/ftwtest-sh: Add copyright header.
27977         * posix/globtest.sh: Likewise.
27978         * posix/tst-getconf.sh: Likewise.
27979         * posix/wordexp-tst.sh: Likewise.
27980         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27982 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
27984         [BZ #13679]
27985         * Makeconfig (+link): Defined as $(+link-static) if
27986         $(build-shared) isn't yes.
27987         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27988         isn't yes.
27989         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27991         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27993         [BZ #14562]
27994         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27995         new chunk size with MALLOC_ALIGN_MASK.
27997 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
27999         [BZ #5044]
28000         * stdio-common/printf_fphex.c: Include <stdbool.h> and
28001         <rounding-mode.h>.
28002         (__printf_fphex): Determine rounding using get_rounding_mode and
28003         round_away.
28004         * stdio-common/tst-printf-round.c (struct hex_test): New
28005         structure.
28006         (hex_tests): New variable.
28007         (test_hex_in_one_mode): New function.
28008         (do_test): Also run tests for hex float output.
28010 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
28012         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28013         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28014         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28015         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28016         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28017         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28018         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28019         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28021 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
28023         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28024         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28025         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28026         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28028 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
28030         [BZ #14579]
28031         * elf/rtld.c (dl_main): Limit the check for self loading to normal
28032         mode only.
28033         * elf/tst-rtld-load-self.sh: New test.
28034         * elf/Makefile: Run it.
28036 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
28038         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28039         (tst-writev-ENV): Remove.
28040         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28042 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
28044         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28046 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
28048         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28049         unconditional.
28050         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28051         Likewise.
28052         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28053         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28054         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28055         Likewise.
28057 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
28059         [BZ #14587]
28060         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28061         * config.make.in (have-cpp-asm-debuginfo): Removed.
28062         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28063         * configure: Regenerated.
28065 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
28067         [BZ #5044]
28068         * stdio-common/printf_fp.c: Include <stdbool.h> and
28069         <rounding-mode.h>.
28070         (___printf_fp): Determine rounding using get_rounding_mode and
28071         round_away.
28072         * stdio-common/tst-printf-round.c: New file.
28073         * stdio-common/Makefile (tests): Add tst-printf-round.
28074         (link-libm): New variable.
28075         ($(objpfx)tst-printf-round): Depend in $(link-libm).
28077 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
28079         [BZ #14576]
28080         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28081         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28082         Likewise.
28083         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28084         Likewise.
28086 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
28088         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28089         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28090         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28091         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28093 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
28095         [BZ #14518]
28096         * include/rounding-mode.h: New file.
28097         * sysdeps/generic/get-rounding-mode.h: Likewise.
28098         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28099         * stdlib/strtod_l.c: Include <rounding-mode.h>.
28100         (MAX_VALUE): New macro.
28101         (MIN_VALUE): Likewise.
28102         (overflow_value): New function.
28103         (underflow_value): Likewise.
28104         (round_and_return): Use overflow_value and underflow_value to
28105         determine return values in overflow and underflow cases.  Use
28106         round_away to determine rounding depending on rounding mode.
28107         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28108         determine return values in overflow and underflow cases.
28109         * stdlib/tst-strtod-round.c: Include <fenv.h>.
28110         (struct test_results): New structure.
28111         (struct test): Use struct test_results to store expected results
28112         for all rounding modes.
28113         (TEST): Include expected results for all rounding modes.
28114         (test_in_one_mode): New function.
28115         (do_test): Use test_in_one_mode to compute and check results.
28116         Check results for all rounding modes.
28117         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28118         $(link-libm).
28120 2012-12-09  Allan McRae  <allan@archlinux.org>
28122         * sysdeps/i386/fpu/libm-test-ulps: Update
28124 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
28126         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28127         (_G_int32_t): Likewise.
28128         (_G_uint16_t): Likewise.
28129         (_G_uint32_t): Likewise.
28130         (_G_HAVE_BOOL): Likewise.
28131         (_G_HAVE_ATEXIT): Likewise.
28132         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28133         (_G_HAVE_IO_FILE_OPEN): Likewise.
28134         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28135         (_G_int32_t): Likewise.
28136         (_G_uint16_t): Likewise.
28137         (_G_uint32_t): Likewise.
28138         (_G_HAVE_BOOL): Likewise.
28139         (_G_HAVE_ATEXIT): Likewise.
28140         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28141         (_G_HAVE_IO_FILE_OPEN): Likewise.
28142         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28143         (_G_int32_t): Likewise.
28144         (_G_uint16_t): Likewise.
28145         (_G_uint32_t): Likewise.
28146         (_G_HAVE_BOOL): Likewise.
28147         (_G_HAVE_ATEXIT): Likewise.
28148         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28149         (_G_HAVE_IO_FILE_OPEN): Likewise.
28151 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
28153         * csu/libc-tls.c: Update copyright years.
28155 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
28157         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28158         [!_G_USING_THUNKS]: Remove conditional code.
28159         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28160         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28162         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28163         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28164         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28165         (_G_VTABLE_LABEL_PREFIX): Likewise.
28166         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28167         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28168         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28169         (_G_VTABLE_LABEL_PREFIX): Likewise.
28170         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28171         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28172         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28173         (_G_VTABLE_LABEL_PREFIX): Likewise.
28174         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28176 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
28178         * libio/Makefile: Include ../Makeconfig before tests.
28179         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28180         only if $(build-shared) is yes.
28182         * iconv/gconv_db.c: Update copyright years.
28184 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28186         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28187         unwind info if defined PIC. Fix special cases description.
28188         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28190         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28191         DP_HI_MASK entry.
28192         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28194 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
28196         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28198         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28199         is NULL.
28201         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28202         (LDLIBS-tst-chk4): This.
28203         (LDFLAGS-tst-chk5): Renamed to ...
28204         (LDLIBS-tst-chk5): This.
28205         (LDFLAGS-tst-chk6): Renamed to ...
28206         (LDLIBS-tst-chk6): This.
28207         (LDFLAGS-tst-lfschk4): Renamed to ...
28208         (LDLIBS-tst-lfschk4): This.
28209         (LDFLAGS-tst-lfschk5): Renamed to ...
28210         (LDLIBS-tst-lfschk5): This.
28211         (LDFLAGS-tst-lfschk6): Renamed to ...
28212         (LDLIBS-tst-lfschk6): This.
28214         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28215         on $(common-objpfx)soversions.mk.
28217 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
28219         [BZ #10014]
28220         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28221         example host name.
28223 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28225         * malloc/arena.c (arena_get_retry): New function that gets
28226         another arena for the caller to try its request on.
28227         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28228         current arena cannot fulfill the request.
28229         (__libc_memalign): Likewise.
28230         (__libc_memalign): Likewise.
28231         (__libc_pvalloc): Likewise.
28232         (__libc_calloc): Likewise.
28234 2012-09-05  John Tobey  <john.tobey@gmail.com>
28236         [BZ #13542]
28237         * manual/arith.texi (Operations on Complex): Fix description
28238         of carg branch cut.
28240 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28242         [BZ #10014]
28243         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28244         host name.
28246         [BZ #10038]
28247         * manual/memory.texi (Memory): Make order of menu items match
28248         order of sections.
28250 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28252         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28253         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
28254         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28256 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28258         * csu/libc-tls.c (static_dtv): Renamed to ...
28259         (_dl_static_dtv): This.  Make it global.
28260         (_dl_initial_dtv): Removed.
28261         (__libc_setup_tls): Updated.
28262         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28263         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28264         DL_INITIAL_DTV.
28266 2012-09-06  Petr Machata  <pmachata@redhat.com>
28268         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28269         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28270         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28271         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28273 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28275         [BZ #14545]
28276         * csu/libc-tls.c (_dl_initial_dtv): New variable.
28277         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28278         freeing dtv[-1].
28280 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28282         [BZ #14544]
28283         * Makeconfig (link-static-before-libc): Replace $(+prector)
28284         with $(+prectorT).
28285         (link-static-after-libc): Replace $(+postctor) with
28286         $(+postctorT).
28287         (link-bounded): Replace $(+prector)/$(+postctor) with
28288         $(+prectorT)/$(+postctorT).
28289         (+prectorT): New macro.
28290         (+postctorT): Likewise.
28292 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28294         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28295         (round_str): Handle values above the maximum for IBM long double
28296         as inexact.
28297         * stdlib/tst-strtod-round.c (tests): Regenerated.
28299 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28301         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28302         assembler flag.
28303         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28304         zarch_nohighgprs around the zarch optimized routines.
28305         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28306         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28307         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28308         for zarch.
28310 2012-09-05  David S. Miller  <davem@davemloft.net>
28312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28314         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28315         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28316         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28317         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28318         entries.
28320 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28322         * malloc/arena.c: Fold copyright years.
28323         * malloc/mcheck.c, malloc/memusage.c: Likewise.
28325 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28327         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28329 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28331         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
28333 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28335         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28336         change internal state upon failure.
28338 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28340         * malloc/mcheck.c (mcheck_check_all): Fix typo.
28341         * malloc/memusage.c (mmap): Likewise.
28342         (mmap64, mremap): Likewise.  Adjust name in comment.
28344 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28346         * libio/fileops.c: Fix typos in comments.
28347         * libio/oldfileops.c: Likewise.
28348         * libio/wfileops.c: Likewise.
28350 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28352         [BZ #1349]
28353         * malloc/Makefile (tests): Add tst-malloc-usable test case.
28354         (tst-malloc-usable-ENV): Set environment for test case.
28355         * malloc/hooks.c (malloc_check_get_size): New function to get
28356         requested size.
28357         * malloc/malloc.c (musable): Use malloc_check_get_size.
28358         * malloc/tst-malloc-usable.c: New test case.
28360 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28362         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28364 2012-09-05  Allan McRae  <allan@archlinux.org>
28366         [BZ #13966]
28367         * configure.in (CXX_SYSINCLUDES): Use compiler output to
28368         determine header location.
28369         * configure: Regenerated.
28371 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28373         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28374         float format.
28375         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28376         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28377         format.
28378         (test): Regenerate.
28380 2012-09-04  David S. Miller  <davem@davemloft.net>
28382         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28383         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28384         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28386 2012-09-04  Florian Weimer  <fweimer@redhat.com>
28388         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28389         failures.
28391         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28393 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
28395         [BZ #9914]
28396         * libio/iogetdelim.c: Include <limits.h>.
28397         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28398         + len + 1 would overflow.
28400 2012-09-03  Andreas Jaeger  <aj@suse.de>
28402         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28403         * sysdeps/i386/fpu/libm-test-ulps: Update.
28405 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28407         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28408         Add s_sinf-sse2, s_conf-sse2.
28410         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28411         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28412         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28413         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28415         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28416         for using routine as __sinf_ia32.
28417         Use macro for function declaration and weak_alias.
28418         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28419         for using routine as __cosf_ia32.
28420         Use macro for function declaration and weak_alias.
28422         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28423         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28425         * sysdeps/x86_64/fpu/s_sinf.S: New file.
28426         * sysdeps/x86_64/fpu/s_cosf.S: New file.
28427         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28429         * math/libm-test.inc (cos_test): Add more test cases.
28430         (sin_test): Likewise.
28431         (sincos_test): Likewise.
28433 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28435         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28436         (IFUNC_RESOLVE): Make pointers to the specialized implementations
28437         hidden.
28438         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28440 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
28442         [BZ #14538]
28443         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28444         first element of the GOT.
28445         (elf_machine_load_address): Return the difference between
28446         the runtime address of _DYNAMIC and elf_machine_dynamic ().
28448 2012-09-01  Allan McRae  <allan@archlinux.org>
28450         [BZ #13412]
28451         * configure.in (AWK): Require gawk version 3.0 or later.
28452         * configure: Regenerated.
28454 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
28456         * sysdeps/unix/sysv/linux/kernel-features.h
28457         (__ASSUME_POSIX_CPU_TIMERS): Remove.
28458         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28459         [__NR_clock_getres]: Make code unconditional.
28460         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28461         (clock_getcpuclockid): Remove code left unreachable by removal of
28462         conditionals.
28463         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28464         code unconditional.
28465         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28466         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28467         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28468         Make code unconditional.
28469         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28470         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28471         * sysdeps/unix/sysv/linux/clock_settime.c
28472         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28473         conditional code.
28474         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28475         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28477 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
28479         [BZ #14476]
28480         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28481         scripts/test-installation.pl.
28483         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28484         and $ld_so_version if it is set.
28486 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28488         [BZ #14516]
28489         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28490         failure if reading from procfs failed.
28491         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28493 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
28495         * sysdeps/unix/sysv/linux/kernel-features.h
28496         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28497         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28498         Remove conditional code.
28499         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28500         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28501         Remove conditional code.
28502         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28503         * sysdeps/unix/sysv/linux/i386/fxstat.c
28504         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28505         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28506         * sysdeps/unix/sysv/linux/i386/fxstatat.c
28507         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28508         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28509         * sysdeps/unix/sysv/linux/i386/lxstat.c
28510         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28511         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28512         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28513         Remove conditional code.
28514         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28515         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28516         Remove conditional code.
28517         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28518         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28519         <kernel-features.h>.
28520         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28521         Remove.
28522         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28523         Remove conditional code.
28524         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28525         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28526         Remove conditional.
28528 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
28530         [BZ #5400]
28531         * NEWS: Add fixed bug number.
28533 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
28535         [BZ #14519]
28536         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28537         underflowing exponent in case of negative sign.
28538         * stdlib/tst-strtod-round-data: Add more tests.
28539         * stdlib/tst-strtod-round.c (tests): Regenerated.
28541         [BZ #3479]
28542         * stdlib/strtod_l.c (NDIG): Remove.
28543         (HEXNDIG): Likewise.
28544         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28545         smallest representable value.
28546         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28547         lie within an exact representation of 1/2 ulp of the result.
28548         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28549         unconditionally.
28550         (TENS_P9_IDX): Define unconditionally.
28551         (TENS_P9_SIZE): Likewise.
28552         (TENS_P10_IDX): Likewise.
28553         (TENS_P10_SIZE): Likewise.
28554         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28555         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28556         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28557         entries for 10^2^13 and 10^2^14.
28558         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28559         (TENS_P13_IDX): Define.
28560         (TENS_P13_SIZE): Likewise.
28561         (TENS_P14_IDX): Likewise.
28562         (TENS_P14_SIZE): Likewise.
28563         (_fpioconst_pow10): Change array size to
28564         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
28565         unconditional.
28566         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28567         1024]: Add entries for 10^2^13 and 10^2^14.
28568         [LAST_POW10 > _LAST_POW10]: Remove #error.
28569         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28570         (_fpioconst_pow10): Change array size to
28571         FPIOCONST_POW10_ARRAY_SIZE.
28572         * stdlib/gen-fpioconst.c: New file.
28573         * stdlib/gen-tst-strtod-round.c: Likewise.
28574         * stdlib/tst-strtod-round-data: Likewise.
28575         * stdlib/tst-strtod-round.c: Likewise.
28576         * stdlib/Makefile (tests): Add tst-strtod-round.
28578         [BZ #14459]
28579         * stdlib/strtod_l.c: Include <stdint.h>.
28580         (NDEBUG): Do not define.
28581         (round_and_return): Change EXPONENT parameter to type intmax_t.
28582         Rearrange calculations to avoid internal overflow possibilities.
28583         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28584         Rearrange calculations to avoid internal overflow possibilities.
28585         Assert that number fits inside MPNSIZE limbs.
28586         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28587         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
28588         calculations and add assertions to avoid internal overflow
28589         possibilities.  Add casts to avoid signed/unsigned operations.
28590         * stdlib/tst-strtod-overflow.c: New file.
28591         * stdlib/Makefile (tests): Add tst-strtod-overflow.
28593 2012-08-25  Marek Polacek  <polacek@redhat.com>
28595         * time/time.h: Fix some typos in comments.
28597 2012-08-23  Roland McGrath  <roland@hack.frob.com>
28599         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28600         * posix/tst-rfc3484-2.c: Likewise.
28601         * posix/tst-rfc3484-3.c: Likewise.
28603 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
28605         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28606         (EF_ARM_ABI_FLOAT_HARD): Likewise.
28608 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
28610         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28611         #include of fxstatat64.c.
28613 2012-08-22  Roland McGrath  <roland@hack.frob.com>
28615         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28616         * shadow/getspent_r.c: Likewise.
28617         * shadow/getspnam.c: Likewise.
28618         * shadow/getspnam_r.c: Likewise.
28619         * gshadow/getsgent.c: Likewise.
28620         * gshadow/getsgent_r.c: Likewise.
28621         * gshadow/getsgnam.c: Likewise.
28622         * gshadow/getsgnam_r.c: Likewise.
28623         * inet/getnetbyad.c: Likewise.
28624         * inet/getnetbyad_r.c: Likewise.
28625         * inet/getnetbynm.c: Likewise.
28626         * inet/getnetbynm_r.c: Likewise.
28627         * inet/getnetent.c: Likewise.
28628         * inet/getnetent_r.c: Likewise.
28629         * inet/getproto.c: Likewise.
28630         * inet/getproto_r.c: Likewise.
28631         * inet/getprtent.c: Likewise.
28632         * inet/getprtent_r.c: Likewise.
28633         * inet/getprtname.c: Likewise.
28634         * inet/getprtname_r.c: Likewise.
28635         * inet/getrpcbyname.c: Likewise.
28636         * inet/getrpcbyname_r.c: Likewise.
28637         * inet/getrpcbynumber.c: Likewise.
28638         * inet/getrpcbynumber_r.c: Likewise.
28639         * inet/getrpcent.c: Likewise.
28640         * inet/getrpcent_r.c: Likewise.
28641         * inet/getaliasent.c: Likewise.
28642         * inet/getaliasent_r.c: Likewise.
28643         * inet/getaliasname.c: Likewise.
28644         * inet/getaliasname_r.c: Likewise.
28645         * nscd/getgrgid_r.c: Likewise.
28646         * nscd/getgrnam_r.c: Likewise.
28647         * nscd/gethstbyad_r.c: Likewise.
28648         * nscd/gethstbynm3_r.c: Likewise.
28649         * nscd/getpwnam_r.c: Likewise.
28650         * nscd/getpwuid_r.c: Likewise.
28651         * nscd/getsrvbynm_r.c: Likewise.
28652         * nscd/getsrvbypt_r.c: Likewise.
28653         * nscd/gai.c: Likewise.
28655         * configure.in (build_nscd): New substituted variable, set
28656         by --disable-build-nscd and defaults to $use_nscd.
28657         * configure: Regenerated.
28658         * config.make.in (build-nscd): New substituted variable.
28659         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28660         Change conditional to require [$(build-nscd) = yes] as well.
28661         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28663         [BZ# 13696]
28664         * configure.in (use_nscd): New substituted variable, set by
28665         --disable-nscd.  If enabled, define USE_NSCD.
28666         * configure: Regenerated.
28667         * config.h.in: Add USE_NSCD.
28668         * config.make.in (use-nscd): New substituted variable.
28669         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28670         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28671         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28672         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28673         (CFLAGS-getgrnam_r.c): Likewise.
28674         (CFLAGS-initgroups.c): Likewise.
28675         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28676         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28677         Variables removed.
28678         * inet/getnetgrent_r.c
28679         (nscd_setnetgrent): New function, broken out of ...
28680         (setnetgrent): ... here.  Call it.
28681         (innetgr): Conditionalize nscd bits on [USE_NSCD].
28682         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28683         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28684         * nscd/Makefile (routines, aux): Move definitions after include of
28685         Makeconfig.  Conditionalize on [$(use-nscd) != no].
28686         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28687         Conditionalize on [USE_NSCD].
28688         (is_nscd, nscd_init_cb): Likewise.
28689         (nss_load_library): Conditionalize init callback on [USE_NSCD].
28690         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28691         * nss/nss_db/db-init.c: Likewise.
28692         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28693         [USE_NSCD].
28694         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28695         (make_request): Use it.
28696         (cache_valid_p): New function.
28697         (__check_pf): Use it.
28698         * NEWS: Add item for --disable-nscd.
28700 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
28702         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28703         to support sed >= 4.2.1-20-ga9bf076.
28704         * configure: Regenerated.
28706 2012-08-22  Roland McGrath  <roland@hack.frob.com>
28708         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28709         Conditionalize whole body on [IREL].
28711 2012-08-22  Jeff Law <law@redhat.com>
28713         [BZ #14505]
28714         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28715         if the family is PF_UNSPEC.
28717 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
28719         * Makerules (lib-version): Rename from V.
28720         (install-lib-nosubdir): Change V to lib-version.
28722 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
28724         [BZ #14252]
28725         * powerpc32/power6/wcschr.c: New file.
28726         * powerpc32/power6/wcscpy.c: New file.
28727         * powerpc32/power6/wcsrchr.c: New file.
28728         * powerpc64/power6/wcschr.c: New file.
28729         * powerpc64/power6/wcscpy.c: New file.
28730         * powerpc64/power6/wcsrchr.c: New file.
28732 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
28734         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28735         (two_way_short_needle): Use it.
28736         * string/strstr.c (AVAILABLE1_USES_J): Define.
28737         * string/strcasestr.c: Likewise.
28739         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28740         array references.
28741         * string/strcasestr.c (TOLOWER): Make side-effect safe.
28743         [BZ #11607]
28744         * NEWS: Add an entry.
28745         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28746         define their defaults.
28747         (two_way_short_needle): Detect end-of-string on-the-fly.
28748         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28749         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28750         * string/bug-strcasestr1.c: New test.
28751         * string/Makefile: Run it.
28753 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
28755         [BZ #11607]
28756         * string/str-two-way.h (two_way_short_needle): Optimize matching of
28757         the first character.
28759 2012-08-21  Roland McGrath  <roland@hack.frob.com>
28761         * csu/elf-init.c (__libc_csu_irel): Function removed.
28762         * csu/libc-start.c (apply_irel): New function.
28763         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28765 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
28767         * sysdeps/unix/sysv/linux/kernel-features.h
28768         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28769         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28770         <kernel-features.h>.
28771         [__NR_fadvise64_64]: Make code unconditional.
28772         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28773         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28774         !__NR_fadvise64_64)]: Likewise.
28775         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28776         !__NR_fadvise64_64))]: Likewise.
28777         [__NR_fadvise64]: Make code unconditional.
28778         [!__NR_fadvise64]: Remove conditional code.
28779         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28780         <kernel-features.h>.
28781         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28782         unconditional.
28783         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28784         conditional code.
28785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28786         not include <kernel-features.h>.
28787         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28788         unconditional.
28789         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28790         conditional code.
28791         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28792         include <kernel-features.h>.
28793         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28794         unconditional.
28795         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28796         conditional code.
28798 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28800         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28801         slight instruction rearrangements per scrollpipe analysis.
28802         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28804 2012-08-20  Roland McGrath  <roland@hack.frob.com>
28806         * manual/syslog.texi (syslog; vsyslog, closelog):
28807         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28808         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28810         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28811         DSOCAPS to match condition on defining it.
28813 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
28815         * sysdeps/unix/sysv/linux/kernel-features.h
28816         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28818         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28819         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28821         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28822         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28824         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28825         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28827         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28828         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28830         * sysdeps/unix/sysv/linux/kernel-features.h
28831         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28832         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28833         unconditional.
28834         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28835         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28836         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28837         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28838         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28839         Make code unconditional.
28840         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28841         (__mmap64) [!__NR_mmap2]: Likewise.
28842         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28843         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28844         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28845         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28846         [__NR_mmap2]: Make code unconditional.
28847         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28848         (__mmap64) [!__NR_mmap2]: Likewise.
28850 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28852         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28854 2012-08-18  Andreas Jaeger  <aj@suse.de>
28856         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28858 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
28860         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28861         * include/unistd.h (__have_sock_cloexec): Likewise.
28862         (__have_pipe2): Likewise.
28863         (__have_dup3): Likewise.
28865 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
28867         [BZ #9685]
28868         * include/unistd.h (__have_pipe2): Change define into an extern int.
28869         (__have_dup3): Likewise.
28870         * socket/have_sock_cloexec.c: Include fcntl.h.
28871         (__have_pipe2): New variable.
28872         (__have_dup3): Likewise.
28874 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
28876         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28878 2012-08-17  Marek Polacek  <polacek@redhat.com>
28880         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28881         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28883 2012-08-17  Roland McGrath  <roland@hack.frob.com>
28885         * configure.in: Add AC_SUBST for sysheaders.
28886         * configure: Regenerated.
28887         * config.make.in (sysheaders): New substituted variable.
28889         * sysdeps/unix/mkfifo.c: Moved ...
28890         * sysdeps/posix/mkfifo.c: ... here.
28891         * sysdeps/unix/mkfifoat.c: Moved ...
28892         * sysdeps/posix/mkfifoat.c: ... here.
28894         * sysdeps/unix/utime.c: Moved ...
28895         * sysdeps/posix/utime.c: ... here.
28897         * sysdeps/unix/time.c: Moved ...
28898         * sysdeps/posix/time.c: ... here.
28899         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28900         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28902         * sysdeps/unix/nice.c: Moved ...
28903         * sysdeps/posix/nice.c: ... here.
28905         * sysdeps/unix/alarm.c: Moved ...
28906         * sysdeps/posix/alarm.c: ... here.
28908         * intl/Makefile ($(codeset_mo)): Depend on the input file.
28910 2012-08-17  Jeff Law <law@redhat.com>
28912         * intl/Makefile (codeset_mo): New variable.
28913         ($(codeset_mo)): New target.
28914         (tst-codeset.out): Depend on that.  Remove explicit rule.
28915         (tst-gettext3.out, tst-gettext5.out): Likewise.
28916         (LOCPATH-ENV, tst-codeset-ENV): New variables.
28917         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28918         * intl/tst-codeset.sh: Remove.
28919         * intl/tst-gettext3.sh: Likewise.
28920         * intl/tst-gettext5.sh: Likewise.
28922 2012-08-17  Roland McGrath  <roland@hack.frob.com>
28924         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
28925         * sysdeps/unix/syscalls.list: ... here.
28927         * sysdeps/posix/getaddrinfo.c
28928         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28929         (gaiconf_init, gaiconf_reload): Use them.
28930         [!_STATBUF_ST_NSEC]
28931         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28932         Define using time_t rather than struct timespec.
28934         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28935         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28936         Macros removed.
28937         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28938         [!NO_THREADS].
28939         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28940         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28941         Likewise.
28943         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28944         __libc_cleanup_push argument.
28946         * bits/param.h: New file.
28947         * misc/sys/param.h: New file.
28948         * include/sys/param.h: New file.
28949         * misc/Makefile (headers): Add bits/param.h.
28950         * sysdeps/generic/sys/param.h: File removed.
28951         * sysdeps/unix/sysv/linux/bits/param.h: New file.
28952         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28953         * sysdeps/mach/hurd/bits/param.h: New file.
28954         * sysdeps/mach/hurd/sys/param.h: File removed.
28956         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28957         last change.
28959         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28960         [_IO_MTSAFE_IO].
28961         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28962         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28963         New macros.
28965         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28966         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28967         rather than -D_IO_MTSAFE_IO conditionally.
28968         * stdio-common/Makefile (CPPFLAGS): Likewise.
28969         * wcsmbs/Makefile (CPPFLAGS): Likewise.
28970         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28971         Use $(libio-mtsafe).
28972         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28973         of -D_IO_MTSAFE_IO.
28974         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28975         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28976         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28977         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28978         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28979         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28980         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28981         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28982         (CFLAGS-fread_u_chk.c): Likewise.
28983         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28984         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28985         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28986         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28987         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28988         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28989         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28990         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28991         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28993         * libio/Makefile: Test [$(libc-reentrant) = yes]
28994         instead of [$(filter %REENTRANT, $(defines)) nonempty].
28996         * Makeconfig
28997         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28998         * sysdeps/pthread/configure: File removed.
28999         * sysdeps/pthread/Makeconfig: New file.
29000         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29001         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29003 2012-08-16  Gary Benson  <gbenson@redhat.com>
29005         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29006         unmapping the first object in a namespace.
29008 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29010         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29011         (__internal_setnetgrent): ... this.  Add internal_function to
29012         definition.  Add libc_hidden_def.
29013         (setnetgrent): Update caller.
29014         (internal_endnetgrent): Renamed to ...
29015         (__internal_endnetgrent): ... this.  Add internal_function to
29016         definition.  Add libc_hidden_def.
29017         (endnetgrent): Update caller.
29018         (internal_getnetgrent_r): Renamed to ...
29019         (__internal_getnetgrent_r): ... this.  Add internal_function to
29020         definition.  Add libc_hidden_def.
29021         (__getnetgrent_r): Update caller.
29022         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
29024 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29026         * stdlib/longlong.h: Update from GCC.
29028 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29030         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29031         on _QL, which is set by umul_ppmm but never used.
29032         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29033         variables, which are set by GMP macros but never used.
29034         * stdio-common/_itowa.c (_itowa): Likewise.
29035         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29036         * stdlib/mod_1.c (mpn_mod_1): Likewise.
29038 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
29040         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29041         struct La_sh_regs is not constant.
29042         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29043         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29044         and struct La_sparc64_regs are not constant.
29046 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29048         * sysdeps/unix/sysv/linux/kernel-features.h
29049         (__ASSUME_POSIX_TIMERS): Remove.
29050         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29051         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29052         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29053         Make code unconditional.
29054         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29055         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29056         Make code unconditional.
29057         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29058         * sysdeps/unix/sysv/linux/clock_nanosleep.c
29059         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29060         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29061         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29062         Make code unconditional.
29063         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29064         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29065         (__libc_missing_posix_timers): Remove.
29067 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29069         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29070         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29072         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29074         * elf/dl-sym.c: Include <stdlib.h>.
29076         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29077         constants, which avoids warnings in 32-bit builds.
29079         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29080         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29082         * misc/lseek.c: File moved to ...
29083         * io/lseek.c: ... here.
29085         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29087         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29088         shifting LEN more than 31 bits at once.
29090 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29092         [BZ #14195]
29093         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29094         segmentation fault for a case of two empty input strings.
29095         * string/test-strncasecmp.c (check1): Renamed to...
29096         (bz12205): ...this.
29097         (bz14195): Add new testcase for two empty input strings and N > 0.
29098         (test_main): Call new testcase, adapt for renamed function.
29100 2012-08-15  Andreas Jaeger  <aj@suse.de>
29102         [BZ #14090]
29103         * crypt/md5test2.c: New test, based on test supplied by Serge
29104         Belyshev <belyshev@depni.sinp.msu.ru>.
29105         * crypt/Makefile (xtests): Add md5test-giant..
29106         * crypt/Makefile ($(objpfx)md5test-giant): Add.
29108 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
29110         [BZ #14090]
29111         * crypt/md5.c (md5_process_block): Don't assume the buffer
29112         length is less than 2**32.
29113         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29114         length is less than 2**64.
29116 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29118         * string/str-two-way.h: Include <sys/param.h>.
29119         (MAX): Macro removed.
29121         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29122         Move #define and #undef of memmove to just before and after
29123         including <string.h>.
29125         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29126         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29127         and after including <string.h>.  Move declarations of
29128         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29129         to before #include "string/memmove.c".
29131         * include/dirent.h: Declare __getdirentries.
29133         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29134         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29136 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
29138         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29139         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29140         * sysdeps/i386/configure: Regenerated.
29141         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29142         STABS_CURRENT_FILE, and STABS_FUN.
29143         (END): Remove call to STABS_FUN_END.
29144         (STABS_CURRENT_FILE1): Delete.
29145         (STABS_CURRENT_FILE): Likewise.
29146         (STABS_FUN): Likewise.
29147         (STABS_FUN_END): Likewise.
29148         (STABS_FUN2): Likewise.
29149         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29150         * sysdeps/x86_64/configure: Regenerated.
29152 2012-08-14  Roland McGrath  <roland@hack.frob.com>
29154         * elf/dl-open.c: Include <atomic.h>.
29155         * elf/dl-lookup.c: Likewise.
29157 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
29159         * sysdeps/unix/sysv/linux/kernel-features.h
29160         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29161         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29162         unconditionally.
29163         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29164         unconditionally.
29165         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29166         condition on __ASSUME_CLONE_THREAD_FLAGS.
29168 2012-08-14  Andreas Jaeger  <aj@suse.de>
29170         * sysdeps/i386/fpu/libm-test-ulps: Update.
29172 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
29174         * include/atomic.h (atomic_exchange_and_add): Split into ...
29175         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29176         New atomic macros.
29178 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
29180         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29182 2012-08-13  Jeff Law <law@redhat.com>
29184         * manual/stdio.texi (snprintf): Clarify handling of the trailing
29185         null byte in the output string.
29187 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
29189         * sysdeps/unix/sysv/linux/kernel-features.h
29190         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29191         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29192         (__ASSUME_ARG_MAX_STACK_BASED): Define.
29193         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29194         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29195         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
29196         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29198 2012-08-09  Jeff Law <law@redhat.com>
29200         [BZ #13939]
29201         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29202         When avoid_arena is set, don't retry in the that arena.  Pick the
29203         next one, whatever it might be.
29204         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29205         (arena_lock): Pass in new parameter to arena_get2.
29206         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29207         arena_get2.
29208         (__libc_malloc): Unify retrying after main arena failure with
29209         __libc_memalign version.
29210         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29212 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
29214         [BZ #14166]
29215         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29216         to __redirect_strstr.
29217         (__strstr_sse42): Use typeof __redirect_strstr.
29218         (__strstr_ia32): Likewise.
29219         (__libc_strstr): New prototype.
29220         (strstr): Renamed to ...
29221         (__libc_strstr): This.
29222         (strstr): New strong alias of __libc_strstr.
29223         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29224         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29225         __redirect_time.
29226         Include <time.h>.
29227         (__libc_time): New prototype.
29228         (time_ifunc): Replace time with __libc_time.
29229         (time): New strong alias and hidden definition of __libc_time.
29230         (__GI_time): Remove strong alias.
29231         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29232         Include <stddef.h>.
29233         (memmove): Redefined to __redirect_memmove.
29234         (__memmove_sse2): Use typeof __redirect_memmove.
29235         (__memmove_ssse3): Likewise.
29236         (__memmove_ssse3_back): Likewise.
29237         (__libc_memmove): New prototype.
29238         (memmove): Renamed to ...
29239         (__libc_memmove): This.
29240         (memmove): New strong alias of __libc_memmove.
29242 2012-08-08  Mark Salter  <msalter@redhat.com>
29244         * elf/elf.h
29245         (R_MN10300_TLS_GD): Define.
29246         (R_MN10300_TLS_LD): Likewise.
29247         (R_MN10300_TLS_LDO): Likewise.
29248         (R_MN10300_TLS_GOTIE): Likewise.
29249         (R_MN10300_TLS_IE): Likewise.
29250         (R_MN10300_TLS_LE): Likewise.
29251         (R_MN10300_TLS_DTPMOD): Likewise.
29252         (R_MN10300_TLS_DTPOFF): Likewise.
29253         (R_MN10300_TLS_TPOFF): Likewise.
29254         (R_MN10300_SYM_DIFF): Likewise.
29255         (R_MN10300_ALIGN): Likewise.
29256         (R_MN10300_NUM): Update.
29258 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
29260         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29261         Remove.
29263 2012-08-08  Roland McGrath  <roland@hack.frob.com>
29265         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29267         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29268         sysdeps/unix -> sysdeps/posix move.
29269         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29271 2012-08-07      Allan McRae     <allan@archlinux.org>
29273         [BZ #14303]
29274         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29275         (SUNOS_CPP): Likewise.
29276         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29277         not found.
29278         (open_input): Call CPP using execvp.
29280 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29282         * sysdeps/unix/sysv/linux/kernel-features.h
29283         (__ASSUME_PROT_GROWSUPDOWN): Remove.
29284         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29285         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29286         (__ASSUME_WAITID_SYSCALL): Likewise.
29287         * sysdeps/unix/sysv/linux/dl-execstack.c
29288         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29289         code unconditional.
29290         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29291         conditional code.
29292         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29293         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29294         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29295         code.
29296         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29297         unconditional.
29298         [__ASSUME_WAITID_SYSCALL]: Likewise.
29299         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29301 2012-08-07  Roland McGrath  <roland@hack.frob.com>
29303         * sysdeps/unix/closedir.c: Renamed to ...
29304         * sysdeps/posix/closedir.c: ... here.
29305         * sysdeps/unix/dirfd.c: Renamed to ...
29306         * sysdeps/posix/dirfd.c: ... here.
29307         * sysdeps/unix/dirstream.h: Renamed to ...
29308         * sysdeps/posix/dirstream.h: ... here.
29309         * sysdeps/unix/fdopendir.c: Renamed to ...
29310         * sysdeps/posix/fdopendir.c: ... here.
29311         * sysdeps/unix/opendir.c: Renamed to ...
29312         * sysdeps/posix/opendir.c: ... here.
29313         * sysdeps/unix/readdir.c: Renamed to ...
29314         * sysdeps/posix/readdir.c: ... here.
29315         * sysdeps/unix/readdir_r.c: Renamed to ...
29316         * sysdeps/posix/readdir_r.c: ... here.
29317         * sysdeps/unix/rewinddir.c: Renamed to ...
29318         * sysdeps/posix/rewinddir.c: ... here.
29319         * sysdeps/unix/seekdir.c: Renamed to ...
29320         * sysdeps/posix/seekdir.c: ... here.
29321         * sysdeps/unix/telldir.c: Renamed to ...
29322         * sysdeps/posix/telldir.c: ... here.
29323         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29324         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29325         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29326         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29328         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29329         * bits/fcntl.h: ... here.
29331         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29332         not 0.
29333         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29334         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29335         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29336         (struct flock): Move l_start, l_len to the beginning.
29337         Use __pid_t for l_pid.
29338         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29339         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29340         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29341         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29342         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29343         [__USE_LARGEFILE64] (struct flock64): New type.
29344         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29346         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29347         * bits/dirent.h: ... here.
29349         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29350         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29352 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29354         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29355         Change from 2.6.0 to 2.6.16.
29356         * sysdeps/unix/sysv/linux/configure: Regenerated.
29357         * sysdeps/unix/sysv/linux/kernel-features.h
29358         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29359         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29360         version.
29361         (__ASSUME_UTIMES): Likewise.
29362         (__ASSUME_CLONE_STOPPED): Remove.
29363         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29364         architectures, not kernel version.
29365         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29366         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29367         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29368         (__ASSUME_WAITID_SYSCALL): Likewise.
29369         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29370         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29371         * README: State 2.6.16 as minimum Linux kernel version.  Do not
29372         refer to older versions.
29374 2012-08-06  Roland McGrath  <roland@hack.frob.com>
29376         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29377         Define alphasort64 as an alias.
29378         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29379         Define versionsort64 as an alias.
29380         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29381         Define scandir64 as an alias.
29382         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29383         Define scandirat64 as an alias.
29384         * dirent/alphasort64.c (alphasort64):
29385         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29386         * dirent/versionsort64.c: Likewise.
29387         * dirent/scandir64.c: Likewise.
29388         * dirent/scandirat64.c: Likewise.
29389         * sysdeps/wordsize-64/alphasort.c: File removed.
29390         * sysdeps/wordsize-64/alphasort64.c: File removed.
29391         * sysdeps/wordsize-64/scandir.c: File removed.
29392         * sysdeps/wordsize-64/scandir64.c: File removed.
29393         * sysdeps/wordsize-64/scandirat.c: File removed.
29394         * sysdeps/wordsize-64/scandirat64.c: File removed.
29395         * sysdeps/wordsize-64/versionsort.c: File removed.
29396         * sysdeps/wordsize-64/versionsort64.c: File removed.
29397         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29398         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29399         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29400         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29401         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29402         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29403         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29404         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29406         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29407         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29408         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29409         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29410         [defined __arch64__ || defined __sparcv9]
29411         (__INO_T_MATCHES_INO64_T): New macro.
29412         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29413         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29414         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29415         * sysdeps/unix/sysv/linux/bits/dirent.h
29416         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29417         (_DIRENT_MATCHES_DIRENT64): New macro.
29419         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29420         Define lockf64 as an alias.
29421         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29422         Define fseeko64 as an alias.
29423         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29424         Define ftello64 as an alias.
29425         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29426         Define _IO_fgetpos64 and fgetpos64 as aliases.
29427         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29428         Define _IO_fsetpos64 and fsetpos64 as aliases.
29429         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29430         Conditionalize body on this.
29431         * libio/fseeko64.c: Likewise.
29432         * libio/ftello64.c: Likewise.
29433         * libio/iofgetpos64.c: Likewise.
29434         * libio/iofsetpos64.c: Likewise.
29435         * sysdeps/wordsize-64/lockf.c: File removed.
29436         * sysdeps/wordsize-64/lockf64.c: File removed.
29437         * sysdeps/wordsize-64/fseeko.c: File removed.
29438         * sysdeps/wordsize-64/fseeko64.c: File removed.
29439         * sysdeps/wordsize-64/ftello.c: File removed.
29440         * sysdeps/wordsize-64/ftello64.c: File removed.
29441         * sysdeps/wordsize-64/iofgetpos.c: File removed.
29442         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29443         * sysdeps/wordsize-64/iofsetpos.c: File removed.
29444         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29445         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29446         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29447         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29448         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29449         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29450         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29451         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29452         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29453         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29454         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29456         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29457         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29458         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29459         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29460         [defined __arch64__ || defined __sparcv9]
29461         (__OFF_T_MATCHES_OFF64_T): New macro.
29462         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29463         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29464         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29465         (__OFF_T_MATCHES_OFF64_T): New macro.
29467 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
29469         * stdlib/secure-getenv.c (__secure_getenv): Replace
29470         GLIBC_2_16 with GLIBC_2_17.
29472 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
29474         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29475         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29477 2012-08-03  David S. Miller  <davem@davemloft.net>
29479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29481 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
29483         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29484         Remove.
29485         (__ASSUME_CORRECT_SI_PID): Likewise.
29486         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29487         (__ASSUME_TMPFS_NAME): Likewise.
29488         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29489         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29490         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29491         (HAVE_AUX_SECURE): Make definition unconditional.
29492         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29493         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29495 2012-08-03  Roland McGrath  <roland@hack.frob.com>
29497         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29498         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29499         * sysdeps/mach/hurd/eloop-threshold.h: New file.
29500         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29501         __eloop_threshold instead of SYMLOOP_MAX.
29503         * sysdeps/generic/eloop-threshold.h: New file.
29504         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29505         of MAXSYMLINKS.
29506         * elf/chroot_canon.c (chroot_canon): Likewise.
29508 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
29510         [BZ #13717]
29511         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29512         Change to 2.6.0 everywhere.
29513         * sysdeps/unix/sysv/linux/configure: Regenerated.
29514         * sysdeps/unix/sysv/linux/kernel-features.h
29515         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29516         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29517         kernel versions.
29518         (__ASSUME_POSIX_TIMERS): Define unconditionally.
29519         (__ASSUME_FUTEX_REQUEUE): Remove.
29520         (__ASSUME_STATFS64): Define unconditionally.
29521         (__ASSUME_AT_SECURE): Likewise.
29522         (__ASSUME_CORRECT_SI_PID): Likewise.
29523         (__ASSUME_TGKILL): Define without depending on kernel version for
29524         i386.
29525         (__ASSUME_UTIMES): Likewise.
29526         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29527         kernel version.
29528         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29529         (__ASSUME_TMPFS_NAME): Likewise.
29530         * README: Update reference to Linux kernel versions.
29532 2012-08-02  Marek Polacek  <polacek@redhat.com>
29534         [BZ# 14150]
29535         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
29536         libc_cv_asm_type_prefix with %.
29537         * configure: Regenerated.
29538         * include/libc-symbols.h: Remove comment about
29539         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29540         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29541         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29542         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29543         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29544         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29545         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29546         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29547         * elf/tst-unique2mod1.c: Likewise.
29548         * elf/tst-unique1mod2.c: Likewise.
29549         * elf/tst-unique1mod1.c: Likewise.
29550         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29551         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29552         Replace ASM_TYPE_DIRECTIVE with .type.
29553         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29554         * sysdeps/i386/sysdep.h: Likewise.
29555         * sysdeps/x86_64/sysdep.h: Likewise.
29556         * sysdeps/sh/sysdep.h: Likewise.
29557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29558         Do not define ASM_TYPE_DIRECTIVE.
29559         * sysdeps/powerpc/sysdep.h: Likewise.
29560         * sysdeps/powerpc/powerpc32/sysdep.h:
29561         Replace ASM_TYPE_DIRECTIVE with .type.
29562         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29563         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29564         * sysdeps/i386/fpu/e_powf.S: Likewise.
29565         * sysdeps/i386/fpu/e_expl.S: Likewise.
29566         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29567         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29568         * sysdeps/i386/fpu/e_pow.S: Likewise.
29569         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29570         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29571         * sysdeps/i386/fpu/s_expm1.S: Likewise.
29572         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29573         * sysdeps/i386/fpu/e_log2.S: Likewise.
29574         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29575         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29576         * sysdeps/i386/fpu/e_powl.S: Likewise.
29577         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29578         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29579         * sysdeps/i386/fpu/e_logl.S: Likewise.
29580         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29581         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29582         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29583         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29584         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29585         * sysdeps/i386/fpu/e_log.S: Likewise.
29586         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29587         * sysdeps/i386/fpu/e_logf.S: Likewise.
29588         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29589         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29590         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29591         * sysdeps/i386/fpu/e_log10.S: Likewise.
29592         * sysdeps/i386/fpu/s_frexp.S: Likewise.
29593         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29594         * sysdeps/i386/fpu/s_asinh.S: Likewise.
29595         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29596         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29597         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29598         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29599         * sysdeps/i386/i686/strtok.S: Likewise.
29600         * sysdeps/i386/i386-mcount.S: Likewise.
29601         * sysdeps/i386/strtok.S: Likewise.
29602         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29603         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29604         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29605         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29606         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29607         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29608         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29609         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29610         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29611         * sysdeps/x86_64/_mcount.S: Likewise.
29612         * sysdeps/x86_64/strtok.S: Likewise.
29613         * sysdeps/sh/_mcount.S: Likewise.
29615 2012-08-01  Roland McGrath  <roland@hack.frob.com>
29617         * libio/iofopen.c: Include <fcntl.h>.
29618         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29619         (_IO_fopen64, fopen64): Define as aliases.
29620         * libio/iofopen64.c: Include <fcntl.h>.
29621         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29622         Conditionalize body on this.
29623         * sysdeps/wordsize-64/iofopen.c: File removed.
29624         * sysdeps/wordsize-64/iofopen64.c: File removed.
29626 2012-08-01  Marek Polacek  <polacek@redhat.com>
29628         * libc/Makeconfig: Use elf in place of binfmt-subdir.
29629         Use dlfcn directly instead of a variable.
29630         (binfmt-subdir): Do not define.
29631         (dlfcn): Likewise.
29633 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
29635         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29636         Remove all definitions.
29637         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29638         <kernel-features.h>.
29639         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29640         (miss_F_GETOWN_EX): Remove all definitions.
29641         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29642         macro definition.
29643         [!__ASSUME_FCNTL64]: Remove conditional code.
29644         [__ASSUME_FCNTL64]: Make code unconditional.
29645         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29646         <kernel-features.h>.
29647         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29648         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29649         (lockf64) [__NR_fcntl64]: Make code unconditional.
29650         (lockf64) [__ASSUME_FCNTL64]: Likewise.
29652         * sysdeps/unix/sysv/linux/kernel-features.h
29653         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29654         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29655         Make code unconditional.
29656         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29657         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29659         [__NR_vfork]: Make code unconditional.
29660         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29661         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29663         [__NR_vfork]: Make code unconditional.
29664         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29665         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29667 2012-08-01  Roland McGrath  <roland@hack.frob.com>
29669         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29670         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29672         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29673         Define mkstemp64 as an alias.
29674         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29675         Define mkstemps64 as an alias.
29676         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29677         Define mkostemp64 as an alias.
29678         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29679         Define mkostemps64 as an alias.
29680         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29681         Conditionalize body on this.
29682         * misc/mkostemp64.c: Likewise.
29683         * misc/mkostemps64.c: Likewise.
29684         * misc/mkstemps64.c: Likewise.
29685         * sysdeps/wordsize-64/mkstemp64.c: File removed.
29686         * sysdeps/wordsize-64/mkostemp64.c: File removed.
29687         * sysdeps/wordsize-64/mkostemp.c: File removed.
29688         * sysdeps/wordsize-64/mkstemp.c: File removed.
29689         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29690         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29691         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29692         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29694         [BZ #14138]
29695         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29696         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29697         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29698         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29700         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29701         compat_symbol macros from <shlib-compat.h> rather than the underlying
29702         default_symbol_version and symbol_version macros, so that DEFAULT
29703         lines in shlib-versions are respected.
29704         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29706 2012-08-01  Florian Weimer  <fweimer@redhat.com>
29708         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29709         Declare with warn_unused_result.
29710         (setgid, setregid, setegid, setresgid): Likewise.
29711         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29712         Likewise.
29713         * WUR-REPORT: Remove set*id functions.
29715 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
29717         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29719 2012-07-31  Roland McGrath  <roland@hack.frob.com>
29721         [BZ #10191]
29722         * include/sys/socket.h (__libc_accept, __libc_accept4):
29723         Add attribute_hidden.
29724         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29726         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29727         use of PTR_MANGLE.
29728         * inet/getnetgrent_r.c (setup): Likewise.
29730         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29732 2012-07-31  David S. Miller  <davem@davemloft.net>
29734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29736 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
29738         [BZ #13629]
29739         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29740         value between 1.0 and 2.0 and smaller part has absolute value less
29741         than 1.0.
29742         * math/s_clog10.c (__clog10): Likewise.
29743         * math/s_clog10f.c (__clog10f): Likewise.
29744         * math/s_clog10l.c (__clog10l): Likewise.
29745         * math/s_clogf.c (__clogf): Likewise.
29746         * math/s_clogl.c (__clogl): Likewise.
29747         * math/libm-test.inc (clog_test): Add more tests.
29748         (clog10_test): Likewise.
29749         * sysdeps/i386/fpu/libm-test-ulps: Update.
29750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29752 2012-07-31  Florian Weimer  <fweimer@redhat.com>
29754         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29755         Exit with zero in case no suitable GID is found, and write a
29756         message to standard error.
29758 2012-07-30  Roland McGrath  <roland@hack.frob.com>
29760         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29761         rather than to 1.
29762         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29763         (MAXPATHLEN): Removed.
29764         (NOGROUP, NODEV): New macros.
29765         (setbit, clrbit, isset, isclr): New macros.
29766         (howmany, roundup, powerof2): New macros.
29767         (DEV_BSIZE): New macro.
29769         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29770         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29772         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29773         definition on [!__NO_LONG_DOUBLE_MATH].
29775         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29776         PTR_MANGLE and PTR_DEMANGLE.
29778         * socket/accept4.c (accept4): Rename to __libc_accept4.
29779         Define accept4 as a weak alias.
29781         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29782         on [_DIRENT_HAVE_D_TYPE].
29783         * io/ftw.c (ftw_dir): Likewise.
29785         * io/xmknod.c (__xmknod): Don't check PATH for being null.
29787         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29789         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29790         Use the BSD numbers rather than the arbitrary ones we had.
29791         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29792         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29793         (SIGXCPU, SIGXFSZ): New macros.
29794         (_NSIG): Now 32.
29796         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29797         initializer on [_LIBC_REENTRANT].
29799         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29800         definitions inside [_POSIX_MAPPED_FILES].
29802         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29804         * dirent/opendir.c: Include <fcntl.h>.
29806         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29807         (__libc_getspecific): Likewise.
29808         (__libc_key_create): Likewise.
29810         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29811         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29812         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29813         (tmpfile64): Define as alias.
29814         * sysdeps/wordsize-64/tmpfile.c: File removed.
29815         * sysdeps/wordsize-64/tmpfile64.c: File removed.
29816         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29817         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29819         * stdio-common/vfscanf.c: Include <stdbool.h>.
29820         * nss/makedb.c: Likewise.
29821         * stdio-common/_i18n_number.h: Likewise.
29822         * argp/argp-help.c: Likewise.
29823         * posix/wordexp.c: Likewise.
29824         * sysdeps/posix/spawni.c: Likewise.
29825         * nss/nss_files/files-initgroups.c: Likewise.
29826         * stdio-common/reg-modifier.c: Include <stdlib.h>.
29827         * nss/nss_files/files-initgroups.c: Likewise.
29828         * nss/nss_db/db-netgrp.c: Likewise.
29829         * nss/nss_db/db-initgroups.c: Likewise.
29830         * io/fchmodat.c: Include <sys/stat.h>.
29832         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29833         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29835         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29836         [HAVE_MMAP].
29838         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29839         Add multiple inclusion protection.
29841 2012-07-27  David S. Miller  <davem@davemloft.net>
29843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29845 2012-07-27  Gary Benson  <gbenson@redhat.com>
29847         [BZ #14298]
29848         * elf/rtld.c: Include <stap-probe.h>.
29849         (dl_main): Added static probes "init_start" and "init_complete".
29850         * elf/dl-load.c: Include <stap-probe.h>.
29851         (lose): Take new parameter "nsid".
29852         Added static probe "map_failed".
29853         (_dl_map_object_from_fd): Pass namespace id to lose.
29854         Added static probe "map_start".
29855         (open_verify): Pass namespace id to lose.
29856         * elf/dl-open.c: Include <stap-probe.h>.
29857         (dl_open_worker) Added static probes "map_complete", "reloc_start"
29858         and "reloc_complete".
29859         * elf/dl-close.c: Include <stap-probe.h>.
29860         (_dl_close_worker): Added static probes "unmap_start" and
29861         "unmap_complete".
29862         * elf/rtld-debugger-interface.txt: New file documenting the above.
29864 2012-07-26  Roland McGrath  <roland@hack.frob.com>
29866         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29867         rather than a string variable.
29868         * sunrpc/rpc_main.c (h_output): Likewise.
29869         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29871 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
29873         * inet/check_native.c: New file.
29875 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
29877         [BZ #13629]
29878         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29879         if larger part has absolute value 1.0.
29880         * math/s_clog10.c (__clog10): Likewise.
29881         * math/s_clog10f.c (__clog10f): Likewise.
29882         * math/s_clog10l.c (__clog10l): Likewise.
29883         * math/s_clogf.c (__clogf): Likewise.
29884         * math/s_clogl.c (__clogl): Likewise.
29885         * math/libm-test.inc (clog_test): Add more tests.
29886         (clog10_test): Likewise.
29887         * sysdeps/i386/fpu/libm-test-ulps: Update.
29888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29890         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29891         (pltexit): Likewise.
29892         (La_regs): Likewise.
29893         (La_retval): Likewise.
29894         (int_retval): Likewise.
29895         Update #error for removed macros to refer only to definitions in
29896         tst-audit.h.
29897         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29898         macro.
29899         (pltexit): Likewise.
29900         (La_regs): Likewise.
29901         (La_retval): Likewise.
29902         (int_retval): Likewise.
29903         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29904         macro.
29905         (pltexit): Likewise.
29906         (La_regs): Likewise.
29907         (La_retval): Likewise.
29908         (int_retval): Likewise.
29909         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29910         macro.
29911         (pltexit): Likewise.
29912         (La_regs): Likewise.
29913         (La_retval): Likewise.
29914         (int_retval): Likewise.
29915         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29916         macro.
29917         (pltexit): Likewise.
29918         (La_regs): Likewise.
29919         (La_retval): Likewise.
29920         (int_retval): Likewise.
29921         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29922         macro.
29923         (pltexit): Likewise.
29924         (La_regs): Likewise.
29925         (La_retval): Likewise.
29926         (int_retval): Likewise.
29927         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29928         macro.
29929         (pltexit): Likewise.
29930         (La_regs): Likewise.
29931         (La_retval): Likewise.
29932         (int_retval): Likewise.
29933         * sysdeps/generic/tst-audit.h: Update comment to refer only to
29934         macro definitions in tst-audit.h.
29935         * sysdeps/i386/tst-audit.h: New file.
29936         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29937         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29938         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29939         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29940         * sysdeps/sh/tst-audit.h: Likewise.
29941         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29942         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29943         * sysdeps/x86_64/tst-audit.h: Likewise.
29945 2012-07-26  Andreas Jaeger  <aj@suse.de>
29947         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29948         ptrace.
29950         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29951         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29952         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29953         PTRACE_O_MASK.
29954         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29955         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29956         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29958         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29959         value.
29961         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29962         _sigsys.
29963         (si_call_addr, si_syscall, si_arch): Define new macro.
29964         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29965         _sigsys.
29966         (si_call_addr, si_syscall, si_arch): Define new marcro.
29967         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29968         _sigsys.
29969         (si_call_addr, si_syscall, si_arch): Define new macro.
29970         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29971         _sigsys.
29972         (si_call_addr, si_syscall, si_arch): Define new macro.
29974 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
29976         [BZ #13717]
29977         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29978         Change to 2.4.21 where previously 2.4.1.
29979         * sysdeps/unix/sysv/linux/configure: Regenerated.
29980         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29981         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29982         Linux kernel version.
29983         (__ASSUME_STD_AUXV): Remove.
29984         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29985         kernel version.
29986         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29987         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29988         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29989         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29990         (__ASSUME_NETLINK_SUPPORT): Likewise.
29991         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29992         (__no_netlink_support): Remove conditional definition.
29993         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29994         Remove.
29995         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29996         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29997         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29998         (if_nameindex_ioctl): Remove.
29999         (if_nameindex_netlink): Do not handle __no_netlink_support.
30000         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30001         code.
30002         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30003         Remove conditional code.
30004         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30005         code.
30006         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30007         unconditional.
30008         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30009         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30010         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30011         Remove.
30012         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30013         [!__ASSUME_STD_AUXV]: Remove conditional code.
30014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30015         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30016         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30018         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30019         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30020         code.
30021         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30023         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30024         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30025         conditional code.
30026         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30028         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30029         code.
30030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30031         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30032         conditional code.
30033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30034         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30035         code unconditional.
30036         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30037         conditional code.
30038         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30039         unconditional.
30040         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30041         conditional code.
30042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30043         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30044         unconditional.
30045         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30046         conditional code.
30047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30048         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30049         code unconditional.
30050         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30051         conditional code.
30052         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30053         unconditional.
30054         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30055         conditional code.
30056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30057         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30058         code unconditional.
30059         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30060         conditional code.
30061         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30062         unconditional.
30063         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30064         conditional code.
30066 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
30068         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30069         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30070         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30071         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30072         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30073         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30074         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30075         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30076         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30077         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30078         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30079         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30080         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30081         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30082         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30083         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30084         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30085         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30086         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30087         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30088         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30089         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30090         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30092 2012-07-25  Florian Weimer  <fweimer@redhat.com>
30094         * Versions.def: Add GLIBC_2.17.
30095         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30096         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30097         Introduce __libc_secure_getenv.
30098         * stdlib/Versions (2.17): Add secure_getenv
30099         (GLIBC_PRIVATE): Add __libc_secure_getenv.
30100         * stdlib/secure-getenv.c: Rename __secure_getenv to
30101         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
30102         symbol __secure_getenv for GLIBC_2.0.
30103         * stdlib/tst-secure-getenv.c: New.
30104         * stdlib/Makefile (tests): Add testcase.
30105         * manual/startup.texi (Environment Access): Document
30106         secure_getenv.
30107         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30108         __libc_secure_getenv.
30109         * inet/ruserpass.c (ruserpass): Likewise.
30110         * malloc/mtrace.c (mtrace): Likewise.
30111         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30112         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30113         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30114         * sysdeps/posix/tempname.c: Likewise.  Evaluate
30115         HAVE_SECURE_GETENV.
30116         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30117         __secure_getenv to __libc_secure_getenv.
30118         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30120         Likewise.
30121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30122         Likewise.
30123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30125         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30126         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30127         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30131 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30133         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30134         (struct La_i86_retval): Likewise.
30135         (struct La_x86_64_regs): Likewise.
30136         (struct La_x86_64_retval): Likewise.
30137         (struct La_x32_regs): Likewise.
30138         (struct La_x32_retval): Likewise.
30139         (struct La_ppc32_regs): Likewise.
30140         (struct La_ppc32_retval): Likewise.
30141         (struct La_ppc64_regs): Likewise.
30142         (struct La_ppc64_retval): Likewise.
30143         (struct La_sh_regs): Likewise.
30144         (struct La_sh_retval): Likewise.
30145         (struct La_s390_32_regs): Likewise.
30146         (struct La_s390_32_retval): Likewise.
30147         (struct La_s390_64_regs): Likewise.
30148         (struct La_s390_64_retval): Likewise.
30149         (struct La_sparc32_regs): Likewise.
30150         (struct La_sparc32_retval): Likewise.
30151         (struct La_sparc64_regs): Likewise.
30152         (struct La_sparc64_retval): Likewise.
30153         (struct audit_ifaces): Remove architecture-specific pltenter and
30154         pltexit members.
30155         * sysdeps/i386/ldsodefs.h: New file.
30156         * sysdeps/powerpc/ldsodefs.h: Likewise.
30157         * sysdeps/s390/ldsodefs.h: Likewise.
30158         * sysdeps/sh/ldsodefs.h: Likewise.
30159         * sysdeps/sparc/ldsodefs.h: Likewise.
30160         * sysdeps/x86_64/ldsodefs.h: Likewise.
30162 2012-07-25  Marek Polacek  <polacek@redhat.com>
30164         [BZ #6808]
30165         * math/libm-test.inc (yn_test): Add another test.
30166         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30167         to ERANGE when the result is +-Inf.
30168         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30169         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30170         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30171         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30173 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
30175         * conform/data/time.h-data (NULL): Use macro-constant.  Require
30176         equal to 0.
30177         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
30178         clock_t.
30179         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
30181 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
30183         * configure.in <sysdeps resolving>: Correct printing
30184         Implies_before.
30185         * configure: Regenerate.
30187 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
30189         * math/w_ilogb.c: Include <limits.h>.
30190         * math/w_ilogbl.c: Likewise.
30192 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30194         * manual/lang.texi (__va_copy): Document primarily as ISO C99
30195         va_copy.  Document allowing for unavailable va_copy only as
30196         pre-C99 compatibility.
30197         * manual/string.texi (Copying and Concatenation): Use va_copy
30198         instead of __va_copy in concat example.
30200 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
30202         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30203         (__sendto): Use create_address_port.  Initialize APORT and deallocate
30204         it if not null.
30206         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30207         with O_NOLINK passed to __file_name_lookup.
30209         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30210         with O_NOLINK passed to __file_name_lookup.
30212         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30213         negative N or less than NGIDS.
30215         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30216         type to string_t.  Set ERANGE as errno and return it if NAME is not big
30217         enough.  Use memcpy instead of strncpy.
30219 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30221         * elf/Makefile (check-data): Remove.
30222         (localplt.data): New vpath directive.
30223         ($(objpfx)check-localplt.out): Use localplt.data from vpath
30224         instead of $(check-data).
30225         * scripts/data/localplt-generic.data: Move to ...
30226         * sysdeps/generic/localplt.data: ... here.
30227         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30228         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30229         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30231         ... here.
30232         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30234         ... here.
30235         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30237         ... here.
30238         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30240         ... here.
30241         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30243         ... here.
30244         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30246         ... here.
30248 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30250         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30251         PPC32 and PPC64 files.
30252         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30253         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30255 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30257         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30258         __makecontext_ret to ...
30259         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30260         ... here and call exit if uc_link is NULL.  New file.
30261         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30262         __makecontext_ret.S.
30263         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30264         __makecontext_ret to ...
30265         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30266         ... here and call exit if uc_link is NULL.  New file.
30267         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30268         __makecontext_ret.S.
30270 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30272         * elf/elf.h (R_390_IRELATIVE): New definition.
30273         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30274         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
30275         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30276         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30277         (elf_machine_lazy_rel): Likewise.
30278         * sysdeps/s390/dl-irel.h: New file.
30279         * sysdeps/s390/s390-64/memcpy.S: New asm code.
30280         * sysdeps/s390/s390-64/memset.S: New asm code.
30281         * sysdeps/s390/s390-64/memcmp.S: New asm code.
30282         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30283         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30284         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30285         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30286         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30287         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30288         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30289         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30290         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30291         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30292         * sysdeps/s390/s390-32/memcpy.S: New asm code.
30293         * sysdeps/s390/s390-32/memset.S: New asm code.
30294         * sysdeps/s390/s390-32/memcmp.S: New asm code.
30296 2012-07-17  Marek Polacek  <polacek@redhat.com>
30298         [BZ #14349]
30299         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30300         * sysdeps/s390/s390-64/configure.in: Likewise.
30301         * sysdeps/sparc/configure.in: Likewise.
30302         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30303         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30304         * sysdeps/i386/configure.in: Likewise.
30305         * sysdeps/x86_64/configure.in: Likewise.
30306         * sysdeps/sh/configure.in: Likewise.
30307         * sysdeps/s390/s390-32/configure: Regenerated.
30308         * sysdeps/s390/s390-64/configure: Likewise.
30309         * sysdeps/x86_64/configure: Likewise.
30310         * sysdeps/sh/configure: Likewise.
30311         * sysdeps/powerpc/powerpc64/configure: Likewise.
30312         * sysdeps/powerpc/powerpc32/configure: Likewise.
30313         * sysdeps/sparc/configure: Likwise.
30314         * sysdeps/i386/configure: Likewise.
30316         * elf/dl-open.c: Comment fixes.
30318 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
30320         * Makefile [CXX] (check-data): Remove.
30321         [CXX] (c++-types.data): New vpath directive.
30322         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30323         vpath.  Do not allow for C++ type data being missing.
30324         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30325         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30326         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30327         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30328         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30329         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30330         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30332         ... here.
30333         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30335         ... here.
30336         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30338         ... here.
30339         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30341         ... here.
30342         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30343         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30344         ... here.
30345         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30346         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30347         ... here.
30348         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30349         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30350         ... here.
30351         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30352         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30354         * elf/tls-macros.h (TLS_LE): Move architecture-specific
30355         definitions to architecture-specific files.
30356         (TLS_IE): Likewise.
30357         (TLS_LD): Likewise.
30358         (TLS_GD): Likewise.
30359         * sysdeps/i386/tls-macros.h: New file.
30360         * sysdeps/powerpc/tls-macros.h: Likewise.
30361         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30362         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30363         * sysdeps/sh/tls-macros.h: Likewise.
30364         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30365         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30366         * sysdeps/x86_64/tls-macros.h: Likewise.
30368 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30370         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30371         zero value for regular exit case.
30373         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30374         (__start_context): Preserve zero value for regular exit case.
30376 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30377             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30379         * manual/setjmp.texi (setcontext): Clarify normal process
30380         termination when uc_link is the null pointer.
30381         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30382         exit call.
30384 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
30386         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30387         preprocessor.  Test for each exception mask separately.
30389 2012-07-16  Andreas Jaeger  <aj@suse.de>
30391         * po/ru.po: Update from translation team.
30393 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
30395         * conform/data/string.h-data (NULL): Use macro-constant.  Require
30396         equal to 0.
30397         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30398         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30399         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30400         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30401         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30403 2012-07-13  Andreas Jaeger  <aj@suse.de>
30405         * po/fr.po: Update from translation team.
30407 2012-07-12  Marek Polacek  <polacek@redhat.com>
30409         [BZ #14173]
30410         * math/libm-test.inc (yn_test): Add test for BZ #14173.
30411         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30412         loop condition.
30414 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
30416         [BZ #13717]
30417         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30418         Change to 2.4.1 where previously 2.4.0.
30419         * sysdeps/unix/sysv/linux/configure: Regenerated.
30420         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30421         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30422         version.
30423         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30424         (__ASSUME_AT_CLKTCK): Remove.
30425         (__ASSUME_AT_PAGESIZE): Likewise.
30426         (__ASSUME_AT_XID): Likewise.
30427         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30428         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30429         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30430         unconditionally.
30431         (HAVE_AUX_PAGESIZE): Likewise.
30432         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30433         [__ASSUME_AT_CLKTCK]: Make code unconditional.
30434         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30436 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
30438         [BZ #14307]
30439         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30440         the temporary buffer used to invoke __gethostbyname2_r,
30441         __gethostbyaddr_r and gethostbyname4_r to make room for struct
30442         host_data / struct gaih_addrtuple.
30443         * resolv/nss_dns/dns-host.c (global scope): Move definition of
30444         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30445         header file nss/nsswitch.h.
30446         * nss/nsswitch.h (global scope): Add definition of implementation
30447         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30448         resolv/nss_dns/dns-host.c).
30450 2012-07-11  Andreas Jaeger  <aj@suse.de>
30452         * po/fr.po: Update from translation team.
30454         * po/sv.po: Update from translation team
30455         * po/fr.po: Another update from translation team.
30457 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30459         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30460         for subnormals or multiply small sinh result by itself.
30461         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30462         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30464 2012-07-11  David S. Miller  <davem@davemloft.net>
30466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30468 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
30470         [BZ #14347]
30471         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30472         (INTERNAL_MARK): Shift it here.
30474 2012-07-10  Marek Polacek  <polacek@redhat.com>
30476         [BZ #14151]
30477         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
30478         libc_cv_asm_global_directive with .globl.
30479         * configure: Regenerated.
30480         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30481         with .globl.
30482         * sysdeps/i386/configure: Regenerated.
30483         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30484         with .globl.
30485         * sysdeps/x86_64/configure: Regenerated.
30486         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30487         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30488         * elf/tst-unique2mod2.c: Likewise.
30489         * elf/tst-unique2mod1.c: Likewise.
30490         * elf/tst-unique1mod2.c: Likewise.
30491         * elf/tst-unique1mod1.c: Likewise.
30492         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30493         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30494         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30495         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30496         * sysdeps/mach/sysdep.h: Likewise.
30497         * sysdeps/i386/sysdep.h: Likewise.
30498         * sysdeps/i386/i386-mcount.S: Likewise.
30499         * sysdeps/x86_64/_mcount.S: Likewise.
30500         * sysdeps/x86_64/sysdep.h: Likewise.
30501         * sysdeps/sh/_mcount.S: Likewise.
30502         * sysdeps/sh/sysdep.h: Likewise.
30503         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30504         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30505         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30506         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30507         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30508         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30509         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30510         * locale/localeinfo.h: Likewise.
30511         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30512         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30514 2012-07-09  Roland McGrath  <roland@hack.frob.com>
30516         [BZ #14336]
30517         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30518         system".
30519         * manual/message.texi (The Uniforum approach): Likewise.
30520         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30521         (glibc iconv Implementation): Likewise.
30523 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
30525         [BZ #14337]
30526         * math/s_clog.c (__clog): Avoid scaling a value down where that
30527         could result in underflow.
30528         * math/s_clog10.c (__clog10): Likewise.
30529         * math/s_clog10f.c (__clog10f): Likewise.
30530         * math/s_clog10l.c (__clog10l): Likewise.
30531         * math/s_clogf.c (__clogf): Likewise.
30532         * math/s_clogl.c (__clogl): Likewise.
30533         * math/libm-test.inc (clog_test): Add more tests.
30534         (clog10_test): Likewise.
30535         * sysdeps/i386/fpu/libm-test-ulps: Update.
30536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30538 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
30540         [BZ #14283]
30541         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30542         by 7 not 8 to examine high bit of fractional part.
30544         [BZ #14042]
30545         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30546         for call to __mcount_internal.
30547         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30548         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30549         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30551 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
30553         [BZ #14154]
30554         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30555         approximation for values within 0x1p-13f of an odd multiple of
30556         pi/4.
30557         * math/libm-test.inc (tan_test): Do not allow spurious underflow
30558         exception.  Add more tests.
30559         * sysdeps/i386/fpu/libm-test-ulps: Update.
30561         [BZ #6778]
30562         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30563         inputs and return -1 for them.  Do not check for +Inf in case not
30564         reachable for +Inf.
30565         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30566         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30567         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30568         and return -1 for them.  Do not check for +Inf in case not
30569         reachable for +Inf.
30570         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30571         define.
30572         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30573         and return -1 for them.  Do not check for +Inf in case not
30574         reachable for +Inf.
30575         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
30576         spurious underflow.
30577         * sysdeps/i386/fpu/libm-test-ulps: Update.
30578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30580 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
30582         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30584 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
30586         [BZ #14157]
30587         [BZ #14331]
30588         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30589         could result in spurious underflow.  Scale down values above
30590         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30591         * math/s_csqrtf.c (__csqrtf): Likewise.
30592         * math/s_csqrtl.c (__csqrtl): Likewise.
30593         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
30594         spurious underflow.
30595         * sysdeps/i386/fpu/libm-test-ulps: Update.
30596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30598 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
30600         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30601         xopen-msg.sed.
30602         * catgets/xopen-msg.awk: New file.
30603         * catgets/xopen-msg.sed: Removed.
30605         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30606         po2text.sed.
30607         * intl/po2test.awk: New file.
30608         * intl/po2test.sed: Removed.
30610 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
30612         [BZ #14328]
30613         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30614         or multiply small sinh result by itself.
30615         * math/s_ctanf.c (__ctanf): Likewise.
30616         * math/s_ctanh.c (__ctanh): Likewise.
30617         * math/s_ctanhf.c (__ctanhf): Likewise.
30618         * math/s_ctanhl.c (__ctanhl): Likewise.
30619         * math/s_ctanl.c (__ctanl): Likewise.
30620         * math/libm-test.inc (ctan_test_tonearest): New function.
30621         (ctan_test_towardzero): Likewise.
30622         (ctan_test_downward): Likewise.
30623         (ctan_test_upward): Likewise.
30624         (ctanh_test_tonearest): Likewise.
30625         (ctanh_test_towardzero): Likewise.
30626         (ctanh_test_downward): Likewise.
30627         (ctanh_test_upward): Likewise.
30628         (main): Call these new functions.
30629         * sysdeps/i386/fpu/libm-test-ulps: Update.
30630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30632 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
30634         * .gitignore: Delete /ports entry.
30636 2012-07-03  Andreas Jaeger  <aj@suse.de>
30638         * po/bg.po: Update from translation team.
30639         * po/cs.po: Likewise.
30640         * po/de.po: Likewise.
30641         * po/hr.po: Likewise.
30642         * po/nl.pl: Likewise.
30643         * po/pl.po: Likewise.
30644         * po/vi.po: Likewise.
30646 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
30648         * Makeconfig [!+link] (+link-before-libc): New variable.
30649         [!+link] (+link-after-libc): Likewise.
30650         [!+link] (+link-tests): Likewise.
30651         [!+link] (+link): Define in terms of $(+link-before-libc) and
30652         $(+link-after-libc).
30653         [!+link-static] (+link-static-before-libc): New variable.
30654         [!+link-static] (+link-static-after-libc): Likewise.
30655         [!+link-static] (+link-static-tests): Likewise.
30656         [!+link-static] (+link-static): Define in terms of
30657         $(+link-static-before-libc) and $(+link-static-after-libc).
30658         [build-shared] (link-libc-before-gnulib): New variable.
30659         [build-shared] (link-libc-tests): Likewise.
30660         [build-shared] (link-libc): Define in terms of
30661         $(link-libc-before-gnulib).
30662         [!build-shared] (link-libc-tests): New variable.
30663         (link-libc-static-tests): New variable.
30664         [!gnulib] (gnulib-arch): New variable.
30665         [!gnulib] (gnulib-tests): Likewise.
30666         [!gnulib] (static-gnulib-arch): Likewise.
30667         [!gnulib] (static-gnulib-tests): Likewise.
30668         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
30669         Define with "=" instead of ":=".
30670         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
30671         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
30672         * Rules (binaries-all-notests): New variable.
30673         (binaries-all-tests): Likewise.
30674         (binaries-static-notests): Likewise.
30675         (binaries-static-tests): Likewise.
30676         (binaries-all): Define using $(binaries-all-notests) and
30677         $(binaries-all-tests).
30678         (binaries-static): Define using $(binaries-static-notests) and
30679         $(binaries-static-tests).
30680         (binaries-shared-tests): New variable.
30681         (binaries-shared-notests): Likewise.
30682         (binaries-shared): Remove variable.
30683         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30684         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30685         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30686         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30687         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30688         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30689         * elf/Makefile (sln-modules): New variable.
30690         (extra-objs): Add $(sln-modules:=.o).
30691         (ldconfig-modules): Add static-stubs.
30692         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30693         * elf/static-stubs.c: New file.
30695         [BZ #14283]
30696         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30697         by 7 not 8 to examine high bit of fractional part.  Use volatile
30698         variables when splitting into final array of floats if
30699         __FLT_EVAL_METHOD__ != 0.
30700         * math/libm-test.inc (cos_test): Add another test.
30701         (sin_test): Likewise.
30702         * sysdeps/i386/fpu/libm-test-ulps: Update.
30704         [BZ #14273]
30705         * math/libm-test.inc (cosh_test): Add more tests.
30707         * version.h (RELEASE): Set to "development".
30708         (VERSION): Set to "2.16.90".
30710 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
30712         * NEWS: Update copyright. Remove last-updated date.
30713         Mention math library bug fixes and timezone data changes.
30714         * README: Mention GNU/Hurd, x32, and HPPA support status.
30716 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
30718         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30720 2012-06-27  Andreas Jaeger  <aj@suse.de>
30722         * manual/contrib.texi (Contributors): Add Samuel Thibault.
30724 2012-06-25  Andreas Jaeger  <aj@suse.de>
30726         * sysdeps/s390/fpu/libm-test-ulps: Update.
30728 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
30729             Thomas Schwinge  <thomas@codesourcery.com>
30731         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30732         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30733         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30734         fanotify_mark.
30736 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
30738         * sysdeps/mach/start.c: Remove file.
30739         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30740         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30741         * sysdeps/sh/init-first.c: Likewise.
30743         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30744         registers for frame unwinding purposes, add CFI directives.
30745         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30746         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30747         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30748         Likewise.
30750         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30751         __fortify_fail returning.
30752         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30754         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30755         sysdeps/sh/____longjmp_chk.S.
30756         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30757         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30758         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30759         (gen-as-const-headers): Append sigaltstack-offsets.sym.
30761         * sysdeps/sh/abort-instr.h: New file.
30762         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30763         process in case exit returns.
30765         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30766         initialize the GOT register before use.
30768         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30769         calculation of ARGC > 4.
30771         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30772         meaningful names to some local labels.
30774 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30775             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30777         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30778         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30779         (__arch_compare_and_exchange_val_16_acq): Likewise.
30780         (__arch_compare_and_exchange_val_32_acq): Likewise.
30781         (atomic_exchange_and_add): Fix gUSA sequence.
30782         (atomic_add): Likewise.
30783         (atomic_add_negative): Likewise.
30784         (atomic_add_zero): Likewise.
30785         (atomic_bit_test_set): Likewise.
30787 2012-06-22  Andreas Schwab  <schwab@redhat.com>
30789         [BZ #13579]
30790         * include/link.h (struct link_map): Add l_free_initfini.
30791         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30792         l_initfini.
30793         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30794         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30795         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30796         set.
30798 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
30800         * configure.in: Use AC_LANG_SOURCE.
30801         * configure: Regenerate.
30803 2012-06-22  Roland McGrath  <roland@hack.frob.com>
30805         * configure.in (libc_cv_localstatedir): New substituted variable.
30806         * configure: Regenerated.
30807         * config.make.in (localstatedir): New variable, substituted from
30808         libc_cv_localstatedir.
30809         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30810         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30811         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30812         * sysdeps/gnu/configure: Regenerated.
30814 2012-06-21  Jeff Law  <law@redhat.com>
30816         [BZ #14277]
30817         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30818         free.  Simplify list management for _LIBC case.
30820 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
30822         [BZ #14273]
30823         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30824         Clear sign bit of 64-bit integer value before comparing against
30825         overflow value.
30827         * sysdeps/mach/configure: Regenerated.
30829 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
30831         [BZ #14278]
30832         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30834 2012-06-21  Jeff Law  <law@redhat.com>
30836         [BZ #13882]
30837         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
30838         uint16_t for elements in the "seen" array to avoid char overflows.
30839         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30840         * elf/dl-open.c (dl_open_worker): Likewise.
30842 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
30844         * scripts/list-sources.sh: Scan PORTS for translations.
30845         * po/libc.pot: Regenerated.
30847 2012-06-21  Andreas Jaeger  <aj@suse.de>
30849         [BZ #12194]
30850         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30851         warning.
30852         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30853         * bits/byteswap-16.h (__bswap_16): Likewise.
30854         * bits/byteswap.h (__bswap_constant_16): Likewise.
30856 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
30858         [BZ #14117]
30859         * sysdeps/i386/fpu_control.h: Removed.
30860         * sysdeps/x86_64/fpu_control.h: Moved to ...
30861         * sysdeps/x86/fpu_control.h: Here.
30863         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30864         (_FPU_SETCW): Likewise.
30866 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
30868         [BZ #14117]
30869         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30870         * sysdeps/x86/fpu/bits/mathinline.h: This.
30871         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30873         [BZ #14050]
30874         [BZ #14117]
30875         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30876         functions if __x86_64__ is defined.
30878 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
30880         * string/endian.h: Add !__ASSEMBLER__ condition for including
30881         conversion interfaces.
30883 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
30885         [BZ #14241]
30886         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30887         of ABS(x) in calculating zero to negative powers other than odd
30888         integers.
30889         * math/libm-test.inc (pow_test): Add more tests.
30891 2012-06-15  Andreas Jaeger  <aj@suse.de>
30893         * manual/contrib.texi (Contributors): Update entry of Liubov
30894         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30895         Machado Filho.
30897 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
30899         * string/string.h: Add __wur to GNU version of strerror_r.
30901 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
30903         [BZ #14229]
30904         * string/Makefile (tests): Add tst-strtok_r.
30905         * string/tst-strtok_r.c: New file.
30906         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30907         RAX_LP/RDX_LP on SAVE_PTR.
30909 2012-06-14  Roland McGrath  <roland@hack.frob.com>
30911         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30913 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
30915         * libm_test.inc (csqrt_test): Allow more spurious underflow
30916         exceptions.
30917         (j0_test): Likewise.
30918         (j1_test): Likewise.
30919         (y0_test): Likewise.
30920         (y1_test): Likewise.
30922 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
30924         * po/Makefile (libc.pot): Use UTF-8 charset.
30926 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
30928         [BZ #14210]
30929         Suppress sign-conversion warning from FD_SET.
30930         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30931         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30932         not unsigned long int.
30933         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30935 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
30937         [BZ #14050]
30938         [BZ #14117]
30939         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30940         __extern_always_inline instead of __extern_inline.
30941         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30942         (__signbit): Likewise.
30943         (__signbitl): Support C++ namespace.
30944         (lrintf): New inline function.
30945         (lrint): Likewise.
30946         (llrintf): Likewise.
30947         (llrint): Likewise.
30948         (fmaxf): Likewise.
30949         (fmax): Likewise.
30950         (fminf): Likewise.
30951         (fmin): Likewise.
30952         (rint): Likewise.
30953         (rintf): Likewise.
30954         (ceil): Likewise.
30955         (ceilf): Likewise.
30956         (floor): Likewise.
30957         (floorf): Likewise.
30958         (nearbyint): Likewise.
30959         (nearbyintf): Likewise.
30961 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
30963         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30964         non-default versions.
30966 2012-06-11  Roland McGrath  <roland@hack.frob.com>
30968         [BZ #14218]
30969         * manual/argp.texi (Argp): Reword argp_parse description slightly.
30971 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
30973         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30974         (FE_UPWARD, FE_DOWNWARD): Don't define.
30975         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30976         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30978         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30979         reading it.
30980         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30981         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30983 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30985         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30986         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30987         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30988         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30990 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
30992         [BZ #14117]
30993         * sysdeps/i386/fpu/bits/fenv.h: Removed.
30994         * sysdeps/i386/fpu/Implies: New file.
30995         * sysdeps/x86_64/fpu/Implies: Likewise.
30996         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30997         * sysdeps/x86/fpu/bits/fenv.h: This.
30999         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31000         __SSE_MATH__.
31002 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31004         [BZ #14134]
31005         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31006         character 0xffff that matches the last element of the
31007         conversion table.
31009 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31011         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31012         fmodl commit.
31014 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31016         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31017         values higher than 25.6283.
31019 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31021         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31022         subnormal exponent extraction and add some __builtin_expect.
31023         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31024         Fix for subnormal mantissa calculation.
31026 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
31028         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31029         cpu2 is -1 and errno is not ENOSYS.
31031 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
31033         [BZ #14117]
31034         * sysdeps/i386/i486/bits/string.h: Renamed to ...
31035         * sysdeps/x86/bits/string.h: This.
31036         * sysdeps/x86_64/bits/string.h: Removed.
31038         * sysdeps/i386/i486/bits/string.h: Define inline functions only
31039         if not compiling for x86-64, but compiling for >= i486.
31041         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31042         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31044         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31045         New macro from Linux kernel 3.4.0.
31046         (FP_XSTATE_MAGIC2): Likewise.
31047         (FP_XSTATE_MAGIC2_SIZE): Likewise.
31048         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31049         (struct _fpx_sw_bytes): New struct.
31050         (struct _xsave_hdr): Likewise.
31051         (struct _ymmh_state): Likewise.
31052         (struct _xstate): Likewise.
31054         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31055         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31056         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31057         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31058         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31059         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31061         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31062         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31063         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31064         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31065         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31066         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31068 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31070         [BZ #13743]
31071         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31072         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31073         (sysdep_headers): Include sys/platform/ppc.h.
31074         * sysdeps/powerpc/test-gettimebase.c: Test for
31075         __ppc_get_timebase() to catch future ISA opcode/insn changes.
31076         * manual/Makefile (appendices): Include platform.texi.
31077         * manual/contrib.texi (Contributors): Update @node pointers.
31078         * manual/maint.texi (Maintenance): Likewise.
31079         (Platform): New node.
31080         * manual/platform.texi: New file.  Document the new features.
31082 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31083             Jakub Jelinek  <jakub@redhat.com>
31085         [BZ #14188]
31086         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31087         where __builtin_expect is unavailable.
31089 2012-06-03  David S. Miller  <davem@davemloft.net>
31091         * stdlib/longlong.h: Updated from GCC.
31093 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
31095         [BZ #14042]
31096         * sysdeps/powerpc/powerpc32/mcount.c: New file.
31097         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31098         __mcount_internal.
31099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31100         (GLIBC_2.16): Likewise.
31102 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31104         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31106 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31109         (default-abi): New variable.
31110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31111         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31112         variable.
31113         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31114         Likewise.
31115         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31116         Likewise.
31117         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31118         Likewise.
31120         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31121         definition.  Document in comment.
31123 2012-06-01  David S. Miller  <davem@davemloft.net>
31125         * stdlib/longlong.h: Updated from GCC.
31127 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31129         [BZ #14117]
31130         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31131         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31132         sys/debugreg.h sys/io.h here.
31133         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31134         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31135         sys/io.h.
31136         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31137         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31138         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31139         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31140         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31141         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31143         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31144         Define only if __x86_64__ is defined.
31146 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31148         [BZ #14048]
31149         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31150         Use int64_t for variable i.
31151         * math/libm-test.inc (fmod_test): Add more tests.
31153         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31154         z computation is not scheduled after fetestexcept.
31155         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31156         Use math_force_eval instead of asm to ensure calculation scheduled
31157         before exception test.
31158         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31159         Ensure a1 + u.d computation is not scheduled after fetestexcept.
31161 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
31163         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31164         computation is not scheduled after fetestexcept.
31166 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31168         [BZ #14117]
31169         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31170         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31172 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31174         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31175         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31177 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31179         [BZ #14117]
31180         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31181         <bits/wordsize.h>.
31182         (__WCHAR_MIN): Support __WORDSIZE == 64.
31183         (__WCHAR_MAX): Likewise.
31185         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31186         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31188         [BZ #14183]
31189         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31190         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31192         [BZ #14117]
31193         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31194         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31196         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31197         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31199         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31200         Defined to 1 if __x86_64__ isn't defined.
31201         (_STAT_VER_LINUX_OLD): New.
31202         (st_atime): Remove duplicate.
31203         (st_mtime): Likewise.
31204         (st_ctime): Likewise.
31206 2012-05-31  David S. Miller  <davem@davemloft.net>
31208         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31209         entries.
31211 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
31213         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31214         gen-libm-test.pl.
31216         [BZ #14132]
31217         * elf/dl-reloc.c: Include <_itoa.h>.
31218         (_dl_reloc_bad_type): Remove use of INTUSE.
31219         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31220         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31221         * stdio-common/psiginfo.c (psiginfo): Likewise.
31222         * stdio-common/psignal.c (psignal): Likewise.
31223         * string/strsignal.c (strsignal): Likewise.
31224         * include/signal.h (_sys_siglist): Declare hidden proto.
31225         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
31226         INTVARDEF with libc_hidden_data_def.
31227         * stdio-common/itoa-udigits.c: Likewise.
31228         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31229         (_itoa_lower_digits_internal): Remove declaration.
31230         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31231         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31232         (_sys_sigabbrev_internal): Remove aliases.
31233         (_sys_siglist): Define hidden alias.
31235 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
31237         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31238         bits/sysctl.h.
31240 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31242         [BZ #14117]
31243         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31244         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31246         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31247         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31248         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31249         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31250         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31251         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31253         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31254         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31255         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31257         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31258         with __addr.
31259         (insw): Likewise.
31260         (insl): Likewise.
31261         (outsb): Likewise.
31262         (outsw): Likewise.
31263         (outsl): Likewise.
31265         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31266         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31267         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31269         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31270         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31271         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31272         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31273         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31274         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31276         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31277         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31279         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31280         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31282         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31283         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31284         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31286         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31287         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31288         to ...
31289         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31291         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31292         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31293         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31295         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31296         for x86-64.
31297         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31299 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
31301         * math/math.h (M_El): Use two more decimal places.
31302         (M_LOG2El): Likewise.
31303         (M_LOG10El): Likewise.
31304         (M_LN2l): Likewise.
31305         (M_LN10l): Likewise.
31306         (M_PIl): Likewise.
31307         (M_PI_2l): Likewise.
31308         (M_PI_4l): Likewise.
31309         (M_1_PIl): Likewise.
31310         (M_2_PIl): Likewise.
31311         (M_2_SQRTPIl): Likewise.
31312         (M_SQRT2l): Likewise.
31313         (M_SQRT1_2l): Likewise.
31315 2012-05-31  David S. Miller  <davem@davemloft.net>
31317         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31318         values between float registers.
31319         * sysdeps/sparc/sparc64/memset.S: Likewise.
31320         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31322 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
31324         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31325         -D_FORTIFY_SOURCE=1.
31326         (CPPFLAGS-tst-longjmp_chk.c): Define.
31327         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31328         (CPPFLAGS-tst-longjmp_chk2.c): Define.
31329         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31330         CFLAGS-tst-wchar-h.c.
31332 2012-05-31  Marek Polacek  <polacek@redhat.com>
31334         [BZ #14132]
31335         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31336         __endmntent_internal): Remove declaration.
31337         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31338         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31339         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31341 2012-05-30  David S. Miller  <davem@davemloft.net>
31343         * sysdeps/sparc/sparc32/soft-fp/q_util.c
31344         (___Q_simulate_exceptions): Use real FP ops rather than writing
31345         into the %fsr.
31346         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31347         Likewise.
31349 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31351         [BZ #14117]
31352         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31353         * sysdeps/x86/bits/xtitypes.h: This.
31355         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31356         * sysdeps/x86/bits/wordsize.h: This.
31358         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31359         * sysdeps/x86/bits/huge_vall.h: This.
31361         * sysdeps/i386/bits/select.h: Removed.
31362         * sysdeps/x86_64/bits/select.h: Renamed to ...
31363         * sysdeps/x86/bits/select.h: This.
31365         * sysdeps/i386/bits/setjmp.h: Removed.
31366         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31367         * sysdeps/x86/bits/setjmp.h: This.
31369         * sysdeps/i386/bits/mathdef.h: Removed.
31370         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31371         * sysdeps/x86/bits/mathdef.h: This.
31373 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
31375         [BZ #14132]
31376         * include/sys/socket.h (__connect_internal)
31377         (__libc_sa_len_internal): Remove declaration.
31378         (__connect, __libc_sa_len): Declare hidden_proto.
31379         (SA_LEN): Remove use of INTUSE.
31380         * socket/connect.c: Add libc_hidden_def.
31381         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31382         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31383         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31384         alias.
31385         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31386         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31387         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31388         of adding _internal alias.
31390 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31392         [BZ #14117]
31393         * sysdeps/i386/bits/link.h: Removed.
31394         * sysdeps/i386/bits/linkmap.h: Likewise.
31395         * sysdeps/x86_64/bits/link.h: Renamed to ...
31396         * sysdeps/x86/bits/link.h: This.
31397         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31398         * sysdeps/x86/bits/linkmap.h: This.
31400         * sysdeps/i386/bits/endian.h: Removed.
31401         * sysdeps/x86_64/bits/endian.h: Renamed to ...
31402         * sysdeps/x86/bits/endian.h: This.
31404         * sysdeps/i386/bits/byteswap.h: Removed.
31405         * sysdeps/i386/bits/byteswap-16.h: Likewise.
31406         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31407         * sysdeps/x86/bits/byteswap.h: This.
31408         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31409         * sysdeps/x86/bits/byteswap-16.h: This.
31410         * sysdeps/i386/Implies: Add x86.
31411         * sysdeps/x86_64/Implies: Likewise.
31413 2012-05-30  David S. Miller  <davem@davemloft.net>
31415         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31416         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31417         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31418         (FP_TRAPPING_EXCEPTIONS): Define.
31419         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31420         (FP_TRAPPING_EXCEPTIONS): Define.
31421         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31422         subnormals only when inexact has been signalled or underflow
31423         exceptions are enabled.
31424         (_FP_PACK_CANONICAL): Likewise.
31426 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31428         [BZ #14183]
31429         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31430         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31432 2012-05-30  Richard Henderson  <rth@twiddle.net>
31434         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31435         with #ifndef NOT_IN_libc.
31437         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
31438         marked to avoid plt entry.
31440 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31442         [BZ #14112]
31443         * Makeconfig (default-abi): New macro.
31444         (abi-includes): Likewise.
31445         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
31446         $(abi-$(default-abi)-lib-soname) for soname if defined.
31447         ($(common-objpfx)gnu/lib-names.stmp): Generate from
31448         abi-variants.
31449         * Makefile (installed-stubs): Likewise.
31450         * include/stubs-biarch.h: Removed.
31451         * scripts/lib-names.awk: Only handle one library at a time.
31452         * scripts/soversions.awk: Remove WORDSIZE support.
31453         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31454         entries.
31455         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31456         Removed.
31457         (syscall-list-default-condition): Likewise.
31458         (syscall-list-default-condition): Likewise.
31459         (syscall-list-includes): Likewise.
31460         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31461         syscall-list-* with abi-*.  Handle undefined abi-variants.
31462         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31463         * sysdeps/unix/sysv/linux/i386/Implies: New file.
31464         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31465         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31466         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31467         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31468         Removed.
31469         (syscall-list-32-options): Likewise.
31470         (syscall-list-32-condition): Likewise.
31471         (syscall-list-64-options): Likewise.
31472         (syscall-list-64-condition): Likewise.
31473         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31474         macro.
31475         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31476         Renamed to ...
31477         (abi-*): This.
31478         (abi-64-ld-soname): New macro.
31479         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31480         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31481         Renamed to ...
31482         (abi-*): This.
31483         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31484         * sysdeps/x86_64/x32/shlib-versions: Likewise.
31486 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
31488         * sysdeps/unix/sysv/linux/kernel-features.h
31489         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31490         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31491         include <kernel-features.h>.
31492         [!__NR_ftruncate64]: Remove conditional code.
31493         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31494         [__NR_ftruncate64]: Make code unconditional.
31495         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31496         * sysdeps/unix/sysv/linux/truncate64.c: Do not
31497         include <kernel-features.h>.
31498         [!__NR_ftruncate64]: Remove conditional code.
31499         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31500         [__NR_ftruncate64]: Make code unconditional.
31501         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31503         include <kernel-features.h>.
31504         [!__NR_ftruncate64]: Remove conditional code.
31505         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31506         [__NR_ftruncate64]: Make code unconditional.
31507         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31509         include <kernel-features.h>.
31510         [!__NR_ftruncate64]: Remove conditional code.
31511         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31512         [__NR_ftruncate64]: Make code unconditional.
31513         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31515         * configure.in (libc_cv_fpie): Weaken to a compile test using
31516         LIBC_TRY_CC_OPTION.
31517         * configure: Regenerated.
31519 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31522         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31525         Refreshed.
31526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31528         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31532         Refreshed.
31534 2012-05-27  David S. Miller  <davem@davemloft.net>
31536         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31537         (___Q_zero): New.
31538         (__Q_simulate_exceptions): Return void.  Change to simulate
31539         exceptions by writing into the %fsr.
31540         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31541         (__Qp_handle_exceptions): Likewise.
31542         (numbers): Delete.
31543         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31544         __Qp_handle_exceptions.
31545         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31546         __Qp_handle_exceptions.
31547         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31548         as unused and give dummy FP_RND_NEAREST initializer.
31549         (FP_INHIBIT_RESULTS): Define.
31550         (___Q_simulate_exceptions): Update declaration.
31551         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31552         formatting.
31553         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31554         as unused and give dummy FP_RND_NEAREST initializer.
31555         (__Qp_handle_exceptions): Update declaration.
31556         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31557         formatting.
31559 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
31561         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31562         the temporary FPU control word.
31563         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31564         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31565         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31566         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31567         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31568         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31569         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31570         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31571         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31572         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31573         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31575 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31577         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31578         fields.
31580 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
31582         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31583         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31584         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31585         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31586         Likewise.
31587         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31588         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31589         Likewise.
31591 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
31593         * po/h.po: Update from translation team.
31595 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
31597         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31599         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31600         handling of denormals.
31601         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31602         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31603         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31604         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31605         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31606         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31607         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31608         Likewise.
31610 2012-05-26  Marek Polacek  <polacek@redhat.com>
31612         [BZ #14152]
31613         * math/libm-test.inc (fma_test): Don't always expect underflow
31614         exception.
31616 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31618         [BZ #12416]
31619         * elf/tst-execstack.c: Include stackinfo.h.
31620         (do_test): Adjust test case to ensure that pthread_getattr_np
31621         behaviour remains the same after marking stack executable.
31623 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
31625         * sysdeps/unix/sysv/linux/kernel-features.h
31626         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31627         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31628         kernel-features.h.
31629         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31630         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31631         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31632         kernel-features.h.
31633         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31634         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31636 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
31638         * configure.in: Define the default includes to being none.
31639         * configure: Regenerated.
31641 2012-05-25  Roland McGrath  <roland@hack.frob.com>
31643         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31644         * sysdeps/x86_64/setjmp.S: Likewise.
31645         * sysdeps/i386/bsd-setjmp.S: Likewise.
31646         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31647         * sysdeps/i386/setjmp.S: Likewise.
31648         * sysdeps/i386/__longjmp.S: Likewise.
31649         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31650         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31652         * include/stap-probe.h: New file.
31653         * configure.in: Handle --enable-systemtap.
31654         * configure: Regenerated.
31655         * config.h.in (USE_STAP_PROBE): New #undef.
31656         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31657         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31658         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31660 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
31662         [BZ #13717]
31663         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31664         to 2.4.0 where earlier.
31665         * sysdeps/unix/sysv/linux/configure: Regenerated.
31666         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
31675         [__ASSUME_32BITUIDS]: Make code unconditional.
31676         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31677         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31678         <kernel-features.h>.
31679         [__ASSUME_32BITUIDS]: Make code unconditional.
31680         [!__ASSUME_32BITUIDS]: Remove conditional code.
31681         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31682         <kernel-features.h>.
31683         [__ASSUME_32BITUIDS]: Make code unconditional.
31684         [!__ASSUME_32BITUIDS]: Remove conditional code.
31685         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31686         <kernel-features.h>.
31687         [__ASSUME_32BITUIDS]: Make code unconditional.
31688         [!__ASSUME_32BITUIDS]: Remove conditional code.
31689         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31690         <kernel-features.h>.
31691         [__ASSUME_32BITUIDS]: Make code unconditional.
31692         [!__ASSUME_32BITUIDS]: Remove conditional code.
31693         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31694         <kernel-features.h>.
31695         [__ASSUME_32BITUIDS]: Make code unconditional.
31696         [!__ASSUME_32BITUIDS]: Remove conditional code.
31697         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31698         <kernel-features.h>.
31699         [__ASSUME_32BITUIDS]: Make code unconditional.
31700         [!__ASSUME_32BITUIDS]: Remove conditional code.
31701         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31702         <kernel-features.h>.
31703         [__ASSUME_32BITUIDS]: Make code unconditional.
31704         [!__ASSUME_32BITUIDS]: Remove conditional code.
31705         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31706         <kernel-features.h>.
31707         [__ASSUME_32BITUIDS]: Make code unconditional.
31708         [!__ASSUME_32BITUIDS]: Remove conditional code.
31709         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31710         <kernel-features.h>.
31711         [__ASSUME_32BITUIDS]: Make code unconditional.
31712         [!__ASSUME_32BITUIDS]: Remove conditional code.
31713         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31714         <kernel-features.h>.
31715         [__ASSUME_32BITUIDS]: Make code unconditional.
31716         [!__ASSUME_32BITUIDS]: Remove conditional code.
31717         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31718         <kernel-features.h>.
31719         [__NR_setresgid] (__setresgid): Do not declare.
31720         [__ASSUME_32BITUIDS]: Make code unconditional.
31721         [!__ASSUME_32BITUIDS]: Remove conditional code.
31722         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31723         <kernel-features.h>.
31724         [__NR_setresuid] (__setresuid): Do not declare.
31725         [__ASSUME_32BITUIDS]: Make code unconditional.
31726         [!__ASSUME_32BITUIDS]: Remove conditional code.
31727         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31728         <kernel-features.h>.
31729         [__ASSUME_32BITUIDS]: Make code unconditional.
31730         [!__ASSUME_32BITUIDS]: Remove conditional code.
31731         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31732         <kernel-features.h>.
31733         [__ASSUME_32BITUIDS]: Make code unconditional.
31734         [!__ASSUME_32BITUIDS]: Remove conditional code.
31735         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31736         <kernel-features.h>.
31737         [__ASSUME_32BITUIDS]: Make code unconditional.
31738         [!__ASSUME_32BITUIDS]: Remove conditional code.
31739         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31740         <kernel-features.h>.
31741         [__ASSUME_32BITUIDS]: Make code unconditional.
31742         [!__ASSUME_32BITUIDS]: Remove conditional code.
31743         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31744         <kernel-features.h>.
31745         [__ASSUME_32BITUIDS]: Make code unconditional.
31746         [!__ASSUME_32BITUIDS]: Remove conditional code.
31747         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31748         <kernel-features.h>.
31749         [__ASSUME_32BITUIDS]: Make code unconditional.
31750         [!__ASSUME_32BITUIDS]: Remove conditional code.
31751         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31752         <kernel-features.h>.
31753         [__ASSUME_32BITUIDS]: Make code unconditional.
31754         [!__ASSUME_32BITUIDS]: Remove conditional code.
31755         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31756         <kernel-features.h>.
31757         [__ASSUME_32BITUIDS]: Make code unconditional.
31758         [!__ASSUME_32BITUIDS]: Remove conditional code.
31759         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31760         <kernel-features.h>.
31761         [__ASSUME_32BITUIDS]: Make code unconditional.
31762         [!__ASSUME_32BITUIDS]: Remove conditional code.
31763         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31764         <kernel-features.h>.
31765         [__ASSUME_32BITUIDS]: Make code unconditional.
31766         [!__ASSUME_32BITUIDS]: Remove conditional code.
31767         * sysdeps/unix/sysv/linux/kernel-features.h
31768         (__ASSUME_SETRESUID_SYSCALL): Remove.
31769         (__ASSUME_SETRESGID_SYSCALL): Likewise.
31770         (__ASSUME_32BITUIDS): Likewise.
31771         (__ASSUME_LDT_WORKS): Likewise.
31772         (__ASSUME_O_DIRECTORY): Likewise.
31773         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31774         architecture but not kernel version.
31775         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31776         (__ASSUME_MMAP2_SYSCALL): Likewise.
31777         (__ASSUME_STAT64_SYSCALL): Likewise.
31778         (__ASSUME_IPC64): Likewise.
31779         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31780         <kernel-features.h>.
31781         [__ASSUME_32BITUIDS]: Make code unconditional.
31782         [!__ASSUME_32BITUIDS]: Remove conditional code.
31783         * sysdeps/unix/sysv/linux/opendir.c: Do not include
31784         <kernel-features.h>.
31785         [__ASSUME_O_DIRECTORY]: Make code unconditional.
31786         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31787         132096]: Remove conditional code.
31788         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31789         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31790         <kernel-features.h>.
31791         [__ASSUME_32BITUIDS]: Make code unconditional.
31792         [!__ASSUME_32BITUIDS]: Remove conditional code.
31793         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31794         <kernel-features.h>.
31795         [__ASSUME_32BITUIDS]: Make code unconditional.
31796         [!__ASSUME_32BITUIDS]: Remove conditional code.
31797         * sysdeps/unix/sysv/linux/setegid.c: Do not include
31798         <kernel-features.h>.
31799         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31800         unconditional.
31801         (__setresgid): Do not declare.
31802         [__ASSUME_32BITUIDS]: Make code unconditional.
31803         [!__ASSUME_32BITUIDS]: Remove conditional code.
31804         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31805         <kernel-features.h>.
31806         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31807         unconditional.
31808         (__setresuid): Do not declare.
31809         [__ASSUME_32BITUIDS]: Make code unconditional.
31810         [!__ASSUME_32BITUIDS]: Remove conditional code.
31811         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31812         <kernel-features.h>.
31813         [__ASSUME_32BITUIDS]: Make code unconditional.
31814         [!__ASSUME_32BITUIDS]: Remove conditional code.
31815         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31816         <kernel-features.h>.
31817         [__ASSUME_32BITUIDS]: Make code unconditional.
31818         [!__ASSUME_32BITUIDS]: Remove conditional code.
31820 2012-05-25  Richard Henderson  <rth@twiddle.net>
31822         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31823         dl_hwcap to ifunc resolver.
31824         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31825         elf_ifunc_invoke.
31826         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31827         dl_hwcap to ifunc resolver.
31828         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31830 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31832         [BZ #14153]
31833         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31834         for |x| <= 2**-26, not 2**-57.
31835         * math/libm-test.inc (acos_test): Do not allow spurious underflow
31836         exception.
31838 2012-05-24  Jeff Law  <law@redhat.com>
31840         * stdio-common/Makefile (tests): Add bug25.
31841         * stdio-common/bug25.c: New test.
31843 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
31845         [BZ #13576]
31846         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31847         multiple of MALLOC_ALIGNMENT in size.
31848         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31850 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31852         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31853         Require >= 256.
31854         (FILENAME_MAX): Use macro-int-constant.
31855         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
31856         (_IOFBF): Use macro-int-constant.
31857         (_IOLBF): Likewise.
31858         (_IONBF): Likewise.
31859         (SEEK_CUR): Likewise.
31860         (SEEK_END): Likewise.
31861         (SEEK_SET): Likewise.
31862         (TMP_MAX): Likewise.
31863         (EOF): Use macro-int-constant.  Require < 0.
31864         (NULL): Use macro-constant.  Require == 0.
31865         (stdin): Require type to be FILE *.
31866         (stdout): Likewise.
31867         (stderr): Likewise.
31868         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31869         macro-int-constant.
31870         (EXIT_SUCCESS): Likewise.
31871         (NULL): Use macro-constant.  Require == 0.
31872         (RAND_MAX): Use macro-int-constant.
31873         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31874         [C99-based standards] (strtof): Require function.
31875         [C99-based standards] (strtold): Likewise.
31876         [C99-based standards] (strtoll): Likewise.
31877         [C99-based standards] (strtoull): Likewise.
31878         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31879         [ISO || ISO99 || ISO11] (limits.h): Likewise.
31880         [ISO || ISO99 || ISO11] (math.h): Likewise.
31881         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31882         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31883         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31885 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
31887         [BZ #14132]
31888         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31889         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31890         * intl/dgettext.c (DCGETTEXT): Likewise.
31891         * intl/gettext.c (DCGETTEXT): Likewise.
31892         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31893         * posix/regex_internal.h (gettext): Likewise.
31894         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31895         Remove declaration.
31896         * include/argz.h (__argz_count_internal)
31897         (__argz_stringify_internal): Remove declaration.
31898         (__argz_count, __argz_stringify): Declare hidden proto.
31899         * intl/dcgettext.c: Remove use of INTDEF.
31900         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31901         * string/argz-stringify.c: Likewise.
31902         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31903         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31904         Declare hidden proto.
31905         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31906         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31907         Declare hidden proto.
31908         * include/stdio.h (__asprintf_internal): Don't declare.
31909         (__asprintf): Don't define as macro.  Declare hidden proto.
31910         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31911         (__fsetlocking): Declare hidden proto.
31912         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31913         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31914         hidden proto.
31915         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31916         (_IO_setlinebuf): Remove use of INTUSE.
31917         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31918         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31919         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31920         Remove declaration.
31921         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31922         (_IO_do_flush): Remove use of INTUSE.
31923         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31924         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31925         (_IO_adjust_column, _IO_least_wmarker)
31926         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31927         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31928         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31929         (_IO_default_doallocate, _IO_wdefault_doallocate)
31930         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31931         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31932         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31933         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31934         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31935         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31936         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31937         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31938         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31939         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31940         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31941         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31942         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31943         proto.
31944         (_IO_flush_all_internal, _IO_adjust_column_internal)
31945         (_IO_default_uflow_internal, _IO_default_finish_internal)
31946         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31947         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31948         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31949         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31950         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31951         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31952         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31953         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31954         (_IO_file_close_internal, _IO_file_close_it_internal)
31955         (_IO_file_underflow_internal, _IO_file_overflow_internal)
31956         (_IO_file_init_internal, _IO_file_attach_internal)
31957         (_IO_file_fopen_internal, _IO_file_read_internal)
31958         (_IO_file_sync_internal, _IO_file_seek_internal)
31959         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31960         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31961         (_IO_str_underflow_internal, _IO_str_overflow_internal)
31962         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31963         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31964         (_IO_list_all_internal, _IO_link_in_internal)
31965         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31966         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31967         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31968         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31969         (_IO_do_write_internal, _IO_padn_internal)
31970         (_IO_getline_info_internal, _IO_getline_internal)
31971         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31972         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31973         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31974         (_IO_vfscanf_internal, _IO_vfprintf_internal)
31975         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31976         (_IO_init_internal, _IO_un_link_internal): Don't declare.
31977         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31978         with libc_hidden_ver, remove use of INTUSE.
31979         * libio/genops.c: Likewise.
31980         * libio/freopen.c: Likewise.
31981         * libio/freopen64.c: Likewise.
31982         * libio/iofclose.c: Likewise.
31983         * libio/iofdopen.c: Likewise.
31984         * libio/iofflush.c: Likewise.
31985         * libio/iofflush_u.c: Likewise.
31986         * libio/iofgets.c: Likewise.
31987         * libio/iofgets_u.c: Likewise.
31988         * libio/iofopen.c: Likewise.
31989         * libio/iofopncook.c: Likewise.
31990         * libio/iofread.c: Likewise.
31991         * libio/iofread_u.c: Likewise.
31992         * libio/ioftell.c: Likewise.
31993         * libio/iofwrite.c: Likewise.
31994         * libio/iogetline.c: Likewise.
31995         * libio/iogets.c: Likewise.
31996         * libio/iogetwline.c: Likewise.
31997         * libio/iopadn.c: Likewise.
31998         * libio/iopopen.c: Likewise.
31999         * libio/ioseekoff.c: Likewise.
32000         * libio/ioseekpos.c: Likewise.
32001         * libio/iosetbuffer.c: Likewise.
32002         * libio/iosetvbuf.c: Likewise.
32003         * libio/ioungetc.c: Likewise.
32004         * libio/ioungetwc.c: Likewise.
32005         * libio/iovdprintf.c: Likewise.
32006         * libio/iovsprintf.c: Likewise.
32007         * libio/iovsscanf.c: Likewise.
32008         * libio/memstream.c: Likewise.
32009         * libio/obprintf.c: Likewise.
32010         * libio/oldfileops.c: Likewise.
32011         * libio/oldiofclose.c: Likewise.
32012         * libio/oldiofdopen.c: Likewise.
32013         * libio/oldiofopen.c: Likewise.
32014         * libio/oldiopopen.c: Likewise.
32015         * libio/oldstdfiles.c: Likewise.
32016         * libio/putc.c: Likewise.
32017         * libio/setbuf.c: Likewise.
32018         * libio/setlinebuf.c: Likewise.
32019         * libio/stdfiles.c: Likewise.
32020         * libio/strops.c: Likewise.
32021         * libio/vasprintf.c: Likewise.
32022         * libio/vscanf.c: Likewise.
32023         * libio/vsnprintf.c: Likewise.
32024         * libio/vswprintf.c: Likewise.
32025         * libio/wfiledoalloc.c: Likewise.
32026         * libio/wfileops.c: Likewise.
32027         * libio/wgenops.c: Likewise.
32028         * libio/wmemstream.c: Likewise.
32029         * libio/wstrops.c: Likewise.
32030         * libio/__fpurge.c: Likewise.
32031         * libio/__fsetlocking.c: Likewise.
32032         * assert/assert.c: Likewise.
32033         * debug/fgets_chk.c: Likewise.
32034         * debug/fgets_u_chk.c: Likewise.
32035         * debug/fread_chk.c: Likewise.
32036         * debug/fread_u_chk.c: Likewise.
32037         * debug/gets_chk.c: Likewise.
32038         * debug/obprintf_chk.c: Likewise.
32039         * debug/vasprintf_chk.c: Likewise.
32040         * debug/vdprintf_chk.c: Likewise.
32041         * debug/vsnprintf_chk.c: Likewise.
32042         * debug/vsprintf_chk.c: Likewise.
32043         * malloc/mtrace.c: Likewise.
32044         * misc/error.c: Likewise.
32045         * misc/syslog.c: Likewise.
32046         * stdio-common/asprintf.c: Likewise.
32047         * stdio-common/fxprintf.c: Likewise.
32048         * stdio-common/getw.c: Likewise.
32049         * stdio-common/isoc99_fscanf.c: Likewise.
32050         * stdio-common/isoc99_scanf.c: Likewise.
32051         * stdio-common/isoc99_vfscanf.c: Likewise.
32052         * stdio-common/isoc99_vscanf.c: Likewise.
32053         * stdio-common/isoc99_vsscanf.c: Likewise.
32054         * stdio-common/printf-prs.c: Likewise.
32055         * stdio-common/printf_fp.c: Likewise.
32056         * stdio-common/printf_fphex.c: Likewise.
32057         * stdio-common/printf_size.c: Likewise.
32058         * stdio-common/putw.c: Likewise.
32059         * stdio-common/scanf.c: Likewise.
32060         * stdio-common/sprintf.c: Likewise.
32061         * stdio-common/tmpfile.c: Likewise.
32062         * stdio-common/vfprintf.c: Likewise.
32063         * stdio-common/vfscanf.c: Likewise.
32064         * stdlib/strfmon_l.c: Likewise.
32065         * sunrpc/openchild.c: Likewise.
32066         * sunrpc/xdr_stdio.c: Likewise.
32067         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32068         * sysdeps/mach/hurd/tmpfile.c: Likewise.
32070 2012-05-24  Roland McGrath  <roland@hack.frob.com>
32072         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32074         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32075         in the third column, to generate for the shared library an IFUNC
32076         that uses _dl_vdso_vsym.
32077         * Makerules (COMPILE.c, compile-stdin.c): New variables.
32078         * Makeconfig (object-suffixes-noshared): New variable.
32080         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32081         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32082         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32083         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32085         [BZ #14132]
32086         * include/sys/time.h (__gettimeofday): Remove macro.
32087         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32088         * time/gettimeofday.c (__gettimeofday): Remove #undef.
32089         Remove INTDEF.
32090         (__gettimeofday): Add libc_hidden_def.
32091         (gettimeofday): Add libc_hidden_weak.
32092         * sysdeps/mach/gettimeofday.c: Likewise.
32093         * sysdeps/posix/gettimeofday.c: Likewise.
32094         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32095         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32096         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32097         (__gettimeofday_internal): Remove strong_alias.
32098         (__gettimeofday): Add libc_hidden_def.
32099         (gettimeofday): Add libc_hidden_weak.
32100         * sysdeps/unix/syscalls.list (gettimeofday):
32101         Remove __gettimeofday_internal alias.
32103 2012-05-24  Daniel Jacobowitz  <drow@false.org>
32104             H.J. Lu  <hongjiu.lu@intel.com>
32106         [BZ #12495]
32107         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32108         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32109         (largebin_index_32_big): New.
32110         (largebin_index): Use it for 16-byte alignment.
32111         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
32112         correction with front_misalign.
32114 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32116         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32118         Likewise.
32119         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32120         Likewise.
32121         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32122         Likewise.
32123         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32124         Likewise.
32125         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32126         Likewise.
32127         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32128         Likewise.
32129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32130         Likewise.
32131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32132         Likewise.
32133         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32134         Likewise.
32135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32136         Likewise.
32137         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32138         Likewise.
32139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32140         Likewise.
32142         * scripts/data/c++-types-x32-linux-gnu.data: New file.
32143         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32145 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32147         [BZ #10846]
32148         [BZ #14036]
32149         * math/libm-test.inc (exp_test): Add test from bug 14036.
32150         (pow_test): Add test from bug 10846.
32152         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32153         and other flags.
32154         (special_function): Do not include flags in test name.
32155         (parse_args): Likewise.
32156         * sysdeps/i386/fpu/libm-test-ulps: Update.
32157         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32158         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32159         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32162         * math/gen-libm-test.pl (%beautify): Add entries for underflow
32163         exceptions.
32164         * math/libm-test.inc ("Philosophy"): Update comment about
32165         exception testing.
32166         (UNDERFLOW_EXCEPTION): New macro.
32167         (UNDERFLOW_EXCEPTION_OK): Likewise.
32168         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32169         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32170         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32171         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32172         (INVALID_EXCEPTION_OK): Update value.
32173         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32174         (OVERFLOW_EXCEPTION_OK): Likewise.
32175         (IGNORE_ZERO_INF_SIGN): Likewise.
32176         (test_exceptions): Handle underflow exceptions.
32177         (acos_test): Update for underflow exception expectations.
32178         (cexp_test): Likewise.
32179         (clog_test): Likewise.
32180         (clog10_test): Likewise.
32181         (csqrt_test): Likewise.
32182         (ctan_test): Likewise.
32183         (ctanh_test): Likewise.
32184         (exp_test): Likewise.
32185         (exp10_test): Likewise.
32186         (exp2_test): Likewise.
32187         (expm1_test): Likewise.
32188         (fma_test): Likewise.
32189         (j0_test): Likewise.
32190         (jn_test): Likewise.
32191         (nexttoward_test): Likewise.
32192         (pow_test): Likewise.
32193         (scalbn_test): Likewise.
32194         (scalbln_test): Likewise.
32195         (tan_test): Likewise.
32196         (y1_test): Likewise.
32197         * sysdeps/i386/fpu/libm-test-ulps: Update.
32198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32200 2012-05-23  David S. Miller  <davem@davemloft.net>
32202         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32203         (__libc_sigaction): Remove unused local variables.
32205 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32207         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32209 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
32211         mktime: avoid signed integer overflow
32212         * time/mktime.c (__mktime_internal): Do not mishandle the case
32213         where diff == INT_MIN.
32215         mktime: simplify computation of average
32216         * time/mktime.c (ranged_convert): Use new time_t_avg function
32217         instead of rolling our own (probably-slower) code.
32219         mktime: do not assume signed right shift propagates sign bit
32220         * time/mktime.c (isdst_differ): New static function.
32221         (__mktime_internal): No need to normalize tm_isdst now.
32222         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32223         tm_isdst values.
32225         mktime: merge another wrapv change from gnulib
32226         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32227         from some compilers.
32229         mktime: remove incorrect attempt at unusual arithmetics
32230         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32231         The code didn't really work on such machines anyway.
32232         (TYPE_MINIMUM): Assume two's complement.
32233         (twos_complement_arithmetic): Verify that long_int and time_t
32234         are two's complement (or unsigned, in the latter case).
32236         mktime: check signed shifts on long_int and time_t, too
32237         * time/mktime.c (SHR): Check that shifts work as desired
32238         on the types long_int and time_t too, as SHR is used on
32239         such types.
32241         mktime: do not assume 'long' is wide enough
32242         * time/mktime.c (verify): Move decl up.
32243         (long_int): New type.
32244         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32245         to remove assumption in the code that 'long' is wide enough to
32246         store year values.  This assumption is not true on x32 and on
32247         some non-glibc platforms.
32249         mktime: merge wrapv change from gnulib
32250         * time/mktime.c (WRAPV): New macro.
32251         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32252         (guess_time_tm, __mktime_internal): Do not assume that signed
32253         integer overflow wraps around; modern compilers generate code
32254         where this assumption is no longer valid.
32256 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32258         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32259         Replace "jmp L(pseudo_end)" with "ret".
32260         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32261         Likewise.
32263 2012-05-23  Andreas Jaeger  <aj@suse.de>
32265         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32266         * sysdeps/unix/sysv/linux/poll.c: Remove file.
32268 2012-05-23  Andreas Jaeger  <aj@suse.de>
32269             Maximilian Attems  <max@stro.at>
32271         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32272         New macros.
32274 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32276         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32277         code so that pseudo_end is just ret and the stack pointer is
32278         correct also for static library in error case.
32280 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
32282         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32283         move to syscalls.list.
32284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32289         * manual/install.texi (Running make install): Do not mention Linux
32290         kernel version for which pt_chown is not needed.
32291         (Linux): Do not mention problems with nscd with 2.0 kernels.
32292         * INSTALL: Regenerated.
32294 2012-05-23  Andreas Jaeger  <aj@suse.de>
32296         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32297         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32298         macro.
32299         * sysdeps/unix/sysv/linux/s390/bits/mman.h
32300         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32301         * sysdeps/unix/sysv/linux/sh/bits/mman.h
32302         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32303         * sysdeps/unix/sysv/linux/i386/bits/mman.h
32304         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32305         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32306         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32307         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32308         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32309         * sysdeps/unix/sysv/linux/bits/in.h
32310         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32312 2012-05-22  Roland McGrath  <roland@hack.frob.com>
32314         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32315         (PREPARE_VERSION): Just use assert instead, it will be elided
32316         under [NDEBUG] anyway.
32318 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32320         * sysdeps/unix/sysv/linux/Makefile: Include
32321         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32322         (sysdep_routines): Remove sysctl.
32323         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32324         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32325         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32326         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32327         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32329 2012-05-22  Andreas Jaeger  <aj@suse.de>
32331         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32332         that pseudo_end is just ret and the stack pointer is correct also
32333         for static library in error case.
32335 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32337         [BZ #14122]
32338         * nss/nsswitch.c (defconfig_entries): New variable.
32339         (__nss_database_lookup): Don't leak defconfig entries.
32340         (nss_parse_service_list): Don't leak on error paths.
32341         (free_database_entries): New function.
32342         (free_defconfig): New function.
32343         (free_mem): Move common code to free_database_entries.
32345 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32347         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32348         Add arch_prctl.
32349         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32351         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32352         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32353         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32354         New macro.
32355         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32356         (INTERNAL_SYSCALL_TYPES): Likewise.
32357         (LOAD_ARGS_TYPES_[1-6]): Likewise.
32358         (LOAD_REGS_TYPES_[1-6]): Likewise.
32359         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32360         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32362 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32364         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32365         copysignl for GLIBC_2_0.
32366         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32367         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32368         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32369         logbl for GLIBC_2_0.
32370         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32371         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32373 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32375         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32376         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32378         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32379         Use "neg %eax".
32381         * time/mktime.c: Update copyright years.
32383 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
32385         mktime: merge comment-quoting-style change from gnulib
32386         * time/mktime.c: Quote 'like this' in comments.
32387         The GNU coding standards suggest that we no longer quote `like this',
32388         as "`" and "'" are typically rendered asymmetrically nowadays.
32389         The typical gnulib style is to quote 'like this' when quoting
32390         code, and "like this" when quoting English.
32392         * time/mktime.c (compile-command): Add "-I.".
32394         mktime: merge mktime-internal.h change from gnulib
32395         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32397         mktime: merge time_r change from gnulib
32398         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32400         mktime: merge DEBUG change from gnulib
32401         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32402         case system <time.h> has a #define.
32404         mktime: merge <sys/types.h> change from gnulib
32405         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32406         since <time.t> is now guaranteed to define time_t.
32408         mktime: merge HAVE_CONFIG_H change from gnulib
32409         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32411 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32413         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32414         Use "neg %eax".
32416         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32417         __rlim_t cast.
32418         (struct rusage): Use anonymous union to pad each field to
32419         __syscall_slong_t.
32421 2012-05-21  David S. Miller  <davem@davemloft.net>
32423         * Makefules (o-iterator): Remove .s cases.
32424         (compile-command.s): Delete.
32425         (COMPILE.s): Delete.
32426         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32428 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
32430         * configure.in (libc_cv_predef_stack_protector): Only consider
32431         "foobar" and "__stack_chk_fail" lines in libc_undefs.
32432         * configure: Regenerated.
32434 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32436         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32437         New macro.  Use R*LP on int and pointer.
32438         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32439         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32440         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32441         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32443         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32444         [__WORDSIZE_TIME64_COMPAT32] instead of
32445         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32446         (struct utmp): Likewise.
32447         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32448         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32449         Renamed to ...
32450         (__WORDSIZE_TIME64_COMPAT32): This.
32451         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32452         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32453         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32454         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32455         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32456         (__WORDSIZE_TIME64_COMPAT32): New macro.
32458 2012-05-21  Andreas Jaeger  <aj@suse.de>
32460         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32461         only if [SHARED]. Add prototype for __wcschr_ia32.
32463 2012-05-21  Roland McGrath  <roland@hack.frob.com>
32465         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32466         of %rbp unmolested in the jmp_buf while mangling the low bits.
32467         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32468         unmolested high bits of %rbp while demangling the low bits.
32469         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32471 2012-05-21  Andreas Jaeger  <aj@suse.de>
32473         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32474         * sunrpc/svc_simple.c: Use it for registerrpc.
32475         * sunrpc/xcrypt.c: Use it for passwd2des.
32477         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32479 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32481         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32482         Don't define if [__SYSCALL_WORDSIZE != 32].
32483         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32484         New macro.
32486 2012-05-21  Bruno Haible  <bruno@clisp.org>
32487             Andreas Jaeger  <aj@suse.de>
32489         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32490         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32491         inptr and inend for must_buffer_ch.
32492         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32493         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32494         * stdio-common/Makefile (tests): Remove bug15.
32495         (bug15-ENV): Remove macro.
32496         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32497         anymore.
32499 2012-05-19  Andreas Jaeger  <aj@suse.de>
32500             Roland McGrath  <roland@hack.frob.com>
32502         * manual/contrib.texi: Completely rewritten. It contains now an
32503         alphabetical list of contributors and their contributions.
32505 2012-05-21  Richard Henderson  <rth@twiddle.net>
32507         * misc/getauxval.c (__getauxval): Use unsigned long int.
32508         * misc/sys/auxv.h: Include <sys/cdefs.h>.
32509         (getauxval): Use unsigned long int.
32511 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32513         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32515 2012-05-21  Roland McGrath  <roland@hack.frob.com>
32517         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32518         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32519         __alignof__ (long double).
32521 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32523         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32525 2012-05-20  Richard Henderson  <rth@twiddle.net>
32527         * misc/getauxval.c: New file.
32528         * misc/sys/auxv.h: New file.
32529         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32530         (routines): Add getauxval.
32531         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32532         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32533         * elf/dl-sysdep.c (_dl_auxv): Remove.
32534         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32535         * elf/dl-support.c (_dl_auxv): New variable.
32536         (_dl_aux_init): Initialize it.
32537         * manual/startup.texi (Auxiliary Vector): New node.
32538         * sysdeps/generic/bits/hwcap.h: New file.
32539         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32540         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
32541         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32542         * sysdeps/sparc/sysdep.h: ... here.  Include it.
32543         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32544         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32546         Update.
32547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32550         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32552         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32553         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32554         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32556 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32560 2012-05-19  David S. Miller  <davem@davemloft.net>
32562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32564 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
32566         [BZ #14123]
32567         * math/s_ccosh.c: Include <float.h>
32568         (__ccosh): Avoid internal overflow calculating sinh and cosh
32569         values before multiplying by sin and cos values.
32570         * math/s_ccoshf.c: Likewise.
32571         * math/s_ccoshl.c: Likewise.
32572         * math/s_csin.c: Likewise.
32573         * math/s_csinf.c: Likewise.
32574         * math/s_csinl.c: Likewise.
32575         * math/s_csinh.c: Likewise.
32576         * math/s_csinhf.c: Likewise.
32577         * math/s_csinhl.c: Likewise.
32578         * math/libm-test.inc (ccos_test): Add more tests.
32579         (ccosh_test): Likewise.
32580         (csin_test): Likewise.
32581         (csinh_test): Likewise.
32582         * sysdeps/i386/fpu/libm-test-ulps: Update.
32583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32585 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
32587         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32588         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32590         * sysdeps/x86_64/x32/_itoa.h: Add comment.
32592 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
32594         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32595         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32596         * sysdeps/powerpc/soft-fp/Versions: Likewise.
32597         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32598         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32599         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32600         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32601         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32602         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32603         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32604         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32605         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32606         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32607         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32608         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32609         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32610         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32611         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32612         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32613         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32614         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32615         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32616         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32617         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32618         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32619         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32620         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32621         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32622         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32623         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32624         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32626 2012-05-18  Andreas Jaeger  <aj@suse.de>
32628         * csu/.gitignore: Delete.
32630 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32632         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32633         (timex): Use __syscall_slong_t.
32635 2012-05-18  Andreas Jaeger  <aj@suse.de>
32636             Carlos O'Donell  <carlos_odonell@mentor.com>
32638         * manual/install.texi (Configuring and compiling): Update
32639         description about files modified in the source directory.
32640         * INSTALL: Regenerated.
32642 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32644         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32645         value.  Use "or" to set return value to -1.
32646         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32647         negate return value.
32649 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32651         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32652         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32653         failure if the compiler has Graphite support disabled.
32654         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32655         Likewise.
32656         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32657         (CFLAGS-memmove.c): Likewise.
32658         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32659         Likewise.
32661 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32663         * sysdeps/x86_64/x32/_itoa.h: New file.
32665         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32666         getdents system call only if kernel and user dirents have the
32667         same d_ino and d_off.
32669         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32670         LLONG_MAX != LONG_MAX.
32671         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32672         (_fitoa_word): Likewise.
32674         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32675         years.
32676         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32677         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32678         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32680         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32681         include <bits/wordsize.h>.  Check __x86_64__ instead of
32682         __WORDSIZE.
32683         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32684         if __x86_64__ is defined.  Use anonymous union on fpstate.
32686         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32687         anonymous union.
32689 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
32691         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32692         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32693         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32694         Refer to _rtld_local_ro instead of _rtld_global_ro.
32695         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32696         Likewise.
32697         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32698         Likewise.
32699         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32700         Likewise.
32701         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32702         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32703         of _rtld_global, and rtld_progname instead of _dl_argv[0].
32705         * sysdeps/powerpc/powerpc32/dl-machine.c
32706         (__elf_machine_runtime_setup) [PROF]: Don't reference
32707         _dl_prof_resolve.
32709 2012-05-18  Andreas Jaeger  <aj@suse.de>
32711         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32712         function only available for GCCs before 3.4 since GCC 3.4
32713         introduced a builtin.
32714         (lrint): Likewise.
32715         (llrintf): Likewise.
32716         (llrint): Likewise.
32717         (fmaxf): Likewise.
32718         (fmax): Likewise.
32719         (fminf): Likewise.
32720         (fmin): Likewise.
32721         (rint): Likewise.
32722         (rintf): Likewise.
32723         (nearbyint): Likewise.
32724         (nearbyintf): Likewise.
32725         (ceil): Likewise.
32726         (ceilf): Likewise.
32727         (floor): Likewise.
32728         (floorf): Likewise.
32730 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32732         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32733         on both fields and cast pointer to __syscall_ulong_t.
32735         * bits/types.h (__fsword_t): New type.
32736         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32737         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32738         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32739         (__FSWORD_T_TYPE): Likewise.
32740         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32741         (__FSWORD_T_TYPE): Likewise.
32742         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32743         (__FSWORD_T_TYPE): Likewise.
32744         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32745         (__FSWORD_T_TYPE): Likewise.
32746         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32747         __SWORD_TYPE with __fsword_t.
32748         (statfs64): Likewise.
32750 2012-05-17  David S. Miller  <davem@davemloft.net>
32752         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32754 2012-05-17  Andreas Jaeger  <aj@suse.de>
32756         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32757         warning.
32759 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32761         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32763 2012-05-17  Andreas Jaeger  <aj@suse.de>
32765         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32766         when it is used.
32768 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
32770         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32772 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32774         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32775         * sysdeps/x86_64/tst-mallocalign1.c: New file.
32777 2012-05-17  Andreas Jaeger  <aj@suse.de>
32778             Carlos O'Donell  <carlos_odonell@mentor.com>
32780         [BZ #14059]
32781         * sysdeps/x86_64/multiarch/init-arch.h
32782         (bit_YMM_Usable): Rename to...
32783         (bit_AVX_Usable): ... this.
32784         (bit_FMA4_Usable): New macro.
32785         (bit_XMM_state): New macro.
32786         (bit_YMM_state): New macro.
32787         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32788         [__ASSEMBLER__] (index_AVX_Usable): ... this.
32789         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32790         (CPUID_OSXSAVE): New macro.
32791         (CPUID_AVX): New macro.
32792         (CPUID_FMA4): New macro.
32793         (index_YMM_Usable): Rename to...
32794         (index_AVX_Usable): ... this.
32795         (HAS_AVX): Use HAS_ARCH_FEATURE.
32796         (HAS_FMA4): Likewise.
32797         (HAS_YMM_USABLE): Remove.
32798         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32799         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32800         are present.
32801         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32802         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32803         * sysdeps/x86_64/multiarch/Makefile: Likewise.
32804         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32805         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32807 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
32809         * math/libm-test.c: Support platforms without multiple rounding modes.
32810         * math/bug-nextafter.c: Support platforms without FP exceptions.
32811         * math/bug-nexttoward.c: Likewise.
32812         * math/test-fenv.c: Likewise.
32813         * math/test-misc.c: Likewise.
32814         * stdlib/bug-getcontext.c: Likewise.
32816 2012-05-17  Andreas Jaeger  <aj@suse.de>
32818         * manual/examples/search.c (critter_cmp): Change signature to
32819         avoid warnings.
32820         * manual/string.texi (Collation Functions): Likewise.
32822 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32824         * bits/types.h: Fold copyright years.
32825         * bits/typesizes.h: Likewise.
32826         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32827         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32828         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32829         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32830         * time/time.h: Likewise.
32832 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
32834         [BZ #208]
32835         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32836         in instead of returning them.  Return void.
32837         (__libc_mallinfo): Accumulate over all arenas.
32838         (__malloc_stats): Adjust for change in int_mallinfo interface.
32840 2012-05-16  Roland McGrath  <roland@hack.frob.com>
32842         [BZ #10375]
32843         * configure.in (NM): Add AC_CHECK_TOOL for it.
32844         (libc_extra_cflags): New substituted variable.
32845         Check for -fstack-protector being used implicitly.
32846         * configure: Regenerated.
32847         * config.make.in (config-extra-cflags): New variable,
32848         gets @libc_extra_cflags@.
32849         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32851         [BZ #10375]
32852         * configure.in: Check for _FORTIFY_SOURCE being predefined.
32853         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32854         * configure: Regenerated.
32855         * config.make.in (CPPUNDEFS): New substituted variable.
32856         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32857         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32858         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32860 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32862         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32863         (mq_attr): Use __syscall_slong_t.
32865 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32867         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32868         Check __x86_64__ instead of __WORDSIZE.
32869         (_STAT_VER_LINUX): Likewise.
32870         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
32871         __syscall_ulong_t and __syscall_slong_t.
32872         (stat64): Likewise.
32874 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32876         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32878 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32880         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32882 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32884         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32885         __syscall_ulong_t.
32887         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32888         include <bits/wordsize.h>.  Check __x86_64__ instead of
32889         __WORDSIZE.
32890         (greg_t): Use "__extension__ long long int" if __x86_64__ is
32891         defined.
32892         (mcontext_t): Replace "unsigned long" with "unsigned long long".
32894         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32895         include <bits/wordsize.h>.  Check __x86_64__ instead of
32896         __WORDSIZE.
32897         (user_regs_struct): Use "__extension__ unsigned long long"
32898         instead of "unsigned long" if __x86_64__ is defined.
32899         (user): Likewise.  Pad after pointer field if __ILP32__ is
32900         defined.
32902 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
32904         * configure.in (makeinfo): Require version 4.5 or later.  Allow
32905         versions 5 to 9.
32906         * configure: Regenerated.
32907         * manual/install.texi (texinfo): Increase version requirement to
32908         4.5 or later.
32909         * INSTALL: Regenerated.
32911         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32913 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32915         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32917         * sysdeps/x86_64/x32/ffs.c: New file.
32919         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32920         __syscall_ulong_t.
32921         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32922         defined.  Use __syscall_ulong_t.
32923         (shminfo): Use __syscall_ulong_t.
32924         (shm_info): Likewise.
32926         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32927         __syscall_ulong_t.
32929         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32930         <bits/wordsize.h>.
32931         (msgqnum_t): Use __syscall_ulong_t.
32932         (msglen_t): Likewise.
32933         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
32934         __syscall_ulong_t.
32936         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32937         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32939         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32941         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32942         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32944         * sysvipc/sys/msg.h (msgbuf): Replace long int with
32945         __syscall_slong_t.
32947         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32948         include <bits/wordsize.h>.  Check __x86_64__ instead of
32949         __WORDSIZE.
32951         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32952         "unsigned long long int" if __x86_64__ is defined.
32953         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32955         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32956         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32957         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32959         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32960         <stdint.h>.
32961         (GET_PC): Cast to uintptr_t first.
32962         (GET_FRAME): Likewise.
32963         (GET_STACK): Likewise.
32965         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32966         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32967         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32968         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32969         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32970         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32971         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32972         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32973         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32974         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32975         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32976         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32977         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32978         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32979         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32980         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32981         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32982         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32983         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32984         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32985         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32986         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32987         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32988         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32989         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32990         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32991         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32992         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32993         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32995 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
32997         * Makerules (+depfiles): Also collect depfiles from .oS in
32998         $(extra-objs).
32999         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33000         .oS, $(libnldbl-routines)).
33002         * Makerules (native-compile-mkdep-flags): Define.
33003         * sunrpc/Makefile (extra-objs): Add $(addprefix
33004         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33005         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33006         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
33007         calling $(make-target-directory).
33009 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33011         * bits/types.h (__snseconds_t): Removed.
33012         * time/time.h (struct timespec): Replace __snseconds_t with
33013         __syscall_slong_t.
33014         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33015         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33016         Likewise.
33017         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33018         (__SNSECONDS_T_TYPE): Likewise.
33019         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33020         (__SNSECONDS_T_TYPE): Likewise.
33021         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33022         (__SNSECONDS_T_TYPE): Likewise.
33024 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33026         * sysdeps/mach/hurd/bits/typesizes.h
33027         (__SYSCALL_SLONG_TYPE): New macro.
33028         (__SYSCALL_ULONG_TYPE): Likewise.
33030 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33032         * bits/types.h (__syscall_slong_t): New type.
33033         (__syscall_ulong_t): Likewise.
33035         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33036         (__SYSCALL_ULONG_TYPE): Likewise.
33037         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33038         (__SYSCALL_SLONG_TYPE): Likewise.
33039         (__SYSCALL_ULONG_TYPE): Likewise.
33040         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33041         (__SYSCALL_SLONG_TYPE): Likewise.
33042         (__SYSCALL_ULONG_TYPE): Likewise.
33043         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33044         (__SYSCALL_SLONG_TYPE): Likewise.
33045         (__SYSCALL_ULONG_TYPE): Likewise.
33047 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33049         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33050         Add sigaltstack-offsets.sym.
33051         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33052         <sigaltstack-offsets.h>.
33053         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
33054         longjmp_msg pointer.
33055         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
33056         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33057         signal stack.
33058         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33060 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33062         * elf/stackguard-macros.h: Remove file.
33063         * sysdeps/generic/stackguard-macros.h: New file.
33064         * sysdeps/i386/stackguard-macros.h: Likewise.
33065         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33066         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33067         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33068         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33069         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33070         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33071         * sysdeps/x86_64/stackguard-macros.h: Likewise.
33072         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33073         <elf/stackguard-macros.h>.
33075         [BZ #14109]
33076         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33077         __aligned__ in attribute.
33078         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33079         (gregset_t): Likewise.
33081 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33083         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33084         * sysdeps/x86_64/64/Implies-after: Here.  New file.
33085         * sysdeps/x86_64/x32/Implies-after: New file.
33087 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33089         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33090         and access return value for _dl_profile_fixup.  Use R10_LP to
33091         load frame size.
33093 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33095         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33097 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33099         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33100         * sysdeps/x86_64/x32/sysdep.h: New file.
33102 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33104         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33105         * sysdeps/x86_64/setjmp.S: Likewise.
33107 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33109         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33110         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33111         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33112         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33113         remove unused global constant.
33115 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
33117         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33118         include of <not-cancel.h>.
33120 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33122         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33124 2012-05-15  Jeff Law  <law@redhat.com>
33125             Andreas Jaeger  <aj@suse.de>
33127         [BZ #13594]
33128         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33129         out from...
33130         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33131         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33132         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33133         code changing __hst_map_handle.map.
33135 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33137         * configure.in (sysnames): Look for Implies-before and Implies-after
33138         files.
33139         * configure: Regenerated.
33141 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33143         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33144         8-byte data alignment with LP_SIZE alignment.
33146 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33148         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33149         into R10_LP.
33151 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33153         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33155 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33157         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33158         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33159         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33160         Likewise.
33161         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33163 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33165         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33166         (stackinfo_sub_sp): Likewise.
33168 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33170         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33171         RAX_LP.
33173 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33175         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33176         into R*_LP.
33178 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33180         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33181         sizes into R*_LP.
33183 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33185         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33187 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33189         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33190         into R11_LP and load __x86_64_shared_cache_size_half into
33191         R8_LP.
33193 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33195         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33196         R8_LP.
33198 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33200         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33201         logb for POWER7.
33202         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33203         logbf for POWER7.
33204         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33205         logbl for POWER7.
33206         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33207         powerpc32/power7/fpu/s_logb.c via #include.
33208         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33209         powerpc32/power7/fpu/s_logbf.c via #include.
33210         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33211         powerpc32/power7/fpu/s_logbl.c via #include.
33213 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33215         * README.libm: Remove file.
33217 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33219         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33220         count for x32.  Use R*_LP and omit operand-size suffix.
33222 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33224         * shlib-versions: Move x86_64-.*-linux.* entries to ...
33225         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
33226         * sysdeps/x86_64/x32/shlib-versions: New file.
33228 2012-05-14  Roland McGrath  <roland@hack.frob.com>
33230         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33231         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33232         Use _dl_fatal_printf instead.
33234 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33236         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33237         set if not set by the user.  Do not allow for being unset.
33238         * sysdeps/unix/sysv/linux/configure: Regenerated.
33240 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33242         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33243         the `q' suffix from lea and replace .quad with ASM_ADDR.
33245 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33247         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33248         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
33249         instead of $17.
33250         (PTR_DEMANGLE): Likewise.
33252 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33254         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33255         (LP_OP): Likewise.
33256         (ASM_ADDR): Likewise.
33257         (RAX_LP): Likewise.
33258         (RBP_LP): Likewise.
33259         (RBX_LP): Likewise.
33260         (RCX_LP): Likewise.
33261         (RDI_LP): Likewise.
33262         (RSI_LP): Likewise.
33263         (RSP_LP): Likewise.
33264         (R8_LP): Likewise.
33265         (R9_LP): Likewise.
33266         (R10_LP): Likewise.
33267         (R10_LP): Likewise.
33268         (R11_LP): Likewise.
33269         (R12_LP): Likewise.
33270         (R13_LP): Likewise.
33271         (R14_LP): Likewise.
33272         (R15_LP): Likewise.
33274 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33276         * sysdeps/x86_64/x32/dl-machine.h: New file.
33278 2012-05-14  Andreas Jaeger  <aj@suse.de>
33280         * manual/Makefile (subdir): Remove export of subdir.
33281         (all): Remove target.
33282         (.PHONY): Remove all from list.
33283         (mkinstalldirs): Remove.
33284         (.PHONY): Remove installdirs from list.
33285         ($(inst_infodir)/libc.info): Use make-target-directory.
33286         (installdirs): Remove.
33287         (subdir_%): Remove.
33288         (glibc-targets): Remove.
33289         (lib): Remove.
33290         (stubs): Remove.
33291         ($(objpfx)stubs ../po/manual.pot): Remove.
33292         ($(objpfx)stamp%): Remove.
33293         (make-target-directory): Remove.
33294         (subdir_install): Remove.
33295         (routines): Remove.
33296         (aux): Remove.
33297         (sources): Remove.
33298         (objects): Remove.
33299         (headers): Remove.
33301         [BZ #13750]
33302         * manual/.gitignore: Remove, it's not needed anymore.
33303         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33304         all files in it.
33305         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33306         directory.
33307         (texis): Renamed to $(objpfx)texis.
33308         (texis-path): New, contains path to generated files.
33309         (chapters.%): Use texis-path for complete path, add extra argument
33310         libc-texinfo.sh.
33311         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33312         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33313         (summary,texi, stamp-summary): Use complete path of
33314         files. Generate files in build dir.
33315         (dir-add.texi): Build in build dir.
33316         (libm-err.texi,stamp-libm-err): Likewise.
33317         (version.texi, stamp-version): Likewise.
33318         (.%c.texi): Likewise.
33319         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33320         (mostlyclean): Remove target.
33321         (realclean): Remove target.
33322         (generated): Add new variable with contents from mostlyclean and
33323         realclean, remove entries duplicated in common-mostlyclean, add
33324         stamp-libm-err and stamp-version.
33325         (generated-dirs): Add libc directory.
33326         ($(inst_infodir)/libc.info): Install files from build dir.
33328         * manual/install.texi (Configuring and compiling): Adjust since
33329         the info files are not part of the tar ball anymore.
33331 2012-05-14  Andreas Jaeger  <aj@suse.de>
33333         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33334         variable.
33336 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33338         [BZ #13717]
33339         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33340         to 2.2.0 where earlier.
33341         * sysdeps/unix/sysv/linux/configure: Regenerated.
33342         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33343         Remove conditional code.
33344         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33345         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33346         Remove conditional code.
33347         [!__NR_lchown]: Likewise.
33348         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33349         [__NR_lchown]: Likewise.
33350         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33351         comment referencing __ASSUME_LCHOWN_SYSCALL.
33352         * sysdeps/unix/sysv/linux/i386/sigaction.c
33353         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33354         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33355         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33356         Remove conditional code.
33357         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33358         (__protocol_available): Remove #if 0 code.
33359         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33360         conditional code.
33361         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33362         * sysdeps/unix/sysv/linux/kernel-features.h
33363         (__ASSUME_GETCWD_SYSCALL): Don't define.
33364         (__ASSUME_REALTIME_SIGNALS): Likewise.
33365         (__ASSUME_PREAD_SYSCALL): Likewise.
33366         (__ASSUME_PWRITE_SYSCALL): Likewise.
33367         (__ASSUME_POLL_SYSCALL): Likewise.
33368         (__ASSUME_LCHOWN_SYSCALL): Likewise.
33369         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33370         non-SPARC.
33371         (__ASSUME_SIOCGIFNAME): Don't define.
33372         (__ASSUME_MSG_NOSIGNAL): Likewise.
33373         (__ASSUME_SENDFILE): Define unconditionally.
33374         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33375         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33376         conditional code.
33377         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33378         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33379         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33380         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33381         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33382         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33383         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33385         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33386         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33388         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33389         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33391         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33392         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33394         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33395         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33397         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33398         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33400         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33401         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33403         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33404         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33406         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33407         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33408         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33409         Remove conditional code.
33410         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33411         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33412         Remove conditional code.
33413         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33414         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33415         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33416         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33417         Remove conditional code.
33418         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33419         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33420         Remove conditional code.
33421         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33422         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33423         Remove conditional code.
33424         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33425         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33426         Remove conditional code.
33427         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33428         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33429         Remove conditional code.
33430         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33431         * sysdeps/unix/sysv/linux/sh/pwrite64.c
33432         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33433         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33434         * sysdeps/unix/sysv/linux/sigaction.c
33435         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33436         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33437         * sysdeps/unix/sysv/linux/sigpending.c
33438         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33439         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33440         * sysdeps/unix/sysv/linux/sigprocmask.c
33441         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33442         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33443         * sysdeps/unix/sysv/linux/sigsuspend.c
33444         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33445         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33446         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33447         (__libc_missing_rt_sigs): Remove.
33448         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33449         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33450         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33451         Remove conditional code.
33452         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33453         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33454         return 1.
33455         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33456         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33457         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33458         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33460 2012-05-14  Andreas Jaeger  <aj@suse.de>
33462         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33463         it's not used in glibc.
33464         (__coshm1): Likewise.
33465         (__acosh1p): Likewise.
33466         (__sgn): Likewise.
33468         * manual/string.texi (Copying and Concatenation): Add missing
33469         variable in concat example.
33470         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33472 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33474         [BZ #14103]
33475         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33476         __builtin_clzl with __builtin_clzll.
33478 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33480         [BZ #14104]
33481         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33482         libc_freeres_ptr.
33484 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33486         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33487         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33488         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33489         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33491 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
33493         * NEWS: Update ia64 info.
33495 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
33497         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33498         used as bcopy.
33500 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
33502         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33503         * sysdeps/unix/syscalls.list (dup3): Likewise.
33504         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33505         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33507 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
33509         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33510         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33512 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
33514         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33515         thread pointer.
33516         (TLS_IE): Use mov/add instead of movq/addq to load thread
33517         pointer.
33518         (TLS_GD_PREFIX): New.
33519         (TLS_GD): Use it.
33521 2012-05-11  David S. Miller  <davem@davemloft.net>
33523         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33524         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33525         (_FPU_SETCW): Likewise.
33527 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33529         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33530         is 32-byte aligned.
33532 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
33534         [BZ #11837]
33535         * iconvdata/gb18030.c: Update tables.
33536         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
33537         characters specially.
33538         (BODY for TO_LOOP): Add encoding of missing ranges.
33540 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
33542         [BZ #13673]
33543         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33544         * sysdeps/mach/hurd/dup3.c: Likewise.
33545         * sysdeps/mach/hurd/readlinkat.c: Likewise.
33546         * sysdeps/powerpc/memmove.c:: Likewise.
33548 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33550         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33551         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33553 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33555         * elf/elf.h (R_X86_64_RELATIVE64): New.
33556         (R_X86_64_NUM): Updated.
33557         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33558         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
33559         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33560         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33561         tst-quad1pie tst-quad2pie
33562         (modules-names): Add tst-quadmod1 tst-quadmod2.
33563         ($(objpfx)tst-quad1): New dependency.
33564         ($(objpfx)tst-quad2): Likewise.
33565         ($(objpfx)tst-quad1pie): Likewise.
33566         ($(objpfx)tst-quad2pie): Likewise.
33567         * sysdeps/x86_64/tst-quad1.c: New file.
33568         * sysdeps/x86_64/tst-quad1pie.c: New file.
33569         * sysdeps/x86_64/tst-quad2.c: Likewise.
33570         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33571         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33572         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33573         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33574         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33576 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33578         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33579         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33580         * streams/stropts.h (t_scalar_t): Define type.
33582         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33583         (_PATH_PRESERVE): Set to "/var/lib".
33584         (_PATH_RWHODIR): Set to "/var/spool/rwho".
33586         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33587         instead of int.
33589         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33590         if __dir_mkfile succeeded.
33592         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33593         checking for _hurd_dtablesize.  Unlock it right after having
33594         finished _hurd_dtable allocation.
33596 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33598         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33599         * sysdeps/mach/hurd/configure: Regenerated.
33600         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33601         special-casing to...
33602         * sysdeps/gnu/configure.in: ... this new file.
33603         * sysdeps/unix/sysv/linux/configure: Regenerated.
33604         * sysdeps/gnu/configure: New generated file.
33606         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33607         for Linux: use nsec instead of usec, as well as:
33608         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33609         members of type struct timespec.
33610         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33611         New macros.
33612         (struct stat64): Likewise.
33613         (_STATBUF_ST_NSEC): New macro.
33614         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33616         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33617         __strtoul_internal rather than strtoul.
33619 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33621         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33622         and reject them.
33624 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33626         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33627         which preserves existing values.
33628         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33630 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33632         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33633         TIMEOUT values.  Return EINVAL for NFDS values either negative or
33634         greater than FD_SETSIZE.
33636 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33638         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33639         allocated, call __vm_protect to finish enabling the existing space, and
33640         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33641         allocate the remainder.
33643 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33645         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33646         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
33648 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33650         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33651         sysdeps/mach/hurd/readlink.c.
33653         * posix/tst-sysconf.c (posix_options): Only use
33654         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33655         _POSIX_SYNCHRONIZED_IO when they are defined
33656         * sysdeps/mach/hurd/bits/posix_opt.h:
33657         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33658         (_XOPEN_REALTIME): Undefine macro.
33659         (_XOPEN_REALTIME_THREADS): Undefine macro.
33660         (_XOPEN_SHM): Undefine macro.
33661         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33662         macro to -1.
33663         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33664         macro to -1.
33665         (_POSIX_ASYNC_IO): Undefine macro.
33666         (_POSIX_PRIORITIZED_IO): Undefine macro.
33667         (_POSIX_SPIN_LOCKS): Define macro to -1.
33669         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33670         SA_NODEFER, SA_RESETHAND.
33671         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33672         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33673         F_DUPFD_CLOEXEC.
33675 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33677         * elf/Makefile (pldd-modules): Define unconditionally.
33679 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33681         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33683 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33685         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33686         Return ENOENT when name is empty.
33687         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33689 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33691         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33693         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33695 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33697         Fix mlock in all cases except non-readable pages.
33698         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33699         instead of VM_PROT_ALL as parameter to __vm_wire function.
33701         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33702         (__mkdir): When path is `/', just fail with EEXIST.
33703         * sysdeps/mach/hurd/mkdirat.c: Likewise.
33705 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33707         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33708         <sys/uio.h> (for writev).
33709         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33710         and <sys/param.h> (for MIN).
33712 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33714         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33715         REQUESTED_TIME.  Properly set the remaining time and return EINTR
33716         if interrupted.
33718 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33720         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33721         Depend on against $(link-rpcuserlibs).
33723 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33725         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33726         (__libc_stack_end): Do not use attribute_relro.
33727         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33728         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33729         to libthread-provided value.
33730         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33731         attribute_relro.
33733 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33735         [BZ #3748]
33736         * bits/libc-lock.h (__libc_once_get): New macro.
33737         * sysdeps/mach/bits/libc-lock.h: Likewise.
33738         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33739         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33740         instead of using implementation details.
33742         * libio/fileops.c: Unconditionally include <kernel-features.h>.
33743         * libio/freopen.c: Likewise.
33744         * libio/freopen64.c: Likewise.
33745         * misc/syslog.c: Likewise.
33746         * nscd/connections.c: Likewise.
33747         * nscd/netgroupcache.c: Likewise.
33748         * sysdeps/posix/getcwd.c: Likewise.
33750 2012-05-10  Roland McGrath  <roland@hack.frob.com>
33752         * math/w_ilogbf.c: Add #include <limits.h>.
33754 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33756         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33757         path instead of returning without unlocking.
33759         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33760         immediate-write ioctls.
33761         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33763 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33765         * sysdeps/mach/hurd/i386/init-first.c (init): Use
33766         __builtin_frame_address instead of making assumptions about the
33767         location of the return address relative to DATA.  Force early load of
33768         the return address.
33769         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33770         __builtin_frame_address.
33772         dup3 for GNU Hurd.
33773         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33774         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
33775         implement dup3 and do some further code clean-ups.
33776         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33777         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33779 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33781         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33783         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33784         HURD_CRITICAL_END around holding _hurd_dtable_lock.
33785         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33786         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33787         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33788         d->port.lock.
33790         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33791         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
33792         when handler == SIG_ERR, not when handler != SIG_ERR.
33794 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33796         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33797         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33798         definitions.
33800         accept4 for GNU Hurd.
33801         * include/sys/socket.h (__libc_accept4): New prototype.
33802         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
33803         to implement __libc_accept4.
33804         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33805         __libc_accept4.
33806         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33808         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33809         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33810         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33811         signal-defines.sym.
33813 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33815         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33817 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33819         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33820         assertion on O_CLOEXEC flag.
33821         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33822         * hurd/intern-fd.c: Likewise.
33823         * hurd/port2fd.c: Likewise.
33825 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33827         [BZ #3906]
33828         * bits/in.h (IPV6_PKTINFO): Define new macro.
33829         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33831 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33833         [BZ #13954]
33834         [BZ #13955]
33835         [BZ #13956]
33836         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33837         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33838         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33839         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33840         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33841         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33842         * math/libm-test.inc (logb_test) : Additional logb tests.
33844 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
33845             Andreas Jaeger  <aj@suse.de>
33847         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33848         * configure: Regenerated.
33849         * config.h.in (LINK_OBSOLETE_RPC): New macro.
33850         * config.make.in (link-obsolete-rpc): New substituted variable.
33851         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33852         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33853         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33854         (shared-only-routines): Don't set it under [link-obsolete-rpc],
33855         so that libc.a contains the symbols.
33856         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33857         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33858         * sunrpc/auth_none.c: Likewise.
33859         * sunrpc/auth_unix.c: Likewise.
33860         * sunrpc/authdes_prot.c: Likewise.
33861         * sunrpc/authuxprot.c: Likewise.
33862         * sunrpc/clnt_gen.c: Likewise.
33863         * sunrpc/clnt_perr.c: Likewise.
33864         * sunrpc/clnt_raw.c: Likewise.
33865         * sunrpc/clnt_simp.c: Likewise.
33866         * sunrpc/clnt_tcp.c: Likewise.
33867         * sunrpc/clnt_udp.c: Likewise.
33868         * sunrpc/clnt_unix.c: Likewise.
33869         * sunrpc/des_crypt.c: Likewise.
33870         * sunrpc/des_soft.c: Likewise.
33871         * sunrpc/get_myaddr.c: Likewise.
33872         * sunrpc/key_call.c: Likewise.
33873         * sunrpc/key_prot.c: Likewise.
33874         * sunrpc/netname.c: Likewise.
33875         * sunrpc/pm_getmaps.c: Likewise.
33876         * sunrpc/pm_getport.c: Likewise.
33877         * sunrpc/pmap_clnt.c: Likewise.
33878         * sunrpc/pmap_prot.c: Likewise.
33879         * sunrpc/pmap_prot2.c: Likewise.
33880         * sunrpc/pmap_rmt.c: Likewise.
33881         * sunrpc/publickey.c: Likewise.
33882         * sunrpc/rpc_cmsg.c: Likewise.
33883         * sunrpc/rpc_common.c: Likewise.
33884         * sunrpc/rpc_dtable.c: Likewise.
33885         * sunrpc/rpc_prot.c: Likewise.
33886         * sunrpc/rpc_thread.c: Likewise.
33887         * sunrpc/rtime.c: Likewise.
33888         * sunrpc/svc.c: Likewise.
33889         * sunrpc/svc_auth.c: Likewise.
33890         * sunrpc/svc_raw.c: Likewise.
33891         * sunrpc/svc_run.c: Likewise.
33892         * sunrpc/svc_tcp.c: Likewise.
33893         * sunrpc/svc_udp.c: Likewise.
33894         * sunrpc/svc_unix.c: Likewise.
33895         * sunrpc/svcauth_des.c: Likewise.
33896         * sunrpc/xcrypt.c: Likewise.
33897         * sunrpc/xdr.c: Likewise.
33898         * sunrpc/xdr_array.c: Likewise.
33899         * sunrpc/xdr_float.c: Likewise.
33900         * sunrpc/xdr_intXX_t.c: Likewise.
33901         * sunrpc/xdr_mem.c: Likewise.
33902         * sunrpc/xdr_rec.c: Likewise.
33903         * sunrpc/xdr_ref.c: Likewise.
33904         * sunrpc/xdr_sizeof.c: Likewise.
33905         * sunrpc/xdr_stdio.c: Likewise.
33907 2012-05-10  Roland McGrath  <roland@hack.frob.com>
33909         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33910         change.  Update copyright years.
33912 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
33914         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33916 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
33917             Joseph Myers  <joseph@codesourcery.com>
33918             Paul Pluzhnikov  <ppluzhnikov@google.com>
33920         [BZ #14012]
33921         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33922         requiring rpcgen.
33923         [cross-compiling] (extra-libs): Likewise.
33924         [cross-compiling] (extra-libs-others): Likewise.
33925         [cross-compiling] (librpcsvc-routines): Likewise.
33926         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33927         [cross-compiling] (omit-deps): Likewise.
33928         (sunrpc-CPPFLAGS): New variable.
33929         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33930         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33931         (cross-rpcgen-objs): New variable.
33932         (extra-objs): Append $(cross-rpcgen-objs).
33933         ($(cross-rpcgen-objs)): New rule.
33934         ($(objpfx)cross-rpcgen): Likewise.
33935         (rpcgen-cmd): Define to use $(built-program-file).  Expand
33936         comment.
33937         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33938         ($(objpfx)x%.stmp): Likewise.
33939         * sunrpc/proto.h [IS_IN_build] (_): Define.
33940         [IS_IN_build] (_libc_intl_domainname): Likewise.
33942 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33944         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33945         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33946         and R_X86_64_TPOFF64.
33948 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
33950         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33951         sysdeps/unix/sysv/syscalls.list.
33952         (stime): Likewise.
33953         (utime): Likewise.
33954         * sysdeps/unix/sysv/syscalls.list: Remove file.
33956 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
33958         [BZ #3440]
33959         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33960         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33961         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33962         (__LC_IDENTIFICATION): Make these macros useful in #if
33963         expressions, as required by C99.
33965 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
33967         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33968         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
33969         after this.
33971 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
33973         * stdlib/longlong.h: Updated from GCC.
33975 2012-05-09  Andreas Jaeger  <aj@suse.de>
33977         * nscd/nscd.c (run_modes): Make named enum, reorder so that
33978         default is first entry.
33979         (run_mode): Set type.
33980         (main): Remove informal message about syslog.
33981         (options): Fix typo.
33983         [BZ #14053]
33984         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33985         to asm.
33986         (lrint): Likewise.
33987         (llrintf): Likewise.
33988         (llrint): Likewise.
33989         (rint): Likewise.
33990         (rintf): Likewise.
33991         (nearbyint): Likewise.
33992         (nearbyintf): Likewise.
33994 2012-05-09  Andreas Jaeger  <aj@suse.de>
33995             Pedro Alves  <palves@redhat.com>
33997         * nscd/nscd.c (run_mode): Use enum.
33998         (main): Cleanup coding style issue.
34000 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
34001             Andreas Jaeger  <aj@suse.de>
34003         * nscd/nscd.c (go_background): Replaced with...
34004         (run_mode): ... this.
34005         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34006         (options): Add -F --foreground.
34007         (main): Implement it.
34008         (parse_opt): Parse it.
34010 2012-05-09  Andreas Jaeger  <aj@suse.de>
34012         [BZ #14083]
34013         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34014         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34015         -Wconversion warning.
34016         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34017         Likewise.
34019 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
34021         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
34022         == 0.
34023         (LC_ALL): Use macro-int-constant.
34024         (LC_COLLATE): Likewise.
34025         (LC_CTYPE): Likewise.
34026         (LC_MESSAGES): Likewise.
34027         (LC_MONETARY): Likewise.
34028         (LC_NUMERIC): Likewise.
34029         (LC_TIME): Likewise.
34030         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34031         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34032         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34033         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34034         Specify type.
34035         [C99-based standards] (float_t): Expect type.
34036         [C99-based standards] (double_t): Expect type.
34037         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
34038         type.
34039         [C99-based standards] (HUGE_VALL): Likewise.
34040         [C99-based standards] (INFINITY): Likewise.
34041         [C99-based standards] (NAN): Likewise.
34042         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34043         [C99-based standards] (FP_NAN): Likewise.
34044         [C99-based standards] (FP_NORMAL): Likewise.
34045         [C99-based standards] (FP_SUBNORMAL): Likewise.
34046         [C99-based standards] (FP_ZERO): Likewise.
34047         [C99-based standards] (FP_FAST_FMA): Use
34048         optional-macro-int-constant.  Specify type.  Require == 1.
34049         [C99-based standards] (FP_FAST_FMAF): Likewise.
34050         [C99-based standards] (FP_FAST_FMAL): Likewise.
34051         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34052         [C99-based standards] (FP_ILOGBNAN): Likewise.
34053         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34054         Specify type.
34055         [C99-based standards] (MATH_ERREXCEPT): Likewise.
34056         [C99-based standards] (math_errhandling): Specify type.
34057         [ISO99 || ISO11] (signgam): Do not allow.
34058         [non-C99-based standards] (copysignf): Do not allow.
34059         [non-C99-based standards] (exp2f): Likewise.
34060         [non-C99-based standards] (log2f): Likewise.
34061         [non-C99-based standards] (modff): Allow.
34062         [non-C99-based standards] (erff): Do not allow.
34063         [non-C99-based standards] (erfcf): Likewise.
34064         [non-C99-based standards] (gammaf): Likewise.
34065         [non-C99-based standards] (hypotf): Likewise.
34066         [non-C99-based standards] (j0f): Likewise.
34067         [non-C99-based standards] (j1f): Likewise.
34068         [non-C99-based standards] (jnf): Likewise.
34069         [non-C99-based standards] (lgammaf): Likewise.
34070         [non-C99-based standards] (tgammaf): Likewise.
34071         [non-C99-based standards] (y0f): Likewise.
34072         [non-C99-based standards] (y1f): Likewise.
34073         [non-C99-based standards] (ynf): Likewise.
34074         [non-C99-based standards] (isnanf): Likewise.
34075         [non-C99-based standards] (acoshf): Likewise.
34076         [non-C99-based standards] (asinhf): Likewise.
34077         [non-C99-based standards] (atanhf): Likewise.
34078         [non-C99-based standards] (cbrtf): Likewise.
34079         [non-C99-based standards] (expm1f): Likewise.
34080         [non-C99-based standards] (ilogbf): Likewise.
34081         [non-C99-based standards] (log1pf): Likewise.
34082         [non-C99-based standards] (logbf): Likewise.
34083         [non-C99-based standards] (nextafterf): Likewise.
34084         [non-C99-based standards] (remainderf): Likewise.
34085         [non-C99-based standards] (rintf): Likewise.
34086         [non-C99-based standards] (scalbf): Likewise.
34087         [non-C99-based standards] (copysignl): Likewise.
34088         [non-C99-based standards] (exp2l): Likewise.
34089         [non-C99-based standards] (log2l): Likewise.
34090         [non-C99-based standards] (modfl): Allow.
34091         [non-C99-based standards] (erfl): Do not allow.
34092         [non-C99-based standards] (erfcl): Likewise.
34093         [non-C99-based standards] (gammal): Likewise.
34094         [non-C99-based standards] (hypotl): Likewise.
34095         [non-C99-based standards] (j0l): Likewise.
34096         [non-C99-based standards] (j1l): Likewise.
34097         [non-C99-based standards] (jnl): Likewise.
34098         [non-C99-based standards] (lgammal): Likewise.
34099         [non-C99-based standards] (tgammal): Likewise.
34100         [non-C99-based standards] (y0l): Likewise.
34101         [non-C99-based standards] (y1l): Likewise.
34102         [non-C99-based standards] (ynl): Likewise.
34103         [non-C99-based standards] (isnanl): Likewise.
34104         [non-C99-based standards] (acoshl): Likewise.
34105         [non-C99-based standards] (asinhl): Likewise.
34106         [non-C99-based standards] (atanhl): Likewise.
34107         [non-C99-based standards] (cbrtl): Likewise.
34108         [non-C99-based standards] (expm1l): Likewise.
34109         [non-C99-based standards] (ilogbl): Likewise.
34110         [non-C99-based standards] (log1pl): Likewise.
34111         [non-C99-based standards] (logbl): Likewise.
34112         [non-C99-based standards] (nextafterl): Likewise.
34113         [non-C99-based standards] (remainderl): Likewise.
34114         [non-C99-based standards] (rintl): Likewise.
34115         [non-C99-based standards] (scalbl): Likewise.
34116         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34117         [non-C99-based standards] (FP_*): Do not allow.
34118         [C99-based standards] (FP_*): Change to
34119         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34120         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34121         allow.
34122         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34123         (SIG_ERR): Likewise.
34124         [X/Open-based standards] (SIG_HOLD): Likewise.
34125         (SIG_IGN): Likewise.
34126         (SIGABRT): Use macro-int-constant.  Specify type.  Require
34127         positive value.
34128         (SIGFPE): Likewise.
34129         (SIGILL): Likewise.
34130         (SIGINT): Likewise.
34131         (SIGSEGV): Likewise.
34132         (SIGTER): Likewise.
34133         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34134         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34135         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34136         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34137         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34138         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34139         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34140         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34141         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34142         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34143         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34144         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34145         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34146         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34147         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34148         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34149         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34150         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34151         [X/Open-based standards] (SIGTRAP): Likewise.
34152         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34153         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34154         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34155         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34156         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34157         allow.
34159 2012-05-08  Ian Wienand  <ianw@vmware.com>
34161         [BZ #14080]
34162         * time/tzset.c (__tzset_parse_tz): Update default rules for
34163         daylight time changes in the Energy Policy Act of 2005.
34165 2012-05-09  Andreas Jaeger  <aj@suse.de>
34167         [BZ #13983]
34168         * elf/ldconfig.c (parse_conf): Change string to make clear that
34169         ldconfig only issued a warning if ld.so.conf does not exist.
34171 2012-05-08  David S. Miller  <davem@davemloft.net>
34173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34174         movxtod instead of popping the value on the stack.
34176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34178 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
34180         * config.h.in: Add HAVE_ARM_PCS_VFP.
34182 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
34184         [BZ #13979]
34185         * include/features.h: Warn if user requests __FORTIFY_SOURCE
34186         checking but the checks are disabled for any reason.
34188 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
34190         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34191         and ELF64_R_TYPE with ELFW(R_TYPE).
34193 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
34195         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34196         (ulimit): Likewise.
34198         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34199         (settimeofday): Likewise.
34201 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
34203         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
34204         a struct th_u2 inside the union, and move tu_block/tu_code into
34205         a new th_u3 union of tu_block/tu_code inside of that.  Move
34206         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
34207         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
34208         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34209         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34210         (th_stuff): Change to th_u1.tu_stuff.
34211         (th_data): Define.
34212         (th_msg): Change to th_u1.th_u2.tu_data.
34214 2012-05-07  David S. Miller  <davem@davemloft.net>
34216         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34218         [BZ #14074]
34219         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34220         (SETUP_PIC_REG): Use it.
34221         (SETUP_PIC_REG_LEAF): Use it.
34223 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
34225         [BZ #13885]
34226         [BZ #13923]
34227         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34228         USE_AS_EXPM1L.
34229         (EXPL_FINITE): Likewise.
34230         (FLDLOG): Likewise.
34231         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34232         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34233         e_expl.S.
34234         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34235         USE_AS_EXPM1L.
34236         (EXPL_FINITE): Likewise.
34237         (FLDLOG): Likewise.
34238         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34239         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34240         e_expl.S.
34241         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
34242         test of -max_value argument for long double.
34243         * sysdeps/i386/fpu/libm-test-ulps: Update.
34244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34246 2012-05-06  David S. Miller  <davem@davemloft.net>
34248         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34249         quad soft-float symbols whose references which are compiler
34250         generated.
34251         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34253 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
34255         [BZ #13884]
34256         [BZ #13914]
34257         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34258         USE_AS_EXP10L.
34259         (EXPL_FINITE): Likewise.
34260         (FLDLOG): Likewise.
34261         (c0): Likewise.
34262         (c1): Likewise.
34263         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34264         Adjust comments for base varying.
34265         (__expl_finite): Change alias to EXPL_FINITE.
34266         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34267         e_expl.S.
34268         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34269         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34270         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34271         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34272         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34273         USE_AS_EXP10L.
34274         (EXPL_FINITE): Likewise.
34275         (FLDLOG): Likewise.
34276         (c0): Likewise.
34277         (c1): Likewise.
34278         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34279         Adjust comments for base varying.
34280         (__expl_finite): Change alias to EXPL_FINITE.
34281         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
34282         tests for bugs.
34283         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34285         [BZ #14064]
34286         * math/libm-test.inc (check_float_internal): Correct ulp
34287         calculation for subnormal expected results.
34289 2012-05-06  Andreas Jaeger  <aj@suse.de>
34291         * Makeconfig (+math-flags): New, set to -frounding-math.
34292         (+cflags): Add +math-flags so that all of glibc gets compiled with
34293         it.
34295         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34297 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
34299         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34300         Disable one test.
34302         [BZ #13787]
34303         [BZ #13922]
34304         [BZ #14036]
34305         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34306         (__ieee754_expl): Allow for and saturate large arguments.
34307         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34308         (u_threshold): Likewise.
34309         (__exp): Call __ieee754_exp before checking for overflow and
34310         underflow.
34311         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34312         (u_threshold): Likewise.
34313         (__expf): Call __ieee754_expf before checking for overflow and
34314         underflow.
34315         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34316         (u_threshold): Likewise.
34317         (__expl): Call __ieee754_expl before checking for overflow and
34318         underflow.
34319         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34320         (__ieee754_expl): Allow for and saturate large arguments.
34321         * math/libm-test.inc (exp_test): Add another test.  Do not allow
34322         missing overflow exception on overflow.
34323         (expm1_test): Do not allow missing overflow exception on overflow.
34325         * sysdeps/i386/fpu/e_expl.c: Move to ...
34326         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
34327         rather than using inline asm.
34328         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34329         * sysdeps/x86_64/fpu/e_expl.S: Copy from
34330         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34332         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34333         (nice): Likewise.
34334         (poll): Likewise.
34335         (signal): Likewise.
34336         (time): Likewise.
34337         (times): Likewise.
34339 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34341         * sysdeps/unix/syscalls.list (adjtime): Add entry from
34342         sysdeps/unix/common/syscalls.list.
34343         (fchmod): Likewise.
34344         (fchown): Likewise.
34345         (ftruncate): Likewise.
34346         (getrusage): Likewise.
34347         (gettimeofday): Likewise.
34348         (setpgid): Likewise.
34349         (setregid): Likewise.
34350         (setreuid): Likewise.
34351         (sigaction): Likewise.
34352         (truncate): Likewise.
34353         (vhangup): Likewise.
34354         * sysdeps/unix/common/syscalls.list: Remove file.
34355         * sysdeps/unix/bsd/Implies: Don't include unix/common.
34356         * sysdeps/unix/sysv/linux/Implies: Likewise.
34358 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
34360         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34362         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34363         Moved to ...
34364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34365         Here.
34366         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34367         to ...
34368         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34369         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34370         to ...
34371         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34372         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34373         to ...
34374         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34375         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34376         to ...
34377         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34378         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34379         to ...
34380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34381         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34382         to ...
34383         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34384         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34385         to ...
34386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34387         Here.
34388         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34389         to ...
34390         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34391         Here.
34392         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34393         to ...
34394         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34395         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34396         Moved to ...
34397         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34398         Here.
34399         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34400         to ...
34401         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34403 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34405         * sysdeps/unix/common/bits/dirent.h: Remove file.
34406         * sysdeps/unix/common/bits/fcntl.h: Likewise.
34408         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34409         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34410         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34411         * sysdeps/unix/bsd/isatty.c: Likewise.
34412         * sysdeps/unix/bsd/tcdrain.c: Likewise.
34413         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34414         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34416 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34418         [BZ #13563]
34419         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34420         long double comparison inaccuracies.
34421         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34424 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
34426         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34427         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34429 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34431         [BZ #14049]
34432         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34433         nonzero digits before rounding a hex value.
34434         * stdlib/tst-strtod.c (tests): Add another test.
34436 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34438         * sysdeps/s390/fpu/libm-test-ulps: Update.
34440 2012-05-03  Andreas Jaeger  <aj@suse.de>
34442         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34443         does not get optimized out.
34444         (malloc_opt_barrier): New.
34446 2012-05-03  Andreas Jaeger  <aj@suse.de>
34447             Roland McGrath  <roland@hack.frob.com>
34449         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34450         intermediate file deletion.
34451         (generated): Add .symlist files.
34453 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
34455         [BZ #13775]
34456         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34457         Redirect under this condition.
34458         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34459         [__USE_GNU] (__dprintf_chk): Not under this condition.
34460         [__USE_GNU] (__vdprintf_chk): Likewise.
34461         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34462         under this condition.
34463         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34464         [__USE_XOPEN2K8] (dprintf): Define under this condition.
34465         [__USE_XOPEN2K8] (vdprintf): Likewise.
34466         [__USE_GNU] (__dprintf_chk): Not under this condition.
34467         [__USE_GNU] (__vdprintf_chk): Likewise.
34468         [__USE_GNU] (dprintf): Likewise.
34469         [__USE_GNU] (vdprintf): Likewise.
34471 2012-05-03  Roland McGrath  <roland@hack.frob.com>
34473         * elf/Makefile (common-generated): Set this instead of generated for
34474         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
34475         $(all-built-dso)-derived lists.
34477 2012-05-03  Andreas Jaeger  <aj@suse.de>
34479         * sysdeps/i386/fpu/libm-test-ulps: Update.
34481         * FAQ: Removed.
34482         * FAQ.in: Likewise.
34483         * scripts/gen-FAQ.pl: Likewise.
34484         * manual/install.texi (Installation): Point to online location of
34485         FAQ.
34486         * Makefile (files-for-dist): Remove FAQ.
34487         (FAQ): Remove.
34489 2012-05-02  Allan McRae  <allan@archlinux.org>
34491         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34492         (LDFLAGS-reldepmod5.so): Likewise.
34493         (LDFLAGS-reldep6mod1.so): Likewise.
34494         (LDFLAGS-reldep6mod4.so): Likewise.
34495         (LDFLAGS-reldep8mod3.so): Likewise.
34496         (LDFLAGS-unload4mod1.so): Likewise.
34497         (LDFLAGS-unload4mod2.so): Likewise.
34498         (LDFLAGS-tst-initorder): Likewise.
34499         (LDFLAGS-tst-initordera2.so): Likewise.
34500         (LDFLAGS-tst-initordera3.so): Likewise.
34501         (LDFLAGS-tst-initordera4.so): Likewise.
34502         (LDFLAGS-tst-initorderb2.so): Likewise.
34503         (LDFLAGS-noload): Likewise.
34504         (LDFLAGS-next): Likewise.
34505         (LDFLAGS-order2mod1.so): Likewise.
34506         (LDFLAGS-order2mod2.so): Likewise.
34507         (LDFLAGS-tst-initorder2): Likewise.
34508         (LDFLAGS-tst-initorder2a.so): Likewise.
34509         (LDFLAGS-tst-initorder2b.so): Likewise.
34510         (LDFLAGS-tst-initorder2c.so): Likewise.
34511         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34513 2012-05-02  David S. Miller  <davem@davemloft.net>
34515         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34517 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
34519         [BZ #14055]
34520         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34522 2012-05-02  Andreas Jaeger  <aj@suse.de>
34524         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34525         since we manipulate rounding mode.
34526         (CPPFLAGS-test-idouble.c): Likewise.
34527         (CPPFLAGS-test-ifloat.c): Likewise.
34528         (CFLAGS-test-ldouble.c): Likewise.
34529         (CFLAGS-test-double.c): Likewise.
34530         (CFLAGS-test-float.c): Likewise.
34531         (CFLAGS-test-misc.c): Likewise.
34532         (CFLAGS-test-test-fenv.c): Likewise.
34534 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34536         [BZ #2550]
34537         [BZ #2570]
34538         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34539         comparisons to determine direction to adjust input.
34541 2012-05-01  Roland McGrath  <roland@hack.frob.com>
34543         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34544         output to the target.
34546         * scripts/localplt.awk: New file.
34547         * elf/Makefile ($(objpfx)check-localplt): Target removed.
34548         (check-localplt-CFLAGS): Variable removed.
34549         ($(all-built-dso:=.jmprel)): New static pattern rule.
34550         (generated): Add those targets.
34551         (localplt-built-dso): New variable.
34552         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34554         * elf/check-localplt.c: File removed.
34556         * scripts/check-execstack.awk: New file.
34557         * elf/Makefile ($(objpfx)check-execstack): Target removed.
34558         (check-execstack-CFLAGS): Variable removed.
34559         ($(objpfx)check-execstack.h): Target removed.
34560         ($(objpfx)execstack-default): New target.
34561         (generated): Add that instead of check-execstack.h.
34562         ($(all-built-dso:=.phdr)): New static pattern rule.
34563         (generated): Add those targets.
34564         * elf/check-execstack.c: File removed.
34566         * scripts/check-textrel.awk: New file.
34567         * elf/Makefile ($(objpfx)check-textrel): Target removed.
34568         (check-textrel-CFLAGS): Variable removed.
34569         (all-built-dso): Use := to define.o
34570         ($(all-built-dso:=.dyn)): New static pattern rule.
34571         (generated): Add those targets.
34572         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34573         * config.make.in (READELF): New substituted variable.
34574         * elf/check-textrel.c: File removed.
34576 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
34578         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34579         allow.
34580         * conform/data/ctype.h-data [C99-based standards] (isblank):
34581         Expect function.
34582         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34583         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34584         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34585         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34586         Specify type.  Require positive value.
34587         (EILSEQ): Likewise.
34588         (ERANGE): Likewise.
34589         [ISO || POSIX] (EILSEQ): Do not expect.
34590         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34591         Specify type.  Require positive value.
34592         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34593         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34594         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34595         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34596         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34597         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34598         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34599         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34600         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34601         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34602         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34603         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34604         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34605         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34606         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34607         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34608         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34609         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34610         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34611         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34612         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34613         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34614         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34615         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34616         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34617         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34618         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34619         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34620         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34621         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34622         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34623         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34624         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34625         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34626         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34627         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34628         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34629         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34630         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34631         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34632         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34633         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34634         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34635         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34636         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34637         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34638         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34639         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34640         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34641         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34642         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34643         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34644         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34645         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34646         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34647         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34648         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34649         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34650         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34651         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34652         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34653         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34654         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34655         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34656         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34657         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34658         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34659         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34660         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34661         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34662         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34663         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34664         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34665         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34666         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34667         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34668         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34669         Require >= 2.
34670         (FLT_ROUNDS): Expect as macro, not constant.
34671         (FLT_MANT_DIG): Use macro-int-constant.
34672         (DBL_MANT_DIG): Likewise.
34673         (LDBL_MANT_DIG): Likewise.
34674         (FLT_DIG): Likewise.
34675         (DBL_DIG): Likewise.
34676         (LDBL_DIG): Likewise.
34677         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
34678         (DBL_MIN_EXP): Likewise.
34679         (LDBL_MIN_EXP): Likewise.
34680         (FLT_MAX_EXP): Use macro-int-constant.
34681         (DBL_MAX_EXP): Likewise.
34682         (LDBL_MAX_EXP): Likewise.
34683         (FLT_MAX_10_EXP): Likewise.
34684         (DBL_MAX_10_EXP): Likewise.
34685         (LDBL_MAX_10_EXP): Likewise.
34686         (FLT_MAX): Use macro-constant.
34687         (DBL_MAX): Likewise.
34688         (LDBL_MAX): Likewise.
34689         (FLT_EPSILON): Use macro-constant.  Give upper bound.
34690         (DBL_EPSILON): Likewise.
34691         (LDBL_EPSILON): Likewise.
34692         (FLT_MIN): Likewise.
34693         (DBL_MIN): Likewise.
34694         (LDBL_MIN): Likewise.
34695         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34696         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34697         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34698         [ISO11] (FLT_HAS_SUBNORM): Likewise.
34699         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34700         [ISO11] (DBL_DECIMAL_DIG): Likewise.
34701         [ISO11] (FLT_DECIMAL_DIG): Likewise.
34702         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34703         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34704         [ISO11] (FLT_TRUE_MIN): Likewise.
34705         [ISO11] (LDBL_TRUE_MIN): Likewise.
34706         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34707         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34708         (SCHAR_MIN): Use macro-int-constant.  Specify type.
34709         (SCHAR_MAX): Likewise.
34710         (UCHAR_MAX): Likewise.
34711         (CHAR_MIN): Likewise.
34712         (CHAR_MAX): Likewise.
34713         (MB_LEN_MAX): Use macro-int-constant.
34714         (SHRT_MIN): Use macro-int-constant.  Specify type.
34715         (SHRT_MAX): Likewise.
34716         (USHRT_MAX): Likewise.
34717         (INT_MAX): Likewise.
34718         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
34719         bound negative.
34720         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34721         bound with "U".
34722         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34723         bound with "L".
34724         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
34725         bound negative.  Suffix upper bound with "L".
34726         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34727         bound with "UL".
34728         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34729         Specify type.
34730         [C99-based standards] (LLONG_MAX): Likewise.
34731         [C99-based standards] (ULLONG_MAX): Likewise.
34732         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
34733         == 0.
34734         [ISO11] (max_align_t): Require type.
34735         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34737         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34738         from $CFLAGS, without defining away __attribute__ calls.
34739         (checknamespace): Use $CFLAGS_namespace.
34741         * conform/conformtest.pl (@keywords): Only include C99 keywords
34742         for standards based on C99 or C11.
34744         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34745         Disable tests.
34746         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34747         UNIX98]: Likewise.
34749         * conform/conformtest.pl: Handle "macro-int-constant" and test for
34750         usability of symbols in #if.
34752         * conform/conformtest.pl: If macro or constant types start
34753         "promoted:", expect the symbol to be of the following type
34754         promoted by the integer promotions.
34756         * conform/conformtest.pl: Parse all "constant" and "macro" lines
34757         in one place.  Also handle "macro-constant".
34759         * conform/conformtest.pl: Only accept expected macro values with
34760         "==".  Parse all "macro" lines in one place.
34761         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34763         * conform/conformtest.pl: Handle braced types on "constant" lines
34764         instead of handling "typed-constant".
34765         * conform/data/signal.h-data: Use "constant" instead of
34766         "typed-constant".
34768         * conform/conformtest.pl: Handle "optional-" at start of lines in
34769         one place rather than duplicating several cases.  Handle each
34770         format of "macro" line with initial "optional-".
34772         * conform/conformtest.pl: Only accept expected constant or
34773         optional-constant values with "==".  Parse all "constant" lines in
34774         one place.  Parse all "optional-constant" lines in one place.
34775         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34776         * conform/data/fmtmsg.h-data: Likewise.
34777         * conform/data/netinet/in.h-data: Likewise.
34778         * conform/data/tar.h-data: Likewise.
34779         * conform/data/limits.h-data: Use "==" form on "constant" and
34780         "optional-constant" lines.
34782         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34783         Use -std=c99 for XOPEN2K.
34784         (@knownproblems): Remove.
34785         (newtoken): Don't check %isknown.
34787         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34788         Do not expect macro.
34789         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34790         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34791         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34792         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34793         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34794         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34795         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34796         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34797         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34798         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34799         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34800         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34801         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34802         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34803         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34804         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34805         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34806         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34807         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34808         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34809         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34810         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34811         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34812         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34813         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34814         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34815         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34816         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34817         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34818         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34819         [XPG3] (acosh): Likewise.
34820         [XPG3] (asinh): Likewise.
34821         [XPG3] (atanh): Likewise.
34822         [XPG3] (cbrt): Likewise.
34823         [XPG3] (expm1): Likewise.
34824         [XPG3] (ilogb): Likewise.
34825         [XPG3] (log1p): Likewise.
34826         [XPG3] (logb): Likewise.
34827         [XPG3] (nextafter): Likewise.
34828         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34829         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34830         [XPG3] (remainder): Likewise.
34831         [XPG3] (rint): Likewise.
34832         [XPG3 || XPG4 || UNIX98] (round): Likewise.
34833         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34834         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34835         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34836         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34837         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34838         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34839         [UNIX98 || XOPEN2K] (scalb): Expect.
34840         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34841         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34842         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34843         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34844         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34845         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34846         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34847         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34848         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34849         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34850         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34851         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34852         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34853         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34854         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34855         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34856         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34857         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34858         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34859         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34860         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34861         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34862         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34863         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34864         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34865         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34866         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34867         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34868         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34869         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34870         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34871         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34872         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34873         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34874         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34875         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34876         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34877         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34878         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34879         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34880         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34881         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34882         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34883         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34884         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34885         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34886         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34887         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34888         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34889         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34890         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34891         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34892         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34893         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34894         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34895         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34896         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34897         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34898         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34899         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34900         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34901         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34902         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34903         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34904         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34905         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34906         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34907         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34908         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34909         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34910         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34911         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34912         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34913         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34914         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34915         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34916         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34917         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34918         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34919         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34920         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34921         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34922         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34923         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34924         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34925         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34926         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34927         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34928         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34929         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34930         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34931         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34932         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34933         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34934         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34935         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34936         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34937         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34938         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34939         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34940         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34941         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34942         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34943         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34944         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34945         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34946         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34947         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34948         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34949         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34950         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34951         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34952         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34953         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34954         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34955         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34956         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34957         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34958         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34959         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34960         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34961         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34962         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34963         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34964         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34965         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34966         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34967         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34968         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34969         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34970         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34971         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34972         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34973         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34974         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34975         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34976         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34978         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34979         _XOPEN_SOURCE_EXTENDED for XPG4.
34981         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34983         * Makeconfig (localtime): Remove variable.
34984         (inst_localtime-file): Likewise.
34986 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34989         Update.
34990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34991         Update.
34992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34993         Update.
34994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34995         Update.
34996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34997         Update.
34998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34999         Update.
35000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35001         Update.
35002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35003         Update.
35004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35005         Update.
35007 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35009         [BZ #2550]
35010         [BZ #2570]
35011         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35012         comparisons to determine direction to adjust input.
35013         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35014         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35015         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35016         Likewise.
35017         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35018         Likewise.
35019         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35020         Likewise.
35021         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35022         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35023         Likewise.
35024         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35025         Likewise.
35026         * math/libm-test.inc (nexttoward_test): Add more tests.
35028 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35030         [BZ #14040]
35031         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35032         in version GLIBC_2.1, not GLIBC_2.0.
35033         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35034         Likewise.
35036 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
35038         [BZ #13942]
35039         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35040         (1 - x) * (1 + x).
35041         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35042         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35043         * math/libm-test.inc (acos_test): Add more tests.
35044         (asin_test): Likewise.
35045         * sysdeps/i386/fpu/libm-test-ulps: Update.
35046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35048         [BZ #14034]
35049         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35050         of square root.
35051         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35052         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35053         * math/libm-test.inc (acos_test_tonearest): New function.
35054         (acos_test_towardzero): Likewise.
35055         (acos_test_downward): Likewise.
35056         (acos_test_upward): Likewise.
35057         (asin_test_tonearest): Likewise.
35058         (asin_test_towardzero): Likewise.
35059         (asin_test_downward): Likewise.
35060         (asin_test_upward): Likewise.
35061         (main): Call the new functions.
35062         * sysdeps/i386/fpu/libm-test-ulps: Update.
35063         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35065         [BZ #13884]
35066         [BZ #13924]
35067         * math/e_exp10.c: Include <float.h>.
35068         (__ieee754_exp10): Handle underflow here rather than multiplying
35069         large negative argument by M_LN10.
35070         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35071         of __ieee754_expf.
35072         * math/e_exp10l.c: Include <float.h>.
35073         (__ieee754_exp10l): Handle underflow here rather than multiplying
35074         large negative argument by M_LN10l.
35075         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
35076         spurious overflow exception on underflow.
35078 2012-04-29  Marek Polacek  <polacek@redhat.com>
35080         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35081         (__fortify_function): New macro.
35082         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35083         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35084         __extern_always_inline.
35085         * libio/bits/stdio2.h: Likewise.
35086         * libio/bits/stdio.h: Likewise.
35087         * string/string.h: Likewise.
35088         * string/bits/string3.h: Likewise.
35089         * include/stdio.h: Likewise.
35090         * stdlib/bits/stdlib.h: Likewise.
35091         * stdlib/stdlib.h: Likewise.
35092         * rt/bits/mqueue2.h: Likewise.
35093         * rt/mqueue.h: Likewise.
35094         * posix/bits/unistd.h: Likewise.
35095         * posix/unistd.h: Likewise.
35096         * io/bits/poll2.h: Likewise.
35097         * io/bits/fcntl2.h: Likewise.
35098         * io/fcntl.h: Likewise.
35099         * io/sys/poll.h: Likewise.
35100         * misc/bits/syslog.h: Likewise.
35101         * misc/bits/syslog-ldbl.h: Likewise.
35102         * misc/sys/syslog.h: Likewise.
35103         * socket/bits/socket2.h: Likewise.
35104         * socket/sys/socket.h: Likewise.
35105         * debug/tst-chk1.c: Likewise.
35106         * wcsmbs/bits/wchar2.h: Likewise.
35107         * wcsmbs/bits/wchar-ldbl.h: Likewise.
35108         * wcsmbs/wchar.h: Likewise.
35110 2012-04-29  Andreas Jaeger  <aj@suse.de>
35112         * Makerules (tests): Remove enable-check-abi protection.
35113         (check-abi-warn): Remove.
35114         (check-abi-%): Remove check-abi-warn usage.
35116         * configure.in: Remove check-abi configure option.
35117         * configure: Regenerated.
35118         * config.make.in (enable-check-abi): Remove.
35120 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
35122         [BZ #14033]
35123         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35124         double functions to double *_finite functions.
35126         [BZ #13941]
35127         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35128         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35129         LDBL_MIN_EXP.
35130         * stdio-common/Makefile (tests): Add tst-sprintf3.
35131         * stdio-common/tst-sprintf3.c: New file.
35133         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35134         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35136 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35138         * conform/conformtest.pl: Remove duplicate typed-constant
35139         handling.
35141 2012-04-28  David S. Miller  <davem@davemloft.net>
35143         * Makerules (%.abilist): Add vpath on sysdep_dirs.
35144         (check-abi-%): Remove AWK script prerequisite and explicit
35145         abilist directory.
35146         (check-abi): Rewrite to just diff the symlist with the abilist.
35147         (config-tls, config-abi-config): Delete, no longer used.
35148         (update-abi-%): Remove AWK script and explicit abilist directory.
35149         (update-abi): Rewrite to simply compare and conditionally copy the
35150         symlist and the sysdep abilist file.  Remove update-abi-config
35151         checks.
35152         * abilist/ld.abilist: Remove.
35153         * abilist/libBrokenLocale.abilist: Remove.
35154         * abilist/libanl.abilist: Remove.
35155         * abilist/libcrypt.abilist: Remove.
35156         * abilist/libdl.abilist: Remove.
35157         * abilist/librt.abilist: Remove.
35158         * abilist/libthread_db.abilist: Remove.
35159         * abilist/libutil.abilist: Remove.
35160         * scripts/extract-abilist.awk: Remove.
35161         * scripts/merge-abilist.awk: Remove.
35162         * sysdeps/generic/libcidn.abilist: New file.
35163         * sysdeps/generic/libnss_compat.abilist: New file.
35164         * sysdeps/generic/libnss_db.abilist: New file.
35165         * sysdeps/generic/libnss_dns.abilist: New file.
35166         * sysdeps/generic/libnss_files.abilist: New file.
35167         * sysdeps/generic/libnss_hesiod.abilist: New file.
35168         * sysdeps/generic/libnss_nis.abilist: New file.
35169         * sysdeps/generic/libnss_nisplus.abilist: New file.
35170         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35171         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35172         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35173         file.
35174         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35175         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35176         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35177         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35178         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35179         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35180         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35181         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35182         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35183         file.
35184         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35185         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35186         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35187         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35188         file.
35189         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35190         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35191         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35192         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35193         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35194         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35195         file.
35196         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35197         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35198         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35199         file.
35200         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35201         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35202         New file.
35203         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35204         New file.
35205         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35206         New file.
35207         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35208         New file.
35209         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35210         New file.
35211         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35212         New file.
35213         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35214         New file.
35215         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35216         New file.
35217         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35218         New file.
35219         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35220         New file.
35221         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35222         New file.
35223         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35224         New file.
35225         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35226         New file.
35227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35228         file.
35229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35230         New file.
35231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35232         New file.
35233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35234         file.
35235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35236         New file.
35237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35238         New file.
35239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35240         file.
35241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35242         New file.
35243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35244         New file.
35245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35246         New file.
35247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35248         New file.
35249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35250         New file.
35251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35252         New file.
35253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35255         file.
35256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35257         New file.
35258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35259         file.
35260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35261         file.
35262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35263         file.
35264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35265         file.
35266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35267         file.
35268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35269         New file.
35270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35271         file.
35272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35273         file.
35274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35275         New file.
35276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35277         file.
35278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35280         file.
35281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35282         New file.
35283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35284         file.
35285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35286         file.
35287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35288         file.
35289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35290         file.
35291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35292         file.
35293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35294         New file.
35295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35296         file.
35297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35298         file.
35299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35300         New file.
35301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35302         file.
35303         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35304         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35305         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35306         file.
35307         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35308         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35309         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35310         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35311         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35312         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35313         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35314         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35315         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35316         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35317         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35318         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35319         file.
35320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35321         New file.
35322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35323         file.
35324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35325         file.
35326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35327         file.
35328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35329         file.
35330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35331         file.
35332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35333         New file.
35334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35335         New file.
35336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35337         file.
35338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35339         New file.
35340         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35341         file.
35342         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35343         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35344         file.
35345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35346         New file.
35347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35348         file.
35349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35350         file.
35351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35352         file.
35353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35354         file.
35355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35356         file.
35357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35358         New file.
35359         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35360         New file.
35361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35362         file.
35363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35364         New file.
35365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35366         file.
35368 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35370         * conform/conformtest.pl: Fix typo in handling typed-constant from
35371         allow-header.
35373 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35375         * README: Cut down references to pre-2.6 Linux kernels and
35376         Linuxthreads.  Update lists of configurations in libc and ports
35377         and sort alphabetically.  Say "or newer" with Linux kernel version
35378         requirements.
35380         * config.h.in [IS_IN_build]: Allow compiling without optimization.
35382 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35384         [BZ #887]
35385         * math/libm-test.inc (logb_test_downward): New test to expose
35386         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35387         rounding mode.
35389 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35391         [BZ #14027]
35392         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35393         to be done.
35394         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35395         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35397 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
35399         * sysdeps/unix/i386/brk.S: Remove file.
35400         * sysdeps/unix/i386/dl-brk.S: Likewise.
35401         * sysdeps/unix/i386/pipe.S: Likewise.
35402         * sysdeps/unix/i386/sigreturn.S: Likewise.
35403         * sysdeps/unix/i386/syscall.S: Likewise.
35404         * sysdeps/unix/i386/vfork.S: Likewise.
35405         * sysdeps/unix/i386/wait.S: Likewise.
35407         * sysdeps/unix/common/tcsendbrk.c: Move to ...
35408         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35410         * configure.in (arm*-none*): Do not allow without
35411         --enable-hacker-mode.
35412         (netbsd*): Remove case setting base_os.
35413         (386bsd*): Likewise.
35414         (freebsd*): Likewise.
35415         (bsdi*): Likewise.
35416         (osf*): Likewise.
35417         (sunos*): Likewise.
35418         (ultrix*): Likewise.
35419         (newsos*): Likewise.
35420         (dynix*): Likewise.
35421         (*bsd*): Likewise.
35422         (sysv*): Likewise.
35423         (isc*): Likewise.
35424         (esix*): Likewise.
35425         (sco*): Likewise.
35426         (minix*): Likewise.
35427         (irix4*): Likewise.
35428         (irix6*): Likewise.
35429         (solaris[2-9]*): Likewise.
35430         (none): Likewise.
35431         * configure: Regenerated.
35433 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35435         [BZ #11521]
35436         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35437         overflow or cancellation in calculating denominator.
35438         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35439         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35440         down expression to avoid unexpected rounding in newer GCCs.
35441         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35443 2012-04-26  David S. Miller  <davem@davemloft.net>
35445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35446         long-double compat symbols.
35447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35461 2012-04-25  David S. Miller  <davem@davemloft.net>
35463         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35464         HWCAP_* values only after the memory barriers have been defined.
35465         (atomic_full_barrier): Define.
35466         (atomic_read_barrier): Define.
35467         (atomic_write_barrier): Define.
35469 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35471         * shlib-versions: Add libgcc_s version information.
35472         * sysdeps/generic/libgcc_s.h: Remove.
35473         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35474         libgcc_s.h.
35475         * sysdeps/gnu/unwind-resume.c: Likewise.
35476         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35478 2012-04-25  David S. Miller  <davem@davemloft.net>
35480         * sysdeps/unix/sparc/brk.S: Delete.
35481         * sysdeps/unix/sparc/dl-brk.S: Delete.
35482         * sysdeps/unix/sparc/pipe.S: Delete.
35483         * sysdeps/unix/sparc/sysdep.S: Delete.
35484         * sysdeps/unix/sparc/sysdep.h: Delete.
35485         * sysdeps/unix/sparc/vfork.S: Delete.
35486         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35487         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35488         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35489         (ret_ERRVAL, r0, r1, MOVE): Define.
35490         (JUMPTARGET): Remove.
35491         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35492         sysdeps/unix/sparc/sysdep.h
35493         (ENTRY, END): Remove.
35494         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35496 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
35498         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35499         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35500         -DIS_IN_build.
35502         * timezone/README: Update upstream location and email address for
35503         tzcode and tzdata.
35504         * timezone/zdump.c: Update from tzcode 2012b.
35505         * timezone/zic.c: Likewise.
35507         * configure.in (libc_cv_as_needed): Remove test.
35508         * configure: Regenerated.
35509         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35510         conditional definition.
35511         [$(have-as-needed) != yes] (no-as-needed): Likewise.
35512         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35513         * config.make.in (have-as-needed): Remove variable.
35515 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35516             Paul Pluzhnikov  <ppluzhnikov@google.com>
35518         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35519         strings correctly.
35521 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
35523         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35524         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35525         * sysdeps/sh/strlen.S: Likewise.
35527 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35529         * sysdeps/unix/fork.S: Remove file.
35530         * sysdeps/unix/i386/fork.S: Likewise.
35531         * sysdeps/unix/sparc/fork.S: Likewise.
35533         * sysdeps/unix/system.c: Remove file.
35534         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35536         * sysdeps/unix/getegid.S: Remove file.
35537         * sysdeps/unix/geteuid.S: Likewise.
35539 2012-04-24  Roland McGrath  <roland@hack.frob.com>
35541         * scripts/check-localplt.awk: New file.
35542         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35543         of diff.
35544         * scripts/data/localplt-generic.data: Add a comment.
35546         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35547         NODE when __dir_mkfile failed.
35548         * sysdeps/mach/hurd/symlinkat.c: Likewise.
35549         Reported by Ludovic Courtès <ludo@gnu.org>.
35551 2012-04-24  Andreas Jaeger  <aj@suse.de>
35553         * Makerules (common-clean): Also remove gen-as-const-headers
35554         files.
35556 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35558         * Makerules (native-compile): Do not change working directory for
35559         build.  Use $(OUTPUT_OPTION) in command.
35560         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35562 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35564         [BZ #13886]
35565         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35566         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35567         * math/libm-test.inc (floor_test): Add more tests.
35568         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35570 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35572         * sysdeps/unix/getdents.c: Remove file.
35573         * sysdeps/unix/sysv/getdents.c: Likewise.
35574         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35576         * sysdeps/unix/syscalls.list (madvise): Add syscall from
35577         sysdeps/unix/mman/syscalls.list.
35578         (mmap): Likewise.
35579         (mprotect): Likewise.
35580         (msync): Likewise.
35581         (munmap): Likewise.
35582         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35583         * sysdeps/unix/mman/syscalls.list: Remove.
35584         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35586         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35587         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35588         * configure: Regenerated.
35589         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35590         $(libgcc_s_suffix).
35591         * config.make.in (libgcc_s_suffix): Remove variable.
35593 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
35595         * sysdeps/unix/sysv/gethostname.c: Move to ...
35596         * sysdeps/posix/gethostname.c: ... here.
35598         * sysdeps/unix/execve.S: Remove file.
35600         * sysdeps/unix/_exit.S: Remove file.
35602 2012-04-23  Andreas Jaeger  <aj@suse.de>
35604         [BZ #13739]
35605         * manual/Makefile: Remove make dist support, there's no
35606         need for a stand-alone documentation tar ball.
35607         (TEXI2DVI): Define always, it's not in Makeconfig.
35608         (dist): Removed.
35609         (tar-it): Removed.
35610         (edition): Removed.
35611         (glibc-doc-$(edition).tar): Removed
35612         (%.Z): Removed.
35613         (%.gz): Removed.
35614         (%.uu): Removed.
35615         (ETAGS): Remove, it's in Makeconfig.
35616         (move-if-change): Remove, it's in Makeconfig.
35618 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
35620         [BZ #13970]
35621         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35622         (strtod, strtof, strtold, strtol, strtoul, strtoq)
35623         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35624         (strtod_l, strtof_l, strtold_l): Remove __wur.
35625         It is not necessarily an error to ignore strtol's return value.
35626         One can reliably look at the stored endptr to decide whether
35627         the number had valid syntax.
35629 2012-04-21  Andreas Jaeger  <aj@suse.de>
35631         [BZ #13739]
35632         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35634 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
35636         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35637         * sysdeps/unix/sysv/Versions: Remove file.
35639 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
35641         [BZ #13927]
35642         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35644 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
35646         [BZ #7064]
35647         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35648         version from __vm86.
35650 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
35652         * sysdeps/unix/common/lxstat.c: Remove file.
35653         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35655         * sysdeps/unix/sysv/Makefile: Remove file.
35657         * sysdeps/unix/sysv/direct.h: Remove file.
35659         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35660         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35661         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35662         * sysdeps/unix/sysv/bits/signum.h: Likewise.
35663         * sysdeps/unix/sysv/bits/stat.h: Likewise.
35664         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35665         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35667         * sysdeps/unix/sysv/setrlimit.c: Remove file.
35669         * sysdeps/unix/xmknod.c: Remove file.
35670         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35672         * sysdeps/unix/sysv/settimeofday.c: Remove file.
35674         * sysdeps/unix/sysv/i386/time.S: Remove file.
35676         * sysdeps/unix/fxstat.c: Remove file.
35677         * sysdeps/unix/xstat.c: Likewise.
35678         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35680         * sysdeps/unix/sysv/sigaction.c: Remove file.
35682         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35683         (sysdep_headers): Remove variable.
35684         [termio.h not in sysdep_headers] (generated): Likewise.
35685         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35686         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35687         * sysdeps/unix/sysv/tcdrain.c: Likewise.
35688         * sysdeps/unix/sysv/tcflow.c: Likewise.
35689         * sysdeps/unix/sysv/tcflush.c: Likewise.
35690         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35691         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35692         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35693         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35694         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35696         * sysdeps/unix/siglist.c: Remove file.
35698         * sysdeps/unix/getppid.S: Remove file.
35700         * sysdeps/unix/mkdir.c: Remove file.
35701         * sysdeps/unix/rmdir.c: Likewise.
35703 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
35705         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35706         ERR_MAX value.
35707         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35708         errlist-compat value.
35710 2012-04-18  David S. Miller  <davem@davemloft.net>
35712         * sysdeps/generic/memcopy.h (reg_char): Delete.
35713         * debug/strcat_chk.c: Use char, not reg_char.
35714         * debug/strcpy_chk.c: Likewise.
35715         * debug/strncat_chk.c: Likewise.
35716         * debug/strncpy_chk.c: Likewise.
35717         * string/memchr.c: Likewise.
35718         * string/memrchr.c: Likewise.
35719         * string/rawmemchr.c: Likewise.
35720         * string/strcat.c: Likewise.
35721         * string/strchr.c: Likewise.
35722         * string/strchrnul.c: Likewise.
35723         * string/strcmp.c: Likewise.
35724         * string/strcpy.c: Likewise.
35725         * string/strncat.c: Likewise.
35726         * string/strncmp.c: Likewise.
35727         * string/strncpy.c: Likewise.
35729 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35731         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35732         __builtin_memcopy is called when src and dest ranges are known to not
35733         overlap.
35735 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35737         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35738         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35739         fwd_align_merge macro call.
35740         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35741         bwd_align_merge macro call.
35742         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35744 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35746         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35747         bwd_align_merge macros.
35748         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35749         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35750         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35752 2012-04-18  David S. Miller  <davem@davemloft.net>
35754         * sysdeps/sparc/sparc64/memcopy.h: Delete.
35756 2012-04-18  Andreas Jaeger  <aj@suse.de>
35758         [BZ# 6794]
35759         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35760         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35761         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35763         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35764         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35765         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35767         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35768         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35769         Adjust for changed ldbl-128 files.
35771         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35772         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35773         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35775 2012-04-17  David S. Miller  <davem@davemloft.net>
35777         * sysdeps/sparc/sparc32/memcopy.h: Delete.
35779 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
35781         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35782         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35783         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35784         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35785         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35786         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35788 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35790         [BZ #6794]
35791         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35792         * math/libm-test.inc: Add ilogb errno and exception tests.
35793         * math/w_ilogb.c: New file: ilogb wrapper.
35794         * math/w_ilogbf.c: New file: ilogbf wrapper.
35795         * math/w_ilogbl.c: New file: ilogbl wrapper.
35796         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35797         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35798         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35799         exception being thrown with 0.0 as argument.
35800         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35801         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35802         exception being thrown with 0.0 as argument.
35803         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35804         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35805         exception being thrown with 0.0 as argument.
35806         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35807         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35808         exception being thrown with 0.0 as argument.
35809         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35810         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35811         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35812         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35813         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35814         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35815         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35816         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35817         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35819 2012-04-17  Petr Baudis  <pasky@ucw.cz>
35821         * include/sys/uio.h: Change __vector to __iovec to avoid clash
35822         with altivec.
35824 2012-04-16  Marek Polacek  <polacek@redhat.com>
35826         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35828 2012-04-16  Marek Polacek  <polacek@redhat.com>
35830         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35831         operands of fdivp instruction.
35833 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
35835         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35836         * elf/tst-auditmod3b.c: Likewise.
35837         * elf/tst-auditmod4b.c: Likewise.
35838         * elf/tst-auditmod5b.c: Likewise.
35839         * elf/tst-auditmod6b.c: Likewise.
35840         * elf/tst-auditmod6c.c: Likewise.
35841         * elf/tst-auditmod7b.c: Likewise.
35842         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35843         * sysdeps/x86_64/preconfigure.in: Likewise.
35844         * sysdeps/x86_64/preconfigure: Regenerated.
35846 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
35848         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35849         __ILP32__.
35851 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
35853         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35854         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35856 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
35858         [BZ #13973]
35859         * locale/iso-639.def: Fix gl language name. Spotted by
35860         Yaron Shahrabani.
35862 2012-04-12  Roland McGrath  <roland@hack.frob.com>
35864         [BZ #2074]
35865         * libio/libio.h (__io_write_fn): Update comment.
35867 2012-04-12  Petr Baudis  <pasky@ucw.cz>
35869         [BZ #2074]
35870         * stdio.texi (Hook Functions): The user provided writer function
35871         is not allowed to return -1.
35873 2012-04-11  David S. Miller  <davem@davemloft.net>
35875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35877 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
35879         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35880         Add a leading slash to rtkaio.
35882 2012-04-11  Jim Meyering  <meyering@redhat.com>
35884         [BZ #11959]
35885         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35886         It is not necessarily an error to ignore fwrite's return
35887         value.  One can reliably use ferror to test for errors after
35888         the fact.
35890 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
35892         * bits/types.h (__snseconds_t): New type.
35893         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35895         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35896         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35897         (__SNSECONDS_T_TYPE): Likewise.
35898         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35899         (__SNSECONDS_T_TYPE): Likewise.
35900         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35901         (__SNSECONDS_T_TYPE): Likewise.
35903 2012-04-10  Andreas Jaeger  <aj@suse.de>
35905         [BZ #2636]
35906         * manual/time.texi (Processor Time): Return type of times is
35907         elapsed real time since an arbitrary point in the past.
35908         (CPU Time): Move CLK_TCK from here...
35909         (Processor Time): ...to here.  Correct description.
35910         * manual/conf.texi (Constants for Sysconf): Correct description of
35911         _SC_CLK_TCK.
35913 2012-04-10  David S. Miller  <davem@davemloft.net>
35915         [BZ #13967]
35916         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35917         where the is a gap between DT_REL(A) and DT_JMPREL.
35919 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
35921         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35922         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35923         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35925 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35927         * elf/dl-support.c (_dl_inhibit_cache): New variable.
35928         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35929         (dl_main): Handle --inhibit-cache.
35930         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35931         _dl_inhibit_cache.
35932         * elf/dl-load.c (_dl_map_object): Use it.
35933         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35935 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
35937         [BZ #13872]
35938         * sysdeps/i386/fpu/e_powl.S (p78): New object.
35939         (__ieee754_powl): Saturate large exponents rather than testing for
35940         overflow of y*log2(x).
35941         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35942         * math/libm-test.inc (pow_test): Do not permit spurious overflow
35943         exceptions.
35945         [BZ #11521]
35946         * math/s_ctan.c: Include <float.h>.
35947         (__ctan): Avoid internal overflow or cancellation in calculating
35948         denominator.
35949         * math/s_ctanf.c: Likewise.
35950         * math/s_ctanl.c: Likewise.
35951         * math/s_ctanh.c: Likewise.
35952         * math/s_ctanhf.c: Likewise.
35953         * math/s_ctanhl.c: Likewise.
35954         * math/libm-test.inc (ctan_test): Add more tests.
35955         (ctanh_test): Likewise.
35956         * sysdeps/i386/fpu/libm-test-ulps: Update.
35957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35959 2012-04-09  Andreas Jaeger  <aj@suse.de>
35961         [BZ #6894]
35962         * manual/filesys.texi (Directory Entries): Mention that d_namlen
35963         is an optional BSD extension.
35965         [BZ #10254]
35966         * manual/stdio.texi (Opening Streams): Document additional fopen
35967         parameters.
35969 2012-04-09  Roland McGrath  <roland@hack.frob.com>
35971         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35972         %eax without telling the compiler.
35974 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
35976         [BZ # 13963]
35977         * manual/install.texi: Use sourceware.org.
35979 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
35981         [BZ #13873]
35982         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35983         (__ieee754_pow): Generate overflow and underflow using huge*huge
35984         and tiny*tiny rather than just returning constant infinity or zero
35985         for large exponents.
35986         * math/libm-test.inc (pow_test): Require overflow exceptions for
35987         applicable cases of large exponents.
35989         [BZ #706]
35990         * sysdeps/i386/fpu/e_pow.S (p10): New object.
35991         (__ieee754_pow): Use iterative multiplication algorithm only for
35992         integer exponents with absolute value below 1024.  Check for odd
35993         integer exponents when using algorithm for real exponents.
35994         * math/libm-test.inc (pow_test): Add more tests.
35995         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35997 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
35999         [BZ #13705]
36000         * math/libm-test.inc (exp_test): Do not allow overflow exception
36001         on underflow test.
36003 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
36005         [BZ #13705]
36006         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36007         instead of __kernel_standard_f.
36009 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
36011         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36012         * sysdeps/x86_64/memset_chk.S: Likewise.
36014 2012-04-08  Andreas Jaeger  <aj@suse.de>
36016         [BZ #10153]
36017         * manual/startup.texi (Environment Access): Describe return value
36018         for putenv and setenv.
36020         [BZ #6895]
36021         * manual/filesys.texi (Directory Entries): Add description for
36022         DT_LNK.
36024         [BZ #6890]
36025         * manual/filesys.texi (Directory Entries): Clarify that it's file
36026         system not operating system in the description of DT_UNKNOWN.
36028         [BZ #6578]
36029         * manual/syslog.texi (closelog): Fix reference, it's openlog.
36031 2012-04-08  Stephen Compall  <s11@member.fsf.org>
36033         [BZ #6649]
36034         * manual/llio.texi (Opening and Closing Files): Add cross
36035         reference to explain mode argument.
36037 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
36039         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36040         * sysdeps/x86_64/memset_chk.S: Likewise.
36042 2012-04-07  David S. Miller  <davem@davemloft.net>
36044         * elf/elf.h (R_SPARC_WDISP10): Define.
36045         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36046         R_SPARC_SIZE32.
36047         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36048         R_SPARC_SIZE64 and R_SPARC_H34.
36050 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
36052         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36053         conditions and remove no longer applicable assertion.
36055 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36057         * bits/byteswap.h: Include <features.h>.
36058         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36059         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36061 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36063         * bits/byteswap.h (__bswap_16): Removed.
36064         Include <bits/byteswap-16.h> to get __bswap_16.
36065         * sysdeps/i386/bits/byteswap.h: Likewise.
36066         * sysdeps/s390/bits/byteswap.h: Likewise.
36067         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36068         * bits/byteswap-16.h: New file.
36069         * sysdeps/i386/bits/byteswap-16.h: Likewise.
36070         * sysdeps/s390/bits/byteswap-16.h: Likewise.
36071         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36072         * string/Makefile (headers): Add bits/byteswap-16.h.
36074 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36076         [BZ #13895]
36077         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36078         extra indirection.
36079         * nss/Makefile (tests-static, tests): Add tst-nss-static.
36080         * nss/tst-nss-static.c: New.
36082 2012-04-06  Robert Millan  <rmh@gnu.org>
36084         [BZ #6486]
36085         * manual/llio.texi (File Position Primitive): lseek
36086         refers to WHENCE when it really means OFFSET.
36088 2012-04-06  Andreas Jaeger  <aj@suse.de>
36090         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36091         strncmp declarations.
36093         * abilist/libc.abilist: Add __poll and __ppoll.
36095 2012-04-05  David S. Miller  <davem@davemloft.net>
36097         * scripts/check-local-headers.sh: Accept a host triplet in the
36098         path matched by the exclude regexp.
36100         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36101         definition.
36102         * sysdeps/powerpc/powerpc32/dl-machine.h
36103         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36104         * sysdeps/s390/s390-32/dl-machine.h
36105         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36106         * sysdeps/sparc/sparc32/dl-machine.h
36107         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36108         * sysdeps/sparc/sparc64/dl-machine.h
36109         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36111         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36112         lazy binding.
36113         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36114         undefined symbol errors.
36116         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36117         DT_NEEDED entries.
36119 2012-04-05  Michael Matz  <matz@suse.de>
36121         [BZ #13592]
36122         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36124 2012-04-05  Andreas Jaeger  <aj@suse.de>
36126         [BZ #13908]
36127         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36128         comment.
36130 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36132         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36133         which ROUND is no valid rounding mode.
36135 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36137         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36138         read again.
36139         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36141 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36143         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36144         an exception using FPU order intentionally.
36146 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36148         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36149         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36150         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36151         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36153 2012-04-05  Simon Josefsson  <simon@josefsson.org>
36155         [BZ #12340]
36156         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36157         EINVAL when BUFLEN is too smal.
36159 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36161         [BZ #13553]
36162         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36163         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36165 2012-04-03  Andreas Jaeger  <aj@suse.de>
36167         [BZ #13938]
36168         * manual/setjmp.texi (System V contexts): Fix sentence.
36170         [BZ #13926]
36171         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36172         New macro for this case.
36173         [!__GNUC__] (__bswap_64): New inline function for this case.
36174         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36175         * bits/byteswap.h: Likewise.
36176         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36177         ull, guard with __GLIBC_HAVE_LONG_LONG.
36179         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36180         __GLIBC_HAVE_LONG_LONG.
36182         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36183         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36185 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36187         [BZ #13691]
36188         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36189         inptr and inend, rather than using last_ch.
36191 2012-04-02  David S. Miller  <davem@davemloft.net>
36193         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36194         * stdio-common/printf-parse.h (read_int): Change return type to
36195         'int', return -1 on INT_MAX overflow.
36196         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36197         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
36198         overflows INT_MAX.  Check for overflow of in-format-string precision
36199         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
36200         SIZE_MAX not INT_MAX for integer overflow test.
36201         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36202         skip the construct in the format string but do not record anything.
36203         * stdio-common/bug22.c: Adjust to test both width/prevision
36204         INT_MAX overflow as well as total length INT_MAX overflow.  Check
36205         explicitly for proper errno values.
36207 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36209         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36210         CHAR_MAX.
36211         * string/test-strcmp.c [! WIDE]: Likewise.
36212         * time/tst-mktime2.c: Likewise for INT_MAX.
36213         * string/test-string.h: #include <sys/param.h> for MIN.
36215         * csu/init-first.c (__libc_init_first): Call __ctype_init.
36216         * sysdeps/i386/init-first.c (init): Likewise.
36217         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36218         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36219         * sysdeps/sh/init-first.c (init): Likewise.
36221 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
36223         * po/ru.po: Update from translation team.
36224         * po/vi.po: Likewise.
36226 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36228         * resolv/nss_dns/dns-host.c: Merge copyright years.
36230 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36232         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36233         Optimize memcpy with prefetch if
36234         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
36235         src, dst pointers have unequal 16 byte alignments.
36237 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36239         [BZ #13928]
36240         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36241         from a CNAME entry and return the minimum ttl for the query.
36242         (gaih_getanswer_slice): Likewise.
36244 2012-03-30  Jeff Law  <law@redhat.com>
36246         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36247         due to long keys.
36248         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36249         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36251         * resolv/nss_dns/dns-host.c: Update copyright year.
36253 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
36255         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36256         requests to save a system call.  Fix check that all bytes are sent.
36258         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36259         comments for sendmmsg.
36261 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36263         [BZ #13691]
36264         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36265         with only 1 character between 0x0041 and 0x01b0.
36266         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36267         * wcsmbs/tst-mbsnrtowcs.c: New file.
36269 2012-03-29  David S. Miller  <davem@davemloft.net>
36271         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36272         small copies by hand.
36274 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36276         [BZ #13761]
36277         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36278         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36279         group memberships.
36281 2012-03-28  David S. Miller  <davem@davemloft.net>
36283         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36284         that branches into memcpy.
36285         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36286         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36287         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36288         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36289         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36290         bits.
36291         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36292         implementation too.
36293         * sysdeps/sparc/mempcpy.S: New file.
36295         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36296         the IFUNC routine in the libc case.
36297         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36299         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36300         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36301         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36302         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36303         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36304         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36305         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36306         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36308         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36309         loop to 256 bytes instead of 64 bytes and fix test signedness.
36311         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36312         * sysdeps/sparc/sparc32/Makefile: rather than here...
36313         * sysdeps/sparc/sparc64/Makefile: and here.
36315 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
36317         * malloc/mallocbug.c: Avoid warnings about unused variables.
36319 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36321         [BZ #13760]
36322         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36323         in the right place. Discard and retry query if response is
36324         larger than input buffer size.
36326 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
36328         [BZ #369]
36329         [BZ #2678]
36330         [BZ #3866]
36331         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36332         x for large integer exponent.
36333         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36334         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
36335         sign of result as needed afterwards.
36336         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36337         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36338         result for underflowing pow the same as for overflow.
36339         (__kernel_standard_l): Handle powl overflow and underflow here
36340         rather than calling __kernel_standard.
36341         * math/libm-test.inc (pow_test): Add more tests.
36343         [BZ #3868]
36344         [BZ #13879]
36345         [BZ #13910]
36346         [BZ #13911]
36347         [BZ #13912]
36348         [BZ #13913]
36349         [BZ #13915]
36350         [BZ #13916]
36351         [BZ #13917]
36352         [BZ #13918]
36353         [BZ #13919]
36354         [BZ #13920]
36355         [BZ #13921]
36356         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36357         * sysdeps/ieee754/k_standard.c: Include <float.h>.
36358         (__kernel_standard_l): New function.
36359         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36360         __kernel_standard.
36361         * math/w_acosl.c (__acosl): Likewise.
36362         * math/w_asinl.c (__asinl): Likewise.
36363         * math/w_atan2l.c (__atan2l): Likewise.
36364         * math/w_atanhl.c (__atanhl): Likewise.
36365         * math/w_coshl.c (__coshl): Likewise.
36366         * math/w_exp10l.c (__exp10l): Likewise.
36367         * math/w_exp2l.c (__exp2l): Likewise.
36368         * math/w_fmodl.c (__fmodl): Likewise.
36369         * math/w_hypotl.c (__hypotl): Likewise.
36370         * math/w_j0l.c (__j0l, __y0l): Likewise.
36371         * math/w_j1l.c (__j1l, __y1l): Likewise.
36372         * math/w_jnl.c (__jnl, __ynl): Likewise.
36373         * math/w_lgammal.c (__lgammal): Likewise.
36374         * math/w_log10l.c (__log10l): Likewise.
36375         * math/w_log2l.c (__log2l): Likewise.
36376         * math/w_logl.c (__logl): Likewise.
36377         * math/w_powl.c (__powl): Likewise.
36378         * math/w_remainderl.c (__remainderl): Likewise.
36379         * math/w_scalbl.c (sysv_scalbl): Likewise.
36380         * math/w_sinhl.c (__sinhl): Likewise.
36381         * math/w_sqrtl.c (__sqrtl): Likewise.
36382         * math/w_tgammal.c (__tgammal): Likewise.
36383         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36384         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36385         * math/libm-test.inc (acos_test): Add more tests.
36386         (acosh_test): Likewise.
36387         (asin_test): Likewise.
36388         (atanh_test): Likewise.
36389         (exp_test): Likewise.
36390         (exp10_test): Likewise.
36391         (exp2_test): Likewise.
36392         (expm1_test): Likewise.
36393         (lgamma_test): Likewise.
36394         (log_test): Likewise.
36395         (log10_test): Likewise.
36396         (log1p_test): Likewise.
36397         (log2_test): Likewise.
36398         (pow_test): Do not allow some spurious overflow exceptions.
36399         (sqrt_test): Add more tests.
36400         (tgamma_test): Likewise.
36401         (y0_test): Likewise.
36402         (y1_test): Likewise.
36403         (yn_test): Likewise.
36405 2012-03-27  Anton Blanchard  <anton@samba.org>
36407         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36408         MAP_HUGETLB.
36409         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36410         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36411         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36413 2012-03-27  David S. Miller  <davem@davemloft.net>
36415         * conform/Makefile: Run run-conformtest.sh using $(BASH).
36417         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36418         have-as-vis3 check.
36420 2012-03-27  Andreas Jaeger  <aj@suse.de>
36422         * sysdeps/x86_64/elf/configure.in: Moved to ...
36423         * sysdeps/x86_64/configure.in: ... here.
36424         * sysdeps/x86_64/elf/start.S: Moved to ...
36425         * sysdeps/x86_64/start.S: ... here.
36426         * sysdeps/x86_64/elf/configure: Delete.
36428         * sysdeps/x86_64/configure.in: Merge contents from
36429         sysdeps/i386/configure.in (without i686 check).
36431         * sysdeps/i386/elf/Versions: Merge into ...
36432         * sysdeps/i386/Versions: ... this.
36433         * sysdeps/i386/elf/Versions: Delete file.
36434         * sysdeps/i386/elf/start.S: Moved to ...
36435         * sysdeps/i386/start.S: ...here.
36436         * sysdeps/i386/elf/configure.in: Merge into...
36437         * sysdeps/i386/configure.in: ...here.
36438         * sysdeps/i386/elf/configure.in: Delete file.
36439         * sysdeps/i386/elf/configure: Delete file.
36441         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36442         * debug/backtracesyms.c: ... here.
36443         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36444         * debug/backtracesymsfd.c: ... here.
36445         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36446         * sysdeps/generic/ifunc-sel.h: ... here.
36448         * sysdeps/unix/i386/start.c: Delete file.
36449         * sysdeps/unix/sparc/start.c: Delete file.
36450         * sysdeps/unix/start.c: Delete file.
36452         * sysdeps/sh/elf/configure.in: Moved to ...
36453         * sysdeps/sh/configure.in: ... here.
36454         * sysdeps/sh/elf/start.S: Moved to ...
36455         * sysdeps/sh/start.S: ... here.
36456         * sysdeps/sh/elf/configure: Delete file.
36458         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36459         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36460         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36461         * sysdeps/powerpc/powerpc64/entry.h: ... here.
36462         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36463         * sysdeps/powerpc/powerpc64/start.S: here.
36464         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36465         * sysdeps/powerpc/powerpc64/Makefile: ... this.
36466         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36467         * sysdeps/powerpc/powerpc64/configure.in: ... this.
36468         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36470         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36471         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36472         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36473         * sysdeps/powerpc/powerpc32/start.S: ... here.
36474         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36475         * sysdeps/powerpc/powerpc32/configure.in: ... this.
36476         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36478         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36479         * sysdeps/powerpc/ifunc-sel.h: ... here.
36480         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36481         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36483         * sysdeps/sparc/elf/configure.in: Moved to ...
36484         * sysdeps/sparc/configure.in: ... here.
36485         * sysdeps/sparc/elf/configure: Delete file.
36486         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36487         * sysdeps/sparc/sparc32/start.S: ... here.
36488         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36489         * sysdeps/sparc/sparc64/start.S: ... here.
36490         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36491         * sysdeps/sparc/sparc32/Makefile: ... this.
36492         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36493         * sysdeps/sparc/sparc64/Makefile: ... this.
36495         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36496         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36497         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36498         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36499         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36500         * sysdeps/s390/s390-32/setjmp.S: ... here.
36501         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36502         * sysdeps/s390/s390-32/configure.in: ... here.
36503         * sysdeps/s390/s390-32/elf/configure: Delete file.
36504         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36505         * sysdeps/s390/s390-32/start.S: ... here.
36507         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36508         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36509         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36510         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36511         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36512         * sysdeps/s390/s390-64/setjmp.S: ... here.
36513         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36514         * sysdeps/s390/s390-64/configure.in: ... here
36515         * sysdeps/s390/s390-64/elf/configure: Delete file.
36516         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36517         * sysdeps/s390/s390-64/start.S: ... here.
36518         * sysdeps/s390/s390-64/elf/configure: Delete.
36520         * configure.in: Remove support for elf directories in sysdeps.
36522         * configure: Regenerated.
36523         * sysdeps/i386/configure: Regenerated.
36524         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36525         * sysdeps/powerpc/powerpc64/configure: Regenerated.
36526         * sysdeps/s390/s390-32/configure: Regenerated.
36527         * sysdeps/s390/s390-64/configure: Regenerated.
36528         * sysdeps/sh/configure: Regenerated.
36529         * sysdeps/sparc/configure: Regenerated.
36530         * sysdeps/x86_64/configure: Regenerated.
36532 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
36534         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36536         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36537         denormal result into account.
36539 2012-03-25  Roland McGrath  <roland@hack.frob.com>
36541         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36542         Reported by Allan McRae <allan@archlinux.org>.
36544 2012-03-23  Jeff Law  <law@redhat.com>
36546         * nss/getnssent.c (__nss_getent): Fix typo.
36548 2012-03-23  David S. Miller  <davem@davemloft.net>
36550         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36552 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
36554         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36555         to pad to uint64_t for each field.
36556         (dl_tls_index): Replace unsigned long with uint64_t.
36558 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
36559         Paul Pluzhnikov  <ppluzhnikov@google.com>
36561         [BZ #6528]
36562         * grp/Makefile (otherlibs): Don't set it.
36563         * inet/Makefile (otherlibs): Likewise.
36564         * login/Makefile (otherlibs): Likewise.
36565         * nscd/Makefile (otherlibs): Likewise.
36566         * posix/Makefile (otherlibs): Likewise.
36567         * pwd/Makefile (otherlibs): Likewise.
36568         * rt/Makefile (otherlibs): Likewise.
36569         * sunrpc/Makefile (otherlibs): Likewise.
36570         * nss/Makefile (otherlibs): Likewise.
36571         Add libnss_files to routines and static-only-routines.
36572         ($(objpfx)getent): Remove rule.
36573         * resolv/Makefile: Add libnss_dns and libresolv to routines and
36574         static-only-routines.
36576 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
36578         [BZ #13892]
36579         * math/s_cexp.c: Include <float.h>.
36580         (__cexp): Handle exp result overflowing not necessarily
36581         overflowing both real and imaginary parts of result.
36582         * math/s_cexpf.c: Likewise.
36583         * math/s_cexpl.c: Likewise.
36584         * math/libm-test.inc (cexp_test): Add more tests.
36585         * sysdeps/i386/fpu/libm-test-ulps: Update.
36586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36588 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36590         * include/link.h (ELFW): New macro.
36591         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36592         Replace ELF64_R_TYPE with ELFW(R_TYPE).
36594 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36596         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36597         with uint64_t.
36599 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36601         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36602         declaration.
36603         (struct La_x32_retval): Likewise.
36605 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36607         * sysdeps/x86_64/preconfigure.in: New file.
36608         * sysdeps/x86_64/preconfigure: New generated file.
36610 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
36612         [BZ #13824]
36613         * math/e_exp2l.c: Include <float.h>.
36614         (__ieee754_exp2l): Handle overflow and underflow cases
36615         separately.  Only pass fractional part of argument to
36616         __ieee754_expl.
36617         * math/libm-test.inc (exp2_test): Add more tests.
36619         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36620         negating x to take absolute value.
36621         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36622         Likewise.
36623         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36624         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36625         Likewise.
36626         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36627         computing low part if x was negated.
36628         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36630 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36632         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36633         la_x32_gnu_pltexit.
36634         (pltexit): Cast int_retval to ptrdiff_t.
36635         * elf/tst-auditmod3b.c: Likewise.
36636         * elf/tst-auditmod4b.c: Likewise.
36637         * elf/tst-auditmod5b.c: Likewise.
36638         * elf/tst-auditmod6b.c: Likewise.
36639         * elf/tst-auditmod6c.c: Likewise.
36640         * elf/tst-auditmod7b.c: Likewise.
36642         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36643         and x32_gnu_pltexit.
36645         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36646         __ELF_NATIVE_CLASS.
36647         (La_x32_regs): New macro.
36648         (La_x32_retval): Likewise.
36649         (la_x32_gnu_pltenter): New function prototype.
36650         (la_x32_gnu_pltexit): Likewise.
36652 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
36654         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36655         exponent.
36657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36659         * configure.in (libc_cv_cc_nofma): Check for option to disable
36660         generation of FMA instructions.
36661         * configure: Regenerate.
36662         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36663         * sysdeps/ieee754/dbl-64/Makefile: New file.
36664         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36665         Remove brandred-fma4.
36666         (CFLAGS-brandred-fma4.c): Remove.
36667         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36668         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36669         define.
36670         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36671         define.
36673 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36675         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36676         LLONG_MAX != LONG_MAX.
36677         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36678         (_fitoa_word): Likewise.
36679         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36680         LLONG_MAX != LONG_MAX.
36681         * stdio-common/_itowa.h: Include <_itoa.h>.
36682         (_itowa_word): Use _ITOA_WORD_TYPE on value.
36683         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
36684         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
36685         only if not defined.
36686         (_ITOA_WORD_TYPE): Likewise.
36687         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36688         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36690 2012-03-21  David S. Miller  <davem@davemloft.net>
36692         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36694 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36696         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36697         of x86_64 when setting libc_cv_slibdir, libdir and
36698         libc_cv_localedir.
36699         * sysdeps/unix/sysv/linux/configure: Regenerated.
36701 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36703         * manual/lang.texi (Old Varargs): Remove section.
36704         (How Variadic): Update menu.
36705         (va_start): Do not mention varargs.h.
36707 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36708             Joseph Myers  <joseph@codesourcery.com>
36710         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36711         link test.
36712         * configure: Regenerated.
36714 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36716         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36717         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36718         conformtest.pl
36720 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36722         * NOTES: Remove.
36723         * Makefile (files-for-dist): Remove NOTES.
36724         (NOTES): Remove rule.
36725         * README: Don't refer to NOTES.
36726         * manual/creature.texi: Don't include macros.texi.
36727         * manual/intro.texi (creature.texi): Remove comment referring to
36728         NOTES.
36730         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36731         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36732         * configure: Regenerated.
36733         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36734         LIBC_TRY_CC_OPTION.
36735         (libc_cv_as_i686): Likewise.
36736         (libc_cv_cc_avx): Likewise.
36737         (libc_cv_cc_sse2avx): Likewise.
36738         (libc_cv_cc_fma4): Likewise.
36739         (libc_cv_cc_novzeroupper): Likewise.
36740         * sysdeps/i386/configure: Regenerated.
36742         [BZ #13883]
36743         * sysdeps/i386/fpu/s_cexp.S: Remove.
36744         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36745         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36746         * math/libm-test.inc (cexp_test): Add more tests.
36747         * sysdeps/i386/fpu/libm-test-ulps: Update.
36748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36750 2012-03-21  Allan McRae  <allan@archlinux.org>
36752         * timezone/Makefile: Do not install iso3166.tab and zone.tab
36754 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36756         [BZ #13871]
36757         * math/w_exp2.c: Do not include <float.h>.
36758         (o_threshold, u_threshold): Remove.
36759         (__exp2): Calculate result before checking finiteness and calling
36760         __kernel_standard.
36761         * math/w_exp2f.c: Likewise.
36762         * math/w_exp2l.c: Likewise.
36763         * math/libm-test.inc (exp2_test): Require overflow exception for
36764         1e6 input.
36766         [BZ #3866]
36767         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36768         range of signed 64-bit integers before using fistpll.  Remove
36769         checks for whether integers fit in mantissa bits.
36770         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36771         the range of signed 32-bit integers before using fistpl.  Remove
36772         checks for whether integers fit in mantissa bits.
36773         * sysdeps/i386/fpu/e_powl.S (p64): New object.
36774         (__ieee754_powl): Test for y outside the range of signed 64-bit
36775         integers before using fistpll.  Reduce 64-bit values to 63-bit
36776         ones as needed.
36777         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36778         divide-by-zero is raised for zero to large negative powers.
36779         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36780         (__ieee754_powl): Test for y outside the range of signed 64-bit
36781         integers before using fistpll.  Reduce 64-bit values to 63-bit
36782         ones as needed.
36783         * math/libm-test.inc (pow_test): Add more tests.
36785 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36787         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36788         <stdio-common/_itoa.h>.
36789         * debug/segfault.c: Likewise.
36790         * elf/dl-cache.c: Likewise.
36791         * elf/dl-minimal.c: Likewise.
36792         * elf/dl-misc.c: Likewise.
36793         * elf/dl-sysdep.c: Likewise.
36794         * elf/dl-version.c: Likewise.
36795         * elf/rtld.c: Likewise.
36796         * hurd/hurdsock.c: Likewise.
36797         * hurd/lookup-retry.c: Likewise.
36798         * malloc/malloc.c: Likewise.
36799         * malloc/mtrace.c: Likewise.
36800         * nscd/nscd_getgr_r.c: Likewise.
36801         * nscd/nscd_getpw_r.c: Likewise.
36802         * nscd/nscd_getserv_r.c: Likewise.
36803         * posix/getopt_init.c: Likewise.
36804         * posix/wordexp.c: Likewise.
36805         * stdio-common/_itoa.c: Likewise.
36806         * stdio-common/printf_fphex.c: Likewise.
36807         * stdio-common/vfprintf.c: Likewise.
36808         * string/_strerror.c: Likewise.
36809         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36810         * sysdeps/i386/i686/hp-timing.h: Likewise.
36811         * sysdeps/mach/_strerror.c: Likewise.
36812         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36813         * sysdeps/mach/hurd/sethostid.c: Likewise.
36814         * sysdeps/mach/hurd/xmknodat.c: Likewise.
36815         * sysdeps/mach/xpg-strerror.c: Likewise.
36816         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36817         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36818         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36819         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36820         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36821         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36822         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36823         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36824         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36825         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36826         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36827         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36828         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36829         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36830         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36831         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36832         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36833         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36834         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36835         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36836         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36838         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36840         * stdio-common/_itoa.h: Moved to ...
36841         * sysdeps/generic/_itoa.h: Here.
36843         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36845         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36846         instead of "_itoa.h" and "_itowa.h".
36847         * stdio-common/vfprintf.: Likewise.
36849 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36851         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36852         <bits/wordsize.h>.
36853         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36854         (__signbit): Likwise.
36855         (llrintf): Likwise.
36856         (llrint): Likwise.
36858 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36860         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36861         __WORDSIZE != 64.
36863 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
36865         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36866         OVERFLOW_EXCEPTION_OK.
36867         * math/libm-test.inc ("Philosophy"): Update comment about
36868         exception testing.
36869         (OVERFLOW_EXCEPTION): Define.
36870         (OVERFLOW_EXCEPTION_OK): Likewise.
36871         (INVALID_EXCEPTION_OK): Renumber.
36872         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36873         (IGNORE_ZERO_INF_SIGN): Likewise.
36874         (test_exceptions): Handle FE_OVERFLOW.
36875         (exp10_test): Expect overflow exceptions.
36876         (exp2_test): Likewise.
36877         (expm1_test): Likewise.
36878         (nextafter_test): Likewise.
36879         (pow_test): Likewise.
36880         (scalbn_test): Likewise.
36881         (scalbln_test): Likewise.
36883 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36885         * sysdeps/x86_64/bits/atomic.h
36886         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36887         64bit integer.
36888         (atomic_exchange_acq): Likewise.
36889         (__arch_exchange_and_add_body): Likewise.
36890         (__arch_add_body): Likewise.
36891         (atomic_add_negative): Likewise.
36892         (atomic_add_zero): Likewise.
36894 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36896         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36897         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36899 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36901         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36902         Check __x86_64__ instead of __WORDSIZE.
36904 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36906         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36908 2012-03-19  David S. Miller  <davem@davemloft.net>
36910         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36912         * sysdeps/sparc/fpu/fenv_private.h: New file.
36913         * sysdeps/sparc/fpu/math_private.h: Use it.
36914         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36915         Remove.
36916         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36917         (libc_feholdexcept_setroundl): Remove.
36918         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36919         Remove.
36920         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36921         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36923 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36925         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36926         int64_t instead of long int.
36927         (INSERT_WORDS64): Likwise.
36929 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36931         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36932         _Unwind_GetCFA return to _Unwind_Ptr first.
36934 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
36936         [BZ #13629]
36937         * math/s_clog.c: Include <float.h>.
36938         (__clog): Scale large or subnormal inputs.
36939         * math/s_clogf.c: Likewise.
36940         * math/s_clogl.c: Likewise.
36941         * math/s_clog10.c: Include <float.h>.
36942         (M_LOG10_2): Define.
36943         (__clog10): Scale large or subnormal inputs.
36944         * math/s_clog10f.c: Likewise.
36945         * math/s_clog10l.c: Likewise.
36946         * math/libm-test.inc (clog_test): Add more tests.
36947         (clog10_test): Likewise.
36948         * sysdeps/i386/fpu/libm-test-ulps: Update.
36949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36951         [BZ #11451]
36952         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36953         x and y.
36954         * math/libm-test.inc (atan2_test): Add another test.
36956         * Makerules (common-objdir-compile): Remove.
36957         * sysdeps/unix/Makefile (config-generated): Do not add
36958         $(unix-generated) to variable.
36959         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36960         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36961         Remove rule.
36962         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36963         Likewise.
36964         [generic bits/local_lim.h] (before-compile): Do not append to
36965         variable.
36966         [generic bits/local_lim.h] (common-generated): Likewise.
36967         [generic sys/param.h] (before-compile): Do not append to variable.
36968         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36969         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36970         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36971         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36972         include.
36973         [generic sys/param.h] (sys/param.h-includes): Remove variable.
36974         [generic sys/param.h] (sys/param.h-includes): Remove rule.
36975         [generic sys/param.h] ($(addprefix
36976         $(common-objpfx),$(sys/param.h-includes))): Likewise.
36977         [generic sys/param.h] (common-generated): Do not append to
36978         variable.
36979         [generic sys/param.h] (sysdep_headers): Likewise.
36980         [generic bits/errno.h] (before-compile): Do not append to
36981         variable.
36982         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36983         rule.
36984         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36985         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36986         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36987         [generic bits/errno.h] (common-generated): Do not append to
36988         variable.
36989         [generic bits/ioctls.h] (before-compile): Do not append to
36990         variable.
36991         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36992         rule.
36993         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36994         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36995         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36996         rule.
36997         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36998         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36999         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37000         [generic bits/ioctls.h] (common-generated): Do not append to
37001         variable.
37002         [generic sys/syscall.h] (syscall.h): Remove variable.
37003         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37004         rule.
37005         [generic sys/syscall.h] (before-compile): Do not append to
37006         variable.
37007         [generic sys/syscall.h] (common-generated): Likewise.
37008         * sysdeps/unix/errnos-tmpl.c: Remove file.
37009         * sysdeps/unix/errnos.awk: Likewise.
37010         * sysdeps/unix/ioctls-tmpl.c: Likewise.
37011         * sysdeps/unix/ioctls.awk: Likewise.
37012         * sysdeps/unix/mk-local_lim.c: Likewise.
37013         * sysdeps/unix/snarf-ioctls: Likewise.
37015 2012-03-19  Richard Henderson  <rth@twiddle.net>
37017         * sysdeps/i386/fpu/fenv_private.h: New file.
37018         * sysdeps/i386/fpu/math_private.h: Use it.
37019         (math_opt_barrier, math_force_eval): Remove.
37020         (libc_feholdexcept_setround_53bit): Remove.
37021         (libc_feupdateenv_53bit): Remove.
37022         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37023         (math_opt_barrier, math_force_eval): Remove.
37024         (libc_feholdexcept): Remove.
37025         (libc_feholdexcept_setround): Remove.
37026         (libc_fetestexcept, libc_fesetenv): Remove.
37027         (libc_feupdateenv_test): Remove.
37028         (libc_feupdateenv, libc_feholdsetround): Remove.
37029         (libc_feresetround): Remove.
37031         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37032         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37034         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37035         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37036         (libc_feupdateenv_testl): New.
37037         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37038         (libc_feupdateenv_testf): New.
37039         (libc_feupdateenv): Use libc_feupdateenv_test.
37040         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37041         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37043         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37044         (libc_feholdsetroundf, libc_feholdsetroundl): New.
37045         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37046         (libc_feresetround_noex): New.
37047         (libc_feresetround_noexf): New.
37048         (libc_feresetround_noexl): New.
37049         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37050         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37051         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37052         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37053         SET_RESTORE_ROUND.
37054         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37055         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37056         (__cos): Likewise.
37057         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37058         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37059         SET_RESTORE_ROUND_NOEX.
37060         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37061         SET_RESTORE_ROUND_NOEXF.
37062         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37063         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37064         (libc_feholdsetroundf): New.
37065         (libc_feresetround, libc_feresetroundf): New.
37067         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37068         (libc_feholdexcept_setround_53bit): Convert from macro to function.
37069         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
37071         * sysdeps/generic/math_private.h: Include <fenv.h>.
37072         (default_libc_feholdexcept): New.
37073         (default_libc_feholdexcept_setround): New.
37074         (default_libc_fesetenv, default_libc_feupdateenv): New.
37075         (libc_feholdexcept): Only define if undefined.
37076         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37077         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37078         (libc_feholdexcept_setroundl): Likewise.
37079         (libc_feholdexcept_setround_53bit): Likewise.
37080         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37081         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37082         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37083         (libc_feupdateenv_53bit): Likewise.
37084         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37085         (libc_feholdexcept): Convert from macro to inline function.
37086         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37087         (libc_fesetenv, libc_feupdateenv): Likewise.
37089         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37090         not previously defined.
37091         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37092         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37093         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37094         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37095         * sysdeps/ieee754/flt-32/math_private.h: New file.
37096         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37097         math_private.h below SET_FLOAT_WORD.
37098         (__isnan, __isinf_ns, __finite): Remove.
37099         (__isnanf, __isinf_nsf, __finitef): Remove.
37101 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
37103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37105 2012-03-17  David S. Miller  <davem@davemloft.net>
37107         [BZ #6471]
37108         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37109         for 2.16.
37111 2012-03-16  David S. Miller  <davem@davemloft.net>
37113         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37114         warnings.
37116         [BZ #6471]
37117         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37118         properly.
37119         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37120         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37121         sysdep_routines when subdir is sysvipc.
37122         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37123         __getshmlba helper.
37125         * sysdeps/sparc/fpu/libm-test/ulps: Update.
37127 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37129         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37130         [__LP64__].
37132 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37134         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37135         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37136         (__lround): Renamed to ...
37137         (__llround): This.  Replace long int with long long int.
37138         Define lround functions as aliases of llround functions.
37139         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37141 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37143         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37144         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
37145         adresses to uintptr_t.  Replace "long int" and "unsigned long
37146         int" with "greg_t" on va_arg.
37148 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37150         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37151         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37153         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37154         Move e_machine check before EI_CLASS check.  Handle x32
37155         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37156         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37157         SKIP_EM_IA_64 and include
37158         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37160         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37161         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37162         (add_system_dir): New macro.
37164         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37165         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37167 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37169         [BZ #2551]
37170         [BZ #2552]
37171         [BZ #2553]
37172         [BZ #2554]
37173         [BZ #2562]
37174         [BZ #2563]
37175         [BZ #2565]
37176         [BZ #2566]
37177         [BZ #2576]
37178         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37179         (y0): Likewise.
37180         * math/w_j0f.c (j0f): Likewise.
37181         (y0f): Likewise.
37182         * math/w_j0l.c (__j0l): Likewise.
37183         (__y0l): Likewise.
37184         * math/w_j1.c (j1): Likewise.
37185         (y1): Likewise.
37186         * math/w_j1f.c (j1f): Likewise.
37187         (y1f): Likewise.
37188         * math/w_j1l.c (__j1l): Likewise.
37189         (__y1l): Likewise.
37190         * math/w_jn.c (jn): Likewise.
37191         (yn): Likewise.
37192         * math/w_jnf.c (jnf): Likewise.
37193         (ynf): Likewise.
37194         * math/w_jnl.c (__jnl): Likewise.
37195         (__ynl): Likewise.
37196         * math/libm-test.inc (j0_test): Add more tests.
37197         (j1_test): Likewise.
37198         (jn_test): Likewise.  Add trailing semicolon to existing test.
37199         (y0_test): Likewise.
37200         (y1_test): Likewise.
37201         * sysdeps/i386/fpu/libm-test-ulps: Update.
37202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37204         [BZ #13851]
37205         [BZ #13854]
37206         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37207         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37208         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37209         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37210         (__tanl): Set errno for infinite argument.
37211         * sysdeps/i386/fpu/mptan.c: Remove.
37212         * sysdeps/i386/fpu/s_tan.S: Likewise.
37213         * sysdeps/i386/fpu/s_tanl.S: Likewise.
37214         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37215         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37216         * math/libm-test.inc (tan_test): Add more tests and enable more
37217         tests for double and long double.
37218         * sysdeps/i386/fpu/libm-test-ulps: Update.
37219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37221 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
37223         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37224         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37226 2012-03-16  Roland McGrath  <roland@hack.frob.com>
37228         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37229         * configure.in: Use it for both main tree and add-ons.
37230         * configure: Regenerated.
37232 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37234         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37236 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37238         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37239         in comment.
37241         [BZ #13851]
37242         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37243         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37244         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37245         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37246         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37247         infinite argument.
37248         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37249         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37250         != 0 for prec == 2.
37251         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37252         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37253         * sysdeps/i386/fpu/s_cosl.S: Likewise.
37254         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37255         * sysdeps/i386/fpu/s_sinl.S: Likewise.
37256         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37257         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37258         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37259         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37260         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37261         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37262         * math/libm-test.inc (cos_test): Add more tests and enable more
37263         tests for long double.
37264         (sin_test): Likewise.
37265         (sincos_test): Likewise.
37266         * sysdeps/i386/fpu/libm-test-ulps: Update.
37267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37269 2012-03-16  David S. Miller  <davem@davemloft.net>
37271         * sysdeps/sparc/fpu/math_private.h: New file.
37273 2012-03-15  David S. Miller  <davem@davemloft.net>
37275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37276         file.
37277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37279         file.
37280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37281         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37282         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37283         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37284         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37285         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37286         sysdep routines.
37287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37289         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37290         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37292         * sysdeps/sparc/sparc-ifunc.h: New file.
37293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37294         sparc-ifunc.h
37295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37297         Likewise.
37298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37299         Likewise.
37300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37304         Likewise.
37305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37310         Likewise.
37311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37312         Likewise.
37313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37317         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37318         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37319         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37320         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37321         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37322         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37323         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37324         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37325         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37326         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37327         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37328         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37329         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37330         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37331         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37332         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37333         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37334         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37335         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37336         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37338 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37340         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37341         scaling.
37342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37344 2012-03-15  Andreas Jaeger  <aj@suse.de>
37346         [BZ #13852]
37347         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37348         ieee754/flt-32 implementation for sin, cos and sincos.
37349         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37350         * sysdeps/i386/fpu/s_cosf.S: Likewise.
37351         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37352         * sysdeps/i386/fpu/s_sinf.S: Likewise.
37353         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37354         ieee754/flt-32 implementation for tan.
37356         * math/libm-test.inc (cos_test): Enable some large input tests for
37357         float as well
37358         (sin_test): Likewise.
37359         (sincos_test): Likewise.
37360         (tan_test): Add tests for large input.
37362         * sysdeps/i386/fpu/libm-test-ulps: Update.
37364 2012-03-15  Andreas Jaeger  <aj@suse.de>
37366         [BZ #13658]
37367         * math/libm-test.inc (cos_test): Add more test cases.
37368         (sin_test): Likewise.
37369         (sincos_test): Likewise.
37371 2012-03-15  Andreas Jaeger  <aj@suse.de>
37373         [BZ #13837]
37374         * math/libm-test.inc (cos_test): Add a test case for large input
37375         value.
37376         (sin_test): Likewise.
37377         (sincos_test): Likewise.
37379 2012-03-15  Andreas Jaeger  <aj@suse.de>
37380             Joseph Myers  <joseph@codesourcery.com>
37382         [BZ #13658]
37383         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37384         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37385         * sysdeps/i386/fpu/branred.c: Likewise.
37386         * sysdeps/i386/fpu/dosincos.c: Likewise.
37387         * sysdeps/i386/fpu/mpa.c: Likewise.
37388         * sysdeps/i386/fpu/s_cos.S: Likewise.
37389         * sysdeps/i386/fpu/s_sin.S: Likewise.
37390         * sysdeps/i386/fpu/s_sincos.S: Likewise.
37391         * sysdeps/i386/fpu/sincos32.c: Likewise.
37393         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37394         Define.
37395         (libc_feupdateenv_53bit): Define.
37396         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37397         Define.
37398         (libc_feupdateenv_53bit): Define.
37400         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37401         53 bit (without extend i386 double precision).
37403         * math/libm-test.inc (sincos_test): Add tests for large input.
37404         (sin): Likewise.
37405         (cos): Likewise.
37407         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37409 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37411         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37413 2012-03-15  David S. Miller  <davem@davemloft.net>
37415         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37416         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37417         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37418         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37423         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37424         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37425         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37426         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37427         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37428         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37429         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37431         file.
37432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37434         file.
37435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37437         file.
37438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37440         file.
37441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37442         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37443         fmin/fmax sysdep routines.
37444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37446 2012-03-14  David S. Miller  <davem@davemloft.net>
37448         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37449         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37450         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37451         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37452         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37453         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37454         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37455         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37456         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37457         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37458         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37459         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37460         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37461         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37462         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37463         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37464         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37465         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37466         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37467         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37468         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37469         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37470         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37471         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37472         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37473         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37474         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37475         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37476         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37477         routines.
37478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37479         file.
37480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37482         file.
37483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37485         file.
37486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37488         file.
37489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37491         file.
37492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37494         file.
37495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37496         file.
37497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37498         file.
37499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37500         file.
37501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37502         New file.
37503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37504         file.
37505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37506         file.
37507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37509         file.
37510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37512         file.
37513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37515         file.
37516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37518         VIS3 routines.
37520         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37521         New file.
37523         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37525         * sysdeps/sparc/configure.in: New file.
37526         * sysdeps/sparc/configure: Generate.
37527         * configure.in (libc_cv_sparc_as_vis3): Substitute.
37528         * configure: Regenerate.
37529         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37530         * config.make.in (have-as-vis3): New.
37531         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37532         available use -Av9d instead of -Av9a.
37533         * sysdeps/sparc/sparc64/Makefile: Likewise.
37534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37536         New file.
37537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37538         file.
37539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37540         New file.
37541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37542         file.
37543         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37544         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37545         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37546         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37547         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37549         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37550         fzeros/fnegs to load 0x80000000 into a float register instead of
37551         using the stack.
37552         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37554 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
37556         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37557         bits/syscall.h.
37558         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37559         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37560         ($(inst_includedir)/bits/syscall.h): Remove rule.
37561         ($(objpfx)bits/syscall.d): Include instead of
37562         $(objpfx)syscall-list.d.
37563         (generated): Change syscall-list.h and syscall-list.d to
37564         bits/syscall.h and bits/syscall.d.
37566 2012-03-14  Roland McGrath  <roland@hack.frob.com>
37568         [BZ #13846]
37569         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37571 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
37573         [BZ #13841]
37574         * math/s_csqrt.c: Include <float.h>.
37575         (__csqrt): Scale large or subnormal inputs.
37576         * math/s_csqrtf.c: Likewise.
37577         * math/s_csqrtl.c: Likewise.
37578         * math/libm-test.inc (csqrt_test): Add more tests.
37579         * sysdeps/i386/fpu/libm-test-ulps: Update.
37580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37582         [BZ #13840]
37583         * math/libm-test.inc (hypot_test): Add more tests.
37585 2012-03-13  David S. Miller  <davem@davemloft.net>
37587         [BZ #13840]
37588         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37589         double-precision for the calculation instead of scaling.
37591 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
37593         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37594         manipulate bits before adding and subtracting TWO52[sx].
37595         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37596         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37597         Likewise.
37598         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37600 2012-03-13  David S. Miller  <davem@davemloft.net>
37602         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37603         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37604         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37605         rtld-global-offsets.h
37606         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37608         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37609         large parameters.
37611         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37613         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37614         'err' in the ifdef scope in which it is actually used.
37616         * nss/nss_db/db-init.c: Include string.h
37618 2012-03-12  David S. Miller  <davem@davemloft.net>
37620         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37621         masking out of the most significant byte of random value used.
37622         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37623         Fix coding style in previous change.
37625         * sysdeps/unix/sysv/linux/kernel-features.h
37626         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37627         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37628         expression.
37629         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37630         later.
37632 2012-03-11  David S. Miller  <davem@davemloft.net>
37634         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37635         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37636         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37637         for 'resultvar' otherwise things get truncated on 64-bit.
37639         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37640         Fix masking out of the most significant byte of random value used.
37642         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37644 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
37646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37648 2012-03-09  David S. Miller  <davem@davemloft.net>
37650         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37651         variables with appropriate CPP guards.
37652         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37653         from the frame pointer, not the stack pointer.  Correct layout
37654         comments.  Fix test on resulting framesize and the management of
37655         the outregs buffer for pltexit.  Preserve floating point return
37656         values across _dl_call_pltexit call.
37657         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37658         framesize and the management of the outregs buffer for pltexit.
37659         Preserve floating point return values across _dl_call_pltexit
37660         call.
37661         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37662         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37663         (la_sparc64_gnu_pltexit): New functions.
37664         (print_exit): Fix format string for return register value.
37666 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
37668         * sunrpc/Makefile (others): Add rpcgen.
37669         ($(objpfx)rpcgen): Remove special build rule and dependency on
37670         libc.
37671         * sunrpc/rpcgen.c: New file.
37673 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
37675         [BZ #13673]
37676         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37677         * stdio-common/bug-vfprintf-nargs.c: Likewise.
37678         * sysdeps/i386/crti.S: Likewise.
37679         * sysdeps/i386/crtn.S: Likewise.
37680         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37681         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37682         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37683         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37684         * sysdeps/sh/crti.S: Likewise.
37685         * sysdeps/sh/crtn.S: Likewise.
37686         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37688         [BZ #13673]
37689         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37690         with URL.
37691         * locale/programs/locfile-kw.gperf: Likewise.
37692         * locale/programs/charmap-kw.h: Regenerated.
37693         * locale/programs/locfile-kw.h: Likewise.
37695         [BZ #13673]
37696         * intl/plural.y: Replace FSF snail mail address with URL.
37697         * intl/plural.c: Regenerated.
37699 2012-03-09  Richard Henderson  <rth@twiddle.net>
37701         * include/math_private.h: Remove file.
37702         * math/math_private.h: Move file ...
37703         * sysdeps/generic/math_private.h: ... here.
37705         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37706         * sysdeps/powerpc/fpu/math_private.h: Likewise.
37707         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37709         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37710         and <math_private.h>.
37711         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37712         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37713         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37714         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37715         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37716         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37717         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37718         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37719         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37720         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37721         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37722         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37723         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37724         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37725         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37726         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37727         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37728         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37729         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37730         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37731         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37732         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37733         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37734         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37735         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37736         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37737         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37738         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37739         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37740         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37741         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37742         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37743         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37744         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37745         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37746         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37747         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37748         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37749         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37750         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37751         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37752         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37753         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37754         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37755         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37756         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37757         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37758         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37759         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37760         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37761         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37762         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37763         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37764         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37765         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37766         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37767         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37768         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37769         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37770         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37771         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37772         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37773         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37774         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37775         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37776         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37777         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37778         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37779         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37780         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37781         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37782         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37783         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37784         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37785         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37786         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37787         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37788         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37789         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37790         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37791         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37792         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37793         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37794         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37795         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37796         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37797         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37798         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37799         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37800         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37801         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37802         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37803         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37804         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37805         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37806         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37807         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37808         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37809         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37810         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37811         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37812         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37813         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37814         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37815         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37816         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37817         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37818         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37819         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37820         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37821         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37822         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37823         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37824         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37825         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37826         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37827         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37828         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37829         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37830         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37831         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37832         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37833         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37834         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37835         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37836         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37837         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37838         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37839         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37840         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37841         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37842         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37843         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37844         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37845         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37846         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37847         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37848         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37849         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37850         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37851         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37852         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37853         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37854         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37855         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37856         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37857         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37858         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37859         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37860         * sysdeps/ieee754/k_standard.c: Likewise.
37861         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37862         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37863         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37864         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37865         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37866         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37867         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37868         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37869         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37870         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37871         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37872         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37873         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37874         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37875         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37876         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37877         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37878         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37879         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37880         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37881         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37882         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37883         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37884         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37885         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37886         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37887         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37888         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37889         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37890         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37891         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37892         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37893         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37894         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37895         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37896         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37897         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37898         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37899         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37900         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37901         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37902         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37903         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37904         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37905         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37906         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37907         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37908         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37909         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37910         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37911         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37912         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37913         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37914         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37915         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37916         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37917         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37918         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37919         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37920         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37921         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37922         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37923         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37924         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37925         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37926         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37927         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37928         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37929         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37930         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37931         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37932         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37933         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37934         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37935         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37936         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37937         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37938         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37939         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37940         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37941         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37942         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37943         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37944         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37945         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37946         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37947         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37948         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37949         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37950         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37951         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37952         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37953         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37954         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37955         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37956         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37957         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37958         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37959         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37960         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37961         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37962         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37963         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37964         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37965         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37966         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37967         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37968         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37969         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37970         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37971         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37972         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37973         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37974         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37975         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37976         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37977         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37978         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37979         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37980         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37981         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37982         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37983         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37984         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37985         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37986         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37987         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37988         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37989         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37990         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37991         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37992         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37993         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37994         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37995         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37996         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37997         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37998         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37999         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38000         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38001         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38002         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38003         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38004         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38005         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38006         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38007         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38008         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38009         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38010         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38011         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38012         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38013         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38014         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38015         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38016         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38017         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38018         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38019         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38020         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38021         * sysdeps/ieee754/s_lib_version.c: Likewise.
38022         * sysdeps/ieee754/s_matherr.c: Likewise.
38023         * sysdeps/ieee754/s_signgam.c: Likewise.
38024         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38025         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38026         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38027         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38028         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38029         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38030         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38031         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38032         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38033         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38034         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38035         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38036         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38037         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38038         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38039         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38040         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38041         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38042         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38043         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38044         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38046 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38048         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38049         * sunrpc/rpc_main.c: Likewise.
38050         * sunrpc/rpc_svcout.c: Likewise.
38052 2012-03-09  David S. Miller  <davem@davemloft.net>
38054         * include/math_private.h: New file.
38056 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38058         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38059         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38060         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38061         from <bits/socket_type.h>.
38062         (enum __socket_type): Don't define here.
38063         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38064         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38065         bits/socket_type.h.
38067         [BZ #13566]
38068         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38069         checking __USE_GNU.
38071         * Makerules ($(inst_includedir)/%.h): New rule.
38072         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38073         (install-others): Remove variable setting.
38074         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38076 2012-03-08  Richard Henderson  <rth@twiddle.net>
38078         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38079         from macro to inline function; merge with the
38080         !__LIBC_INTERNAL_MATH_INLINES version.
38081         (__ieee754_sqrtf): Likewise.
38083         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38084         to inline function.
38085         (__rintf, __floor, __floorf): Likewise.
38087         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38088         macro to inline function.
38089         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38091         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38092         not <math/math_private.h>.
38094 2012-03-08  David S. Miller  <davem@davemloft.net>
38096         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38097         copyright year.
38098         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38100 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
38102         * resolv/gai_misc.c (handle_requests): Fix struct timespec
38103         normalization.
38104         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38105         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38107 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
38109         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
38110         be defined individually, they must be defined as a block.  Define
38111         S for printing a string instead of hidint the different by using a
38112         macro for adding the 'l'.
38113         * stdio-common/tst-fphex-wide.c: Adjust.
38115 2012-03-07  Marek Polacek  <polacek@redhat.com>
38117         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38119 2012-03-08  Marek Polacek  <polacek@redhat.com>
38121         [BZ #13806]
38122         * stdio-common/Makefile (tests): Add tst-fphex-wide.
38123         * stdio-common/tst-fphex.c: Define a few macros to make the
38124         test reusable.  Use them.
38125         * stdio-common/tst-fphex-wide.c: New file.
38127 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
38129         [BZ #6911]
38130         * manual/macros.texi (gnusystems): New macro.
38131         (nongnusystems): Likewise.
38132         (gnulinuxhurdsystems): Likewise.
38133         (gnuhurdsystems): Likewise..
38134         (gnulinuxsystems): Likewise.
38135         * manual/charset.texi: Use new macros or @theglibc{} to refer to
38136         variants of the GNU system, not "GNU system".
38137         * manual/conf.texi: Likewise.
38138         * manual/errno.texi: Likewise.  Update example of errno macro
38139         expansion.
38140         * manual/filesys.texi: Likewise.
38141         (getumask): Document as specific to GNU/Hurd.
38142         * manual/install.texi: Likewise.  Reword some references to
38143         GNU/Linux.
38144         * manual/intro.texi: Likewise.
38145         * manual/io.texi: Likewise.
38146         (File Name Portability): Detail which constraints are inapplicable
38147         to all GNU systems and which are only inapplicable to GNU/Hurd.
38148         * manual/job.texi: Likewise.
38149         * manual/llio.texi: Likewise.
38150         (O_NOCTTY): Document as present on GNU/Linux.
38151         * manual/maint.texi: Likewise.
38152         * manual/memory.texi: Likewise.
38153         * manual/pattern.texi: Likewise.
38154         * manual/pipe.texi: Likewise.
38155         * manual/process.texi: Likewise.
38156         * manual/resource.texi: Likewise.
38157         (RUSAGE_CHILDREN): Remove statement about specifying a particular
38158         child on GNU/Hurd.
38159         * manual/setjmp.texi: Likewise.
38160         * manual/signal.texi: Likewise.
38161         * manual/startup.texi: Likewise.
38162         * manual/stdio.texi: Likewise.
38163         * manual/terminal.texi: Likewise.
38164         (ONLCR): Document as POSIX.
38165         (OXTABS): Document availability on GNU/Linux as XTABS.
38166         (ONOEOT): Document availability separately from other bits.
38167         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38168         * manual/time.texi: Likewise.
38169         * manual/users.texi: Likewise.
38170         * INSTALL: Regenerated.
38171         * sysdeps/gnu/errlist.c: Regenerated.
38173         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38174         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38175         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
38176         puts.
38177         * configure: Regenerated.
38179 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
38181         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38182         default includes instead of AC_HEADER_CHECK.
38183         * sysdeps/i386/configure: Regenerated.
38185         [BZ #10716]
38186         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38187         * math/s_cacoshf.c (__cacoshf): Likewise.
38188         * math/s_cacoshl.c (__cacoshl): Likewise.
38189         * math/s_casinh.c (__casinh): Set signs of result from argument.
38190         * math/s_casinhf.c (__casinhf): Likewise.
38191         * math/s_casinhl.c (__casinhl): Likewise.
38192         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38193         (casinh_test): Add more tests.
38194         * sysdeps/i386/fpu/libm-test-ulps: Update.
38195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38197 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
38199         * po/zh_TW.po: Update from translation team.
38201         * login/Makefile (distribute): Remove variable.
38202         * catgets/Makefile: Likewise.
38203         * mach/Makefile: Likewise.
38204         * malloc/Makefile: Likewise.
38205         * misc/Makefile: Likewise.
38206         * iconv/Makefile: Likewise.
38207         * nscd/Makefile: Likewise.
38208         * hurd/Makefile: Likewise.
38209         * manual/Makefile: Likewise.
38210         * locale/Makefile: Likewise.
38211         * intl/Makefile: Likewise.
38212         * conform/Makefile: Likewise.
38213         * nss/Makefile: Likewise.
38214         * time/Makefile: Likewise.
38215         * soft-fp/Makefile: Likewise.
38216         * dirent/Makefile: Likewise.
38217         * gmon/Makefile: Likewise.
38218         * po/Makefile: Likewise.
38219         * rt/Makefile: Likewise.
38220         * socket/Makefile: Likewise.
38221         * math/Makefile: Likewise.
38222         * signal/Makefile: Likewise.
38223         * debug/Makefile: Likewise.
38224         * elf/Makefile: Likewise.
38225         * timezone/Makefile: Likewise.
38226         * stdlib/Makefile: Likewise.
38227         * iconvdata/Makefile: Likewise.
38228         * sunrpc/Makefile: Likewise.
38229         * io/Makefile: Likewise.
38230         * argp/Makefile: Likewise.
38231         * inet/Makefile: Likewise.
38232         * hesiod/Makefile: Likewise.
38233         * grp/Makefile: Likewise.
38234         * csu/Makefile: Likewise.
38235         * wctype/Makefile: Likewise.
38236         * crypt/Makefile: Likewise.
38237         * libio/Makefile: Likewise.
38238         * string/Makefile: Likewise.
38239         * nis/Makefile: Likewise.
38240         * resolv/Makefile: Likewise.
38241         * stdio-common/Makefile: Likewise.
38242         * wcsmbs/Makefile: Likewise.
38243         * dlfcn/Makefile: Likewise.
38244         * posix/Makefile: Likewise.
38246         [BZ #6959]
38247         * timezone/Makefile: Don't install timezone files, just the programs
38248         and scripts.
38250 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
38252         * nss/databases.def: Add missing gshadow entry.
38254         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
38256 2012-03-06  Marek Polacek  <polacek@redhat.com>
38258         [BZ #13726]
38259         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38260         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38261         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38262         * stdio-common/tst-long-dbl-fphex.c: New file.
38264 2012-03-06  David S. Miller  <davem@davemloft.net>
38266         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38267         (set_obp_int): New function.
38268         (get_obp_int): New function.
38269         (__get_clockfreq_via_dev_openprom): Likewise.
38270         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38271         Avoid unused variable warnings on 'val' and use builtin_expect.
38272         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38273         __builtin_expect.
38274         (INLINE_CLONE_SYSCALL): Likewise.
38276 2012-03-05  David S. Miller  <davem@davemloft.net>
38278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38280 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
38282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38284         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38285         only for |x| >= 40.
38286         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38288 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
38290         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38291         Replace gettimeofday with __vdso_gettimeofday.
38293         * sysdeps/unix/sysv/linux/x86_64/init-first.c
38294         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38295         __vdso_clock_gettime and __vdso_getcpu.
38297         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38298         time with __vdso_time.
38300 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38302         * manual/lang.texi (size_t): Note types to which size_t may be
38303         equivalent with the GNU C Library, but do not describe when
38304         differences between them are significant.
38306 2012-03-05  Andreas Jaeger  <aj@suse.de>
38308         * sysdeps/i386/fpu/libm-test-ulps: Update.
38310 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38312         [BZ #3976]
38313         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38314         (__ieee754_pow): Save and restore rounding mode and use
38315         round-to-nearest for main computations.
38316         * math/libm-test.inc (pow_test_tonearest): New function.
38317         (pow_test_towardzero): Likewise.
38318         (pow_test_downward): Likewise.
38319         (pow_test_upward): Likewise.
38320         (main): Call the new functions.
38321         * sysdeps/i386/fpu/libm-test-ulps: Update.
38322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38324         [BZ #3976]
38325         * math/libm-test.inc (cosh_test_tonearest): New function.
38326         (cosh_test_towardzero): Likewise.
38327         (cosh_test_downward): Likewise.
38328         (cosh_test_upward): Likewise.
38329         (sinh_test_tonearest): Likewise.
38330         (sinh_test_towardzero): Likewise.
38331         (sinh_test_downward): Likewise.
38332         (sinh_test_upward): Likewise.
38333         (main): Call the new functions.
38334         * sysdeps/i386/fpu/libm-test-ulps: Update.
38335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38337 2012-03-05  Tom de Vries  <tom@codesourcery.com>
38339         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38340         default stack guard is set in last bytes.
38341         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38343 2012-03-05  Kees Cook  <keescook@chromium.org>
38345         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38347         [BZ #13656]
38348         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38349         possibly allocate from heap instead of stack.
38350         * stdio-common/bug-vfprintf-nargs.c: New file.
38351         * stdio-common/Makefile (tests): Add nargs overflow test.
38353 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
38355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38357 2012-03-03  Marek Polacek  <polacek@redhat.com>
38359         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38360         * math/math_private.h: Likewise.
38361         * stdlib/tst-strtod.c: Likewise.
38362         * sysdeps/i386/i486/bits/atomic.h: Likewise.
38363         * sysdeps/x86_64/bits/atomic.h: Likewise.
38365 2012-03-02  David S. Miller  <davem@davemloft.net>
38367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38371         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38372         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38373         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38374         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38376 2012-03-02  Roland McGrath  <roland@hack.frob.com>
38378         [BZ #13792]
38379         * manual/examples/README: New file, says the example source files
38380         can be used under GPL>=2.
38381         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38382         line containing just "*/".
38383         * manual/examples/add.c: Add copyright header (GPL>=2).
38384         * manual/examples/argp-ex1.c: Likewise.
38385         * manual/examples/argp-ex2.c: Likewise.
38386         * manual/examples/argp-ex3.c: Likewise.
38387         * manual/examples/argp-ex4.c: Likewise.
38388         * manual/examples/atexit.c: Likewise.
38389         * manual/examples/db.c: Likewise.
38390         * manual/examples/dir.c: Likewise.
38391         * manual/examples/dir2.c: Likewise.
38392         * manual/examples/execinfo.c: Likewise.
38393         * manual/examples/filecli.c: Likewise.
38394         * manual/examples/filesrv.c: Likewise.
38395         * manual/examples/fmtmsgexpl.c: Likewise.
38396         * manual/examples/genpass.c: Likewise.
38397         * manual/examples/inetcli.c: Likewise.
38398         * manual/examples/inetsrv.c: Likewise.
38399         * manual/examples/isockad.c: Likewise.
38400         * manual/examples/longopt.c: Likewise.
38401         * manual/examples/memopen.c: Likewise.
38402         * manual/examples/memstrm.c: Likewise.
38403         * manual/examples/mkfsock.c: Likewise.
38404         * manual/examples/mkisock.c: Likewise.
38405         * manual/examples/mygetpass.c: Likewise.
38406         * manual/examples/pipe.c: Likewise.
38407         * manual/examples/popen.c: Likewise.
38408         * manual/examples/rprintf.c: Likewise.
38409         * manual/examples/search.c: Likewise.
38410         * manual/examples/select.c: Likewise.
38411         * manual/examples/setjmp.c: Likewise.
38412         * manual/examples/sigh1.c: Likewise.
38413         * manual/examples/sigusr.c: Likewise.
38414         * manual/examples/stpcpy.c: Likewise.
38415         * manual/examples/strdupa.c: Likewise.
38416         * manual/examples/strftim.c: Likewise.
38417         * manual/examples/strncat.c: Likewise.
38418         * manual/examples/subopt.c: Likewise.
38419         * manual/examples/swapcontext.c: Likewise.
38420         * manual/examples/termios.c: Likewise.
38421         * manual/examples/testopt.c: Likewise.
38422         * manual/examples/testpass.c: Likewise.
38423         * manual/examples/timeval_subtract.c: Likewise.
38425         [BZ #13792]
38426         * manual/time.texi (Elapsed Time): Move timeval_subtract example
38427         function to ...
38428         * manual/timeval_subtract.c.texi: ... here, new file.
38430 2012-03-02  David S. Miller  <davem@davemloft.net>
38432         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38434 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
38436         [BZ #3976]
38437         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38438         (__sin): Save and restore rounding mode and use round-to-nearest
38439         for all computations.
38440         (__cos): Save and restore rounding mode and use round-to-nearest
38441         for all computations.
38442         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38443         <fenv.h>.
38444         (tan): Save and restore rounding mode and use round-to-nearest for
38445         all computations.
38446         * math/libm-test.inc (cos_test_tonearest): New function.
38447         (cos_test_towardzero): Likewise.
38448         (cos_test_downward): Likewise.
38449         (cos_test_upward): Likewise.
38450         (sin_test_tonearest): Likewise.
38451         (sin_test_towardzero): Likewise.
38452         (sin_test_downward): Likewise.
38453         (sin_test_upward): Likewise.
38454         (tan_test_tonearest): Likewise.
38455         (tan_test_towardzero): Likewise.
38456         (tan_test_downward): Likewise.
38457         (tan_test_upward): Likewise.
38458         (main): Call the new functions.
38459         * sysdeps/i386/fpu/libm-test-ulps: Update.
38460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38462         [BZ #10135]
38463         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38464         small n, then large n, before computing and testing k+n.
38465         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38466         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38467         Likewise.
38468         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38469         Likewise.
38470         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38471         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38472         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38473         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38474         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38475         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38476         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38477         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38478         * math/libm-test.inc (scalbn_test): Add more tests.
38479         (scalbln_test): Likewise.
38481         * manual/filesys.texi (mode_t): Describe constraints on size and
38482         signedness, not exact equivalence to a particular type.
38483         (ino_t): Likewise.
38484         (ino64_t): Likewise.
38485         (dev_t): Likewise.
38486         (nlink_t): Likewise.
38487         (blkcnt_t): Likewise.
38488         (blkcnt64_t): Likewise.
38489         * manual/llio.texi (off_t): Likewise.
38491         [BZ #3976]
38492         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38493         (__ieee754_exp): Save and restore rounding mode and use
38494         round-to-nearest for all computations.
38495         * math/libm-test.inc (exp_test_tonearest): New function.
38496         (exp_test_towardzero): Likewise.
38497         (exp_test_downward): Likewise.
38498         (exp_test_upward): Likewise.
38499         (main): Call the new functions.
38500         * sysdeps/i386/fpu/libm-test-ulps: Update.
38501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38503 2012-03-01  Chris Demetriou  <cgd@google.com>
38505         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38506         have predictable order.
38508 2012-03-01  David S. Miller  <davem@davemloft.net>
38510         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38512         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38513         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38514         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38515         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38517         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38518         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38519         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38521         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38522         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38523         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38524         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38525         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38529         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38530         * sysdeps/sparc/fpu/libm-test-ulps: to here.
38531         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38533         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38534         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38535         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38536         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38537         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38538         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38539         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38540         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38541         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38542         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38543         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38544         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38545         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38546         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38547         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38548         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38549         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38550         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38551         * sysdeps/sparc/elf/configure: Regenerated.
38553 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
38555         * configure.in (AS, LD): Require binutils 2.20 or later.
38556         * configure: Regenerated.
38557         * manual/install.texi (Tools for Compilation): Give binutils 2.20
38558         as required minimum version.
38559         * INSTALL: Regenerated.
38561         [BZ #2541]
38562         [BZ #4108]
38563         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38564         before squaring exponent.
38565         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38566         bottom long double and 27 bits of top long double before squaring
38567         exponent.
38568         * math/libm-test.inc (erfc_test): Add more tests.
38569         * sysdeps/i386/fpu/libm-test-ulps: Update.
38570         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38573 2012-03-01  Kai Tietz  <ktietz@redhat.com>
38575         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38576         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38577         containing bit-fields.
38578         * soft-fp/extended.h (_FP_UNION_E): Likewise.
38579         * soft-fp/single.h (_FP_UNION_S): Likewise.
38580         * soft-fp/double.h (_FP_UNION_D): Likewise.
38582 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
38584         [BZ #13786]
38585         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38586         not include ../strcmp.S.
38587         [USE_AS_STRNCASECMP_L]: Likewise.
38588         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38589         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38590         * sysdeps/i386/i686/multiarch/strncase_l-c.c
38591         (__strncasecmp_l_ia32): Define as alias to
38592         __strncasecmp_l_nonascii.
38594         [BZ #5794]
38595         * math/libm-test.inc (expm1_test): Add test for bug 5794.
38596         * sysdeps/i386/fpu/libm-test-ulps: Update.
38597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38599         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38602 2012-02-29  Jeff Law  <law@redhat.com>
38604         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38605         out of bounds read.
38607 2012-02-29  Marek Polacek  <polacek@redhat.com>
38609         [BZ #13706]
38610         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38611         * elf/Makefile: Add rules to run tst-unused-dep.out.
38613 2012-02-28  David S. Miller  <davem@davemloft.net>
38615         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38616         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38617         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38618         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38619         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38620         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38622 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
38624         * math/libm-test.inc (llround_test): Move one test from
38625         lround_test.  Use TEST_f_L in moved test.
38626         (lround_test): Move misplaced test to llround_test.  Add testcase
38627         from bug 2561.
38629 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
38631         * sysdeps/x86_64/fpu/e_expf.S: New file.
38632         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38634 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
38636         [BZ #13637]
38637         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38638         of remain_len that may cause incomplete multi-byte character and
38639         false match.
38640         * posix/bug-regex33.c: New file.
38641         * posix/Makefile (tests): Add bug-regex33.
38643 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
38645         * manual/macros.texi: New file.
38646         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38647         * manual/libc.texinfo: Include macros.texi.
38648         * manual/creatute.texi: Likewise.
38649         * manual/install.texi: Likewise.
38650         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38651         @glibcadj{} in references to the GNU C Library.
38652         * manual/charset.texi: Likewise.
38653         * manual/conf.texi: Likewise.
38654         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
38655         when not using those macros.
38656         * manual/creature.texi: Likewise.
38657         * manual/crypt.texi: Likewise.
38658         * manual/errno.texi: Likewise.
38659         * manual/filesys.texi: Likewise.
38660         * manual/header.texi: Likewise.
38661         * manual/install.texi: Likewise.
38662         * manual/intro.texi: Likewise.
38663         * manual/io.texi: Likewise.
38664         * manual/job.texi: Likewise.
38665         * manual/lang.texi: Likewise.
38666         * manual/libc.texiinfo: Likewise.
38667         * manual/llio.texi: Likewise.
38668         * manual/locale.texi: Likewise.
38669         * manual/maint.texi: Likewise.
38670         * manual/math.texi: Likewise.
38671         * manual/memory.texi: Likewise.
38672         * manual/message.texi: Likewise.
38673         * manual/nss.texi: Likewise.
38674         * manual/pattern.texi: Likewise.
38675         * manual/process.texi: Likewise.
38676         * manual/resource.texi: Likewise.
38677         * manual/search.texi: Likewise.
38678         * manual/setjmp.texi: Likewise.
38679         * manual/signal.texi: Likewise.
38680         * manual/socket.texi: Likewise.
38681         * manual/startup.texi: Likewise.
38682         * manual/stdio.texi: Likewise.
38683         * manual/string.texi: Likewise.
38684         * manual/sysinfo.texi: Likewise.
38685         * manual/syslog.texi: Likewise.
38686         * manual/terminal.texi: Likewise.
38687         * manual/time.texi: Likewise.
38688         * manual/users.texi: Likewise.
38689         * INSTALL: Regenerated.
38690         * NOTES: Regenerated.
38691         * sysdeps/gnu/errlist.c: Regenerated.
38693 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
38695         * include/dirent.h: Include <dirstream.h> before
38696         <dirent/dirent.h>.
38698 2012-02-28  David S. Miller  <davem@davemloft.net>
38700         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38701         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38702         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38703         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38705 2012-02-27  David S. Miller  <davem@davemloft.net>
38707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38709         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38710         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38713         frame pointer instead of stack pointer relative arg slot.
38714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38715         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38716         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38718 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
38720         [BZ #3992]
38721         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38723 2012-02-27  David S. Miller  <davem@davemloft.net>
38725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38729         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38730         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38731         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38732         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38734 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
38736         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38737         later.  Allow versions 5-9.
38738         * configure: Regenerated.
38739         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38740         required minimum version and 4.6 as recommended version.  Do not
38741         mention bugs in GCC 2.7 and 2.8.
38742         * INSTALL: Regenerated.
38744 2012-02-27  David S. Miller  <davem@davemloft.net>
38746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38750         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38751         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38752         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38753         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38755         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38756         manipulate bits before adding and subtracting TWO112[sx].
38757         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38759 2012-02-27  Roland McGrath  <roland@hack.frob.com>
38761         [BZ #13775]
38762         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38763         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38764         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38765         being in POSIX, because they are in 1003.1-2008.
38767         * rt/tst-aio.c: Include <fcntl.h>.
38768         * rt/tst-aio7.c: Likewise.
38769         * rt/tst-aio64.c: Likewise.
38771         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38773 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
38775         * manual/install.texi (--with-headers): Describe headers as
38776         interface headers, not private headers.
38777         (Specific advice for GNU/Linux systems): Describe use of headers
38778         from "make headers_install", not private headers from older
38779         kernels.
38780         * INSTALL: Regenerated.
38781         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38782         Change to 2.6.19.
38783         * sysdeps/unix/sysv/linux/configure: Regenerated.
38785         * manual/llio.texi (fclean): Remove documentation.
38787         * manual/Makefile (libc-texi-generated): New variable.  Include
38788         version.texi.
38789         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38790         $(libc-texi-generated), not duplicated list of files.
38791         (version.texi, stamp-version): New rules.
38792         (realclean): Remove $(libc-texi-generated), not individual files
38793         from that list.  Do not remove dir-add.texinfo.
38794         * manual/libc.texinfo: Comment out uses of edition numbers and
38795         references to printed manual.  Remove last-updated dates.
38796         (EDITION): Comment out.
38797         (ISBN): Likewise.
38798         (VERSION, UPDATED): Remove.
38799         (version.texi): Include.
38801 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
38803         * sysdeps/posix/spawni.c: Include <signal.h>.
38804         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38805         * sysdeps/pthread/aio_fsync.c: Likewise.
38807 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
38809         * conform/Makefile (tests): Run only when not cross-compiling and
38810         when fast-check is not defined.
38812         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38813         * conform/data/limits.h-data: Fixes for POSIX2008.
38814         * conform/run-conformtest.sh: Run all tests.
38815         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38816         headers.
38817         * include/bits/dlfcn.h: Likewise.
38818         * include/langinfo.h: Likewise.
38819         * include/monetary.h: Likewise.
38820         * include/sys/poll.h: Likewise.
38822         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38823         for __USE_GNU.
38824         * posix/spawn.h: Define __need_sigset_t.
38825         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38826         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38827         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
38828         to get sigevent_t only.
38829         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38830         only for __USE_GNU.
38831         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38832         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38833         process_vm_writev only for __USE_GNU.
38834         * termios/termios.h: Declare tcgetsid also for POSIX2008.
38836         * conform/Makefile: For now ignore errors from run-conformtest.
38837         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
38838         POSIX to avoid namespace pollution.  Don't prepend headers.
38839         * conform/data/aio.h-data: Fixes for POSIX testing.
38840         * conform/data/fcntl.h-data: Likewise.
38841         * conform/data/glob.h-data: Likewise.
38842         * conform/data/grp.h-data: Likewise.
38843         * conform/data/pthread.h-data: Likewise.
38844         * conform/data/pwd.h-data: Likewise.
38845         * conform/data/signal.h-data: Likewise.
38846         * conform/data/spawn.h-data: Likewise.
38847         * conform/data/stdio.h-data: Likewise.
38848         * conform/data/stdlib.h-data: Likewise.
38849         * conform/data/stropts.h-data: Likewise.
38850         * conform/data/sys/mman.h-data: Likewise.
38851         * conform/data/sys/stat.h-data: Likewise.
38852         * conform/data/sys/types.h-data: Likewise.
38853         * conform/data/sys/wait.h-data: Likewise.
38854         * conform/data/time.h-data: Likewise.
38855         * conform/data/unistd.h-data: Likewise.
38856         * conform/data/utime.h-data: Likewise.
38858         * io/sys/stat.h: fchmod was always in POSIX.
38859         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38860         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38861         * rt/aio.h: Define __need_timespec before including <time.h>.
38862         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38863         struct.  Add forward declaration of pthread_attr_t and use it in
38864         sigevent.
38865         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38866         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38867         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38868         always remove CLK_TCK definition.
38870 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
38872         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38874 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
38876         * conform/run-conformtest.sh: New file.
38877         * conform/Makefile: Run run-conformtest for tests.
38878         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
38879         support.
38881         * conform/data/uchar.h-data: New file.
38882         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38883         * conform/data/arpa/inet.h-data: Likewise.
38884         * conform/data/assert.h-data: Likewise.
38885         * conform/data/complex.h-data: Likewise.
38886         * conform/data/cpio.h-data: Likewise.
38887         * conform/data/ctype.h-data: Likewise.
38888         * conform/data/dirent.h-data: Likewise.
38889         * conform/data/dlfcn.h-data: Likewise.
38890         * conform/data/errno.h-data: Likewise.
38891         * conform/data/fcntl.h-data: Likewise.
38892         * conform/data/float.h-data: Likewise.
38893         * conform/data/fmtmsg.h-data: Likewise.
38894         * conform/data/fnmatch.h-data: Likewise.
38895         * conform/data/ftw.h-data: Likewise.
38896         * conform/data/glob.h-data: Likewise.
38897         * conform/data/grp.h-data: Likewise.
38898         * conform/data/iconv.h-data: Likewise.
38899         * conform/data/inttypes.h-data: Likewise.
38900         * conform/data/langinfo.h-data: Likewise.
38901         * conform/data/libgen.h-data: Likewise.
38902         * conform/data/limits.h-data: Likewise.
38903         * conform/data/locale.h-data: Likewise.
38904         * conform/data/math.h-data: Likewise.
38905         * conform/data/monetary.h-data: Likewise.
38906         * conform/data/mqueue.h-data: Likewise.
38907         * conform/data/ndbm.h-data: Likewise.
38908         * conform/data/net/if.h-data: Likewise.
38909         * conform/data/netdb.h-data: Likewise.
38910         * conform/data/netinet/in.h-data: Likewise.
38911         * conform/data/nl_types.h-data: Likewise.
38912         * conform/data/poll.h-data: Likewise.
38913         * conform/data/pthread.h-data: Likewise.
38914         * conform/data/pwd.h-data: Likewise.
38915         * conform/data/regex.h-data: Likewise.
38916         * conform/data/sched.h-data: Likewise.
38917         * conform/data/search.h-data: Likewise.
38918         * conform/data/semaphore.h-data: Likewise.
38919         * conform/data/setjmp.h-data: Likewise.
38920         * conform/data/signal.h-data: Likewise.
38921         * conform/data/spawn.h-data: Likewise.
38922         * conform/data/stdarg.h-data: Likewise.
38923         * conform/data/stdio.h-data: Likewise.
38924         * conform/data/stdlib.h-data: Likewise.
38925         * conform/data/string.h-data: Likewise.
38926         * conform/data/strings.h-data: Likewise.
38927         * conform/data/stropts.h-data: Likewise.
38928         * conform/data/sys/ipc.h-data: Likewise.
38929         * conform/data/sys/mman.h-data: Likewise.
38930         * conform/data/sys/msg.h-data: Likewise.
38931         * conform/data/sys/resource.h-data: Likewise.
38932         * conform/data/sys/select.h-data: Likewise.
38933         * conform/data/sys/sem.h-data: Likewise.
38934         * conform/data/sys/shm.h-data: Likewise.
38935         * conform/data/sys/socket.h-data: Likewise.
38936         * conform/data/sys/stat.h-data: Likewise.
38937         * conform/data/sys/statvfs.h-data: Likewise.
38938         * conform/data/sys/time.h-data: Likewise.
38939         * conform/data/sys/timeb.h-data: Likewise.
38940         * conform/data/sys/times.h-data: Likewise.
38941         * conform/data/sys/types.h-data: Likewise.
38942         * conform/data/sys/uio.h-data: Likewise.
38943         * conform/data/sys/un.h-data: Likewise.
38944         * conform/data/sys/utsname.h-data: Likewise.
38945         * conform/data/sys/wait.h-data: Likewise.
38946         * conform/data/syslog.h-data: Likewise.
38947         * conform/data/tar.h-data: Likewise.
38948         * conform/data/termios.h-data: Likewise.
38949         * conform/data/utime.h-data: Likewise.
38950         * conform/data/utmpx.h-data: Likewise.
38951         * conform/data/varargs.h-data: Likewise.
38952         * conform/data/wchar.h-data: Likewise.
38953         * conform/data/wctype.h-data: Likewise.
38954         * conform/data/wordexp.h-data: Likewise.
38956         * include/stropts.h: New file.
38957         * include/uchar.h: New file.
38958         * include/aio.h: Changes to allow conformtest.pl to use the headers.
38959         * include/assert.h: Likewise.
38960         * include/ctype.h: Likewise.
38961         * include/dirent.h: Likewise.
38962         * include/dlfcn.h: Likewise.
38963         * include/fcntl.h: Likewise.
38964         * include/fnmatch.h: Likewise.
38965         * include/glob.h: Likewise.
38966         * include/grp.h: Likewise.
38967         * include/libio.h: Likewise.
38968         * include/locale.h: Likewise.
38969         * include/math.h: Likewise.
38970         * include/net/if.h: Likewise.
38971         * include/netdb.h: Likewise.
38972         * include/netinet/in.h: Likewise.
38973         * include/pthread.h: Likewise.
38974         * include/pwd.h: Likewise.
38975         * include/regex.h: Likewise.
38976         * include/sched.h: Likewise.
38977         * include/search.h: Likewise.
38978         * include/setjmp.h: Likewise.
38979         * include/signal.h: Likewise.
38980         * include/stdio.h: Likewise.
38981         * include/stdlib.h: Likewise.
38982         * include/string.h: Likewise.
38983         * include/sys/cdefs.h: Likewise.
38984         * include/sys/mman.h: Likewise.
38985         * include/sys/msg.h: Likewise.
38986         * include/sys/resource.h: Likewise.
38987         * include/sys/select.h: Likewise.
38988         * include/sys/socket.h: Likewise.
38989         * include/sys/stat.h: Likewise.
38990         * include/sys/statvfs.h: Likewise.
38991         * include/sys/time.h: Likewise.
38992         * include/sys/times.h: Likewise.
38993         * include/sys/uio.h: Likewise.
38994         * include/sys/utsname.h: Likewise.
38995         * include/sys/wait.h: Likewise.
38996         * include/termios.h: Likewise.
38997         * include/time.h: Likewise.
38998         * include/ulimit.h: Likewise.
38999         * include/unistd.h: Likewise.
39000         * include/utime.h: Likewise.
39001         * include/wchar.h: Likewise.
39002         * include/wctype.h: Likewise.
39003         * include/wordexp.h: Likewise.
39005         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39007         * time/time.h: TIME_UTC must be a macro.
39008         Make timespec_get available for ISO C11 only as well.
39010 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
39012         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39013         Reported by Peng Haitao <penght@cn.fujitsu.com>.
39015 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39017         * configure.in: Use -o not -a in test for unsupported multi-arch.
39019 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39021         * manual/texinfo.tex: Update to version 2012-01-19.16.
39023 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39025         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39027 2012-02-24  Roland McGrath  <roland@hack.frob.com>
39029         [BZ #13738]
39030         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39031         * manual/fdl-1.3.texi: New file.
39032         * manual/fdl-1.1.texi: File removed.
39034         [BZ #13738]
39035         * manual/libc.texinfo (FDL_VERSION): New @set.
39036         Use it for mention of FDL in cover text.
39037         (Documentation License): Use it in @include file name.
39039 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39040             Roland McGrath  <roland@hack.frob.com>
39042         [BZ #5461]
39043         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39044         (not LONG_LONG_MAX and LONG_LONG_MIN.
39045         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39046         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
39047         name.
39048         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39050 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39052         [BZ #2547]
39053         [BZ #11365]
39054         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39055         manipulate bits before adding and subtracting TWO23[sx].
39056         * math/libm-test.inc (nearbyint_test): Add more tests.
39058 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39060         [BZ #2548]
39061         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39062         bits before adding and subtracting TWO23[sx].
39063         * math/libm-test.inc (rint_test): Add more tests.
39064         (rint_test_tonearest): Likewise.
39065         (rint_test_towardzero): Likewise.
39066         (rint_test_downward): Likewise.
39067         (rint_test_upward: Likewise.
39069 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39071         [BZ #10110]
39072         * include/stdc-predef.h: New file.  Extracted from features.h.
39073         * include/features.h: Include stdc-predef.h.
39074         * Makefile (headers): Add stdc-predef.h.
39075         * CONFORMANCE (Compiler limitations): Update.
39077 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39079         * manual/libc.texinfo (VERSION, UPDATED): Revert.
39081 2012-02-21  David S. Miller  <davem@davemloft.net>
39083         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39084         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39086 2012-02-20  David S. Miller  <davem@davemloft.net>
39088         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39089         using a normal save/restore sequence, rather than allocating a
39090         dummy stack frame just to store a frame pointer and restore.
39091         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39093 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39095         * manual/install.texi: Fix stray word in line-wrapped comment.
39097 2012-02-20  David S. Miller  <davem@davemloft.net>
39099         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39100         both binutils and gcc support GOTDATA.
39102         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39103         "rd %pc" in the PIC register setup sequences.
39105         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39106         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39107         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39108         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39109         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39110         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39111         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39112         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39113         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39114         (SYSCALL_ERROR_HANDLER): Likewise.
39115         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39116         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39117         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39118         (SYSCALL_ERROR_HANDLER): Likewise.
39120         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39121         (HAVE_GCC_GOTDATA): New.
39122         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39123         relocation support in both binutils and gcc.
39124         * sysdeps/sparc/elf/configure: Regenerate.
39126         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39127         * sysdeps/sparc/sparc32/elf/configure: Delete.
39128         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39129         * sysdeps/sparc/sparc64/elf/configure: Delete.
39130         * sysdeps/sparc/elf/configure.in: New file.
39131         * sysdeps/sparc/elf/configure: Generate.
39133         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39134         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39135         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39136         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39137         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39139 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39141         * manual/install.texi: Do not mention specific glibc version
39142         numbers.
39143         * manual/libc.texinfo (VERSION, UPDATED): Update.
39144         (@copying): Use @copyright{} and range of years.
39146 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39148         [BZ #13695]
39149         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39150         [crti.S not in sysdirs] (generated): Do not append.
39151         [crti.S not in sysdirs] (omit-deps): Likewise.
39152         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39153         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39154         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39155         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39156         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39157         Likewise.
39158         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39159         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39160         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39161         * csu/defs.awk: Remove file.
39162         * sysdeps/generic/initfini.c: Likewise.
39163         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39164         variable.
39165         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39166         Likewise.
39168 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39170         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39171         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39172         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39173         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39174         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39175         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39176         <bits/epoll.h>.
39177         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39178         (__EPOLL_PACKED): Define to empty if not defined by
39179         <bits/epoll.h>.
39180         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39181         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39182         bits/epoll.h.
39184 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39186         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39187         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39188         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39189         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39190         <bits/timerfd.h>.
39191         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39192         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39193         bits/timerfd.h.
39195 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39197         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39198         in C locale.
39199         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39200         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39201         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39204 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
39206         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39207         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39209 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
39211         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39212         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39213         defined.
39214         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39215         Likewise.
39216         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39217         entry for 2.16.
39219 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
39221         * math/w_acos.c: Use non-signaling floating-point comparisons.
39222         * math/w_acosf.c: Likewise.
39223         * math/w_acosh.c: Likewise.
39224         * math/w_acoshf.c: Likewise.
39225         * math/w_acoshl.c: Likewise.
39226         * math/w_acosl.c: Likewise.
39227         * math/w_asin.c: Likewise.
39228         * math/w_asinf.c: Likewise.
39229         * math/w_asinl.c: Likewise.
39230         * math/w_atanh.c: Likewise.
39231         * math/w_atanhf.c: Likewise.
39232         * math/w_atanhl.c: Likewise.
39233         * math/w_exp2.c: Likewise.
39234         * math/w_exp2f.c: Likewise.
39235         * math/w_exp2l.c: Likewise.
39236         * math/w_j0.c: Likewise.
39237         * math/w_j0f.c: Likewise.
39238         * math/w_j0l.c: Likewise.
39239         * math/w_j1.c: Likewise.
39240         * math/w_j1f.c: Likewise.
39241         * math/w_j1l.c: Likewise.
39242         * math/w_jn.c: Likewise.
39243         * math/w_jnf.c: Likewise.
39244         * math/w_log.c: Likewise.
39245         * math/w_log10.c: Likewise.
39246         * math/w_log10f.c: Likewise.
39247         * math/w_log10l.c: Likewise.
39248         * math/w_log2.c: Likewise.
39249         * math/w_log2f.c: Likewise.
39250         * math/w_log2l.c: Likewise.
39251         * math/w_logf.c: Likewise.
39252         * math/w_logl.c: Likewise.
39253         * math/w_sqrt.c: Likewise.
39254         * math/w_sqrtf.c: Likewise.
39255         * math/w_sqrtl.c: Likewise.
39256         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39257         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39258         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39259         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39260         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39262 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39264         [BZ #9739]
39265         * manual/string.texi (strnlen): Use correct parameter name in
39266         equivalent expression.
39268 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39270         [BZ #11174]
39271         * manual/users.texi (seteuid): Consistently use neweuid for
39272         argument name.
39274 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39276         [BZ #13704]
39277         * manual/nss.texi (Services in the NSS configuration): Correct
39278         list of services in example configuration file.
39280 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
39282         [BZ #11322]
39283         * manual/arith.texi: Remove statements about negative zero
39284         behaving identically to zero.
39286 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39288         [BZ #5993]
39289         * manual/install.texi: Do not document upgrading from libc5.
39291 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39293         [BZ #4596]
39294         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39296 2012-02-18  David S. Miller  <davem@davemloft.net>
39298         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39299         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39300         %o7 across the call.
39301         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39302         instead.
39303         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39304         SETUP_PIC_REG_LEAF.
39305         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39306         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39307         * sysdeps/sparc/crtn.S: Likewise.
39309 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
39311         * aout/Makefile: Remove.
39313 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
39315         [BZ #13058]
39316         * manual/examples/argp-ex1.c (main): Format definition in GNU
39317         style.
39318         * manual/examples/argp-ex2.c (main): Likewise.
39319         * manual/examples/argp-ex3.c (main): Likewise.
39320         * manual/examples/argp-ex4.c (main): Likewise.
39321         * manual/examples/longopt.c (main): Use new-style prototype
39322         definition.
39323         * manual/examples/strncat.c (main): Specify return type and use
39324         (void) for arguments.
39325         * manual/examples/subopt.c (main): Use char **argv argument.
39327 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39329         [BZ #5077]
39330         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39331         rounding modes.
39333 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
39335         [BZ #6907]
39336         * manual/string.texi (strchr): Change when strchrnul is
39337         recommended.
39339 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
39341         [BZ #174]
39342         * manual/locale.texi (setlocale): Document LOCPATH.
39344 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39346         [BZ #10210]
39347         * manual/process.texi (execle): Move @dots{} before last argument.
39349 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
39351         [BZ #12047]
39352         * manual/charset.texi (Generic Charset Conversion): Fix typo
39353         (LC_TYPE -> LC_CTYPE).
39355 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
39357         [BZ #5805]
39358         * manual/arith.texi (scalbn): Use @var{} on parameter names.
39359         (scalbnf): Likewise.
39360         (scalbnl): Likewise.
39361         (scalbln): Likewise.
39362         (scalblnf): Likewise.
39363         (scalblnl): Likewise.
39364         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39365         (vwarnx): Likewise.
39366         (verr): Likewise.
39367         (verrx): Likewise.
39368         * manual/filesys.texi (telldir): Use braces around return type.
39369         * manual/llio.texi (mmap): Add space after comma.
39370         (mmap64): Likewise.
39371         * manual/math.texi (jn): Use @var{} on parameter names.
39372         (jnf): Likewise.
39373         (jnl): Likewise.
39374         (yn): Likewise.
39375         (ynf): Likewise.
39376         (ynl): Likewise.
39377         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39378         line.
39379         * manual/resource.texi (ulimit): Use @dots{} instead of literal
39380         "...".
39381         (sched_get_priority_min): Remove semicolon on @deftypefun line.
39382         (sched_get_priority_max): Likewise.
39383         * manual/signal.texi (sigvec): Add space after comma.
39384         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39385         names.
39386         (if_indextoname): Likewise.
39387         (if_freenameindex): Likewise.
39388         (sendto): Use ',' instead of '.' in prototype.
39389         * manual/startup.texi (syscall): Use @dots{} instead of literal
39390         "...".
39391         * manual/stdio.texi (__fpending): Separate initial words of
39392         paragraph from @deftypefun line.
39393         * manual/syslog.texi (syslog): Use @dots{} instead of literal
39394         "...".
39395         (vsyslog): Use @var{} on parameter names.
39396         * manual/terminal.texi (stty): Use @var{} on parameter names.
39397         * manual/users.texi (getutmp): Use @var{} on parameter names.
39398         (getutmpx): Likewise.
39400 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39402         [BZ #6884]
39403         * manual/stdio.texi (fopen): Fix typos in description of
39404         ",ccs=STRING".
39406 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
39408         [BZ #4026]
39409         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39410         get clock_id definition.
39412 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
39414         [BZ #4822]
39415         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39416         (madvise): Cast every argument to void on its own.
39418 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39420         [BZ #9902]
39421         * manual/startup.texi (Exit Status): Fix typo.
39423 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39425         [BZ #10140]
39426         * manual/examples/argp-ex1.c: Include <stdlib.h>.
39427         * manual/examples/argp-ex2.c: Likewise.
39428         * manual/examples/argp-ex3.c: Likewise.
39430 2012-02-16  Richard Henderson  <rth@redhat.com>
39432         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39433         * sysdeps/s390/s390-32/initfini.c: Remove.
39434         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39435         * sysdeps/s390/s390-64/initfini.c: Remove.
39437 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39439         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39440         compiler output for sysdeps/generic/initfini.c.
39441         * sysdeps/sh/elf/initfini.c: Remove file.
39443 2012-02-16  David S. Miller  <davem@davemloft.net>
39445         [BZ #11494]
39446         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39448         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39449         * sysdeps/sparc/crti.S: New file.
39450         * sysdeps/sparc/crtn.S: New file.
39451         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39452         * sysdeps/sparc/sparc64/Makefile: Likewise.
39454 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
39456         [BZ #3335]
39457         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39459 2012-02-15  Roland McGrath  <roland@hack.frob.com>
39461         [BZ #4822]
39462         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39464         * mach/devstream.c (cookie_io_functions_t): Macro removed.
39465         (write, read, close): Likewise.
39466         Patch by Aurelien Jarno <aurelien@aurel32.net>.
39468 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
39470         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39471         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39472         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39473         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39474         <bits/signalfd.h>.
39475         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39476         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39477         bits/signalfd.h.
39479 2012-02-14  Marek Polacek  <polacek@redhat.com>
39481         * sysdeps/x86_64/crti.S: New file.
39482         * sysdeps/x86_64/crtn.S: New file.
39483         * sysdeps/x86_64/elf/initfini.c: Remove file.
39485 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
39487         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39488         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39489         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39490         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39491         <bits/inotify.h>.
39492         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39493         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39494         bits/inotify.h.
39496 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
39498         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39499         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39500         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39501         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39502         <bits/eventfd.h>.
39503         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39504         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39505         bits/eventfd.h.
39507 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
39509         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39510         __feraiseexcept instead of feraiseexcept.
39512         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39513         nanosleep invocations.
39514         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39515         strings, and add error checking for a nanosleep invocations.
39517 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
39519         Replace FSF snail mail address with URLs, as per GNU coding standards.
39520         Most of the snail mail addresses were wrong anyway, and omitting
39521         them makes the source code easier to maintain.  Almost all of the
39522         changes are to license notices and to locale LC_IDENTIFICATION
39523         addresses, except for this one:
39524         * manual/libc.texinfo: In "Published by", give the FSF's URL,
39525         not its snail mail address.
39527 2012-02-09  Richard Henderson  <rth@twiddle.net>
39529         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39530         of kernel-features.h.
39532         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39534 2012-02-08  Marek Polacek  <polacek@redhat.com>
39536         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39537         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39538         * sysdeps/gnu/_G_config.h: Likewise.
39539         * sysdeps/generic/_G_config.h: Likewise.
39541 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
39543         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39544         tests.
39545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39547         * sysdeps/powerpc/powerpc32/crti.S: New file.
39548         * sysdeps/powerpc/powerpc32/crtn.S: New file.
39549         * sysdeps/powerpc/powerpc64/crti.S: New file.
39550         * sysdeps/powerpc/powerpc64/crtn.S: New file.
39552         * Makeconfig (have-initfini): Don't set.
39553         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39554         * configure.in (nopic_initfini): Don't substitute.
39555         * config.h.in (HAVE_INITFINI): Don't #undef.
39556         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39557         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39559 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
39561         Support crti.S and crtn.S provided directly by architectures.
39562         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39563         [crti.S in sysdirs] (omit-deps): Likewise.
39564         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39565         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39566         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39567         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39568         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39569         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39570         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39571         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39572         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39573         compiler output for sysdeps/generic/initfini.c.
39574         * sysdeps/i386/elf/Makefile: Remove file.
39575         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39577 2012-02-07  Marek Polacek  <polacek@redhat.com>
39579         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39580         * sysdeps/gnu/_G_config.h: Likewise.
39581         * sysdeps/mach/hurd/_G_config.h: Likewise.
39583 2012-02-07  Marek Polacek  <polacek@redhat.com>
39585         * math/Makefile (tests): Add tst-CMPLX2.
39586         * math/tst-CMPLX2.c: New file.
39588 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
39590         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39592         * math/libm-test.inc (jn_test): Add missing L suffix.
39594 2012-02-06  Marek Polacek  <polacek@redhat.com>
39596         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39597         * sysdeps/i386/fpu/e_powf.S: Likewise.
39598         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39599         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39600         * sysdeps/i386/fpu/e_acosh.S: Likewise.
39601         * sysdeps/i386/fpu/e_pow.S: Likewise.
39602         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39603         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39604         * sysdeps/i386/fpu/s_expm1.S: Likewise.
39605         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39606         * sysdeps/i386/fpu/e_log2.S: Likewise.
39607         * sysdeps/i386/fpu/e_log2l.S: Likewise.
39608         * sysdeps/i386/fpu/e_scalb.S: Likewise.
39609         * sysdeps/i386/fpu/e_powl.S: Likewise.
39610         * sysdeps/i386/fpu/s_log1p.S: Likewise.
39611         * sysdeps/i386/fpu/e_log10f.S: Likewise.
39612         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39613         * sysdeps/i386/fpu/e_logl.S: Likewise.
39614         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39615         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39616         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39617         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39618         * sysdeps/i386/fpu/e_log2f.S: Likewise.
39619         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39620         * sysdeps/i386/fpu/e_log.S: Likewise.
39621         * sysdeps/i386/fpu/s_cexp.S: Likewise.
39622         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39623         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39624         * sysdeps/i386/fpu/e_logf.S: Likewise.
39625         * sysdeps/i386/fpu/e_log10l.S: Likewise.
39626         * sysdeps/i386/fpu/e_atanh.S: Likewise.
39627         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39628         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39629         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39630         * sysdeps/i386/fpu/e_log10.S: Likewise.
39631         * sysdeps/i386/fpu/s_frexp.S: Likewise.
39632         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39633         * sysdeps/i386/fpu/s_asinh.S: Likewise.
39634         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39635         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39636         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39637         * sysdeps/i386/asm-syntax.h: Likewise.
39638         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39639         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39640         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39641         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39642         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39643         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39644         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39645         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39646         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39647         * sysdeps/powerpc/sysdep.h: Likewise.
39648         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39649         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39651 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
39653         [BZ #411]
39654         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39656 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
39658         * sysdeps/i386/sysdep.h: Include <features.h>.
39659         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39660         version.
39662 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
39664         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39665         Define.
39666         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39667         LOAD_PIC_REG_STR.
39669 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39671         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39672         (SETUP_PIC_REG): Use GET_PC_THUNK.
39673         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39674         macro.
39676 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39678         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39679         for non-PIC compilation.
39680         (SETUP_PIC_REG): Add .p2align directive.
39681         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39682         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39683         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39684         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39685         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39686         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39687         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39688         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39689         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39690         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39691         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39692         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39693         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39694         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39695         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39696         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39697         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39698         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39699         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39700         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39701         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39702         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39703         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39704         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39705         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39706         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39707         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39708         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39709         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39710         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39711         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39712         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39713         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39714         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39715         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39716         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39717         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39718         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39719         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39720         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39721         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39723 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39725         * math/tst-CMPLX.c: Include <stdio.h>.
39727 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
39729         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39730         float.
39731         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39732         * sysdeps/sparc/bits/mathdef.h: Likewise.
39734 2012-01-31  Marek Polacek  <polacek@redhat.com>
39736         * libio/libio.h: Don't define _PARAMS.
39737         * locale/programs/config.h: Don't define PARAMS.
39738         * stdlib/strtol_l.c: Likewise.
39739         (__strtol_l): Remove PARAMS from the prototype.
39741 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
39743         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
39744         names.  Just use the correct names.  Remove unnecessary wrapper
39745         functions.
39746         * malloc/arena.c: Likewise.
39747         * malloc/hooks.c: Likewise.
39749         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39750         ARENA_TEST says not to.  Simplify test for creation of a new arena.
39751         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39753 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
39755         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39756         into tail calls.
39757         (update_get_addr): New function.
39758         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39759         GET_ADDR_MODULE parameter.
39761 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
39763         * crypt/cert.c: Remove __STDC__ conditionals.
39764         * crypt/crypt-entry.c: Likewise.
39765         * crypt/crypt_util.c: Likewise.
39766         * libio/filedoalloc.c: Likewise.
39767         * libio/fileops.c: Likewise.
39768         * libio/genops.c: Likewise.
39769         * libio/iofclose.c: Likewise.
39770         * libio/iofdopen.c: Likewise.
39771         * libio/iofopen.c: Likewise.
39772         * libio/iofopen64.c: Likewise.
39773         * libio/iogetdelim.c: Likewise.
39774         * libio/iopopen.c: Likewise.
39775         * libio/obprintf.c: Likewise.
39776         * libio/oldfileops.c: Likewise.
39777         * libio/oldiofclose.c: Likewise.
39778         * libio/oldiofdopen.c: Likewise.
39779         * libio/oldiofopen.c: Likewise.
39780         * libio/oldiopopen.c: Likewise.
39781         * libio/wfiledoalloc.c: Likewise.
39782         * libio/wgenops.c: Likewise.
39783         * locale/programs/xmalloc.c: Likewise.
39784         * misc/syslog.c: Likewise.
39785         * stdio-common/xbug.c: Likewise.
39786         * string/memchr.c: Likewise.
39787         * string/memcmp.c: Likewise.
39788         * string/memrchr.c: Likewise.
39789         * string/rawmemchr.c: Likewise.
39790         * sysdeps/posix/getcwd.c: Likewise.
39791         * time/strftime_l.c: Likewise.
39793 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
39795         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39796         * config.make.in (config-cflags-sse2avx): Define.
39797         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39798         Fix typo.
39800 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
39802         * scripts/config.guess: Update from upstream config git repository.
39803         * scripts/config.sub: Likewise.
39805 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
39807         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39808         (EM_NUM): Update.
39809         (R_TILEPRO_*, R_TILEGX_*): New macros.
39811         * scripts/firstversions.awk: Fix bug in version range handling.
39813         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39815         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39817         * include/sys/epoll.h: New file.
39818         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39819         libc_hidden_def.
39821 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
39823         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39824         Avoid unnecessary __WORDSIZE == 64 test.
39825         (fmaxf): Use VEX format if possible.
39826         (fmax): Likewise.
39827         (fminf): Likewise.
39828         (fmin): Likewise.
39830         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39831         * math/math_private.h: Remove libc_fegetround* and
39832         libc_fesetround*.
39833         * sysdeps/i386/configure.in: Check for -msse2avx.
39834         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39835         also if SSE2AVX is defined.
39836         Remove libc_fegetround* and libc_fesetround*.
39837         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39838         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
39839         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39840         of HAS_YMM_USABLE.
39841         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39842         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39843         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39844         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39845         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39847         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39849 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39851         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39852         size is not set.
39853         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39855 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
39857         [BZ #13618]
39858         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39859         relocation.
39860         * Makeconfig (libm): Define.
39861         * elf/Makefile: Add rules to build and run tst-relsort1.
39862         * elf/tst-relsort1.c: New file.
39863         * elf/tst-relsort1mod1.c: New file.
39864         * elf/tst-relsort1mod2.c: New file.
39866 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
39868         * math/s_ldexp.c: Remove __STDC__ conditionals.
39869         * math/s_ldexpf.c: Likewise.
39870         * math/s_ldexpl.c: Likewise.
39871         * math/s_nextafter.c: Likewise.
39872         * math/s_nexttowardf.c: Likewise.
39873         * math/s_significand.c: Likewise.
39874         * math/s_significandf.c: Likewise.
39875         * math/s_significandl.c: Likewise.
39876         * math/w_jnl.c: Likewise.
39877         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39878         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39879         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39880         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39881         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39882         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39883         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39884         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39885         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39886         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39887         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39888         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39889         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39890         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39891         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39892         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39893         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39894         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39895         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39896         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39897         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39898         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39899         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39900         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39901         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39902         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39903         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39904         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39905         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39906         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39907         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39908         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39909         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39910         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39911         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39912         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39913         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39914         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39915         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39916         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39917         * sysdeps/ieee754/k_standard.c: Likewise.
39918         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39919         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39920         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39921         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39922         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39923         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39924         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39925         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39926         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39927         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39928         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39929         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39930         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39931         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39932         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39933         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39934         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39935         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39936         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39937         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39938         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39939         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39940         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39941         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39942         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39943         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39944         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39945         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39946         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39947         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39948         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39949         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39950         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39951         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39952         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39953         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39954         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39955         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39956         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39957         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39958         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39959         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39960         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39961         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39962         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39963         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39964         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39965         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39966         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39967         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39968         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39969         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39970         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39971         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39972         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39973         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39974         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39975         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39976         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39977         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39978         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39979         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39980         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39981         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39982         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39983         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39984         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39985         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39986         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39987         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39988         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39989         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39990         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39991         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39992         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39993         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39994         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39995         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39996         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39997         * sysdeps/ieee754/s_matherr.c: Likewise.
39998         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39999         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40000         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40001         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40003 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40005         * crypt/md5.h: Remove __STDC__ conditionals.
40006         * libio/libioP.h: Likewise.
40007         * locale/programs/config.h: Likewise.
40008         * sysdeps/generic/sysdep.h: Likewise.
40009         * sysdeps/i386/asm-syntax.h: Likewise.
40010         * sysdeps/s390/asm-syntax.h: Likewise.
40011         * sysdeps/unix/sysdep.h: Likewise.
40012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40015 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40017         * libio/libio.h: Remove __STDC__ conditionals.
40018         * malloc/obstack.h: Likewise.
40019         * math/complex.h: Likewise.
40020         * math/math.h: Likewise.
40021         * sysdeps/generic/_G_config.h: Likewise.
40022         * sysdeps/gnu/_G_config.h: Likewise.
40023         * sysdeps/mach/hurd/_G_config.h: Likewise.
40024         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40025         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40026         * sysdeps/sparc/bits/mathdef.h: Likewise.
40028 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
40030         [BZ #13583]
40031         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40032         Clean up HAS_* macros.
40033         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40034         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40035         possible.
40036         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40037         HAS_AVX.
40038         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40039         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40040         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40041         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40042         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40044 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
40046         * elf/tst-unique3.cc (gets): Remove declaration.
40047         * elf/tst-unique3lib.cc (gets): Likewise.
40048         * elf/tst-unique3lib2.cc (gets): Likewise.
40049         * elf/tst-unique4.cc (gets): Likewise.
40051 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
40053         * include/stdio.h: Add C++ protection.  Add gets declarations and
40054         definitions.
40055         * debug/tst-chk1.c: Don't declare gets here.
40056         * stdio-common/tst-gets.c: Likewise.
40058 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40060         * posix/glob: Remove directory.
40062 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40064         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40066 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
40068         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40069         of the non-standard EPFNOSUPPORT.
40071 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40073         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40074         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40075         ANYWHERE set to 1 only on KERN_NO_SPACE error.
40077 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
40079         * wcsmbs/uchar.h: Test __STDC_VERSION__.
40081 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
40083         * nscd/aicache.c (addhstaiX): Do not cache negative results of
40084         transient errors.
40085         * nscd/grpcache.c (cache_addgr): Likewise.
40086         * nscd/hstcache.c (cache_addhst): Likewise.
40087         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40088         * nscd/pwdcache.c (cache_addpw): Likewise.
40089         * nscd/servicescache.c (cache_addserv): Likewise.
40091 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
40093         * malloc/malloc.c: Various cleanups.
40094         * malloc/hooks.c: Likewise.
40096         * stdlib/Makefile (tests): Add bug-fmtmsg1.
40097         * stdlib/bug-fmtmsg1.c: New file.
40099         * stdlib/fmtmsg.c (init): Add missing unlock.
40100         Patch by Peng Haitao <penght@cn.fujitsu.com>.
40102 2012-01-12  Marek Polacek  <polacek@redhat.com>
40104         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40105         and _GNU_SOURCE.
40107 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
40109         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40110         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40111         macro to ensure uniqueness of label name.
40112         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40113         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40115 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
40117         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40119         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40120         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40121         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40122         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40124 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
40126         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40128         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40129         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40130         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40132         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40134         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40135         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40136         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40137         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40139         * math/bits/math-finite.h: Add ldexp support.
40141 2012-01-10  Marek Polacek  <polacek@redhat.com>
40143         * locale/programs/localedef.h (show_archive_content): Add noreturn
40144         attribute.
40146 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
40148         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40150 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40152         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40154         * io/Makefile (headers): Add bits/poll2.h.
40156 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
40158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40159         typo #include statement.
40161 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40163         * include/sys/cdefs.h: Define __attribute_alloc_size.
40164         * catgets/gencat.c: Add alloc_size attribute and apply consistently
40165         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40166         * elf/pldd.c: Likewise.
40167         * iconv/iconv_charmap.c: Likewise.
40168         * iconv/iconvconfig.c: Likewise.
40169         * iconv/strtab.c: Likewise.
40170         * locale/programs/locale.c: Likewise.
40171         * locale/programs/localedef.h: Likewise.
40172         * locale/programs/simple-hash.c: Likewise.
40173         * nscd/nscd.h: Likewise.
40174         * nss/makedb.c: Likewise.
40175         * sysdeps/generic/ldconfig.h: Likewise.
40176         * locale/programs/localedef.c: Remove xmalloc prototype.
40177         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40179 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40181         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40182         appropriate.
40184 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40186         * math/Makefile (tests): Add tst-CMPLX.
40187         * math/tst-CMPLX.c: New file.
40189         * math/complex.h (CMPLXL): Fix typo.
40191         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40192         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40193         GLIBC_2.16.
40194         * debug/tst-chk1.c: Add poll and ppoll tests.
40195         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40196         * include/sys/poll.h: Add hidden proto for ppoll.
40197         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40198         * sysdeps/mach/hurd/ppoll.c: Likewise.
40199         * io/ppoll.c: Likewise.
40200         * debug/poll_chk.c: New file.
40201         * debug/ppoll_chk.c: New file.
40202         * include/bits/poll2.h: New file.
40203         * io/bits/poll2.h: New file.
40205         [BZ #1350]
40206         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40208         * configure.in: static is always set to yes.  Remove.
40209         * config.make.in: Don't set build-static.
40210         * Makeconfig: Remove use of build-static.
40211         * dlfcn/Makefile: Likewise.
40212         * elf/Makefile: Likewise.
40213         * math/Makefile: Likewise.
40214         * misc/Makefile: Likewise.
40215         * nptl/Makefile: Likewise.
40216         * sysdeps/mach/hurd/Makefile: Likewise.
40218         * configure.in: PWD_P is not used anymore.
40219         * config.make.in: Remove PWD_P entry.
40221         * configure.in: Remove last remnants of RANLIB.
40222         No need to check for signed size_t anymore.
40223         Don't set libc_commonpagesize and libc_relro_required here for Alpha
40224         and IA-64.
40225         Remove __builtin_expect test because we require at least gcc 3.4.
40226         * aclocal.m4: Likewise.
40228         * wcsmbs/mbrtoc16.c: Implement using towc function.
40229         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40230         * wcsmbs/wcsmbsload.c: Likewise.
40231         * iconv/gconv_simple.c: Likewise.
40232         * iconv/gconv_int.h: Likewise.
40233         * iconv/gconv_builtin.h: Likewise.
40234         * iconv/iconv_prog.c: Remove CHAR16 handling.
40236         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40238         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40240         * configure.in: Remove --with-elf and --enable-bounded options.
40241         Dont set base_machine for ia64.  More non-ELF conditions removed.
40242         Remove testing and setting of leading underscore information.
40243         * config.make.in (build-bounded): Set to no.
40244         * config.h.in: Remove NO_UNDERSCORES entry.
40245         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
40246         them.
40247         * csu/start.c: Remove !NO_UNDERSCORE code.
40248         * locale/localeinfo.h: Likewise.
40249         * sysdeps/generic/machine-gmon.h: Likewise.
40250         * sysdeps/generic/sysdep.h: Likewise.
40251         * sysdeps/i386/sysdep.h: Likewise.
40252         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40253         * sysdeps/mach/sysdep.h: Likewise.
40254         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40255         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40256         * sysdeps/sh/sysdep.h: Likewise.
40257         * sysdeps/sparc/sparc32/alloca.S: Likewise.
40258         * sysdeps/unix/i386/sysdep.S: Likewise.
40259         * sysdeps/unix/sparc/start.c: Likewise.
40260         * sysdeps/unix/sparc/sysdep.S: Likewise.
40261         * sysdeps/unix/sparc/sysdep.h: Likewise.
40262         * sysdeps/unix/start.c: Likewise.
40263         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40264         * sysdeps/x86_64/sysdep.h: Likewise.
40266 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
40268         [BZ #13553]
40269         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40270         for non-gcc.
40271         * argp/argp-fmtstream.h: Use const instead __const.
40272         * argp/argp.h: Likewise.
40273         * assert/assert.h: Likewise.
40274         * bits/fenv.h: Likewise.
40275         * bits/sched.h: Likewise.
40276         * bits/sigset.h: Likewise.
40277         * bits/sigthread.h: Likewise.
40278         * catgets/nl_types.h: Likewise.
40279         * conform/data/pthread.h-data: Likewise.
40280         * crypt/crypt-private.h: Likewise.
40281         * crypt/crypt.h: Likewise.
40282         * crypt/crypt_util.c: Likewise.
40283         * ctype/ctype.h: Likewise.
40284         * debug/execinfo.h: Likewise.
40285         * debug/mbsnrtowcs_chk.c: Likewise.
40286         * debug/mbsrtowcs_chk.c: Likewise.
40287         * debug/wcsnrtombs_chk.c: Likewise.
40288         * debug/wcsrtombs_chk.c: Likewise.
40289         * debug/wcstombs_chk.c: Likewise.
40290         * dirent/dirent.h: Likewise.
40291         * dlfcn/dlfcn.h: Likewise.
40292         * elf/neededtest4.c: Likewise.
40293         * grp/grp.h: Likewise.
40294         * gshadow/gshadow.h: Likewise.
40295         * iconv/gconv.h: Likewise.
40296         * iconv/gconv_int.h: Likewise.
40297         * iconv/gconv_simple.c: Likewise.
40298         * iconv/iconv.h: Likewise.
40299         * iconv/loop.c: Likewise.
40300         * iconv/skeleton.c: Likewise.
40301         * include/aio.h: Likewise.
40302         * include/aliases.h: Likewise.
40303         * include/argz.h: Likewise.
40304         * include/arpa/inet.h: Likewise.
40305         * include/assert.h: Likewise.
40306         * include/dirent.h: Likewise.
40307         * include/dlfcn.h: Likewise.
40308         * include/execinfo.h: Likewise.
40309         * include/fcntl.h: Likewise.
40310         * include/fenv.h: Likewise.
40311         * include/glob.h: Likewise.
40312         * include/grp.h: Likewise.
40313         * include/libintl.h: Likewise.
40314         * include/mntent.h: Likewise.
40315         * include/netdb.h: Likewise.
40316         * include/pwd.h: Likewise.
40317         * include/rpc/netdb.h: Likewise.
40318         * include/sched.h: Likewise.
40319         * include/search.h: Likewise.
40320         * include/shadow.h: Likewise.
40321         * include/signal.h: Likewise.
40322         * include/stdio.h: Likewise.
40323         * include/stdlib.h: Likewise.
40324         * include/string.h: Likewise.
40325         * include/sys/socket.h: Likewise.
40326         * include/sys/stat.h: Likewise.
40327         * include/sys/statfs.h: Likewise.
40328         * include/sys/statvfs.h: Likewise.
40329         * include/sys/syslog.h: Likewise.
40330         * include/sys/time.h: Likewise.
40331         * include/sys/uio.h: Likewise.
40332         * include/time.h: Likewise.
40333         * include/unistd.h: Likewise.
40334         * include/utmp.h: Likewise.
40335         * include/wchar.h: Likewise.
40336         * include/wctype.h: Likewise.
40337         * inet/aliases.h: Likewise.
40338         * inet/arpa/inet.h: Likewise.
40339         * inet/netinet/ether.h: Likewise.
40340         * inet/netinet/in.h: Likewise.
40341         * intl/libintl.h: Likewise.
40342         * io/bits/fcntl2.h: Likewise.
40343         * io/fcntl.h: Likewise.
40344         * io/ftw.h: Likewise.
40345         * io/sys/poll.h: Likewise.
40346         * io/sys/stat.h: Likewise.
40347         * io/sys/statfs.h: Likewise.
40348         * io/sys/statvfs.h: Likewise.
40349         * io/utime.h: Likewise.
40350         * libio/bits/stdio.h: Likewise.
40351         * libio/bits/stdio2.h: Likewise.
40352         * libio/libio.h: Likewise.
40353         * libio/libioP.h: Likewise.
40354         * libio/stdio.h: Likewise.
40355         * locale/lc-ctype.c: Likewise.
40356         * locale/locale.h: Likewise.
40357         * login/utmp.h: Likewise.
40358         * malloc/arena.c: Likewise.
40359         * malloc/malloc.c: Likewise.
40360         * malloc/malloc.h: Likewise.
40361         * malloc/mcheck.c: Likewise.
40362         * malloc/mtrace.c: Likewise.
40363         * math/bits/mathcalls.h: Likewise.
40364         * math/fenv.h: Likewise.
40365         * math/math_private.h: Likewise.
40366         * misc/bits/error.h: Likewise.
40367         * misc/bits/syslog.h: Likewise.
40368         * misc/err.h: Likewise.
40369         * misc/error.h: Likewise.
40370         * misc/fstab.h: Likewise.
40371         * misc/mntent.h: Likewise.
40372         * misc/regexp.h: Likewise.
40373         * misc/search.h: Likewise.
40374         * misc/sgtty.h: Likewise.
40375         * misc/sys/mman.h: Likewise.
40376         * misc/sys/syslog.h: Likewise.
40377         * misc/sys/uio.h: Likewise.
40378         * misc/sys/xattr.h: Likewise.
40379         * misc/ttyent.h: Likewise.
40380         * nis/rpcsvc/ypclnt.h: Likewise.
40381         * nss/nss.h: Likewise.
40382         * posix/bits/unistd.h: Likewise.
40383         * posix/fnmatch.h: Likewise.
40384         * posix/glob.h: Likewise.
40385         * posix/sched.h: Likewise.
40386         * posix/spawn.h: Likewise.
40387         * posix/sys/wait.h: Likewise.
40388         * posix/unistd.h: Likewise.
40389         * posix/wordexp.h: Likewise.
40390         * pwd/pwd.h: Likewise.
40391         * resolv/netdb.h: Likewise.
40392         * resource/sys/resource.h: Likewise.
40393         * rt/aio.h: Likewise.
40394         * rt/bits/mqueue2.h: Likewise.
40395         * rt/mqueue.h: Likewise.
40396         * shadow/shadow.h: Likewise.
40397         * signal/signal.h: Likewise.
40398         * socket/send.c: Likewise.
40399         * socket/sendto.c: Likewise.
40400         * socket/sys/socket.h: Likewise.
40401         * stdio-common/printf.h: Likewise.
40402         * stdlib/bits/stdlib.h: Likewise.
40403         * stdlib/fmtmsg.h: Likewise.
40404         * stdlib/monetary.h: Likewise.
40405         * stdlib/stdlib.h: Likewise.
40406         * stdlib/ucontext.h: Likewise.
40407         * streams/stropts.h: Likewise.
40408         * string/argz.h: Likewise.
40409         * string/bits/string2.h: Likewise.
40410         * string/string.h: Likewise.
40411         * string/strings.h: Likewise.
40412         * sunrpc/rpc/auth.h: Likewise.
40413         * sunrpc/rpc/auth_des.h: Likewise.
40414         * sunrpc/rpc/clnt.h: Likewise.
40415         * sunrpc/rpc/netdb.h: Likewise.
40416         * sunrpc/rpc/pmap_clnt.h: Likewise.
40417         * sunrpc/rpc/xdr.h: Likewise.
40418         * sysdeps/generic/inttypes.h: Likewise.
40419         * sysdeps/generic/net/if.h: Likewise.
40420         * sysdeps/generic/sys/swap.h: Likewise.
40421         * sysdeps/gnu/net/if.h: Likewise.
40422         * sysdeps/gnu/utmpx.h: Likewise.
40423         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40424         * sysdeps/i386/i486/bits/string.h: Likewise.
40425         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40426         * sysdeps/s390/bits/string.h: Likewise.
40427         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40428         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40429         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40430         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40431         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40432         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40433         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40434         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40435         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40436         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40437         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40438         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40439         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40440         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40441         * sysdeps/unix/sysv/linux/readv.c: Likewise.
40442         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40443         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40444         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40445         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40446         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40447         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40448         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40449         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40450         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40451         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40452         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40453         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40454         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40455         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40456         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40457         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40458         * sysvipc/sys/ipc.h: Likewise.
40459         * sysvipc/sys/msg.h: Likewise.
40460         * sysvipc/sys/sem.h: Likewise.
40461         * sysvipc/sys/shm.h: Likewise.
40462         * termios/termios.h: Likewise.
40463         * time/sys/time.h: Likewise.
40464         * time/time.h: Likewise.
40465         * wcsmbs/bits/wchar2.h: Likewise.
40466         * wcsmbs/uchar.h: Likewise.
40467         * wcsmbs/wchar.h: Likewise.
40468         * wctype/wctype.h: Likewise.
40470         [BZ #13551]
40471         * Makeconfig: Remove all but ELF support including AIX support.
40472         * Makerules: Likewise.
40473         * config.h.in: Likewise.
40474         * config.make.in: Likewise.
40475         * configure: Likewise.
40476         * configure.in: Likewise.
40477         * csu/Makefile: Likewise.
40478         * csu/version.c: Likewise.
40479         * debug/Makefile: Likewise.
40480         * dlfcn/Makefile: Likewise.
40481         * elf/Makefile: Likewise.
40482         * extra-lib.mk: Likewise.
40483         * iconv/Makefile: Likewise.
40484         * include/libc-symbols.h: Likewise.
40485         * include/shlib-compat.h: Likewise.
40486         * resolv/Makefile: Likewise.
40487         * resolv/res_libc.c: Likewise.
40488         * rt/Makefile: Likewise.
40489         * sysdeps/i386/asm-syntax.h: Likewise.
40490         * sysdeps/i386/sysdep.h: Likewise.
40491         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40492         * sysdeps/mach/sysdep.h: Likewise.
40493         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40494         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40495         * sysdeps/s390/asm-syntax.h: Likewise.
40496         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40497         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40498         * sysdeps/sh/sysdep.h: Likewise.
40499         * sysdeps/unix/sparc/sysdep.h: Likewise.
40500         * sysdeps/wordsize-32/divdi3.c: Likewise.
40501         * sysdeps/x86_64/sysdep.h: Likewise.
40503         * argp/Versions: Remove _argp_unlock_xxx.
40505         [BZ #13559]
40506         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
40507         * abilist/libBrokenLocale.abilist: Likewise.
40508         * abilist/libanl.abilist: Likewise.
40509         * abilist/libc.abilist: Likewise.
40510         * abilist/libcrypt.abilist: Likewise.
40511         * abilist/libdl.abilist: Likewise.
40512         * abilist/libm.abilist: Likewise.
40513         * abilist/libnsl.abilist: Likewise.
40514         * abilist/libpthread.abilist: Likewise.
40515         * abilist/libresolv.abilist: Likewise.
40516         * abilist/librt.abilist: Likewise.
40517         * abilist/libthread_db.abilist: Likewise.
40518         * abilist/libutil.abilist: Likewise.
40519         * abilist/libnss_db.abilist: New file.
40521         * scripts/abilist.awk: Add support for indirect functions.
40523         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40525         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40527         * shlib-versions: Remove entries for ports architectures.
40529         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
40530         files in ports.
40531         * elf/stackguard-macros.h: Remove support for IA-64.
40532         * elf/tst-auditmod1.c: Likewise.
40533         * sysdeps/generic/ldsodefs.h: Likewise.
40535         * sysdeps/unix/sysv/linux/configure.in: Ports should define
40536         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40537         configure files.
40539         [BZ #13552]
40540         * configure.in: Remove --enable-omitfp support.
40541         * FAQ.in: Adjust.
40542         * config.make.in: Likewise.
40543         * Makeconfig: Likewise.
40544         * manual/install.texi: Likewise.
40546         In case anyone cares, the IA-64 architecture could move to ports.
40547         * sysdeps/ia64/*: Removed.
40548         * sysdeps/unix/sysv/linux/ia64/*: Removed.
40549         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40551         [BZ #13555]
40552         * configure.in: Remove entries for unsupported architectures.
40554         [BZ #13533]
40555         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40556         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
40557         routines.
40558         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40559         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40560         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
40561         fall back to using wcrtomb.
40562         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40563         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
40564         renaming.
40565         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40566         * wcsmbs/tst-c16c32-1.c: New file.
40568         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40569         local variable.
40571         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40573         * elf/tst-unique3.cc: Add explicit declaration of gets.
40574         * elf/tst-unique3lib.cc: Likewise.
40575         * elf/tst-unique3lib2.cc: Likewise.
40576         * elf/tst-unique4.cc: Likewise.
40578         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40580 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
40582         [BZ #13566]
40583         * assert/assert.h (static_assert): Don't define for C++.
40584         * libio/stdio.h (gets): Do declare for C++ <= C++11.
40585         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40587 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
40589         * iconv/loop.c (single loop): Fix assertion in storing of
40590         remaining bytes.
40592         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40594 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
40596         * posix/getconf.c: Update copyright year.
40597         * nss/getent.c: Likewise.
40598         * nss/makedb.c: Likewise.
40599         * iconv/iconvconfig.c: Likewise.
40600         * iconv/iconv_prog.c: Likewise.
40601         * elf/ldconfig.c: Likewise.
40602         * elf/pldd.c: Likewise.
40603         * elf/sotruss.ksh: Likewise.
40604         * catgets/gencat.c: Likewise.
40605         * csu/version.c: Likewise.
40606         * elf/ldd.bash.in: Likewise.
40607         * elf/sprof.c (print_version): Likewise.
40608         * locale/programs/locale.c: Likewise.
40609         * locale/programs/localedef.c: Likewise.
40610         * login/programs/pt_chown.c: Likewise.
40611         * nscd/nscd.c (print_version): Likewise.
40612         * debug/xtrace.sh: Likewise.
40613         * malloc/memusage.sh: Likewise.
40614         * malloc/mtrace.pl: Likewise.
40615         * debug/catchsegv.sh: Likewise.
40617 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
40619         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40620         pure attribute.
40622 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
40624         [BZ #13533]
40625         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40626         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40627         transformations.
40628         * iconv/gconv_int.h: Likewise.
40629         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40630         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40631         from libc for GLIBC_2.16.
40632         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40633         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40634         * wcsmbs/uchar.h: Really define mbstate_t.
40635         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40636         * wcsmbs/c16rtomb.c: New file.
40637         * wcsmbs/mbrtoc16.c: New file.
40638         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40639         for C/POSIX locale.
40640         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40641         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40643         * wcsmbs/wchar.h: Add missing __restrict.
40645 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
40647         [BZ #13532]
40648         * time/Makefile (routines): Add timespec_get.
40649         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40650         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
40651         timespec for ISO C11.
40652         * time/timespec_get.c: New file.
40653         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40654         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40656         [BZ #13531]
40657         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40658         * stdlib/stdlib.h: Declare aligned_alloc.
40659         * Versions.def: Add GLIBC_2.16 for libc.
40660         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40662         [BZ 13527]
40663         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40664         ISO C11.
40666         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40667         code.
40669         [BZ #13528]
40670         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40672         [BZ #13529]
40673         * assert/assert.h (static_assert): Define.
40675         * version.h: Update for 2.16 development version.
40677         [BZ #13526]
40678         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40679         _ISOC11_SOURCE.
40681         * version.h (RELEASE): Bump for 2.15 release.
40682         * include/features.h (__GLIBC_MINOR__): Bump to 15.
40684         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40685         Patch by Marek Polacek <mpolacek@redhat.com>.
40687         * bits/byteswap.h: Protect long long constants with __extension__.
40688         * sysdeps/i386/bits/byteswap.h: Likewise.
40689         * sysdeps/ia64/bits/byteswap.h: Likewise.
40690         * sysdeps/s390/bits/byteswap.h: Likewise.
40691         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40693 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40695         [BZ #13540]
40696         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40697         destination buffer.
40698         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40700 2011-12-23  Marek Polacek  <polacek@redhat.com>
40702         * elf/dl-addr.c (determine_info): Add inline keyword.
40703         * elf/tst-auditmod4b.c (check_avx): Likewise.
40704         * elf/tst-auditmod6b.c (check_avx): Likewise.
40705         * elf/tst-auditmod6c.c (check_avx): Likewise.
40706         * elf/tst-auditmod7b.c (check_avx): Likewise.
40708 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
40710         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40711         !__SSE_MATH__.
40713 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40715         [BZ #13540]
40716         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40717         processing for last bytes.
40719 2011-08-06  Bruno Haible  <bruno@clisp.org>
40721         [BZ #13061]
40722         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40723         U+0385, not to U+1FEE.
40725         [BZ #13062]
40726         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40727         entry for U+00A5 U+0301.
40729 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
40731         [BZ #13166]
40732         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40733         buffer for the output is too small.
40735         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40736         optimization.
40738         [BZ #13185]
40739         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40740         SSE flags if possible.
40742 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40744         [BZ #13540]
40745         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40746         processing for last bytes.
40748 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
40750         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40751         (syscall-list-default-options, syscall-list-default-condition)
40752         (syscall-list-includes): Define.
40753         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40754         list of ABIs and options and #if conditions for each ABI.  Do not
40755         handle common syscalls between ABIs specially.
40756         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40757         Remove.
40758         (syscall-list-variants, syscall-list-32bit-options)
40759         (syscall-list-32bit-condition, syscall-list-64bit-options)
40760         (syscall-list-64bit-condition): Define.
40761         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40762         (syscall-list-variants, syscall-list-32bit-options)
40763         (syscall-list-32bit-condition, syscall-list-64bit-options)
40764         (syscall-list-64bit-condition): Define.
40765         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40766         Remove.
40767         (syscall-list-variants, syscall-list-32bit-options)
40768         (syscall-list-32bit-condition, syscall-list-64bit-options)
40769         (syscall-list-64bit-condition): Define.
40770         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40771         Remove.
40772         (syscall-list-variants, syscall-list-32bit-options)
40773         (syscall-list-32bit-condition, syscall-list-64bit-options)
40774         (syscall-list-64bit-condition): Define.
40776 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
40778         * locale/iso-639.def: Add brx entry.
40780         [BZ #13328]
40781         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40782         Proposed by Mariusz_Cukr <marcukr@op.pl>.
40784         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40785         __feraiseexcept_renamed.
40787 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
40789         [BZ #13538]
40790         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40791         EPOLLET with unsigned values.
40792         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40793         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40795         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40796         to large cancellation.
40797         * math/s_cacoshf.c: Likewise.
40798         * math/s_cacoshl.c: Likewise.
40800 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
40802         [BZ #13305]
40803         [BZ #12786]
40804         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40805         * math/s_cacoshf.c: Likewise.
40806         * math/s_cacoshl.c: Likewise.
40808 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
40810         [BZ #13439]
40811         * iconv/gconv.h: Define __GCONV_SWAP.
40812         * iconvdata/unicode.c: The swap bit must be stored in __flags.
40813         * iconvdata/utf-16.c: Likewise.
40814         * iconvdata/utf-32.c: Likewise.
40816 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
40818         [BZ #13524]
40819         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40820         numerator after shifting it by one limb.
40822 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
40824         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40825         under [__USE_EXTERN_INLINES].
40827 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
40829         [BZ #13446]
40830         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40832 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40834         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40835         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40836         optimized code.
40837         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40838         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40839         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40840         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40841         for strncasecmp/strncasecmp_l compilation.
40842         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40843         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40845 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
40847         [BZ #13484]
40848         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40849         of __asm__.
40851 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
40853         [BZ #13506]
40854         * time/tzfile.c (__tzfile_read): Check values from file header.
40856 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
40858         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40859         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40860         * powerpc/powerpc32/dl-start.S: Likewise.
40861         * powerpc/powerpc32/elf/start.S: Likewise.
40862         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40863         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40864         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40865         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40866         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40867         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40868         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40869         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40870         * powerpc/powerpc32/fpu/s_round.S: Likewise.
40871         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40872         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40873         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40874         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40875         * powerpc/powerpc32/memset.S: Likewise.
40876         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40877         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40878         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40879         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40880         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40881         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40882         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40883         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40884         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40885         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40886         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40887         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40888         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40890 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40892         * math/libm-test.inc: Added more nearbyint tests.
40893         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40894         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40895         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40896         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40898 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
40900         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40901         FD_CLOEXEC.
40903 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40905         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40906         Add wcscpy-ssse3 wcscpy-c.
40907         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40908         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40909         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40910         * sysdeps/x86_64/wcschr.S: New file.
40911         * sysdeps/x86_64/wcsrchr.S: New file.
40912         * string/test-strcmp.c: Remove checking of wcscmp function for
40913         wrong alignments.
40914         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40915         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40916         wcsrchr-sse2 wcsrchr-c.
40917         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40918         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40919         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40920         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40921         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40922         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40923         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40924         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40925         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40926         * wcsmbc/wcschr.c (WCSCHR): New macro.
40928 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40930         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40931         * wcsmbs/test-wcsrchr.c: New file.
40932         * string/test-strrchr.c: Add wcsrchr support.
40933         (WIDE): New macro.
40934         * wcsmbs/test-wcscpy.c: New file.
40935         * string/test-strcpy.c: Add wcscpy support.
40936         (WIDE): New macro.
40938 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
40940         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40941         the inner loop.
40943 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
40945         [BZ #13472]
40946         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40948 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
40950         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40951         Minor optimizations.
40953         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40954         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40955         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40957 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
40959         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40960         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40961         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40962         for gcc to avoid warnings.
40963         * inet/Makefile (tests): Add tst-checks.
40964         * inet/tst-checks.c: New file.
40966         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40967         warning.
40969         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40970         __wmemcmp_sse2.
40972         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40973         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40975         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40977 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
40979         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40980         problem.
40982         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40984 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
40986         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40987         conditional on GCC version.
40988         (__arch_compare_and_exchange_val_8_acq)
40989         (__arch_compare_and_exchange_val_16_acq)
40990         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40991         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40992         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40994 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
40996         * sysdeps/sh/backtrace.c: New file.
40998 2011-12-02  Andreas Schwab  <schwab@redhat.com>
41000         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
41001         parenthesis.
41003 2011-12-01  Andreas Schwab  <schwab@redhat.com>
41005         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41006         falling back to utime.
41008 2011-11-30  Andreas Schwab  <schwab@redhat.com>
41010         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41011         expectations for float.
41013 2011-11-29  Andreas Schwab  <schwab@redhat.com>
41015         * locale/weight.h (findidx): Add parameter len.
41016         * locale/weightwc.h (findidx): Likewise.
41017         * posix/fnmatch_loop.c (FCT): Adjust caller.
41018         * posix/regcomp.c (build_equiv_class): Likewise.
41019         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41020         * posix/regexec.c (check_node_accept_bytes): Likewise.
41021         * string/strcoll_l.c (STRCOLL): Likewise.
41022         * string/strxfrm_l.c (STRXFRM): Likewise.
41024 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
41026         * Makefile.in: Remove CVSOPT handling.
41027         * configure.in: Remove use of AC_REVISION.
41028         * iconvdata/Makefile (distribute): No need to filter out CVS.
41029         * scripts/list-sources.sh: Remove CVS, subversion and monotone
41030         handling.
41032 2011-11-16  Andreas Schwab  <schwab@redhat.com>
41034         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41035         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41036         [USE_AS_STRNCASECMP_L]: Likewise.
41037         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41038         NO_TLS_DIRECT_SEG_REFS.
41039         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41040         Fix argument offsets for non-PIC.
41041         [USE_AS_STRNCASECMP_L]: Likewise.
41042         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41043         NO_TLS_DIRECT_SEG_REFS.
41045 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41047         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41048         O_CLOEXEC.
41049         * locale/loadlocale.c (_nl_load_locale): Likewise.
41051 2011-11-15  Andreas Schwab  <schwab@redhat.com>
41053         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41054         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41055         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41056         (SYSCALL_GETTIME): Set errno on error.
41058         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41059         count references to noai6ai_cached.
41061 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41063         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41065         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41066         FD_CLOEXEC for /proc/self/maps.
41068         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41069         FD_CLOEXEC for /proc/meminfo.
41071         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41072         gai.conf.
41074         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
41075         FD_CLOEXEC for given file.
41077         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41079         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41080         FD_CLOEXEC for /etc/hosts.
41081         (_gethtent): Likewise.
41083         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41085         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41086         cancellation and set FD_CLOEXEC for /etc/netgroup.
41088         * nss/nss_files/files-key.c (search): Don't allow cancellation when
41089         reading /etc/publickey.
41091         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41092         allow cancellation when reading /etc/group.
41094         * nss/nss_files/files-alias.c (internal_setent): Don't allow
41095         cancellation.
41096         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
41098         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41099         when using data file.
41101         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41103         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41104         (write_nis_obj): Use "c" and "e" in fopen.
41106         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41108         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41110         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41112         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41114         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41115         locale.alias.
41117         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41119         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41121         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41123         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41124         file parsing and set FD_CLOEXEC.
41126 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41128         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41130 2011-11-14  Andreas Schwab  <schwab@redhat.com>
41132         * malloc/arena.c (arena_get2): Don't call reused_arena when
41133         _int_new_arena failed.
41135 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41137         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41138         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41139         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41140         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41141         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41142         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41143         to compile strcasecmp and strncasecmp.
41144         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41145         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41147         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41149 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
41151         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41152         locale-defines.sym to gen-as-const-headers.
41153         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41154         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41155         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41156         to compile strcasecmp and strncasecmp.
41157         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41158         strcasecmp_l and strncasecmp_l.
41159         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41160         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41161         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41162         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41163         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41164         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41165         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41166         * sysdeps/i386/i686/multiarch/strncase.S: New file.
41167         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41168         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41169         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41171 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
41173         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41174         result of SYSDEP_GETTIME_CPU to retval.
41175         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41176         parameter list to macro.  Remove trailing semicolon.  Adjust users.
41178         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41179         variable.
41181         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41182         mantissa words.
41183         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41185         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41186         from unused variable.
41188         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41189         DWARF definitions.
41190         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41191         for assembling.
41193         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41194         over namespaces.
41196         * sunrpc/rpc_prot.c (rejected): Fix case value.
41198         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41199         unsigned long long int to avoid warnings in shift.
41201         * posix/regex_internal.c (re_string_reconstruct): Actually use result
41202         of use of trans.
41203         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41204         variable tmp.
41206         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41207         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41208         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41210         * nis/nis_table.c (nis_list): Use variable of correct type for
41211         result of __follow_path call.
41213 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41215         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41216         of math functions ceil, trunc, floor, round, and sqrt, when
41217         avaliable on the platform.
41218         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41219         name clash.
41220         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41221         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41222         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41224 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
41226         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41227         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41229 2011-11-11  Roland McGrath  <roland@hack.frob.com>
41231         * include/unistd.h: Fix __readlink return type.
41232         Reported by Chris Metcalf <cmetcalf@tilera.com>.
41234 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
41236         * stdlib/ucontext.h: Undo last change for makecontext.
41238 2011-11-11  Andreas Schwab  <schwab@redhat.com>
41240         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41242         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41243         * setjmp/setjmp.h: Mark functions as non-leaf.
41244         * setjmp/bits/setjmp2.h: Likewise.
41245         * stdlib/ucontext.h: Likewise.
41247 2011-11-10  Andreas Schwab  <schwab@redhat.com>
41249         * malloc/arena.c (_int_new_arena): Don't increment narenas.
41250         (reused_arena): Don't check arena limit.
41251         (arena_get2): Atomically check arena limit.
41253 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
41255         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41256         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41258         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41259         instructions.
41261 2011-11-07  Andreas Schwab  <schwab@redhat.com>
41263         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41264         handler when locking.
41266         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41267         Fix size of allocated buffer.
41269 2011-11-04  Andreas Schwab  <schwab@redhat.com>
41271         [BZ #10103]
41272         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41273         declarations for long double functions.
41274         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41276         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41278 2011-11-03  Andreas Schwab  <schwab@redhat.com>
41280         * nscd/nscd.c (main): Don't start AVC thread until credentials are
41281         installed.
41283         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41284         is disabled.
41286 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41288         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41290 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41292         * include/alloca.h (stackinfo_alloca_round): Define.
41293         (extend_alloca): Use it.
41294         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41295         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41296         here.
41298         * scripts/check-local-headers.sh: Ignore libaudit.h.
41300         * nscd/Makefile (extra-objs): Make recursively expanded.
41302 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
41304         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41305         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41307         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41308         * posix/tst-rfc3484-2.c: Likewise.
41309         * posix/tst-rfc3484-3.c: Likewise.
41311         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41312         process_vm_writev.
41313         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41314         process_vm_writev.
41315         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41316         process_vm_writev from libc using GLIBC_2.15 version.
41318         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41320 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
41322         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41323         stack usage.
41325 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
41327         [BZ #13367]
41328         * nss/getent.c (initgroups_keys): Show error message in case no group
41329         names are given.
41331         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41332         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41333         __bump_nl_timestamp.
41334         * nscd/connections (nscd_init): When host database is served open
41335         netlink socket and request notification about configuration changes.
41336         (main_loop_poll): Track netlink file descriptor and bump timestamp
41337         in case data becomes available.
41338         (main_loop_epoll): Likewise.
41339         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41340         (database_pers_head): Add extra_data fileds.
41341         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41342         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41343         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41344         Adjust caller.
41345         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41346         in6ai data, call __free_in6ai.
41347         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41348         Add -DHAVE_NETLINK.
41349         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
41350         interface information.  Reuse previous data if netlink timestamp
41351         is not changed.
41352         (__bump_nl_timestamp): New function.
41353         (__free_in6ai): New function.
41355 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
41357         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41358         close_not_cancel_no_status here.
41359         (__check_pf): Reorganize code a bit to not call close twice if OOM.
41361 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41363         [BZ #13276]
41364         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41365         return value.
41367         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41368         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41369         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41371 2011-07-03  Andreas Jaeger  <aj@suse.de>
41373         [BZ #10709]
41374         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41375         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41376         * math/libm-test.inc (sin_test): Add test case.
41378 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41380         [BZ #13337]
41381         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41382         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41384         * elf/chroot_canon.c (chroot_canon): Cleanups.
41386         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41388         [BZ #13335]
41389         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41390         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41392         * string/test-strchr.c: Make usable for strchrnul testing.
41393         * string/test-strchrnul.c: New file.
41394         * string/Makefile (strop-tests): Add strchrnul.
41396         * po/it.po: Update from translation team.
41397         * po/es.po: Likewise.
41399 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
41401         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41402         the three constants needed as parameters.  Drop the others.
41403         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41404         __m128i_strloadu_tolower.
41405         Create and initialize variable zero and use it in all the places
41406         where _mm_setzero_si128 was used.
41408         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41409         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41410         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41411         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41412         anymore.
41413         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41414         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41415         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41416         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41417         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41418         __mpranred, __mptan.
41419         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41420         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41421         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41422         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41423         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41424         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41425         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41426         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41427         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41429 2011-10-28  Andreas Schwab  <schwab@redhat.com>
41431         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41432         redefine if SHARED.
41433         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41435         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41436         wide char related routines to wcsmbs subdir.
41438 2011-10-27  Andreas Schwab  <schwab@redhat.com>
41440         [BZ #13344]
41441         * misc/sys/cdefs.h (__THROWNL): Define.
41442         * posix/unistd.h: Use __THREADNL instead of __THREAD
41443         for memory synchronization functions.
41445 2011-10-26  Roland McGrath  <roland@hack.frob.com>
41447         [BZ #13349]
41448         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41449         doesn't exist.
41450         * manual/stdio.texi (Obstack Streams): Node removed.
41452 2011-10-26  Andreas Schwab  <schwab@redhat.com>
41454         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41455         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41456         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41458         * math/math_private.h (math_force_eval): Allow non-addressable
41459         arguments.
41460         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41462 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41464         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41465         file is not needed.
41467         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41468         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41469         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41470         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41471         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41472         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41473         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41474         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41475         Add AVX variants.
41476         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41477         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41478         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41479         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41480         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41481         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41482         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41483         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41484         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41485         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41486         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41487         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41488         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41489         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41490         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41491         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41492         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41493         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41494         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41496         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41497         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
41499         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41500         place.  Use VEX encoding when compiling for AVX.
41502 2011-10-25  Andreas Schwab  <schwab@redhat.com>
41504         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41505         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41507         * string/test-strchr.c (do_test): Don't generate NUL bytes.
41509 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41511         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41512         useless if() expression.
41513         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41514         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41515         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41516         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41517         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41518         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41519         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41520         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41521         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41522         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41523         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41524         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41525         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41526         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41527         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41528         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41529         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41530         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41531         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41533         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41535 2011-10-25  Andreas Schwab  <schwab@redhat.com>
41537         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41538         condition.
41539         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41541 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41543         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41544         .text section.  Avoid duplicate constants.
41545         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41546         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41547         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41548         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41549         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41550         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41551         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41552         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41553         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41554         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41555         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41556         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41557         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41558         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41559         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41560         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41561         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41562         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41563         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41564         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41565         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41566         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41567         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41568         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41569         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41570         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41571         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41572         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41573         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41574         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41575         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41576         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41577         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41578         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41579         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41580         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41581         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41582         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41583         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41584         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41585         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41586         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41587         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41588         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41589         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41591 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
41593         * sysdeps/x86_64/dla.h: Move to ...
41594         * sysdeps/x86_64/fpu/dla.h: ...here.
41595         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41596         situations.  Use __builtin_fma only for gcc 4.6 and up.
41598         * config.make.in: Add have-mfma4 entry.
41599         * configure.in: Substitute libc_cv_cc_fma4.
41600         * math/Makefile (dbl-only-routines): Add sincostab.
41601         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41602         Use __sincostab not sincos.
41603         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41604         name is a macro.
41605         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41606         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41607         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41608         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
41609         using __copysign.
41610         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
41611         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
41612         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41613         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41614         and __inv.
41615         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41616         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41617         __copysign.
41618         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
41619         define aliases when function name is a macro.
41620         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41621         sysdeps/ieee754/dbl-64/sincos.tbl.
41622         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41623         fma4-enabled routines.
41624         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41625         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41626         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41627         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41628         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41629         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41630         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41631         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41632         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41633         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41634         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41635         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41636         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41637         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41638         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41639         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41640         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41641         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41642         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41643         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41644         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41645         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41646         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41647         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41648         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41649         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41650         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41651         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41652         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41653         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41655         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41656         rename.
41657         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41658         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41659         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41660         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41661         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41662         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41663         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41664         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41666 2011-10-24  Andreas Schwab  <schwab@redhat.com>
41668         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41670 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41672         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41674         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41675         prediction.
41676         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41678         * string/strnlen.c: Don't define STRNLEN, reverse logic.
41679         Remove unused variable magic_bits.
41680         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41682         * string/strnlen.c: Define and use STRNLEN macro.
41683         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41684         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41685         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41686         * wcsmbs/wcslen.c: Define and use WCSLEN.
41687         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41688         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41689         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41690         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41691         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41692         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41693         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41695 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41697         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41698         strnlen-sse2-no-bsf.
41699         Rename strlen-no-bsf to strlen-sse2-no-bsf.
41700         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41701         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41702         Add strnlen support.
41703         (USE_AS_STRNLEN): New macro.
41704         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41705         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41706         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41707         * sysdeps/x86_64/wcslen.S: New file.
41709 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
41711         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41712         XMM-moves are used for copying on small sizes.
41714 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41716         * wcsmbs/Makefile (strop-tests): Add wcschr.
41717         * wcsmbs/test-wcschr.c: New file.
41718         * string/test-strchr.c: Update.
41719         Add wcschr support.
41720         (WIDE): New macro.
41722 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41724         * wcsmbs/Makefile (strop-tests): Add wcslen.
41725         * wcsmbs/test-wcslen.c: New file.
41726         * string/test-strlen.c: Update.
41727         Add wcslen support.
41728         (WIDE): New macro.
41730 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41732         * po/it.po: Update from translation team.
41734 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41736         * sysdeps/x86_64/wcscmp.S: Update.
41737         Fix wrong comparison semantics.
41738         wcscmp shall use signed comparison not unsigned.
41739         Don't use substraction to avoid overflow bug.
41740         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41741         * wcsmbc/wcscmp.c: Likewise.
41742         * string/test-strcmp.c: Likewise.
41743         Add new tests to check cases with negative values.
41745 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41747         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41748         * sysdeps/x86_64/dla.h: ...here.  New file.
41749         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41750         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41751         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41752         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41753         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41754         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41755         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41756         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41757         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41759 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
41761         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41762         __ynl_finite aliases.
41764 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
41766         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41768         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41769         define DLA_FMA.
41770         [DLA_FMA] (EMULV): Use DLA_FMA.
41771         [DLA_FMA] (MUL12): Use EMULV.
41772         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41773         that are not needed.
41774         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41775         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41776         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41777         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41778         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41779         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41780         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41782 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
41784         * math/s_nan.c: Undef __nan.
41785         * math/s_nanf.c: Undef __nanf.
41786         * math/s_nanl.c: Undef __nanl.
41787         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41788         "math_private.h".
41790 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
41792         * math/s_catan.c: Add branch predictions.
41793         * math/s_catanf.c: Likewise.
41794         * math/s_catanh.c: Likewise.
41795         * math/s_catanhf.c: Likewise.
41796         * math/s_catanhl.c: Likewise.
41797         * math/s_catanl.c: Likewise.
41798         * math/s_cexp.c: Likewise.
41799         * math/s_cexpf.c: Likewise.
41800         * math/s_cexpl.c: Likewise.
41801         * math/s_clog.c: Likewise.
41802         * math/s_clog10.c: Likewise.
41803         * math/s_clog10f.c: Likewise.
41804         * math/s_clog10l.c: Likewise.
41805         * math/s_clogf.c: Likewise.
41806         * math/s_clogl.c: Likewise.
41807         * math/s_csqrt.c: Likewise.
41808         * math/s_csqrtf.c: Likewise.
41809         * math/s_csqrtl.c: Likewise.
41810         * math/s_ctanf.c: Likewise.
41811         * math/s_ctanh.c: Likewise.
41812         * math/s_ctanhf.c: Likewise.
41813         * math/s_ctanhl.c: Likewise.
41814         * math/s_ctanl.c: Likewise.
41816         * math/math_private.h: Define __nan, __nanf, __nanl.
41817         * math/s_cacosh.c: Include <math_private.h>.
41818         * math/s_cacoshl.c: Likewise.
41819         * math/s_casinh.c: Likewise.
41820         * math/s_casinhf.c: Likewise.
41821         * math/s_casinhl.c: Likewise.
41822         * math/s_ccos.c: Rely entire on ccosh.
41823         * math/s_ccosf.c: Rely entire on ccoshf.
41824         * math/s_ccosl.c: Rely entirely on ccoshl.
41825         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
41826         Remove tests for FE_INVALID.
41827         * math/s_ccoshf.c: Likewise.
41828         * math/s_ccoshl.c: Likewise.
41829         * math/s_csin.c: Likewise.
41830         * math/s_csinf.c: Likewise.
41831         * math/s_csinh.c Likewise.
41832         * math/s_csinhf.c: Likewise.
41833         * math/s_csinhl.c: Likewise.
41834         * math/s_csinl.c: Likewise.
41835         * math/s_ctan.c: Likewise.
41836         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41837         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41838         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41840 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
41842         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41843         compilation problems.
41845         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41846         __builtin_expect.
41848 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
41850         * sysdeps/i386/configure.in: Test for -mfma4 option.
41851         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41852         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41853         COMMON_CPUID_INDEX_80000001.
41854         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41855         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41856         use it if FMA3 is not supported.
41857         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41859         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41860         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41862 2011-10-20  Andreas Schwab  <schwab@redhat.com>
41864         [BZ #12892]
41865         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41866         it would create a cycle with a link time dependency.
41868 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
41870         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41871         instruction.
41872         * string/Makefile (strop-tests): Add rawmemchr.
41873         * string/test-rawmemchr.c: New file.
41875         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41876         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
41877         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
41878         when compiling str{,n}casecmp and when AVX is available.  Hook up
41879         new optimized code in initializers.
41881 2011-10-19  Andreas Schwab  <schwab@redhat.com>
41883         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41884         __feraiseexcept instead of feraiseexcept.
41886 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
41888         * math/math_private.h: Define defaults for libc_fetestexcept and
41889         libc_feupdateenv.
41890         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41891         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41892         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41893         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41894         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41895         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41896         libc_fetestexcept and libc_feupdateenv.
41898         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41899         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41900         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41901         * sysdeps/x86_64/fpu/math_private.h: Define special version of
41902         libc_feholdexcept_setround.
41904         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41905         Add s_nearbyint-c and s_nearbyintf-c.
41906         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41907         nearbyintf inlines.
41908         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41909         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41910         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41911         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41913         * math/math_private.h: Define defaults for libc_fegetround,
41914         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41915         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41916         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41917         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41918         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41919         standard functions.
41920         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41921         Remove comments and hacks for old compiler versions.
41922         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41923         libc_fegetround, libc_fesetround, libc_feholdexcept, and
41924         libc_feholdexceptl.
41926 2011-10-18  Andreas Schwab  <schwab@redhat.com>
41928         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41929         (__feraiseexcept_renamed): Add __NTH.
41930         (feraiseexcept): Add __NTH.  Rename local variables to fix
41931         namespace violations.
41933 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
41935         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41937         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41939         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41940         recently added interfaces.
41941         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41943         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41944         about macro parameter expansion.
41946         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41947         __NO_MATH_INLINES is defined.  Cleanups.
41949         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41950         and __floorf is target has SSE4.1.
41951         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41952         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41953         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41954         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41956         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41957         name.
41958         (floorf): Likewise.
41960         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41962 2011-10-17  Andreas Schwab  <schwab@redhat.com>
41964         * misc/sys/cdefs.h: Fix last change.
41966         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41967         database lookup.
41969 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
41971         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41973         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41974         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41975         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41976         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41977         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41978         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41979         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41980         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41981         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41982         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41983         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41984         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41985         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41986         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41987         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41988         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41989         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41990         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41991         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41992         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41993         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41994         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41996         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41997         ceil, ceilf, floor, floorf.
41999         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42000         Perform IRELATIVE relocations last.
42002         * elf/do-rel.h: Add another parameter nrelative, replacing the
42003         local variable with the same name.  Change name of the function
42004         to end in Rel or Rela (uppercase).
42005         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42006         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
42007         elf_dynamic_do_##reloc function.
42009 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42011         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42012         is sufficient, at least on modern CPUs.
42014         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42016         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42017         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42019         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42020         __expl_finite.
42021         * math/bits/math-finite.h: Add entries for exp.
42022         * math/e_expl.c: Add __*_finite alias.
42023         * sysdeps/i386/fpu/e_exp.S: Likewise.
42024         * sysdeps/i386/fpu/e_expf.S: Likewise.
42025         * sysdeps/i386/fpu/e_expl.c: Likewise.
42026         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42027         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42028         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42029         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42030         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42031         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42032         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42034         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42035         is sufficient, at least on modern CPUs.
42037         * ctype/ctype-info.c (__ctype_init): Define.
42038         * include/ctype.h (__ctype_init): Declare.
42039         (__ctype_b_loc): The variable is always initialized.
42040         (__ctype_toupper_loc): Likewise.
42041         (__ctype_tolower_loc): Likewise.
42042         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42043         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42045 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
42047         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42049         * configure.in: Also look in $cxxmachine/include for C++ system
42050         headers.
42052 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42054         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42055         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42056         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42057         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
42058         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42059         (USE_AS_WMEMCMP): New macro.
42060         Fixing indents.
42061         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42062         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42063         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42064         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42065         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42066         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42067         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42068         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42069         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42070         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42071         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42072         (USE_AS_WMEMCMP): New macro.
42073         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42074         * sysdeps/string/test-memcmp.c: Update.
42075         Fix simple_wmemcmp.
42076         Add new tests.
42077         * wcsmbs/wmemcmp.c: Update.
42078         (WMEMCMP): New macro.
42079         Fix overflow bug.
42081 2011-10-12  Andreas Jaeger  <aj@suse.de>
42083         [BZ #13268]
42084         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42086 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42088         * libio/iofwide.c (do_length): Avoid warning.
42090         * ctype/ctype.h (__isctype_f): Add missing __THROW.
42092 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
42094         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42096         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42097         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42098         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42099         * sysdeps/i386/i686/fpu/e_log.S: New file.
42100         * sysdeps/i386/i686/fpu/e_logf.S: New file.
42101         * sysdeps/i386/i686/fpu/e_logl.S: New file.
42103         * ctype/ctype.h: Add support for inlined isXXX functions when
42104         compiling C++ code.
42106 2011-10-14  Andreas Schwab  <schwab@redhat.com>
42108         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42110         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42112 2011-10-13  Roland McGrath  <roland@hack.frob.com>
42114         [BZ #13291]
42115         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42117 2011-10-13  Andreas Schwab  <schwab@redhat.com>
42119         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42120         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42121         feraiseexcept.
42123         * sysdeps/x86_64/memrchr.S: Check for zero size.
42125         * string/stratcliff.c: Add memrchr tests.
42127 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42129         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42130         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42131         rawmemchr-sse2 rawmemchr-sse2-bsf.
42132         * sysdeps/i386/i686/multiarch/memchr.S: New file.
42133         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42134         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42135         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42136         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42137         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42138         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42139         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42140         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42141         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42142         * string/memrchr.c (MEMRCHR): New macro.
42144 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
42146         Add integration with gcc's -ffinite-math-only and optimize wrapper
42147         functions in libm.
42148         * Versions.def: Define GLIBC_2.15 version for libm.
42149         * math/Makefile (headers): Add bits/math-finite.h.
42150         * math/bits/math-finite.h: New file.
42151         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42152         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42153         * math/e_acoshl.c: Add __*_finite alias.
42154         * math/e_acosl.c: Likewise.
42155         * math/e_asinl.c: Likewise.
42156         * math/e_atan2l.c: Likewise.
42157         * math/e_atanhl.c: Likewise.
42158         * math/e_coshl.c: Likewise.
42159         * math/e_exp10.c: Likewise.
42160         * math/e_exp10f.c: Likewise.
42161         * math/e_exp10l.c: Likewise.
42162         * math/e_exp2l.c: Likewise.
42163         * math/e_fmodl.c: Likewise.
42164         * math/e_gammal_r.c: Likewise.
42165         * math/e_hypotl.c: Likewise.
42166         * math/e_j0l.c: Likewise.
42167         * math/e_j1l.c: Likewise.
42168         * math/e_jnl.c: Likewise.
42169         * math/e_lgammal_r.c: Likewise.
42170         * math/e_log10l.c: Likewise.
42171         * math/e_log2l.c: Likewise.
42172         * math/e_logl.c: Likewise.
42173         * math/e_powl.c: Likewise.
42174         * math/e_sinhl.c: Likewise.
42175         * math/e_sqrtl.c: Likewise.
42176         * math/e_scalb.c: Completely rewritten and optimized.
42177         * math/e_scalbf.c: Likewise.
42178         * math/e_scalbl.c: Likewise.
42179         * math/w_acos.c: Likewise.
42180         * math/w_acosf.c: Likewise.
42181         * math/w_acosl.c: Likewise.
42182         * math/w_acosh.c: Likewise.
42183         * math/w_acoshf.c: Likewise.
42184         * math/w_acoshl.c: Likewise.
42185         * math/w_asin.c: Likewise.
42186         * math/w_asinf.c: Likewise.
42187         * math/w_asinl.c: Likewise.
42188         * math/w_atan2.c: Likewise.
42189         * math/w_atan2f.c: Likewise.
42190         * math/w_atan2l.c: Likewise.
42191         * math/w_atanh.c: Likewise.
42192         * math/w_atanhf.c: Likewise.
42193         * math/w_atanhl.c: Likewise.
42194         * math/w_exp10.c: Likewise.
42195         * math/w_exp10f.c: Likewise.
42196         * math/w_exp10l.c: Likewise.
42197         * math/w_fmod.c: Likewise.
42198         * math/w_fmodf.c: Likewise.
42199         * math/w_fmodl.c: Likewise.
42200         * math/w_j0.c: Likewise.
42201         * math/w_j0f.c: Likewise.
42202         * math/w_j0l.c: Likewise.
42203         * math/w_j1.c: Likewise.
42204         * math/w_j1f.c: Likewise.
42205         * math/w_j1l.c: Likewise.
42206         * math/w_jn.c: Likewise.
42207         * math/w_jnf.c: Likewise.
42208         * math/w_log.c: Likewise.
42209         * math/w_logf.c: Likewise.
42210         * math/w_logl.c: Likewise.
42211         * math/w_log10.c: Likewise.
42212         * math/w_log10f.c: Likewise.
42213         * math/w_log10l.c: Likewise.
42214         * math/w_log2.c: Likewise.
42215         * math/w_log2f.c: Likewise.
42216         * math/w_log2l.c: Likewise.
42217         * math/w_pow.c: Likewise.
42218         * math/w_powf.c: Likewise.
42219         * math/w_powl.c: Likewise.
42220         * math/w_remainder.c: Likewise.
42221         * math/w_remainderf.c: Likewise.
42222         * math/w_remainderl.c: Likewise.
42223         * math/w_scalb.c: Likewise.
42224         * math/w_scalbf.c: Likewise.
42225         * math/w_scalbl.c: Likewise.
42226         * math/w_sqrt.c: Likewise.
42227         * math/w_sqrtf.c: Likewise.
42228         * math/w_sqrtl.c: Likewise.
42229         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42230         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
42231         used.
42232         * math/math_private.h: Declare __kernel_standard_f.
42233         * math/w_cosh.c: Remove cruft and optimize a bit.
42234         * math/w_coshf.c: Likewise.
42235         * math/w_coshl.c: Likewise.
42236         * math/w_exp2.c: Likewise.
42237         * math/w_exp2f.c: Likewise.
42238         * math/w_exp2l.c: Likewise.
42239         * math/w_hypot.c: Likewise.
42240         * math/w_hypotf.c: Likewise.
42241         * math/w_hypotl.c: Likewise.
42242         * math/w_lgamma.c: Likewise.
42243         * math/w_lgamma_r.c: Likewise.
42244         * math/w_lgammaf.c: Likewise.
42245         * math/w_lgammaf_r.c: Likewise.
42246         * math/w_lgammal.c: Likewise.
42247         * math/w_lgammal_r.c: Likewise.
42248         * math/w_sinh.c: Likewise.
42249         * math/w_sinhf.c: Likewise.
42250         * math/w_sinhl.c: Likewise.
42251         * math/w_tgamma.c: Likewise.
42252         * math/w_tgammaf.c: Likewise.
42253         * math/w_tgammal.c: Likewise.
42254         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42255         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42256         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42257         Minor optimizations.  Pretty printing.  Remove cruft.
42258         * sysdeps/i386/fpu/e_acosf.S: Likewise.
42259         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42260         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42261         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42262         * sysdeps/i386/fpu/e_acosl.c: Likewise.
42263         * sysdeps/i386/fpu/e_asin.S: Likewise.
42264         * sysdeps/i386/fpu/e_asinf.S: Likewise.
42265         * sysdeps/i386/fpu/e_atan2.S: Likewise.
42266         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42267         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42268         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42269         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42270         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42271         * sysdeps/i386/fpu/e_exp10.S: Likewise.
42272         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42273         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42274         * sysdeps/i386/fpu/e_exp2.S: Likewise.
42275         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42276         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42277         * sysdeps/i386/fpu/e_fmod.S: Likewise.
42278         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42279         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42280         * sysdeps/i386/fpu/e_hypot.S: Likewise.
42281         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42282         * sysdeps/i386/fpu/e_log.S: Likewise.
42283         * sysdeps/i386/fpu/e_log10.S: Likewise.
42284         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42285         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42286         * sysdeps/i386/fpu/e_log2.S: Likewise.
42287         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42288         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42289         * sysdeps/i386/fpu/e_logf.S: Likewise.
42290         * sysdeps/i386/fpu/e_logl.S: Likewise.
42291         * sysdeps/i386/fpu/e_pow.S: Likewise.
42292         * sysdeps/i386/fpu/e_powf.S: Likewise.
42293         * sysdeps/i386/fpu/e_powl.S: Likewise.
42294         * sysdeps/i386/fpu/e_remainder.S: Likewise.
42295         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42296         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42297         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42298         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42299         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42300         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42301         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42302         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42303         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42304         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42305         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42306         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42307         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42308         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42309         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42310         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42311         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42312         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42313         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42314         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42315         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42316         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42317         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42318         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42319         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42320         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42321         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42322         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42323         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42324         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42325         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42326         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42327         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42328         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42329         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42330         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42331         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42332         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42333         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42334         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42335         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42336         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42337         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42338         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42339         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42340         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42341         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42342         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42343         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42344         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42345         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42346         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42347         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42348         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42349         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42350         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42351         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42352         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42353         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42354         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42355         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42356         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42357         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42358         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42359         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42360         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42361         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42362         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42363         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42364         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42365         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42366         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42367         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42368         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42369         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42370         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42371         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42372         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42373         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42374         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42375         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42376         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42377         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42378         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42379         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42380         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42381         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42382         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42383         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42384         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42385         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42386         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42387         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42388         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42389         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42390         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42391         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42392         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42393         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42394         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42395         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42396         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42397         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42398         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42399         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42400         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42401         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42402         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42403         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42404         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42405         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42406         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42407         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42408         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42409         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42410         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42411         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42412         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42413         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
42414         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42415         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42416         (__isnanf): Likewise.
42417         (__isinf_ns): Likewise.
42418         (__isinf_nsf): Likewise.
42419         (__finite): Likewise.
42420         (__finitef): Likewise.
42421         (__ieee754_sqrt): Define as macro.
42422         (__ieee754_sqrtf): Define as macro.
42423         (__ieee754_sqrtl): Define as macro.
42424         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42425         inlined copy.
42426         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42427         __FINITE_MATH_ONLY__ consistent.
42428         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42430 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
42432         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42433         of rawmemchr.
42435         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42437 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
42439         * po/ja.po: Update from translation team.
42441 2011-10-08  Roland McGrath  <roland@hack.frob.com>
42443         * locale/programs/locarchive.c (prepare_address_space): New function.
42444         (create_archive, enlarge_archive, open_archive): Use it.
42446         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42447         inside [SHARED], where it is used.
42449         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42451         * nss/getent.c (netgroup_keys): Remove unused variable.
42452         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42454 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
42456         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42457         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42458         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42459         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42460         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42461         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42462         * math/Makefile (libm-calls): Add s_isinf_ns.
42463         * math/divtc3.c: Use __isinf_nsl instead of isinf.
42464         * math/multc3.c: Likewise.
42465         * math/s_casin.c: Likewise.
42466         * math/s_casinf.c: Likewise.
42467         * math/s_casinl.c: Likewise.
42468         * math/s_ccos.c: Likewise.
42469         * math/s_ccosf.c: Likewise.
42470         * math/s_ccosl.c: Likewise.
42471         * math/s_ctan.c: Likewise.
42472         * math/s_ctanf.c: Likewise.
42473         * math/s_ctanh.c: Likewise.
42474         * math/s_ctanhf.c: Likewise.
42475         * math/s_ctanhl.c: Likewise.
42476         * math/s_ctanl.c: Likewise.
42477         * math/w_fmod.c: Likewise.
42478         * math/w_fmodf.c: Likewise.
42479         * math/w_fmodl.c: Likewise.
42480         * math/w_remainder.c: Likewise.
42481         * math/w_remainderf.c: Likewise.
42482         * math/w_remainderl.c: Likewise.
42483         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42484         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42485         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42486         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42487         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42488         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42489         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42490         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42492         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42493         of the number.
42494         * stdio-common/printf_fphex.c: Likewise.
42495         * stdio-common/printf_size.c: Likewise.
42497         * math/e_exp10.c: Include math_private.h using <...> not "...".
42498         * math/e_exp10f.c: Likewise.
42499         * math/e_exp10l.c: Likewise.
42500         * math/e_exp2l.c: Likewise.
42501         * math/e_j0l.c: Likewise.
42502         * math/e_j1l.c: Likewise.
42503         * math/e_jnl.c: Likewise.
42504         * math/e_lgammal_r.c: Likewise.
42505         * math/e_rem_pio2l.c: Likewise.
42506         * math/e_scalb.c: Likewise.
42507         * math/e_scalbf.c: Likewise.
42508         * math/e_scalbl.c: Likewise.
42509         * math/k_cosl.c: Likewise.
42510         * math/k_sinl.c: Likewise.
42511         * math/k_tanl.c: Likewise.
42512         * math/s_cacoshf.c: Likewise.
42513         * math/s_catan.c: Likewise.
42514         * math/s_catanf.c: Likewise.
42515         * math/s_catanh.c: Likewise.
42516         * math/s_catanhf.c: Likewise.
42517         * math/s_catanhl.c: Likewise.
42518         * math/s_catanl.c: Likewise.
42519         * math/s_ccosh.c: Likewise.
42520         * math/s_ccoshf.c: Likewise.
42521         * math/s_ccoshl.c: Likewise.
42522         * math/s_cexp.c: Likewise.
42523         * math/s_cexpf.c: Likewise.
42524         * math/s_cexpl.c: Likewise.
42525         * math/s_clog.c: Likewise.
42526         * math/s_clog10.c: Likewise.
42527         * math/s_clog10f.c: Likewise.
42528         * math/s_clog10l.c: Likewise.
42529         * math/s_clogf.c: Likewise.
42530         * math/s_clogl.c: Likewise.
42531         * math/s_csin.c: Likewise.
42532         * math/s_csinf.c: Likewise.
42533         * math/s_csinh.c: Likewise.
42534         * math/s_csinhf.c: Likewise.
42535         * math/s_csinhl.c: Likewise.
42536         * math/s_csinl.c: Likewise.
42537         * math/s_csqrt.c: Likewise.
42538         * math/s_csqrtf.c: Likewise.
42539         * math/s_csqrtl.c: Likewise.
42540         * math/s_ctan.c: Likewise.
42541         * math/s_ctanf.c: Likewise.
42542         * math/s_ctanh.c: Likewise.
42543         * math/s_ctanhf.c: Likewise.
42544         * math/s_ctanhl.c: Likewise.
42545         * math/s_ctanl.c: Likewise.
42546         * math/s_ldexp.c: Likewise.
42547         * math/s_ldexpf.c: Likewise.
42548         * math/s_ldexpl.c: Likewise.
42549         * math/s_significand.c: Likewise.
42550         * math/s_significandf.c: Likewise.
42551         * math/s_significandl.c: Likewise.
42552         * math/w_acos.c: Likewise.
42553         * math/w_acosf.c: Likewise.
42554         * math/w_acosh.c: Likewise.
42555         * math/w_acoshf.c: Likewise.
42556         * math/w_acoshl.c: Likewise.
42557         * math/w_acosl.c: Likewise.
42558         * math/w_asin.c: Likewise.
42559         * math/w_asinf.c: Likewise.
42560         * math/w_asinl.c: Likewise.
42561         * math/w_atan2.c: Likewise.
42562         * math/w_atan2f.c: Likewise.
42563         * math/w_atan2l.c: Likewise.
42564         * math/w_atanh.c: Likewise.
42565         * math/w_atanhf.c: Likewise.
42566         * math/w_atanhl.c: Likewise.
42567         * math/w_cosh.c: Likewise.
42568         * math/w_coshf.c: Likewise.
42569         * math/w_coshl.c: Likewise.
42570         * math/w_dremf.c: Likewise.
42571         * math/w_exp10.c: Likewise.
42572         * math/w_exp10f.c: Likewise.
42573         * math/w_exp10l.c: Likewise.
42574         * math/w_exp2.c: Likewise.
42575         * math/w_exp2f.c: Likewise.
42576         * math/w_fmod.c: Likewise.
42577         * math/w_fmodf.c: Likewise.
42578         * math/w_fmodl.c: Likewise.
42579         * math/w_hypot.c: Likewise.
42580         * math/w_hypotf.c: Likewise.
42581         * math/w_hypotl.c: Likewise.
42582         * math/w_j0.c: Likewise.
42583         * math/w_j0f.c: Likewise.
42584         * math/w_j0l.c: Likewise.
42585         * math/w_j1.c: Likewise.
42586         * math/w_j1f.c: Likewise.
42587         * math/w_j1l.c: Likewise.
42588         * math/w_jn.c: Likewise.
42589         * math/w_jnf.c: Likewise.
42590         * math/w_jnl.c: Likewise.
42591         * math/w_lgamma.c: Likewise.
42592         * math/w_lgamma_r.c: Likewise.
42593         * math/w_lgammaf.c: Likewise.
42594         * math/w_lgammaf_r.c: Likewise.
42595         * math/w_lgammal.c: Likewise.
42596         * math/w_lgammal_r.c: Likewise.
42597         * math/w_log.c: Likewise.
42598         * math/w_log10.c: Likewise.
42599         * math/w_log10f.c: Likewise.
42600         * math/w_log10l.c: Likewise.
42601         * math/w_log2.c: Likewise.
42602         * math/w_log2f.c: Likewise.
42603         * math/w_log2l.c: Likewise.
42604         * math/w_logf.c: Likewise.
42605         * math/w_logl.c: Likewise.
42606         * math/w_pow.c: Likewise.
42607         * math/w_powf.c: Likewise.
42608         * math/w_powl.c: Likewise.
42609         * math/w_remainder.c: Likewise.
42610         * math/w_remainderf.c: Likewise.
42611         * math/w_remainderl.c: Likewise.
42612         * math/w_scalb.c: Likewise.
42613         * math/w_scalbf.c: Likewise.
42614         * math/w_scalbl.c: Likewise.
42615         * math/w_sinh.c: Likewise.
42616         * math/w_sinhf.c: Likewise.
42617         * math/w_sinhl.c: Likewise.
42618         * math/w_sqrt.c: Likewise.
42619         * math/w_sqrtf.c: Likewise.
42620         * math/w_sqrtl.c: Likewise.
42621         * math/w_tgamma.c: Likewise.
42622         * math/w_tgammaf.c: Likewise.
42623         * math/w_tgammal.c: Likewise.
42625         * po/ja.po: Update from translation team.
42627 2011-09-29  Andreas Jaeger  <aj@suse.de>
42629         [BZ #13179]
42630         * sunrpc/netname.c (netname2host): Fix logic.
42632         [BZ #6779]
42633         [BZ #6783]
42634         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42635         correctly.
42636         * math/w_remainder.c (__remainder): Likewise.
42637         * math/w_remainderf.c (__remainderf): Likewise.
42638         * math/libm-test.inc (remainder_test): Add test cases.
42640 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42642         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
42643         sdiv_qrnnd.
42645 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
42647         * string/test-memcmp.c: Avoid unncessary #defines.
42648         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42650 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42652         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42653         Use new sse2 version for core i3 - i7 as it's faster
42654         than sse42 version.
42655         (bit_Prefer_PMINUB_for_stringop): New.
42656         * sysdeps/x86_64/rawmemchr.S: Update.
42657         Replace with faster SSE2 version.
42658         * sysdeps/x86_64/memrchr.S: New file.
42659         * sysdeps/x86_64/memchr.S: Update.
42660         Replace with faster SSE2 version.
42662 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
42664         * elf/dl-load.c (lose): Add cast to avoid warning.
42666 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
42668         * po/ca.po: Update from translation team.
42670         * inet/getnetgrent_r.c: Hook up nscd.
42671         * nscd/Makefile (routines): Add nscd_netgroup.
42672         (nscd-modules): Add netgroupcache.
42673         (CFLAGS-netgroupcache.c): Define.
42674         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42675         (cache_search): Add const to second parameter.
42676         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42677         INNETGR.
42678         (dbs): Add netgrdb entry.
42679         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42680         (verify_persistent_db): Handle netgrdb.
42681         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42682         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42683         GETFDNETGR.
42684         (netgroup_response_header): Define.
42685         (innetgroup_response_header): Define.
42686         (datahead): Add netgroup_response_header and innetgroup_response_header
42687         elements.
42688         * nscd/nscd.conf: Add entries for netgroup cache.
42689         * nscd/nscd.h (dbtype): Add netgrdb.
42690         (_PATH_NSCD_NETGROUP_DB): Define.
42691         (netgroup_iov_disabled): Declare.
42692         (xmalloc, xcalloc, xrealloc): Move declarations here.
42693         (cache_search): Adjust prototype.
42694         Add netgroup-related prototypes.
42695         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42696         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42697         (__nscd_innetgr): Declare.
42698         * nscd/selinux.c (perms): Use access_vector_t as element type and
42699         add netgroup-related initializers.
42700         * nscd/netgroupcache.c: New file.
42701         * nscd/nscd_netgroup.c: New file.
42702         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42703         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42704         For four parameters use innetgr.
42705         * nss/nss_files/files-init.c: Add definition and callback for netgr.
42706         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42707         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42708         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42710         * nscd/connections.c (register_traced_file): Don't register file
42711         for disabled databases.
42713 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
42715         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42717         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42718         from tree and freeing node.
42720 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
42722         * nss/nsswitch.c (__nss_database_lookup): Handle
42723         nss_parse_service_list out of memory case.
42725 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
42727         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42728         out of memory case.
42730 2011-10-04  Andreas Schwab  <schwab@redhat.com>
42732         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42733         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42734         pass it down.
42735         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42736         elf_machine_rela, elf_machine_lazy_rel.
42737         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42738         (ELF_DYNAMIC_DO_REL): Likewise.
42739         (ELF_DYNAMIC_DO_RELA): Likewise.
42740         (ELF_DYNAMIC_RELOCATE): Likewise.
42741         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42742         to ELF_DYNAMIC_DO_REL.
42743         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42744         (dl_main): In trace mode always set __RTLD_NOIFUNC.
42745         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42746         elf_machine_rela.
42747         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42748         skip_ifunc, don't call ifunc function if non-zero.
42749         (elf_machine_rela): Likewise.
42750         (elf_machine_lazy_rel): Likewise.
42751         (elf_machine_lazy_rela): Likewise.
42752         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42753         (elf_machine_lazy_rel): Likewise.
42754         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42755         Likewise.
42756         (elf_machine_lazy_rel): Likewise.
42757         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42758         Likewise.
42759         (elf_machine_lazy_rel): Likewise.
42760         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42761         (elf_machine_lazy_rel): Likewise.
42762         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42763         (elf_machine_lazy_rel): Likewise.
42764         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42765         (elf_machine_lazy_rel): Likewise.
42766         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42767         (elf_machine_lazy_rel): Likewise.
42768         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42769         (elf_machine_lazy_rel): Likewise.
42770         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42771         (elf_machine_lazy_rel): Likewise.
42773 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
42775         * nss/nss_files/files-init.c (_nss_files_init): Use static
42776         initialization for all the *_traced_file variables.
42778 2011-09-28  Andreas Schwab  <schwab@redhat.com>
42780         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42782 2011-09-27  Roland McGrath  <roland@hack.frob.com>
42784         [BZ #13226]
42785         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42787 2011-09-27  Andreas Schwab  <schwab@redhat.com>
42789         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42790         Reread the line before reparsing it.
42792 2011-09-26  Andreas Schwab  <schwab@redhat.com>
42794         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42796 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
42797             Maxim Kuvyrkov  <maxim@codesourcery.com>
42798             Joseph Myers  <joseph@codesourcery.com>
42800         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42801         if needed for __stack_chk_guard.
42803 2011-09-19  Roland McGrath  <roland@hack.frob.com>
42805         * sysdeps/posix/spawni.c (script_execute): Always define it.
42806         It will be optimized away if unused.
42807         (maybe_script_execute): New function.
42808         (__spawni): Call it.
42810         * Makerules: Don't include tls.make.
42811         (config-tls): Always set to thread.
42812         * tls.make.c: File removed.
42814 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
42816         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42817         * config.make.in (CPPFLAGS-config): New substituted variable.
42819 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
42821         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42823         [BZ #13192]
42824         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42825         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42827 2011-09-15  Roland McGrath  <roland@hack.frob.com>
42829         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42830         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42831         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42832         (CALL_FAIL): Likewise.
42833         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42834         (CALL_FAIL): Macro removed.
42835         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42837 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
42839         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42840         for __FINITE_MATH_ONLY__ == 1.
42842 2011-09-15  Andreas Schwab  <schwab@redhat.com>
42844         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42845         __ieee754_sqrt instead of sqrt.
42846         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42847         __ieee754_sqrtf instead of sqrtf.
42848         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42849         __floorf instead of floorf.
42850         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42851         __floorf, __truncf instead of floorf, truncf.
42853 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
42855         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42857         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42858         __extern_always_inline.
42859         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42860         32-bit.
42862 2011-09-14  Andreas Schwab  <schwab@redhat.com>
42864         * elf/rtld.c (dl_main): Also relocate in dependency order when
42865         doing symbol dependency testing.
42867 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
42869         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42870         Always define `refsym'.
42872 2011-09-13  Andreas Schwab  <schwab@redhat.com>
42874         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42875         (__FD_ELT): Renamed from __FDELT.
42876         * misc/bits/select2.h (__FD_ELT): Likewise.
42877         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42878         __FD_MASK instead of __FDELT, __FDMASK.
42879         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42880         Likewise.
42881         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42882         Likewise.
42884         * elf/Makefile (gen-ldd): Fix pattern.
42886         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42887         (init_tls): Likewise.
42889 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
42891         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42893 2011-09-12  Andreas Schwab  <schwab@redhat.com>
42895         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42896         `struct cmsghdr *' instead of `void *'.
42897         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42898         Likewise.
42900 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
42902         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42903         if non-absolute.
42904         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42905         ldd_rewrite_script.
42907 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
42909         * configure.in: Remove --with-tls option.
42910         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42911         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42912         out in case it is missing.
42913         * sysdeps/ia64/elf/configure.in: Likewise.
42914         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42915         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42916         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42917         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42918         * sysdeps/sh/elf/configure.in: Likewise.
42919         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42920         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42921         * sysdeps/x86_64/elf/configure.in: Likewise.
42922         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42923         * sysdeps/mach/hurd/tls.h: Likewise.
42925         [BZ #13067]
42926         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42928         [BZ #13090]
42929         * configure.in: Fix use of AC_INIT.
42931         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42933 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
42935         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42936         __set_errno.
42937         * malloc/hooks.c: Likewise.
42939         [BZ #11929]
42940         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
42941         variables statically.
42942         (narenas): Initialize.
42943         (list_lock): Initialize.
42944         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
42945         initializtion of main_arena and list_lock.  Small cleanups.
42946         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42947         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
42948         Add initializers to main_arena and mp_.
42949         (malloc_state): Remove pagesize member.  Change all users to use
42950         GLRO(dl_pagesize).
42952         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42953         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
42954         is always initialized.
42956         * malloc/malloc.c: Removed unused configurations and dead code.
42957         * malloc/arena.c: Likewise.
42958         * malloc/hooks.c: Likewise.
42959         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42961         * include/tls.h: Removed.  USE___THREAD must always be defined.
42962         * bits/libc-tsd.h: Don't handle !USE___THREAD.
42963         * elf/dl-libc.c: Likewise.
42964         * elf/dl-tsd.c: Likewise.
42965         * include/errno.h: Likewise.
42966         * include/netdb.h: Likewise.
42967         * include/resolv.h: Likewise.
42968         * inet/herrno-loc.c: Likewise.
42969         * inet/herrno.c: Likewise.
42970         * malloc/arena.c: Likewise.
42971         * malloc/hooks.c: Likewise.
42972         * malloc/malloc.c: Likewise.
42973         * resolv/res-state.c: Likewise.
42974         * resolv/res_libc.c: Likewise.
42975         * sysdeps/i386/dl-machine.h: Likewise.
42976         * sysdeps/ia64/dl-machine.h: Likewise.
42977         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42978         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42979         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42980         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42981         * sysdeps/sh/dl-machine.h: Likewise.
42982         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42983         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42984         * sysdeps/unix/i386/sysdep.S: Likewise.
42985         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42986         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42987         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42988         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42989         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42990         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42991         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42992         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42993         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42994         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42995         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42996         * sysdeps/x86_64/dl-machine.h: Likewise.
42997         * tls.make.c: Likewise.
42999         * configure.in: Remove --with-__thread option.  Make tests for
43000         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43001         tls_model attribute fail if no support is available.  Remove
43002         USE_IN_LIBIO.
43003         * Makeconfig: Adjust for dropped configure option.  All features are
43004         now mandatory.
43005         * Makerules: Likewise.
43006         * Versions.def: Likewise.
43007         * argp/argp-fmtstream.c: Likewise.
43008         * argp/argp-fmtstream.h: Likewise.
43009         * argp/argp-help.c: Likewise.
43010         * assert/assert.c: Likewise.
43011         * config.h.in: Likewise.
43012         * config.make.in: Likewise.
43013         * configure: Likewise.
43014         * configure.in: Likewise.
43015         * csu/Versions: Likewise.
43016         * csu/init.c: Likewise.
43017         * elf/tst-audit2.c: Likewise.
43018         * elf/tst-tls10.c: Likewise.
43019         * elf/tst-tls10.h: Likewise.
43020         * elf/tst-tls11.c: Likewise.
43021         * elf/tst-tls12.c: Likewise.
43022         * elf/tst-tls14.c: Likewise.
43023         * elf/tst-tlsmod11.c: Likewise.
43024         * elf/tst-tlsmod12.c: Likewise.
43025         * elf/tst-tlsmod13.c: Likewise.
43026         * elf/tst-tlsmod13a.c: Likewise.
43027         * elf/tst-tlsmod14a.c: Likewise.
43028         * elf/tst-tlsmod15b.c: Likewise.
43029         * elf/tst-tlsmod16a.c: Likewise.
43030         * elf/tst-tlsmod16b.c: Likewise.
43031         * elf/tst-tlsmod7.c: Likewise.
43032         * elf/tst-tlsmod8.c: Likewise.
43033         * elf/tst-tlsmod9.c: Likewise.
43034         * gmon/gmon.c: Likewise.
43035         * grp/fgetgrent_r.c: Likewise.
43036         * grp/putgrent.c: Likewise.
43037         * hurd/fopenport.c: Likewise.
43038         * include/libc-symbols.h: Likewise.
43039         * include/tls.h: Likewise.
43040         * intl/gettextP.h: Likewise.
43041         * intl/loadinfo.h: Likewise.
43042         * locale/global-locale.c: Likewise.
43043         * locale/localeinfo.h: Likewise.
43044         * mach/devstream.c: Likewise.
43045         * malloc/arena.c: Likewise.
43046         * malloc/set-freeres.c: Likewise.
43047         * misc/err.c: Likewise.
43048         * misc/getttyent.c: Likewise.
43049         * misc/mntent_r.c: Likewise.
43050         * posix/getopt.c: Likewise.
43051         * posix/wordexp.c: Likewise.
43052         * pwd/fgetpwent_r.c: Likewise.
43053         * resolv/Versions: Likewise.
43054         * resolv/res_hconf.c: Likewise.
43055         * shadow/fgetspent_r.c: Likewise.
43056         * shadow/putspent.c: Likewise.
43057         * stdio-common/printf_fphex.c: Likewise.
43058         * stdio-common/tmpfile.c: Likewise.
43059         * stdlib/abort.c: Likewise.
43060         * stdlib/fmtmsg.c: Likewise.
43061         * sunrpc/auth_unix.c: Likewise.
43062         * sunrpc/clnt_perr.c: Likewise.
43063         * sunrpc/clnt_tcp.c: Likewise.
43064         * sunrpc/clnt_udp.c: Likewise.
43065         * sunrpc/clnt_unix.c: Likewise.
43066         * sunrpc/openchild.c: Likewise.
43067         * sunrpc/svc_simple.c: Likewise.
43068         * sunrpc/svc_tcp.c: Likewise.
43069         * sunrpc/svc_udp.c: Likewise.
43070         * sunrpc/svc_unix.c: Likewise.
43071         * sunrpc/xdr.c: Likewise.
43072         * sunrpc/xdr_array.c: Likewise.
43073         * sunrpc/xdr_rec.c: Likewise.
43074         * sunrpc/xdr_ref.c: Likewise.
43075         * sunrpc/xdr_stdio.c: Likewise.
43077 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43079         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43081 2011-07-03  Andreas Jaeger  <aj@suse.de>
43083         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43084         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43085         regenerate with gen-libm-tests.pl.
43087 2010-05-12  Petr Baudis  <pasky@suse.cz>
43089         [BZ #11589]
43090         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43091         around j0() zero points by switching to j1().
43092         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43093         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43094         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43095         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43097 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43099         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43100         instead of 0.
43101         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43102         instead of 0.
43103         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43104         Patch in part by Pavel Roskin <proski@gnu.org>.
43106         [BZ #13138]
43107         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43108         realloc.
43109         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
43110         Free memory block if necessary.
43112         [BZ #12847]
43113         * libio/genops.c (INTDEF): For string streams the _lock pointer can
43114         be NULL.  Don't lock in this case.
43116 2011-09-09  Roland McGrath  <roland@hack.frob.com>
43118         * elf/elf.h (ELFOSABI_GNU): New macro.
43119         (ELFOSABI_LINUX): Define to that.
43121 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
43123         * string/strncat.c (strncat): Undef the symbol in case it has been
43124         defined in bits/string.h.
43126 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43128         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43130         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43131         link map.
43133 2011-08-17  Andreas Jaeger  <aj@suse.de>
43135         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43137 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43138             Ian Lance Taylor  <iant@google.com>
43140         * math/libm-test.inc (lround_test): New testcase.
43141         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43143 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
43145         * Makefile: Remove support for automatic cvs check-ins.
43146         * Makerules: Likewise.
43147         * config.make.in: Likewise.
43148         * configure.in: Likewise.
43149         * intl/Makefile: Likewise.
43150         * locale/Makefile: Likewise.
43151         * po/Makefile: Likewise.
43152         * posix/Makefile: Likewise.
43153         * sysdeps/gnu/Makefile: Likewise.
43154         * sysdeps/mach/hurd/Makefile: Likewise.
43155         * sysdeps/sparc/sparc32/Makefile: Likewise.
43157         [BZ #13118]
43158         * posix/Makefile (bug-regex32-ENV): Define.
43159         Patch by John Stanley <jpsinthemix@verizon.net>.
43161         * misc/Makefile (headers): Add bits/select2.h.
43162         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43163         * misc/bits/select2.h: New file.
43164         * include/bits/select2.h: New file.
43165         * debug/Makefile (routines): Add fdelt_chk.
43166         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43167         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43168         FD_ISSET.
43169         * debug/fdelt_chk.c: New file.
43171         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
43172         * wcsmbs/test-wmemcmp.c: Likewise.
43173         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43174         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43176 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43178         * string/Makefile (strop-tests): Add memcmp.
43179         * string/test-wmemcmp.c: New file.
43180         * string/test-memcmp.c: Add wmemcmp support.
43182 2011-09-08  Roland McGrath  <roland@hack.frob.com>
43184         [BZ #13153]
43185         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43186         2011-07-19 change.
43188         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43189         garbage value in a __mach_port_mod_refs call in the cases of the
43190         task-self and thread-self ports.
43192 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43194         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43196 2011-09-08  Andreas Schwab  <schwab@redhat.com>
43198         * elf/dl-load.c (lose): Check for non-null L.
43200 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43202         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43204         * elf/dl-libc.c (dlerror_run): Pass back error code from
43205         dl_catch_error.
43207         [BZ #13123]
43208         * elf/dl-load.c (lose): Free l_origin if it is valid.
43210         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43211         names.
43212         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43213         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43214         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43215         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43216         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43217         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43219 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43221         * sysdeps/powerpc/fpu/e_hypot.c: New file.
43222         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43223         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43224         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43225         * sysdeps/powerpc/fpu/k_cosf.c: New file.
43226         * sysdeps/powerpc/fpu/k_sinf.c: New file.
43227         * sysdeps/powerpc/fpu/s_cosf.c: New file.
43228         * sysdeps/powerpc/fpu/s_sinf.c: New file.
43229         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43230         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43232 2011-08-15  Alan Modra  <amodra@gmail.com>
43234         [BZ #13092]
43235         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43236         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43237         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
43238         ppc_mcount to static-only-routines.
43239         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43240         __mcount_internal.
43241         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43242         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
43244 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
43246         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43247         for finite and infinity parameters.
43249 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43251         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43252         and add nop instructions for throughput optimization.
43253         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43255 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
43257         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43258         aligned copy for power7 with vector-scalar instructions.
43259         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43261 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
43263         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43264         AVX check.
43266 2011-09-07  Andreas Schwab  <schwab@redhat.com>
43268         [BZ #13144]
43269         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43270         last change.
43272 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43274         * sysdeps/unix/sysv/linux/x86_64/init-first.c
43275         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43276         syscall wrapper around clock_gettime in __vdso_clock_gettime.
43277         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43278         clock_gettime.
43280 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43282         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43283         Forgot to demangle the pointer.
43285         * sysdeps/i386/sysdep.h: Define atom_text_section.
43286         * sysdeps/x86_64/sysdep.h: Likewise.
43287         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43288         section with atom_text_section.
43289         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43290         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43291         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43292         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43293         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43295         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43296         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43297         already be defined.  Change to take two parameters and don't assign
43298         result to variable.  Adjust all users.
43299         Define INTERNAL_GETTIME if not already defined.
43300         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43301         call.
43302         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43303         HAVE_CLOCK_GETTIME_VSYSCALL.
43304         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43306         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43307         gettimeofday vsyscall, just use time.
43309 2011-09-06  Andreas Schwab  <schwab@redhat.com>
43311         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43312         <errno.h>.
43314 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43316         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43317         syscall on x86-64.
43318         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43319         syscall.
43320         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43321         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43322         syscall if possible.
43324 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43326         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43327         e_ident.  Don't pass to find_mapsXX.
43328         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43330 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43332         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43333         strchr-sse2-no-bsf strrchr-sse2-no-bsf
43334         * sysdeps/x86_64/multiarch/strchr.S: Update.
43335         Check bit_slow_BSF bit.
43336         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43337         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43338         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43340 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43342         [BZ #13134]
43343         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43344         before glibc 2.15.
43345         (tryshell): Define.
43346         (__spawni): Change last parameter to be flag.  Test
43347         SPAWN_XFLAGS_USE_PATH flag to use path or not.
43348         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43349         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43350         * posix/spawni.c: Likewise.
43351         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43352         * posix/spawnp.c: Likewise.  Change normal version to use
43353         SPAWN_XFLAGS_USE_PATH.
43354         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43355         SPAWN_XFLAGS_TRY_SHELL.
43357         [BZ #13150]
43358         * posix/glob.h: Remove gcc 1.x support.
43360         [BZ #13068]
43361         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43363 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43365         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43366         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43367         strrchr-sse2-bsf
43368         * sysdeps/i386/i686/multiarch/strchr.S: New file.
43369         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43370         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43371         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43372         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43373         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43375 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43377         * sysdeps/x86_64/wcscmp.S: New file.
43379         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43380         wcscmp-c wcscmp-sse2
43381         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43382         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43383         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43384         * wcsmbs/wcscmp.c: Allow renaming.
43386 2011-09-05  David S. Miller  <davem@davemloft.net>
43388         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43389         stack slot, rather than the struct return pointer slot.
43390         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43391         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43393         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43395 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43397         * po/ja.po: Update from translation team.
43399         [BZ #13144]
43400         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43401         kernel in 64-bit binaries.
43403 2011-09-01  David S. Miller  <davem@davemloft.net>
43405         * elf/elf.h (HWCAP_SPARC_*): Move to..
43406         * sysdeps/sparc/sysdep.h: this new file and add new values.
43407         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43408         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43409         _DL_HWCAP_COUNT to 24.
43410         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43411         entries.
43412         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43413         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43414         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43415         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43416         instead of magic constants.
43417         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43419 2011-08-31  David S. Miller  <davem@davemloft.net>
43421         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43422         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43423         Reimplement to do errno handling inline.
43424         (SYSCALL_ERROR_HANDLER): New macro.
43425         (__SYSCALL_STRING): Do not do errno handling in asm.
43426         (__CLONE_SYSCALL_STRING): Delete.
43427         (__INTERNAL_SYSCALL_STRING): Delete.
43428         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43429         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43430         (PSEUDO): Reimplement to do errno handling inline.
43431         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43432         (SYSCALL_ERROR_HANDLER): New macro.
43433         (__SYSCALL_STRING): Do not do errno handling in asm.
43434         (__CLONE_SYSCALL_STRING): Delete.
43435         (__INTERNAL_SYSCALL_STRING): Delete.
43436         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43437         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43438         i386.
43439         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43440         (inline_syscall*): Add 'err' argument.
43441         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43442         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43443         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43444         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43446         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43447         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43449 2011-08-30  Andreas Schwab  <schwab@redhat.com>
43451         * elf/rtld.c (dl_main): Relocate objects in dependency order.
43453 2011-08-29  Jiri Olsa <jolsa@redhat.com>
43455         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43456         directive.
43458 2011-08-24  David S. Miller  <davem@davemloft.net>
43460         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43462 2011-08-24  Andreas Schwab  <schwab@redhat.com>
43464         * elf/Makefile: Add rules to build and run unload8 test.
43465         * elf/unload8.c: New file.
43466         * elf/unload8mod1.c: New file.
43467         * elf/unload8mod1x.c: New file.
43468         * elf/unload8mod2.c: New file.
43469         * elf/unload8mod3.c: New file.
43471         * elf/dl-close.c (_dl_close_worker): Reset private search list if
43472         it wasn't used.
43474 2011-08-23  David S. Miller  <davem@davemloft.net>
43476         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43477         subtract stack bias.
43478         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43479         %sp not %fp in calculations.
43480         (_JMPBUF_UNWINDS_ADJ): Likewise.
43482         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43483         (aio_suspend): Call it to force an exception region around the
43484         AIO_MISC_WAIT() invocation.
43486 2011-08-23  Andreas Schwab  <schwab@redhat.com>
43488         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43489         backslash.
43491 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
43493         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43494         protection macro.
43495         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43496         and <dl-machine.h>.
43497         (Elf64_FuncDesc): Remove.
43499 2011-08-22  David S. Miller  <davem@davemloft.net>
43501         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43502         sigaltstack check, add missing cfi directives.
43503         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43504         missing cfi directives, and sigaltstack handling.
43506 2011-08-16  Andreas Schwab  <schwab@redhat.com>
43508         [BZ #11724]
43509         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43510         object is seen twice.
43511         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43513         * elf/Makefile (distribute): Add tst-initorder2.c.
43514         (tests): Add tst-initorder2.
43515         (modules-names): Add tst-initorder2a tst-initorder2b
43516         tst-initorder2c tst-initorder2d.  Add rules to build them.
43517         ($(objpfx)tst-initorder2.out): New rule.
43518         * elf/tst-initorder2.c: New file.
43519         * elf/tst-initorder2.exp: New file.
43521 2011-08-22  Andreas Schwab  <schwab@redhat.com>
43523         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43525         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43526         dependencies back to end of function.
43528         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43529         $(elfobjdir)/ld.so.
43531 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
43533         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43534         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43535         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43536         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43537         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43538         of __vdso_gettimeofday.
43539         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43540         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
43541         attribute_hidden.
43542         (_libc_vdso_platform_setup): Remove initialization of
43543         __vdso_gettimeofday and __vdso_time.
43545 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
43547         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43548         and fgetc_unlocked.
43549         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43550         getc_unlocked.
43552         * elf/dl-open.c (add_to_global): Report additions to the global scope
43553         for LD_DEBUG=scopes.
43554         (dl_open_worker): Also print scope of newly loaded dependencies.
43555         (_dl_show_scope): Indicate if there is no scope.
43557         [BZ #13114]
43558         * stdio-common/Makefile (tests): Add bug24.
43559         * stdio-common/bug24.c: New file.
43561 2011-08-19  Andreas Jaeger  <aj@suse.de>
43563         [BZ #13114]
43564         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43565         non-existant file when using close-on-exec mode.
43567 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
43569         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43570         the very first instruction.
43572         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43573         the CFI state in the end.
43574         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43575         inclusion of dl-trampoline.h.
43576         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43578 2011-08-19  Andreas Schwab  <schwab@redhat.com>
43580         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43581         expectations for long double.
43583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43584         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43586 2011-08-14  David S. Miller  <davem@davemloft.net>
43588         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43589         artificual limit depends upon the system page size.
43591 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
43593         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43594         * resolv/Makefile: Define CFLAGS-libresolv.
43596 2011-08-17  Andreas Schwab  <schwab@redhat.com>
43598         * nss/makedb.c (compute_tables): Make variables used in nested
43599         function static.
43601 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
43603         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43604         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43605         if buffer was too small.
43607         * elf/pldd.c (main): Attach to all threads in the process.
43608         Rewrite /proc handling to use *at functions.
43610 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
43612         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43613         specifies first scope to show.
43614         (dl_open_worker): Update callers.  Move printing scope of new
43615         object to before the relocation.
43616         * elf/rtld.c (dl_main): Update _dl_show_scope call.
43617         * sysdeps/generic/ldsodefs.h: Update declaration.
43619         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43620         string for the scope number.
43622 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
43624         * nscd/servicescache.c (cache_addserv): Make sure written is always
43625         initialized.
43627 2011-08-14  Roland McGrath  <roland@hack.frob.com>
43629         * sysdeps/i386/i486/bits/atomic.h
43630         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43631         statement expression, so as to suppress "set but not used" warning.
43632         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43634         * string/strncat.c (STRNCAT): Use prototype definition.
43636         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43637         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43638         -Iprograms here.
43639         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43640         (localedef-modules): Add localedef.
43641         (locale-modules): Add locale.
43643         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43644         * elf/rtld.c (dl_main): Invert order of assignment in last change,
43645         to avoid a warning.
43647 2011-08-14  David S. Miller  <davem@davemloft.net>
43649         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43650         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43652 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
43654         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43655         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43656         * elf/rtld.c (dl_main): Set l_name of vDSO.
43657         Call _dl_show_scope when DL_DEBUG_SCOPES.
43658         (process_dl_debug): Recognize scopes flag and also set it for all.
43659         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43660         Declare _dl_show_scope.
43662         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43663         (do_dlopen): Pass caller_dlopen to dl_open.
43664         (__libc_dlopen_mode): Initialize caller_dlopen.
43666         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43667         of libc.  Make tolower call locale-independent.  Optimize a bit by
43668         using isdigit instead of isalnum.
43669         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43671 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
43673         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43674         was a dependency or dynamically loaded.
43676 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
43678         * intl/l10nflist.c: Allow architecture-specific pop function.
43679         * sysdeps/x86_64/l10nflist.c: New file.
43681         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43682         classification.
43684 2011-08-10  Andreas Schwab  <schwab@redhat.com>
43686         * include/dirent.h: Add libc_hidden_proto for scandirat and
43687         scandirat64.  Don't declare __scandirat64.
43688         * dirent/scandirat.c: Add libc_hidden_def.
43689         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43690         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43692 2011-08-10  David S. Miller  <davem@davemloft.net>
43694         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43695         enum.
43696         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43697         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43698         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43700 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
43702         * Versions.def [libc]: Add GLIBC_2.15.
43703         * dirent/Makefile (routines): Add scandirat and scandirat64.
43704         * dirent/Versions [libc]: Export scandirat and scandirat64 for
43705         GLIBC_2.15.
43706         * dirent/dirent.h: Declare scandirat and scandirat64.
43707         * dirent/scandirat.c: New file.
43708         * dirent/scandirat64.c: New file.
43709         * sysdeps/wordsize-64/scandirat.c: New file.
43710         * sysdeps/wordsize-64/scandirat64.c: New file.
43711         * dirent/opendir.c: Define opendirat.
43712         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
43713         using scandirat.
43714         * dirent/scandir64.c: Adjust for scandir.c change.
43715         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
43716         __scandirat64, and __scandir_cancel_handler.
43717         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
43718         additional parameter and use openat instead of open (outside of ld.so).
43719         Add new __opendir as wrapper around __opendirat.
43720         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43721         here without requiring old scandirat implementation.
43723 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
43725         * dirent/scandir.c (cancel_handler): Renamed to
43726         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
43727         defined.  Adjust users.
43728         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43729         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43731 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
43733         * string/test-string.h (IMPL): Use __STRING to expand name and then
43734         stringify it.
43736         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
43737         of cleanups.
43739 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43741         * string/Makefile: Update.
43742         (strop-tests): Append strncat.
43743         * string/test-wcscmp.c: New file.
43744         New comprehensive test for wcscmp.
43745         * string/test-strcmp.c: Update.
43746         (WIDE): New define.
43748 2011-07-22  Andreas Schwab  <schwab@redhat.com>
43750         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43751         line.
43753 2011-07-26  Andreas Schwab  <schwab@redhat.com>
43755         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43756         encoding to ACE if AI_IDN.
43758 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
43760         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43761         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43763 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43765         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43766         Fix overflow bug in strncat.
43767         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43769         * string/test-strncat.c: Update.
43770         Add new tests for checking overflow bugs.
43772 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43774         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43775         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43776         * sysdeps/i386/i686/multiarch/strcat.S: New file.
43777         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43778         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43779         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43780         * sysdeps/i386/i686/multiarch/strncat.S: New file.
43781         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43782         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43784         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43785         (USE_AS_STRCAT): Define.
43786         Add strcat and strncat support.
43787         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43789 2011-07-25  Andreas Schwab  <schwab@redhat.com>
43791         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43792         __n bigger than INT_MAX+1.
43793         (__strncmp_g): Likewise.
43795 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
43797         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43798         * libio/stido.h: Likewise.
43800         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43801         (AF_NFC): Define.
43802         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43803         (AF_NFC): Define.
43805         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43806         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43807         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43808         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43809         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43811         [BZ #13021]
43812         * scripts/test-installation.pl: Don't expect libnss_test1 to be
43813         installed.
43815         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43816         typo.
43817         (_dl_x86_64_save_sse): Likewise.
43819 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
43821         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43822         OSXSAVE.
43823         (_dl_x86_64_save_sse): Likewise.
43825         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43827         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43829 2011-07-21  Andreas Schwab  <schwab@redhat.com>
43831         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43832         change.
43833         (_dl_x86_64_save_sse): Use correct AVX check.
43835 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43837         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43838         bug in strncpy/strncat.
43839         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43841 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
43843         * string/tester.c (test_strcat): Add tests for different alignments
43844         of source and destination.
43845         (test_strncat): Likewise.
43847 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
43849         [BZ #12852]
43850         * posix/glob.c (glob): Check passed in values before using them in
43851         expressions to avoid some overflows.
43852         (glob_in_dir): Likewise.
43854         [BZ #13007]
43855         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43856         check for AVX enablement so that we don't crash with old kernels and
43857         new hardware.
43858         * elf/tst-audit4.c: Add same checks here.
43859         * elf/tst-audit6.c: Likewise.
43861         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43863 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
43865         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43867 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
43869         * po/cs.po: Update from translation team.
43870         * po/bg.po: Likewise.
43872 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
43874         * misc/sys/cdefs.h: Add support for const attribute.
43875         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43876         to gnu_dev_{major,minor,makedev} functions.
43878 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
43880         * intl/dcigettext.c (get_output_charset): Add missing bracket.
43882 2011-07-20  Andreas Schwab  <schwab@redhat.com>
43884         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43885         strlen results.
43887 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43889         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43890         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43891         register in order to avoid conflicts with the soft frame pointer
43892         being held in r11 when necessary.
43893         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43894         (INTERNAL_VSYSCALL_NCS): Likewise.
43896 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
43898         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43899         * elf/dl-fini.c (_dl_fini): Adjust caller.
43900         * elf/dl-close.c (_dl_close_worker): Likewise.
43901         * sysdeps/generic/ldsodefs.h: Adjust declaration.
43903 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
43905         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43906         "aux_cache->nlibs < 0".
43908         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43909         in the reload-count case.
43911 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43913         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43914         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43915         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43916         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43917         * sysdeps/x86_64/multiarch/strcat.S: New file.
43918         * sysdeps/x86_64/multiarch/strncat.S: New file.
43919         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43920         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43921         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43922         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43923         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43924         (USE_AS_STRCAT): Define.
43925         Add strcat and strncat support.
43926         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43927         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43928         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43929         * string/strncat.c: Update.
43930         (USE_AS_STRNCAT): Define.
43931         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43932         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43933         and i7.
43934         * sysdeps/x86_64/multiarch/init-arch.h
43935         (bit_Prefer_PMINUB_for_stringop): New.
43936         (index_Prefer_PMINUB_for_stringop): Likewise.
43937         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43938         bit_Prefer_PMINUB_for_stringop.
43940 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
43942         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43943         buffer64.
43944         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43945         of casting of buffer.
43946         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43947         buffer32 and buffer64.
43948         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43949         writes instead of casting of buffer.
43950         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43951         buffer32.
43952         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43953         casting of buffer.
43955 2011-07-19  Andreas Schwab  <schwab@redhat.com>
43957         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43959 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
43961         * nscd/nscd.c (termination_handler): Don't do anything for a database
43962         if it has not yet been initialized.
43964 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
43966         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43968 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
43970         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43972 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
43974         * po/nl.po: Update from translation team.
43975         * po/sv.po: Likewise.
43977 2011-07-16  Roland McGrath  <roland@hack.frob.com>
43979         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43980         now disallowed by GCC.
43982         * configure.in (use-default-link): Default to yes if a test -shared
43983         link meets our qualifications.
43984         * configure: Regenerated.
43986         * config.make.in (output-format): New variable.
43987         * configure.in: Check for ld --print-output-format support.
43988         * configure: Regenerated.
43989         * Makerules ($(common-objpfx)format.lds)
43990         [$(output-format) != unknown]: Just use $(output-format),
43991         instead of the linker-script munging.
43993 2011-07-14  Roland McGrath  <roland@hack.frob.com>
43995         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43996         of $(common-objpfx)shlib.lds.
43997         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43999         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44000         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44002         * configure.in (-z relro check): Adjust test code to add a large
44003         writable data section after it.
44004         * configure: Regenerated.
44006 2011-07-11  Roland McGrath  <roland@hack.frob.com>
44008         * configure.in (-z relro check): Fix test code to make the variable
44009         truly const.
44010         * configure: Regenerated.
44012 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
44014         * nscd/nscd.h (struct traced_file): Define.
44015         (struct database_dyn): Remove inotify_descr, reset_res, and filename
44016         elements.  Add traced_files.
44017         (inotify_fd): Declare.
44018         (register_traced_file): Declare.
44019         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44020         (inotify_fd): Export.
44021         (resolv_conf_descr): Remove.
44022         (nscd_init): Move inotify descriptor creation to main.
44023         Don't register files for notification here.
44024         (register_traced_file): New function.
44025         (invalidate_cache): Don't use reset_res to determine whether to call
44026         res_init, go through the list of registered files.
44027         (main_loop_poll): The inotify descriptors are now stored in the
44028         structures for the traced files.
44029         (main_loop_epoll): Likewise
44030         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
44031         to __nss_disable_nscd.
44032         * nscd/cache.c (prune_cache): There is no single inotify descriptor
44033         for a database anymore.  Check the records for all the registered
44034         files instead.
44035         * nss/Makefile (libnss_files-routines): Add files-init.
44036         (libnss_db-routines): Add db-init.
44037         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44038         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44039         * nss/nss_db/db-init.c: New file.
44040         * nss/nss_files/files-init.c: New file.
44041         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
44042         __nss_lookup_function.
44043         (__nss_lookup_function): Call nss_load_library.
44044         (nss_load_all_libraries): New function.
44045         (__nss_disable_nscd): Take parameter with callback function for files
44046         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
44047         used for the cached services.
44048         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44049         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44050         options for features to all the files in nscd.
44052         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44054 2011-07-10  Roland McGrath  <roland@hack.frob.com>
44056         * csu/elf-init.c (__libc_csu_init): Comment typo.
44058 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
44060         * po/pl.po: Update from translation team.
44061         * po/ja.po: Likewise.
44062         * po/ru.po: Likewise.
44063         * po/ko.po: Likewise.
44064         * po/fr.po: Likewise.
44066 2011-07-09  Roland McGrath  <roland@hack.frob.com>
44068         * configure.in (.ctors/.dtors header and trailer check):
44069         Use an empirical test on a built program.
44070         * configure: Regenerated.
44072         * configure.in (-z relro check): Use an empirical test on a built DSO.
44073         Detect, but do not require, on ia64.
44074         * configure: Regenerated.
44076         * configure.in (READELF): Find it with AC_CHECK_TOOL.
44077         Update tests that use readelf to use $READELF instead.
44078         * configure: Regenerated.
44080 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
44082         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44083         if the result is not used.
44085 2011-07-05  Andreas Jaeger  <aj@suse.de>
44087         [BZ#9696]
44088         * stdlib/tst-strtod.c: Add testcase.
44090 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
44092         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44093         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44094         The latter has a higher limit.  Take additional parameter to pass to
44095         the new function.
44096         (__pathconf): Pass file to __statfs_link_max.
44097         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44098         __statfs_link_max.
44099         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44100         __statfs_link_max.
44102         [BZ #12868]
44103         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44104         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44105         Handle Lustre.
44106         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44107         (__statfs_filesize_max): Likewise.
44108         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44110 2011-07-05  Andreas Jaeger  <aj@suse.de>
44112         * resolv/res_comp.c (dn_skipname): Remove unused variable.
44114 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
44116         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44117         `status' variable.
44118         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44119         Likewise.
44121 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
44123         * Makefile (strop-tests): Add strncat.
44124         * string/test-strncat.c: New file.
44126 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
44128         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44130 2011-06-21  Andreas Jaeger  <aj@suse.de>
44132         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44133         Copy rule from iconvdata/Makefile.
44135 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44137         [BZ #12922]
44138         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44139         but no long options are defined, just return 'W'.
44141 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
44143         [BZ #9696]
44144         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44146 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44148         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44149         netgroups to read.
44150         (innetgr): Likewise.
44152 2011-07-05  Roland McGrath  <roland@hack.frob.com>
44154         * config.make.in (install_root): Default to $(DESTDIR).
44156 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
44158         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44160 2011-07-02  Roland McGrath  <roland@hack.frob.com>
44162         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44164         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44165         containing directory rather than embedding absolute directory names.
44167         * scripts/check-local-headers.sh: Rewritten using awk.
44168         Match by word, not by line.  Print error messages for matches.
44169         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44171         * Makerules [shlib-lds-flags empty]:
44172         ($(common-objpfx)libc_pic.opts): New target.
44173         ($(common-objpfx)libc_pic.os.clean): New target.
44174         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44176         * config.make.in (OBJCOPY): New variable.
44177         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44178         * configure: Regenerated.
44180         * config.make.in (use-default-link): New variable.
44181         * configure.in (use_default_link): Grok --with-default-link to set it.
44182         * configure: Regenerated.
44183         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44184         (shlib-lds, shlib-lds-flags): Define to empty.
44186         * Makerules (shlib-lds): New variable.
44187         (shlib-lds-flags): New variable.
44188         (build-shlib, build-moduile, build-module-asneeded): Use it.
44189         ($(common-objpfx)libc.so): Use $(shlib-lds).
44190         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44191         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44193         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44194         DT_FLAGS/DT_FLAGS_1 with zero flags.
44196         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44197         linker script munging.
44199 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
44201         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44202         as 128-bit value.
44203         * crypt/sha512.c (sha512_process_block): Perform total addition using
44204         128-bit if possible.
44205         (__sha512_finish_ctx): Likewise.
44206         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44207         as 64-bit value.
44208         * crypt/sha256.c (SWAP64): Define.
44209         (sha256_process_block): Perform total addition using 64-bit if
44210         possible.
44211         (__sha256_finish_ctx): Likewise.
44213 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
44215         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
44216         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44217         * nscd/hstcache.c (cache_addhst): Likewise.
44218         * nscd/grpcache.c (cache_addgr): Likewise.
44219         * nscd/aicache.c (addhstaiX): Likewise
44220         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44222 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
44224         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44225         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44226         * nscd/hstcache.c (cache_addhst): Likewise.
44227         * nscd/grpcache.c (cache_addgr): Likewise.
44228         * nscd/aicache.c (addhstaiX): Likewise
44230 2011-07-01  Andreas Schwab  <schwab@redhat.com>
44232         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44233         domain only when needed.
44235 2011-06-30  Andreas Schwab  <schwab@redhat.com>
44237         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44238         is always restored.
44240 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
44242         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44243         are re-adding the entry.
44244         * nscd/servicescache.c (cache_addserv): Likewise.
44246 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
44248         * sysdeps/generic/dl-irel.h: fix protection against multiple
44249         inclusions.
44250         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44252 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
44254         [BZ #12935]
44255         * malloc/memusage.sh: Fix quoting in message.
44256         * debug/xtrace.sh: Likewise.
44258         * configure.in: Remove support for --experimental-malloc option, make
44259         it the default.
44260         * config.make.in: Likewise.
44261         * malloc/Makefile: Likewise.
44263 2011-06-27  Andreas Schwab  <schwab@redhat.com>
44265         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44266         two-byte characters.
44268 2011-06-27  Roland McGrath  <roland@hack.frob.com>
44270         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44271         AC_CACHE_CHECK invocation.
44272         * configure: Regenerated.
44274         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44276 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
44278         [BZ #12350]
44279         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
44280         bit from old_res_options.
44282         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44284         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44285         value type for setfct.
44287 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
44289         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44290         __gettimeofday instead of gettimeofday.
44292 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
44294         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44296 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
44298         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44300         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44301         info.
44303 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44305         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44306         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44307         strcpy-sse2-unaligned strncpy-sse2-unaligned
44308         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44309         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44310         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44311         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44312         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44313         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44314         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44315         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44316         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44317         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44318         (STRCPY): Support SSE2 and SSSE3 versions.
44320 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
44322         [BZ #12874]
44323         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44324         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44325         kernels which artificially limit size of requests.
44327 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44329         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44330         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44331         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44332         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44333         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44334         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44335         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44336         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44337         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44338         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44339         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44340         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44341         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44342         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44343         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44344         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44345         Enable unaligned load optimization for Intel Core i3, i5 and i7
44346         processors.
44347         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44348         Define.
44349         (index_Fast_Unaligned_Load): Define.
44350         (HAS_FAST_UNALIGNED_LOAD): Define.
44352 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
44354         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44356 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44358         [BZ #12907]
44359         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44360         until it is clear that the information is realy needed.
44361         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44363 2011-06-22  Andreas Schwab  <schwab@redhat.com>
44365         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44367 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44369         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44370         /sys/devices/system/cpu/online if it is usable.
44372         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44373         reading the information from the /proc filesystem to once a second.
44375 2011-06-21  Andreas Jaeger  <aj@suse.de>
44377         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44378         NULL after inclusion of kernel headers.
44380 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
44382         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44383         calls to internal_setent.
44385         [BZ #12885]
44386         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44387         addresses using gethostbyname4_r ignore IPv4 addresses.
44389         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44390         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
44392         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44394 2011-06-20  David S. Miller  <davem@davemloft.net>
44396         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44397         inclusions.
44398         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44400         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44401         (elf_irel): Use it.
44402         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44403         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44404         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44405         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44406         * sysdeps/x86_64/dl-irel.h: Likewise.
44408         * elf/dl-runtime.c: Use elf_ifunc_invoke.
44409         * elf/dl-sym.c: Likewise.
44411 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
44413         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
44414         need to dereference resplen2.
44416 2011-06-14  Andreas Schwab  <schwab@redhat.com>
44418         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44420 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
44422         * Makeconfig: Define vardbdir and inst_vardbdir.
44423         * nss/Makefile: Add rules to install db-Makefile.
44425         * nss/nss_db/db-XXX.c: Cleanup.
44427         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44428         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44429         GLIBC_PRIVATE.
44430         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44431         * nss/makedb.c: Implement -g option to specify that value strings
44432         are generated and should not be added to table iterated over for
44433         get*ent calls.
44434         * nss/nss_db/db-initgroups.c: New file.
44436         * nss/getent.c: Add support for initgroups lookups through getgrouplist
44437         interface.
44439         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44440         (internal_getgrouplist): Adjust to name change.
44441         Update use_initgroups_entry if this is not the first call.
44442         * nss/databases.def: Add initgroups entry.
44444         * nss/makedb.c (compute_tables): Check result of multiple hash table
44445         sizes to minimize maximum chain length.
44447 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
44449         * Versions.def: Add entry for libnss_db.
44450         * shlib-versions: Likewise.
44451         * nss/Makefile: Add rules to build libnss_db.
44452         * nss/Versions: Add libnss_db information.  Organize libnss_files
44453         entries better.
44454         * nss/db-Makefile: Add gshadow support.  Change rules for the new
44455         makedb progra.  Some minor improvements to generate smaller files.
44456         * nss/nss_db/nss_db.h: Move NSS database header data structures to
44457         here from...
44458         * nss/makedb.c: ...here.
44459         Improve database format to be smaller and require less memory at
44460         runtime.
44461         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
44462         db anymore.
44463         * nss/nss_db/db-netgrp.c: Likewise.
44464         * nss/nss_db/db-open.c: Likewise.
44465         * nss/nss_files/flies-XXX.x: Adjust comments.
44466         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44467         * nss/nss_files/files-grp.c: Likewise.
44468         * nss/nss_files/files-hosts.c: Likewise.
44469         * nss/nss_files/files-network.c: Likewise.
44470         * nss/nss_files/files-proto.c: Likewise.
44471         * nss/nss_files/files-pwd.c: Likewise.
44472         * nss/nss_files/files-rpc.c: Likewise.
44473         * nss/nss_files/files-service.c: Likewise.
44474         * nss/nss_files/files-sgrp.c: Likewise.
44475         * nss/nss_files/files-spwd.c: Likewise.
44476         * nss/nss_db/db-alias.c: Removed.
44477         * nss/nss_db/dummy-db.h: Removed.
44479 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
44481         * nss/makedb.c: Rewritten to not use database library.
44482         * nss/Makefile: Update to build new makedb program.
44484 2011-06-14  Andreas Jaeger  <aj@suse.de>
44486         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44487         memset declaration.
44489 2011-06-10  Andreas Schwab  <schwab@redhat.com>
44491         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44492         tmpbuf.
44494 2011-06-10  Roland McGrath  <roland@hack.frob.com>
44496         * Makerules (shlib.lds): Fail if the linker script comes out empty.
44497         * elf/Makefile ($(objpfx)ld.so): Likewise.
44499         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44500         Don't list ld.so twice in dependencies.
44502         * posix/bug-regex31.c: Include <stdlib.h>.
44504         * nscd/hstcache.c (cache_addhst): Remove unused variable.
44506         * nis/nss_compat/compat-spwd.c
44507         (getspent_next_nss_netgr): Remove unused variable.
44508         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44510         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44511         nonmembers" output to use the right array.
44513         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44515         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44517         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44518         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44519         * catgets/gencat.c (read_input_file): Likewise.
44520         * locale/programs/locarchive.c (enlarge_archive): Likewise.
44522         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44523         variable definition inside #if's controlling its use.
44525         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44527         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44529         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44531         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44532         unreachable code.
44534         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44536         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44537         * configure: Regenerated.
44539         * Makerules: Revert last change.
44540         * elf/Makefile: Likewise.
44542 2011-06-09  Roland McGrath  <roland@hack.frob.com>
44544         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44545         * elf/Makefile ($(objpfx)librtld.os): Likewise.
44546         (reloc-link): Likewise.
44548 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
44550         * elf/Makefile: Add rules to build pldd.
44551         * elf/pldd.c: New file.
44552         * elf/pldd-xx.c: New file.
44554 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
44556         * version.h: Update for 2.15 development version.
44558 2011-06-07  David S. Miller  <davem@davemloft.net>
44560         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44561         ifuncs.
44562         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44563         elf_machine_lazy_rel): Likewise.
44564         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44565         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44566         elf_machine_lazy_rel): Likewise.
44567         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44568         dl_hwcap via passed in argument.
44569         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44570         Likewise.
44572 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44574         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
44576 2011-06-06  Roland McGrath  <roland@hack.frob.com>
44578         [BZ #12849]
44579         * manual/fdl-1.1.texi: New file, verbatim from:
44580         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44581         * manual/lgpl-2.1.texi: New file, verbatim from:
44582         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44583         * manual/Makefile (licenses): New variable, list those new file names.
44584         (texis): Use it.
44585         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44587         * manual/fdl.texi: File removed.
44588         * manual/lesser.texi: File removed.
44589         * manual/libc.texinfo (Copying, Documentation License):
44590         Use new @include file names, put @appendix directive before @include.
44592 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
44594         [BZ #12841]
44595         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44596         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44597         (mq_open): Add __NTH.
44599 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
44601         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44602         Assume Intel Core i3/i5/i7 processor if AVX is available.
44604 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
44606         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44607         typo.
44609 2011-05-31  Andreas Schwab  <schwab@redhat.com>
44611         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44612         memory.  Use alloca_account.  Fix memory leak when retrying.
44614 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
44616         * version.h (RELEASE): Bump for 2.14 release.
44617         * include/features.h (__GLIBC_MINOR__): Bump to 14.
44619         * config.make.in (RANLIB): Remove entry.
44621 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
44623         * po/Makefile (po-sed-cmd): Add ksh to extensions.
44624         (libc.pot): Work around missing support for .ksh extension in xgettext.
44626         [BZ #12684]
44627         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44628         if both request failed.
44629         (send_dg): In case of server errors clear resplen or *resplen2.
44631         [BZ #12454]
44632         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44633         when there are multiple maps.
44634         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44635         (_dl_fini): Remove test here.
44637         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44639 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
44641         [BZ #12350]
44642         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44643         bit from old_res_options.
44644         (gaih_inet): Likewise.
44646         [BZ #11099]
44647         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44648         as signed.
44650         * resolv/res_init.c (res_setoptions): Make the code more compact.
44652         [BZ #11558]
44653         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44654         set RES_USEVC.
44656         [BZ #11634]
44657         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44659         * malloc/malloc.h: Mark malloc hook variables as deprecated.
44661         [BZ #11781]
44662         * malloc/malloc.h: Declare malloc hook variables as volatile.
44664         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44665         in last patch.
44667         [BZ #11799]
44668         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44669         raise in the comment.
44670         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44671         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44672         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44674 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
44676         [BZ #12811]
44677         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44678         grow the buffers more if it already has to be sufficient.
44679         (build_wcs_upper_buffer): Likewise.
44680         * posix/regexec.c (check_matching): Likewise.
44681         (clean_state_log_if_needed): Likewise.
44682         (extend_buffers): Don't enlarge buffers beyond size of the input
44683         buffer.
44684         Patches mostly by Emil Wojak <emil@wojak.eu>.
44685         * posix/bug-regex32.c: New file.
44686         * posix/Makefile (tests): Add bug-regex32.
44688         * locale/findlocale.c (_nl_find_locale): Return right away if
44689         _nl_explode_name failed.
44690         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44692         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44694         * debug/xtrace.sh: Unify messages.
44695         * malloc/memusage.sh: Likewise.
44697         [BZ #12813]
44698         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44699         time symbol from vDSO.  Substitute with vsyscall if not available.
44700         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44701         __vdso_time.
44703         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44704         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44705         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44706         Add sendmmsg and internal_sendmmsg.
44707         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44708         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44709         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44711         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44712         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44713         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44715 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
44717         [BZ #12813]
44718         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44719         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
44720         available.
44721         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44722         __vdso_getcpu.
44724         [BZ #12814]
44725         * iconvdata/Makefile (tests): Add bug-iconv9.
44726         * iconvdata/bug-iconv9.c: New file.
44728 2011-05-27  Andreas Schwab  <schwab@redhat.com>
44730         [BZ #12814]
44731         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44733 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
44735         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44736         (struct user_regs_struct): Change intcs field back to cs.
44738 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
44740         * po/ja.po: Update from translation team.
44742 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
44744         [BZ #12795]
44745         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44746         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44748 2011-05-20  Andreas Schwab  <schwab@redhat.com>
44750         * stdlib/longlong.h: Update from GCC.
44752 2011-05-23  Andreas Schwab  <schwab@redhat.com>
44754         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44755         parameter name.
44756         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44757         Add parameter name.
44758         (__sysconf): Pass it down.
44760 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
44762         [BZ #12671]
44763         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44764         some situations.
44765         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44766         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44767         add in in __libc_use_alloca calls.  Adjust callers.
44768         (glob): Use malloc in some situations.
44770         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44771         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44772         pltexit.
44774 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
44776         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44777         and CLOCK_BOOTTIME_ALARM.
44779         [BZ #12782]
44780         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44781         is returned.
44783         * string/_strerror.c (__strerror_r): Print negative errors as signed
44784         numbers.
44786         [BZ #12777]
44787         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44788         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44789         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44791         * configure.in: Fix typo in redirection and correct removal of test
44792         files in two cases.
44794         [BZ #12788]
44795         * locale/setlocale.c (new_composite_name): Fix test to check for
44796         identical name of all categories.
44798         [BZ #12792]
44799         * libio/filedoalloc.c (local_isatty): New function.
44800         (_IO_file_doallocate): Use local_isatty.
44801         * stdio-common/perror.c (perror): In case a new stream is used
44802         forward the stream error.
44803         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44804         error flag.
44806 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
44808         [BZ #11869]
44809         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44810         alloca.
44811         * include/alloca.h (extend_alloca_account): Define.
44813         [BZ #11857]
44814         * posix/regex.h: Fix comments with documentation of user-accessible
44815         fields after compilation and describe correct free'ing of pattern
44816         after re_compile_pattern.
44817         Patch by Reuben Thomas <rrt@sc3d.org>.
44819 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
44821         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44822         and -mno-altivec to prevent the compiler from using Altivec and/or
44823         VSX instructions when the corresponding registers are not available.
44825 2011-05-19  Andreas Schwab  <schwab@redhat.com>
44827         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44829 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
44831         * libio/freopen.c (freopen): Use __dup2, not dup2.
44832         * libio/freopen64.c (freopen64): Likewise.
44834 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44836         [BZ #12775]
44837         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44838         * math/Makefile (tests): Add test-powl.
44839         (CFLAGS-test-powl.c): Define.
44840         * math/test-powl.c: New file.
44842 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44844         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44846 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
44848         [BZ #11837]
44849         * iconvdata/gb18030.c: Update to GB18020-2005.
44851 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
44853         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44854         RE_SYNTAX_POSIX_AWK): Update to match recent development.
44855         Patch by Aharon Robbins <arnold@skeeve.com>.
44857         [BZ #11892]
44858         * stdlib/putenv.c (putenv): Don't always create copy of the variable
44859         on the stack.
44861         [BZ #11895]
44862         * misc/pselect.c (__pselect): Handle timeout value errors hidden
44863         through underflows.
44865         [BZ #12766]
44866         * misc/error.c (error_at_line): Ensure file_name and old_file_name
44867         point to strings before performing equality test for error_one_per_line
44868         mode.
44870         [BZ #11697]
44871         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44873         [BZ #11820]
44874         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44875         (struct user_fpregs_struct): Avoid __uint*_t types.
44877         [BZ #6420]
44878         * malloc/mtrace.c (tr_where): Add additional parameter to point to
44879         symbol info.  Use it instead of calling _dl_addr locally.
44880         (lock_and_info): New function.
44881         (tr_freehook): Call lock_and_info and pass symbol info as additional
44882         parameter to tr_where.
44883         (tr_mallochook): Likewise.
44884         (tr_reallochook): Likewise.
44885         (tr_memalignhook): Likewise.
44887         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
44888         used and couldn't be at all thread-safe.
44890 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
44892         * libio/freopen.c (freopen): Don't close old file descriptor
44893         before the new one is opened.  Instead dup the new file descriptor
44894         to the old one after the new stream is created.
44895         * libio/freopen64.c (freopen64): Likewise.
44896         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44897         * libio/fileops.c (_IO_new_file_close_it): Handle new
44898         _IO_FLAGS2_NOCLOSE flag.
44899         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44900         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44901         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44902         _IO_FLAGS2_NOCLOSE flag.
44903         * include/unistd.h: Add hidden_proto for dup3.
44904         Define __have_dup3.
44905         * io/dup3.c: Define hidden symbol.
44906         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44908         [BZ #7101]
44909         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44910         when an incomplete long option is used.
44911         * posix/tst-getopt_long1.c: New file.
44912         * posix/Makefile (tests): Add tst-getopt_long1.
44914         [BZ #10138]
44915         * scripts/config.guess: Update from autoconf-2.68.
44916         * scripts/config.sub: Likewise.
44918         [BZ #10157]
44919         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44920         tests into ...
44921         (has_cpuclock): ...this.  New function.
44922         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44923         macro here based on has_cpuclock code.
44925         [BZ #10149]
44926         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44927         First byte (not low byte) is now always NUL.
44928         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44930         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44931         Use non-cancelable interfaces.
44933         [BZ #9809]
44934         * locale/iso-639.def: Add entry for Sorani.
44936         [BZ #11901]
44937         * include/stdlib.h: Move include protection to the right place.
44938         Define abort_msg_s.  Declare __abort_msg with it.
44939         * stdlib/abort.c (__abort_msg): Adjust type.
44940         * assert/assert.c (__assert_fail_base): New function.  Majority
44941         of code from __assert_fail.  Allocate memory for __abort_msg with
44942         mmap.
44943         (__assert_fail): Now call __assert_fail_base.
44944         * assert/assert-perr.c: Remove bulk of implementation.  Use
44945         __assert_fail_base.
44946         * include/assert.hL Declare __assert_fail_base.
44947         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44948         mmap.
44949         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44951 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
44953         [BZ #11952]
44954         [BZ #12453]
44955         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44956         until all modules are registered in the DTV.
44957         * elf/Makefile: Add rules to build and run tst-tls19.
44958         * elf/tst-tls19.c: New file.
44959         * elf/tst-tls19mod1.c: New file.
44960         * elf/tst-tls19mod2.c: New file.
44961         * elf/tst-tls19mod3.c: New file.
44962         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44964         [BZ #12083]
44965         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44966         correctly.
44968         [BZ #12601]
44969         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44970         two-byte sequence errors.
44971         * iconvdata/Makefile (tests): Add bug-iconv8.
44972         * iconvdata/bug-iconv8.c: New file.
44974         [BZ #12626]
44975         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44976         buf2 definition.
44978         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44980         [BZ #12432]
44981         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44982         (dummy_getcfa): New function.
44983         (init): Get _Unwind_GetCFA address, use dummy if not found.
44984         (backtrace_helper): In recursion check, also check whether CFA changes.
44985         (__backtrace): Completely initialize arg.
44987         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44988         storing incomplete byte sequence in state object.  Avoid testing for
44989         guaranteed too small input if we know there is enough data available.
44991 2011-05-11  Andreas Schwab  <schwab@redhat.com>
44993         * Makeconfig (+link-pie): Indent.
44994         * Rules (binaries-pie): Define if $(have-fpie) and
44995         $(build-shared).
44996         (binaries-shared): Also filter out $(binaries-pie).
44997         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44998         * nscd/Makefile (others-pie): Add nscd.
44999         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45000         ($(objpfx)nscd): Remove command override.
45001         * login/Makefile (others-pie): Add pt_chown.
45002         ($(objpfx)pt_chown): Remove command override.
45003         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45004         remove command overrides.
45006 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
45008         * libio/tst_putwc.c: Fix error messages.
45010         [BZ #12724]
45011         * libio/fileops.c (_IO_new_file_close_it): Always flush when
45012         currently writing and seek to current position when not.
45013         * libio/Makefile (tests): Add bug-fclose1.
45014         * libio/bug-fclose1.c: New file.
45016 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
45018         [BZ #12511]
45019         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45020         don't set DF_1_NODELETE here.
45021         (do_lookup_x): When entering new entry test for copy relocation
45022         and if necessary set DF_1_NODELETE flag.
45023         * elf/tst-unique4.cc: New file.
45024         * elf/tst-unique4.h: New file.
45025         * elf/tst-unique4lib.cc: New file.
45026         * elf/Makefile: Add rules to build and run tst-unique4.
45027         Patch by Piotr Bury <pbury@goahead.com>.
45029 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
45031         [BZ #12052]
45032         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45034         [BZ #12625]
45035         * misc/mntent_r.c (addmntent): Flush the stream after the output
45037         [BZ #12393]
45038         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45039         (is_trusted_path_normalize): Skip initial colon.  Append slash
45040         to empty buffer.  Duplicate is_trusted_path code but allow
45041         constructed patch to be prefix.
45042         (is_dst): Allow $ORIGIN followed by /.
45043         (_dl_dst_substitute): Correct clearing of check_for_trusted.
45044         Correct testing of result of is_trusted_path_normalize
45045         (decompose_rpath): Fix warning.
45047 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
45049         [BZ #11257]
45050         * grp/initgroups.c (internal_getgrouplist): When we found the service
45051         list through the initgroups entry in nsswitch.conf do not always
45052         continue on a successful lookup.  Don't always use the
45053         __nss_group_database value if it is set.
45054         * nss/nsswitch.conf (initgroups): Change action for successful db
45055         lookup to continue for compatibility.
45057 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
45059         [BZ #11532]
45060         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45061         and CP774 modules.
45062         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45063         and CP774 modules.
45064         * iconvdata/tst-tables.sh: Likewise.
45065         * iconvdata/cp770.c: New file.
45066         * iconvdata/cp771.c: New file.
45067         * iconvdata/cp772.c: New file.
45068         * iconvdata/cp773.c: New file.
45069         * iconvdata/cp774.c: New file.
45070         * iconvdata/testdata/CP770: New file.
45071         * iconvdata/testdata/CP770..UTF8: New file.
45072         * iconvdata/testdata/CP771: New file.
45073         * iconvdata/testdata/CP771..UTF8: New file.
45074         * iconvdata/testdata/CP772: New file.
45075         * iconvdata/testdata/CP772..UTF8: New file.
45076         * iconvdata/testdata/CP773: New file.
45077         * iconvdata/testdata/CP773..UTF8: New file.
45078         * iconvdata/testdata/CP774: New file.
45079         * iconvdata/testdata/CP774..UTF8: New file.
45081         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45082         END CHARMAP line.
45083         * iconvdata/gen-8bit-gap.sh: Likewise.
45084         * iconvdata/gen-8bit.sh: Likewise.
45086         * locale/iso-639.def: Add ary entry.
45088         [BZ #11258]
45089         * locale/C-translit.h.in: Add U20A1 transliteration.
45091         [BZ #12178]
45092         * locale/iso-639.def: Add wae entry.
45093         Patch by Kevin Bortis <bortis@translate-wae.ch>.
45095         [BZ #12545]
45096         * locale/programs/localedef.c (construct_output_path): Use ssize_t
45097         for n.
45099         [BZ #12711]
45100         * locale/C-translit.h.in: Add entry for U20B9.
45101         Patch by pravin.d.s@gmail.com.
45103 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
45105         [BZ #12713]
45106         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45107         ENAMETOOLONG use generic getcwd.
45108         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
45109         in rtld.  Use *stat64.
45110         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45111         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45112         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45113         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45114         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45115         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45116         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45117         __fstatat64 macros.
45118         * include/dirent.h: Add libc_hidden_proto for rewinddir.
45119         * dirent/rewinddir.c: Add libc_hidden_def.
45120         * sysdeps/mach/hurd/rewinddir.c: Likewise.
45121         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
45123         * include/dirent.h (__alloc_dir): Add flags parameter.
45124         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45125         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45126         __alloc_dir.
45127         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
45128         from fdopendir if O_CLOEXEC is already set.
45130 2011-03-15  Alan Modra  <amodra@gmail.com>
45132         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45133         l_tls_firstbyte_offset non-zero.  Save padding offset in
45134         l_tls_firstbyte_offset for later use.
45135         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45136         freeing static tls block.
45138 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
45140         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45141         where #ifdef was intended.  The intent is to prevent ARG_MAX from
45142         being defined by the kernel headers.
45144 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
45146         [BZ #12734]
45147         * resolv/resolv.h: Define RES_NOTLDQUERY.
45148         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45149         no-tld-query and set RES_NOTLDQUERY.
45150         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45151         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45152         modern BIND to search name as TLD unless forbidden.
45154 2011-05-07  Petr Baudis  <pasky@suse.cz>
45155             Ulrich Drepper  <drepper@gmail.com>
45157         [BZ #12393]
45158         * elf/dl-load.c (fillin_rpath): Move trusted path check...
45159         (is_trusted_path): ...to here.
45160         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45161         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45162         using is_trusted_path_normalize() in setuid scripts.
45164 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45166         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45167         __BEGIN/__END_DECLS.
45169 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
45171         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45172         NSS_STATUS_NOTFOUND if no record was found.
45174 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45176         * sunrpc/Makefile (headers): Add rpc/netdb.h.
45177         (headers-not-in-tirpc): Remove rpc/netdb.h
45178         * resolv/netdb.h: Revert last change.
45180 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45182         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45183         circular dependency between libgcc.a and libc.a.
45185 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45187         * resolv/netdb.h: Don't include <rpc/netdb.h>.
45188         * nis/Makefile: Don't install rpcsvc/*.
45189         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45190         instead of <rpc/types.h>.
45191         (MAXHOSTNAMELEN): Define.
45193 2011-05-03  Andreas Schwab  <schwab@redhat.com>
45195         * elf/ldconfig.c (add_dir): Don't crash on empty path.
45197 2011-04-28  Maciej Babinski  <mbabinski@google.com>
45199         [BZ #12714]
45200         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45201         gethostbyname4_r when IPv6 results are possible.
45203 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
45205         [BZ #12723]
45206         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45207         _PC_PIPE_BUF handling.
45209 2011-04-30  Bruno Haible  <bruno@clisp.org>
45211         [BZ #12717]
45212         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45213         * resolv/netdb.h (getnameinfo): Change type of flags parameter
45214         to 'int'.
45215         * inet/getnameinfo.c (getnameinfo): Likewise.
45217 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
45219         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45220         to groups setting in database lookup.
45221         * nss/nsswitch.conf: Add initgroups entry.
45223 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
45225         [BZ #12685]
45226         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45227         mode string.
45228         Patch by Eric Blake <eblake@redhat.com>.
45230 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
45232         * sunrpc/Makefile (need-export-routines): Add svc_run.
45233         (routines): Remove svc_run.
45234         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45235         * sunrpc/clnt_perr.c (clnt_perrno): Export.
45236         * sunrpc/svc_run.c (svc_run): Likewise.
45237         * sunrpc/svc_udp.c (svcudp_create): Likewise.
45239 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
45241         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45242         problem in reallocation in last patch.
45244 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
45246         * sunrpc/Makefile: Move inclusion of Rules.
45248 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45250         * nss/nss_files/files-initgroups.c: New file.
45251         * nss/Makefile (libnss_files-routines): Add files-initgroups.
45252         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45253         _nss_files_initgroups_dyn.
45255 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
45257         * elf/elf.h (R_ARM_IRELATIVE): Define.
45259 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45261         * po/ru.po: Update from translation team.
45263 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45265         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45266         dependencies.
45268 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
45270         [BZ #12653]
45271         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45272         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45273         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45274         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45275         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45277 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
45279         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45280         differing bytes.
45281         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45282         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45283         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45285 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45287         [BZ #12420]
45288         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45289         storing it.
45290         * stdlib/bug-getcontext.c: New file.
45291         * stdlib/Makefile: Add rules to build and run bug-getcontext.
45293 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45295         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45296         instructions into .machine "z9-109".
45297         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45298         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45300 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45302         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45303         between environment variables and auxiliary vector.
45305 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
45307         * Makefile: Add rules to build linkobj/libc.so.
45308         * include/libc-symbols.h: Define libc_hidden_nolink.
45309         * include/rpc/auth.h: Mark functions which are to be hidden.
45310         * include/rpc/auth_des.h: Likewise.
45311         * include/rpc/auth_unix.h: Likewise.
45312         * include/rpc/clnt.h: Likewise.
45313         * include/rpc/des_crypt.h: Likewise.
45314         * include/rpc/key_prot.h: Likewise.
45315         * include/rpc/pmap_clnt.h: Likewise.
45316         * include/rpc/pmap_prot.h: Likewise.
45317         * include/rpc/pmap_rmt.h: Likewise.
45318         * include/rpc/rpc_msg.h: Likewise.
45319         * include/rpc/svc.h: Likewise.
45320         * include/rpc/svc_auth.h: Likewise.
45321         * include/rpc/xdr.h: Likewise.
45322         * nis/Makefile: Link all DSOs against linkobj/libc.so.
45323         * nss/Makefile: Likewise.
45324         * sunrpc/Makefile: Don't install headers.  Build library with normal
45325         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
45326         * sunrpc/auth_des.c: Hide exported symbols by default, export some
45327         for the compat linking library.  Remove use of INTDEF/INTUSE.
45328         * sunrpc/auth_none.c: Likewise.
45329         * sunrpc/auth_unix.c: Likewise.
45330         * sunrpc/authdes_prot.c: Likewise.
45331         * sunrpc/authuxprot.c: Likewise.
45332         * sunrpc/clnt_gen.c: Likewise.
45333         * sunrpc/clnt_perr.c: Likewise.
45334         * sunrpc/clnt_raw.c: Likewise.
45335         * sunrpc/clnt_simp.c: Likewise.
45336         * sunrpc/clnt_tcp.c: Likewise.
45337         * sunrpc/clnt_udp.c: Likewise.
45338         * sunrpc/clnt_unix.c: Likewise.
45339         * sunrpc/des_crypt.c: Likewise.
45340         * sunrpc/des_soft.c: Likewise.
45341         * sunrpc/get_myaddr.c: Likewise.
45342         * sunrpc/key_call.c: Likewise.
45343         * sunrpc/key_prot.c: Likewise.
45344         * sunrpc/netname.c: Likewise.
45345         * sunrpc/pm_getmaps.c: Likewise.
45346         * sunrpc/pm_getport.c: Likewise.
45347         * sunrpc/pmap_clnt.c: Likewise.
45348         * sunrpc/pmap_prot.c: Likewise.
45349         * sunrpc/pmap_prot2.c: Likewise.
45350         * sunrpc/pmap_rmt.c: Likewise.
45351         * sunrpc/publickey.c: Likewise.
45352         * sunrpc/rpc_cmsg.c: Likewise.
45353         * sunrpc/rpc_common.c: Likewise.
45354         * sunrpc/rpc_dtable.c: Likewise.
45355         * sunrpc/rpc_prot.c: Likewise.
45356         * sunrpc/rpc_thread.c: Likewise.
45357         * sunrpc/rtime.c: Likewise.
45358         * sunrpc/svc.c: Likewise.
45359         * sunrpc/svc_auth.c: Likewise.
45360         * sunrpc/svc_authux.c: Likewise.
45361         * sunrpc/svc_raw.c: Likewise.
45362         * sunrpc/svc_run.c: Likewise.
45363         * sunrpc/svc_simple.c: Likewise.
45364         * sunrpc/svc_tcp.c: Likewise.
45365         * sunrpc/svc_udp.c: Likewise.
45366         * sunrpc/svc_unix.c: Likewise.
45367         * sunrpc/svcauth_des.c: Likewise.
45368         * sunrpc/xcrypt.c: Likewise.
45369         * sunrpc/xdr.c: Likewise.
45370         * sunrpc/xdr_array.c: Likewise.
45371         * sunrpc/xdr_float.c: Likewise.
45372         * sunrpc/xdr_intXX_t.c: Likewise.
45373         * sunrpc/xdr_mem.c: Likewise.
45374         * sunrpc/xdr_rec.c: Likewise.
45375         * sunrpc/xdr_ref.c: Likewise.
45376         * sunrpc/xdr_sizeof.c: Likewise.
45377         * sunrpc/xdr_stdio.c: Likewise.
45379 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
45381         [BZ #12650]
45382         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45383         * sysdeps/ia64/dl-tls.h: Likewise.
45384         * sysdeps/powerpc/dl-tls.h: Likewise.
45385         * sysdeps/s390/dl-tls.h: Likewise.
45386         * sysdeps/sh/dl-tls.h: Likewise.
45387         * sysdeps/sparc/dl-tls.h: Likewise.
45388         * sysdeps/x86_64/dl-tls.h: Likewise.
45389         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45391 2011-03-14  Andreas Schwab  <schwab@redhat.com>
45393         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45394         rpath element also skip the following colon.
45395         (expand_dynamic_string_token): Add is_path parameter and pass
45396         down to DL_DST_REQUIRED and _dl_dst_substitute.
45397         (decompose_rpath): Call expand_dynamic_string_token with
45398         non-zero is_path.  Ignore empty rpaths.
45399         (_dl_map_object_from_fd): Call expand_dynamic_string_token
45400         with zero is_path.
45402 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
45404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45405         Make cancelable.
45407 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
45409         [BZ #12655]
45410         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45411         Patch by Filipe David Manana <fdmanana@apache.org>.
45413 2011-04-07  Andreas Schwab  <schwab@redhat.com>
45415         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45416         Maintain aligned stack.
45417         (CHECK_RSP): Remove unused macro.
45419 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
45421         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45422         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45424 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
45426         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45428         * include/features.h: Mention __USE_XOPEN2K8 in comment.
45430 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
45432         [BZ #12518]
45433         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45434         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45435         * sysdeps/x86_64/memmove.c: New file.
45436         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45437         (memcpy): Renamed to ...
45438         (__new_memcpy): This.
45439         (memcpy): Provide GLIBC_2_14 memcpy.
45440         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45441         (memcpy): Provide GLIBC_2_2_5 memcpy.
45443 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45445         [BZ #12631]
45446         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45448 2011-03-30  Andreas Schwab  <schwab@redhat.com>
45450         * misc/syncfs.c: New file.
45451         * misc/Makefile (routines): Add syncfs.
45452         * posix/unistd.h: Declare syncfs.
45453         * sysdeps/unix/syscalls.list: Add syncfs.
45455 2011-04-01  Andreas Schwab  <schwab@redhat.com>
45457         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45458         open_by_handle_at.
45459         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45460         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45461         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45462         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45463         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45464         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45465         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45467 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45469         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45470         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45471         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45472         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45473         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45474         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45475         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45477         * io/Makefile: Compile fallocate.c, fallocate64.c, and
45478         sync_file_range.c with -fexceptions.
45479         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45480         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45481         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45482         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45483         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45484         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45485         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45486         sync_file_range as cancellation point
45487         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
45488         now a wrapper around __call_sync_file_range with cancellation handling.
45489         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45490         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
45491         function name to __call_sync_file_range.
45492         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45493         Add call_sync_file_range.
45495 2011-04-01  Andreas Schwab  <schwab@redhat.com>
45497         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45498         bits/timex.h.
45500 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45502         * iconv/iconv.h: Fix typo in comment.
45503         * io/fcntl.h: Likewise.
45504         * libio/stdio.h: Likewise.
45505         * posix/spawn.h: Likewise.
45506         * posix/unistd.h: Likewise.
45507         * stdlib/stdlib.h: Likewise.
45508         * time/time.h: Likewise.
45509         * wcsmbs/wchar.h: Likewise.
45511         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45512         open_by_handle): Add.
45513         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45514         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
45515         Augment a few comments.
45516         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45517         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45518         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45519         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45520         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45521         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45522         open_by_handle.
45524         * io/fcntl.h (AT_EMPTY_PATH): Define.
45526 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
45528         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45529         * sysdeps/unix/sysv/linux/bits/time.h: New file.
45530         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45531         to...
45532         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
45533         * Versions.def: Add GLIBC_2.14.
45534         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45535         Export.
45537 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
45539         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45540         round counter.
45541         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45543 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45545         [BZ #12597]
45546         * string/test-strncmp.c (do_page_test): New function.
45547         (check2): Likewise.
45548         (test_main): Call check2.
45549         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45551 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
45553         [BZ #12587]
45554         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45555         Handle cache information in CPU leaf 4.
45556         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45558 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
45560         [BZ #12583]
45561         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45562         character representation.
45563         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45565 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
45567         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45568         END(__isnan) to END(__isnanf) to match function entry point/label
45569         EALIGN(__isnanf,...).
45571 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
45573         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45575 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
45577         [BZ #12510]
45578         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45579         copy from the symbol referenced in the relocation to initialize the
45580         used variable.
45581         Patch by Piotr Bury <pbury@goahead.com>.
45582         * elf/Makefile: Add rules to build and tst-unique3.
45583         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45584         * elf/tst-unique3.cc: New file.
45585         * elf/tst-unique3.h: New file.
45586         * elf/tst-unique3lib.cc: New file.
45587         * elf/tst-unique3lib2.cc: New file.
45589         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45591 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
45593         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45594         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
45595         to _start.
45597 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
45599         * elf/dl-load.c (_dl_map_object): If we are looking for the first
45600         to-be-loaded object along a path to loader is ld.so.
45602 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
45603             Ulrich Drepper  <drepper@gmail.com>
45605         * sysdeps/x86_64/memset.S: After aligning destination, code
45606         branches to different locations depending on the value of
45607         misalignment, when multiarch is enabled. Fix this.
45609 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
45611         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45612         Set _x86_64_preferred_memory_instruction for AMD processsors.
45613         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45614         Set bit_Prefer_SSE_for_memop for AMD processors.
45616 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
45618         * libio/fmemopen.c (fmemopen): Optimize a bit.
45620 2011-03-03  Andreas Schwab  <schwab@redhat.com>
45622         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45624 2011-03-03  Roland McGrath  <roland@redhat.com>
45626         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45628 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
45630         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45631         __bzero_ultra1 instead of __memset_ultra1.
45633 2011-02-23  Andreas Schwab  <schwab@redhat.com>
45634             Ulrich Drepper  <drepper@gmail.com>
45636         [BZ #12509]
45637         * include/link.h (struct link_map): Add l_orig_initfini.
45638         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45639         returning unsuccessfully.
45640         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45641         close of a file loaded at startup, restore the original l_initfini
45642         list.
45643         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45644         list, store the pointer.
45645         * elf/Makefile ($(objpfx)noload-mem): New rule.
45646         (noload-ENV): Define.
45647         (tests): Add $(objpfx)noload-mem.
45648         * elf/noload.c: Include <memcheck.h>.
45649         (main): Call mtrace.  Close all opened handles.
45651 2011-02-17  Andreas Schwab  <schwab@redhat.com>
45653         [BZ #12454]
45654         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45655         dependencies are missing.
45657 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45659         Fix __if_freereq crash: Unlike the generic version which uses free,
45660         Hurd needs munmap.
45661         * sysdeps/mach/hurd/ifreq.h: New file.
45663 2011-01-27  Petr Baudis  <pasky@suse.cz>
45664             Ulrich Drepper  <drepper@gmail.com>
45666         [BZ 12445]#
45667         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45668         to extend_alloca().
45669         * stdio-common/bug23.c: New file.
45670         * stdio-common/Makefile (tests): Add bug23.
45672 2010-09-28  Andreas Schwab  <schwab@redhat.com>
45673             Ulrich Drepper  <drepper@gmail.com>
45675         [BZ #12489]
45676         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45677         before performing relro protection.  At old place add assertion
45678         to make sure nothing changed.
45680 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
45681             Glauber de Oliveira Costa  <glommer@gmail.com>
45683         * elf/elf.h: Add new ARM TLS relocs.
45685 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
45687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45688         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45689         cast from r3.
45690         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
45691         'tests' variable.
45692         * sysdeps/wordsize-64/tst-writev.c: New file.
45694 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
45696         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45697         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45698         insns in _dl_start to prevent a TOC reference before relocs are
45699         resolved.
45701 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
45703         [BZ #12469]
45704         * Makeconfig: Remove RANLIB definition.
45705         * Makerules: Don't use RANLIB.
45706         * aclocal.m4: Remove ranlib test.
45707         * configure.in: No need to check for ranlib.
45708         * elf/rtld-Rules: Don't use RANLIB.
45710 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45712         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45713         protection macro.
45714         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45715         inclusion protection macro.
45717         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45718         SIGRTMIN and SIGRTMAX and print information in that case only when
45719         SIGRTMIN is defined.
45721 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
45723         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45724         arginfo fn returning -1.
45726         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45727         and thousands string is zero terminated.
45729 2011-02-03  Andreas Schwab  <schwab@redhat.com>
45731         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45732         sysdeps/unix/sysv/linux/bits/socket.h.
45734 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45736         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45737         (__CPU_COUNT): Remove old macros.
45738         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45739         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45740         (__CPU_ALLOC, __CPU_FREE): Add macros.
45741         (__sched_cpualloc, __sched_cpufree): Add declarations.
45743 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
45745         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45746         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45747         * nscd/aicache.c (addhstaiX): Return timeout of added value.
45748         (readdhstai): Return value of addhstaiX call.
45749         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45750         (addgrbyX): Return value returned by cache_addgr.
45751         (readdgrbyname): Return value returned by addgrbyX.
45752         (readdgrbygid): Likewise.
45753         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45754         (addpwbyX): Return value returned by cache_addpw.
45755         (readdpwbyname): Return value returned by addhstbyX.
45756         (readdpwbyuid): Likewise.
45757         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45758         (addservbyX): Return value returned by cache_addserv.
45759         (readdservbyname): Return value returned by addservbyX:
45760         (readdservbyport): Likewise.
45761         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45762         (addhstbyX): Return value returned by cache_addhst.
45763         (readdhstbyname): Return value returned by addhstbyX.
45764         (readdhstbyaddr): Likewise.
45765         (readdhstbynamev6): Likewise.
45766         (readdhstbyaddrv6): Likewise.
45767         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45768         (readdinitgroups): Return value returned by addinitgroupsX.
45769         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45770         (prune_cache): Keep track of timeout value of re-added entries.
45771         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45772         * nscd/nscd.h: Adjust prototypes of readd* functions.
45774 2011-02-04  Roland McGrath  <roland@redhat.com>
45776         * nis/nis_server.c (nis_servstate): Use the right name for 0.
45777         (nis_stats): Likewise.
45778         * nis/nis_modify.c (nis_modify): Likewise.
45779         * nis/nis_remove.c (nis_remove): Likewise.
45780         * nis/nis_add.c (nis_add): Likewise.
45782         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45784         * posix/fnmatch_loop.c: Add some consts.
45786         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45788 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
45790         [BZ #12460]
45791         * config.make.in (config-cflags-novzeroupper): Define.
45792         * configure.in: Substitute libc_cv_cc_novzeroupper.
45793         * elf/Makefile (AVX-CFLAGS): Define.
45794         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45795         (CFLAGS-tst-auditmod4a.c): Likewise.
45796         (CFLAGS-tst-auditmod4b.c): Likewise.
45797         (CFLAGS-tst-auditmod6b.c): Likewise.
45798         (CFLAGS-tst-auditmod6c.c): Likewise.
45799         (CFLAGS-tst-auditmod7b.c): Likewise.
45800         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45802 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
45804         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45805         function to the callback.
45806         Patch partly by Jiri Olsa <jolsa@redhat.com>.
45808 2011-02-02  Andreas Schwab  <schwab@redhat.com>
45810         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45811         of errno.
45813 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
45815         [BZ #11724]
45816         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45817         of constructors.
45818         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45819         of destructors.
45820         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45822         [BZ #11724]
45823         * elf/Makefile: Add rules to build and run new test.
45824         * elf/tst-initorder.c: New file.
45825         * elf/tst-initorder.exp: New file.
45826         * elf/tst-initordera1.c: New file.
45827         * elf/tst-initordera2.c: New file.
45828         * elf/tst-initordera3.c: New file.
45829         * elf/tst-initordera4.c: New file.
45830         * elf/tst-initorderb1.c: New file.
45831         * elf/tst-initorderb2.c: New file.
45832         * elf/tst-order-a1.c: New file.
45833         * elf/tst-order-a2.c: New file.
45834         * elf/tst-order-a3.c: New file.
45835         * elf/tst-order-a4.c: New file.
45836         * elf/tst-order-b1.c: New file.
45837         * elf/tst-order-b2.c: New file.
45838         * elf/tst-order-main.c: New file.
45839         New test case by George Gensure <werkt0@gmail.com>.
45841 2010-10-01  Andreas Schwab  <schwab@redhat.com>
45843         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45844         decoding ACE if AI_CANONIDN.
45846 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
45848         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45850 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
45852         * version.h (RELEASE): Bump for 2.13 release.
45853         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45855         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45857         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45858         MADV_NOHUGEPAGE.
45859         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45860         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45861         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45862         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45863         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45864         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45866         * posix/getconf.c: Update copyright year.
45867         * catgets/gencat.c: Likewise.
45868         * csu/version.c: Likewise.
45869         * debug/catchsegv.sh: Likewise.
45870         * debug/xtrace.sh: Likewise.
45871         * elf/ldconfig.c: Likewise.
45872         * elf/ldd.bash.in: Likewise.
45873         * elf/sprof.c (print_version): Likewise.
45874         * iconv/iconv_prog.c: Likewise.
45875         * iconv/iconvconfig.c: Likewise.
45876         * locale/programs/locale.c: Likewise.
45877         * locale/programs/localedef.c: Likewise.
45878         * malloc/memusage.sh: Likewise.
45879         * malloc/mtrace.pl: Likewise.
45880         * nscd/nscd.c (print_version): Likewise.
45881         * nss/getent.c: Likewise.
45883         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45884         PF_CAIF, and PF_ALG.
45885         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45887 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
45889         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45890         (modules-names): Use them.
45891         (ifunc-test-modules, ifunc-pie-tests): Define.
45892         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45893         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45894         (test-extras): Likewise.
45895         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45896         $(compile-command.c).
45897         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45898         (all-built-dso): Define.
45899         (check-textrel.out, check-execstack.out): Depend on it.
45901         * configure.in: Don't override --enable-multi-arch.
45903 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
45905         [BZ #6812]
45906         * nscd/hstcache.c (tryagain): Define.
45907         (cache_addhst): Return tryagain not notfound for temporary errors.
45908         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45909         failed.
45911 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
45913         [BZ #10563]
45914         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45915         to make the syscall.
45916         * sysdeps/unix/sysv/linux/setgroups.c: New file.
45918         [BZ #12378]
45919         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45920         and fall back to matching as normal character if the string ends before
45921         the matching ']' is found.  This is what POSIX requires.
45922         * posix/testfnm.c: Adjust test result.
45923         * posix/globtest.sh: Adjust test result.  Add new test.
45924         * posix/tst-fnmatch.input: Likewise.
45925         * posix/tst-fnmatch2.c: Add new test.
45927 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
45929         * elf/Makefile (check-execstack): Revert last change.  Depend on
45930         check-execstack.h.
45931         (check-execstack.h): New target.
45932         (generated): Add check-execstack.h.
45933         * elf/check-execstack.c: Include "check-execstack.h".
45934         (main): Revert last change.
45935         (handle_file): Return zero if GNU_STACK is absent and
45936         DEFAULT_STACK_PERMS doesn't include PF_X.
45938 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
45940         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45941         in child fails because the descriptor is already closed.
45942         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45943         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45944         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45946         [BZ #12397]
45947         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45948         syscall.
45950         [BZ #10484]
45951         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45952         temporary buffer used to handle multi lookups locally.
45953         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45955 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
45957         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45958         loader is ld.so.
45960 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
45962         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45963         alignment for SSE2.
45965 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
45967         [BZ #12394]
45968         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45969         characters.  When rounding increased number of integer digits recompute
45970         number of groups.
45971         * stdio-common/tst-grouping.c: New file.
45972         * stdio-common/Makefile: Add rules to build and run tst-grouping.
45974 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
45976         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45977         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
45979         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45980         void.
45981         * bits/select.h: Likewise.
45983 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
45985         * po/ja.po: Update from translation team.
45987 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
45989         [BZ #11155]
45990         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45991         implementation just like for lxstat, fxstatat, et al.
45993 2010-12-27  Jim Meyering  <meyering@redhat.com>
45995         [BZ #12348]
45996         * posix/regexec.c (build_trtable): Return failure indication upon
45997         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
45999 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
46001         [BZ #12201]
46002         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46003         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46004         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46005         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46007         [BZ #12207]
46008         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46010         [BZ #12204]
46011         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46012         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46014 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
46016         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46017         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46018         script has SORT_BY_INIT_PRIORITY.
46019         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46020         NO_CTORS_DTORS_SECTIONS is defined.
46021         * elf/soinit.c: Likewise.
46022         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46023         NO_CTORS_DTORS_SECTIONS is defined.
46024         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46025         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46026         * sysdeps/sh/init-first.c: Likewise.
46027         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46029 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
46031         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46032         always use the slow path.
46034 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
46036         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46037         similar rule which adds the sysdep directories to the header search in
46038         order to pick up the correct platform stackinfo.h.
46039         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46040         perform test if it is, otherwise return successfully without testing.
46041         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46042         DEFAULT_STACK_PERMS define in stackinfo.h.
46043         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46044         defined in stackinfo.h.
46045         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46046         DEFAULT_STACK_PERMS defined in stackinfo.h.
46047         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46048         * sysdeps/ia64/stackinfo.h: Likewise.
46049         * sysdeps/s390/stackinfo.h: Likewise.
46050         * sysdeps/sh/stackinfo.h: Likewise.
46051         * sysdeps/sparc/stackinfo.h: Likewise.
46052         * sysdeps/x86_64/stackinfo.h: Likewise.
46053         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46054         PF_X for powerpc64.  Retain PF_X for powerpc32.
46056 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
46058         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46059         accurately.
46060         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46061         GETDENTS_64BIT_ALIGNED.
46063 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
46065         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46067 2010-12-10  Andreas Schwab  <schwab@redhat.com>
46069         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46070         _GNU_SOURCE.
46072         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46073         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46074         Remove __restrict.
46075         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46076         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46078 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
46080         [BZ #11655]
46081         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46082         are initialized.
46084 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
46086         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46088 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
46090         * po/it.po: Update from translation team.
46092 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
46094         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46095         unused codes.
46097 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
46099         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46101 2010-11-24  Andreas Schwab  <schwab@redhat.com>
46103         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46104         specially.
46105         (gaih_getanswer_slice): Likewise.
46107 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
46109         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46111 2010-05-31  Petr Baudis  <pasky@suse.cz>
46113         [BZ #11149]
46114         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46115         silently even in the chroot mode.
46117 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
46119         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46120         last patch a bit.  Pretty printing
46122 2010-05-31  Petr Baudis <pasky@suse.cz>
46124         [BZ #10085]
46125         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46126         initialization of skip_initgroups_dyn.
46128 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
46130         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46131         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46133 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
46135         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46137 2010-11-11  Andreas Schwab  <schwab@redhat.com>
46139         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46140         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46141         (tst-fnmatch-ENV): Set MALLOC_TRACE.
46142         ($(objpfx)tst-fnmatch-mem): New rule.
46143         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46144         * posix/tst-fnmatch.c (main): Call mtrace.
46146 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
46148         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46149         Support Intel processor model 6 and model 0x2c.
46151 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
46153         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46154           signed comparison.
46156 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
46158         [BZ #12205]
46159         * string/test-strncasecmp.c (check_result): New function.
46160         (do_one_test): Use it.
46161         (check1): New function.
46162         (test_main): Use it.
46163         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46164         Support strcasecmp and strncasecmp.
46166 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
46168         [BZ #12194]
46169         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46170         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46172 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
46174         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46175         IFUNC support.
46176         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46177         memset-x86-64.
46178         * sysdeps/x86_64/multiarch/bzero.S: New file.
46179         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46180         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46181         * sysdeps/x86_64/multiarch/memset.S: New file.
46182         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46183         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46184         Set bit_Prefer_SSE_for_memop for Intel processors.
46185         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46186         Define.
46187         (index_Prefer_SSE_for_memop): Define.
46188         (HAS_PREFER_SSE_FOR_MEMOP): Define.
46190 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
46192         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46193         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46195 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
46197         [BZ #12191]
46198         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46199         (__x86_64_raw_data_cache_size_half): Likewise.
46200         (__x86_64_raw_shared_cache_size): Likewise.
46201         (__x86_64_raw_shared_cache_size_half): Likewise.
46203         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46204         (__x86_64_raw_data_cache_size_half): Likewise.
46205         (__x86_64_raw_shared_cache_size): Likewise.
46206         (__x86_64_raw_shared_cache_size_half): Likewise.
46207         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46208         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46209         and __x86_64_raw_shared_cache_size_half.  Round
46210         __x86_64_data_cache_size_half, __x86_64_data_cache_size
46211         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46212         to multiple of 256 bytes.
46214 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
46216         [BZ #12167]
46217         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46218         of inacessible symlinks.  Verify result of symlink before returning it.
46219         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46220         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46222 2010-10-28  Erich Ritz  <erichritz@gmail.com>
46224         * math/math.h (isinf): Fix typo in comment.
46226 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
46228         * po/da.po: Update from translation team.
46230 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
46232         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46233         is added to the list.
46235 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46236             Ulrich Drepper  <drepper@gmail.com>
46238         * elf/dl-object.c (_dl_new_object): Don't append the new object to
46239         the global list here.  Move code to...
46240         (_dl_add_to_namespace_list): ...here.  New function.
46241         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46242         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46243         * elf/dl-load.c (lose): Don't remove the element from the list.
46244         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46245         (_dl_map_object): Likewise.
46247 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
46249         [BZ #12159]
46250         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46251         into all bytes of SSE register.
46252         Patch by Richard Li <richardpku@gmail.com>.
46254 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
46256         [BZ #12140]
46257         * malloc/malloc.c (_int_free): Fill correct number of bytes when
46258         perturbing.
46260 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
46262         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46263         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46264         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46265         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46267         submachine.
46268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46270 2010-10-22  Andreas Schwab  <schwab@redhat.com>
46272         * include/dlfcn.h (__RTLD_SECURE): Define.
46273         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
46274         mode & __RTLD_SECURE instead.
46275         (open_path): Rename preloaded parameter to secure.
46276         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46277         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46278         * elf/dl-deps.c (openaux): Likewise.
46279         * elf/rtld.c (struct map_args): Remove is_preloaded.
46280         (map_doit): Don't use it.
46281         (dl_main): Likewise.
46282         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46283         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46285 2010-09-09  Andreas Schwab  <schwab@redhat.com>
46287         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46288         (sysd-rules-targets): Remove duplicates.
46289         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46290         rtld-%.$o dependency.
46292 2010-10-18  Andreas Schwab  <schwab@redhat.com>
46294         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46295         _dl_map_object do it.
46297 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
46299         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46300         fast fma builtins, define the macros in the C99 standard.
46301         (FP_FAST_FMAF): Likewise.
46302         (FP_FAST_FMAL): Likewise.
46303         * sysdeps/x86_64/bits/mathdef.h: Likewise.
46305         * bits/mathdef.h: Update copyright year.
46306         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46308 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
46310         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46311         builtins, define the macros in the C99 standard.
46312         (FP_FAST_FMAF): Likewise.
46313         (FP_FAST_FMAL): Likewise.
46314         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46315         multiply/add.
46316         (FP_FAST_FMAF): Likewise.
46318 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
46320         [BZ #3268]
46321         * math/libm-test.inc (fma_test): Some new testcases.
46322         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46323         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46324         y and infinite z.  Do multiplication by C already in long double.
46325         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46326         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46327         y and infinite z.  Do bitwise or of inexact bit into u.d.
46328         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46329         * sysdeps/i386/fpu/s_fmaf.S: Removed.
46330         * sysdeps/i386/fpu/s_fma.S: Removed.
46331         * sysdeps/i386/fpu/s_fmal.S: Removed.
46333 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
46335         [BZ #3268]
46336         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46337         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46338         computation is not scheduled after fetestexcept.  Fix value
46339         of minimum denormal long double.
46341 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
46343         [BZ #3268]
46344         * math/libm-test.inc (fma_test): Add some more tests.
46345         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46346         correctly.
46348 2010-10-15  Andreas Schwab  <schwab@redhat.com>
46350         * scripts/data/localplt-s390-linux-gnu.data: New file.
46351         * scripts/data/localplt-s390x-linux-gnu.data: New file.
46353 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
46355         [BZ #3268]
46356         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46357         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46358         instead of dbl-64.
46359         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46360         inlines.
46361         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46362         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46363         if one of x and y is very large and the other is subnormal.
46364         * sysdeps/s390/fpu/s_fmaf.c: New file.
46365         * sysdeps/s390/fpu/s_fma.c: New file.
46366         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46367         * sysdeps/powerpc/fpu/s_fma.S: New file.
46368         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46369         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46370         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46372 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
46374         [BZ #3268]
46375         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46376         fma tests.
46377         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46378         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46379         * sysdeps/i386/i686/multiarch/s_fma.c: Include
46380         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46381         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46382         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46383         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46385 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
46387         [BZ #12078]
46388         * posix/regcomp.c (parse_branch): One more memory leak plugged.
46389         * posix/bug-regex31.input: Add test case.
46391 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
46393         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46394         * posix/bug-regex31.input: New file.
46396         [BZ #12078]
46397         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46398         (parse_sub_exp): Fix last change, use postorder.
46400         * posix/bug-regex31.c: New file.
46401         * posix/Makefile: Add rules to build and run bug-regex31.
46403         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46405         [BZ #12078]
46406         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46408         [BZ #12108]
46409         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46410         to have entries in sys_siglist.
46412         [BZ #12093]
46413         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46414         be NULL.
46416 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
46418         [BZ #3268]
46419         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46420         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46421         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46422         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46423         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46424         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46425         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46426         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46427         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46428         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46429         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46430         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46431         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46432         * math/ftestexcept.c (fetestexcept): Likewise.
46433         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46434         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46435         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46436         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46437         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46438         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46439         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46441 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
46443         [BZ #12107]
46444         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46445         newline.
46447 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
46449         * string/bug-strstr1.c: New file.
46450         * string/Makefile: Add rules to build and run bug-strstr1.
46452 2010-10-05  Eric Blake  <eblake@redhat.com>
46454         [BZ #12092]
46455         * string/str-two-way.h (two_way_long_needle): Always clear memory
46456         when skipping input due to the shift table.
46458 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
46460         [BZ #12005]
46461         * malloc/mcheck.c: Handle large requests.
46463         [BZ #12077]
46464         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46465         for strncmp and strncasecmp.
46466         * string/stratcliff.c: Add tests for strcmp and strncmp.
46467         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46469 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46471         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46472         __set_fpscr.
46474 2010-09-30  Andreas Jaeger  <aj@suse.de>
46476         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46477         (CGROUP_SUPER_MAGIC): Define.
46478         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46479         Handle btrfs and cgroup file systems.
46480         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46481         Likewise.
46483 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
46485         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46486         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46488 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46490         [BZ #12067]
46491         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46492         trying to locate the ELF header.
46494 2010-09-27  Andreas Schwab  <schwab@redhat.com>
46496         [BZ #11611]
46497         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46498         Mask out sign-bit copies when constructing f_fsid.
46500 2010-09-24  Petr Baudis <pasky@suse.cz>
46502         * debug/stack_chk_fail_local.c: Add missing licence exception.
46503         * debug/warning-nop.c: Likewise.
46505 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
46507         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46508         implementing getdents64 using getdents syscall, set d_type if
46509         __ASSUME_GETDENTS32_D_TYPE.
46511 2010-09-16  Andreas Schwab  <schwab@redhat.com>
46513         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46514         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46516 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
46518         [BZ #12037]
46519         * posix/unistd.h: Undo change of feature selection for ftruncate from
46520         2010-01-11.
46522 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
46524         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46525         detection.
46527 2010-09-20  Andreas Schwab  <schwab@redhat.com>
46529         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46530         fanotify_mark.
46531         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46533 2010-09-14  Andreas Schwab  <schwab@redhat.com>
46535         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46536         variables after CHECK_SP call.
46537         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46539 2010-09-13  Andreas Schwab  <schwab@redhat.com>
46540             Ulrich Drepper  <drepper@redhat.com>
46542         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46543         re-relocationg ld.so.
46544         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46545         _dl_init_paths call.
46546         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
46547         here anymore.
46549 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
46551         * resolv/res_init.c (__res_vinit): Count the default server we added.
46553 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
46554             Ulrich Drepper  <drepper@redhat.com>
46556         [BZ #11968]
46557         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46558         (____longjmp_chk): Use %ebx for saving value across system call.
46559         Add unwind info.
46561 2010-09-06  Andreas Schwab  <schwab@redhat.com>
46563         * manual/Makefile: Don't mix pattern rules with normal rules.
46565 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
46567         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46568         operation.
46569         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46570         * libio/iofopncook.c (_IO_cookie_init): Likewise.
46571         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46572         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46573         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46574         Likewise.
46576 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
46578         [BZ #11979]
46579         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46580         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46582 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
46584         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46585         * sysdeps/x86_64/addmul_1.S: Likewise.
46586         * sysdeps/x86_64/lshift.S: Likewise.
46587         * sysdeps/x86_64/mul_1.S: Likewise.
46588         * sysdeps/x86_64/rshift.S: Likewise.
46589         * sysdeps/x86_64/sub_n.S: Likewise.
46590         * sysdeps/x86_64/submul_1.S: Likewise.
46592 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46594         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46595         Define __sched_param instead of SCHED_* and sched_param when
46596         <bits/sched.h> is included with __need_schedparam defined.
46597         * bits/sched.h [__need_schedparam]
46598         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46599         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46600         (__defined_schedparam): Define to 1.
46601         (__sched_param): New structure, identical to sched_param.
46602         (__need_schedparam): Undefine.
46604 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
46606         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46607         (epoll_create1): Declare.
46609         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46611 2010-08-31  Andreas Schwab  <schwab@redhat.com>
46613         [BZ #7066]
46614         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46615         shifting retval into place.
46617 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
46619         * nis/rpcsvc/nis.h: Update copyright notice.
46620         * nis/rpcsvc/nis.x: Likewise.
46621         * nis/rpcsvc/nis_callback.h: Likewise.
46622         * nis/rpcsvc/nis_callback.x: Likewise.
46623         * nis/rpcsvc/nis_object.x: Likewise.
46624         * nis/rpcsvc/nis_tags.h: Likewise.
46625         * nis/rpcsvc/yp.h: Likewise.
46626         * nis/rpcsvc/yp.x: Likewise.
46627         * nis/rpcsvc/ypupd.h: Likewise.
46628         * nis/yp_xdr.c: Likewise.
46629         * nis/ypupdate_xdr.c: Likewise.
46631         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
46632         mainly the body of pmap_getport.  Add parameters to specify timeouts.
46633         (pmap_getport): Use __libc_rpc_getport.
46634         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46635         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46636         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46638 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
46640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46641         fanotify_mark.
46643 2010-08-27  Roland McGrath  <roland@redhat.com>
46645         * sysdeps/i386/i686/multiarch/Makefile
46646         (CFLAGS-varshift.c): New variable.
46648 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
46650         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46651         * sysdeps/i386/i686/multiarch/varshift.c: New file.
46653         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46655         * sysdeps/x86_64/strlen.S: Minimal code improvement.
46657 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
46659         * sysdeps/x86_64/strlen.S: Unroll the loop.
46660         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46661         strlen-sse2 strlen-sse2-bsf.
46662         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46663         __strlen_no_bsf if bit_Slow_BSF is set.
46664         (__strlen_sse42): Removed.
46665         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46666         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46668 2010-08-25  Roland McGrath  <roland@redhat.com>
46670         * sysdeps/x86_64/multiarch/varshift.S: File removed.
46671         * sysdeps/x86_64/multiarch/varshift.c: New file.
46672         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46673         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46674         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46675         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46677 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
46679         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46680         strlen-sse2 strlen-sse2-bsf.
46681         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46682         __strlen_sse2_bsf if bit_Slow_BSF is unset.
46683         (__strlen_sse2): Removed.
46684         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46685         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46686         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46687         bit_Slow_BSF for Atom.
46688         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46689         (index_Slow_BSF): Define.
46690         (HAS_SLOW_BSF): Define.
46692 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
46694         [BZ #10851]
46695         * resolv/res_init.c (__res_vinit): When no server address at all
46696         is given default to loopback.
46698 2010-08-24  Roland McGrath  <roland@redhat.com>
46700         * configure.in: Remove config-name.h generation.
46701         * configure: Regenerated.
46702         * config-name.in: File removed.
46703         * scripts/config-uname.sh: New file.
46704         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46705         ($(objdir)config-name.h): New target.
46707         * sunrpc/rpc_parse.h: Avoid nested comment.
46709 2010-08-24  Richard Henderson  <rth@redhat.com>
46710             Ulrich Drepper  <drepper@redhat.com>
46711             H.J. Lu  <hongjiu.lu@intel.com>
46713         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46714         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46715         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46716         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
46717         _mm_alignr_epi8 with _mm_loadu_si128.
46718         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46719         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46720         (__m128i_shift_right): Removed.
46721         * sysdeps/i386/i686/multiarch/varshift.h: New file.
46722         * sysdeps/i386/i686/multiarch/varshift.S: New file.
46723         * sysdeps/x86_64/multiarch/varshift.h: New file.
46724         * sysdeps/x86_64/multiarch/varshift.S: New file.
46726 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
46728         * configure.in: Move assembler checks to before sysdep dir checking.
46730 2010-08-20  Petr Baudis  <pasky@suse.cz>
46732         * LICENSES: Sync the sunrpc license.
46734 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
46736         * sunrpc/auth_des.c: Update copyright notice once again.
46737         * sunrpc/auth_none.c: Likewise.
46738         * sunrpc/auth_unix.c: Likewise.
46739         * sunrpc/authdes_prot.c: Likewise.
46740         * sunrpc/authuxprot.c: Likewise.
46741         * sunrpc/bindrsvprt.c: Likewise.
46742         * sunrpc/clnt_gen.c: Likewise.
46743         * sunrpc/clnt_perr.c: Likewise.
46744         * sunrpc/clnt_raw.c: Likewise.
46745         * sunrpc/clnt_simp.c: Likewise.
46746         * sunrpc/clnt_tcp.c: Likewise.
46747         * sunrpc/clnt_udp.c: Likewise.
46748         * sunrpc/clnt_unix.c: Likewise.
46749         * sunrpc/des_crypt.c: Likewise.
46750         * sunrpc/des_soft.c: Likewise.
46751         * sunrpc/get_myaddr.c: Likewise.
46752         * sunrpc/getrpcport.c: Likewise.
46753         * sunrpc/key_call.c: Likewise.
46754         * sunrpc/key_prot.c: Likewise.
46755         * sunrpc/openchild.c: Likewise.
46756         * sunrpc/pm_getmaps.c: Likewise.
46757         * sunrpc/pm_getport.c: Likewise.
46758         * sunrpc/pmap_clnt.c: Likewise.
46759         * sunrpc/pmap_prot.c: Likewise.
46760         * sunrpc/pmap_prot2.c: Likewise.
46761         * sunrpc/pmap_rmt.c: Likewise.
46762         * sunrpc/rpc/auth.h: Likewise.
46763         * sunrpc/rpc/auth_unix.h: Likewise.
46764         * sunrpc/rpc/clnt.h: Likewise.
46765         * sunrpc/rpc/des_crypt.h: Likewise.
46766         * sunrpc/rpc/key_prot.h: Likewise.
46767         * sunrpc/rpc/netdb.h: Likewise.
46768         * sunrpc/rpc/pmap_clnt.h: Likewise.
46769         * sunrpc/rpc/pmap_prot.h: Likewise.
46770         * sunrpc/rpc/pmap_rmt.h: Likewise.
46771         * sunrpc/rpc/rpc.h: Likewise.
46772         * sunrpc/rpc/rpc_des.h: Likewise.
46773         * sunrpc/rpc/rpc_msg.h: Likewise.
46774         * sunrpc/rpc/svc.h: Likewise.
46775         * sunrpc/rpc/svc_auth.h: Likewise.
46776         * sunrpc/rpc/types.h: Likewise.
46777         * sunrpc/rpc/xdr.h: Likewise.
46778         * sunrpc/rpc_clntout.c: Likewise.
46779         * sunrpc/rpc_cmsg.c: Likewise.
46780         * sunrpc/rpc_common.c: Likewise.
46781         * sunrpc/rpc_cout.c: Likewise.
46782         * sunrpc/rpc_dtable.c: Likewise.
46783         * sunrpc/rpc_hout.c: Likewise.
46784         * sunrpc/rpc_main.c: Likewise.
46785         * sunrpc/rpc_parse.c: Likewise.
46786         * sunrpc/rpc_parse.h: Likewise.
46787         * sunrpc/rpc_prot.c: Likewise.
46788         * sunrpc/rpc_sample.c: Likewise.
46789         * sunrpc/rpc_scan.c: Likewise.
46790         * sunrpc/rpc_scan.h: Likewise.
46791         * sunrpc/rpc_svcout.c: Likewise.
46792         * sunrpc/rpc_tblout.c: Likewise.
46793         * sunrpc/rpc_util.c: Likewise.
46794         * sunrpc/rpc_util.h: Likewise.
46795         * sunrpc/rpcinfo.c: Likewise.
46796         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46797         * sunrpc/rpcsvc/key_prot.x: Likewise.
46798         * sunrpc/rpcsvc/klm_prot.x: Likewise.
46799         * sunrpc/rpcsvc/mount.x: Likewise.
46800         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46801         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46802         * sunrpc/rpcsvc/rex.x: Likewise.
46803         * sunrpc/rpcsvc/rstat.x: Likewise.
46804         * sunrpc/rpcsvc/rusers.x: Likewise.
46805         * sunrpc/rpcsvc/sm_inter.x: Likewise.
46806         * sunrpc/rpcsvc/spray.x: Likewise.
46807         * sunrpc/rpcsvc/yppasswd.x: Likewise.
46808         * sunrpc/rtime.c: Likewise.
46809         * sunrpc/svc.c: Likewise.
46810         * sunrpc/svc_auth.c: Likewise.
46811         * sunrpc/svc_authux.c: Likewise.
46812         * sunrpc/svc_raw.c: Likewise.
46813         * sunrpc/svc_run.c: Likewise.
46814         * sunrpc/svc_simple.c: Likewise.
46815         * sunrpc/svc_tcp.c: Likewise.
46816         * sunrpc/svc_udp.c: Likewise.
46817         * sunrpc/svc_unix.c: Likewise.
46818         * sunrpc/svcauth_des.c: Likewise.
46819         * sunrpc/xcrypt.c: Likewise.
46820         * sunrpc/xdr.c: Likewise.
46821         * sunrpc/xdr_array.c: Likewise.
46822         * sunrpc/xdr_float.c: Likewise.
46823         * sunrpc/xdr_mem.c: Likewise.
46824         * sunrpc/xdr_rec.c: Likewise.
46825         * sunrpc/xdr_ref.c: Likewise.
46826         * sunrpc/xdr_sizeof.c: Likewise.
46827         * sunrpc/xdr_stdio.c: Likewise.
46829         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46830         handling.
46832 2010-08-19  Andreas Schwab  <schwab@redhat.com>
46834         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46836 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
46838         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46839         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46840         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46841         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46842         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46843         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46844         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46845         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46846         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46847         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46848         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46849         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46850         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46851         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46853 2010-07-26  Anton Blanchard  <anton@samba.org>
46855         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46856         * malloc/arena.c (heap_trim): Likewise.
46858 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
46860         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46861         here.  Not...
46862         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46863         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46865 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
46867         * sysdeps/i386/elf/Makefile: New file.
46869 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
46871         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46872         from fanotify_init.
46873         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46874         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46876 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
46878         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46879         of strncasecmp_l.
46880         * sysdeps/multiarch/strcmp.S: Likewise.
46882 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
46884         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46885         strncase_l-nonascii.
46886         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46887         Add strncase_l-ssse3.
46888         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46889         * sysdeps/x86_64/strcmp.S: Likewise.
46890         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46891         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46892         * sysdeps/x86_64/strncase.S: New file.
46893         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46894         * sysdeps/x86_64/strncase_l.S: New file.
46895         * string/Makefile (strop-tests): Add strncasecmp.
46896         * string/test-strncasecmp.c: New file.
46898         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46899         warning.
46901         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46902         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46904 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
46906         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46908 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
46910         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46911         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46912         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46914 2010-05-01  Alan Modra  <amodra@gmail.com>
46916         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46917         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46918         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46919         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46920         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46921         tidying.  Don't tail-call __sigjmp_save for static lib.
46922         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46923         save location.
46924         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46925         (CALL_MCOUNT): Add eh info, and nop after bl.
46926         (TAIL_CALL_SYSCALL_ERROR): New macro.
46927         (PSEUDO_RET): Use it.
46928         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46929         Correct save location of integer regs and cr.
46930         (_dl_profile_resolve): Correct cr save location.  Delete nops
46931         after bl when SHARED.  Reduce cfi size a little by better
46932         placement of cfi directives.
46933         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46934         make a stack frame.  Instead use parm save area as a temp.
46935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46936         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
46937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46938         Don't make a stack frame for parent, use parm save area.
46939         Increase child stack frame to 112 bytes.  Don't save unused reg,
46940         and adjust reg usage.  Set up cfi on error recovery and
46941         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46943         (__makecontext): Add dummy nop after jump to exit.
46944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46945         Use correct parm save area and cr save, reduce stack frame.
46946         Correct cfi for possible PSEUDO_RET frame setup.
46947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46948         Branch to local label emitted by PSEUDO_RET rather than
46949         __syscall_error.
46951 2010-08-12  Andreas Schwab  <schwab@redhat.com>
46953         [BZ #11904]
46954         * locale/programs/locale.c (print_assignment): New function.
46955         (show_locale_vars): Use it.
46957 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
46959         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46960         field.
46961         (struct statfs64): Likewise.
46962         (_STATFS_F_FLAGS): Define.
46963         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46964         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46965         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46966         (ST_VALID): Define locally.
46967         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46968         __statvfs_getflags, use the provided value.
46969         * sysdeps/unix/sysv/linux/kernel-features.h: Define
46970         __ASSUME_STATFS_F_FLAGS.
46972         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46974         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46975         Add sys/fanotify.h.
46976         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46977         fanotify_mask for GLIBC_2.13.
46978         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46979         fanotify_init and fanotify_mark.
46980         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46981         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46983         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46984         Add prlimit.
46985         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46986         prlimit64 for GLIBC_2.13.
46987         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46988         prlimit64.
46989         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46990         syscall.
46991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46992         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46993         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46994         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46995         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
46996         add prlimit alias.
46997         * sysdeps/unix/sysv/linux/prlimit.c: New file.
46999         [BZ #11903]
47000         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47001         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47003         * nss/Makefile: Add rules to build and run tst-nss-test1.
47004         * shlib-versions: Add entry for libnss_test1.
47005         * nss/nss_test1.c: New file.
47006         * nss/tst-nss-test1.c: New file.
47008         * nss/nsswitch.c (__nss_database_custom): Define new variable.
47009         (__nss_configure_lookup): Set appropriate entry in
47010         __nss_configure_lookup to true.
47011         * nss/nsswitch.h: Define enum with indeces of databases in
47012         databases and __nss_database_custom arrays.  Declare
47013         __nss_database_custom.
47014         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47015         to avoid using nscd when custom rules are installed.
47016         * nss/getXXbyYY_r.c: Likewise.
47017         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47019         * nss/nss_files/files-parse.c: Whitespace fixes.
47021 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
47023         [BZ #11883]
47024         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47025         * posix/fnmatch_loop.c: Likewise.
47027 2010-07-17  Andi Kleen  <ak@linux.intel.com>
47029         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47030         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47031         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47032         * Versions.def [GLIBC_2.13]: Add.
47034 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
47036         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47037         Also fail if tpwd after pwuid call is NULL.
47039 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47041         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47042         when converting to ms.
47044 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47046         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47047         EOPNOTSUPP errors with ENOTTY.
47048         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47049         EOPNOTSUPP errors with ENOTTY.
47051 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
47053         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47054         Add strcasecmp_l-ssse3.
47055         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47056         strcasecmp.
47057         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47058         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47059         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47061 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
47063         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47065         * string/Makefile (strop-tests): Add strcasecmp.
47066         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47067         strcasecmp_l-nonascii.
47068         (gen-as-const-headers): Add locale-defines.sym.
47069         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47070         * sysdeps/x86_64/strcasecmp.S: New file.
47071         * sysdeps/x86_64/strcasecmp_l.S: New file.
47072         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47073         * sysdeps/x86_64/locale-defines.sym: New file.
47074         * string/test-strcasecmp.c: New file.
47076         * string/test-strcasestr.c: Test both ends of the range of characters.
47077         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47079 2010-07-29  Roland McGrath  <roland@redhat.com>
47081         [BZ #11856]
47082         * manual/locale.texi (Yes-or-No Questions): Fix example code.
47084 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
47086         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47087         for ld.so.
47089 2010-07-27  Andreas Schwab  <schwab@redhat.com>
47091         * manual/memory.texi (Malloc Tunable Parameters): Document
47092         M_PERTURB.
47094 2010-07-26  Roland McGrath  <roland@redhat.com>
47096         [BZ #11840]
47097         * configure.in (-fgnu89-inline check): Set and substitute
47098         gnu89_inline, not libc_cv_gnu89_inline.
47099         * configure: Regenerated.
47100         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47102 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
47104         * string/test-strnlen.c: New file.
47105         * string/Makefile (strop-tests): Add strnlen.
47106         * string/tester.c (test_strnlen): Add a few more test cases.
47107         * string/tst-strlen.c: Better error reporting.
47109         * sysdeps/x86_64/strnlen.S: New file.
47111 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
47113         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47114         lower-latency instructions.
47116 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
47118         * string/test-strcasestr.c: New file.
47119         * string/test-strstr.c: New file.
47120         * string/Makefile (strop-tests): Add strstr and strcasestr.
47121         * string/str-two-way.h: Don't undefine MAX.
47122         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47124 2010-07-21  Andreas Schwab  <schwab@redhat.com>
47126         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47127         strcasestr-nonascii.
47128         (CFLAGS-strcasestr-nonascii.c): Define.
47129         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47130         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47131         Remove unused attribute.
47133 2010-07-20  Roland McGrath  <roland@redhat.com>
47135         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47136         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
47137         ld.so.cache was broken.  With it, there is no way to disable dsocaps
47138         like LD_HWCAP_MASK can disable hwcaps.
47140 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47142         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47144 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
47146         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47147         call in strcasestr.
47148         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47149         __strcasestr_sse42_nonascii.
47150         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47151         strcasestr-nonascii.c.
47152         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47154 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
47156         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47157         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47158         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47159         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47161 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
47163         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47164         fcntl.
47166 2010-07-06  Andreas Schwab  <schwab@redhat.com>
47168         [BZ #11577]
47169         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47170         dl_signal_cerror.
47172 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
47174         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47175         _PC_PIPE_BUF using F_GETPIPE_SZ.
47177 2010-07-05  Roland McGrath  <roland@redhat.com>
47179         * manual/arith.texi (Rounding Functions): Fix rint description
47180         implicit in round description.
47182 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
47184         * elf/Makefile: Fix linking for a few tests to make recent linker
47185         happy.
47187 2010-06-30  Andreas Schwab  <schwab@redhat.com>
47189         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47190         $(common-objpfx)libc_nonshared.a.
47192 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
47194         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47195         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47196         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47197         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47198         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47199         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47200         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47201         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47216         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47217         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47218         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47219         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47220         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47221         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47222         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47223         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47224         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47225         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47226         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47227         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47243 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
47245         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47246         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
47247         * string/memmove.c (memmove): Renamed to ...
47248         (MEMMOVE): ...this.  Default to memmove.
47249         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47250         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47251         (END_CHK): Define.
47252         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47253         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47254         mempcpy-ssse3-back memmove-ssse3-back.
47255         * sysdeps/x86_64/multiarch/bcopy.S: New file .
47256         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47257         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47258         * sysdeps/x86_64/multiarch/memcpy.S: New file.
47259         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47260         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47261         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47262         * sysdeps/x86_64/multiarch/memmove.c: New file.
47263         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47264         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47265         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47266         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47267         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47268         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47269         Define.
47270         (index_Fast_Copy_Backward): Define.
47271         (HAS_ARCH_FEATURE): Define.
47272         (HAS_FAST_REP_STRING): Define.
47273         (HAS_FAST_COPY_BACKWARD): Define.
47275 2010-06-21  Andreas Schwab  <schwab@redhat.com>
47277         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47278         Restore proper fallback handling.
47280 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
47282         [BZ #11701]
47283         * posix/group_member.c (__group_member): Correct checking loop.
47285         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47286         OOM in getpwuid_r correctly.  Return error number when the caller
47287         should return, otherwise -1.
47288         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47289         call returning > 0 value.
47290         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47292 2010-06-07  Andreas Schwab  <schwab@redhat.com>
47294         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47295         libc_nonshared.a from targets in modules-names.
47297 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
47299         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47300         requires it.
47302 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
47304         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47305         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47306         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47307         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47309 2010-06-02  Andreas Schwab  <schwab@redhat.com>
47311         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47313 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
47315         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47316         and F_GETPIPE_SZ.
47317         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47318         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47319         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47320         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47321         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47322         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47324 2010-06-14  Roland McGrath  <roland@redhat.com>
47326         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47328 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
47330         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47331         __REDIRECT followed by __THROW.
47332         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47333         * posix/getopt.h (getopt): Likewise.
47335 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47337         * hurd/lookup-at.c (__file_name_lookup_at): Accept
47338         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
47339         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47340         in AT_FLAGS.
47341         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47342         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47344 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
47346         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47348 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
47350         [BZ #11640]
47351         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47352         Properly check family and model.
47354 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
47356         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47358 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
47360         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47362 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
47364         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47365         symbol reference.
47367 2010-05-19  Andreas Schwab  <schwab@redhat.com>
47369         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47370         symbol reference.
47372 2010-05-21  Andreas Schwab  <schwab@redhat.com>
47374         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47375         and internal_recvmmsg.
47376         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47377         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47378         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47379         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47381         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47382         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47383         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47385 2010-05-20  Andreas Schwab  <schwab@redhat.com>
47387         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47389 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
47391         POWER7 optimizations.
47392         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47393         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47395 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
47397         * version.h: Update for 2.13 development version.
47399 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
47401         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47402         exceptions.  Return 0.
47404 2010-05-07  Roland McGrath  <roland@redhat.com>
47406         * elf/ldconfig.c (main): Add a const.
47408 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
47410         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47411         (args_options): Add no-idn option.
47412         (ahosts_keys_int): Add idn_flags to ai_flags.
47413         (parse_option): Handle 'i' option to clear idn_flags.
47415         * malloc/malloc.c (_int_free): Possible race in the most recently
47416         added check.  Only act on the data if no current modification
47417         happened.
47419 See ChangeLog.17 for earlier changes.