Update timezone code from tzcode 2014e.
[platform/upstream/linaro-glibc.git] / ChangeLog
1 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2
3         * timezone/checktab.awk: Update from tzcode 2014e.
4         * timezone/private.h: Likewise.
5         * timezone/tzfile.h: Likewise.
6         * timezone/zdump.c: Likewise.
7         * timezone/zic.c: Likewise.
8
9         * sysdeps/unix/sysv/linux/kernel-features.h
10         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
11         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
12         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
13         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14         Remove conditional code.
15
16 2014-06-25  Will Newton  <will.newton@linaro.org>
17
18         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
19         (_dl_arm_cap_flags): Add HWCAP2 values.
20         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
21         (_DL_HWCAP_COUNT): Increase to 37.
22         (_DL_HWCAP_LAST): New define.
23         (_DL_HWCAP2_LAST): New define.
24         (_dl_procinfo): Add support for printing
25         AT_HWCAP2 entries.
26         (_dl_string_hwcap): Use _dl_hwcap_string.
27
28 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29
30         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31
32 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33
34         * README: Do not mention ports directory.
35
36         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
37         Remove macro.
38         * sysdeps/unix/sysv/linux/futimes.c: Do not include
39         <kernel-features.h>.
40         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
41         conditional variable definition.
42         (__futimes): Update comment.
43         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
44         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
45
46         [BZ #16560]
47         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
48         arguments close to 0.
49         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
50         Likewise.
51         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
52         Likewise.
53         * math/auto-libm-test-in: Add more tests of exp10.
54         * math/auto-libm-test-out: Regenerated.
55         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56
57         * sysdeps/unix/sysv/linux/kernel-features.h
58         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
59         * sysdeps/unix/sysv/linux/readv.c: Do not include
60         <kernel-features.h>.
61         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
62         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
63         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
64         unconditional.
65         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
66         conditional code.
67         * sysdeps/unix/sysv/linux/writev.c: Do not include
68         <kernel-features.h>.
69         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
70         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
71         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
72         unconditional.
73         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
74         conditional code.
75
76 2014-06-25  Will Newton  <will.newton@linaro.org>
77
78         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
79         comment changes throughout the file.  Remove checks
80         for HAVE_*_H definitions that are not required.
81         (__gen_tempname): Call abort if an unknown kind value is
82         passed.
83
84 2014-06-25  Andreas Schwab  <schwab@suse.de>
85
86         [BZ #17086]
87         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
88         scalbln, scalblnf, scalblnl in libc.
89
90 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
91
92         [BZ #17086]
93         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
94         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
95         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
96
97 2014-06-24  Roland McGrath  <roland@hack.frob.com>
98
99         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
100         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
101         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
102         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
103         Update #include.
104         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
105         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
106         Update #include.
107         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
108         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
109         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
110         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
111         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
112         * sysdeps/x86/bits/pthreadtypes.h: ... here.
113         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
114         * sysdeps/x86/bits/semaphore.h: ... here.
115         * sysdeps/x86/nptl/elide.h: Moved ...
116         * sysdeps/x86/elide.h: ... here.
117         * sysdeps/x86_64/nptl/Implies: File removed.
118         * sysdeps/i386/nptl/Implies: File removed.
119
120 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
121
122         [BZ #16539]
123         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
124         return the argument for normal arguments with exponent below -64.
125         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
126         Likewise.
127         * math/auto-libm-test-in: Add another test of expm1.
128         * math/auto-libm-test-out: Regenerated.
129
130         [BZ #16287]
131         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
132         calling __erfcl for arguments at least 16.
133         * math/auto-libm-test-in: Add more tests of erf.
134         * math/auto-libm-test-out: Regenerated.
135
136         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
137         individual architectures.
138         * sysdeps/unix/sysv/linux/configure: Regenerated.
139         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
140         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
141         * sysdeps/unix/sysv/linux/powerpc/configure.ac
142         (ldd_rewrite_script): Define variable.
143         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
145         file.
146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
147         generated file.
148         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
149         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
150         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
151         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
152         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
153         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
154         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
155         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
156
157 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
158
159         [BZ #17084]
160         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
161         Rename member __data.d to __data.__elision_data.
162
163 2014-06-24  Wilco  <wdijkstr@arm.com>
164
165         * NEWS: Add 16918 to fixed bug list.
166
167 2014-06-24  Wilco  <wdijkstr@arm.com>
168
169         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
170
171 2014-06-24  Wilco  <wdijkstr@arm.com>
172
173         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
174         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
175         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
176         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
177         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
178         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
179         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
180         Use _FPU_MASK_RM.
181
182 2014-06-24  Wilco  <wdijkstr@arm.com>
183
184         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
185
186 2014-06-24  Wilco  <wdijkstr@arm.com>
187
188         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
189         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
190         * sysdeps/arm/fesetround.c (fesetround): Remove space.
191         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
192
193 2014-06-24  Wilco  <wdijkstr@arm.com>
194
195         [BZ #16918]
196         * sysdeps/arm/feupdateenv.c (feupdateenv):
197         Rewrite to reduce FPSCR accesses and fix return value.
198
199 2014-06-24  Wilco  <wdijkstr@arm.com>
200
201         * sysdeps/arm/fclrexcpt.c (feclearexcept):
202         Optimize to avoid unnecessary FPSCR writes.
203         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
204         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
205         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
206         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
207
208 2014-06-24  Wilco  <wdijkstr@arm.com>
209
210         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
211         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
212         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
213         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
214         Call libc_fetestexcept_vfp.
215         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
216         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
217         __SOFTFP__ ifdef so that they can be built for softfp.
218
219 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
220
221         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
222         argument type signed char.
223
224         * Makerules (check-abi): Dump diff of symlist if the test
225         fails.
226
227 2014-06-23  Roland McGrath  <roland@hack.frob.com>
228
229         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
230         using abort.
231
232         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
233         Remove unused variable ST.
234
235 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
236
237         [BZ #16354]
238         [BZ #17061]
239         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
240         small arguments before calling __expm1.
241         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
242         small arguments before calling __expm1f.
243         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
244         small arguments before calling __expm1l.
245         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
246         Likewise.
247         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
248         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
249         spurious underflow for some cosh tests.
250         * math/auto-libm-test-out: Regenerated.
251         * sysdeps/i386/fpu/libm-test-ulps: Update.
252
253         [BZ #17050]
254         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
255         (__ieee754_y1): Set errno if return value overflows.
256         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
257         (__ieee754_y1f): Set errno if return value overflows.
258         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
259         (__ieee754_y1l): Set errno if return value overflows.
260         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
261         (__ieee754_y1l): Set errno if return value overflows.
262         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
263         * math/auto-libm-test-out: Regenerated.
264
265         * math/gen-auto-libm-tests.c: Document use of
266         ignore-zero-inf-sign.
267         (input_flag_type): Add value flag_ignore_zero_inf_sign.
268         (input_flags): Add ignore-zero-inf-sign.
269         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
270         * math/gen-libm-test.pl (generate_testfile): Handle
271         ignore-zero-inf-sign.
272         * math/auto-libm-test-in: Mark some cpow tests with
273         ignore-zero-inf-sign and some with xfail-rounding.
274         * math/auto-libm-test-out: Regenerated.
275         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
276         * sysdeps/i386/fpu/libm-test-ulps: Update.
277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
278
279         [BZ #16315]
280         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
281         overflowing or underflowing operations take place with sign of
282         result.
283         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
284         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
285         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
286         (__ieee754_pow): Recompute overflowing and underflowing results in
287         original rounding mode.
288         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
289         (__powl_helper): Allow negative argument X and scale negated value
290         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
291         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
292         overflowing or underflowing operations take place with sign of
293         result.
294         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
295         Include <math.h>.
296         * math/auto-libm-test-in: Add more tests of pow.
297         * math/auto-libm-test-out: Regenerated.
298         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
299         (pow_tonearest_test_data): Remove.
300         (pow_test_tonearest): Likewise.
301         (pow_towardzero_test_data): Likewise.
302         (pow_test_towardzero): Likewise.
303         (pow_downward_test_data): Likewise.
304         (pow_test_downward): Likewise.
305         (pow_upward_test_data): Likewise.
306         (pow_test_upward): Likewise.
307         (main): Don't call removed functions.
308         * sysdeps/i386/fpu/libm-test-ulps: Update.
309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
310
311 2014-06-23  Roland McGrath  <roland@hack.frob.com>
312
313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
314         Moved ...
315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
317         Moved ...
318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
320         Moved ...
321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
323         Moved ...
324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
326         File removed.
327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
328         File removed.
329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
330         File removed.
331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
332         File removed.
333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
334         File removed.
335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
336         File removed.
337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
338         File removed.
339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
340         File removed.
341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
342         File removed.
343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
344         File removed.
345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
346         File removed.
347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
348         File removed.
349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
350         Moved ...
351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
353         Moved ...
354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
355         ... here.
356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
357         Moved ...
358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
360         Moved ...
361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
363         Moved ...
364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
366         Moved ...
367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
369         Moved ...
370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
372         Moved ...
373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
375         Moved ...
376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
379         ... here.
380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
381         Moved ...
382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
384         Moved ...
385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
386         ... here.
387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
388         Moved ...
389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
390         ... here.
391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
392         Moved ...
393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
394         ... here.
395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
396         Moved ...
397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
399         Moved ...
400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
404         Moved ...
405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
406         ... here.
407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
408         Moved ...
409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
410         ... here.
411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
412         Moved ...
413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
415         Moved ...
416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
418         Moved ...
419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
421         Moved ...
422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
424         Moved ...
425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
426         ... here.
427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
428         Moved ...
429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
431         Moved ...
432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
434         Moved ...
435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
437         Moved ...
438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
442         Moved ...
443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
445         Moved ...
446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
448         Moved ...
449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
450         ... here.
451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
452         Moved ...
453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
454         ... here.
455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
456         Moved ...
457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
458         ... here.
459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
460         Moved ...
461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
463         Moved ...
464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
466         Moved ...
467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
469         Moved ...
470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
471         ... here.
472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
473         Moved ...
474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
475         ... here.
476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
477         Moved ...
478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
479         ... here.
480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
481         Moved ...
482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
484         Moved ...
485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
486
487 2014-06-23  Will Newton  <will.newton@linaro.org>
488             Wilco  <wdijkstr@arm.com>
489
490         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
491         implementation.  Include get-rounding-mode.h.
492         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
493         [!libc_feholdsetround_noex_ctx]: Define
494         libc_feholdsetround_noex_ctx.
495         [!libc_feholdsetround_noexf_ctx]: Define
496         libc_feholdsetround_noexf_ctx.
497         [!libc_feholdsetround_noexl_ctx]: Define
498         libc_feholdsetround_noexl_ctx.
499         (libc_feholdsetround_ctx): New function.
500         (libc_feresetround_ctx): New function.
501         (libc_feholdsetround_noex_ctx): New function.
502         (libc_feresetround_noex_ctx): New function.
503
504 2014-06-23  Roland McGrath  <roland@hack.frob.com>
505
506         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
507         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
508         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
509         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
510         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
511         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
512
513         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
514         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
515         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
516         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
517         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
518         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
519         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
520         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
521         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
522         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
523         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
524         Moved ...
525         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
526         ... here.
527         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
528         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
529         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
530         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
531         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
532         Moved ...
533         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
534         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
535         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
536         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
537         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
538         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
539         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
540         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
541         Moved ...
542         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
543         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
544         Moved ...
545         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
546         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
547         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
548         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
549         Moved ...
550         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
551         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
552         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
553         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
554         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
555         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
556         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
557         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
558         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
559         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
560         Moved ...
561         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
562         ... here.
563         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
564         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
565         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
566         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
567         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
568         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
569         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
570         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
571         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
572         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
573         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
574         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
575         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
576         Moved ...
577         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
578         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
579         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
580         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
581         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
582         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
583         Moved ...
584         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
585         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
586         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
587         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
588         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
589
590         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
591         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
592         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
593         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
594         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
595         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
596         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
597         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
598         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
599         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
600         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
601         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
602         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
603         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
604         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
605         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
606         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
607         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
608         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
609         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
610         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
611         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
612         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
613         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
614         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
615         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
616         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
617         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
618
619 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
620
621         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
622         (FALLOC_FL_COLLAPSE_RANGE): New macro.
623         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
624         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
625         (IPV6_PMTUDISC_INTERFACE): Likewise.
626         (IPV6_PMTUDISC_OMIT): Likewise.
627
628 2014-06-23  Andreas Schwab  <schwab@suse.de>
629
630         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
631         Remove unused errout label.
632
633 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
634
635         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
636         macro: hardware supports Vector Crypto instructions.
637
638 2014-06-23  Will Newton  <will.newton@linaro.org>
639
640         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
641         rather than __builtin_expect.
642
643         * elf/dl-lookup.c (undefined_msg): Remove variable.
644         (_dl_lookup_symbol_x): Replace undefined_msg with string
645         literal.
646
647         * elf/dl-lookup.c (do_lookup_unique): New function.
648         (do_lookup_x): Move STB_GNU_UNIQUE handling code
649         to a separate function.
650
651 2014-06-23  Andreas Schwab  <schwab@suse.de>
652
653         [BZ #17079]
654         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
655         before reading the next line.
656
657 2014-06-23  Will Newton  <will.newton@linaro.org>
658
659         * test-skeleton.c (signal_handler): Use printf and %m
660         rather than perror.  Use printf rather than fprintf to
661         stderr.  Use puts rather than fputs to stderr.
662         (main): Likewise.
663
664 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
665
666         * nscd/nscd.c (thread_info_t): Remove typedef.
667         (thread_info): Remove variable.
668
669 2014-06-21  Allan McRae  <allan@archlinux.org>
670
671         * NEWS: Mention CVE-2014-4043.
672
673 2014-06-20  Roland McGrath  <roland@hack.frob.com>
674
675         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
676         * nptl/smp.h: ... here.
677
678         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
679
680         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
681         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
682         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
683         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
684
685         * nptl/allocatestack.c: Include <stack-aliasing.h>.
686         * nptl/stack-aliasing.h: New file.
687         * sysdeps/i386/i686/stack-aliasing.h: New file.
688         * sysdeps/i386/i686/nptl/Makefile: File removed.
689         * sysdeps/x86_64/stack-aliasing.h: New file.
690         * sysdeps/x86_64/nptl/Makefile
691         (CFLAGS-pthread_create.c): Variable removed.
692
693         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
694         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
695         old file.
696         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
697         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
698         old file.
699
700 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
701
702         * sysdeps/unix/sysv/linux/arm/kernel-features.h
703         (__ASSUME_SIGFRAME_V2): Remove macro.
704         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
705         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
706         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
707         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
708         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
709         Declare as function.  Remove conditional macro definitions.
710         (__default_rt_sa_restorer): Likewise.
711         (__default_sa_restorer_v1): Remove declaration.
712         (__default_sa_restorer_v2): Likewise.
713         (__default_rt_sa_restorer_v1): Likewise.
714         (__default_rt_sa_restorer_v2): Likewise.
715         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
716         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
717         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
718
719 2014-06-20  Roland McGrath  <roland@hack.frob.com>
720
721         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
722         (libpthread-routines): Add sysdep.
723         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
724         * sysdeps/unix/sysv/linux/sparc/Versions
725         (libpthread: GLIBC_2.3.3): New version set.
726         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
727         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
728         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
729         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
730         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
731         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
732         Moved ...
733         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
734         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
735         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
736         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
737         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
738         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
739         * sysdeps/sparc/nptl/sem_init.c: ... here.
740         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
741         * sysdeps/sparc/nptl/sem_post.c: ... here.
742         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
743         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
744         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
745         * sysdeps/sparc/nptl/sem_wait.c: ... here.
746         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
747         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
748         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
749         (libpthread-routines): Add cpu_relax.
750         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
751         File removed.
752         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
753         (librt: GLIBC_2.3.3): New version set.
754         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
755         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
756         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
757         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
758         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
759         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
760         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
761         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
762         Moved ...
763         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
764         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
765         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
766         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
767         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
768         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
769         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
770         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
771         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
772         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
773         Moved ...
774         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
775         Update #include.
776         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
777         Moved ...
778         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
779         Update #include.
780         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
781         Moved ...
782         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
783         Update #include.
784         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
785         Moved ...
786         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
787         Update #include.
788         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
789         Moved ...
790         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
791         Update #include.
792         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
793         Moved ...
794         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
795         Update #include.
796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
797         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
799         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
801         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
802         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
803         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
805         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
806         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
807         Moved ...
808         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
809         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
810         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
811         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
812         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
813
814 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
815
816         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
817         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
818         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
819         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
820         * nscd/nscd.c: Likewise.
821         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
822         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
823         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
824         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
825
826         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
827         <kernel-features.h>.
828         (init_mq_netlink): Remove conditional have_sock_cloexec
829         definitions.  Remove code conditional on have_sock_cloexec < 0.
830         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
831         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
832         * sysdeps/unix/sysv/linux/opensock.c: Do not include
833         <kernel-features.h>.
834         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
835         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
836
837 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
838
839         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
840         Add tests for memset_chk and memset.
841
842         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
843         with AVX2_Usable.
844
845 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
846
847         [BZ #16046]
848         * elf/tst-dl-iter-static.c: New file.
849         * elf/Makefile (tests-static): Add tst-dl-iter-static.
850
851         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
852         error.
853
854 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
855
856         * sysdeps/unix/sysv/linux/kernel-features.h
857         (__ASSUME_F_GETOWN_EX): Remove macro.
858         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
859         <kernel-features.h>.
860         (miss_F_GETOWN_EX): Remove variable or macro.
861         (do_fcntl): Do not check miss_F_GETOWN_EX.
862         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
863
864         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
865         Remove macro.
866         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
867         [!__ASSUME_AT_RANDOM]: Remove conditional code.
868         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
869
870         * sysdeps/unix/sysv/linux/kernel-features.h
871         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
872         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
873         [ADJ_OFFSET_SS_READ]: Make code unconditional.
874         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
875
876 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
877
878         [BZ #17075]
879         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
880         Fix calculation of the symbol's value.
881         * sysdeps/arm/tst-armtlsdescloc.c: New file.
882         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
883         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
884         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
885         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
886         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
887         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
888         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
889         (modules-names): Add `tst-armtlsdescmod',
890         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
891         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
892         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
893         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
894         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
895         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
896         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
897         ($(objpfx)tst-armtlsdescloc): New dependency.
898         ($(objpfx)tst-armtlsdescextnow): Likewise.
899         ($(objpfx)tst-armtlsdescextlazy): Likewise.
900         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
901         TLS scheme support.
902         * sysdeps/arm/configure: Regenerate.
903
904 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
905
906         * include/fcntl.h (__atfct_seterrno): Remove prototype.
907         (__atfct_seterrno_2): Likewise.
908         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
909         <kernel-features.h>.
910         (__ASSUME_ATFCTS): Do not undefine and redefine.
911         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
912         (__have_atfcts): Remove conditional definition.
913         (__fxstatat([__NR_fstatat64]: Make code unconditional.
914         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
915         unreachable if [__ASSUME_ATFCTS].
916         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
917         not undefine and redefine.
918         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
919         <kernel-features.h>.
920         (faccessat) [__NR_faccessat]: Make code unconditional.
921         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
922         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
923         <kernel-features.h>.
924         (fchmodat) [__NR_fchmodat]: Make code unconditional.
925         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
926         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
927         <kernel-features.h>.
928         (fchownat) [__NR_fchownat]: Make code unconditional.
929         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
930         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
931         <kernel-features.h>.
932         (futimesat) [__NR_futimesat]: Make code unconditional.
933         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
934         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
935         <kernel-features.h>.
936         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
937         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
938         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
939         <kernel-features.h>.
940         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
941         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
942         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
943         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
944         <kernel-features.h>.
945         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
946         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
947         * sysdeps/unix/sysv/linux/linkat.c: Do not include
948         <kernel-features.h>.
949         (linkat) [__NR_linkat]: Make code unconditional.
950         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
951         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
952         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
953         <kernel-features.h>.
954         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
955         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
956         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
957         <kernel-features.h>.
958         (mkdirat) [__NR_mkdirat]: Make code unconditional.
959         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
960         * sysdeps/unix/sysv/linux/openat.c: Do not include
961         <kernel-features.h>.
962         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
963         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
964         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
965         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
966         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
967         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
968         <kernel-features.h>.
969         (readlinkat) [__NR_readlinkat]: Make code unconditional.
970         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
971         result of INLINE_SYSCALL directly, not via int variable.
972         * sysdeps/unix/sysv/linux/renameat.c: Do not include
973         <kernel-features.h>.
974         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
975         (renameat) [__NR_renameat]: Make code unconditional.
976         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
977         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
978         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
979         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
980         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
981         (__ASSUME_ATFCTS): Do not undefine and redefine.
982         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
983         <kernel-features.h>.
984         (symlinkat) [__NR_symlinkat]: Make code unconditional.
985         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
986         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
987         <kernel-features.h>.
988         (unlinkat) [__NR_unlinkat]: Make code unconditional.
989         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
990         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
991         (__ASSUME_ATFCTS): Do not undefine and redefine.
992         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
993         <kernel-features.h>.
994         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
995         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
996         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
997         <kernel-features.h>.
998         (__xmknodat) [__NR_mknodat]: Make code unconditional.
999         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1000
1001 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1002
1003         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1004
1005 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
1006
1007         [BZ #17069]
1008         * posix/regcomp.c (parse_reg_exp): Deallocate partially
1009         constructed tree before returning error.
1010         * posix/bug-regexp36.c: Expand test case.
1011
1012 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1013
1014         [BZ #6803]
1015         * math/libm-test.inc (scalbln_test_date):
1016         Add errno expectations.
1017         * math/w_scalblnf.c: New File.
1018         Add wrapper which checks for setting errno to ERANGE.
1019         Add weak_alias for corresponding scalbln function.
1020         * math/w_scalbln.c: Likewise.
1021         * math/w_scalblnl.c: Likewise.
1022         * math/Makefile (libm-calls): Add w_scalbln.
1023         * sysdeps/ieee754/flt-32/s_scalblnf.c:
1024         Remove weak_alias for corresponding scalbln function.
1025         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1026         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1027         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1028         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1029         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1030         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1031         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1032         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1033         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1034         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1035         Remove long_double_symbol for scalblnl function in libm, libc.
1036         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1037         Add wrapper which checks for setting errno to ERANGE.
1038         Add long_double_symbol for scalblnl function in libm, libc.
1039         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1040         Remove long_double_symbol for scalblnl in libm.
1041         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1042         Add wrapper which checks for setting errno to ERANGE.
1043         Add long_double_symbol for scalblnl function in libm.
1044         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1045         Do not use wrapper because of own implementation.
1046
1047 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
1048
1049         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1050         3 bytes for __pad1 for x32.
1051         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1052
1053 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
1054             H.J. Lu  <hongjiu.lu@intel.com>
1055
1056         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1057         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1058         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1059         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1060         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1061
1062 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
1063
1064         [BZ #17069]
1065         * posix/regcomp.c (parse_expression): Deallocate partially
1066         constructed tree before returning error.
1067         * posix/Makefile.c (tests): Add bug-regex36.
1068         (generated): Add bug-regex36.mtrace.
1069         (tests-special): Add $(objpfx)bug-regex36-mem.out
1070         (bug-regex36-ENV): New variable.
1071         ($(objpfx)bug-regex36-mem.out): New rule.
1072         * posix/bug-regex36.c: New file.
1073
1074 2014-06-19  Will Newton  <will.newton@linaro.org>
1075
1076         * malloc/malloc.c (systrim): If extra is zero then return
1077         early.
1078
1079 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1080
1081         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1082
1083 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
1084
1085         * sysdeps/aarch64/strchr.S: New file.
1086
1087 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1088
1089         [BZ #17022]
1090         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1091         from arguments -2 or below.
1092         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1093         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1094
1095 2014-06-18  Andreas Schwab  <schwab@suse.de>
1096
1097         [BZ #17062]
1098         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1099         of a bracket expr not to run off the end of the string.
1100         * posix/Makefile (tests): Add tst-fnmatch3.
1101         * posix/tst-fnmatch3.c: New file.
1102
1103 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1104
1105         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1106         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1107         [$(cross-compiling) = no]: Likewise.
1108         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1109         [$(cross-compiling) = no]: Likewise.
1110
1111 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1112
1113         [BZ #17031]
1114         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1115         double, adjusted for any remainder from the high double.
1116         * math/libm-test.inc (nearbyint): Add tests.
1117         (rint): Likewise.
1118
1119 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1120
1121         * nptl/sysdeps/powerpc/Makefile: Moved ...
1122         * sysdeps/powerpc/nptl/Makefile: ... here.
1123         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1124         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1125         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1126         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1127         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1128         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1129         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1130         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1131         * nptl/sysdeps/powerpc/tls.h: Moved ...
1132         * sysdeps/powerpc/nptl/tls.h: ... here.
1133
1134 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
1135
1136         [BZ #16681]
1137         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1138         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1139         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1140         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1141         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1142         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1143         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1144         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1145         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1146
1147 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
1148
1149         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1150
1151 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
1152
1153         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1154         defined operator.
1155
1156         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1157         $TIMEOUTFACTOR.
1158
1159 2014-06-16  Florian Weimer  <fweimer@redhat.com>
1160
1161         [BZ #17058]
1162         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1163         non-executed part of the test.
1164
1165 2014-06-16  Andreas Schwab  <schwab@suse.de>
1166
1167         * string/bits/string2.h (strdup, strndup): Update feature guard.
1168
1169 2014-06-14  David S. Miller  <davem@davemloft.net>
1170
1171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1172
1173 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
1174
1175         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1176         that was previously under [RESET_PID].
1177         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1178
1179         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1180         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1181         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1182         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1183         (__libc_vfork): New strong alias.
1184         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1185
1186 2014-06-14 Andi Kleen  <ak@linux.intel.com>
1187
1188         * sysdeps/generic/elide.h: New file.
1189
1190 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1191
1192         * Makefile (installed-headers): Adjust path of pthread.h header.
1193
1194 2014-06-13  Roland McGrath  <roland@hack.frob.com>
1195
1196         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1197         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1198         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1199         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1200
1201         * nptl/sysdeps/s390/Makefile: Moved ...
1202         * sysdeps/s390/nptl/Makefile: ... here.
1203         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1204         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1205         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1206         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1207         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1208         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1209         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1210         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1211         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1212         * sysdeps/s390/nptl/pthreaddef.h: ... here.
1213         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1214         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1215         * nptl/sysdeps/s390/tls.h: Moved ...
1216         * sysdeps/s390/nptl/tls.h: ... here.
1217
1218         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1219         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1220
1221 2014-06-13  David S. Miller  <davem@davemloft.net>
1222
1223         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1224         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1225         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1226         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1227         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1228         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1229         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1230         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1231         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1232         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1233         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1234         Remove RESET_PID cpp guards.
1235         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1236         Remove RESET_PID cpp guards.
1237         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1238
1239 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
1240
1241         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1242         __sp to uintptr_t.
1243
1244 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1245
1246         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1247         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1248         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1249         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1250         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1251         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1252         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1253         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1254         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1255         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1256         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1257         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1258         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1259         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1260         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1261         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1262         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1263         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1264         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1265         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1266
1267         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1268         (pthread_rwlock_rdlock): Add elision.
1269         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1270         (pthread_rwlock_wrlock): Add elision.
1271         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1272         (pthread_rwlock_trywrlock): Add elision.
1273         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1274         (pthread_rwlock_tryrdlock): Add elision.
1275         * nptl/pthread_rwlock_unlock.c: Include elide.h.
1276         (pthread_rwlock_tryrdlock): Add elision unlock.
1277         * nptl/sysdeps/pthread/pthread.h:
1278         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1279         (PTHREAD_RWLOCK_INITIALIZER,
1280         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1281         Handle new elision field.
1282         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1283         * sysdeps/arm/nptl/bits/pthreadtypes.h
1284         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1285         * sysdeps/sh/nptl/bits/pthreadtypes.h
1286         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1287         * sysdeps/tile/nptl/bits/pthreadtypes.h
1288         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1289         * sysdeps/a/nptl/bits/pthreadtypes.h
1290         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1291         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1292         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1293         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1294         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1295         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1296         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1297         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1298         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1299         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1300         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1301         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1302         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1303         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1304         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1305         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1306         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1307         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1308         (elision_init): Set try_xbegin to zero when no RTM.
1309         * sysdeps/x86/nptl/bits/pthreadtypes.h
1310         (pthread_rwlock_t): Change __pad1 to __rwelision.
1311         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1312
1313 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1314
1315         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1316         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1317         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1318         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1319
1320 2014-06-13  Meador Inge  <meadori@codesourcery.com>
1321
1322         [BZ #16996]
1323         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1324         that the cached result has been set before returning it.
1325
1326 2014-06-12  Roland McGrath  <roland@hack.frob.com>
1327
1328         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1329         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1330         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1331         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1332         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1333         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1334
1335         * nptl/sysdeps/sparc/Makefile: Moved ...
1336         * sysdeps/sparc/nptl/Makefile: ... here.
1337         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1338         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1339         * nptl/sysdeps/sparc/tls.h: Moved ...
1340         * sysdeps/sparc/nptl/tls.h: ... here.
1341         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1342         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1343         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1344         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1345         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1346         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1347         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1348         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1349         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1350         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1351         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1352         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1353         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1354         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1355         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1356         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1357         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1358         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1359         Update #include.
1360         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1361         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1362         Update #include.
1363         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1364         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1365         Update #include.
1366         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1367         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1368         Update #include.
1369
1370         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1371
1372         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1373         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1374
1375         * sysdeps/pthread/posix-timer.h: Include <list.h>.
1376         (struct list_links): Type removed.
1377         (struct thread_node, struct timer_node): Replace struct list_links
1378         with struct list_head.
1379         (list_unlink_ip): Likewise.
1380         * sysdeps/pthread/timer_routines.c
1381         (timer_free_list, thread_free_list, thread_active_list): Likewise.
1382         (list_append, list_insbefore): Likewise.
1383         (list_init): Function removed.
1384         (thread_init, init_module): Use INIT_LIST_HEAD instead.
1385         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1386         * sysdeps/pthread/Makefile: ... here, new file.
1387
1388         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1389         * sysdeps/nptl/Implies: ... here.
1390         * sysdeps/unix/sysv/linux/Implies: Add nptl.
1391         * nptl/sysdeps/pthread/list.h: Moved ...
1392         * include/list.h: ... here.
1393         * nptl/sysdeps/pthread/createthread.c: Moved ...
1394         * nptl/createthread.c: ... here.
1395         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1396         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1397         * nptl/pt-longjmp.c: ... here.
1398         * nptl/sysdeps/pthread/Makefile: Moved ...
1399         * sysdeps/nptl/Makefile: ... here.
1400         * nptl/sysdeps/pthread/Subdirs: Moved ...
1401         * sysdeps/nptl/Subdirs: ... here.
1402         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1403         * sysdeps/nptl/aio_misc.h: ... here.
1404         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1405         * sysdeps/nptl/bits/libc-lock.h: ... here.
1406         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1407         * sysdeps/nptl/bits/libc-lockP.h: ... here.
1408         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1409         * sysdeps/nptl/bits/stdio-lock.h: ... here.
1410         * nptl/sysdeps/pthread/configure: Moved ...
1411         * sysdeps/nptl/configure: ... here.
1412         * nptl/sysdeps/pthread/configure.ac: Moved ...
1413         * sysdeps/nptl/configure.ac: ... here.
1414         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1415         * sysdeps/nptl/gai_misc.h: ... here.
1416         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1417         * sysdeps/nptl/librt-cancellation.c: ... here.
1418         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1419         * sysdeps/nptl/malloc-machine.h: ... here.
1420         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1421         * sysdeps/nptl/pthread-functions.h: ... here.
1422         * nptl/sysdeps/pthread/pthread.h: Moved ...
1423         * sysdeps/nptl/pthread.h: ... here.
1424         * nptl/sysdeps/pthread/setxid.h: Moved ...
1425         * sysdeps/nptl/setxid.h: ... here.
1426         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1427         * sysdeps/nptl/sigfillset.c: ... here.
1428         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1429         * sysdeps/nptl/tcb-offsets.h: ... here.
1430         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1431         * sysdeps/nptl/tst-mqueue8x.c: ... here.
1432         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1433         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1434         * nptl/sysdeps/pthread/allocalim.h: Moved ...
1435         * sysdeps/pthread/allocalim.h: ... here.
1436         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1437         * sysdeps/pthread/bits/sigthread.h: ... here.
1438         * nptl/sysdeps/pthread/flockfile.c: Moved ...
1439         * sysdeps/pthread/flockfile.c: ... here.
1440         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1441         * sysdeps/pthread/ftrylockfile.c: ... here.
1442         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1443         * sysdeps/pthread/funlockfile.c: ... here.
1444         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1445         * sysdeps/pthread/posix-timer.h: ... here.
1446         * nptl/sysdeps/pthread/timer_create.c: Moved ...
1447         * sysdeps/pthread/timer_create.c: ... here.
1448         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1449         * sysdeps/pthread/timer_delete.c: ... here.
1450         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1451         * sysdeps/pthread/timer_getoverr.c: ... here.
1452         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1453         * sysdeps/pthread/timer_gettime.c: ... here.
1454         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1455         * sysdeps/pthread/timer_routines.c: ... here.
1456         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1457         * sysdeps/pthread/timer_settime.c: ... here.
1458         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1459         * sysdeps/pthread/tst-timer.c: ... here.
1460         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1461         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1462
1463         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1464         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1465
1466         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1467         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1468         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1469         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1470         Update #include target.
1471         * nptl/sysdeps/i386/i686/Makefile: Moved ...
1472         * sysdeps/i386/i686/nptl/Makefile: ... here.
1473         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1474         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1475         Update #include target.
1476         * nptl/sysdeps/i386/i686/tls.h: Moved ...
1477         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
1478         * nptl/sysdeps/i386/Makefile: Moved ...
1479         * sysdeps/i386/nptl/Makefile: ... here.
1480         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1481         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1482         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1483         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1484         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1485         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1486         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1487         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1488         * sysdeps/i386/nptl/pthreaddef.h: ... here.
1489         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1490         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1491         * nptl/sysdeps/i386/tls.h: Moved ...
1492         * sysdeps/i386/nptl/tls.h: ... here.
1493
1494         * sysdeps/sh/Makefile [$(subdir) = csu]
1495         (gen-as-const-headers): Add tcb-offsets.sym.
1496         * nptl/sysdeps/sh/Makefile: File removed.
1497         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1498         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1499         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1500         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1501         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1502         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1503         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1504         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1505         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1506         * sysdeps/sh/nptl/pthreaddef.h: ... here.
1507         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1508         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1509         * nptl/sysdeps/sh/tls.h: Moved ...
1510         * sysdeps/sh/nptl/tls.h: ... here.
1511         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1512         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1513         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1514         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1515         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1516         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1517         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1518         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1519         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1520         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1521         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1522         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1523         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1524         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1525         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1526         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1527         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1528         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1529         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1530         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1531         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1532         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1533         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1534         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1535         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1536         Moved ...
1537         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1538         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1539         Moved ...
1540         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1541         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1542         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1543         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1544         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1545         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1546         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1547         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1548         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1549         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1550         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1551         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1552         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1553         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1554         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1555         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1556         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1557         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1558         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1559
1560 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1561
1562         * posix/spawn_faction_addopen.c: Include string.h.
1563
1564 2014-06-11  Roland McGrath  <roland@hack.frob.com>
1565
1566         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1567         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1568         * nptl/sysdeps/x86_64/Makefile: Moved ...
1569         * sysdeps/x86_64/nptl/Makefile: ... here.
1570         * nptl/sysdeps/x86_64/configure: Moved ...
1571         * sysdeps/x86_64/nptl/configure: ... here.
1572         * nptl/sysdeps/x86_64/configure.ac: Moved ...
1573         * sysdeps/x86_64/nptl/configure.ac: ... here.
1574         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1575         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1576         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1577         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1578         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1579         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1580         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1581         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1582         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1583         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1584         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1585         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1586         * nptl/sysdeps/x86_64/tls.h: Moved ...
1587         * sysdeps/x86_64/nptl/tls.h: ... here.
1588         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1589         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1590         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1591         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1592
1593         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1594
1595 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1596
1597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1598
1599 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
1600
1601         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1602         type.
1603         [POSIX] (off_t): Likewise.
1604         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1605         [POSIX] (S_ISBLK): Require macro.
1606         [POSIX] (S_ISCHR): Likewise.
1607         [POSIX] (S_ISDIR): Likewise.
1608         [POSIX] (S_ISFIFO): Likewise.
1609         [POSIX] (S_ISREG): Likewise.
1610         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1611         optional-macro.
1612         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1613         type.
1614         [POSIX] (time_t): Likewise.
1615         [POSIX] (timer_t): Likewise.
1616
1617 2014-06-11  Florian Weimer  <fweimer@redhat.com>
1618
1619         [BZ #17048]
1620         * posix/spawn_int.h (struct __spawn_action): Make the path string
1621         non-const to support deallocation.
1622         * posix/spawn_faction_addopen.c
1623         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1624         * posix/spawn_faction_destroy.c
1625         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
1626         path in all spawn_do_open actions.
1627         * posix/tst-spawn.c (do_test): Exercise the copy operation in
1628         posix_spawn_file_actions_addopen.
1629
1630 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
1631
1632         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1633         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1634         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1635         conditional code always true.
1636         (__libc_vfork): New alias.
1637
1638 2014-06-11  Roland McGrath  <roland@hack.frob.com>
1639
1640         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1641         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1642
1643         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1644
1645         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1646         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1647
1648         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1649         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1650
1651         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1652         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1653
1654 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1655
1656         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1657         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1658         multiarch strcmp for PPC64.
1659         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1660         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1661         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1662         multiarch optimizations.
1663         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1664         (__libc_ifunc_impl_list): Likewise.
1665
1666 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1667
1668         * benchtests/scripts/validate_benchout.py: New script.
1669         * benchtests/Makefile (bench-func): Call it.
1670         * benchtests/scripts/benchout.schema.json: New file.
1671
1672 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
1673
1674         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1675         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1676         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1677         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1678         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1679         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1680         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1681         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1682         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1683         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1684         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1685         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1686         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1687         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1688         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1689         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1691         Moved ...
1692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1693         ... here.
1694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1695         Moved ...
1696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1698         Moved ...
1699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1700         ... here.
1701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1702         Moved ...
1703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1704         ... here.
1705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1706         Moved ...
1707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1709         Moved ...
1710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1711         ... here.
1712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1713         Moved ...
1714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1715         ... here.
1716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1717         Moved ...
1718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1720         Moved ...
1721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1722         ... here.
1723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1724         Moved ...
1725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1726         ... here.
1727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1728         Moved ...
1729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1730         ... here.
1731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1732         Moved ...
1733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1735         Moved ...
1736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1737         ... here.
1738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1739         Moved ...
1740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1741         ... here.
1742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1743         Moved ...
1744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1745         ... here.
1746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1747         Moved ...
1748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1750         Moved ...
1751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1752         ... here.
1753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1754         Moved ...
1755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1756         ... here.
1757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1758         Moved ...
1759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1761         Moved ...
1762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1763         ... here.
1764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1765         Moved ...
1766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1768         Moved ...
1769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1771         Moved ...
1772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1773         ... here.
1774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1775         Moved ...
1776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1777         ... here.
1778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1779         Moved ...
1780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1781         ... here.
1782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1783         Moved ...
1784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1786         Moved ...
1787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1788         ... here.
1789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1790         Moved ...
1791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1792         ... here.
1793         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1794         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1795         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1796         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1797         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1798         Moved ...
1799         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1800         ... here.
1801         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1802         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1803         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1804         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1805         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1806         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1807         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1808         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1809         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1810         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1811         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1812         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1813         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1814         Moved ...
1815         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1816         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1817         Moved ...
1818         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1819         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1820         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1821         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1822         Moved ...
1823         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1824         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1825         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1826         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1827         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1828         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1829         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1830
1831 2014-06-10  Wilco  <wdijkstr@arm.com>
1832
1833         * math/test-fenv-return.c: New file.
1834         * math/Makefile: Add new test test-fenv-return.
1835
1836 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
1837
1838         [BZ #17042]
1839         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1840         when x - 1 is zero.
1841         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1842         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1843         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1844         0.0L for an argument of 1.0L.
1845         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1846         Likewise.
1847         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1848         value when x - 1 is zero.
1849         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1850         * sysdeps/i386/fpu/libm-test-ulps: Update.
1851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1852
1853 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
1854
1855         [BZ #15119]
1856         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1857
1858 2014-06-09  Roland McGrath  <roland@hack.frob.com>
1859
1860         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1861         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1862
1863 2014-06-09  Roland McGrath  <roland@hack.frob.com>
1864
1865         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1866         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1867
1868         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1869         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1870
1871         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1872         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1873
1874         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1875         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1876
1877         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1878         if not already defined.
1879         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1880         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1881         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1882         (TLS_INIT_TP): Use it.
1883         (TLS_DEFINE_INIT_TP): New macro.
1884         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1885
1886 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
1887
1888         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1889         constant.
1890         [POSIX] (IXANY): Likewise.
1891         [POSIX] (OLCUC): Likewise.
1892         [POSIX || POSIX2008] (CBAUD): Do not allow.
1893         [POSIX || POSIX2008] (DEFECHO): Likewise.
1894         [POSIX || POSIX2008] (ECHOCTL): Likewise.
1895         [POSIX || POSIX2008] (ECHOKE): Likewise.
1896         [POSIX || POSIX2008] (ECHOPRT): Likewise.
1897         [POSIX || POSIX2008] (EXTA): Likewise.
1898         [POSIX || POSIX2008] (EXTB): Likewise.
1899         [POSIX || POSIX2008] (FLUSHO): Likewise.
1900         [POSIX || POSIX2008] (LOBLK): Likewise.
1901         [POSIX || POSIX2008] (PENDIN): Likewise.
1902         [POSIX || POSIX2008] (SWTCH): Likewise.
1903         [POSIX || POSIX2008] (VDISCARD): Likewise.
1904         [POSIX || POSIX2008] (VDSUSP): Likewise.
1905         [POSIX || POSIX2008] (VLNEXT): Likewise.
1906         [POSIX || POSIX2008] (VREPRINT): Likewise.
1907         [POSIX || POSIX2008] (VSTATUS): Likewise.
1908         [POSIX || POSIX2008] (VWERASE): Likewise.
1909         (B*): Change to B[0123456789]*.
1910         * conform/data/time.h-data [POSIX || UNIX98]
1911         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1912         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1913         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1914         [POSIX] (tm_*): Do not allow.
1915
1916 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
1917
1918         * Makefile (install): Don't set LANGUAGE.
1919         * Makefile.in (install): Likewise.
1920         * assert/Makefile (test-assert-ENV): Remove variable.
1921         (test-assert-perr-ENV): Likewise.
1922         * elf/Makefile (neededtest4-ENV): Likewise.
1923         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1924         [$(cross-compiling) = no]: Don't set LANGUAGE.
1925         * io/ftwtest-sh (LANG): Remove variable.
1926         * libio/Makefile (tst-widetext-ENV): Likewise.
1927         * manual/install.texi (Running make install): Don't refer to
1928         environment settings for make install.
1929         * INSTALL: Regenerated.
1930         * nptl/tst-tls6.sh: Don't set LANG.
1931         * posix/globtest.sh (LANG): Remove variable.
1932         * string/Makefile (tester-ENV): Likewise.
1933         (inl-tester-ENV): Likewise.
1934         (noinl-tester-ENV): Likewise.
1935         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1936         [$(cross-compiling) = no]: Don't set LANGUAGE.
1937         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1938         without explicit environment settings.
1939
1940 2014-06-06  Roland McGrath  <roland@hack.frob.com>
1941
1942         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1943         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1944         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1945         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1946
1947 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
1948
1949         * crypt/crypt-private.h [DOS]: Add some includes taken from the
1950         other files in the crypt directory.
1951         * crypt/crypt.c: Remove duplicate includes.
1952         * crypt/crypt-entry.c: Likewise.
1953         * crypt/crypt_util.c: Likewise.
1954
1955 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
1956
1957         * Makeconfig (run-program-env): New variable.
1958         (run-program-prefix-before-env): Likewise.
1959         (run-program-prefix-after-env): Likewise.
1960         (run-program-prefix): Define in terms of new variables.
1961         (built-program-cmd-before-env): New variable.
1962         (built-program-cmd-after-env): Likewise.
1963         (built-program-cmd): Define in terms of new variables.
1964         (test-program-prefix-before-env): New variable.
1965         (test-program-prefix-after-env): Likewise.
1966         (test-program-prefix): Define in terms of new variables.
1967         (test-program-cmd-before-env): New variable.
1968         (test-program-cmd-after-env): Likewise.
1969         (test-program-cmd): Define in terms of new variables.
1970         * Rules (make-test-out): Use $(run-program-env).
1971         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1972         (help): Do not mention environment variables.  Mention
1973         --timeoutfactor option.
1974         (timeoutfactor): New variable.
1975         (blacklist_exports): Remove function.
1976         (exports): Remove variable.
1977         (command): Do not include ${exports}.
1978         * manual/install.texi (Configuring and compiling): Do not mention
1979         test wrappers preserving environment variables.  Mention that last
1980         assignment to a variable must take precedence.
1981         * INSTALL: Regenerated.
1982         * benchtests/Makefile (run-bench): Use $(run-program-env).
1983         * catgets/Makefile ($(objpfx)test1.cat): Use
1984         $(built-program-cmd-before-env), $(run-program-env) and
1985         $(built-program-cmd-after-env).
1986         ($(objpfx)test2.cat): Do not specify environment variables
1987         explicitly.
1988         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1989         $(run-program-env) and $(built-program-cmd-after-env).
1990         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1991         $(run-program-env) and $(test-program-cmd-after-env).
1992         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1993         explicitly.
1994         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1995         run_program_env and test_program_cmd_after_env arguments.
1996         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1997         * elf/tst-pathopt.sh: Use run_program_env argument.
1998         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1999         $(test-wrapper-env) and $(run-program-env).
2000         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2001         run_program_env arguments.
2002         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2003         * intl/Makefile ($(objpfx)tst-gettext.out): Use
2004         $(test-program-prefix-before-env), $(run-program-env) and
2005         $(test-program-prefix-after-env).
2006         ($(objpfx)tst-gettext2.out): Likewise.
2007         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2008         run_program_env and test_program_prefix_after_env arguments.
2009         * intl/tst-gettext2.sh: Likewise.
2010         * intl/tst-gettext4.sh: Do not set environment variables
2011         explicitly.
2012         * intl/tst-gettext6.sh: Likewise.
2013         * intl/tst-translit.sh: Likewise.
2014         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2015         $(test-program-prefix-before-env), $(run-program-env) and
2016         $(test-program-prefix-after-env).
2017         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2018         run_program_env and test_program_prefix_after_env arguments.
2019         * math/Makefile (run-regen-ulps): Use $(run-program-env).
2020         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2021         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
2022         explicitly with each use of ${test_wrapper_env}.
2023         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2024         $(test-program-prefix-before-env), $(run-program-env) and
2025         $(test-program-prefix-after-env).
2026         * posix/tst-getconf.sh: Do not set environment variables
2027         explicitly.
2028         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2029         run_program_env and test_program_prefix_after_env arguments.
2030         * stdio-common/tst-printf.sh: Do not set environment variables
2031         explicitly.
2032         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2033         $(test-program-prefix-before-env), $(run-program-env) and
2034         $(test-program-prefix-after-env).
2035         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2036         run_program_env and test_program_prefix_after_env arguments.
2037         Split $test calls into $test_pre and $test.
2038         * timezone/Makefile (build-testdata): Use
2039         $(built-program-cmd-before-env), $(run-program-env) and
2040         $(built-program-cmd-after-env).
2041
2042 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2043
2044         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2045         strlen for non SHARED builds.
2046
2047 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2048
2049         * nptl/allocatestack.c (check_list): Inlined function...
2050         (__reclaim_stacks): ... here.
2051
2052 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2053
2054         [BZ #15698]
2055         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2056         memory overrun.
2057
2058 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
2059
2060         * Rules (make-test-out): Include
2061         LOCPATH=$(common-objpfx)localedata in default environment.
2062         * debug/Makefile (tst-chk1-ENV): Remove variable.
2063         (tst-chk2-ENV): Likewise.
2064         (tst-chk3-ENV): Likewise.
2065         (tst-chk4-ENV): Likewise.
2066         (tst-chk5-ENV): Likewise.
2067         (tst-chk6-ENV): Likewise.
2068         (tst-lfschk1-ENV): Likewise.
2069         (tst-lfschk2-ENV): Likewise.
2070         (tst-lfschk3-ENV): Likewise.
2071         (tst-lfschk4-ENV): Likewise.
2072         (tst-lfschk5-ENV): Likewise.
2073         (tst-lfschk6-ENV): Likewise.
2074         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2075         (tst-iconv7-ENV): Likewise.
2076         * intl/Makefile (LOCPATH-ENV): Likewise.
2077         (tst-codeset-ENV): Likewise.
2078         (tst-gettext3-ENV): Likewise.
2079         (tst-gettext5-ENV): Likewise.
2080         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2081         (tst-fopenloc-ENV): Likewise.
2082         (tst-fgetws-ENV): Remove variable.
2083         (tst-ungetwc1-ENV): Likewise.
2084         (tst-ungetwc2-ENV): Likewise.
2085         (bug-ungetwc2-ENV): Likewise.
2086         (tst-swscanf-ENV): Likewise.
2087         (bug-ftell-ENV): Likewise.
2088         (tst-fgetwc-ENV): Likewise.
2089         (tst-fseek-ENV): Likewise.
2090         (tst-ftell-partial-wide-ENV): Likewise.
2091         (tst-ftell-active-handler-ENV): Likewise.
2092         (tst-ftell-append-ENV): Likewise.
2093         * posix/Makefile (tst-fnmatch-ENV): Likewise.
2094         (tst-regexloc-ENV): Likewise.
2095         (bug-regex1-ENV): Likewise.
2096         (tst-regex-ENV): Likewise.
2097         (tst-regex2-ENV): Likewise.
2098         (bug-regex5-ENV): Likewise.
2099         (bug-regex6-ENV): Likewise.
2100         (bug-regex17-ENV): Likewise.
2101         (bug-regex18-ENV): Likewise.
2102         (bug-regex19-ENV): Likewise.
2103         (bug-regex20-ENV): Likewise.
2104         (bug-regex22-ENV): Likewise.
2105         (bug-regex23-ENV): Likewise.
2106         (bug-regex25-ENV): Likewise.
2107         (bug-regex26-ENV): Likewise.
2108         (bug-regex30-ENV): Likewise.
2109         (bug-regex32-ENV): Likewise.
2110         (bug-regex33-ENV): Likewise.
2111         (bug-regex34-ENV): Likewise.
2112         (bug-regex35-ENV): Likewise.
2113         (tst-rxspencer-ENV): Likewise.
2114         (tst-rxspencer-no-utf8-ENV): Likewise.
2115         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2116         (tst-sscanf-ENV): Likewise.
2117         (tst-swprintf-ENV): Likewise.
2118         (tst-swscanf-ENV): Likewise.
2119         (test-vfprintf-ENV): Likewise.
2120         (scanf13-ENV): Likewise.
2121         (bug14-ENV): Likewise.
2122         (tst-grouping-ENV): Likewise.
2123         * stdlib/Makefile (tst-strtod-ENV): Likewise.
2124         (tst-strtod3-ENV): Likewise.
2125         (tst-strtod4-ENV): Likewise.
2126         (tst-strtod5-ENV): Likewise.
2127         (testmb2-ENV): Likewise./
2128         * string/Makefile (tst-strxfrm-ENV): Likewise.
2129         (tst-strxfrm2-ENV): Likewise.
2130         (bug-strcoll1-ENV): Likewise.
2131         (test-strcasecmp-ENV): Likewise.
2132         (test-strncasecmp-ENV): Likewise.
2133         * time/Makefile (tst-strptime-ENV): Likewise.
2134         (tst-ftime_l-ENV): Likewise.
2135         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2136         (tst-mbrtowc-ENV): Likewise.
2137         (tst-wcrtomb-ENV): Likewise.
2138         (tst-mbrtowc2-ENV): Likewise.
2139         (tst-c16c32-1-ENV): Likewise.
2140         (tst-mbsnrtowcs-ENV): Likewise.
2141
2142 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2143
2144         * manual/resource.texi (How to get information about the memory
2145         subsystem?): Fix typo.
2146         Reported by Peon de la Parra Ivan <peon@keba.com>
2147
2148 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
2149
2150         [BZ #16882]
2151         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2152         (pthread_spin_lock): Branch out of spin loop to proper location.
2153         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2154         (pthread_spin_lock): Likewise.
2155
2156         * nptl/tst-spin4.c: New test.
2157         * nptl/Makefile (tests): Add tst-spin4.
2158
2159 2014-06-03  Andreas Schwab  <schwab@suse.de>
2160
2161         [BZ #15946]
2162         * resolv/res_send.c (send_dg): Reload file descriptor after
2163         calling reopen.
2164
2165 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
2166
2167         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2168
2169 2014-06-03  Richard Henderson  <rth@redhat.com>
2170
2171         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2172         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2173         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2174         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
2175         in the SAVE_PID block.
2176         (__libc_vfork): New alias.
2177         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2178
2179         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2180         child in registers, not on the stack.  Remove RESET_PID conditionals.
2181         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2182
2183 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2184
2185         * sysdeps/aarch64/libm-test-ulps: Regenerate.
2186
2187 2014-06-03  Wilco  <wdijkstr@arm.com>
2188
2189         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2190         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2191         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2192         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2193         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2194         Likewise.
2195
2196 2014-06-03  Wilco  <wdijkstr@arm.com>
2197
2198         * sysdeps/aarch64/fpu/math_private.h
2199         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2200         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2201         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2202         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2203         Fix declarations.
2204
2205 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2206
2207         * crypt/crypt-private.h: Include ufc-crypt.h.
2208         (__b64_from_24bit): Declare extern.
2209         * crypt/crypt_util.c(__b64_from_24bit): New function.
2210         (b64t): New static const variable.
2211         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2212         (b64t): Remove variable.
2213         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2214         * crypt/sha256-crypt.c: Include crypt-private.h.
2215         (b64t): Remove variable.
2216         (__sha256_crypt_r): Remove b64_from_24bit and replace
2217         with __b64_from_24bit.
2218         * crypt/sha512-crypt.c: Likewise.
2219
2220 2014-06-02  Roland McGrath  <roland@hack.frob.com>
2221
2222         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2223         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2224         Label the code __libc_vfork rather than __vfork.
2225         [!NOT_IN_libc] (vfork): Define as weak alias.
2226         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2227         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2228         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2229
2230 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2231
2232         * malloc/malloc.c (malloc_info): Fix format specifier for
2233         n_mmaps.
2234
2235 2014-06-02  Wilco  <wdijkstr@arm.com>
2236
2237         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2238         FPCR write.
2239
2240 2014-06-02  Wilco  <wdijkstr@arm.com>
2241
2242         [BZ #17009]
2243         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2244         Rewrite to reduce FPCR/FPSR accesses.
2245
2246 2014-06-01  David S. Miller  <davem@davemloft.net>
2247
2248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2249
2250 2014-05-31  David S. Miller  <davem@davemloft.net>
2251
2252         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2253         to occur in round to nearest mode when |x| >= 2.0
2254
2255 2014-05-30  Richard Henderson  <rth@twiddle.net>
2256
2257         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2258         (PSEUDO_RET_NOERRNO): Remove.
2259         (ret): Don't redefine.
2260         (ret_NOERRNO): Define in terms of ret.
2261         (ret_ERRVAL): Likewise.
2262
2263         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2264         use of PSEUDO_RET; perform the error check directly.
2265
2266 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
2267
2268         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2269         with __int128_t.
2270
2271 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2272
2273         * malloc/malloc (malloc_info): Fix formatting.
2274
2275 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2276             Roland McGrath  <roland@hack.frob.com>
2277
2278         * malloc/malloc (malloc_info): Also print mmapped statistics.
2279
2280 2014-05-30  Roland McGrath  <roland@hack.frob.com>
2281
2282         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2283         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2284
2285 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
2286
2287         * malloc/malloc.c (malloc_info): Inline mi_arena.
2288
2289 2014-05-29  Richard Henderson  <rth@twiddle.net>
2290
2291         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2292         Remove comma before expanding ASM_ARGS_##nr.
2293         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2294         Make _x0 a strict output; make _x8 a strict input; adjust expansion
2295         of ASM_ARGS_##nr.
2296         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2297         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2298         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2299         (ASM_ARGS_1): Add leading comma.
2300
2301         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2302         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2303         to __errno_location.
2304         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2305         Remove the expected plt for __errno_location.
2306
2307         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2308         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2309         call to __read_tp.
2310
2311         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2312         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
2313         it and break it down.
2314         (DOCARGS_0, DOCARGS_1): Do nothing.
2315         (DOCARGS_2): Update to store into the new stack frame.
2316         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2317         (UNDOCARGS_1): Update to restore from the new stack frame.
2318         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2319         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2320
2321         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2322         (SINGLE_THREAD_P): New parameter for result regno.
2323         (PSEUDO): Update to match; use cbz instead of beq.
2324
2325         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2326         Use ENTRY to define the _nocancel entry point.  Share the syscall
2327         and syscall error check paths with the cancel path.
2328         (PSEUDO_END): New.
2329
2330         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2331         whitespace; tabs before and after asm mnemonics.
2332
2333 2014-05-29  Eric Wong  <normalperson@yhbt.net>
2334
2335         [BZ #15132]
2336         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2337         Call fstat64 or stat64 internally, depending on arguments passed.
2338         Replace stat buffer argument with file descriptor argument.
2339         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2340         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2341         Pass fd to __internal_statvfs instead of calling fstat64.
2342         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2343         Pass fd to __internal_statvfs64 instead of calling fstat64.
2344         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2345         Pass -1 to __internal_statvfs instead of calling stat64.
2346         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2347         Pass -1 to __internal_statvfs64 instead of calling stat64.
2348
2349 2014-05-28  Roland McGrath  <roland@hack.frob.com>
2350
2351         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2352         that was previously under [RESET_PID].
2353         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2354
2355         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2356         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2357
2358 2014-05-27  Roland McGrath  <roland@hack.frob.com>
2359
2360         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2361
2362         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2363         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2364
2365 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
2366
2367         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2368
2369 2014-05-27  Andreas Schwab  <schwab@suse.de>
2370
2371         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2372         TLS_INIT_TP macro.
2373         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2374         * elf/rtld.c (init_tls, dl_main): Likewise.
2375         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2376         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2377         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2378         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2379         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2380         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2381         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2382         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2383         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2384         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2385         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2386         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2387         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2388         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2389         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2390         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2391         * sysdeps/generic/tls.h: Update description.
2392
2393 2014-05-27  Will Newton  <will.newton@linaro.org>
2394
2395         [BZ #16990]
2396         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2397         and restore r2 rather than just restoring.
2398
2399 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2400
2401         [BZ #16724]
2402         * libio/tst-ftell-append.c: New test case.
2403         * libio/Makefile (tests): Add test case.
2404         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2405         append mode.
2406         * libio/wfileops.c (do_ftell_wide): Likewise.
2407
2408 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2409
2410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2411
2412         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2413         ...
2414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2416         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2417         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2418         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2419         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2420         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2421         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2422         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2423         Moved ...
2424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2425         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2426         Moved ...
2427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2428         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2429         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2430         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2431         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2432         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2433         ...
2434         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2435         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2436         Moved ...
2437         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2438         here.
2439         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2440         ...
2441         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2442         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2443         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2444
2445         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2446         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2447         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2448         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2449
2450         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2451         merge into ...
2452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2453         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2454         ...
2455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2456         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2457         ...
2458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2459         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2460         Moved ...
2461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2462         here.
2463         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2464         Moved ...
2465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2466         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2467         Moved ...
2468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2469
2470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2471         conditional [RESET_PID].
2472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2473         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2474         removed.
2475         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2476         removed.
2477
2478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2479         <tcb-offsets.h>.
2480         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2481         (__libc_vfork): New strong alias.
2482         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2483         removed.
2484         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2485         Removed.
2486
2487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2488         <tcb-offsets.h>.
2489         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2490         (__libc_vfork): New strong alias.
2491         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2492         removed.
2493         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2494         removed.
2495
2496 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
2497
2498         * malloc/malloc.c (mi_arena): New function.
2499         (malloc_info): Remove nested function mi_arena. Call non-nosted
2500         function mi_arena.
2501
2502 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2503
2504         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2505         by insrwi.
2506         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2507         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2508         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2509         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2510         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2511         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2512         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2513
2514 2014-05-26  Andreas Schwab  <schwab@suse.de>
2515
2516         [BZ #16984]
2517         * locale/programs/repertoire.c (repertoire_read): Add slash
2518         between I18NPATH element and file name.
2519         * locale/programs/locfile.c (locfile_read): Likewise.
2520
2521 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2522
2523         * nptl/pthread_mutexattr_settype.c
2524         (__pthread_mutexattr_settype):
2525         Disable lock elision for PTHREAD_MUTEX_NORMAL.
2526
2527 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2528
2529         * nptl/tst-mutex5 (do_test):
2530         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2531
2532 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2533
2534         * benchtests/README: Document 'init' directive.
2535         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2536         BENCH_INIT.
2537         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2538         (parse_file): Recognize 'init' directive.
2539
2540 2014-05-26  Kyle McMartin  <kyle@redhat.com>
2541
2542         [BZ #16796]
2543         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2544         alignment of struct pthread.
2545
2546 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2547
2548         [BZ #16878]
2549         * nscd/netgroupcache.c (addgetnetgrentX): Look for
2550         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2551         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2552         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2553
2554 2014-05-25  Richard Henderson  <rth@twiddle.net>
2555
2556         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2557         (SINGLE_THREAD_P_PIC): Remove.
2558         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2559         (SINGLE_THREAD_P_PIC): Remove.
2560
2561         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2562         branch to syscall error ...
2563         (PSEUDO): ... here.
2564         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2565         from __local_syscall_error to .Lsyscall_error.
2566         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2567         (SYSCALL_ERROR): Update label name.
2568
2569         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2570         Do not use DOARGS/UNDOARGS.
2571         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2572         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2573         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2574         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2575         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2576
2577         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2578         block comment.
2579
2580         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2581         define if !NOT_IN_libc.
2582         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2583         define with non-default symbol versions.
2584
2585 2014-05-23  Richard Henderson  <rth@twiddle.net>
2586
2587         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2588         (vfork, __vfork): Define via compat_symbol.
2589
2590         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2591         [!HAVE_IFUNC] (vfork_compat): Remove.
2592         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2593
2594 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
2595
2596         [BZ #16978]
2597         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2598         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2599         variable.
2600
2601 2014-05-23  Richard Henderson  <rth@twiddle.net>
2602
2603         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2604         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2605         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2606         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2607
2608         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2609         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2610         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2611         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2612         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2613         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2614         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2615         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2616         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2617         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2618         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2619         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2620         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2621         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2622         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2623         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2624         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2625         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2626         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2627         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2628         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2629         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2630         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2631         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2632         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2633         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2634         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2635         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2636         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2637         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2638         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2639         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2640         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2641         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2642         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2643         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2644         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2645         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2646         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2647         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2648         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2649         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2650         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2651         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2652         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2653         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2654         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2655         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2656         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2657         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2658         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2659         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2660         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2661         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2662         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2663         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2664
2665         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2666         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2667         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
2668         before exiting on error.
2669         (__libc_vfork): New strong alias.
2670         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2671         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2672
2673         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2674         that was previously under [RESET_PID].
2675         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2676
2677         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2678
2679 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
2680
2681         [BZ #16977]
2682         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2683         value when x - 1 is zero.
2684         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2685         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2686         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2687         0.0L for an argument of 1.0L.
2688         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2689         Likewise.
2690         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2691         value when x - 1 is zero.
2692         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2693         * sysdeps/i386/fpu/libm-test-ulps: Update.
2694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2695
2696 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2697
2698         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2699         alphasort and versionsort.
2700
2701 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2702
2703         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2704         macro.
2705         [copysignf]: Likewise.
2706
2707 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2708
2709         * crypt/md5-crypt.c: Fix formatting.
2710
2711 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2712
2713         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2714         (b64_from_24bit): New function.
2715
2716 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2717
2718         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2719         libc_hidden_builtin_def to ifunc.
2720         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2721         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2722
2723 2014-05-21  Roland McGrath  <roland@hack.frob.com>
2724
2725         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2726         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2727
2728 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
2729
2730         * nscd/Depend (linuxthreads): Remove.
2731         (nptl): Add.
2732         * resolv/Depend (linuxthreads): Remove.
2733         * rt/Depend (linuxthreads): Remove.
2734
2735         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2736         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2737         $(common-objpfx)elf/.
2738         (link-libc-before-gnulib): Likewise.
2739         (elfobjdir): Remove variable.
2740         * Makefile (install): Use $(elf-objpfx) instead of
2741         $(common-objpfx)elf/.
2742         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2743         $(elfobjdir)/.
2744         (link-libc-deps): Likewise.
2745         ($(common-objpfx)libc.so): Likewise.
2746         ($(common-objpfx)linkobj/libc.so): Likewise.
2747         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2748         instead of $(common-objpfx)elf/.
2749         (symbolic-link-list): Likewise.
2750         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2751         [$(cross-compiling) = no]: Likewise.
2752         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2753         $(elfobjdir)/.
2754         (static-gnulib-arch): Likewise.
2755         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2756         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2757         $(common-objpfx)elf/.
2758
2759 2014-05-21  Richard Henderson  <rth@redhat.com>
2760
2761         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2762         (SINGLE_THREAD_P): Use the correct width load.  Fold
2763         into the ldr offset.
2764
2765         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2766         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2767
2768 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
2769
2770         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2771         (libgcc_s_resume): Use __attribute_used__.
2772         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2773         Likewise.
2774
2775 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2776
2777         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2778         optimization when used with float constants.
2779
2780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2781
2782 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
2783
2784         [BZ #16915]
2785         * locale/nl_langinfo_l.c: Make direct reference to every
2786         _nl_current_CATEGORY symbol.
2787         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2788         (tests-static): Add tst-langinfo-static.
2789         (tests-special): Add tst-langinfo-static.out.
2790         ($(objpfx)tst-langinfo.out): Redirect output.
2791         ($(objpfx)tst-langinfo-static.out): New.
2792         * localedata/tst-langinfo.sh: Send output to stdout.
2793         * localedata/tst-langinfo-static.c: New file.
2794
2795         [BZ #16965]
2796         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2797         when the shift amount is modulo the limb size.
2798
2799 2014-05-20  Richard Henderson  <rth@redhat.com>
2800
2801         [BZ #16967]
2802         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2803         Change type of sa_flags from unsigned int to int.
2804
2805         [BZ #16966]
2806         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2807
2808         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2809
2810 2014-05-20  Will Newton  <will.newton@linaro.org>
2811
2812         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2813         Test the return value of the system call in the nocancel case.
2814
2815 2014-05-20  Will Newton  <will.newton@linaro.org>
2816             Yvan Roux  <yvan.roux@linaro.org>
2817
2818         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2819         #include of asm/ptrace.h.
2820         (PTRACE_GET_THREAD_AREA): Remove #undef.
2821         (PTRACE_GETHBPREGS): Likewise.
2822         (PTRACE_SETHBPREGS): Likewise.
2823         (struct user_regs_struct): New structure.
2824         (struct user_fpsimd_struct): New structure.
2825         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2826         #include of asm/ptrace.h and second #include of sys/user.h.
2827         (PTRACE_GET_THREAD_AREA): Remove #undef.
2828         (PTRACE_GETHBPREGS): Likewise.
2829         (PTRACE_SETHBPREGS): Likewise.
2830         (ELF_NGREG): Use new struct user_regs_struct.
2831         (elf_fpregset_t): Use new struct user_fpsimd_struct.
2832
2833 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2834
2835         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2836         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2837
2838 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
2839
2840         [BZ #16958]
2841         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2842         membar to avoid block loads/stores to overlap previous stores.
2843
2844 2014-05-17  Richard Henderson  <rth@redhat.com>
2845
2846         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2847         Create the __##syscall_name##_nocancel entry point.
2848         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2849         Remove; let the sysdep-cancel.h code create it.
2850
2851 2014-05-17  David S. Miller  <davem@davemloft.net>
2852
2853         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2854         Protect with __USE_GNU.
2855         (TIOCSET_TEMPT): Likewise.
2856         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2857         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2858         these are already provided in bits/ioctl-types.h
2859
2860 2014-05-16  Roland McGrath  <roland@hack.frob.com>
2861
2862         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2863         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2864
2865         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2866         Use wait4 regardless of [__NR_waitpid].
2867
2868 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
2869
2870         PR libgcc/60166
2871         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2872         (_FP_NANSIGN_Q): Set the quiet bit.
2873
2874 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
2875
2876         * benchtests/Makefile
2877         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2878         not $(common-objpfx)math/libm.so.
2879         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2880         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2881         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2882         $(common-objpfx)dlfcn/libdl.so.
2883         ($(objpfx)tst-audit8): Depend on $(libm), not
2884         $(common-objpfx)math/libm.so.
2885         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2886         not $(common-objpfx)dlfcn/libdl.so.
2887         * math/Makefile
2888         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2889         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
2890         [$(build-shared) = yes].
2891         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2892         $(common-objpfx)nptl/libpthread.so.
2893         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2894         $(common-objpfx)math/libm.so$(libm.so-version) or
2895         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2896         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2897         $(common-objpfx)dlfcn/libdl.so.
2898         * setjmp/Makefile (link-libm): Remove variable.
2899         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2900         * stdio-common/Makefile (link-libm): Remove variable.
2901         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2902         * stdlib/Makefile (link-libm): Remove variable.
2903         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2904         ($(objpfx)tst-strtod-round): Likewise.
2905         ($(objpfx)tst-tininess): Likewise.
2906         ($(objpfx)tst-strtod-underflow): Likewise.
2907         ($(objpfx)tst-strtod6): Likewise.
2908         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2909         $(libdl), not $(common-objpfx)nptl/libpthread.so and
2910         $(common-objpfx)dlfcn/libdl.so.
2911
2912 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2913
2914         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2915         BSD terminal modes definitions.
2916
2917 2014-05-16  Roland McGrath  <roland@hack.frob.com>
2918
2919         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2920         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2921
2922         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2923         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2924         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2925         Don't do #include_next.
2926         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2927         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2928         Don't do #include_next.
2929         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2930         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2931         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2932         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2933
2934 2014-05-16  Allan McRae  <allan@archlinux.org>
2935
2936         * po/sv.po: Update Swedish translation from translation project.
2937
2938         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2939         in sed expression.
2940
2941 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
2942
2943         [BZ #16917]
2944         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2945         errno if the TIOCGPTN ioctl fails with an error different than
2946         EINVAL.
2947         * login/tst-ptsname.c: New file.
2948         * login/Makefile (tests): Add tst-ptsname.
2949
2950         [BZ #16943]
2951         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2952         and prlimit64.
2953
2954 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2955
2956         [BZ #16849]
2957         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2958         herrno to return EAI_AGAIN.
2959
2960 2014-05-14  Roland McGrath  <roland@hack.frob.com>
2961
2962         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2963         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2964         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2965         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2966         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2967         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2968         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2969         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2970         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2971         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2972         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2973         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2974         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2975         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2976         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2977         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2978         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2979         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2980         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2981         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2982         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2983         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2984         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2985         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2986         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2987         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2988         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2989         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2990         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2991         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2993         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2995         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2996         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2997         Moved ...
2998         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2999         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3000         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3001         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3002         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3003         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3004         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3005         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3006         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3008         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3009         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3010         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3012         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3014         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3015         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3016         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3018         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3020         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3021         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3022         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3023         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3024         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3025         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3026         Moved ...
3027         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3028         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3029         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3030         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3031         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3032         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3033         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3035         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3037         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3039         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3041         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3042         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3043         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3044         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3045         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3047         Moved ...
3048         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3049         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3050         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3051
3052         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3053         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3054         (libpthread-sysdep_routines): Add elision-related stuff here instead.
3055         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3056         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3057         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3058         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3059         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3060         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3061         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3062         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3063         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3064         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3065         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3066         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3067         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3068         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3069         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3070         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3071         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3072         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3073         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3074         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3075         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3076         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3077         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3078         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3079         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3080         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3081         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3082         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3083
3084         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3085         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3086
3087         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3088         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3089         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3090         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3091         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3092         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3093         Moved ...
3094         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3095         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3096         Moved ...
3097         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3098         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3099         Moved ...
3100         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3101         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3102         Moved ...
3103         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3104         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3105         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3106         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3107         Moved ...
3108         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3109         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3110         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3111         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3112         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3113         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3114         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3115         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3116         Moved ...
3117         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3118         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3119         Moved ...
3120         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3121         ... here.
3122         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3123         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3124         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3125         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3126         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3127         Moved ...
3128         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3129         ... here.
3130         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3131         Moved ...
3132         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3133         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3134         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3135         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3136         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3137         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3138         Moved ...
3139         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3140         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3141         Moved ...
3142         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3143         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3144         Moved ...
3145         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3146         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3147         Moved ...
3148         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3149         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3150         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3151         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3152         Moved ...
3153         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3154         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3155         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3156         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3157         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3158         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3159         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3160         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3161         Moved ...
3162         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3163         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3164         Moved ...
3165         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3166         ... here.
3167         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3168         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3169         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3170         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3171         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3172         Moved ...
3173         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3174         ... here.
3175         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3176         Moved ...
3177         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3178         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3179         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3180         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3181         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3182         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3183         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3184         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3185         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3186         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3187         Moved ...
3188         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3189         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3190         Moved ...
3191         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3192         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3193         Moved ...
3194         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3195         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3196         Moved ...
3197         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3198         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3199         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3200         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3201         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3202         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3203         Moved ...
3204         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3205         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3206         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3207         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3208         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3209         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3210         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3211         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3212         Moved ...
3213         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3214         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3215         Moved ...
3216         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3217         ... here.
3218         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3219         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3220         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3221         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3222         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3223         Moved ...
3224         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3225         ... here.
3226         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3227         Moved ...
3228         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3229         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3230         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3231         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3232         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3233         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3234         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3235         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3236         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3237         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3238         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3239
3240         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3241         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3242
3243         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3244         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3245
3246         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3247         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3248         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3249         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3250         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3251         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3252         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3253         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3254         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3255         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3256         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3257         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3258         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3259         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3260         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3261         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3262         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3263         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3264         Moved ...
3265         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3266         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3267         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3268         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3269         Moved ...
3270         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3271         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3272         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3273         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3274         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3275         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3276         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3277         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3278         Moved ...
3279         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3280         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3281         Moved ...
3282         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3283         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3284         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3285         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3286         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3287         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3288         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3289         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3290         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3291         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3292         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3293         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3294         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3295         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3296         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3297         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3298         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3299
3300         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3301         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3302         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3303         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3304         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3305
3306         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3307         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3308         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3309         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3310         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3311         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3312         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3313         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3314         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3315         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3316
3317         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3318         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3319
3320         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3321         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3322         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3323         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3324         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3325         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3326         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3327         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3328         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3329         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3330         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3331         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3332         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3333         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3334         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3335         Update #include.
3336         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3337         Likewise.
3338         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3339         Likewise.
3340         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3341         Likewise.
3342         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3343         Likewise.
3344         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3345         Likewise.
3346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3347         Likewise.
3348         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3349         Likewise.
3350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3351         Likewise.
3352         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3353         Likewise.
3354         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3355         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3356         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3357         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3358         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3359         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3360         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3361         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3362         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3363         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3364         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3365         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3366         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3367         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
3368         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
3369
3370         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3371         that was previously under [RESET_PID].
3372         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3373         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3374         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3375
3376         * sysdeps/i386/nptl/Implies: New file.
3377         * sysdeps/x86_64/nptl/Implies: New file.
3378         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3379         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3380         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3381         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3382
3383         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3384         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3385         (__libc_vfork): New strong alias.
3386         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3387         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3388
3389         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3390         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3391         (__libc_vfork): New strong alias.
3392         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3393         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3394
3395         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3396         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3397         (__libc_vfork): New strong alias.
3398         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3399         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3400         * nptl/pt-vfork.c: New file.
3401         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3402         (libpthread: GLIBC_2.20): New version set (empty).
3403
3404 2014-05-14  Will Newton  <will.newton@linaro.org>
3405
3406         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3407         rather than #if.
3408
3409 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
3410
3411         [BZ #16564]
3412         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3413         arguments with exponent 65 or above.
3414         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3415         arguments 0x1p113L or above.
3416         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3417         to arguments 0x1p107L or above.
3418         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3419         positive arguments with exponent 65 or above.
3420         * math/auto-libm-test-in: Add more tests of log1p.
3421         * math/auto-libm-test-out: Regenerated.
3422
3423         [BZ #16928]
3424         * math/s_cacos.c (__cacos): Ensure zero real part of result from
3425         non-finite arguments is +0.
3426         * math/s_cacosf.c (__cacosf): Likewise.
3427         * math/s_cacosl.c (__cacosl): Likewise.
3428         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3429         * sysdeps/i386/fpu/libm-test-ulps: Update.
3430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3431
3432         [BZ #16927]
3433         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3434         value.
3435         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3436         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3437         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3438         for explicit high bit of mantissa when testing for argument equal
3439         to 1.
3440         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3441         * sysdeps/i386/fpu/libm-test-ulps: Update.
3442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3443
3444         [BZ #16516]
3445         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3446         (__erf): Scale by 16 instead of 8 in potentially underflowing
3447         case.  Ensure exception if result actually underflows.
3448         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3449         (__erff): Scale by 16 instead of 8 in potentially underflowing
3450         case.  Ensure exception if result actually underflows.
3451         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3452         (efx8): Remove variable.
3453         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3454         case.  Ensure exception if result actually underflows.
3455         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3456         (efx8): Remove variable.
3457         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3458         case.  Ensure exception if result actually underflows.
3459         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3460         (efx8): Remove variable.
3461         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3462         case.  Ensure exception if result actually underflows.
3463         * math/auto-libm-test-in: Add more tests of erf.
3464         * math/auto-libm-test-out: Regenerated.
3465
3466 2014-05-14  Andreas Schwab  <schwab@suse.de>
3467
3468         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3469         Remove code conditionalized on USE___THREAD.
3470
3471         * config.h.in (HAVE_PT_CHOWN): Define as 0.
3472         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3473         not definedness.
3474
3475 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
3476
3477         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3478         Define unconditionally.
3479         (__ASSUME_O_CLOEXEC): Likewise.
3480         (__ASSUME_SOCK_CLOEXEC): Likewise.
3481         (__ASSUME_IN_NONBLOCK): Likewise.
3482         (__ASSUME_PIPE2): Likewise.
3483         (__ASSUME_EVENTFD2): Likewise.
3484         (__ASSUME_SIGNALFD4): Likewise.
3485         (__ASSUME_DUP3): Likewise.
3486         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3487         (__ASSUME_DUP3): Do not define.
3488         (__ASSUME_EVENTFD2): Likewise.
3489         (__ASSUME_IN_NONBLOCK): Likewise.
3490         (__ASSUME_O_CLOEXEC): Likewise.
3491         (__ASSUME_PIPE2): Likewise.
3492         (__ASSUME_SIGNALFD4): Likewise.
3493         (__ASSUME_SOCK_CLOEXEC): Likewise.
3494         (__ASSUME_UTIMES): Undefine.
3495         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3496         (__ASSUME_UTIMES): Do not define.
3497         (__ASSUME_O_CLOEXEC): Likewise.
3498         (__ASSUME_SOCK_CLOEXEC): Likewise.
3499         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3500         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3501         0x020621].
3502         (__ASSUME_PIPE2): Likewise.
3503         (__ASSUME_EVENTFD2): Likewise.
3504         (__ASSUME_SIGNALFD4): Likewise.
3505         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3506         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3507         Do not define.
3508         (__ASSUME_EVENTFD2): Likewise.
3509         (__ASSUME_SIGNALFD4): Likewise.
3510         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3511         (__ASSUME_32BITUIDS): Likewise.
3512         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3513         (__ASSUME_IPC64): Likewise.
3514         (__ASSUME_ST_INO_64_BIT): Likewise.
3515         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3516         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3517         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3518         (__ASSUME_UTIMES): Do not define.
3519         (__ASSUME_PSELECT): Likewise.
3520         (__ASSUME_PPOLL): Likewise.
3521         (__ASSUME_O_CLOEXEC): Likewise.
3522         (__ASSUME_SOCK_CLOEXEC): Likewise.
3523         (__ASSUME_IN_NONBLOCK): Likewise.
3524         (__ASSUME_PIPE2): Likewise.
3525         (__ASSUME_EVENTFD2): Likewise.
3526         (__ASSUME_SIGNALFD4): Likewise.
3527         (__ASSUME_DUP3): Likewise.
3528         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3529         (__ASSUME_UTIMES): Likewise.
3530         (__ASSUME_O_CLOEXEC): Likewise.
3531         (__ASSUME_SOCK_CLOEXEC): Likewise.
3532         (__ASSUME_IN_NONBLOCK): Likewise.
3533         (__ASSUME_PIPE2): Likewise.
3534         (__ASSUME_EVENTFD2): Likewise.
3535         (__ASSUME_SIGNALFD4): Likewise.
3536         (__ASSUME_DUP3): Likewise.
3537         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3538         (__ASSUME_UTIMES): Likewise.
3539         (__ASSUME_O_CLOEXEC): Likewise.
3540         (__ASSUME_SOCK_CLOEXEC): Likewise.
3541         (__ASSUME_IN_NONBLOCK): Likewise.
3542         (__ASSUME_PIPE2): Likewise.
3543         (__ASSUME_EVENTFD2): Likewise.
3544         (__ASSUME_SIGNALFD4): Likewise.
3545         (__ASSUME_DUP3): Likewise.
3546         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3547         Likewise.
3548         (__ASSUME_UTIMES): Likewise.
3549         (__ASSUME_EVENTFD2): Likewise.
3550         (__ASSUME_SIGNALFD4): Likewise.
3551         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3552         (__ASSUME_O_CLOEXEC): Likewise.
3553         (__ASSUME_SOCK_CLOEXEC): Likewise.
3554         (__ASSUME_IN_NONBLOCK): Likewise.
3555         (__ASSUME_PIPE2): Likewise.
3556         (__ASSUME_EVENTFD2): Likewise.
3557         (__ASSUME_SIGNALFD4): Likewise.
3558         (__ASSUME_DUP3): Likewise.
3559         (__ASSUME_UTIMES): Undefine.
3560
3561         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3562         feclearexcept.  Remove symbol versioning code.
3563         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
3564         symbol versioning code.
3565         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
3566         symbol versioning code.
3567         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3568         feupdateenv.  Remove symbol versioning code.
3569         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3570         fegetexceptflag.  Remove symbol versioning code.
3571         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3572         fesetexceptflag.  Remove symbol versioning code.
3573         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3574         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
3575         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3576         (__posix_fadvise64_l32): Remove prototype.
3577         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3578         code.
3579
3580 2014-05-13  Roland McGrath  <roland@hack.frob.com>
3581
3582         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3583         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3584         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3585         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3586
3587 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
3588
3589         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3590         current working directory
3591
3592 2014-05-13  Roland McGrath  <roland@hack.frob.com>
3593
3594         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3595         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3596         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3597         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3598         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3599         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3600         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3601         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3602         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3603         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3604         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3605         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3606         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3607         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3608         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3609         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3610         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3611         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3612         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3613         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3614         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3615         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3616         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3617         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3618         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3619         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3620         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3621         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3622         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3623         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3624         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3625         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3626         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3627         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3628         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3629         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3630         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3631         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3632         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3633         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3634         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3635         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3636
3637         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3638         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3639
3640         * sysdeps/unix/sysv/linux/arm/Makefile
3641         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3642         Add rt-aeabi_unwind_cpp_pr1.
3643         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3644         Add nptl-aeabi_unwind_cpp_pr1.
3645         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3646         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3647         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3648         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3649         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3650         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3651
3652         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3653         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3654         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3655         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3656
3657         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3658         Deconditionalize the code that was previously under [RESET_PID].
3659         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3660
3661         * sysdeps/generic/exit-thread.h: New file.
3662         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3663         * include/unistd.h (__exit_thread): Remove declaration.
3664         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3665         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3666         * csu/libc-start.c: Include <exit-thread.h>.
3667         (LIBC_START_MAIN): Pass no argument to __exit_thread.
3668         * nptl/pthread_create.c: Include <exit-thread.h>.
3669         (start_thread): Call __exit_thread in place of __exit_thread_inline.
3670         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3671         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3672         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3673         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3674         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3675         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3676         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3677         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3678         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3679         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3680         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3681         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3682         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3683         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3684         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3685         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3686
3687 2014-05-13  Andreas Schwab  <schwab@suse.de>
3688
3689         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3690
3691 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
3692
3693         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3694         (__ASSUME_UTIMES): Do not condition on kernel version.
3695         (__ASSUME_PSELECT): Define unconditionally.
3696         (__ASSUME_PPOLL): Likewise.
3697         (__ASSUME_ATFCTS): Likewise.
3698         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3699         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3700         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3701         (__ASSUME_UTIMENSAT): Define unconditionally.
3702         (__ASSUME_PRIVATE_FUTEX): Likewise.
3703         (__ASSUME_FALLOCATE): Likewise.
3704         (__ASSUME_O_CLOEXEC): Likewise.
3705         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3706         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3707         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3708         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3709         (__ASSUME_IN_NONBLOCK): Likewise.
3710         (__ASSUME_PIPE2): Likewise.
3711         (__ASSUME_EVENTFD2): Likewise.
3712         (__ASSUME_SIGNALFD4): Likewise.
3713         (__ASSUME_DUP3): Likewise.
3714         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3715         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3716         (__ASSUME_AT_RANDOM): Likewise.
3717         (__ASSUME_PREADV): Likewise.
3718         (__ASSUME_PWRITEV): Likewise.
3719         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3720         (__ASSUME_F_GETOWN_EX): Define unconditionally.
3721         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3722         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3723         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3724         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3725         (__ASSUME_O_CLOEXEC): Define unconditionally.
3726         (__ASSUME_PSELECT): Do not undefine conditionally.
3727         (__ASSUME_PPOLL): Likewise.
3728         (__ASSUME_ATFCTS): Likewise.
3729         (__ASSUME_SET_ROBUST_LIST): Likewise.
3730         (__ASSUME_UTIMENSAT): Likewise.
3731         (__ASSUME_FDATASYNC): Define unconditionally.
3732         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3733         (__ASSUME_SIGFRAME_V2): Likewise.
3734         )__ASSUME_EVENTFD2): Likewise.
3735         (__ASSUME_SIGNALFD4): Likewise.
3736         (__ASSUME_PSELECT): Do not undefine conditionally.
3737         (__ASSUME_PPOLL): Likewise.
3738         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3739         (__ASSUME_PSELECT): Define unconditionally.
3740         (__ASSUME_PPOLL): Likewise.
3741         (__ASSUME_O_CLOEXEC): Likewise.
3742         (__ASSUME_SOCK_CLOEXEC): Likewise.
3743         (__ASSUME_IN_NONBLOCK): Likewise.
3744         (__ASSUME_PIPE2): Likewise.
3745         (__ASSUME_EVENTFD2): Likewise.
3746         (__ASSUME_SIGNALFD4): Likewise.
3747         (__ASSUME_DUP3): Likewise.
3748         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3749         (__ASSUME_O_CLOEXEC): Likewise.
3750         (__ASSUME_SOCK_CLOEXEC): Likewise.
3751         (__ASSUME_IN_NONBLOCK): Likewise.
3752         (__ASSUME_PIPE2): Likewise.
3753         (__ASSUME_EVENTFD2): Likewise.
3754         (__ASSUME_SIGNALFD4): Likewise.
3755         (__ASSUME_DUP3): Likewise.
3756         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3757         (__ASSUME_EVENTFD2): Likewise.
3758         (__ASSUME_SIGNALFD4): Likewise.
3759         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3760
3761 2014-05-12  Andreas Schwab  <schwab@suse.de>
3762
3763         [BZ #16932]
3764         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3765         (_nss_nis_gethostbyname4_r): Return error if item length is larger
3766         than maximum RPC packet size.
3767         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3768         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3769         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3770         (_nss_nis_getservbyport_r): Likewise.
3771
3772 2014-05-12  Will Newton  <will.newton@linaro.org>
3773
3774         * malloc/Makefile (tests): Add tst-mallopt.
3775         * malloc/tst-mallopt.c: New file.
3776
3777 2014-05-09  Roland McGrath  <roland@hack.frob.com>
3778
3779         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3780         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3781
3782 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3783
3784         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3785         (tst-tlsmod6.so): Likewise.
3786
3787 2014-05-09  Roland McGrath  <roland@hack.frob.com>
3788
3789         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3790
3791 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
3792
3793         [BZ #16064]
3794         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3795         and <dl-procinfo.h>.
3796         (__fegetenv): Save SSE state in envp->__eip if supported.
3797         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3798         envp->__eip if supported.
3799         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3800         and <dl-procinfo.h>.
3801         (__fesetenv): Always set __eip, __cs_selector, __opcode,
3802         __data_offset and __data_selector in environment to 0.  Set SSE
3803         state if supported.
3804         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3805         test-fenv-sse.
3806         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3807         -mfpmath=sse.
3808         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3809
3810 2014-05-09  Will Newton  <will.newton@linaro.org>
3811
3812         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3813         and libc_relro_required for ARM.
3814         * sysdeps/arm/preconfigure: Regenerate.
3815
3816 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
3817             Stefan Liebler  <stli@linux.vnet.ibm.com>
3818
3819         * config.make.in (enable-lock-elision): New Makefile variable.
3820         * configure.ac: Likewise.
3821         * configure: Regenerate.
3822         * sysdeps/s390/configure.ac:
3823         Add check for gcc transactions support.
3824         * sysdeps/s390/configure: Regenerate.
3825         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3826         Build elision files if enabled.
3827         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3828         Add lock elision support for s390.
3829         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3830         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3831         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3832         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3833         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3834         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3835         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3836         Likewise.
3837         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3838         Likewise.
3839         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3840         Likewise.
3841         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3842         Likewise.
3843         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3844         (__lll_timedlock_elision, __lll_lock_elision)
3845         (__lll_unlock_elision, __lll_trylock_elision)
3846         (lll_timedlock_elision, lll_lock_elision)
3847         (lll_unlock_elision, lll_trylock_elision): Add.
3848         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3849         (pthread_mutex_t): Add lock elision support for s390.
3850
3851 2014-05-14  Wilco  <wdijkstr@arm.com>
3852
3853         * sysdeps/arm/fclrexcpt.c: Cleanup.
3854         * sysdeps/arm/fedisblxcpt.c: Cleanup.
3855         * sysdeps/arm/feenablxcpt.c: Cleanup.
3856         * sysdeps/arm/fegetenv.c: Cleanup.
3857         * sysdeps/arm/fegetexcept.c: Cleanup.
3858         * sysdeps/arm/fegetround.c: Cleanup.
3859         * sysdeps/arm/feholdexcpt.c: Cleanup.
3860         * sysdeps/arm/fesetenv.c: Cleanup.
3861         * sysdeps/arm/fesetround.c: Cleanup.
3862         * sysdeps/arm/feupdateenv.c: Cleanup.
3863         * sysdeps/arm/fgetexcptflg.c: Cleanup.
3864         * sysdeps/arm/fraiseexcpt.c: Cleanup.
3865         * sysdeps/arm/fsetexcptflg.c: Cleanup.
3866         * sysdeps/arm/ftestexcept.c: Cleanup.
3867         * sysdeps/arm/get-rounding-mode.h: Cleanup.
3868         * sysdeps/arm/setfpucw.c: Cleanup.
3869
3870 2014-05-09  Will Newton  <will.newton@linaro.org>
3871
3872         * sysdeps/arm/armv7/strcmp.S: New file.
3873         * NEWS: Mention addition of ARMv7 optimized strcmp.
3874
3875 2014-05-08  Roland McGrath  <roland@hack.frob.com>
3876
3877         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3878         look for %.ac rather than %.in.
3879
3880         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3881         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3882         * sysdeps/mach/hurd/configure: Regenerated.
3883         * sysdeps/unix/sysv/linux/configure: Regenerated.
3884
3885         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3886
3887 2014-05-07  Steve Ellcey  <sellcey@mips.com>
3888
3889         [BZ# 16922]
3890         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3891         (LONG_SUB): Ditto.
3892         (PTR_SUB): Ditto.
3893
3894 2014-05-07  Andreas Schwab  <schwab@suse.de>
3895
3896         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3897         when skipping over non-matching result from nscd.
3898
3899 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
3900
3901         [BZ #16876]
3902         * nptl/sockperf.c (client): Check socket return value.
3903
3904         [BZ #16877]
3905         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3906         nscd security class.
3907
3908 2014-05-06  Roland McGrath  <roland@hack.frob.com>
3909
3910         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3911         * sysdeps/arm/unwind.h: ... here.
3912
3913 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
3914
3915         [BZ# 16916]
3916         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3917         Define.
3918
3919 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3920
3921         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3922         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3923         multiarch strncpy for PPC64.
3924         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3925         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3926         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3927         multiarch optimizations.
3928         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3929         (__libc_ifunc_impl_list): Likewise.
3930         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3931         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3932         multiarch stpncpy for PPC64.
3933         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3934         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3935
3936 2014-05-06  Andreas Schwab  <schwab@suse.de>
3937
3938         [BZ #16912]
3939         * gmon/mcount.c (_MCOUNT_DECL): Use
3940         atomic_compare_and_exchange_bool_acq instead of
3941         catomic_compare_and_exchange_bool_acq.
3942
3943 2014-05-05  Roland McGrath  <roland@hack.frob.com>
3944
3945         * elf/Makefile (others, install-bin): Remove pldd.
3946         (pldd-modules): Variable removed.
3947         ($(objpfx)pldd): Target removed.
3948         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3949         (others, install-bin): Append pldd here.
3950         ($(objpfx)pldd): New target.
3951
3952         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3953         to 0, so the first #if test emitted later doesn't see it undefined.
3954         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3955         * sysdeps/gnu/errlist.c: Regenerated.
3956
3957 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3958
3959         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3960         [libc_hidden_builtin_def]: Define to empty value.
3961         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3962         [libc_hidden_builtin_def]: Likewise.
3963         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3964         [libc_hidden_builtin_def]: Likewise.
3965         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3966         [libc_hidden_builtin_def]: Likewise.
3967         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3968         __redirect_memcpy and define ifunc as default hidden symbol.
3969         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3970         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3971
3972 2014-05-04  Adam Conrad  <adconrad@0c3.net>
3973
3974         * locale/iso-4217.def: Reintroduce XDR currency.
3975
3976 2014-05-04  Allan McRae  <allan@archlinux.org>
3977
3978         * po/eo.po: Update Esperanto translation from translation project.
3979
3980 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
3981
3982         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3983         and FEATURE_INDEX_MAX to 1.
3984         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3985
3986 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3987
3988         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3989         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3990         * iconvdata/big5.c (ONE_DIRECTION): Define.
3991         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3992         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3993         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3994         * iconvdata/cp932.c (ONE_DIRECTION): Define.
3995         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3996         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3997         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3998         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3999         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4000         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4001         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4002         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4003         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4004         * iconvdata/gbk.c (ONE_DIRECTION): Define.
4005         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4006         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4007         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4008         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4009         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4010         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4011         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4012         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4013         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4014         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4015         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4016         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4017         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4018         * iconvdata/iso646.c (ONE_DIRECTION): Define.
4019         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4020         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4021         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4022         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4023         * iconvdata/johab.c (ONE_DIRECTION): Define.
4024         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4025         * iconvdata/sjis.c (ONE_DIRECTION): Define.
4026         * iconvdata/t.61.c (ONE_DIRECTION): Define.
4027         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4028         * iconvdata/tscii.c (ONE_DIRECTION): Define.
4029         * iconvdata/uhc.c (ONE_DIRECTION): Define.
4030         * iconvdata/unicode.c (ONE_DIRECTION): Define.
4031         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4032         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4033         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4034
4035 2014-05-01  Roland McGrath  <roland@hack.frob.com>
4036
4037         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4038         (_IO_JUMPS_OFFSET): Define to 0.
4039
4040         * nptl/sysdeps/pthread/bits/libc-lock.h
4041         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4042         (__libc_lock_define_initialized_recursive): Always define using
4043         initializer.  Modern compilers treat uninitialized (implicit zero) and
4044         explicit zero initializers the same (i.e. put the datum in bss).
4045
4046 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4047
4048         * nscd/nscd-client.h: Include <string.h>.
4049
4050 2014-05-01  David S. Miller  <davem@davemloft.net>
4051
4052         [BZ #16885]
4053         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4054         multiple zero bytes exist at the end of a string.
4055         Reported by Aurelien Jarno <aurelien@aurel32.net>
4056
4057         * string/test-strcmp.c (check): Add explicit test for situations where
4058         there are multiple zero bytes after the first.
4059
4060 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4061
4062         [BZ #16890]
4063         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4064         when compiling wprintf.
4065         * stdio-common/tstdiomisc.c (t3): New function.
4066         (main): Call it.
4067
4068 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4069
4070         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4071         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4072         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4073         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4074
4075 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4076
4077         * stdlib/longlong.h: Updated from GCC.
4078
4079 2014-05-01  Will Newton  <will.newton@linaro.org>
4080             Bernard Ogden  <bernie.ogden@linaro.org>
4081
4082         * NEWS: Update fixed bug list.
4083
4084         [BZ #15119]
4085         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4086
4087 2014-04-30  David S. Miller  <davem@davemloft.net>
4088
4089         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4090         (libc_feholdexcept_setround_sparc_ctx): New function.
4091         (libc_fesetenv_sparc_ctx): Likewise.
4092         (libc_feupdateenv_sparc_ctx): Likewise.
4093         (libc_feholdsetround_sparc_ctx): Likewise.
4094         (libc_feholdexcept_setround_ctx): Define.
4095         (libc_feholdexcept_setroundf_ctx): Likewise.
4096         (libc_feholdexcept_setroundl_ctx): Likewise.
4097         (libc_fesetenv_ctx): Likewise.
4098         (libc_fesetenvf_ctx): Likewise.
4099         (libc_fesetenvl_ctx): Likewise.
4100         (libc_feupdateenv_ctx): Likewise.
4101         (libc_feupdateenvf_ctx): Likewise.
4102         (libc_feupdateenvl_ctx): Likewise.
4103         (libc_feresetround_ctx): Likewise.
4104         (libc_feresetroundf_ctx): Likewise.
4105         (libc_feresetroundl_ctx): Likewise.
4106         (libc_feholdsetround_ctx): Likewise.
4107         (libc_feholdsetroundf_ctx): Likewise.
4108         (libc_feholdsetroundl_ctx): Likewise.
4109
4110         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4111         with __USE_GNU instead of XOPEN cpp guards.
4112
4113         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4114         0.
4115
4116         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4117         with XOPEN cpp guards.
4118
4119 2014-04-30  Julian Brown  <julian@codesourcery.com>
4120
4121         [BZ #16888]
4122         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4123         handling.
4124
4125 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
4126
4127         [BZ #9894]
4128         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4129         Change to 2.6.32.
4130         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4131         * sysdeps/unix/sysv/linux/configure: Regenerated.
4132         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4133         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4134         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4135         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4136         * README: Update reference to required Linux kernel version.
4137         * manual/install.texi (Linux): Update reference to required Linux
4138         kernel headers version.
4139         * INSTALL: Regenerated.
4140
4141         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4142         header inclusion.
4143         [POSIX] (limits.h): Likewise.
4144         [POSIX] (math.h): Likewise.
4145         [POSIX] (sys/wait.h): Likewise.
4146         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4147         function.
4148         [POSIX] (stddef.h): Do not allow header inclusion.
4149
4150 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4151
4152         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4153
4154 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
4155
4156         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4157         Return immediately after lll_futex_wake.
4158
4159 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4160
4161         [BZ #16791]
4162         * nscd/nscd-client.h (datahead_init_common): Initialize entire
4163         structure.
4164         (datahead_init_pos): Call datahead_init_common early.
4165         (datahead_init_neg): Likewise.
4166
4167         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4168         datahead_init_neg): New functions.
4169         * nscd/aicache.c (addhstaiX): Use them.
4170         * nscd/grpcache.c (cache_addgr): Likewise.
4171         * nscd/hstcache.c (cache_addhst): Likewise.
4172         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4173         * nscd/netgroupcache.c (do_notfound): Likewise.
4174         (addgetnetgrentX): Likewise.
4175         (addinnetgrX): Likewise.
4176         * nscd/pwdcache.c (cache_addpw): Likewise.
4177         * nscd/servicescache.c (cache_addserv): Likewise.
4178
4179 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4180             Atsushi Onoe  <atsushi@onoe.org>
4181
4182         [BZ #14308]
4183         [BZ #12994]
4184         [BZ #13651]
4185         * resolv/res_query.c (__libc_res_nsearch): Return if at least
4186         one response is valid.
4187         * resolv/res_send.c (send_dg): Check for validity of other
4188         response if the current response is a referral.
4189
4190 2014-04-29  Steve Ellcey  <sellcey@mips.com>
4191
4192         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4193
4194 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
4195
4196         [BZ #16823]
4197         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4198         Always divide by positive zero when computing -Inf result.
4199         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4200         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4201
4202 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4203
4204         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4205         FPSCR if value do not change.
4206         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4207         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4208         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4209         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4210         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4211         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4212         function.
4213
4214 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
4215
4216         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4217         * sysdeps/unix/sysv/linux/hppa: Move directory from
4218         ports/systeps/unix/sysv/linux/hppa.
4219         * README: Update listing for hppa-*-linux-gnu.
4220
4221 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
4222
4223         [BZ #16754]
4224         * manual/stdio.texi (Hook functions): Fix types of stream hook
4225         functions.
4226         [BZ #16854]
4227         * socket/sys/socket.h: Fix typo in comment.
4228
4229 2014-04-28  Wilco  <wdijkstr@arm.com>
4230
4231         * sysdeps/arm/fenv_private.h: New file.
4232         * sysdeps/arm/math_private.h: New file.
4233         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4234
4235 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
4236
4237         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4238         with __int128_t.
4239         (La_x86_64_retval): Likewise.
4240
4241 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
4242
4243         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4244         fpsr if value didn't change.
4245         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4246         to fpcr if value didn't change.
4247         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4248         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4249         fpsr or fpcr if value didn't change.
4250         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4251         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4252         fpcr if value didn't change.
4253         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4254         to fpsr if value didn't change.
4255
4256 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4257
4258         * nptl/tst-sem3.c: Use test-skeleton.c
4259         (main): Rename to do_test.  Use return instead of
4260         exit.
4261         * nptl/tst-sem4.c: Use test-skeleton.c
4262         (main): Rename to do_test.
4263
4264 2014-04-22  David S. Miller  <davem@davemloft.net>
4265
4266         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4267         (struct sigaction): New struct member __glibc_reserved0, change
4268         type of sa_flags to int.
4269
4270 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
4271
4272         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4273         (COUNT_LEADING_ZEROS_0): Define for AArch64.
4274
4275 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4276
4277         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4278         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4279
4280 2014-04-22  Will Newton  <will.newton@linaro.org>
4281             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
4282
4283         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4284         (__longjmp): Add longjmp and longjmp_target SystemTap
4285         probes.
4286         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4287         (__sigsetjmp): Add setjmp SystemTap probe.
4288
4289 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
4290
4291         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4292         match manual order.
4293
4294 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4295
4296         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4297
4298         * sysdeps/powerpc/fpu/fenv_private.h
4299         (libc_feholdexcept_setroundl_ctx): Define to
4300         libc_feholdexcept_setround_ppc_ctx.
4301         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4302         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4303         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4304         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4305
4306 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4307
4308         * sysdeps/aarch64/math-tests.h: New file.
4309
4310 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
4311
4312         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4313         New.
4314         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4315         Check and set bit_AVX2_Usable.
4316         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4317         macro.
4318         (bit_AVX2): Likewise.
4319         (index_AVX2_Usable): Likewise.
4320         (CPUID_AVX2): Likewise.
4321         (HAS_AVX2): Likewise.
4322
4323 2014-04-17  Will Newton  <will.newton@linaro.org>
4324
4325         * manual/setjmp.texi (System V contexts): Add note that
4326         calling setcontext on a context created by a call to a
4327         signal handler is undefined.  Update text to note that
4328         setcontext from a signal handler is possible but not
4329         recommended.
4330
4331         [BZ #16629]
4332         * stdlib/tst-setcontext.c: Include signal.h.
4333         (main): Check that the signal stack before and
4334         after swapcontext is the same.
4335
4336         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4337         Re-implement to restore registers in user code and avoid
4338         rt_sigreturn system call.
4339
4340 2014-04-17  Wilco  <wdijkstr@arm.com>
4341
4342         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4343         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4344         * math/test-fenv.c: Skip exception trap tests on targets which only
4345         support non-stop mode.
4346
4347 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4348             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4349
4350         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4351         (libc_feholdsetround_aarch64_ctx)
4352         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4353         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4354         (libc_feresetround_ctx, libc_feresetroundf_ctx)
4355         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4356         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4357         (libc_feresetround_noexl_ctx): Define.
4358
4359 2014-04-16  Richard Henderson  <rth@redhat.com>
4360
4361         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4362
4363         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4364         unwind tables.
4365
4366         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4367         const from the non-libc, non-ldso copy.
4368
4369         * sysdeps/alpha/libm-test-ulps: Regenerate.
4370
4371 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
4372             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4373
4374         * sysdeps/aarch64/fpu/math_private.h: New file.
4375
4376 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4377
4378         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4379
4380 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
4381
4382         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4383         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4384         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4385         Intel MPX bound registers before _dl_profile_fixup.
4386         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4387         registers after _dl_profile_fixup.  Save and restore bound
4388         registers bnd0/bnd1 when calling _dl_call_pltexit.
4389         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4390         (LR_BND_OFFSET): Likewise.
4391         (LRV_BND0_OFFSET): Likewise.
4392         (LRV_BND1_OFFSET): Likewise.
4393
4394 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4395
4396         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4397         to...
4398         * sysdeps/mach/hurd/i386/tls.h: ... here.
4399         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4400         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4401         fields.
4402
4403 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4404
4405         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4406
4407 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4408
4409         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4410
4411 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4412
4413         [BZ #14770]
4414         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4415         * sysdeps/s390/configure: Regenerate.
4416
4417         [BZ #16824]
4418         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4419         Set round-to-nearest internally to reduce error accumulation.
4420
4421 2014-04-16  Alan Modra  <amodra@gmail.com>
4422
4423         [BZ #16740]
4424         [BZ #16619]
4425         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4426         * math/libm-test.inc (frexp_test_data): Add tests.
4427         * NEWS: Update fixed bug list.
4428
4429 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4430
4431         * benchtests/Makefile: Depend on libraries in build directory.
4432         (bench-math): Separate out math tests.
4433         (bench-pthread): Separate out pthread tests.
4434         (bench): Include math and pthread tests.
4435
4436 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
4437
4438         [BZ #16831]
4439         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4440         _dl_debug_initialize.
4441
4442         * configure.ac: Remove SELinux header check.
4443         * configure: Regenerate.
4444         * nscd/selinux.c (perms): Array of const char* to permission names.
4445         (nscd_request_avc_has_perm): Call security_deny_unknown to find
4446         default policy. Call string_to_security_class and string_to_av_perm to
4447         translate strings. Enforce default policy and call avs_has_perm with
4448         results of translated strings.
4449
4450 2014-04-13  David S. Miller  <davem@davemloft.net>
4451
4452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4453
4454 2014-04-12  Allan McRae  <allan@archlinux.org>
4455
4456         [BZ #16838]
4457         * manual/string.texi (Collation Functions): Fix qsort argument
4458         order in example.
4459         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4460
4461 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
4462
4463         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4464         Make the test a no-op if there are no exceptions defined.
4465
4466 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4467
4468         * elf/Makefile (tests): make tst-dlopen-aout conditional on
4469         enable-hardcoded-path-in-tests
4470
4471 2014-04-11  Will Newton  <will.newton@linaro.org>
4472
4473         * benchtests/Makefile (extra-objs): Add json-lib.o.
4474         (bench-func): Tidy up JSON output.
4475         * benchtests/bench-skeleton.c: Include json-lib.h.
4476         (main): Use JSON library functions to do output of
4477         benchmark results.
4478         * benchtests/bench-timing-type.c (main): Output the
4479         timing type simply, leaving formatting to the user.
4480         * benchtests/json-lib.c: New file.
4481         * benchtests/json-lib.h: Likewise.
4482
4483 2014-04-11  Torvald Riegel  <triegel@redhat.com>
4484
4485         [BZ #15215]
4486         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4487         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
4488         memory barriers.  Add comments.
4489         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4490         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4491         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4492         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4493         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4494         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4495
4496 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4497
4498         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4499         * sysdeps/s390/s390-64/configure.ac: ... this ...
4500         * sysdeps/s390/configure.ac: ... to here.
4501         * sysdeps/s390/s390-32/configure: Delete file.
4502         * sysdeps/s390/s390-64/configure: Delete file.
4503         * sysdeps/s390/configure: Regenerate.
4504
4505 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
4506
4507         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4508
4509 2014-04-11  Will Newton  <will.newton@linaro.org>
4510
4511         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4512         to zero if it is not defined elsewhere.  (mtrim): Test
4513         the value of MALLOC_DEBUG with #if rather than #ifdef.
4514
4515 2014-04-10 Torvald Riegel  <triegel@redhat.com>
4516
4517         * benchtests/pthread_once-inputs: New file.
4518         * benchtests/pthread_once-source.c: New file.
4519         * benchtests/README: Update documentation.
4520
4521 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
4522             H.J. Lu  <hongjiu.lu@intel.com>
4523
4524         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4525         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4526         * sysdeps/x86_64/configure: Regenerated.
4527         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4528         macro.
4529         (REGISTER_SAVE_RAX): Likewise.
4530         (REGISTER_SAVE_RCX): Likewise.
4531         (REGISTER_SAVE_RDX): Likewise.
4532         (REGISTER_SAVE_RSI): Likewise.
4533         (REGISTER_SAVE_RDI): Likewise.
4534         (REGISTER_SAVE_R8): Likewise.
4535         (REGISTER_SAVE_R9): Likewise.
4536         (REGISTER_SAVE_BND0): Likewise.
4537         (REGISTER_SAVE_BND1): Likewise.
4538         (REGISTER_SAVE_BND2): Likewise.
4539         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
4540         bound registers when calling _dl_fixup.
4541
4542 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4543
4544         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4545         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4546         of its definition.
4547         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4548         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4549         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4550         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4551         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4552         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4553         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4554
4555 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
4556
4557         [BZ #15514]
4558         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4559         pathconf(_PC_NAME_MAX).
4560
4561 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4562
4563         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4564         Remove macro usage.
4565         (__PTHREAD_SPINS): Move definition to ...
4566         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4567         (__PTHREAD_SPINS): ... here.
4568         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4569         (__PTHREAD_SPIN): Likewise.
4570         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4571         (__PTHREAD_SPIN): Likewise.
4572         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4573         (__PTHREAD_SPIN): Likewise.
4574         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4575         (__PTHREAD_SPIN): Likewise.
4576         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4577         (__PTHREAD_SPIN): Likewise.
4578         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4579         (__PTHREAD_SPIN): Likewise.
4580         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4581         (__PTHREAD_SPIN): Likewise.
4582         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4583         (__PTHREAD_SPIN): Likewise.
4584         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4585         (__PTHREAD_SPIN): Likewise.
4586         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4587         (__PTHREAD_SPIN): Likewise.
4588         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4589         (__PTHREAD_SPIN): Likewise.
4590         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4591         (__PTHREAD_SPIN): Likewise.
4592
4593         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4594         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4595         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4596         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4597         imply folder.
4598         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4599         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4600         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4601         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4602         correct imply path.
4603         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4604         strlen symbol for non multi-arch builds.
4605         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4606         missing hidden_def and weak_alias.
4607
4608 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
4609
4610         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4611
4612 2014-04-07  Will Newton  <will.newton@linaro.org>
4613
4614         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4615         and contents.  [!_LIBC] Remove #ifndef and contents.
4616         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
4617         * string/memccpy.c (__memccpy): Use ANSI prototype.
4618         * string/memfrob.c (memfrob): Likewise.
4619         * string/strcoll.c (STRCOLL): Likewise.
4620         * string/strlen.c (strlen): Likewise.
4621         * string/strtok.c (STRTOK): Likewise.
4622         * string/strcat.c: Remove unused #include of memcopy.h.
4623         (strcat): Use ANSI prototype.
4624         * string/strchr.c: Remove unused #include of memcopy.h.
4625         (strchr): Use ANSI prototype.
4626         * string/strcmp.c: Remove unused #include of memcopy.h.
4627         (strcmp): Use ANSI prototype.
4628         * string/strcpy.c: Remove unused #include of memcopy.h.
4629         (strcpy): Use ANSI prototype.
4630
4631 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4632
4633         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4634         * config.make.in (config-extra-cppflags): Set it from
4635         libc_extra_cppflags.
4636         * configure.ac (libc_extra_cflags): Make it accumulate over
4637         configure fragments.
4638         (libc_extra_cppflags): New flag.
4639         * configure. Regenerate.
4640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4641         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4642         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4644
4645         [BZ #16815]
4646         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4647         result for FE_DOWNWARD rounding mode.
4648         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4649         Likewise.
4650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4651
4652 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
4653
4654         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4655         in function argument name.
4656
4657 2014-04-03  David Svoboda  <svoboda@cert.org>
4658
4659         [BZ #5666]
4660         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4661         explicitly.
4662
4663 2014-04-03  Roland McGrath  <roland@hack.frob.com>
4664
4665         * elf/dl-unmap-segments.h: New file.
4666         * sysdeps/generic/ldsodefs.h
4667         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4668         * elf/dl-close.c: Include <dl-unmap-segments.h>.
4669         * elf/dl-fptr.c: Likewise.
4670         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4671         * sysdeps/aarch64/tlsdesc.c: Likewise.
4672         * sysdeps/arm/tlsdesc.c: Likewise.
4673         * sysdeps/i386/tlsdesc.c: Likewise.
4674         * sysdeps/tile/dl-runtime.c: Likewise.
4675         * sysdeps/x86_64/tlsdesc.c: Likewise.
4676         * elf/dl-load.h: New file.
4677         * elf/dl-load.c: Include it.
4678         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4679         Macros moved to dl-load.h.
4680         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4681         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4682         Use _dl_unmap_segments in place of __munmap.
4683         Break out segment-mapping loop into ...
4684         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4685
4686 2014-04-03  Will Newton  <will.newton@linaro.org>
4687
4688         * elf/dl-lookup.c (do_lookup_x): Remove comment
4689         referring to nested function and move variable
4690         declarations down to before first use.
4691
4692 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
4693
4694         [BZ #16799]
4695         [BZ #16800]
4696         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4697         with 0 numerator.
4698         * math/s_catanf.c (__catanf): Likewise.
4699         * math/s_catanh.c (__catanh): Likewise.
4700         * math/s_catanhf.c (__catanhf): Likewise.
4701         * math/s_catanhl.c (__catanhl): Likewise.
4702         * math/s_catanl.c (__catanl): Likewise.
4703         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4704         by positive zero when computing -Inf result.
4705         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4706         (catanh_test): Likewise.
4707         * sysdeps/i386/fpu/libm-test-ulps: Update.
4708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4709
4710         [BZ #16789]
4711         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4712         instead of using underflowing value in computing result.
4713         * math/s_clog10.c (__clog10): Likewise.
4714         * math/s_clog10f.c (__clog10f): Likewise.
4715         * math/s_clog10l.c (__clog10l): Likewise.
4716         * math/s_clogf.c (__clogf): Likewise.
4717         * math/s_clogl.c (__clogl): Likewise.
4718         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4719         (clog10_test): Likewise.
4720         * sysdeps/i386/fpu/libm-test-ulps: Update.
4721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4722
4723 2014-04-02  Alan Modra  <amodra@gmail.com>
4724
4725         [BZ #16739]
4726         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4727         output when value is near a power of two.  Use int64_t for lx and
4728         remove casts.  Use decimal rather than hex exponent constants.
4729         Don't use long double multiplication when double will suffice.
4730         * math/libm-test.inc (nextafter_test_data): Add tests.
4731         * NEWS: Add 16739 and 16786 to bug list.
4732
4733         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4734
4735         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4736
4737 2014-04-01  Will Newton  <will.newton@linaro.org>
4738
4739         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4740         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
4741
4742 2014-04-01  Florian Weimer  <fweimer@redhat.com>
4743
4744         [BZ #13347]
4745         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4746         * nptl/tst-setuid2.c: New file.
4747         * nptl/Makefile (xtests): Add tst-setuid2.
4748
4749 2014-04-01  Alan Modra  <amodra@gmail.com>
4750
4751         [BZ #16786]
4752         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4753
4754 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
4755
4756         [BZ #6803]
4757         [BZ #6804]
4758         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4759         set errno as appropriate.
4760         * math/w_scalbf.c (__scalbf): Likewise.
4761         * math/w_scalbl.c (__scalbl): Likewise.
4762         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4763         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4764         * math/libm-test.inc (scalb_test_data): Add errno expectations.
4765         Add more NaN tests.
4766
4767         [BZ #16349]
4768         * math/w_atan2.c: Include <errno.h>.
4769         (__atan2): Set errno for result underflowing to zero.
4770         * math/w_atan2f.c: Include <errno.h>.
4771         (__atan2f): Set errno for result underflowing to zero.
4772         * math/w_atan2l.c: Include <errno.h>.
4773         (__atan2l): Set errno for result underflowing to zero.
4774         * math/auto-libm-test-in: Don't allow missing errno for some atan2
4775         tests.
4776         * math/auto-libm-test-out: Regenerated.
4777
4778 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4779
4780         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4781         Encode instruction correctly in little endian.
4782         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4783         Likewise.
4784         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4785         Likewise.
4786         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4787         Likewise.
4788         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4789         Likewise.
4790
4791 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
4792
4793         [BZ #9894]
4794         * sysdeps/unix/sysv/linux/kernel-features.h
4795         [__sparc__ && !__arch64__ && !__sparc_v9__]
4796         (__ASSUME_SET_ROBUST_LIST): Do not define.
4797         [__sparc__ && !__arch64__ && !__sparc_v9__]
4798         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4799         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4800         Likewise.
4801         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4802         (__ASSUME_FUTEX_LOCK_PI): Undefine.
4803         (__ASSUME_REQUEUE_PI): Likewise.
4804         (__ASSUME_SET_ROBUST_LIST): Likewise.
4805         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4806         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4807         Undefine.
4808         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4809         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4810         Likewise.
4811         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4812         Likewise.
4813         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4814         Likewise.
4815         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4816         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4817         Undefine.
4818         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4819         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4820         Likewise.
4821
4822         [BZ #16648]
4823         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4824         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4825         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4826
4827 2014-03-31  Will Newton  <will.newton@linaro.org>
4828
4829         * benchtests/Makefile (bench): Add ffs and ffsll to list
4830         of tests.
4831         * benchtests/ffs-inputs: New file.
4832         * benchtests/ffsll-inputs: Likewise.
4833
4834 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
4835
4836         [BZ #16770]
4837         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4838         too large before casting to int.
4839         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4840         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4841         * math/libm-test.inc (scalb_test_data): Add more tests.
4842
4843 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4844
4845         * benchtests/Makefile (DETAILED_OPT): New make option.
4846         (bench-func): Run benchmark program with -d if DETAILED_OPT is
4847         set.
4848         * benchtests/bench-skeleton.c: Include stdbool.h.
4849         (main): Store and print timings per input.
4850         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4851         member to each argument value.
4852         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4853         (_print_arg_data): Initialize per-input timing to 0.
4854
4855         * benchtests/Makefile (timing-type): New binary.
4856         (bench-clean): Also remove bench-timing-type.
4857         (bench): New target for timing-type.
4858         (bench-func): Print output in JSON format.
4859         * benchtests/bench-skeleton.c (main): Print output in JSON
4860         format.
4861         * benchtests/bench-timing-type.c: New file.
4862         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4863         (TIMING_PRINT_STATS): Remove.
4864         * benchtests/scripts/bench.py (_print_arg_data): Store variant
4865         name separately.
4866
4867         * benchtests/bench-modf.c: Remove.
4868         * benchtests/modf-inputs: New inputs file.
4869
4870 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
4871
4872         [BZ #16362]
4873         * math/s_clog10.c (M_PI_LOG10E): New macro.
4874         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4875         imaginary parts are 0.
4876         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4877         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4878         imaginary parts are 0.
4879         * math/s_clog10l.c (M_PI_LOG10El): New macro.
4880         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4881         imaginary parts are 0.
4882         * math/libm-test.inc (clog10_test_data): Update expected results
4883         for when real and imaginary parts are 0.
4884
4885 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
4886
4887         * elf/dl-load.c: Finish conversion of __builtin_expect into
4888         __glibc_{un}likely.
4889
4890 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
4891
4892         [BZ #16348]
4893         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4894         1+x for argument with exponent below -67.
4895         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4896         Likewise.
4897         * math/auto-libm-test-in: Add more tests of exp.
4898         * math/auto-libm-test-out: Regenerated.
4899
4900 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4901
4902         [BZ #16759]
4903         * inet/getnetgrent_r.c (get_nonempty_val): New function.
4904         (nscd_getnetgrent): Use it.
4905
4906         [BZ #16760]
4907         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4908         of stpcpy.
4909
4910 2014-03-27  Andi Kleen  <ak@linux.intel.com>
4911
4912         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4913         (lll_robust_lock, lll_cond_lock, lll_timedlock)
4914         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4915         (lll_robust_unlock): Remove out of line section. Use cfi
4916         intrinsics.
4917         (LLL_STUB_UNWIND_INFO*): Remove.
4918         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4919         (lll_robust_lock, lll_cond_lock, lll_timedlock)
4920         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4921         (lll_robust_unlock): Remove out of line section. Use cfi
4922         intrinsics.
4923         (LLL_STUB_UNWIND_INFO*): Remove.
4924
4925 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4926
4927         [BZ #16758]
4928         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4929         blank values.
4930
4931 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
4932
4933         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4934
4935 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
4936
4937         [BZ #16198]
4938         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4939         fnstenv.
4940         * math/test-fenv-preserve.c: New file.
4941         * math/Makefile (tests): Add test-fenv-preserve.
4942
4943 2014-03-26  Will Newton <will.newton@linaro.org>
4944
4945         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4946
4947 2014-03-25  Roland McGrath  <roland@hack.frob.com>
4948
4949         * scripts/versionlist.awk: Partition the version sets and emit all
4950         GLIBC_* (sorted) before all others (sorted).
4951
4952 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
4953
4954         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4955         GLIBC_2.2.5 version.
4956
4957 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4958
4959         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4960         calls.
4961
4962         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4963         previous change.
4964
4965         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4966
4967 2014-03-25  Andreas Schwab  <schwab@suse.de>
4968
4969         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4970         label to be used after in6ailist is initialized.
4971
4972 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4973
4974         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4975         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4976
4977 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
4978
4979         [BZ #16357]
4980         [BZ #16599]
4981         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4982         min_plus_half.
4983         (fp_formats): Update initializers.
4984         (init_fp_formats): Initialize new field.
4985         (output_for_one_input_case): Allow underflow for results up to
4986         min_plus_half.
4987         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4988         * math/auto-libm-test-in: Don't mark some underflows from asin and
4989         atanh as spurious.
4990         * math/auto-libm-test-out: Regenerated.
4991         * sysdeps/i386/fpu/libm-test-ulps: Update.
4992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4993
4994 2014-03-25  Andreas Schwab  <schwab@suse.de>
4995
4996         * libio/Makefile (tst-ftell-partial-wide-ENV)
4997         (tst-ftell-active-handler-ENV): Define.
4998
4999 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
5000
5001         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5002
5003 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5004
5005         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5006
5007 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5008
5009         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5010         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5011         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5012
5013 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5014
5015         [BZ #16634]
5016         * elf/dl-load.c (open_verify): Add mode parameter.
5017         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5018         (open_path): Change from boolean 'secure' to complete flag 'mode'
5019         (_dl_map_object): Adjust.
5020         * elf/Makefile (tests): Add tst-dlopen-aout.
5021         * elf/tst-dlopen-aout.c: New test.
5022
5023 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
5024
5025         [BZ #16714]
5026         * sysdeps/unix/sysv/linux/s390/bits/stat.h
5027         (struct stat): Rename member pad0 to __glibc_reserved0.
5028
5029         [BZ #16712]
5030         * sysdeps/s390/s390-32/bits/wordsize.h
5031         (__WORDSIZE32_SIZE_ULONG): New define.
5032         * sysdeps/s390/s390-64/bits/wordsize.h
5033         (__WORDSIZE32_SIZE_ULONG): Likewise.
5034         * sysdeps/generic/stdint.h (SIZE_MAX):
5035         Define as UL if __WORDSIZE32_SIZE_ULONG.
5036
5037         [BZ #16713]
5038         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5039         (__glibc_reserved0): New variable.
5040         (sa_flags): Change type to int.
5041
5042         * posix/Makefile (before-compile): Use += before-compile instead
5043         of a :=.
5044
5045         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5046         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5047
5048 2014-03-20  Andreas Schwab  <schwab@suse.de>
5049
5050         [BZ #16743]
5051         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5052         non-matching result from nscd.
5053
5054 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5055
5056         * scripts/bench.py: Moved to ...
5057         * benchtests/scripts/bench.py: ... here.
5058         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5059
5060 2014-03-24  Andreas Schwab  <schwab@suse.de>
5061
5062         [BZ #16002]
5063         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5064         alloca_account and account alloca use for struct in6ailist.
5065
5066 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5067
5068         [BZ #16284]
5069         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5070         rounding mode to recompute results that overflow to infinity or
5071         underflow to zero.
5072         * math/auto-libm-test-in: Don't mark tests as expected to fail for
5073         bug 16284.
5074         * math/auto-libm-test-out: Regenerated.
5075         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5076         (ccosh_test): Likewise.
5077         (csin_test_data): Use plus_oflow.
5078         (csin_test): Use ALL_RM_TEST.
5079         (csinh_test_data): Use plus_oflow.
5080         (csinh_test): Use ALL_RM_TEST.
5081         * sysdeps/i386/fpu/libm-test-ulps: Update.
5082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5083
5084 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
5085
5086         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5087         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5088         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5089
5090         [BZ #16731]
5091         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5092         when x - 1 is zero.
5093         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5094         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5095         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5096         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5097         argument is 1.
5098         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5099         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5100         zero.
5101         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5102         * sysdeps/i386/fpu/libm-test-ulps: Update.
5103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5104
5105 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5106
5107         * scripts/bench.pl: Remove file.
5108         * scripts/bench.py: New benchmark script.
5109         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5110         * benchtests/README: Mention python dependency.
5111         * scripts/pylintrc: New file.
5112         * scripts/pylint: New file.
5113
5114         * bits/mathdef.h: Use #ifdef instead of #if.
5115         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5116         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5117         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5118         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5119         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5120         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5121
5122 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5123             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5124
5125         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5126         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5127         and strpbrk-ppc64 objects.
5128         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5129         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5130         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5131         multiarch strpbrk for POWER7.
5132         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5133         multiarch strpbrk for PPC64.
5134         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5135         ifunc selector.
5136         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5137         strpbrk for POWER7.
5138
5139 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5140
5141         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5142         (atan_test): Likewise.
5143         (atanh_test_data): Use NO_TEST_INLINE for two tests.
5144         (atanh_test): Use ALL_RM_TEST.
5145         (atan2_test_data): Likewise.
5146         (cabs_test): Likewise.
5147         (cacosh_test): Likewise.
5148         (carg_test): Likewise.
5149         (casin_test): Likewise.
5150         (casinh_test): Likewise.
5151         (cbrt_test): Likewise.
5152         (csqrt_test): Likewise.
5153         (erf_test): Likewise.
5154         (erfc_test): Likewise.
5155         (pow10_test): Likewise.
5156         (exp2_test): Likewise.
5157         (hypot_test): Likewise.
5158         (j0_test): Likewise.
5159         (j1_test): Likewise.
5160         (lgamma_test): Likewise.
5161         (gamma_test): Likewise.
5162         (sincos_test): Likewise.
5163         (tanh_test): Likewise.
5164         (y0_test): Likewise.
5165         (y1_test): Likewise.
5166         * sysdeps/i386/fpu/libm-test-ulps: Update.
5167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5168
5169 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5170
5171         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5172         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5173         and strcspn-ppc64 objects.
5174         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5175         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5176         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5177         multiarch strcspn for POWER7.
5178         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5179         multiarch strcspn for PPC64.
5180         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5181         ifunc selector.
5182         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5183         strcspn for POWER7.
5184
5185 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5186
5187         * math/gen-libm-test.pl (generate_testfile): Expect only function
5188         name as argument to AUTO_TESTS_* and pass results for all rounding
5189         modes to parse_args.
5190         (parse_auto_input): Separate inputs of automatic tests from
5191         outputs before storing in %auto_tests.
5192         * math/libm-test.inc (acos_test_data): Update call to
5193         AUTO_TESTS_f_f.
5194         (acos_test): Use ALL_RM_TEST.
5195         (acos_tonearest_test_data): Remove.
5196         (acos_test_tonearest): Likewise.
5197         (acos_towardzero_test_data): Likewise.
5198         (acos_test_towardzero): Likewise.
5199         (acos_downward_test_data): Likewise.
5200         (acos_test_downward): Likewise.
5201         (acos_upward_test_data): Likewise.
5202         (acos_test_upward): Likewise.
5203         (acosh_test_data): Update call to AUTO_TESTS_f_f.
5204         (asin_test_data): Likewise.
5205         (asin_test): Use ALL_RM_TEST.
5206         (asin_tonearest_test_data): Remove.
5207         (asin_test_tonearest): Likewise.
5208         (asin_towardzero_test_data): Likewise.
5209         (asin_test_towardzero): Likewise.
5210         (asin_downward_test_data): Likewise.
5211         (asin_test_downward): Likewise.
5212         (asin_upward_test_data): Likewise.
5213         (asin_test_upward): Likewise.
5214         (asinh_test_data): Update call to AUTO_TESTS_f_f.
5215         (atan_test_data): Likewise.
5216         (atanh_test_data): Likewise.
5217         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5218         (cabs_test_data): Update call to AUTO_TESTS_c_f.
5219         (carg_test_data): Likewise.
5220         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5221         (ccos_test_data): Update call to AUTO_TESTS_c_c.
5222         (ccosh_test_data): Likewise.
5223         (cexp_test_data): Likewise.
5224         (clog_test_data): Likewise.
5225         (clog10_test_data): Likewise.
5226         (cos_test_data): Update call to AUTO_TESTS_f_f.
5227         (cos_test): Use ALL_RM_TEST.
5228         (cos_tonearest_test_data): Remove.
5229         (cos_test_tonearest): Likewise.
5230         (cos_towardzero_test_data): Likewise.
5231         (cos_test_towardzero): Likewise.
5232         (cos_downward_test_data): Likewise.
5233         (cos_test_downward): Likewise.
5234         (cos_upward_test_data): Likewise.
5235         (cos_test_upward): Likewise.
5236         (cosh_test_data): Update call to AUTO_TESTS_f_f.
5237         (cosh_test): Use ALL_RM_TEST.
5238         (cosh_tonearest_test_data): Remove.
5239         (cosh_test_tonearest): Likewise.
5240         (cosh_towardzero_test_data): Likewise.
5241         (cosh_test_towardzero): Likewise.
5242         (cosh_downward_test_data): Likewise.
5243         (cosh_test_downward): Likewise.
5244         (cosh_upward_test_data): Likewise.
5245         (cosh_test_upward): Likewise.
5246         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5247         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5248         (ctan_test_data): Likewise.
5249         (ctan_test): Use ALL_RM_TEST.
5250         (ctan_tonearest_test_data): Remove.
5251         (ctan_test_tonearest): Likewise.
5252         (ctan_towardzero_test_data): Likewise.
5253         (ctan_test_towardzero): Likewise.
5254         (ctan_downward_test_data): Likewise.
5255         (ctan_test_downward): Likewise.
5256         (ctan_upward_test_data): Likewise.
5257         (ctan_test_upward): Likewise.
5258         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5259         (ctanh_test): Use ALL_RM_TEST.
5260         (ctanh_tonearest_test_data): Remove.
5261         (ctanh_test_tonearest): Likewise.
5262         (ctanh_towardzero_test_data): Likewise.
5263         (ctanh_test_towardzero): Likewise.
5264         (ctanh_downward_test_data): Likewise.
5265         (ctanh_test_downward): Likewise.
5266         (ctanh_upward_test_data): Likewise.
5267         (ctanh_test_upward): Likewise.
5268         (erf_test_data): Update call to AUTO_TESTS_f_f.
5269         (erfc_test_data): Likewise.
5270         (exp_test_data): Likewise.
5271         (exp_test): Use ALL_RM_TEST.
5272         (exp_tonearest_test_data): Remove.
5273         (exp_test_tonearest): Likewise.
5274         (exp_towardzero_test_data): Likewise.
5275         (exp_test_towardzero): Likewise.
5276         (exp_downward_test_data): Likewise.
5277         (exp_test_downward): Likewise.
5278         (exp_upward_test_data): Likewise.
5279         (exp_test_upward): Likewise.
5280         (exp10_test_data): Update call to AUTO_TESTS_f_f.
5281         (exp10_test): Use ALL_RM_TEST.
5282         (exp10_tonearest_test_data): Remove.
5283         (exp10_test_tonearest): Likewise.
5284         (exp10_towardzero_test_data): Likewise.
5285         (exp10_test_towardzero): Likewise.
5286         (exp10_downward_test_data): Likewise.
5287         (exp10_test_downward): Likewise.
5288         (exp10_upward_test_data): Likewise.
5289         (exp10_test_upward): Likewise.
5290         (exp2_test_data): Update call to AUTO_TESTS_f_f.
5291         (expm1_test_data): Likewise.
5292         (expm1_test): Use ALL_RM_TEST.
5293         (expm1_tonearest_test_data): Remove.
5294         (expm1_test_tonearest): Likewise.
5295         (expm1_towardzero_test_data): Likewise.
5296         (expm1_test_towardzero): Likewise.
5297         (expm1_downward_test_data): Likewise.
5298         (expm1_test_downward): Likewise.
5299         (expm1_upward_test_data): Likewise.
5300         (expm1_test_upward): Likewise.
5301         (fma_test_data): Update call to AUTO_TESTS_fff_f.
5302         (fma_test): Use ALL_RM_TEST.
5303         (fma_towardzero_test_data): Remove.
5304         (fma_test_towardzero): Likewise.
5305         (fma_downward_test_data): Likewise.
5306         (fma_test_downward): Likewise.
5307         (fma_upward_test_data): Likewise.
5308         (fma_test_upward): Likewise.
5309         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5310         (j0_test_data): Update call to AUTO_TESTS_f_f.
5311         (j1_test_data): Likewise.
5312         (jn_test_data): Update call to AUTO_TESTS_if_f.
5313         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5314         (log_test_data): Update call to AUTO_TESTS_f_f.
5315         (log10_test_data): Likewise.
5316         (log1p_test_data): Likewise.
5317         (log2_test_data): Likewise.
5318         (pow_test_data): Update call to AUTO_TESTS_ff_f.
5319         (pow_tonearest_test_data): Likewise.
5320         (sin_test_data): Update call to AUTO_TESTS_f_f.
5321         (sin_test): Use ALL_RM_TEST.
5322         (sin_tonearest_test_data): Remove.
5323         (sin_test_tonearest): Likewise.
5324         (sin_towardzero_test_data): Likewise.
5325         (sin_test_towardzero): Likewise.
5326         (sin_downward_test_data): Likewise.
5327         (sin_test_downward): Likewise.
5328         (sin_upward_test_data): Likewise.
5329         (sin_test_upward): Likewise.
5330         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5331         (sinh_test_data): Update call to AUTO_TESTS_f_f.
5332         (sinh_test): Use ALL_RM_TEST.
5333         (sinh_tonearest_test_data): Remove.
5334         (sinh_test_tonearest): Likewise.
5335         (sinh_towardzero_test_data): Likewise.
5336         (sinh_test_towardzero): Likewise.
5337         (sinh_downward_test_data): Likewise.
5338         (sinh_test_downward): Likewise.
5339         (sinh_upward_test_data): Likewise.
5340         (sinh_test_upward): Likewise.
5341         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5342         (sqrt_test): Use ALL_RM_TEST.
5343         (sqrt_tonearest_test_data): Remove.
5344         (sqrt_test_tonearest): Likewise.
5345         (sqrt_towardzero_test_data): Likewise.
5346         (sqrt_test_towardzero): Likewise.
5347         (sqrt_downward_test_data): Likewise.
5348         (sqrt_test_downward): Likewise.
5349         (sqrt_upward_test_data): Likewise.
5350         (sqrt_test_upward): Likewise.
5351         (tan_test_data): Update call to AUTO_TESTS_f_f.
5352         (tan_test): Use ALL_RM_TEST.
5353         (tan_tonearest_test_data): Remove.
5354         (tan_test_tonearest): Likewise.
5355         (tan_towardzero_test_data): Likewise.
5356         (tan_test_towardzero): Likewise.
5357         (tan_downward_test_data): Likewise.
5358         (tan_test_downward): Likewise.
5359         (tan_upward_test_data): Likewise.
5360         (tan_test_upward): Likewise.
5361         (tanh_test_data): Update call to AUTO_TESTS_f_f.
5362         (tgamma_test_data): Likewise.
5363         (y0_test_data): Likewise.
5364         (y1_test_data): Likewise.
5365         (yn_test_data): Update call to AUTO_TESTS_if_f.
5366         (main): Do not call removed functions.
5367
5368 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5369
5370         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5371         (ldexp_test_data): Remove.
5372         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
5373         scalbn_test_data.
5374         (scalb_test): Use ALL_RM_TEST.
5375
5376 2014-03-19  Andreas Schwab  <schwab@suse.de>
5377
5378         * nscd/nscd.service: Also invalidate netgroup cache on reload.
5379
5380 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5381
5382         [BZ #16649]
5383         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5384         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5385         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5386         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5387         (__ASSUME_PREADV): Undefine.
5388         (__ASSUME_PWRITEV): Likewise.
5389
5390 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5391
5392         * bits/mman-linux.h: Add comment about non-Linux use.
5393         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5394         bits/mman-linux.h resting place.
5395
5396         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5397         * bits/mman-linux.h: ... here.
5398
5399 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5400
5401         * conform/conformtest.pl: Add standard definition when calling C
5402         preprocessor on data files.
5403         (checknamespace): Remove unused variable.
5404
5405 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5406
5407         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5408         minus_oflow, plus_uflow and minus_uflow in expected results.
5409         * math/libm-test.inc (scalbn_test_data): Add more tests of
5410         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
5411         minus_uflow.
5412         (scalbn_test): Use ALL_RM_TEST.
5413         (scalbln_test_data): Add more tests of negative arguments.  Use
5414         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5415         (scalbln_test): Use ALL_RM_TEST.
5416
5417 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5418
5419         * scripts/abilist.awk: Ignore symbols marked with .hidden.
5420
5421 2014-03-18  Will Newton  <will.newton@linaro.org>
5422
5423         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5424         inaccurate comment.
5425
5426 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5427
5428         * Makerules [!subdir] (check-abi): Exit with error status if a
5429         test failed.
5430
5431 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
5432
5433         * math/libm-test.inc (nearbyint_test_data): Include all tests used
5434         for rint.  Include results for all rounding modes.
5435         (nearbyint_test): Use ALL_RM_TEST.
5436         (rint_test_data): Include all tests used for nearbyint.
5437
5438 2014-03-17  Will Newton  <will.newton@linaro.org>
5439
5440         * nptl/sysdeps/pthread/pthread.h: Revert previous
5441         change.
5442
5443         * sysdeps/generic/ldsodefs.h: Revert previous
5444         change.
5445
5446         * libio/genops.c: Revert previous change.
5447         * libio/libioP.h: Likewise.
5448         * stdio-common/vfprintf.c: Likewise.
5449
5450         * sysdeps/generic/math_private.h: Revert previous
5451         change.
5452
5453         * sysdeps/generic/math_private.h: Check whether
5454         HAVE_RM_CTX is defined with #ifdef rather
5455         than #if.
5456
5457         * argp/argp-fmtstream.h: Check whether
5458         __STRICT_ANSI__ is defined with #ifdef rather
5459         than #if.
5460         * argp/argp.h: Likewise.
5461
5462         * libio/genops.c: Check whether
5463         _IO_JUMPS_OFFSET is defined with #ifdef rather
5464         than #if.
5465         * libio/libioP.h: Likewise.
5466         * stdio-common/vfprintf.c: Likewise.
5467
5468         * sysdeps/generic/ldsodefs.h: Check whether
5469         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5470         than #if.
5471
5472         * nptl/sysdeps/pthread/pthread.h: Check
5473         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5474         its value.
5475
5476 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5477
5478         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5479         setting O_APPEND.
5480         * libio/tst-ftell-active-handler.c (do_append_test): Add a
5481         test case.
5482
5483         [BZ #16680]
5484         * libio/fileops.c (_IO_file_open): Seek to end of file but
5485         don't cache the offset.
5486         (get_file_offset): Remove function.
5487         (do_ftell): Use cached offset when available.
5488         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5489         don't cache the offset.
5490         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5491         case.
5492         (do_one_test): Call it.
5493         (do_ftell_test): Fix up expected old offset for a+ mode.
5494         * libio/wfileops.c (do_ftell_wide): Used cached offset when
5495         available.
5496
5497         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5498         up test status with function return status.
5499         (do_write_test): Likewise.
5500         (do_append_test): Likewise.
5501
5502         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5503         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5504         Remove.
5505
5506 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
5507
5508         * math/gen-libm-test.pl (parse_args): Handle results specified for
5509         each rounding mode separately.
5510         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5511         tests and results from lrint_tonearest_test_data,
5512         lrint_towardzero_test_data, lrint_downward_test_data and
5513         lrint_upward_test_data.
5514         (lrint_test): Use ALL_RM_TEST.
5515         (lrint_tonearest_test_data): Remove.
5516         (lrint_test_tonearest): Likewise.
5517         (lrint_towardzero_test_data): Likewise.
5518         (lrint_test_towardzero): Likewise.
5519         (lrint_downward_test_data): Likewise.
5520         (lrint_test_downward): Likewise.
5521         (lrint_upward_test_data): Likewise.
5522         (lrint_test_upward): Likewise.
5523         (llrint_test_data): Merge in per-rounding-mode tests and results
5524         from llrint_tonearest_test_data, llrint_towardzero_test_data,
5525         llrint_downward_test_data and llrint_upward_test_data.
5526         (llrint_test): Use ALL_RM_TEST.
5527         (llrint_tonearest_test_data): Remove.
5528         (llrint_test_tonearest): Likewise.
5529         (llrint_towardzero_test_data): Likewise.
5530         (llrint_test_towardzero): Likewise.
5531         (llrint_downward_test_data): Likewise.
5532         (llrint_test_downward): Likewise.
5533         (llrint_upward_test_data): Likewise.
5534         (llrint_test_upward): Likewise.
5535         (rint_test_data): Merge in per-rounding-mode tests and results
5536         from rint_tonearest_test_data, rint_towardzero_test_data,
5537         rint_downward_test_data and rint_upward_test_data.  Add
5538         per-rounding-mode results for tests not in those arrays.
5539         (rint_test): Use ALL_RM_TEST.
5540         (rint_tonearest_test_data): Remove.
5541         (rint_test_tonearest): Likewise.
5542         (rint_towardzero_test_data): Likewise.
5543         (rint_test_towardzero): Likewise.
5544         (rint_downward_test_data): Likewise.
5545         (rint_test_downward): Likewise.
5546         (rint_upward_test_data): Likewise.
5547         (rint_test_upward): Likewise.
5548         (main): Don't call removed functions.
5549
5550 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5551
5552         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5553         "Compiled on ..." crapola.  It is anti-useful.
5554
5555 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
5556
5557         * scripts/evaluate-test.sh: Handle fourth argument to determine
5558         whether test run should stop on failure.
5559         * Makeconfig (stop-on-test-failure): New variable.
5560         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5561         $(stop-on-test-failure).
5562         * Makefile (tests): Give a summary of results from testing and
5563         exit with failure status if they include an ERROR or FAIL.
5564         (xtests): Likewise.
5565         * manual/install.texi (Configuring and compiling): Mention
5566         stop-on-test-failure=y.
5567         * INSTALL: Regenerated.
5568
5569 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5570
5571         * scripts/versionlist.awk: New file.
5572         * Makerules [$(build-shared) = yes]
5573         (postclean-generated): Add Versions.def, not Versions.def.v and
5574         Versions.def.v.i.
5575         ($(common-objpfx)Versions.def.v.i): Target removed.
5576         ($(common-objpfx)Versions.def): New target.
5577         ($(common-objpfx)Versions.all): Depend on that rather that
5578         $(common-objpfx)Versions.def.v.
5579         * Versions.def: File removed.
5580
5581         * Makeconfig (+gccwarn): Add -Wundef.
5582         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5583         a dl-sysdep.h breaking its contract.
5584         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5585         * include/stackinfo.h: New file.
5586         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5587         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5588         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5589         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5590         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5591         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5592         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5593         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5594         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5595         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5596         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5597         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5598         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5599         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5600         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5601
5602 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5603
5604         [BZ #16707]
5605         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5606         implementation.
5607         * math/libm-test.inc (round_test_data): Add more tests.
5608
5609         [BZ #16706]
5610         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5611         implementation.
5612         * math/libm-test.inc (nearbyint_test_data): Add more tests.
5613
5614         [BZ #16701]
5615         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5616         implementation.
5617         * math/libm-test.inc (ceil_test_data): Add more tests.
5618
5619         * math/libm-test.inc (trunc_test_data): Add more tests related to
5620         BZ#16414.
5621
5622 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5623
5624         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5625         with #if rather than #ifdef.
5626         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5627
5628 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
5629
5630         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5631         first.  Disable AVX-512 GCC support if assembler doesn't support
5632         it.
5633         * sysdeps/x86_64/configure: Regenerated.
5634
5635 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
5636
5637         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5638         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5639         (__old_pthread_attr_setstack): Likewise.
5640         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5641         [!_STACK_GROWS_DOWN]: Likewise.
5642
5643 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
5644
5645         * config.make.in (have-bash2): Delete.
5646         * configure.ac (libc_cv_have_bash2): Delete.
5647         * configure: Regenerate.
5648         * elf/Makefile (common-ldd-rewrite): Rename to ...
5649         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
5650         (sh-ldd-rewrite): Delete.
5651         (bash-ldd-rewrite): Delete.
5652         (have-bash2): Delete checks.
5653         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5654         ldd-rewrite.
5655
5656         * config.make.in (have-ksh): Delete.
5657         (KSH): Delete.
5658         * configure.ac (libc_cv_have_ksh): Delete.
5659         * configure: Regenerate.
5660
5661         * elf/Makefile: Delete $(have-ksh) check.
5662         ($(objpfx)sotruss): Change KSH to BASH.
5663         * elf/sotruss.ksh: Rename to ...
5664         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
5665         function style to match POSIX.  Drop ksh vim mode setting.
5666
5667         * manual/time.texi (Specifying the Time Zone with TZ): Change
5668         Tuesday to Thursday.
5669
5670         * debug/tst-longjmp_chk2.c: Update header comment.
5671         (stackoverflow_handler): Add comment.  Call assert on pass value.
5672
5673 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
5674
5675         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5676         (HAVE_AVX512_ASM_SUPPORT): Likewise.
5677         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5678         (La_x86_64_vector): Add zmm.
5679         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5680         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5681         ($(objpfx)tst-audit10): New target.
5682         ($(objpfx)tst-audit10.out): Likewise.
5683         (tst-audit10-ENV): New.
5684         (AVX512-CFLAGS): Likewise.
5685         (CFLAGS-tst-audit10.c): Likewise.
5686         (CFLAGS-tst-auditmod10a.c): Likewise.
5687         (CFLAGS-tst-auditmod10b.c): Likewise.
5688         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5689         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5690         * sysdeps/x86_64/configure: Regenerated.
5691         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5692         AVX-512 zmm register support.
5693         (_dl_x86_64_save_sse): Likewise.
5694         (_dl_x86_64_restore_sse): Likewise.
5695         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5696         size vector registers.
5697         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5698         (ZMM_SIZE): Likewise.
5699         * sysdeps/x86_64/tst-audit10.c: New file.
5700         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5701         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5702
5703 2014-03-13  Roland McGrath  <roland@hack.frob.com>
5704
5705         * configure.ac (HAVE_EHDR_START): New check.
5706         * configure: Regenerated.
5707         * config.h.in (HAVE_EHDR_START): New #undef.
5708         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5709         assuming the lowest-addressed segment maps the start of the file.
5710
5711 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
5712
5713         * INSTALL: Regenerated.
5714
5715 2014-03-13  Will Newton  <will.newton@linaro.org>
5716
5717         * manual/setjmp.texi (System V contexts): Improve
5718         clarity and grammar of documentation.
5719
5720 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5721
5722         [BZ #16381]
5723         * elf/Makefile (tests): Add tst-pie2.
5724         (tests-pie): Add tst-pie2.
5725         * elf/tst-pie2.c: New file.
5726         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5727         for ET_EXEC.
5728         * elf/rtld.c (map_doit): Load executable as lt_executable.
5729         (dl_main): Likewise.
5730
5731 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
5732
5733         [BZ #16642]
5734         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5735         (__ASSUME_PSELECT): Undefine.
5736
5737 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5738
5739         [BZ #16689]
5740         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5741         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5742         static build.
5743         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5744         selector for static builds.
5745
5746 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5747
5748         [BZ #16695]
5749         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5750         key in the buffer.
5751
5752 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5753
5754         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5755         IFUNC selector for static builds.
5756
5757 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
5758
5759         * sysdeps/mips/math_private.h [__mips_hard_float]
5760         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5761         libc_feresetround_mips_ctx.
5762         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5763         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5764         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5765
5766         [BZ #16677]
5767         * math/s_nextafter.c (__nextafter): Do not return value from
5768         overflowing computation.
5769         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5770         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5771         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5772         Likewise.
5773         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5774         Likewise.
5775         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5776         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5777
5778 2014-03-11  Roland McGrath  <roland@hack.frob.com>
5779
5780         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5781         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5782         Move sfi_sp use from the load-multiple (that no longer sets sp) to
5783         the new mov targetting sp.
5784
5785 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5786
5787         [BZ #16683]
5788         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5789         Define it for static builds as well.
5790         (NO_BZERO_IMPL): Likewise.
5791
5792 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5793
5794         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5795         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5796         multiarch strspn for PPC64.
5797         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5798         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5799         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5800         (__libc_ifunc_impl_list): Likewise.
5801         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5802         multiarch optimizations
5803         * string/strspn.c (strspn): Using macro to redefine symbol name.
5804
5805 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5806             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5807
5808         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5809         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5810         multiarch strncat for PPC64.
5811         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5812         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5814         (__libc_ifunc_impl_list): Likewise.
5815         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5816         multiarch optimizations
5817
5818 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5819
5820         [BZ #16639]
5821         * nscd/nscd.service: Make service type forking.
5822
5823 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5824
5825         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5826         sign in non default rounding modes.
5827         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5828
5829 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
5830
5831         * math/libm-test.inc (ALL_RM_TEST): New macro.
5832         (ceil_test): Use ALL_RM_TEST.
5833         (cimag_test): Likewise.
5834         (conj_test): Likewise.
5835         (copysign_test): Likewise.
5836         (cproj_test): Likewise.
5837         (creal_test): Likewise.
5838         (fabs_test): Likewise.
5839         (floor_test): Likewise.
5840         (fmax_test): Likewise.
5841         (fmin_test): Likewise.
5842         (fmod_test): Likewise.
5843         (fpclassify_test): Likewise.
5844         (frexp_test): Likewise.
5845         (ilogb_test): Likewise.
5846         (isfinite_test): Likewise.
5847         (finite_test): Likewise.
5848         (isgreater_test): Likewise.
5849         (isgreaterequal_test): Likewise.
5850         (isinf_test): Likewise.
5851         (isless_test): Likewise.
5852         (islessequal_test): Likewise.
5853         (islessgreater_test): Likewise.
5854         (isnan_test): Likewise.
5855         (isnormal_test): Likewise.
5856         (issignaling_test): Likewise.
5857         (isunordered_test): Likewise.
5858         (logb_test): Likewise.
5859         (logb_downward_test_data): Remove.
5860         (logb_test_downward): Likewise.
5861         (lround_test): Use ALL_RM_TEST.
5862         (llround_test): Likewise.
5863         (modf_test): Likewise.
5864         (nexttoward_test): Likewise.
5865         (remainder_test): Likewise.
5866         (drem_test): Likewise.
5867         (remainder_tonearest_test_data): Likewise.
5868         (remainder_test_tonearest): Likewise.
5869         (drem_test_tonearest): Likewise.
5870         (remainder_towardzero_test_data): Likewise.
5871         (remainder_test_towardzero): Likewise.
5872         (drem_test_towardzero): Likewise.
5873         (remainder_downward_test_data): Likewise.
5874         (remainder_test_downward): Likewise.
5875         (drem_test_downward): Likewise.
5876         (remainder_upward_test_data): Likewise.
5877         (remainder_test_upward): Likewise.
5878         (drem_test_upward): Likewise.
5879         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
5880         (round_test): Use ALL_RM_TEST.
5881         (signbit_test): Likewise.
5882         (trunc_test): Likewise.
5883         (significand_test): Likewise.
5884         (main): Don't call removed functions.
5885
5886 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5887
5888         [BZ #16674]
5889         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5890         || __USE_XOPEN2K8].
5891         (ILL_ILLOPN): Likewise.
5892         (ILL_ILLADR): Likewise.
5893         (ILL_ILLTRP): Likewise.
5894         (ILL_PRVOPC): Likewise.
5895         (ILL_PRVREG): Likewise.
5896         (ILL_COPROC): Likewise.
5897         (ILL_BADSTK): Likewise.
5898         (FPE_INTDIV): Likewise.
5899         (FPE_INTOVF): Likewise.
5900         (FPE_FLTDIV): Likewise.
5901         (FPE_FLTOVF): Likewise.
5902         (FPE_FLTUND): Likewise.
5903         (FPE_FLTRES): Likewise.
5904         (FPE_FLTINV): Likewise.
5905         (FPE_FLTSUB): Likewise.
5906         (SEGV_MAPERR): Likewise.
5907         (SEGV_ACCERR): Likewise.
5908         (BUS_ADRALN): Likewise.
5909         (BUS_ADRERR): Likewise.
5910         (BUS_OBJERR): Likewise.
5911         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5912         (TRAP_TRACE): Likewise.
5913         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5914         __USE_XOPEN2K8].
5915         (CLD_KILLED): Likewise.
5916         (CLD_DUMPED): Likewise.
5917         (CLD_TRAPPED): Likewise.
5918         (CLD_STOPPED): Likewise.
5919         (CLD_CONTINUED): Likewise.
5920         (POLL_IN): Likewise.
5921         (POLL_OUT): Likewise.
5922         (POLL_MSG): Likewise.
5923         (POLL_ERR): Likewise.
5924         (POLL_PRI): Likewise.
5925         (POLL_HUP): Likewise.
5926         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5927         Likewise.
5928         (ILL_ILLOPN): Likewise.
5929         (ILL_ILLADR): Likewise.
5930         (ILL_ILLTRP): Likewise.
5931         (ILL_PRVOPC): Likewise.
5932         (ILL_PRVREG): Likewise.
5933         (ILL_COPROC): Likewise.
5934         (ILL_BADSTK): Likewise.
5935         (FPE_INTDIV): Likewise.
5936         (FPE_INTOVF): Likewise.
5937         (FPE_FLTDIV): Likewise.
5938         (FPE_FLTOVF): Likewise.
5939         (FPE_FLTUND): Likewise.
5940         (FPE_FLTRES): Likewise.
5941         (FPE_FLTINV): Likewise.
5942         (FPE_FLTSUB): Likewise.
5943         (SEGV_MAPERR): Likewise.
5944         (SEGV_ACCERR): Likewise.
5945         (BUS_ADRALN): Likewise.
5946         (BUS_ADRERR): Likewise.
5947         (BUS_OBJERR): Likewise.
5948         (BUS_MCEERR_AR): Likewise.
5949         (BUS_MCEERR_AO): Likewise.
5950         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5951         (TRAP_TRACE): Likewise.
5952         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5953         __USE_XOPEN2K8].
5954         (CLD_KILLED): Likewise.
5955         (CLD_DUMPED): Likewise.
5956         (CLD_TRAPPED): Likewise.
5957         (CLD_STOPPED): Likewise.
5958         (CLD_CONTINUED): Likewise.
5959         (POLL_IN): Likewise.
5960         (POLL_OUT): Likewise.
5961         (POLL_MSG): Likewise.
5962         (POLL_ERR): Likewise.
5963         (POLL_PRI): Likewise.
5964         (POLL_HUP): Likewise.
5965         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5966         (ILL_ILLOPN): Likewise.
5967         (ILL_ILLADR): Likewise.
5968         (ILL_ILLTRP): Likewise.
5969         (ILL_PRVOPC): Likewise.
5970         (ILL_PRVREG): Likewise.
5971         (ILL_COPROC): Likewise.
5972         (ILL_BADSTK): Likewise.
5973         (FPE_INTDIV): Likewise.
5974         (FPE_INTOVF): Likewise.
5975         (FPE_FLTDIV): Likewise.
5976         (FPE_FLTOVF): Likewise.
5977         (FPE_FLTUND): Likewise.
5978         (FPE_FLTRES): Likewise.
5979         (FPE_FLTINV): Likewise.
5980         (FPE_FLTSUB): Likewise.
5981         (SEGV_MAPERR): Likewise.
5982         (SEGV_ACCERR): Likewise.
5983         (BUS_ADRALN): Likewise.
5984         (BUS_ADRERR): Likewise.
5985         (BUS_OBJERR): Likewise.
5986         (BUS_MCEERR_AR): Likewise.
5987         (BUS_MCEERR_AO): Likewise.
5988         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5989         (TRAP_TRACE): Likewise.
5990         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5991         __USE_XOPEN2K8].
5992         (CLD_KILLED): Likewise.
5993         (CLD_DUMPED): Likewise.
5994         (CLD_TRAPPED): Likewise.
5995         (CLD_STOPPED): Likewise.
5996         (CLD_CONTINUED): Likewise.
5997         (POLL_IN): Likewise.
5998         (POLL_OUT): Likewise.
5999         (POLL_MSG): Likewise.
6000         (POLL_ERR): Likewise.
6001         (POLL_PRI): Likewise.
6002         (POLL_HUP): Likewise.
6003         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6004         Likewise.
6005         (ILL_ILLOPN): Likewise.
6006         (ILL_ILLADR): Likewise.
6007         (ILL_ILLTRP): Likewise.
6008         (ILL_PRVOPC): Likewise.
6009         (ILL_PRVREG): Likewise.
6010         (ILL_COPROC): Likewise.
6011         (ILL_BADSTK): Likewise.
6012         (ILL_BADIADDR): Likewise.
6013         (ILL_BREAK): Likewise.
6014         (FPE_INTDIV): Likewise.
6015         (FPE_INTOVF): Likewise.
6016         (FPE_FLTDIV): Likewise.
6017         (FPE_FLTOVF): Likewise.
6018         (FPE_FLTUND): Likewise.
6019         (FPE_FLTRES): Likewise.
6020         (FPE_FLTINV): Likewise.
6021         (FPE_FLTSUB): Likewise.
6022         (FPE_DECOVF): Likewise.
6023         (FPE_DECDIV): Likewise.
6024         (FPE_DECERR): Likewise.
6025         (FPE_INVASC): Likewise.
6026         (FPE_INVDEC): Likewise.
6027         (SEGV_MAPERR): Likewise.
6028         (SEGV_ACCERR): Likewise.
6029         (SEGV_PSTKOVF): Likewise.
6030         (BUS_ADRALN): Likewise.
6031         (BUS_ADRERR): Likewise.
6032         (BUS_OBJERR): Likewise.
6033         (BUS_MCEERR_AR): Likewise.
6034         (BUS_MCEERR_AO): Likewise.
6035         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6036         (TRAP_TRACE): Likewise.
6037         (TRAP_BRANCH): Likewise.
6038         (TRAP_HWBKPT): Likewise.
6039         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6040         __USE_XOPEN2K8].
6041         (CLD_KILLED): Likewise.
6042         (CLD_DUMPED): Likewise.
6043         (CLD_TRAPPED): Likewise.
6044         (CLD_STOPPED): Likewise.
6045         (CLD_CONTINUED): Likewise.
6046         (POLL_IN): Likewise.
6047         (POLL_OUT): Likewise.
6048         (POLL_MSG): Likewise.
6049         (POLL_ERR): Likewise.
6050         (POLL_PRI): Likewise.
6051         (POLL_HUP): Likewise.
6052         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6053         (ILL_ILLOPN): Likewise.
6054         (ILL_ILLADR): Likewise.
6055         (ILL_ILLTRP): Likewise.
6056         (ILL_PRVOPC): Likewise.
6057         (ILL_PRVREG): Likewise.
6058         (ILL_COPROC): Likewise.
6059         (ILL_BADSTK): Likewise.
6060         (FPE_INTDIV): Likewise.
6061         (FPE_INTOVF): Likewise.
6062         (FPE_FLTDIV): Likewise.
6063         (FPE_FLTOVF): Likewise.
6064         (FPE_FLTUND): Likewise.
6065         (FPE_FLTRES): Likewise.
6066         (FPE_FLTINV): Likewise.
6067         (FPE_FLTSUB): Likewise.
6068         (SEGV_MAPERR): Likewise.
6069         (SEGV_ACCERR): Likewise.
6070         (BUS_ADRALN): Likewise.
6071         (BUS_ADRERR): Likewise.
6072         (BUS_OBJERR): Likewise.
6073         (BUS_MCEERR_AR): Likewise.
6074         (BUS_MCEERR_AO): Likewise.
6075         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6076         (TRAP_TRACE): Likewise.
6077         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6078         __USE_XOPEN2K8].
6079         (CLD_KILLED): Likewise.
6080         (CLD_DUMPED): Likewise.
6081         (CLD_TRAPPED): Likewise.
6082         (CLD_STOPPED): Likewise.
6083         (CLD_CONTINUED): Likewise.
6084         (POLL_IN): Likewise.
6085         (POLL_OUT): Likewise.
6086         (POLL_MSG): Likewise.
6087         (POLL_ERR): Likewise.
6088         (POLL_PRI): Likewise.
6089         (POLL_HUP): Likewise.
6090         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6091         (ILL_ILLOPN): Likewise.
6092         (ILL_ILLADR): Likewise.
6093         (ILL_ILLTRP): Likewise.
6094         (ILL_PRVOPC): Likewise.
6095         (ILL_PRVREG): Likewise.
6096         (ILL_COPROC): Likewise.
6097         (ILL_BADSTK): Likewise.
6098         (FPE_INTDIV): Likewise.
6099         (FPE_INTOVF): Likewise.
6100         (FPE_FLTDIV): Likewise.
6101         (FPE_FLTOVF): Likewise.
6102         (FPE_FLTUND): Likewise.
6103         (FPE_FLTRES): Likewise.
6104         (FPE_FLTINV): Likewise.
6105         (FPE_FLTSUB): Likewise.
6106         (SEGV_MAPERR): Likewise.
6107         (SEGV_ACCERR): Likewise.
6108         (BUS_ADRALN): Likewise.
6109         (BUS_ADRERR): Likewise.
6110         (BUS_OBJERR): Likewise.
6111         (BUS_MCEERR_AR): Likewise.
6112         (BUS_MCEERR_AO): Likewise.
6113         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6114         (TRAP_TRACE): Likewise.
6115         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6116         __USE_XOPEN2K8].
6117         (CLD_KILLED): Likewise.
6118         (CLD_DUMPED): Likewise.
6119         (CLD_TRAPPED): Likewise.
6120         (CLD_STOPPED): Likewise.
6121         (CLD_CONTINUED): Likewise.
6122         (POLL_IN): Likewise.
6123         (POLL_OUT): Likewise.
6124         (POLL_MSG): Likewise.
6125         (POLL_ERR): Likewise.
6126         (POLL_PRI): Likewise.
6127         (POLL_HUP): Likewise.
6128         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6129         (ILL_ILLOPN): Likewise.
6130         (ILL_ILLADR): Likewise.
6131         (ILL_ILLTRP): Likewise.
6132         (ILL_PRVOPC): Likewise.
6133         (ILL_PRVREG): Likewise.
6134         (ILL_COPROC): Likewise.
6135         (ILL_BADSTK): Likewise.
6136         (FPE_INTDIV): Likewise.
6137         (FPE_INTOVF): Likewise.
6138         (FPE_FLTDIV): Likewise.
6139         (FPE_FLTOVF): Likewise.
6140         (FPE_FLTUND): Likewise.
6141         (FPE_FLTRES): Likewise.
6142         (FPE_FLTINV): Likewise.
6143         (FPE_FLTSUB): Likewise.
6144         (SEGV_MAPERR): Likewise.
6145         (SEGV_ACCERR): Likewise.
6146         (BUS_ADRALN): Likewise.
6147         (BUS_ADRERR): Likewise.
6148         (BUS_OBJERR): Likewise.
6149         (BUS_MCEERR_AR): Likewise.
6150         (BUS_MCEERR_AO): Likewise.
6151         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6152         (TRAP_TRACE): Likewise.
6153         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6154         __USE_XOPEN2K8].
6155         (CLD_KILLED): Likewise.
6156         (CLD_DUMPED): Likewise.
6157         (CLD_TRAPPED): Likewise.
6158         (CLD_STOPPED): Likewise.
6159         (CLD_CONTINUED): Likewise.
6160         (POLL_IN): Likewise.
6161         (POLL_OUT): Likewise.
6162         (POLL_MSG): Likewise.
6163         (POLL_ERR): Likewise.
6164         (POLL_PRI): Likewise.
6165         (POLL_HUP): Likewise.
6166         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6167         (ILL_ILLOPN): Likewise.
6168         (ILL_ILLADR): Likewise.
6169         (ILL_ILLTRP): Likewise.
6170         (ILL_PRVOPC): Likewise.
6171         (ILL_PRVREG): Likewise.
6172         (ILL_COPROC): Likewise.
6173         (ILL_BADSTK): Likewise.
6174         (ILL_DBLFLT): Likewise.
6175         (ILL_HARDWALL): Likewise.
6176         (FPE_INTDIV): Likewise.
6177         (FPE_INTOVF): Likewise.
6178         (FPE_FLTDIV): Likewise.
6179         (FPE_FLTOVF): Likewise.
6180         (FPE_FLTUND): Likewise.
6181         (FPE_FLTRES): Likewise.
6182         (FPE_FLTINV): Likewise.
6183         (FPE_FLTSUB): Likewise.
6184         (SEGV_MAPERR): Likewise.
6185         (SEGV_ACCERR): Likewise.
6186         (BUS_ADRALN): Likewise.
6187         (BUS_ADRERR): Likewise.
6188         (BUS_OBJERR): Likewise.
6189         (BUS_MCEERR_AR): Likewise.
6190         (BUS_MCEERR_AO): Likewise.
6191         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6192         (TRAP_TRACE): Likewise.
6193         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6194         __USE_XOPEN2K8].
6195         (CLD_KILLED): Likewise.
6196         (CLD_DUMPED): Likewise.
6197         (CLD_TRAPPED): Likewise.
6198         (CLD_STOPPED): Likewise.
6199         (CLD_CONTINUED): Likewise.
6200         (POLL_IN): Likewise.
6201         (POLL_OUT): Likewise.
6202         (POLL_MSG): Likewise.
6203         (POLL_ERR): Likewise.
6204         (POLL_PRI): Likewise.
6205         (POLL_HUP): Likewise.
6206         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6207         (ILL_ILLOPN): Likewise.
6208         (ILL_ILLADR): Likewise.
6209         (ILL_ILLTRP): Likewise.
6210         (ILL_PRVOPC): Likewise.
6211         (ILL_PRVREG): Likewise.
6212         (ILL_COPROC): Likewise.
6213         (ILL_BADSTK): Likewise.
6214         (FPE_INTDIV): Likewise.
6215         (FPE_INTOVF): Likewise.
6216         (FPE_FLTDIV): Likewise.
6217         (FPE_FLTOVF): Likewise.
6218         (FPE_FLTUND): Likewise.
6219         (FPE_FLTRES): Likewise.
6220         (FPE_FLTINV): Likewise.
6221         (FPE_FLTSUB): Likewise.
6222         (SEGV_MAPERR): Likewise.
6223         (SEGV_ACCERR): Likewise.
6224         (BUS_ADRALN): Likewise.
6225         (BUS_ADRERR): Likewise.
6226         (BUS_OBJERR): Likewise.
6227         (BUS_MCEERR_AR): Likewise.
6228         (BUS_MCEERR_AO): Likewise.
6229         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6230         (TRAP_TRACE): Likewise.
6231         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6232         __USE_XOPEN2K8].
6233         (CLD_KILLED): Likewise.
6234         (CLD_DUMPED): Likewise.
6235         (CLD_TRAPPED): Likewise.
6236         (CLD_STOPPED): Likewise.
6237         (CLD_CONTINUED): Likewise.
6238         (POLL_IN): Likewise.
6239         (POLL_OUT): Likewise.
6240         (POLL_MSG): Likewise.
6241         (POLL_ERR): Likewise.
6242         (POLL_PRI): Likewise.
6243         (POLL_HUP): Likewise.
6244         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6245         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6246
6247         [BZ #16670]
6248         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6249         before #include of <time.h>.
6250         [!__USE_XOPEN2K] (__need_timespec): Likewise.
6251         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6252         (test-xfail-UNIX98/sched.h/conform): Likewise.
6253
6254 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6255
6256         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6257         error absence of trapping exception support.
6258         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6259
6260 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6261
6262         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6263         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6264         * timezone/Makefile (testdata): Move definition above include of
6265         Rules.
6266         (test-zones): New variable.
6267         (tests-special): Add zone files.
6268         (build-testdata): Use $(evaluate-test).
6269
6270         * elf/Makefile (tests-special): Rename tests to end with .out.
6271         ($(objpfx)noload-mem): Likewise.
6272         ($(objpfx)tst-leaks1-mem): Likewise.
6273         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6274         * iconv/Makefile (xtests-special): Change test-iconvconfig to
6275         $(objpfx)test-iconvconfig.out.
6276         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
6277         set -e inside subshell and redirect output to file.
6278         * iconvdata/Makefile (generated): Rename tests to end with .out.
6279         Correct type.
6280         (tests-special): Rename tests to end with .out.
6281         ($(objpfx)mtrace-tst-loading): Likewise.
6282         * intl/Makefile (generated): Likewise.
6283         (tests-special): Likewise.
6284         ($(objpfx)mtrace-tst-gettext): Likewise.
6285         * misc/Makefile (generated): Likewise.
6286         (tests-special): Likewise.
6287         ($(objpfx)tst-error1-mem): Likewise.
6288         * nptl/Makefile (tests-special): Likewise.
6289         ($(objpfx)tst-stack3-mem): Likewise.
6290         (generated): Likewise.
6291         * posix/Makefile (generated): Likewise.
6292         (tests-special): Likewise.
6293         (xtests-special): Likewise.
6294         ($(objpfx)tst-fnmatch-mem): Likewise.
6295         ($(objpfx)bug-regex2-mem): Likewise.
6296         ($(objpfx)bug-regex14-mem): Likewise.
6297         ($(objpfx)bug-regex21-mem): Likewise.
6298         ($(objpfx)bug-regex31-mem): Likewise.
6299         ($(objpfx)tst-vfork3-mem): Likewise.
6300         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6301         ($(objpfx)tst-pcre-mem): Likewise.
6302         ($(objpfx)tst-boost-mem): Likewise.
6303         ($(objpfx)bug-ga2-mem): Likewise.
6304         ($(objpfx)bug-glob2-mem): Likewise.
6305         * resolv/Makefile (generate): Likewise.
6306         (tests-special): Likewise.
6307         (xtests-special): Likewise.
6308         (generated): Likewise.
6309         ($(objpfx)mtrace-tst-leaks): Likewise.
6310         ($(objpfx)mtrace-tst-leaks2): Likewise.
6311
6312         * scripts/merge-test-results.sh: New file.
6313         * Makefile (tests-special-notdir): New variable.
6314         (tests): Run merge-test-results.sh.
6315         (xtests): Likewise.
6316         * Rules (tests-special-notdir): New variable.
6317         (xtests-special-notdir): Likewise.
6318         (tests): Run merge-test-results.sh
6319         (xtests): Likewise.
6320
6321         * Makeconfig (test-xfail-name): New variable.
6322         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6323         compute variable name for expected failures.
6324         * conform/Makefile (conformtest-headers-data): New variable.
6325         (conformtest-standards): Likewise.
6326         (conformtest-headers-ISO): Likewise.
6327         (conformtest-headers-ISO99): Likewise.
6328         (conformtest-headers-ISO11): Likewise.
6329         (conformtest-headers-POSIX): Likewise.
6330         (conformtest-headers-XPG3): Likewise.
6331         (conformtest-headers-XPG4): Likewise.
6332         (conformtest-headers-UNIX98): Likewise.
6333         (conformtest-headers-XOPEN2K): Likewise.
6334         (conformtest-headers-POSIX2008): Likewise.
6335         (conformtest-headers-XOPEN2K8): Likewise.
6336         (conformtest-header-list-base): Likewise.
6337         (conformtest-header-list-tests): Likewise.
6338         (conformtest-header-base): Likewise.
6339         (conformtest-header-tests): Likewise.
6340         (tests-special): Add $(conformtest-header-list-tests).  If
6341         [$(fast-check) && !$(cross-compiling)], add
6342         $(conformtest-header-tests) instead of
6343         $(objpfx)run-conformtest.out.
6344         (generated): Add $(conformtest-header-list-base).  If
6345         [$(fast-check) && !$(cross-compiling)], add
6346         $(conformtest-header-base).  Remove previous setting.
6347         ($(conformtest-header-list-tests)): New target.
6348         (test-xfail-run-conformtest): Remove variable.
6349         ($(objpfx)run-conformtest.out): Remove target.
6350         (test-xfail-ISO11/complex.h/conform): New variable.
6351         (test-xfail-ISO11/stdalign.h/conform): Likewise.
6352         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6353         (test-xfail-XPG3/varargs.h/conform): Likewise.
6354         (test-xfail-XPG4/varargs.h/conform): Likewise.
6355         (test-xfail-UNIX98/varargs.h/conform): Likewise.
6356         (test-xfail-XPG4/ndbm.h/conform): Likewise.
6357         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6358         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6359         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6360         (test-xfail-XPG3/fcntl.h/conform): Likewise.
6361         (test-xfail-XPG3/ftw.h/conform): Likewise.
6362         (test-xfail-XPG3/grp.h/conform): Likewise.
6363         (test-xfail-XPG3/langinfo.h/conform): Likewise.
6364         (test-xfail-XPG3/limits.h/conform): Likewise.
6365         (test-xfail-XPG3/pwd.h/conform): Likewise.
6366         (test-xfail-XPG3/search.h/conform): Likewise.
6367         (test-xfail-XPG3/signal.h/conform): Likewise.
6368         (test-xfail-XPG3/stdio.h/conform): Likewise.
6369         (test-xfail-XPG3/stdlib.h/conform): Likewise.
6370         (test-xfail-XPG3/string.h/conform): Likewise.
6371         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6372         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6373         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6374         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6375         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6376         (test-xfail-XPG3/sys/types.h/conform): Likewise.
6377         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6378         (test-xfail-XPG3/termios.h/conform): Likewise.
6379         (test-xfail-XPG3/time.h/conform): Likewise.
6380         (test-xfail-XPG3/unistd.h/conform): Likewise.
6381         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6382         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6383         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6384         (test-xfail-XPG4/netdb.h/conform): Likewise.
6385         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6386         (test-xfail-XPG4/signal.h/conform): Likewise.
6387         (test-xfail-XPG4/stdio.h/conform): Likewise.
6388         (test-xfail-XPG4/stdlib.h/conform): Likewise.
6389         (test-xfail-XPG4/stropts.h/conform): Likewise.
6390         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6391         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6392         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6393         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6394         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6395         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6396         (test-xfail-XPG4/sys/time.h/conform): Likewise.
6397         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6398         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6399         (test-xfail-XPG4/termios.h/conform): Likewise.
6400         (test-xfail-XPG4/ucontext.h/conform): Likewise.
6401         (test-xfail-XPG4/unistd.h/conform): Likewise.
6402         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6403         (test-xfail-POSIX/sched.h/conform): Likewise.
6404         (test-xfail-POSIX/signal.h/conform): Likewise.
6405         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6406         (test-xfail-POSIX/tar.h/conform): Likewise.
6407         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6408         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6409         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6410         (test-xfail-UNIX98/netdb.h/conform): Likewise.
6411         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6412         (test-xfail-UNIX98/sched.h/conform): Likewise.
6413         (test-xfail-UNIX98/signal.h/conform): Likewise.
6414         (test-xfail-UNIX98/stdio.h/conform): Likewise.
6415         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6416         (test-xfail-UNIX98/stropts.h/conform): Likewise.
6417         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6418         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6419         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6420         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6421         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6422         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6423         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6424         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6425         (test-xfail-UNIX98/unistd.h/conform): Likewise.
6426         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6427         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6428         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6429         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6430         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6431         (test-xfail-XOPEN2K/math.h/conform): Likewise.
6432         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6433         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6434         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6435         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6436         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6437         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6438         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6439         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6440         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6441         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6442         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6443         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6444         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6445         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6446         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6447         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6448         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6449         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6450         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6451         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6452         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6453         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6454         (test-xfail-POSIX2008/signal.h/conform): Likewise.
6455         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6456         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6457         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6458         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6459         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6460         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6461         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6462         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6463         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6464         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6465         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6466         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6467         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6468         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6469         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6470         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6471         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6472         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6473         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6474         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6475         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6476         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6477         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6478         (conformtest-cc-flags): Likewise.
6479         ($(conformtest-header-tests): New target.
6480         * conform/check-header-lists.sh: New file.
6481         * conform/run-conformtest.sh: Remove.
6482
6483         * conform/conformtest.pl: Allow ' and \ in values given for
6484         constants.
6485         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6486         inclusion.
6487         [POSIX] (sys/types.h): Likewise.
6488         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6489         inclusion.
6490         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6491         inclusion.
6492         * conform/data/signal.h-data (SIGIO): Remove expectation.
6493         [XPG3] (SIGBUS): Do not expect.
6494         [POSIX || XPG3] (SIGPOLL): Likewise.
6495         [POSIX || XPG3] (SIGPROF): Likewise.
6496         [POSIX || XPG3] (SIGSYS): Likewise.
6497         [XPG3] (SIGTRAP): Likewise.
6498         [POSIX || XPG3] (SIGURG): Likewise.
6499         [POSIX || XPG3] (SIGVTALRM): Likewise.
6500         [POSIX || XPG3] (SIGXCPU): Likewise.
6501         [POSIX || XPG3] (SIGXFSZ): Likewise.
6502         [POSIX] (SA_SIGINFO): Expect.
6503         [XPG3] (siginfo_t): Do not expect type or contents.
6504         [POSIX] (si_pid): Do not expect element.
6505         [POSIX] (si_uid): Likewise.
6506         [POSIX] (si_addr): Likewise.
6507         [POSIX] (si_status): Likewise.
6508         [POSIX] (si_band): Likewise.
6509         [XPG4] (si_value): Likewise.
6510         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6511         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6512         [POSIX || XPG3] (ILL_ILLADR): Likewise.
6513         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6514         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6515         [POSIX || XPG3] (ILL_PRVREG): Likewise.
6516         [POSIX || XPG3] (ILL_COPROC): Likewise.
6517         [POSIX || XPG3] (ILL_BADSTK): Likewise.
6518         [POSIX || XPG3] (FPE_INTDIV): Likewise.
6519         [POSIX || XPG3] (FPE_INTOVF): Likewise.
6520         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6521         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6522         [POSIX || XPG3] (FPE_FLTUND): Likewise.
6523         [POSIX || XPG3] (FPE_FLTRES): Likewise.
6524         [POSIX || XPG3] (FPE_FLTINV): Likewise.
6525         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6526         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6527         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6528         [POSIX || XPG3] (BUS_ADRALN): Likewise.
6529         [POSIX || XPG3] (BUS_ADRERR): Likewise.
6530         [POSIX || XPG3] (BUS_OBJERR): Likewise.
6531         [POSIX || XPG3] (CLD_EXITED): Likewise.
6532         [POSIX || XPG3] (CLD_KILLED): Likewise.
6533         [POSIX || XPG3] (CLD_DUMPED): Likewise.
6534         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6535         [POSIX || XPG3] (CLD_STOPPED): Likewise.
6536         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6537         [POSIX || XPG3] (POLL_IN): Likewise.
6538         [POSIX || XPG3] (POLL_OUT): Likewise.
6539         [POSIX || XPG3] (POLL_MSG): Likewise.
6540         [POSIX || XPG3] (POLL_ERR): Likewise.
6541         [POSIX || XPG3] (POLL_PRI): Likewise.
6542         [POSIX || XPG3] (POLL_HUP): Likewise.
6543         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6544         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6545         (SIG*): Do not allow.
6546         [XPG3] (si_*): Likewise.
6547         [XPG3] (SI_*): Likewise.
6548         [XPG3 || XPG4] (sigev_*): Likewise.
6549         [XPG3 || XPG4] (SIGEV_*): Likewise.
6550         [XPG3 || XPG4] (sival_*): Likewise.
6551         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6552         [POSIX || XPG3] (BUS_*): Likewise.
6553         [POSIX || XPG3] (CLD_*): Likewise.
6554         [POSIX || XPG3] (FPE_*): Likewise.
6555         [POSIX || XPG3] (ILL_*): Likewise.
6556         [POSIX || XPG3] (POLL_*): Likewise.
6557         [POSIX || XPG3] (SEGV_*): Likewise.
6558         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6559         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6560         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6561         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6562         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6563         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6564         Specify type and value.
6565         (TVERSLEN): Likewise.
6566         (REGTYPE): Likewise.
6567         (AREGTYPE): Likewise.
6568         (LNKTYPE): Likewise.
6569         (SYMTYPE): Likewise.
6570         (CHRTYPE): Likewise.
6571         (BLKTYPE): Likewise.
6572         (DIRTYPE): Likewise.
6573         (FIFOTYPE): Likewise.
6574         (CONTTYPE): Likewise.
6575         (TSUID): Likewise.
6576         (TSGID): Likewise.
6577         (TSVTX): Likewise.
6578         (TUREAD): Likewise.
6579         (TUWRITE): Likewise.
6580         (TUEXEC): Likewise.
6581         (TGREAD): Likewise.
6582         (TGWRITE): Likewise.
6583         (TGEXEC): Likewise.
6584         (TOREAD): Likewise.
6585         (TOWRITE): Likewise.
6586         (TOEXEC): Likewise.
6587         [POSIX] (TSVTX): Expect constant.
6588
6589 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
6590
6591         * Makefile (tests): Change dependencies to ....
6592         (tests-special): ... additions to this variable.
6593         (tests): Depend on $(tests-special).
6594         * Makerules (check-abi-list): New variable.
6595         (check-abi): Depend on $(check-abi-list).
6596         [$(subdir) = elf] (tests-special): Add
6597         $(objpfx)check-abi-libc.out.
6598         [$(build-shared) = yes && subdir] (tests-special): Add
6599         $(check-abi-list).
6600         [$(build-shared) = yes && subdir] (tests): Do not depend on
6601         check-abi.
6602         * Rules (tests): Depend on $(tests-special).
6603         (xtests): Depend on $(xtests-special).
6604         * catgets/Makefile (tests): Change dependencies to ....
6605         (tests-special): ... additions to this variable.
6606         * conform/Makefile (tests): Change dependencies to ....
6607         (tests-special): ... additions to this variable.
6608         * elf/Makefile (tests): Change dependencies to ....
6609         (tests-special): ... additions to this variable.
6610         * grp/Makefile (tests): Change dependencies to ....
6611         (tests-special): ... additions to this variable.
6612         * iconv/Makefile (xtests): Change dependencies to ....
6613         (xtests-special): ... additions to this variable.
6614         * iconvdata/Makefile (tests): Change dependencies to ....
6615         (tests-special): ... additions to this variable.
6616         * intl/Makefile (tests): Change dependencies to ....
6617         (tests-special): ... additions to this variable.  Also add
6618         $(objpfx)tst-gettext.out.
6619         * io/Makefile (tests): Change dependencies to ....
6620         (tests-special): ... additions to this variable.
6621         * libio/Makefile (tests): Change dependencies to ....
6622         (tests-special): ... additions to this variable.
6623         * malloc/Makefile (tests): Change dependencies to ....
6624         (tests-special): ... additions to this variable.
6625         * misc/Makefile (tests): Change dependencies to ....
6626         (tests-special): ... additions to this variable.
6627         * nptl/Makefile (tests): Change dependencies to ....
6628         (tests-special): ... additions to this variable.
6629         * nptl_db/Makefile (tests): Change dependencies to ....
6630         (tests-special): ... additions to this variable.
6631         * posix/Makefile (tests): Change dependencies to ....
6632         (tests-special): ... additions to this variable.
6633         (xtests): Change dependencies to ....
6634         (xtests-special): ... additions to this variable.
6635         * resolv/Makefile (tests): Change dependencies to ....
6636         (tests-special): ... additions to this variable.
6637         (xtests): Change dependencies to ....
6638         (xtests-special): ... additions to this variable.
6639         * stdio-common/Makefile (tests): Change dependencies to ....
6640         (tests-special): ... additions to this variable.
6641         (do-tst-unbputc): Remove target.
6642         (do-tst-printf): Likewise.
6643         * stdlib/Makefile (tests): Change dependencies to ....
6644         (tests-special): ... additions to this variable.
6645         * string/Makefile (tests): Change dependencies to ....
6646         (tests-special): ... additions to this variable.
6647         * sysdeps/x86/Makefile (tests): Change dependencies to ....
6648         (tests-special): ... additions to this variable.
6649
6650         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6651         whole file.
6652         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6653         whole file.
6654         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6655         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6656
6657         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6658         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6659         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6660         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6661         * conform/data/libgen.h-data [XPG3]: Likewise.
6662         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6663         * conform/data/ndbm.h-data [XPG3]: Likewise.
6664         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6665         * conform/data/netdb.h-data [XPG3]: Likewise.
6666         * conform/data/netinet/in.h-data [XPG3]: Likewise.
6667         * conform/data/poll.h-data [XPG3]: Likewise.
6668         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6669         * conform/data/strings.h-data [XPG3]: Likewise.
6670         * conform/data/stropts.h-data [XPG3]: Likewise.
6671         * conform/data/sys/mman.h-data [XPG3]: Likewise.
6672         * conform/data/sys/resource.h-data [XPG3]: Likewise.
6673         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6674         Likewise.
6675         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6676         * conform/data/sys/time.h-data [XPG3]: Likewise.
6677         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6678         * conform/data/sys/uio.h-data [XPG3]: Likewise.
6679         * conform/data/sys/un.h-data [XPG3]: Likewise.
6680         * conform/data/syslog.h-data [XPG3]: Likewise.
6681         * conform/data/ucontext.h-data [XPG3]: Likewise.
6682         * conform/data/utmpx.h-data [XPG3]: Likewise.
6683         * conform/data/varargs.h-data [UNIX98]: Enable file.
6684
6685         * manual/Makefile (INSTALL_INFO): Remove variable setting.
6686
6687         * math/libm-test.inc (struct test_f_f_data): Move expected results
6688         into structure for each rounding mode.
6689         (struct test_ff_f_data): Likewise.
6690         (struct test_ff_f_data_nexttoward): Likewise.
6691         (struct test_fi_f_data): Likewise.
6692         (struct test_fl_f_data): Likewise.
6693         (struct test_if_f_data): Likewise.
6694         (struct test_fff_f_data): Likewise.
6695         (struct test_c_f_data): Likewise.
6696         (struct test_f_f1_data): Likewise.
6697         (struct test_fF_f1_data): Likewise.
6698         (struct test_ffI_f1_data): Likewise.
6699         (struct test_c_c_data): Likewise.
6700         (struct test_cc_c_data): Likewise.
6701         (struct test_f_i_data): Likewise.
6702         (struct test_ff_i_data): Likewise.
6703         (struct test_f_l_data): Likewise.
6704         (struct test_f_L_data): Likewise.
6705         (struct test_fFF_11_data): Likewise.
6706         (RM_): New macro.
6707         (RM_FE_DOWNWARD): Likewise.
6708         (RM_FE_TONEAREST): Likewise.
6709         (RM_FE_TOWARDZERO): Likewise.
6710         (RM_FE_UPWARD): Likewise.
6711         (RUN_TEST_LOOP_f_f): Update references to expected results.
6712         (RUN_TEST_LOOP_2_f): Likewise.
6713         (RUN_TEST_LOOP_fff_f): Likewise.
6714         (RUN_TEST_LOOP_c_f): Likewise.
6715         (RUN_TEST_LOOP_f_f1): Likewise.
6716         (RUN_TEST_LOOP_fF_f1): Likewise.
6717         (RUN_TEST_LOOP_fI_f1): Likewise.
6718         (RUN_TEST_LOOP_ffI_f1): Likewise.
6719         (RUN_TEST_LOOP_c_c): Likewise.
6720         (RUN_TEST_LOOP_cc_c): Likewise.
6721         (RUN_TEST_LOOP_f_i): Likewise.
6722         (RUN_TEST_LOOP_f_i_tg): Likewise.
6723         (RUN_TEST_LOOP_ff_i_tg): Likewise.
6724         (RUN_TEST_LOOP_f_b): Likewise.
6725         (RUN_TEST_LOOP_f_b_tg): Likewise.
6726         (RUN_TEST_LOOP_f_l): Likewise.
6727         (RUN_TEST_LOOP_f_L): Likewise.
6728         (RUN_TEST_LOOP_fFF_11): Likewise.
6729         * math/gen-libm-test.pl (parse_args): Output four copies of
6730         expected results for each test.
6731
6732         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6733         (__ASSUME_UTIMES): Remove.
6734         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6735         (__ASSUME_UTIMES): Likewise.
6736
6737         * math/gen-auto-libm-tests.c: Update comment on output format.
6738         (output_for_one_input_case): Generate before-rounding and
6739         after-rounding information as conditions on output flags not
6740         floating-point format.
6741         * math/auto-libm-test-out: Regenerated.
6742         * math/gen-libm-test.pl (cond_value): New function.
6743         (or_cond_value): Use cond_value.
6744         (generate_testfile): Handle conditional exceptions.
6745
6746 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
6747
6748         * math/libm-test.inc (max_valid_error): New variable.
6749         (init_max_error): Take new argument specifying whether function
6750         results are exactly determined.  Set max_valid_error and bound
6751         other variables for errors based on this argument.
6752         (set_max_error): Do not record results above max_valid_error.
6753         (check_float_internal): Only accept errors of up to 0.5ulps if
6754         also at most max_valid_error.
6755         (START): Take new argument EXACT and pass it to init_max_error.
6756         (acos_test): Update call to START.
6757         (acos_test_tonearest): Likewise.
6758         (acos_test_towardzero): Likewise.
6759         (acos_test_downward): Likewise.
6760         (acos_test_upward): Likewise.
6761         (acosh_test): Likewise.
6762         (asin_test): Likewise.
6763         (asin_test_tonearest): Likewise.
6764         (asin_test_towardzero): Likewise.
6765         (asin_test_downward): Likewise.
6766         (asin_test_upward): Likewise.
6767         (asinh_test): Likewise.
6768         (atan_test): Likewise.
6769         (atanh_test): Likewise.
6770         (atan2_test): Likewise.
6771         (cabs_test): Likewise.
6772         (cacos_test): Likewise.
6773         (cacosh_test): Likewise.
6774         (carg_test): Likewise.
6775         (casin_test): Likewise.
6776         (casinh_test): Likewise.
6777         (catan_test): Likewise.
6778         (catanh_test): Likewise.
6779         (cbrt_test): Likewise.
6780         (ccos_test): Likewise.
6781         (ccosh_test): Likewise.
6782         (ceil_test): Likewise.
6783         (cexp_test): Likewise.
6784         (cimag_test): Likewise.
6785         (clog_test): Likewise.
6786         (clog10_test): Likewise.
6787         (conj_test): Likewise.
6788         (copysign_test): Likewise.
6789         (cos_test): Likewise.
6790         (cos_test_tonearest): Likewise.
6791         (cos_test_towardzero): Likewise.
6792         (cos_test_downward): Likewise.
6793         (cos_test_upward): Likewise.
6794         (cosh_test): Likewise.
6795         (cosh_test_tonearest): Likewise.
6796         (cosh_test_towardzero): Likewise.
6797         (cosh_test_downward): Likewise.
6798         (cosh_test_upward): Likewise.
6799         (cpow_test): Likewise.
6800         (cproj_test): Likewise.
6801         (creal_test): Likewise.
6802         (csin_test): Likewise.
6803         (csinh_test): Likewise.
6804         (csqrt_test): Likewise.
6805         (ctan_test): Likewise.
6806         (ctan_test_tonearest): Likewise.
6807         (ctan_test_towardzero): Likewise.
6808         (ctan_test_downward): Likewise.
6809         (ctan_test_upward): Likewise.
6810         (ctanh_test): Likewise.
6811         (ctanh_test_tonearest): Likewise.
6812         (ctanh_test_towardzero): Likewise.
6813         (ctanh_test_downward): Likewise.
6814         (ctanh_test_upward): Likewise.
6815         (erf_test): Likewise.
6816         (erfc_test): Likewise.
6817         (exp_test): Likewise.
6818         (exp_test_tonearest): Likewise.
6819         (exp_test_towardzero): Likewise.
6820         (exp_test_downward): Likewise.
6821         (exp_test_upward): Likewise.
6822         (exp10_test): Likewise.
6823         (exp10_test_tonearest): Likewise.
6824         (exp10_test_towardzero): Likewise.
6825         (exp10_test_downward): Likewise.
6826         (exp10_test_upward): Likewise.
6827         (pow10_test): Likewise.
6828         (exp2_test): Likewise.
6829         (expm1_test): Likewise.
6830         (expm1_test_tonearest): Likewise.
6831         (expm1_test_towardzero): Likewise.
6832         (expm1_test_downward): Likewise.
6833         (expm1_test_upward): Likewise.
6834         (fabs_test): Likewise.
6835         (fdim_test): Likewise.
6836         (floor_test): Likewise.
6837         (fma_test): Likewise.
6838         (fma_test_towardzero): Likewise.
6839         (fma_test_downward): Likewise.
6840         (fma_test_upward): Likewise.
6841         (fmax_test): Likewise.
6842         (fmin_test): Likewise.
6843         (fmod_test): Likewise.
6844         (fpclassify_test): Likewise.
6845         (frexp_test): Likewise.
6846         (hypot_test): Likewise.
6847         (ilogb_test): Likewise.
6848         (isfinite_test): Likewise.
6849         (finite_test): Likewise.
6850         (isgreater_test): Likewise.
6851         (isgreaterequal_test): Likewise.
6852         (isinf_test): Likewise.
6853         (isless_test): Likewise.
6854         (islessequal_test): Likewise.
6855         (islessgreater_test): Likewise.
6856         (isnan_test): Likewise.
6857         (isnormal_test): Likewise.
6858         (issignaling_test): Likewise.
6859         (isunordered_test): Likewise.
6860         (j0_test): Likewise.
6861         (j1_test): Likewise.
6862         (jn_test): Likewise.
6863         (ldexp_test): Likewise.
6864         (lgamma_test): Likewise.
6865         (gamma_test): Likewise.
6866         (lrint_test): Likewise.
6867         (lrint_test_tonearest): Likewise.
6868         (lrint_test_towardzero): Likewise.
6869         (lrint_test_downward): Likewise.
6870         (lrint_test_upward): Likewise.
6871         (llrint_test): Likewise.
6872         (llrint_test_tonearest): Likewise.
6873         (llrint_test_towardzero): Likewise.
6874         (llrint_test_downward): Likewise.
6875         (llrint_test_upward): Likewise.
6876         (log_test): Likewise.
6877         (log10_test): Likewise.
6878         (log1p_test): Likewise.
6879         (log2_test): Likewise.
6880         (logb_test): Likewise.
6881         (logb_test_downward): Likewise.
6882         (lround_test): Likewise.
6883         (llround_test): Likewise.
6884         (modf_test): Likewise.
6885         (nearbyint_test): Likewise.
6886         (nextafter_test): Likewise.
6887         (nexttoward_test): Likewise.
6888         (pow_test): Likewise.
6889         (pow_test_tonearest): Likewise.
6890         (pow_test_towardzero): Likewise.
6891         (pow_test_downward): Likewise.
6892         (pow_test_upward): Likewise.
6893         (remainder_test): Likewise.
6894         (drem_test): Likewise.
6895         (remainder_test_tonearest): Likewise.
6896         (drem_test_tonearest): Likewise.
6897         (remainder_test_towardzero): Likewise.
6898         (drem_test_towardzero): Likewise.
6899         (remainder_test_downward): Likewise.
6900         (drem_test_downward): Likewise.
6901         (remainder_test_upward): Likewise.
6902         (drem_test_upward): Likewise.
6903         (remquo_test): Likewise.
6904         (rint_test): Likewise.
6905         (rint_test_tonearest): Likewise.
6906         (rint_test_towardzero): Likewise.
6907         (rint_test_downward): Likewise.
6908         (rint_test_upward): Likewise.
6909         (round_test): Likewise.
6910         (scalb_test): Likewise.
6911         (scalbn_test): Likewise.
6912         (scalbln_test): Likewise.
6913         (signbit_test): Likewise.
6914         (sin_test): Likewise.
6915         (sin_test_tonearest): Likewise.
6916         (sin_test_towardzero): Likewise.
6917         (sin_test_downward): Likewise.
6918         (sin_test_upward): Likewise.
6919         (sincos_test): Likewise.
6920         (sinh_test): Likewise.
6921         (sinh_test_tonearest): Likewise.
6922         (sinh_test_towardzero): Likewise.
6923         (sinh_test_downward): Likewise.
6924         (sinh_test_upward): Likewise.
6925         (sqrt_test): Likewise.
6926         (sqrt_test_tonearest): Likewise.
6927         (sqrt_test_towardzero): Likewise.
6928         (sqrt_test_downward): Likewise.
6929         (sqrt_test_upward): Likewise.
6930         (tan_test): Likewise.
6931         (tan_test_tonearest): Likewise.
6932         (tan_test_towardzero): Likewise.
6933         (tan_test_downward): Likewise.
6934         (tan_test_upward): Likewise.
6935         (tanh_test): Likewise.
6936         (tgamma_test): Likewise.
6937         (trunc_test): Likewise.
6938         (y0_test): Likewise.
6939         (y1_test): Likewise.
6940         (yn_test): Likewise.
6941         (significand_test): Likewise.
6942
6943         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6944         individual tests in comment.
6945         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6946         (prev_max_error): New variable.
6947         (prev_real_max_error): Likewise.
6948         (prev_imag_max_error): Likewise.
6949         (compare_ulp_data): Don't refer to test names in comment.
6950         (find_test_ulps): Remove function.
6951         (find_function_ulps): Likewise.
6952         (find_complex_function_ulps): Likewise.
6953         (init_max_error): Take function name as argument.  Look up ulps
6954         for that function.
6955         (print_ulps): Remove function.
6956         (print_max_error): Use prev_max_error instead of calling
6957         find_function_ulps.
6958         (print_complex_max_error): Use prev_real_max_error and
6959         prev_imag_max_error instead of calling find_complex_function_ulps.
6960         (check_float_internal): Take max_ulp parameter instead of calling
6961         find_test_ulps.  Don't call print_ulps.
6962         (check_float): Update call to check_float_internal.
6963         (check_complex): Update calls to check_float_internal.
6964         (START): Pass argument to init_max_error.
6965         * math/gen-libm-test.pl (%results): Don't include "kind"
6966         information.
6967         (parse_ulps): Don't handle ulps of individual tests.
6968         (print_ulps_file): Likewise.
6969         (output_ulps): Likewise.
6970         * math/README.libm-test: Update.
6971         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6972         individual tests.
6973         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6974         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6975         * sysdeps/arm/libm-test-ulps: Likewise.
6976         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6977         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6978         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6979         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6980         * sysdeps/microblaze/libm-test-ulps: Likewise.
6981         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6982         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6983         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6984         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6985         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6986         * sysdeps/sh/libm-test-ulps: Likewise.
6987         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6988         * sysdeps/tile/libm-test-ulps: Likewise.
6989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6990
6991 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
6992
6993         * math/libm-test.inc (print_complex_max_error): Check separately
6994         whether real and imaginary errors are within allowed range and
6995         pass 0 to print_complex_function_ulps instead of value within
6996         allowed range.
6997
6998 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6999
7000         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7001         formatting.
7002         (get_handles_fopen): Likewise.
7003         (do_write_test): Likewise.
7004
7005         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7006
7007         * libio/fileops.c (do_ftell): Use cached offset when
7008         available.
7009         * libio/iofwide.c (do_ftell_wide): Likewise.
7010         * libio/iofdopen.c (_IO_new_fdopen): Don't use
7011         _IO_file_attach.
7012         * libio/wfileops.c (_IO_fwide): Don't cache offset.
7013
7014         [BZ #16532]
7015         * libio/libioP.h (get_file_offset): New function.
7016         * libio/fileops.c (get_file_offset): Likewise.
7017         (do_ftell): Likewise.
7018         (_IO_new_file_seekoff): Split out ftell logic.
7019         * libio/wfileops.c (do_ftell_wide): Likewise.
7020         (_IO_wfile_seekoff): Split out ftell logic.
7021         * libio/tst-ftell-active-handler.c: New test case.
7022         * libio/Makefile (tests): Add it.
7023
7024 2014-03-03  Roland McGrath  <roland@hack.frob.com>
7025
7026         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7027         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7028
7029 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7030
7031         [BZ #16639]
7032         * nscd/connections.c (nscd_init): Call do_exit.
7033         (start_threads): Call do_exit and notify_parent.
7034         (begin_drop_privileges): Call do_exit.
7035         (finish_drop_privileges): Likewise.
7036         * nscd/selinux.c (preserve_capabilities): Likewise.
7037         (install_real_capabilities): Likewise.
7038         (nscd_selinux_enabled): Likewise.
7039         (avc_create_thread): Likewise.
7040         (avc_alloc_lock): Likewise.
7041         (nscd_avc_init): Likewise.
7042         * nscd/nscd.c (parent_fd): New static variable.
7043         (main): Create a pipe between parent and child processes.
7044         Skip closing parent_fd.
7045         (monitor_child): New function.
7046         (do_exit): Likewise.
7047         (notify_parent): Likewise.
7048         * nscd/nscd.h (notify_parent): Likewise.
7049         (do_exit): Likewise.
7050
7051 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
7052
7053         * malloc/malloc.c (__libc_calloc): Revert last change.
7054
7055 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7056
7057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7058
7059 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7060
7061         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7063         implementation.
7064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7065         (__libc_ifunc_impl_list): Likewise.
7066         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7067         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7068         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7069         * string/strrchr.c: Define STRRCHR.
7070
7071 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
7072
7073         * benchtest/bench-strtok.c (simple_strtok): Delete.
7074         (strtok_string): Use as benchmark.
7075         * string/strtok (STRTOK): New macro.
7076
7077 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
7078
7079         * manual/threads.texi: Add header and standard comments to all
7080         functions.
7081
7082         * elf/dl-lookup.c (check_match): New function.
7083         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7084         (do_lookup_x): Remove nested function check_match. Use non-nested
7085         function check_match.
7086
7087 2014-02-28  Roland McGrath  <roland@hack.frob.com>
7088
7089         * csu/Makefile (generated, before-compile): Use += rather than =.
7090         * catgets/Makefile (generated, generated-dirs): Likewise.
7091         * debug/Makefile (generated): Likewise.
7092         * dlfcn/Makefile (generated): Likewise.
7093         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7094         * iconvdata/Makefile (before-compile, generated): Likewise.
7095         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7096         * libio/Makefile (generated): Likewise.
7097         * malloc/Makefile (generated): Likewise.
7098         * manual/Makefile (generated, generated-dirs): Likewise.
7099         * misc/Makefile (generated): Likewise.
7100         * posix/Makefile (generated): Likewise.
7101         * resolv/Makefile (generated): Likewise.
7102         * sunrpc/Makefile (generated, generated-dirs): Likewise.
7103         * timezone/Makefile (generated, generated-dirs): Likewise.
7104
7105         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7106
7107 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7108
7109         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7110         power8 implementation.
7111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7112         file: POWER8 llround ifunc implementation.
7113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7114         (__lllround): Add POWER8 implementation.
7115         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7116         POWER8 llround implementation.
7117
7118         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7119         power8 implementation.
7120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7121         file: POWER8 llrint ifunc implementation.
7122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7123         Add POWER8 implementation.
7124         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7125         POWER8 llrint implementation.
7126
7127         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7128         power8 implementation.
7129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7130         file: POWER8 finite ifunc implementation.
7131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7132         Add POWER8 implementation.
7133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7134         Likewise.
7135         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7136         POWER8 finite implementation.
7137         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7138
7139         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7140         power8 implementation.
7141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7142         file: POWER8 isinf ifunc implementation.
7143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7144         POWER8 implementation.
7145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7146         Likewise.
7147         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7148         isinf implementation.
7149         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7150
7151         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7152         (INIT_ARCH): Add hwcap2 initialization.
7153         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7154         power8 implementation.
7155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7156         file: POWER8 isnan ifunc implementation.
7157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7158         POWER8 implementation.
7159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7160         Likewise.
7161         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7162         isnan implementation.
7163         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7164
7165 2014-02-27  Joey Ye  <joey.ye@arm.com>
7166
7167         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7168         (_FP_NANFRAC_Q): Set to zero.
7169
7170 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7171
7172         [BZ #16623]
7173         * math/auto-libm-test-in: New test inputs.
7174         * math/auto-libm-test-out: Regenerate.
7175         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7176         and DA.
7177         (__cos): Likewise.
7178         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7179
7180 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
7181
7182         * scripts/evaluate-test.sh: Take new argument indicating whether
7183         failure is expected.
7184         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7185         indicating whether failure is expected.
7186         * conform/Makefile (test-xfail-run-conformtest): New variable.
7187         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7188         level.
7189         * posix/Makefile (test-xfail-annexc): New variable.
7190         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7191
7192 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
7193
7194         * argp/Makefile: Include Makeconfig immediately after defining
7195         subdir.
7196         * assert/Makefile: Likewise.
7197         * benchtests/Makefile: Likewise.
7198         * catgets/Makefile: Likewise.
7199         * conform/Makefile: Likewise.
7200         * crypt/Makefile: Likewise.
7201         * csu/Makefile: Likewise.
7202         (all): Remove target.
7203         * ctype/Makefile: Include Makeconfig immediately after defining
7204         subdir.
7205         * debug/Makefile: Likewise.
7206         * dirent/Makefile: Likewise.
7207         * dlfcn/Makefile: Likewise.
7208         * gmon/Makefile: Likewise.
7209         * gnulib/Makefile: Likewise.
7210         * grp/Makefile: Likewise.
7211         * gshadow/Makefile: Likewise.
7212         * hesiod/Makefile: Likewise.
7213         * hurd/Makefile: Likewise.
7214         (all): Remove target.
7215         * iconvdata/Makefile: Include Makeconfig immediately after
7216         defining subdir.
7217         * inet/Makefile: Likewise.
7218         * intl/Makefile: Likewise.
7219         * io/Makefile: Likewise.
7220         * libio/Makefile: Likewise.
7221         (all): Remove target.
7222         * locale/Makefile: Include Makeconfig immediately after defining
7223         subdir.
7224         * login/Makefile: Likewise.
7225         * mach/Makefile: Likewise.
7226         (all): Remove target.
7227         * malloc/Makefile: Include Makeconfig immediately after defining
7228         subdir.
7229         (all): Remove target.
7230         * manual/Makefile: Include Makeconfig immediately after defining
7231         subdir.
7232         * math/Makefile: Likewise.
7233         * misc/Makefile: Likewise.
7234         * nis/Makefile: Likewise.
7235         * nss/Makefile: Likewise.
7236         * po/Makefile: Likewise.
7237         (all): Remove target.
7238         * posix/Makefile: Include Makeconfig immediately after defining
7239         subdir.
7240         * pwd/Makefile: Likewise.
7241         * resolv/Makefile: Likewise.
7242         * resource/Makefile: Likewise.
7243         * rt/Makefile: Likewise.
7244         * setjmp/Makefile: Likewise.
7245         * shadow/Makefile: Likewise.
7246         * signal/Makefile: Likewise.
7247         * socket/Makefile: Likewise.
7248         * soft-fp/Makefile: Likewise.
7249         * stdio-common/Makefile: Likewise.
7250         * stdlib/Makefile: Likewise.
7251         * streams/Makefile: Likewise.
7252         * string/Makefile: Likewise.
7253         * sunrpc/Makefile: Likewise.
7254         (all): Remove target.
7255         * sysvipc/Makefile: Include Makeconfig immediately after defining
7256         subdir.
7257         * termios/Makefile: Likewise.
7258         * time/Makefile: Likewise.
7259         * timezone/Makefile: Likewise.
7260         (all): Remove target.
7261         * wcsmbs/Makefile: Include Makeconfig immediately after defining
7262         subdir.
7263         * wctype/Makefile: Likewise.
7264
7265 2014-02-26  Steve Ellcey  <sellcey@mips.com>
7266
7267         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7268         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7269         (libc_feholdexcept_setround_mips): Ditto.
7270         (libc_feholdsetround): New.
7271         (libc_feholdsetroundf): New.
7272         (libc_feholdsetroundl): New.
7273         (libc_feupdateenv_test_mips): New.
7274         (libc_feupdateenv_test): New.
7275         (libc_feupdateenv_testf): New.
7276         (libc_feupdateenv_testl): New.
7277         (libc_feresetround): New.
7278         (libc_feresetroundf): New.
7279         (libc_feresetroundl): New.
7280         (libc_fetestexcept_mips): New.
7281         (libc_fetestexcept): New.
7282         (libc_fetestexceptf): New.
7283         (libc_fetestexceptl): New.
7284         (HAVE_RM_CTX): New.
7285         (libc_feholdexcept_setround_mips_ctx): New.
7286         (libc_feholdexcept_setround_ctx): New.
7287         (libc_feholdexcept_setroundf_ctx): New.
7288         (libc_feholdexcept_setroundl_ctx): New.
7289         (libc_fesetenv_mips_ctx): New.
7290         (libc_fesetenv_ctx): New.
7291         (libc_fesetenv_ctxf): New.
7292         (libc_fesetenv_ctxl): New.
7293         (libc_feupdateenv_mips_ctx): New.
7294         (libc_feupdateenv_ctx): New.
7295         (libc_feupdateenvf_ctx): New.
7296         (libc_feupdateenvl_ctx): New.
7297         (libc_feholdsetround_mips_ctx): New.
7298         (libc_feholdsetround_ctx): New.
7299         (libc_feholdsetroundf_ctx): New.
7300         (libc_feholdsetroundl_ctx): New.
7301         (libc_feresetround_mips_ctx): New.
7302         (libc_feresetround_ctx): New.
7303         (libc_feresetroundf_ctx): New.
7304         (libc_feresetroundl_ctx): New.
7305
7306 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
7307
7308         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7309
7310         * manual/ipc.texi: New file.
7311         * manual/Makefile (chapters): Add ipc.
7312         * manual/job.texi: Add "Inter-Process Communication" to next.
7313         * manual/process.texi: Add "Inter-Process Communication" to prev.
7314
7315 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7316
7317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7318
7319 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
7320
7321         * malloc/malloc.c (__libc_calloc): Simplify implementation.
7322
7323         * manual/arith.texi: Fix spaces after sentences.
7324         * manual/charset.texi: Likewise.
7325         * manual/errno.texi: Likewise.
7326         * manual/install.texi: Likewise.
7327         * manual/llio.texi: Likewise.
7328         * manual/locale.texi: Likewise.
7329         * manual/maint.texi: Likewise.
7330         * manual/math.texi: Likewise.
7331         * manual/memory.texi: Likewise.
7332         * manual/message.texi: Likewise.
7333         * manual/probes.texi: Likewise.
7334         * manual/resource.texi: Likewise.
7335         * manual/signal.texi: Likewise.
7336         * manual/socket.texi: Likewise.
7337         * manual/stdio.texi: Likewise.
7338         * manual/string.texi: Likewise.
7339         * manual/time.texi: Likewise.
7340         * manual/users.texi: Likewise.
7341
7342 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
7343
7344         [BZ #16632]
7345         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7346         _DEFAULT_SOURCE is defined.
7347
7348 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
7349             Carlos O'Donell  <carlos@redhat.com>
7350
7351         [BZ #16613]
7352         * elf/dl-tls.c (_dl_count_modids): New function.
7353         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7354         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7355         audit library and increment generation counter.
7356         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7357         * elf/tst-audit9.c: New file.
7358         * elf/tst-auditmod9a.c: New file.
7359         * elf/tst-auditmod9b.c: New file.
7360         * elf/Makefile: Add rules to build and run tst-audit9.
7361
7362 2014-02-25  Florian Weimer  <fweimer@redhat.com>
7363
7364         [BZ #15347]
7365         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7366
7367 2014-02-25  Will Newton  <will.newton@linaro.org>
7368
7369         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7370         (__longjmp): Restore sp and lr before restoring callee
7371         saved registers.  Add longjmp and longjmp_target
7372         SystemTap probe point.
7373         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7374         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7375         Define to zero to match jmpbuf layout.
7376         * sysdeps/arm/setjmp.S: Include stap-probe.h.
7377         (__sigsetjmp): Save sp and lr before saving callee
7378         saved registers.  Add setjmp SystemTap probe point.
7379
7380 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7381
7382         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7383
7384 2014-02-24  Andreas Schwab  <schwab@suse.de>
7385
7386         [BZ #15804]
7387         * elf/pldd.c (wait_for_ptrace_stop): New function.
7388         (main): Call it after attaching.
7389
7390 2014-02-22  Roland McGrath  <roland@hack.frob.com>
7391
7392         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7393         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7394         Versions files is now verboten.
7395         * hurd/Versions (libc: GLIBC_2.0):
7396         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7397         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7398         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7399         * mach/Versions: Likewise.
7400
7401         * csu/Versions: Remove unused %include.
7402         * resolv/Versions: Likewise.
7403
7404 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
7405
7406         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7407         ($(objpfx)check-local-headers.out): Likewise.
7408         ($(objpfx)begin-end-check.out): Likewise.
7409         * Makerules (check-abi-%.out): Likewise.
7410         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7411         ($(objpfx)test2.cat): Likewise.
7412         ($(objpfx)de/libc.cat): Likewise.
7413         ($(objpfx)test-gencat.out): Likewise.
7414         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7415         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7416         ($(objpfx)noload-mem): Likewise.
7417         ($(objpfx)tst-pathopt.out): Likewise.
7418         ($(objpfx)tst-rtld-load-self.out): Likewise.
7419         ($(objpfx)tst-array1-cmp.out): Likewise.
7420         ($(objpfx)tst-array1-static-cmp.out): Likewise.
7421         ($(objpfx)tst-array2-cmp.out): Likewise.
7422         ($(objpfx)tst-array3-cmp.out): Likewise.
7423         ($(objpfx)tst-array4-cmp.out): Likewise.
7424         ($(objpfx)tst-array5-cmp.out): Likewise.
7425         ($(objpfx)tst-array5-static-cmp.out): Likewise.
7426         ($(objpfx)check-textrel.out): Likewise.
7427         ($(objpfx)check-execstack.out): Likewise.
7428         ($(objpfx)check-localplt.out): Likewise.
7429         ($(objpfx)order2-cmp.out): Likewise.
7430         ($(objpfx)tst-leaks1-mem): Likewise.
7431         ($(objpfx)tst-leaks1-static-mem): Likewise.
7432         ($(objpfx)tst-initorder-cmp.out): Likewise.
7433         ($(objpfx)tst-initorder2-cmp.out): Likewise.
7434         ($(objpfx)tst-unused-dep.out): Likewise.
7435         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7436         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7437         * iconv/Makefile (test-iconvconfig): Likewise.
7438         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7439         ($(objpfx)iconv-test.out): Likewise.
7440         ($(objpfx)tst-tables.out): Likewise.
7441         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7442         ($(objpfx)tst-gettext.out): Likewise.
7443         ($(objpfx)tst-translit.out): Likewise.
7444         ($(objpfx)tst-gettext2.out): Likewise.
7445         ($(objpfx)tst-gettext4.out): Likewise.
7446         ($(objpfx)tst-gettext6.out): Likewise.
7447         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7448         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7449         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7450         ($(objpfx)tst-fopenloc-mem.out): Likewise.
7451         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7452         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7453         * posix/Makefile ($(objpfx)globtest.out): Likewise.
7454         ($(objpfx)wordexp-tst.out): Likewise.
7455         ($(objpfx)annexc.out): Likewise.
7456         ($(objpfx)tst-fnmatch-mem): Likewise.
7457         ($(objpfx)bug-regex2-mem): Likewise.
7458         ($(objpfx)bug-regex14-mem): Likewise.
7459         ($(objpfx)bug-regex21-mem): Likewise.
7460         ($(objpfx)bug-regex31-mem): Likewise.
7461         ($(objpfx)tst-vfork3-mem): Likewise.
7462         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7463         ($(objpfx)tst-pcre-mem): Likewise.
7464         ($(objpfx)tst-boost-mem): Likewise.
7465         ($(objpfx)tst-getconf.out): Likewise.
7466         ($(objpfx)bug-ga2-mem): Likewise.
7467         ($(objpfx)bug-glob2-mem): Likewise.
7468         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7469         ($(objpfx)mtrace-tst-leaks2): Likewise.
7470         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7471         ($(objpfx)tst-printf.out): Likewise.
7472         ($(objpfx)tst-setvbuf1.out): Likewise.
7473         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7474         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7475         ($(objpfx)tst-fmtmsg.out): Likewise.
7476         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7477         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7478
7479         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7480         * bits/sigaction.h [__USE_MISC]: Likewise.
7481         * bits/waitstatus.h: Update #endif comments.
7482         * ctype/ctype.h: Likewise.
7483         * dirent/dirent.h: Likewise.
7484         [__USE_MISC]: Remove redundant conditionals.
7485         * grp/grp.h: Update #endif comments.
7486         [__USE_GNU]: Remove redundant conditionals.
7487         [__USE_MISC]: Likewise.
7488         * inet/netinet/in.h [__USE_GNU]: Likewise.
7489         * io/sys/stat.h [__USE_MISC]: Likewise.
7490         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7491         * libio/bits/stdio.h: Update #endif comments.
7492         [__USE_MISC]: Remove redundant conditionals.
7493         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7494         * libio/stdio.h: Update #endif comments.
7495         [__USE_MISC]: Remove redundant conditionals.
7496         * math/bits/math-finite.h [__USE_MISC]: Likewise.
7497         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7498         * math/math.h: Update #else and #endif comments.
7499         [__USE_MISC]: Remove redundant conditionals.
7500         * misc/sys/uio.h: Update #endif comments.
7501         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7502         * posix/glob.h [__USE_MISC]: Likewise.
7503         * posix/sys/types.h: Update #endif comments.
7504         [__USE_MISC]: Remove redundant conditionals.
7505         * posix/sys/wait.h: Update #endif comments.
7506         [__USE_MISC]: Remove redundant conditionals.
7507         * posix/unistd.h: Update #endif comments.
7508         [__USE_MISC]: Remove redundant conditionals.
7509         * pwd/pwd.h [__USE_GNU]: Likewise.
7510         [__USE_MISC]: Likewise.
7511         * resolv/netdb.h [__USE_GNU]: Likewise.
7512         * signal/signal.h: Update #endif comments.
7513         [__USE_MISC]: Remove redundant conditionals.
7514         * stdlib/stdlib.h: Update #else and #endif comments.
7515         [__USE_MISC]: Remove redundant conditionals.
7516         [__USE_GNU]: Likewise.
7517         * string/bits/string2.h [__USE_MISC]: Likewise.
7518         * string/string.h: Update #endif comments.
7519         [__USE_MISC]: Remove redundant conditionals.
7520         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7521         Likewise.
7522         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7523         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7524         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7525         Likewise.
7526         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7527         Likewise.
7528         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7529         comments.
7530         [__USE_MISC]: Remove redundant conditionals.
7531         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7532         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7533         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7534         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7535         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7536         Likewise.
7537         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7538         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7539         Likewise.
7540         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7541         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7542         Likewise.
7543         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7544         Likewise.
7545         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7546         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7547         Likewise.
7548         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7549         Likewise.
7550         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7551         * sysdeps/x86/bits/string.h: Update #endif comments.
7552         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7553         conditionals.
7554         * time/sys/time.h: Update #endif comments.
7555         * time/time.h: Likewise.
7556         [__USE_MISC]: Remove redundant conditionals.
7557
7558 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
7559
7560         [BZ #16600]
7561         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7562
7563 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
7564
7565         * Versions.def (librt): Add GLIBC_2.17.
7566
7567 2014-02-21  Adam Conrad  <adconrad@0c3.net>
7568
7569         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7570         synonym for _SYS_AUXV_H to allow direct inclusion.
7571         * sysdeps/sparc/bits/hwcap.h: Likewise.
7572         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7573         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7574         * sysdeps/sparc/sysdep.h: Likewise.
7575
7576 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7577
7578         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7579
7580 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7581
7582         * benchtests/bench-strrchr.c: Print length instead of position.
7583
7584 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
7585
7586         [BZ #16611]
7587         * sysdeps/unix/sysv/linux/kernel-features.h
7588         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7589         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7590         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7591         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7592         Likewise.
7593         [__i386__ || __powerpc__ || __sh__ || __sparc__]
7594         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7595         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7596         (__ASSUME_SENDMMSG): Define instead of using previous
7597         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7598         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7599         (__ASSUME_SENDMMSG_SYSCALL): Define.
7600         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7601         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7602         Likewise.
7603         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7604         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7605         Likewise.
7606         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7607         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7608         Likewise.
7609         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7610         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7611         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7612         [__ASSUME_SENDMMSG]: Change conditionals to
7613         [__ASSUME_SENDMMSG_SOCKETCALL].
7614         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7615         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7616         Define.
7617         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7618         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7619         Likewise.
7620         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7621         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7622         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7623         [!__ASSUME_SENDMMSG]: Change conditional to
7624         [!__ASSUME_SENDMMSG_SOCKETCALL].
7625         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7626         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7627         Define.
7628
7629         [BZ #16610]
7630         * sysdeps/unix/sysv/linux/kernel-features.h
7631         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7632         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7633         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7634         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7635         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7636         [__i386__ || __sparc__]
7637         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7638         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7639         (__ASSUME_RECVMMSG): Define instead of using previous
7640         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7641         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7642         (__ASSUME_RECVMMSG_SYSCALL): Define.
7643         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7644         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7645         Likewise.
7646         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7647         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7648         Likewise.
7649         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7650         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7651         Likewise.
7652         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7653         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7654         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7655         [__ASSUME_RECVMMSG]: Change condition to
7656         [__ASSUME_RECVMMSG_SOCKETCALL].
7657         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7658         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7659         Define.
7660         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7661         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7662         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7663         Likewise.
7664         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7665         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7666         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7667         [!__ASSUME_RECVMMSG]: Change condition to
7668         [!__ASSUME_RECVMMSG_SOCKETCALL].
7669         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7670         (__ASSUME_RECVMMSG_SYSCALL): Define.
7671
7672         [BZ #16609]
7673         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7674         __powerpc__ || __s390__ || __sh__ || __sparc__]
7675         (__ASSUME_SOCKETCALL): Define.
7676         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7677         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7678         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7679         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7680         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7681         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7682         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7683         (__ASSUME_ACCEPT4): Define instead of using previous
7684         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7685         __powerpc__ || __sparc__ || __s390__)] condition.
7686         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7687         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7688         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7689         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7690         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7691         [!__ASSUME_ACCEPT4]: Change condition to
7692         [!__ASSUME_ACCEPT4_SOCKETCALL].
7693         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7694         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
7695         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7696         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7697         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7698         __ASSUME_ACCEPT4_SYSCALL.
7699         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7700         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7701         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7702         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7703         __ASSUME_ACCEPT4_SYSCALL.
7704         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7705         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7706         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7707         [__ASSUME_ACCEPT4]: Change condition to
7708         [__ASSUME_ACCEPT4_SOCKETCALL].
7709         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7710         (__ASSUME_SOCKETCALL): Define.
7711         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7712         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7713         (__ASSUME_SOCKETCALL): Define.
7714         (__ASSUME_ACCEPT4): Remove.
7715         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7716         Define.
7717         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7718         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7719         Likewise.
7720         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7721         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7722
7723         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7724         macro.
7725         (HWCAP_ARM_LPAE): Likewise.
7726         (HWCAP_ARM_EVTSTRM): Likewise.
7727         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7728         Add vpfd32, lpae and evtstrm.
7729         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7730         Increase to 22.
7731
7732 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
7733
7734         * math/auto-libm-test-in: Add tests of clog10.
7735         * math/auto-libm-test-out: Regenerated.
7736         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7737         * sysdeps/i386/fpu/libm-test-ulps: Update.
7738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7739
7740 2014-02-18  Andreas Schwab  <schwab@suse.de>
7741
7742         [BZ #16574]
7743         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7744         Store non-zero if the second buffer was newly allocated.
7745         (send_dg): Likewise.
7746         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7747         to send_vc and send_dg.
7748         (res_nsend): Pass NULL for ansp2_malloced.
7749         * resolv/res_query.c (__libc_res_nquery): Add parameter
7750         answerp2_malloced and pass it down to __libc_res_nsend.
7751         (res_nquery): Pass additional NULL to __libc_res_nquery.
7752         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7753         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
7754         second answer buffer if answerp2_malloced was set.
7755         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7756         (__libc_res_nquerydomain): Add parameter
7757         answerp2_malloced and pass it down to __libc_res_nquery.
7758         (res_nquerydomain): Pass additional NULL to
7759         __libc_res_nquerydomain.
7760         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7761         additional NULL to __libc_res_nsend and __libc_res_nquery.
7762         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7763         additional NULL to __libc_res_nsearch.
7764         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
7765         parameter of __libc_res_nsearch to check for separately allocated
7766         second buffer.
7767         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7768         __libc_res_nquery.
7769         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7770         additional NULL to __libc_res_nquery.
7771         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7772         __libc_res_nsearch.
7773         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7774         * include/resolv.h: Update prototypes of __libc_res_nquery,
7775         __libc_res_nsearch, __libc_res_nsend.
7776
7777 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
7778
7779         * math/auto-libm-test-in: Add tests of fma.
7780         * math/auto-libm-test-out: Regenerated.
7781         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7782         (fma_towardzero_test_data): Likewise.
7783         (fma_downward_test_data): Likewise.
7784         (fma_upward_test_data): Likewise.
7785         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7786         mpc_mode.
7787         (rounding_modes): Add values for new field.
7788         (func_calc_method): Add value mpfr_fff_f.
7789         (func_calc_desc): Add mpfr_fff_f union field.
7790         (test_function): Add field exact_args.
7791         (FUNC): Add macro argument EXACT_ARGS.
7792         (FUNC_mpfr_f_f): Update call to FUNC.
7793         (FUNC_mpfr_f_f): Likewise.
7794         (FUNC_mpfr_ff_f): Likewise.
7795         (FUNC_mpfr_if_f): Likewise.
7796         (FUNC_mpc_c_f): Likewise.
7797         (FUNC_mpc_c_c): Likewise.
7798         (test_functions): Add fma.  Update calls to FUNC.
7799         (handle_input_arg): Add argument exact_args.
7800         (add_test): Update call to handle_input_arg.
7801         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
7802         (output_for_one_input_case): Update call to calc_generic_results.
7803         Recalculate exact zero results in each rounding mode.
7804
7805         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7806         non-negative before setting low bit.
7807         * math/auto-libm-test-in: Mark one asin test possibly having
7808         spurious underflow.
7809         * math/auto-libm-test-out: Regenerated.
7810         * sysdeps/i386/fpu/libm-test-ulps: Update.
7811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7812
7813 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
7814
7815         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7816         * sysdeps/unix/sysv/linux/microblaze: Move directory from
7817         ports/sysdeps/unix/sysv/linux/microblaze.
7818         * README: Add missing listing for microblaze*-*-linux-gnu.
7819
7820 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
7821
7822         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7823         * sysdeps/unix/sysv/linux/ia64: Move directory from
7824         ports/sysdeps/unix/sysv/linux/ia64.
7825         * README: Update listing for ia64-*-linux-gnu.
7826
7827 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
7828             Joseph Myers  <joseph@codesourcery.com>
7829
7830         * Makeconfig (test-name): New variable.
7831         (evaluate-test): Likewise.
7832         * Makerules (do-test-clean): Remove .test-result files.
7833         (common-mostlyclean): Likewise.
7834         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7835         * scripts/evaluate-test.sh: New file.
7836
7837 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
7838
7839         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7840         separate $(objpfx)tst-fopenloc-cmp.out and
7841         $(objpfx)tst-fopenloc-mem.out targets.
7842         (tests): Update dependencies.
7843         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7844         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7845         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7846         (tst-rxspencer-no-utf8-ARGS): New variable.
7847         (tst-rxspencer-no-utf8-ENV): Likewise.
7848         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7849         instead of $(objpfx)tst-rxspencer-mem.
7850         ($(objpfx)tst-rxspencer-mem): Change target to
7851         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
7852         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7853         * posix/tst-rxspencer-no-utf8.c: New file.
7854
7855         * elf/Makefile ($(objpfx)order.out): Remove rule.
7856         [$(run-built-tests) = yes] (tests): Depend on
7857         $(objpfx)order-cmp.out.
7858         ($(objpfx)order-cmp.out): New rule.
7859         [$(run-built-tests) = yes] (tests): Depend on
7860         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7861         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7862         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7863         $(objpfx)tst-array5-static-cmp.out.
7864         ($(objpfx)tst-array1.out): Remove rule.
7865         ($(objpfx)tst-array1-cmp.out): New rule.
7866         ($(objpfx)tst-array1-static.out): Remove rule.
7867         ($(objpfx)tst-array1-static-cmp.out): New rule.
7868         ($(objpfx)tst-array2.out): Remove rule.
7869         ($(objpfx)tst-array2-cmp.out): New rule.
7870         ($(objpfx)tst-array3.out): Remove rule.
7871         ($(objpfx)tst-array3-cmp.out): New rule.
7872         ($(objpfx)tst-array4.out): Remove rule.
7873         ($(objpfx)tst-array4-cmp.out): New rule.
7874         ($(objpfx)tst-array5.out): Remove rule.
7875         ($(objpfx)tst-array5-cmp.out): New rule.
7876         ($(objpfx)tst-array5-static.out): Remove rule.
7877         ($(objpfx)tst-array5-static-cmp.out): New rule.
7878         [$(run-built-tests) = yes] (tests): Depend on
7879         $(objpfx)order2-cmp.out.
7880         ($(objpfx)order2.out): Remove rule.
7881         ($(objpfx)order2-cmp.out): New rule.
7882         ($(objpfx)tst-initorder.out): Remove rule.
7883         [$(run-built-tests) = yes] (tests): Depend on
7884         $(objpfx)tst-initorder-cmp.out.
7885         ($(objpfx)tst-initorder-cmp.out): New rule.
7886         ($(objpfx)tst-initorder2.out): Remove rule.
7887         [$(run-built-tests) = yes] (tests): Depend on
7888         $(objpfx)tst-initorder2-cmp.out.
7889         ($(objpfx)tst-initorder2-cmp.out): New rule.
7890         [$(run-built-tests) = yes] (tests): Depend on
7891         $(objpfx)tst-unused-dep-cmp.out.
7892         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7893         ($(objpfx)tst-unused-dep-cmp.out): New rule.
7894         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7895         on $(objpfx)tst-setvbuf1-cmp.out.
7896         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7897         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7898         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7899         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7900         ($(objpfx)tst-svc.out): Remove rule.
7901         ($(objpfx)tst-svc-cmp.out): New rule.
7902
7903 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
7904
7905         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7906         * ctype/ctype.h [__USE_MISC]: Likewise.
7907         * dirent/dirent.h [__USE_MISC]: Likewise.
7908         * grp/grp.h [__USE_MISC]: Likewise.
7909         * io/fcntl.h [__USE_MISC]: Likewise.
7910         * io/sys/stat.h [__USE_MISC]: Likewise.
7911         * libio/stdio.h [__USE_MISC]: Likewise.
7912         * posix/unistd.h [__USE_MISC]: Likewise.
7913         * pwd/pwd.h [__USE_MISC]: Likewise.
7914         * stdlib.h [__USE_MISC]: Likewise.
7915         * string/bits/string2.h [__USE_MISC]: Likewise.
7916         * string/string.h [__USE_MISC]: Likewise.
7917         * time/time.h [__USE_MISC]: Likewise.
7918
7919 2014-02-13  Andreas Schwab  <schwab@suse.de>
7920
7921         [BZ #16574]
7922         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7923         second answer buffer if it was separately allocated.
7924
7925 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
7926
7927         * sysdeps/mips/math-tests.h: Include <features.h>.
7928         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7929         (ROUNDING_TESTS_long_double): Do not define.
7930         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7931         (EXCEPTION_TESTS_long_double): Likewise.
7932         * sysdeps/mips/mips64/libm-test-ulps: Update.
7933
7934         * include/features.h (__USE_BSD): Remove macro definitions.
7935         (__USE_SVID): Likewise.
7936         (_BSD_SOURCE): Likewise.
7937         (_SVID_SOURCE): Likewise.
7938         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7939         from definition of _DEFAULT_SOURCE.
7940         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7941         [_DEFAULT_SOURCE].
7942         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7943         * bits/mman.h [__USE_BSD]: Likewise.
7944         * bits/termios.h [__USE_BSD]: Likewise.
7945         * bits/waitstatus.h [__USE_BSD]: Likewise.
7946         * ctype/ctype.h [__USE_SVID]: Likewise.
7947         * dirent/dirent.h [__USE_BSD]: Likewise.
7948         * grp/grp.h [__USE_SVID]: Likewise.
7949         [__USE_BSD]: Likewise.
7950         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7951         * io/fcntl.h [__USE_BSD]: Likewise.
7952         * io/ftw.h [__USE_BSD]: Likewise.
7953         * io/sys/stat.h [__USE_BSD]: Likewise.
7954         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7955         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7956         * libio/stdio.h [__USE_SVID]: Likewise.
7957         [__USE_BSD]: Likewise.
7958         * math/math.h [__USE_SVID]: Likewise.
7959         [__USE_BSD]: Likewise.
7960         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7961         * misc/bits/syslog.h [__USE_BSD]: Likewise.
7962         * misc/search.h [__USE_SVID]: Likewise.
7963         * misc/sys/mman.h [__USE_BSD]: Likewise.
7964         * misc/sys/syslog.h [__USE_BSD]: Likewise.
7965         * misc/sys/uio.h [__USE_BSD]: Likewise.
7966         * posix/bits/unistd.h [__USE_BSD]: Likewise.
7967         * posix/glob.h [__USE_BSD]: Likewise.
7968         * posix/regex.h [__USE_BSD]: Likewise.
7969         * posix/sys/types.h [__USE_BSD]: Likewise.
7970         [__USE_SVID]: Likewise.
7971         * posix/sys/utsname.h [__USE_SVID]: Likewise.
7972         * posix/sys/wait.h [__USE_BSD]: Likewise.
7973         [__USE_SVID]: Likewise.
7974         * posix/unistd.h [__USE_BSD]: Likewise.
7975         [__USE_SVID]: Likewise.
7976         * pwd/pwd.h [__USE_SVID]: Likewise.
7977         * resolv/netdb.h [__USE_BSD]: Likewise.
7978         * setjmp/setjmp.h [__USE_BSD]: Likewise.
7979         * signal/signal.h [__USE_BSD]: Likewise.
7980         [__USE_SVID]: Likewise.
7981         * socket/sys/socket.h [__USE_BSD]: Likewise.
7982         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7983         * stdlib/stdlib.h [__USE_BSD]: Likewise.
7984         [__USE_SVID]: Likewise.
7985         * string/bits/string2.h [__USE_BSD]: Likewise.
7986         [__USE_SVID]: Likewise.
7987         * string/bits/string3.h [__USE_BSD]: Likewise.
7988         * string/endian.h [__USE_BSD]: Likewise.
7989         * string/string.h [__USE_SVID]: Likewise.
7990         [__USE_BSD]: Likewise.
7991         * string/strings.h [__USE_BSD]: Likewise.
7992         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7993         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7994         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7995         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7996         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7997         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7998         Likewise.
7999         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8000         Likewise.
8001         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8002         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8003         Likewise.
8004         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8005         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8006         Likewise.
8007         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8008         Likewise.
8009         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8010         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8011         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8012         Likewise.
8013         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8014         Likewise.
8015         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8016         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8017         * termios/termios.h [__USE_BSD]: Likewise.
8018         * time/sys/time.h [__USE_BSD]: Likewise.
8019         * time/time.h [__USE_BSD]: Likewise.
8020         [__USE_SVID]: Likewise.
8021
8022         * Makefile (subdir_targets): Remove subdir_lint.out.
8023
8024         * stdio-common/Makefile (do-tst-unbputc): Remove target.
8025         (do-tst-printf): Likewise.
8026         (tests): Depend directly on $(objpfx)tst-unbputc.out and
8027         $(objpfx)tst-printf.out.
8028
8029         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8030
8031         * Makerules (check-abi-%): Change target to
8032         $(objpfx)check-abi-%.out.
8033         (check-abi target): Update dependencies.
8034         (check-abi-pattern variable): Redirect output of diff to $@.
8035         (check-abi variable): Likewise.
8036         * elf/Makefile (check-abi): Update dependencies.
8037
8038         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8039         unused.
8040         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8041         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8042         subnormal range.
8043         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8044         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8045         value has largest subnormal exponent.
8046         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8047         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8048         * sysdeps/aarch64/soft-fp/sfp-machine.h
8049         (_FP_TININESS_AFTER_ROUNDING): New macro.
8050         * sysdeps/alpha/soft-fp/sfp-machine.h
8051         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8052         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8053         Likewise.
8054         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8055         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8056         * sysdeps/mips/soft-fp/sfp-machine.h
8057         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8058         * sysdeps/powerpc/soft-fp/sfp-machine.h
8059         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8060         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8061         Likewise.
8062         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8063         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8064         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8065         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8066         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8067         Likewise.
8068
8069 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
8070
8071         [BZ #16545]
8072         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8073         model 1.
8074
8075 2014-02-12  Richard Henderson  <rth@redhat.com>
8076
8077         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8078         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8079         * sysdeps/unix/sysv/linux/alpha: Move directory from
8080         ports/sysdeps/unix/sysv/linux/alpha.
8081         * README: Update listing for alpha-*-linux-gnu.
8082
8083 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
8084
8085         * include/features.h: Update comment documenting feature test
8086         macros.
8087         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
8088         _DEFAULT_SOURCE.
8089         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8090         (_SVID_SOURCE): Likewise.
8091         (_DEFAULT_SOURCE): Update description of default features.
8092         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8093         with _GNU_SOURCE.
8094         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8095         (S_ISVTX): Likewise.
8096         * manual/math.texi (Mathematical Constants): Likewise.
8097         * manual/signal.texi (Interrupted Primitives): Likewise.
8098         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8099         * math/test-matherr.c (_SVID_SOURCE): Do not define.
8100         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8101         Don't refer to _SVID_SOURCE in warning text.
8102
8103         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8104
8105         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8106         already defined.
8107         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8108         * sysdeps/mips/dl-lookup.c: Remove.
8109         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8110
8111 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8112
8113         [BZ #16447]
8114         * math/auto-libm-test-in: Add testcase for expl.
8115         * math/auto-libm-test-out: Regenerate.
8116         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8117         calculation of unsafe.
8118         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8119
8120 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8121
8122         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8123         * sysdeps/unix/sysv/linux/aarch64: Move directory from
8124         ports/sysdeps/unix/sysv/linux/aarch64.
8125         * README: Update listing for aarch64*-*-linux-gnu.
8126
8127 2014-02-11  Will Newton  <will.newton@linaro.org>
8128
8129         * manual/probes.texi (Mathematical Function Probes): Use
8130         "triggered" instead of "hit".
8131
8132         * manual/probes.texi (Internal Probes): Add documentation
8133         of setjmp, longjmp and longjmp_target probes.
8134
8135         * include/stap-probe.h: Add comment about probe argument
8136         format.
8137
8138         * malloc/mtrace.c (attribute_hidden): Remove unused macro
8139         definition.  (tr_where, tr_freehook, tr_mallochook,
8140         tr_reallochook, tr_memalignhook): Use ANSI protoype.
8141
8142 2014-02-11  David S. Miller  <davem@davemloft.net>
8143
8144         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8145         processing int_tests.
8146
8147 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
8148
8149         * sysdeps/mips: Move directory from ports/sysdeps/mips.
8150         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8151         * sysdeps/unix/sysv/linux/mips: Move directory from
8152         ports/sysdeps/unix/sysv/linux/mips.
8153         * README: Update listing for mips-*-linux-gnu and
8154         mips64-*-linux-gnu.
8155
8156 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
8157
8158         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8159         * sysdeps/unix/sysv/linux/m68k: Move directory from
8160         ports/sysdeps/unix/sysv/linux/m68k.
8161         * README: Update listing for m68k-*-linux-gnu.
8162
8163 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
8164
8165         * sysdeps/tile: Move directory from ports/sysdeps/tile.
8166         * sysdeps/unix/sysv/linux/generic: Move directory from
8167         ports/sysdeps/unix/sysv/linux/generic.
8168         * sysdeps/unix/sysv/linux/tile: Move directory from
8169         ports/sysdeps/unix/sysv/linux/tile.
8170         * README: Update listing for tile*-*-linux-gnu.
8171
8172 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
8173
8174         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8175         __builtin_expect.
8176         * benchtests/bench-memmem.c (simple_memmem): Likewise.
8177         * catgets/open_catalog.c (__open_catalog): Likewise.
8178         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8179         * debug/confstr_chk.c: Likewise.
8180         * debug/fread_chk.c (__fread_chk): Likewise.
8181         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8182         * debug/getgroups_chk.c: Likewise.
8183         * debug/mbsnrtowcs_chk.c: Likewise.
8184         * debug/mbsrtowcs_chk.c: Likewise.
8185         * debug/mbstowcs_chk.c: Likewise.
8186         * debug/memcpy_chk.c: Likewise.
8187         * debug/memmove_chk.c: Likewise.
8188         * debug/mempcpy_chk.c: Likewise.
8189         * debug/memset_chk.c: Likewise.
8190         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8191         * debug/strcat_chk.c (__strcat_chk): Likewise.
8192         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8193         * debug/strncat_chk.c (__strncat_chk): Likewise.
8194         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8195         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8196         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8197         * debug/wcpncpy_chk.c: Likewise.
8198         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8199         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8200         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8201         * debug/wcsncpy_chk.c: Likewise.
8202         * debug/wcsnrtombs_chk.c: Likewise.
8203         * debug/wcsrtombs_chk.c: Likewise.
8204         * debug/wcstombs_chk.c: Likewise.
8205         * debug/wmemcpy_chk.c: Likewise.
8206         * debug/wmemmove_chk.c: Likewise.
8207         * debug/wmempcpy_chk.c: Likewise.
8208         * debug/wmemset_chk.c: Likewise.
8209         * dirent/scandirat.c (SCANDIRAT): Likewise.
8210         * dlfcn/dladdr1.c (dladdr1): Likewise.
8211         * dlfcn/dladdr.c (dladdr): Likewise.
8212         * dlfcn/dlclose.c (dlclose_doit): Likewise.
8213         * dlfcn/dlerror.c (__dlerror): Likewise.
8214         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8215         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8216         * dlfcn/dlopen.c (dlopen_doit): Likewise.
8217         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8218         * dlfcn/dlsym.c (dlsym_doit): Likewise.
8219         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8220         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8221         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8222         Likewise.
8223         * elf/dl-conflict.c: Likewise.
8224         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8225         * elf/dl-dst.h: Likewise.
8226         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8227         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8228         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8229         * elf/dl-init.c (call_init, _dl_init): Likewise.
8230         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8231         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8232         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8233         Likewise.
8234         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8235         Likewise.
8236         * elf/dl-minimal.c (__libc_memalign): Likewise.
8237         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8238         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8239         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8240         * elf/dl-sym.c (do_sym): Likewise.
8241         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8242         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8243         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8244         * elf/dl-writev.h (_dl_writev): Likewise.
8245         * elf/ldconfig.c (search_dir): Likewise.
8246         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8247         (dl_main): Likewise.
8248         * elf/setup-vdso.h (setup_vdso): Likewise.
8249         * grp/compat-initgroups.c (compat_call): Likewise.
8250         * grp/fgetgrent.c (fgetgrent): Likewise.
8251         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8252         * grp/putgrent.c (putgrent): Likewise.
8253         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8254         Likewise.
8255         * hurd/hurdinit.c: Likewise.
8256         * iconvdata/8bit-gap.c (struct): Likewise.
8257         * iconvdata/ansi_x3.110.c : Likewise.
8258         * iconvdata/big5.c : Likewise.
8259         * iconvdata/big5hkscs.c : Likewise.
8260         * iconvdata/cp1255.c: Likewise.
8261         * iconvdata/cp1258.c : Likewise.
8262         * iconvdata/cp932.c : Likewise.
8263         * iconvdata/euc-cn.c: Likewise.
8264         * iconvdata/euc-jisx0213.c : Likewise.
8265         * iconvdata/euc-jp.c: Likewise.
8266         * iconvdata/euc-jp-ms.c : Likewise.
8267         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8268         * iconvdata/gb18030.c : Likewise.
8269         * iconvdata/gbbig5.c (const): Likewise.
8270         * iconvdata/gbgbk.c: Likewise.
8271         * iconvdata/gbk.c : Likewise.
8272         * iconvdata/ibm1364.c : Likewise.
8273         * iconvdata/ibm930.c : Likewise.
8274         * iconvdata/ibm932.c: Likewise.
8275         * iconvdata/ibm933.c : Likewise.
8276         * iconvdata/ibm935.c : Likewise.
8277         * iconvdata/ibm937.c : Likewise.
8278         * iconvdata/ibm939.c : Likewise.
8279         * iconvdata/ibm943.c: Likewise.
8280         * iconvdata/iso_11548-1.c: Likewise.
8281         * iconvdata/iso-2022-cn.c : Likewise.
8282         * iconvdata/iso-2022-cn-ext.c : Likewise.
8283         * iconvdata/iso-2022-jp-3.c: Likewise.
8284         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8285         * iconvdata/iso-2022-kr.c : Likewise.
8286         * iconvdata/iso646.c (gconv_end): Likewise.
8287         * iconvdata/iso_6937-2.c : Likewise.
8288         * iconvdata/iso_6937.c : Likewise.
8289         * iconvdata/iso8859-1.c: Likewise.
8290         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8291         * iconvdata/shift_jisx0213.c : Likewise.
8292         * iconvdata/sjis.c : Likewise.
8293         * iconvdata/t.61.c : Likewise.
8294         * iconvdata/tcvn5712-1.c : Likewise.
8295         * iconvdata/tscii.c: Likewise.
8296         * iconvdata/uhc.c : Likewise.
8297         * iconvdata/unicode.c (gconv_end): Likewise.
8298         * iconvdata/utf-16.c (gconv_end): Likewise.
8299         * iconvdata/utf-32.c (gconv_end): Likewise.
8300         * iconvdata/utf-7.c (base64): Likewise.
8301         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8302         * iconv/gconv_close.c (__gconv_close): Likewise.
8303         * iconv/gconv_open.c (__gconv_open): Likewise.
8304         * iconv/gconv_simple.c (internal_ucs4_loop_single)
8305         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8306         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8307         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8308         (ucs4le_internal_loop_single): Likewise.
8309         * iconv/iconv.c (iconv): Likewise.
8310         * iconv/iconv_close.c: Likewise.
8311         * iconv/loop.c (SINGLE): Likewise.
8312         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8313         * include/atomic.h: Likewise.
8314         * inet/inet6_option.c (option_alloc): Likewise.
8315         * intl/bindtextdom.c (set_binding_values): Likewise.
8316         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8317         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8318         * intl/localealias.c (read_alias_file): Likewise.
8319         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8320         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8321         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8322         * libio/fmemopen.c (fmemopen): Likewise.
8323         * libio/iofgets.c (_IO_fgets): Likewise.
8324         * libio/iofgets_u.c (fgets_unlocked): Likewise.
8325         * libio/iofgetws.c (fgetws): Likewise.
8326         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8327         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8328         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8329         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8330         * locale/findlocale.c (_nl_find_locale): Likewise.
8331         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8332         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8333         Likewise.
8334         * locale/setlocale.c (setlocale): Likewise.
8335         * login/programs/pt_chown.c (main): Likewise.
8336         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8337         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8338         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8339         (mmap, mmap64, mremap, munmap): Likewise.
8340         * math/e_exp2l.c: Likewise.
8341         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8342         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8343         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8344         * math/s_catan.c (__catan): Likewise.
8345         * math/s_catanf.c (__catanf): Likewise.
8346         * math/s_catanh.c (__catanh): Likewise.
8347         * math/s_catanhf.c (__catanhf): Likewise.
8348         * math/s_catanhl.c (__catanhl): Likewise.
8349         * math/s_catanl.c (__catanl): Likewise.
8350         * math/s_ccosh.c (__ccosh): Likewise.
8351         * math/s_ccoshf.c (__ccoshf): Likewise.
8352         * math/s_ccoshl.c (__ccoshl): Likewise.
8353         * math/s_cexp.c (__cexp): Likewise.
8354         * math/s_cexpf.c (__cexpf): Likewise.
8355         * math/s_cexpl.c (__cexpl): Likewise.
8356         * math/s_clog10.c (__clog10): Likewise.
8357         * math/s_clog10f.c (__clog10f): Likewise.
8358         * math/s_clog10l.c (__clog10l): Likewise.
8359         * math/s_clog.c (__clog): Likewise.
8360         * math/s_clogf.c (__clogf): Likewise.
8361         * math/s_clogl.c (__clogl): Likewise.
8362         * math/s_csin.c (__csin): Likewise.
8363         * math/s_csinf.c (__csinf): Likewise.
8364         * math/s_csinh.c (__csinh): Likewise.
8365         * math/s_csinhf.c (__csinhf): Likewise.
8366         * math/s_csinhl.c (__csinhl): Likewise.
8367         * math/s_csinl.c (__csinl): Likewise.
8368         * math/s_csqrt.c (__csqrt): Likewise.
8369         * math/s_csqrtf.c (__csqrtf): Likewise.
8370         * math/s_csqrtl.c (__csqrtl): Likewise.
8371         * math/s_ctan.c (__ctan): Likewise.
8372         * math/s_ctanf.c (__ctanf): Likewise.
8373         * math/s_ctanh.c (__ctanh): Likewise.
8374         * math/s_ctanhf.c (__ctanhf): Likewise.
8375         * math/s_ctanhl.c (__ctanhl): Likewise.
8376         * math/s_ctanl.c (__ctanl): Likewise.
8377         * math/w_pow.c: Likewise.
8378         * math/w_powf.c: Likewise.
8379         * math/w_powl.c: Likewise.
8380         * math/w_scalb.c (sysv_scalb): Likewise.
8381         * math/w_scalbf.c (sysv_scalbf): Likewise.
8382         * math/w_scalbl.c (sysv_scalbl): Likewise.
8383         * misc/error.c (error_tail): Likewise.
8384         * misc/pselect.c (__pselect): Likewise.
8385         * nis/nis_callback.c (__nis_create_callback): Likewise.
8386         * nis/nis_call.c (__nisfind_server): Likewise.
8387         * nis/nis_creategroup.c (nis_creategroup): Likewise.
8388         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8389         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8390         * nis/nis_getservlist.c (nis_getservlist): Likewise.
8391         * nis/nis_lookup.c (nis_lookup): Likewise.
8392         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8393         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8394         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8395         * nis/nis_xdr.c (xdr_endpoint): Likewise.
8396         * nis/nss_compat/compat-grp.c (getgrent_next_file)
8397         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8398         * nis/nss_compat/compat-initgroups.c (add_group)
8399         (internal_getgrent_r): Likewise.
8400         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8401         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8402         * nis/nss_compat/compat-spwd.c (getspent_next_file)
8403         (internal_getspnam_r): Likewise.
8404         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8405         (_nss_nis_getaliasbyname_r): Likewise.
8406         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8407         (_nss_nis_getntohost_r): Likewise.
8408         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8409         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8410         (_nss_nis_getgrgid_r): Likewise.
8411         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8412         (internal_nis_gethostent_r, internal_gethostbyname2_r)
8413         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8414         (_nss_nis_gethostbyname4_r): Likewise.
8415         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8416         (initgroups_netid): Likewise.
8417         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8418         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8419         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8420         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8421         (_nss_nis_getprotobynumber_r): Likewise.
8422         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8423         (_nss_nis_getsecretkey): Likewise.
8424         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8425         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8426         (_nss_nis_getpwuid_r): Likewise.
8427         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8428         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8429         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8430         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8431         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8432         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8433         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8434         Likewise.
8435         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8436         (_nss_nisplus_getntohost_r): Likewise.
8437         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8438         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8439         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8440         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8441         Likewise.
8442         * nis/nss_nisplus/nisplus-initgroups.c
8443         (_nss_nisplus_initgroups_dyn): Likewise.
8444         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8445         (_nss_nisplus_getnetbyaddr_r): Likewise.
8446         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8447         (_nss_nisplus_getprotobynumber_r): Likewise.
8448         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8449         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8450         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8451         Likewise.
8452         * nis/nss_nisplus/nisplus-service.c
8453         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8454         (_nss_nisplus_getservbyport_r): Likewise.
8455         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8456         (_nss_nisplus_getspnam_r): Likewise.
8457         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8458         Likewise.
8459         * nscd/aicache.c (addhstaiX): Likewise.
8460         * nscd/cache.c (cache_search, prune_cache): Likewise.
8461         * nscd/connections.c (register_traced_file, send_ro_fd)
8462         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8463         (main_loop_epoll): Likewise.
8464         * nscd/grpcache.c (addgrbyX): Likewise.
8465         * nscd/hstcache.c (addhstbyX): Likewise.
8466         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8467         * nscd/mem.c (gc, mempool_alloc): Likewise.
8468         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8469         (addinnetgrX): Likewise.
8470         * nscd/nscd-client.h (__nscd_acquire_maplock)
8471         (__nscd_drop_map_ref): Likewise.
8472         * nscd/nscd_getai.c (__nscd_getai): Likewise.
8473         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8474         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8475         Likewise.
8476         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8477         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8478         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8479         (__nscd_get_map_ref): Likewise.
8480         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8481         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8482         Likewise.
8483         * nscd/pwdcache.c (addpwbyX): Likewise.
8484         * nscd/selinux.c (preserve_capabilities): Likewise.
8485         * nscd/servicescache.c (addservbyX): Likewise.
8486         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8487         * posix/fnmatch.c (fnmatch): Likewise.
8488         * posix/getopt.c (_getopt_internal_r): Likewise.
8489         * posix/glob.c (glob, glob_in_dir): Likewise.
8490         * posix/wordexp.c (exec_comm_child): Likewise.
8491         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8492         (getanswer_r, gaih_getanswer_slice): Likewise.
8493         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8494         * resolv/res_init.c: Likewise.
8495         * resolv/res_mkquery.c (res_nmkquery): Likewise.
8496         * resolv/res_query.c (__libc_res_nquery): Likewise.
8497         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8498         Likewise.
8499         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8500         * stdio-common/perror.c (perror): Likewise.
8501         * stdio-common/printf_fp.c (___printf_fp): Likewise.
8502         * stdio-common/tmpnam.c (tmpnam): Likewise.
8503         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8504         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8505         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8506         Likewise.
8507         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8508         * stdlib/putenv.c (putenv): Likewise.
8509         * stdlib/setenv.c (__add_to_environ): Likewise.
8510         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8511         * stdlib/strtol_l.c (INTERNAL): Likewise.
8512         * string/memmem.c (memmem): Likewise.
8513         * string/strerror.c (strerror): Likewise.
8514         * string/strnlen.c (__strnlen): Likewise.
8515         * string/test-memmem.c (simple_memmem): Likewise.
8516         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8517         * sunrpc/pm_getport.c (__get_socket): Likewise.
8518         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8519         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8520         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8521         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8522         Likewise.
8523         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8524         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8525         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8526         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8527         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8528         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8529         Likewise.
8530         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8531         Likewise.
8532         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8533         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8534         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8535         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8536         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8537         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8538         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8539         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8540         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8541         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8542         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8543         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8544         Likewise.
8545         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8546         Likewise.
8547         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8548         Likewise.
8549         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8550         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8551         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8552         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8553         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8554         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8555         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8556         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8557         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8558         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8559         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8560         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8561         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8562         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8563         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8564         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8565         Likewise.
8566         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8567         Likewise.
8568         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8569         Likewise.
8570         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8571         Likewise.
8572         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8573         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8574         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8575         Likewise.
8576         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8577         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8578         * sysdeps/posix/opendir.c (__opendirat): Likewise.
8579         * sysdeps/posix/sleep.c: Likewise.
8580         * sysdeps/posix/tempname.c: Likewise.
8581         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8582         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8583         Likewise.
8584         * sysdeps/powerpc/powerpc32/dl-machine.h
8585         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8586         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8587         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8588         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8589         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8590         Likewise.
8591         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8592         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8593         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8594         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8595         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8596         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8597         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8598         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8599         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8600         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8601         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8602         (elf_machine_lazy_rel): Likewise.
8603         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8604         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8605         (elf_machine_lazy_rel): Likewise.
8606         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8607         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8608         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8609         * sysdeps/unix/grantpt.c (grantpt): Likewise.
8610         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8611         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8612         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8613         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8614         Likewise.
8615         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8616         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8617         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8618         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8619         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8620         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8621         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8622         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8623         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8624         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8625         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8626         Likewise.
8627         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8628         (__posix_fallocate64_l64): Likewise.
8629         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8630         (posix_fallocate): Likewise.
8631         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8632         Likewise.
8633         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8634         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8635         (getifaddrs_internal): Likewise.
8636         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8637         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8638         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8639         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8640         * sysdeps/unix/sysv/linux/posix_fallocate64.c
8641         (__posix_fallocate64_l64): Likewise.
8642         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8643         Likewise.
8644         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8645         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8646         (__get_clockfreq): Likewise.
8647         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8648         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8649         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8650         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8651         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8652         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8653         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8654         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8655         Likewise.
8656         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8657         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8658         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8659         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8660         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8661         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8662         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8663         Likewise.
8664         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8665         (posix_fallocate): Likewise.
8666         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8667         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8668         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8669         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8670         (elf_machine_rela, elf_machine_rela_relative)
8671         (elf_machine_lazy_rel): Likewise.
8672         * time/asctime.c (asctime_internal): Likewise.
8673         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8674         * time/tzset.c (__tzset_parse_tz): Likewise.
8675         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8676         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8677         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8678         * wcsmbs/wcsmbsload.h: Likewise.
8679
8680         [BZ #15894]
8681         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8682
8683         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8684         (arena_get2): Remove THREAD_STATS conditionals.
8685         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8686         (__malloc_stats, int): Likewise.
8687
8688 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
8689
8690         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8691         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
8692
8693         * manual/setjmp.texi: Fix typos/grammar errors.
8694
8695         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8696         Only return early when n is <= 0.  Delete unused return statement.
8697
8698         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8699         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8700         * debug/tst-longjmp_chk3.c: New file.
8701
8702         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8703         (test_main): Replace code with set_fortify_handler call.
8704         * debug/test-strcpy_chk.c: Likewise.
8705         * debug/tst-chk1.c: Likewise.
8706         * debug/tst-longjmp_chk.c: Likewise.
8707         * test-skeleton.c: Include fcntl.h & paths.h
8708         (set_fortify_handler): Define.
8709
8710         * debug/tst-longjmp_chk.c: Add header comment and include
8711         ../test-skeleton.c.
8712         (do_test): Mark static.
8713         (TEST_FUNCTION): Define.
8714
8715         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8716         (IP_PMTUDISC_INTERFACE): Likewise.
8717         (IP_MULTICAST_IF): Likewise.
8718         (IP_MULTICAST_TTL): Likewise.
8719         (IP_MULTICAST_LOOP): Likewise.
8720         (IP_ADD_MEMBERSHIP): Likewise.
8721         (IP_DROP_MEMBERSHIP): Likewise.
8722         (IP_UNBLOCK_SOURCE): Likewise.
8723         (IP_BLOCK_SOURCE): Likewise.
8724         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8725         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8726         (IP_MSFILTER): Likewise.
8727         (MCAST_JOIN_GROUP): Likewise.
8728         (MCAST_BLOCK_SOURCE): Likewise.
8729         (MCAST_UNBLOCK_SOURCE): Likewise.
8730         (MCAST_LEAVE_GROUP): Likewise.
8731         (MCAST_JOIN_SOURCE_GROUP): Likewise.
8732         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8733         (MCAST_MSFILTER): Likewise.
8734         (IP_MULTICAST_ALL): Likewise.
8735         (IP_UNICAST_IF): Likewise.
8736
8737         * timezone/Makefile: Delete $(have-ksh) check.
8738         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8739         * timezone/tzselect.ksh: Add +x mode bits.
8740
8741         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8742         (ANON_INODE_FS_MAGIC): Likewise.
8743         (BDEVFS_MAGIC): Likewise.
8744         (BINFMTFS_MAGIC): Likewise.
8745         (BTRFS_TEST_MAGIC): Likewise.
8746         (CRAMFS_MAGIC_WEND): Likewise.
8747         (DEBUGFS_MAGIC): Likewise.
8748         (ECRYPTFS_SUPER_MAGIC): Likewise.
8749         (EXT3_SUPER_MAGIC): Likewise.
8750         (EXT4_SUPER_MAGIC): Likewise.
8751         (FUTEXFS_SUPER_MAGIC): Likewise.
8752         (HOSTFS_SUPER_MAGIC): Likewise.
8753         (HUGETLBFS_MAGIC): Likewise.
8754         (MINIX3_SUPER_MAGIC): Likewise.
8755         (MTD_INODE_FS_MAGIC): Likewise.
8756         (NILFS_SUPER_MAGIC): Likewise.
8757         (OPENPROM_SUPER_MAGIC): Likewise.
8758         (PIPEFS_MAGIC): Likewise.
8759         (PSTOREFS_MAGIC): Likewise.
8760         (QNX6_SUPER_MAGIC): Likewise.
8761         (RAMFS_MAGIC): Likewise.
8762         (REISERFS_SUPER_MAGIC_STRING): Likewise.
8763         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8764         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8765         (SECURITYFS_MAGIC): Likewise.
8766         (SELINUX_MAGIC): Likewise.
8767         (SMACK_MAGIC): Likewise.
8768         (SOCKFS_MAGIC): Likewise.
8769         (SQUASHFS_MAGIC): Likewise.
8770         (STACK_END_MAGIC): Likewise.
8771         (TMPFS_MAGIC): Likewise.
8772         (USBDEVICE_SUPER_MAGIC): Likewise.
8773         (V9FS_MAGIC): Likewise.
8774         (XENFS_SUPER_MAGIC): Likewise.
8775         (CRAMFS_MAGIC): Fix typo in comment.
8776         (EXT2_SUPER_MAGIC): Update comment.
8777         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8778
8779 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
8780
8781         * sysdeps/arm: Move directory from ports/sysdeps/arm.
8782         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8783         * sysdeps/unix/sysv/linux/arm: Move directory from
8784         ports/sysdeps/unix/sysv/linux/arm.
8785         * README: Update listing for arm-*-linux-gnueabi.
8786
8787         * README: Remove mention of am33.
8788
8789 2014-02-07  Roland McGrath  <roland@hack.frob.com>
8790
8791         * bits/sigset.h (__sigemptyset): Use a statement expression rather
8792         than the comma operator, to avoid "rhs of comma has no effect"
8793         compiler warnings.
8794         (__sigfillset, __sigandset, __sigorset): Likewise.
8795         * include/signal.h (__sigemptyset): Likewise.
8796         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8797
8798 2014-02-07  Allan McRae  <allan@archlinux.org>
8799
8800         * version.h (RELEASE): Set to "development".
8801         (VERSION): Set to "2.19.90"
8802         * NEWS: Add 2.20 section.
8803
8804 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
8805
8806         [BZ #16529]
8807         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8808
8809 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8810
8811         * manual/contrib.texi: Update entry for Carlos O'Donell,
8812         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8813
8814 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
8815
8816         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8817
8818         * sysdeps/unix/sysv/linux/kernel-features.h
8819         [__LINUX_KERNEL_VERSION >= 0x020621]
8820         (__ASSUME_PROC_PID_TASK_COMM): Define.
8821
8822 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8823
8824         [BZ #16398]
8825         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8826         conversion when destination buffer does not have enough space.
8827         * libio/tst-ftell-partial-wide.c: New test case.
8828         * libio/Makefile (tests): Add tst-ftell-partial-wide.
8829
8830         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8831         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
8832         Leonard and Allan McRae.
8833
8834 2014-02-04  David S. Miller  <davem@davemloft.net>
8835
8836         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8837         32-bit.
8838
8839 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8840
8841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8842         New file
8843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8844         New file
8845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8846         New file.
8847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8848         New file.
8849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8850         New file.
8851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8852         New file.
8853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8854         New file.
8855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8856         New file.
8857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8858         New file.
8859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8860         New file.
8861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8862         New file.
8863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8864         New file.
8865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8866         New file.
8867
8868 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8869
8870         * nptl/shlib-versions: Change powerpc*le start to 2.17.
8871         * shlib-versions: Likewise.
8872
8873 2014-02-04  Roland McGrath  <roland@hack.frob.com>
8874             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8875
8876         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8877         (abilist-pattern): New variable, set to %-le.abilist.
8878
8879         * Makerules (abilist-pattern): New variable.
8880         (vpath): Use $(abilist-pattern) in place of %.abilist.
8881         (check-abi-% pattern rule): Likewise.
8882         (check-abi, update-abi): Likewise.
8883
8884 2014-02-04  Eric Wong  <normalperson@yhbt.net>
8885
8886         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8887
8888 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
8889
8890         * manual/startup.texi: Add next, previous, and top entries for
8891         the `Program Arguments' and `Environment Variables' nodes.
8892
8893 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
8894
8895         * manual/macros.texi: Add comments before MTASC-safety macros.
8896
8897         * manual/users.texi: Document MTASC-safety properties.
8898
8899         * manual/threads.texi (pthread_key_create, pthread_key_delete)
8900         (pthread_getspecific, pthread_setspecific): Format with
8901         @deftypefun, and add @safety note.
8902         * manual/signal.texi: Move comments that analyze the above
8903         functions to their home place.
8904
8905 2014-02-03  Allan McRae  <allan@archlinux.org>
8906
8907         * po/sl.po: Update Slovenian translation from translation project.
8908
8909 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
8910
8911         * manual/time.texi (timegm): Add missing blank after @c.
8912         Reported by Joseph Myers <joseph@codesourcery.com>.
8913
8914 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
8915
8916         * manual/check-safety.sh: New.
8917         * manual/Makefile ($(objpfx)stamp-summary): Run it.
8918
8919         * manual/terminal.texi: Document MTASC-safety properties.
8920
8921         * manual/filesys.texi: Document MTASC-safety properties.
8922
8923         * manual/errno.texi: Document MTASC-safety properties.
8924
8925         * manual/intro.texi: Document safety identifiers and
8926         conditionals.
8927
8928         * manual/string.texi (wcstok): Fix prototype.
8929         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8930
8931         * manual/time.texi: Document MTASC-safety properties.
8932
8933         * manual/string.texi: Document MTASC-safety properties.
8934
8935         * manual/threads.texi: Document MTASC-safety properties.
8936
8937         * manual/stdio.texi: Document MTASC-safety properties.
8938
8939         * manual/syslog.texi: Document MTASC-safety properties.
8940
8941         * manual/sysinfo.texi: Document MTASC-safety properties.
8942
8943         * manual/startup.texi: Document MTASC-safety properties.
8944
8945         * manual/socket.texi: Document MTASC-safety properties.
8946
8947         * manual/signal.texi: Document MTASC-safety properties.
8948
8949 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
8950
8951         * manual/setjmp.texi: Document MTASC-safety properties.
8952
8953         * manual/search.texi: Document MTASC-safety properties.
8954
8955         * manual/resource.texi: Document MTASC-safety properties.
8956
8957         * manual/process.texi: Document MTASC-safety properties.
8958
8959         * manual/platform.texi: Document MTASC-safety properties.
8960
8961         * manual/pipe.texi: Document MTASC-safety properties.
8962
8963         * manual/pattern.texi: Document MTASC-safety properties.
8964
8965         * manual/message.texi: Document MTASC-safety properties.
8966
8967         [BZ #12751]
8968         * manual/memory.texi: Document MTASC-safety properties.
8969
8970         * manual/math.texi: Document MTASC-safety properties.
8971
8972         * manual/locale.texi: Document MTASC-safety properties.
8973
8974         * manual/llio.texi: Document MTASC-safety properties.
8975
8976         * manual/libdl.texi: New.
8977
8978         * manual/lang.texi: Document MTASC-safety properties.
8979
8980         * manual/job.texi: Document MTASC-safety properties.
8981
8982         * manual/getopt.texi: Document MTASC-safety properties.
8983
8984         * manual/ctype.texi: Document MTASC-safety properties.
8985
8986 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
8987
8988         [BZ #16046]
8989         * csu/libc-tls.c (static_map): Remove variable.
8990         (__libc_setup_tls): Use main executable's link map for TLS data.
8991         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8992         casing for LM_ID_BASE and GL(dl_nns).
8993         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8994         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
8995         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8996         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8997         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8998         member.
8999         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9000         l_phnum members.
9001
9002 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
9003
9004         * manual/debug.texi: Document MTASC-safety properties.
9005
9006 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
9007
9008         [BZ #16510]
9009         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9010         of __x86_64__ when disabling x87 inline functions.
9011
9012 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
9013
9014         * manual/charset.texi: Document MTASC-safety properties.
9015
9016         * manual/crypt.texi: Document MTASC-safety properties.
9017
9018         * manual/conf.texi: Document MTASC-safety properties.
9019
9020         * manual/arith.texi: Document MTASC-safety properties.
9021
9022         * manual/argp.texi: Document MTASC-safety properties.
9023
9024         * manual/macros.texi: Introduce macros to document multi
9025         thread, asynchronous signal and asynchronous cancellation
9026         safety properties.
9027         * manual/intro.texi: Introduce the properties themselves.
9028
9029 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9030
9031         * sysdeps/sh/sh4/Makefile: New file.
9032
9033 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
9034
9035         * math/gen-libm-test.pl ($srcdir): New variable.
9036         ($auto_input): Use it.
9037
9038 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9039
9040         [BZ #16506]
9041         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9042         access beyond array bounds when parsing netgroups file.
9043
9044         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9045         the old buffer before realloc.
9046
9047 2014-01-27  Allan McRae  <allan@archlinux.org>
9048
9049         * po/fr.po: Update French translation from translation project.
9050
9051 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9052
9053         * sysdeps/sh/libm-test-ulps: Regenerate.
9054
9055 2014-01-24  David S. Miller  <davem@davemloft.net>
9056
9057         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9058
9059 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9060
9061         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9062         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9063
9064 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9065
9066         [BZ #16474]
9067         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9068         string pointers after reallocation.
9069
9070 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9071
9072         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9073         __SH4A__ instead of __SH_FPU_ANY__.
9074
9075 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9076
9077         * sysdeps/sh/fpu_control.h: New file.
9078         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9079         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9080         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9081         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9082         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9083         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9084         * sysdeps/sh/sys/ucontext.h: Remove.
9085         * sysdeps/sh/sys: Remove directory.
9086
9087 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9088
9089         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9090         s390/sys/ucontext.h.
9091         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9092         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9093
9094 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
9095
9096         [BZ #15605]
9097         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9098
9099 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9100
9101         [BZ#16431]
9102         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9103         Adjust the vDSO correctly for internal calls.
9104         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9105
9106 2014-01-20  Allan McRae  <allan@archlinux.org>
9107
9108         * po/ca.po: Update Catalan translation from translation project.
9109
9110 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
9111
9112         * sysdeps/s390/sotruss-lib.c: New file.
9113
9114 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9115
9116         [BZ#16430]
9117         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9118         (__GI___gettimeofday): Alias for a different internal symbol to avoid
9119         local calls issues by not having a PLT stub required for IFUNC calls.
9120         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9121
9122 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
9123
9124         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9125         * math/test-fpucw-static.c: Likewise.
9126
9127 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9128
9129         [BZ #16453]
9130         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9131
9132 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9133
9134         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9135         implementation for powerpc.
9136
9137 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
9138
9139         [BZ #14782]
9140         * sysdeps/posix/system.c (__libc_system): Do not enable
9141         asynchronous cancellation.
9142
9143 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9144
9145         [BZ #16427]
9146         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9147         handling only for numbers special also in the IEEE case.
9148
9149 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9150
9151         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9152
9153 2014-01-11  Allan McRae  <allan@archlinux.org>
9154
9155         * po/bg.po: Update Bulgarian translation from translation project.
9156
9157         * po/de.po: Update German translation from translation project.
9158
9159 2014-01-10  Roland McGrath  <roland@hack.frob.com>
9160
9161         * sysdeps/generic/gcc-compat.h: New file.
9162
9163 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9164
9165         * benchtests/asin-inputs: Correct slow inputs.
9166         * benchtests/acos-inputs: Likewise.
9167
9168 2014-01-10  Allan McRae  <allan@archlinux.org>
9169
9170         * po:sv.po: Update Swedish translation from translation project.
9171
9172         * po/vi.po: Update Vietnamese translation from translation project.
9173
9174         * po/eo.po: Update Esperanto translation from translation project.
9175
9176         * po/cs.po: Update Czech translation from translation project.
9177
9178         * po/nl.po: Update Dutch translation from translation project.
9179
9180         * po/pl.po: Update Polish translation from translation project.
9181
9182         * po/ru.po: Update Russian translation from translation project.
9183
9184         * po/uk.po: Update Ukrainian translation from translation project.
9185
9186 2014-01-08  Brooks Moses  <bmoses@google.com>
9187
9188         * elf/dl-load.c: Fix comment typo.
9189
9190 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
9191
9192         * po/header.pot: Rename to...
9193         * po/pot.header: ... this.
9194         * po/Makefile: Use pot.header.
9195
9196 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
9197             Maxim Kuvyrkov  <maxim@kugelworks.com>
9198
9199         [BZ #16394]
9200         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9201         SRC and DEST against LEN.
9202
9203 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9204
9205         [BZ #16414]
9206         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9207         implementation.
9208         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9209
9210 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9211
9212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9213
9214 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
9215
9216         [BZ #16408]
9217         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9218         for large positive arguments.
9219
9220 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
9221
9222         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9223
9224         * math/auto-libm-test-in: Mark various tests with
9225         xfail-rounding:ldbl-128ibm.
9226         * math/auto-libm-test-out: Regenerated.
9227
9228         [BZ #16407]
9229         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9230         Increase overflow threshold.
9231
9232 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
9233
9234         [BZ #14286]
9235         * stdio-common/vfprintf.c: Check for integer overflow.
9236
9237 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9238
9239         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9240         the first argument and return value of __tls_get_addr_internal.
9241
9242 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9243
9244         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9245         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9246
9247 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9248
9249         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9250         * sysdeps/s390/rtld-global-offsets.sym: New file.
9251         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9252         GLIBC_2.19 symbol.
9253         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9254         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9255         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9256         ... this.
9257         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9258         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9259         ... this.
9260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9261         Regenerate.
9262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9263         Regenerate.
9264         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9265         halfs of GPRs for high_gprs contexts.
9266         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9267         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
9268         field.
9269         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9270         uc_flags field.
9271         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9272         64 bit versions:
9273         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9274         for high GPRs (uc_high_gprs) and for future extensions
9275         (__reserved).
9276         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9277         for future extensions (__reserved).
9278         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9279         64 bit versions:
9280         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9281         SC_HIGHGPRS offset definition.
9282         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9283         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9284
9285         * Versions.def: Add GLIBC_2.19 for libpthread.
9286         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9287         siglongjmp for libpthread with GLIBC_2.19 symver.
9288         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9289         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9290         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9291         * sysdeps/s390/__longjmp.c: New file.
9292         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9293         * sysdeps/s390/longjmp.c: New file.
9294         * sysdeps/s390/setjmp.S: New file.
9295         * sysdeps/s390/sigjmp.S: New file.
9296         * sysdeps/s390/v1-longjmp.c: New file.
9297         * sysdeps/s390/v1-setjmp.h: New file.
9298         * sysdeps/s390/v1-sigjmp.c: New file.
9299         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9300         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9301         GLIBC_2.19 version.
9302         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9303         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9304         versioned symbols for ____longjmp_chk.
9305         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9306         Likewise.
9307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9308         Regenerate.
9309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9310         Regenerate.
9311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9312         Regenerate.
9313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9314         Regenerate.
9315         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9316         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9317         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9318         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9319         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9320         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9321         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9322         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9323         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9324         * sysdeps/s390/rtld-__longjmp.c: New file.
9325         * sysdeps/s390/rtld-setjmp.S: New file.
9326
9327 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
9328
9329         [BZ #16400]
9330         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9331         Return -__logl (x) for small positive arguments without evaluating
9332         a polynomial.
9333
9334 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
9335
9336         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9337         Rename to ...
9338         (__ptrace_peeksiginfo_args): ... this.
9339         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9340         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9341         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9342
9343 2014-01-06  Allan McRae  <allan@archlinux.org>
9344
9345         * inet/netinet/in.h: Fix typo in comment.
9346
9347 2014-01-05  Andreas Jaeger  <aj@suse.de>
9348
9349         * sysdeps/i386/fpu/libm-test-ulps: Update.
9350
9351 2014-01-05  Allan McRae  <allan@archlinux.org>
9352
9353         * po/libc.pot: Regenerated.
9354
9355         * malloc/memusagestat.c: Fix gettext call formatting.
9356
9357 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
9358
9359         * nscd/nscd.c: Improve usage() output.
9360
9361 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
9362
9363         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9364         * sysdeps/unix/sysv/linux/configure: Regenerated.
9365         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9366         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9367
9368 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9369
9370         [BZ #16390]
9371         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9372         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9373
9374 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9375
9376         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9377         extra tokens at end of #undef directive.
9378         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9379         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9380         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9381
9382 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9383
9384         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9385
9386         * math/auto-libm-test-in: Mark various tests with
9387         xfail-rounding:ldbl-128ibm.
9388         * math/auto-libm-test-out: Regenerated.
9389
9390 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
9391
9392         [BZ #16386]
9393         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9394         numbers with subnormal high part when calculating exponent.
9395
9396         [BZ #16385]
9397         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9398         fabs.
9399
9400         [BZ #16384]
9401         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9402         M_LN2l.
9403         (__ieee754_acoshl): Use __log1pl not __log1p.
9404
9405 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
9406
9407         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9408         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9409         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9410         (grow_heap, heap_trim, _int_new_arena, get_free_list)
9411         (reused_arena, arena_get2): Convert to GNU style.
9412         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9413         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9414         (memalign_check, __malloc_set_state): Likewise.
9415         * malloc/mallocbug.c (main): Likewise.
9416         * malloc/malloc.c (__malloc_assert, malloc_init_state)
9417         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9418         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9419         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9420         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9421         (__posix_memalign, malloc_info): Likewise.
9422         * malloc/malloc.h: Likewise.
9423         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9424         (mallochook, memalignhook, reallochook, mabort): Likewise.
9425         * malloc/mcheck.h: Likewise.
9426         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9427         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9428         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9429         * malloc/morecore.c (__default_morecore): Likewise.
9430         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9431         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9432         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9433         (print_and_abort): Likewise.
9434         * malloc/obstack.h: Likewise.
9435         * malloc/set-freeres.c (__libc_freeres): Likewise.
9436         * malloc/tst-mallocstate.c (main): Likewise.
9437         * malloc/tst-mtrace.c (main): Likewise.
9438         * malloc/tst-realloc.c (do_test): Likewise.
9439
9440 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9441
9442         [BZ #16366]
9443         * nscd/netgroupcache.c (do_notfound): New function.
9444         (addgetnetgrentX): Use it.
9445
9446         [BZ # 16365]
9447         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9448         NSS_STATUS_NOTFOUND.
9449
9450 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
9451
9452         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9454
9455 2014-01-01  Allan McRae  <allan@archlinux.org>
9456
9457         * scripts/update-copyrights: Update configure input file suffix.
9458
9459         * NEWS: Update copyright year.
9460         * catgets/gencat.c: Likewise.
9461         * csu/version.c: Likewise.
9462         * debug/catchsegv.sh: Likewise.
9463         * debug/pcprofiledump.c: Likewise.
9464         * debug/xtrace.sh: Likewise.
9465         * elf/ldconfig.c: Likewise.
9466         * elf/ldd.bash.in: Likewise.
9467         * elf/pldd.c: Likewise.
9468         * elf/sotruss.ksh: Likewise.
9469         * elf/sprof.c: Likewise.
9470         * iconv/iconv_prog.c: Likewise.
9471         * iconv/iconvconfig.c: Likewise.
9472         * locale/programs/locale.c: Likewise.
9473         * locale/programs/localedef.c: Likewise.
9474         * login/programs/pt_chown.c: Likewise.
9475         * malloc/memusage.sh: Likewise.
9476         * malloc/memusagestat.c: Likewise.
9477         * malloc/mtrace.pl: Likewise.
9478         * manual/libc.texinfo: Likewise.
9479         * nscd/nscd.c: Likewise.
9480         * nss/getent.c: Likewise.
9481         * nss/makedb.c: Likewise.
9482         * posix/getconf.c: Likewise.
9483         * scripts/test-installation.pl: Likewise.
9484
9485         * All files with FSF copyright notices: Update copyright dates
9486         using scripts/update-copyrights.
9487         * intl/plural.c: Regenerated.
9488         * locale/programs/charmap-kw.h: Likewise.
9489         * locale/programs/locfile-kw.h: Likewise.
9490
9491 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
9492
9493         * sysdeps/unix/sysv/linux/configure: Regenerated.
9494         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9495         the linux/fanotify.h header.
9496         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9497         HAVE_LINUX_FANOTIFY_H is defined.
9498
9499 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9500
9501         * benchtests/cos-inputs: New inputs.
9502         * benchtests/sin-inputs: Likewise.
9503
9504         * benchtests/atan-inputs: New inputs. Fix name of multiple
9505         precision fallback inputs.
9506
9507         * benchtests/atanh-inputs: New inputs.
9508         * benchtests/tanh-inputs: Likewise.
9509
9510         * benchtests/acosh-inputs: New inputs.
9511         * benchtests/asinh-inputs: Likewise.
9512
9513         * benchtests/cosh-inputs: New inputs.
9514         * benchtests/sinh-inputs: Likewise.
9515
9516         * benchtests/acos-inputs: Add more inputs.
9517         * benchtests/asin-inputs: Likewise.
9518
9519 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
9520
9521         [BZ #16375]
9522         * manual/arith.texi: Fix spelling.
9523         * manual/charset.texi: Likewise.
9524         * manual/errno.texi: Likewise.
9525         * manual/filesys.texi: Likewise.
9526         * manual/lang.texi: Likewise.
9527         * manual/llio.texi: Likewise.
9528         * manual/locale.texi: Likewise.
9529         * manual/message.texi: Likewise.
9530         * manual/resource.texi: Likewise.
9531         * manual/search.texi: Likewise.
9532         * manual/setjmp.texi: Likewise.
9533         * manual/stdio.texi: Likewise.
9534         * manual/string.texi: Likewise.
9535         * manual/sysinfo.texi: Likewise.
9536         * manual/time.texi: Likewise.
9537
9538 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
9539
9540         * po/sl.po: New file.
9541
9542 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
9543
9544         * .gitignore: Add core/.gdbinit/.gdb_history.
9545
9546 2013-12-27  Allan McRae  <allan@archlinux.org>
9547
9548         [BZ #16369]
9549         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9550         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9551
9552 2013-12-24  Brooks Moses  <bmoses@google.com>
9553
9554         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9555         all compilers that claim C++98 compliance, not just GCC.
9556         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9557         Likewise.
9558
9559 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
9560
9561         * NEWS: Restore accidentally deleted bug-fix entries.
9562
9563 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
9564             Ondřej Bílka  <neleai@seznam.cz>
9565
9566         [BZ #15073]
9567         * malloc/malloc.c (_int_free): Perform sanity check only if we
9568         have_lock.
9569
9570 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
9571
9572         [BZ #12986]
9573         * manual/stdio.texi (String Input Conversions): Clarify that character
9574         classes are not supported.
9575
9576 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9577
9578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9579
9580 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
9581
9582         [BZ #16337]
9583         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9584         Calculate results for small negative arguments directly rather
9585         than using reflection formula with special underflow handling.
9586
9587         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9588         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9589         sysdeps/unix/bsd/bsd4.4/syscalls.list.
9590         (fchflags): Likewise.
9591         (revoke): Likewise.
9592         (setlogin): Likewise.
9593         (sigaltstack): Likewise.
9594         (wait4): Likewise.
9595         (sigblock): Remove.
9596         (sigsetmask): Likewise.
9597         (wait3): Likewise.
9598         (waitpid): Likewise.
9599         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9600         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9601         file.
9602         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9603         * sysdeps/unix/bsd/Makefile: ... here.
9604         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9605         * sysdeps/unix/bsd/Versions: ... here.
9606         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9607         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9608         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9609         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9610         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9611         * sysdeps/unix/bsd/sigblock.c: ... here.
9612         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9613         * sysdeps/unix/bsd/sigsetmask.c: ... here.
9614         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9615         * sysdeps/unix/bsd/sigvec.c: ... here.
9616         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9617         * sysdeps/unix/bsd/tcdrain.c: ... here.
9618         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9619         * sysdeps/unix/bsd/tcgetattr.c: ... here.
9620         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9621         * sysdeps/unix/bsd/tcsetattr.c: ... here.
9622         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9623         * sysdeps/unix/bsd/wait.c: ... here.
9624         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9625         * sysdeps/unix/bsd/wait3.c: ... here.
9626         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9627         * sysdeps/unix/bsd/waitpid.c: ... here.
9628
9629 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
9630
9631         [BZ #16356]
9632         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9633         round-to-nearest for [!USE_AS_EXPM1L].
9634         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9635         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
9636         more tests of exp and exp10.  Expect some exp10 tests to miss
9637         exceptions or fail in directed rounding modes.
9638         * math/auto-libm-test-out: Regenerated.
9639         * math/libm-test.inc (exp10_tonearest_test_data): New array.
9640         (exp10_test_tonearest): New function.
9641         (exp10_towardzero_test_data): New array.
9642         (exp10_test_towardzero): New function.
9643         (exp10_downward_test_data): New array.
9644         (exp10_test_downward): New function.
9645         (exp10_upward_test_data): New array.
9646         (exp10_test_upward): New function.
9647         (main): Call the new functions.
9648         * sysdeps/i386/fpu/libm-test-ulps: Update.
9649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9650
9651 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
9652
9653         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9654         asinh, atan, atan2, atanh, cbrt, cos and cosh.
9655         * math/auto-libm-test-out: Regenerated.
9656         * math/libm-test.inc (acosh_test_data): Add more tests.
9657         (atanh_test_data): Likewise.
9658         (ceil_test_data): Likewise.
9659         (copysign_test_data): Likewise.
9660         * sysdeps/i386/fpu/libm-test-ulps: Update.
9661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9662
9663         * timezone/checktab.awk: Update from tzcode 2013i.
9664         * timezone/private.h: Likewise.
9665         * timezone/scheck.c: Likewise.
9666         * timezone/tzfile.h: Likewise.
9667         * timezone/tzselect.ksh: Likewise.
9668         * timezone/zdump.c: Likewise.
9669         * timezone/zic.c: Likewise.
9670
9671         * math/auto-libm-test-in: Add tests of cpow.
9672         * math/auto-libm-test-out: Regenerated.
9673         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9674         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9675         mpc_cc_c.
9676         (func_calc_desc): Add mpc_cc_c union field.
9677         (test_functions): Add cpow.
9678         (special_fill_2pi): New function.
9679         (special_real_inputs): Add 2pi.
9680         (calc_generic_results): Handle mpc_cc_c.
9681         * sysdeps/i386/fpu/libm-test-ulps: Update.
9682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9683
9684         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9685         csqrt, ctan and ctanh.
9686         * math/auto-libm-test-out: Regenerated.
9687         * math/libm-test.inc (TEST_COND_x86_64): New macro.
9688         (TEST_COND_x86): Likewise.
9689         (ccos_test_data): Use AUTO_TESTS_c_c.
9690         (ccosh_test_data): Likewise.
9691         (cexp_test_data): Likewise.
9692         (clog_test_data): Likewise.
9693         (csqrt_test_data): Likewise.
9694         (ctan_test_data): Likewise.
9695         (ctan_tonearest_test_data): Likewise.
9696         (ctan_towardzero_test_data): Likewise.
9697         (ctan_downward_test_data): Likewise.
9698         (ctan_upward_test_data): Likewise.
9699         (ctanh_test_data): Likewise.
9700         (ctanh_tonearest_test_data): Likewise.
9701         (ctanh_towardzero_test_data): Likewise.
9702         (ctanh_downward_test_data): Likewise.
9703         (ctanh_upward_test_data): Likewise.
9704         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9705         mpc_c_c.
9706         (func_calc_desc): Add mpc_c_c union field.
9707         (FUNC_mpc_c_c): New macro.
9708         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9709         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9710         ctanh.
9711         (special_fill_min_subnorm_p120): New function.
9712         (special_real_inputs): Add min_subnorm_p120.
9713         (calc_generic_results): Handle mpc_c_c.
9714         * sysdeps/i386/fpu/libm-test-ulps: Update.
9715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9716
9717 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9718
9719         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9720         (do_sin_slow): New functions.
9721         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9722         (cslow2, csloww1, csloww2): Use the new functions.
9723
9724         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9725         Use M to change sign of result instead of X.  Assume X is
9726         positive.
9727         (csloww1): Likewise.
9728         (__sin): Adjust.
9729         (__cos): Adjust.
9730
9731         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9732         arguments A and DA.
9733         (__sin): Adjust.
9734         (__cos): Likewise.
9735
9736         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9737         (__cos): Likewise.
9738         (sloww1): Don't adjust sign of DX.
9739         (csloww1): Likewise.
9740         (sloww2): Use X directly and don't adjust sign of DX.
9741         (csloww2): Likewise.
9742
9743 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9744
9745         * math/auto-libm-test-in: Add tests of cabs and carg.
9746         * math/auto-libm-test-out: Regenerated.
9747         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9748         (carg_test_data): Likewise.
9749         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9750         mpc_c_f.
9751         (func_calc_desc): Add mpc_c_f union field.
9752         (test_functions): Add cabs and carg.
9753         (calc_generic_results): Handle mpc_c_f.
9754
9755         * sysdeps/powerpc/powerpc32/libgcc-compat.S
9756         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9757         as a macro and a compat symbol.
9758         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9759         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9760         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9761         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9762         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9763         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9764         not use .hidden.
9765         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9766         Likewise.
9767         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9768         Likewise.
9769         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9770         Likewise.
9771         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9772         Likewise.
9773         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9774         Likewise.
9775         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9776         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9777         from GLIBC_2.3.2.
9778
9779 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9780
9781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9782
9783 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9784
9785         * manual/texinfo.tex: Update to version 2013-11-26.10 with
9786         trailing whitespace removed.
9787         * scripts/config.guess: Update to version 2013-11-29.
9788         * scripts/config.sub: Update to version 2013-10-01.
9789
9790         * math/auto-libm-test-in: Add tests of sincos.
9791         * math/auto-libm-test-out: Regenerated.
9792         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9793         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9794         mpfr_f_11.
9795         (func_calc_desc): Add mpfr_f_11 union field.
9796         (test_functions): Add sincos.
9797         (calc_generic_results): Handle mpfr_f_11.
9798         * sysdeps/i386/fpu/libm-test-ulps: Update.
9799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9800
9801 2013-12-19  Andreas Schwab  <schwab@suse.de>
9802
9803         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9804         CALL_MCOUNT.
9805         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9806         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9807         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9808
9809 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9810
9811         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9812         * sysdeps/i386/fpu/libm-test-ulps: Update.
9813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9814
9815         [BZ #16293]
9816         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9817         round-to-nearest mode when using frndint.
9818         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9819         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9820         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9821         Likewise.
9822         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
9823         sinh test to fail.
9824         * math/auto-libm-test-out: Regenerated.
9825         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9826         (TEST_COND_x86): Likewise.
9827         (expm1_tonearest_test_data): New array.
9828         (expm1_test_tonearest): New function.
9829         (expm1_towardzero_test_data): New array.
9830         (expm1_test_towardzero): New function.
9831         (expm1_downward_test_data): New array.
9832         (expm1_test_downward): New function.
9833         (expm1_upward_test_data): New array.
9834         (expm1_test_upward): New function.
9835         (main): Run the new test functions.
9836         * sysdeps/i386/fpu/libm-test-ulps: Update.
9837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9838
9839         * include/features.h: Update comment documenting feature test
9840         macros.  Mention _DEFAULT_SOURCE in comment.
9841         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9842         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9843         _BSD_SOURCE and _SVID_SOURCE.
9844         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9845         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9846         !_SVID_SOURCE]: Likewise.
9847         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9848         (__USE_POSIX_IMPLICITLY): Define.
9849         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9850         (_POSIX_SOURCE): Undefine and redefine.
9851         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9852         (_POSIX_C_SOURCE): Likewise.
9853         * manual/creature.texi (_DEFAULT_SOURCE): Document.
9854         (Feature Test Macros): Update documentation of default features.
9855
9856 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9857
9858         * benchtests/Makefile: Add bench-strtok.
9859         * benchtests/bench-strtok.c: New file: strtok benchtest.
9860
9861 2013-12-19  Allan McRae  <allan@archlinux.org>
9862
9863         * manual/install.texi: Suppress menu for plain text output.
9864         * INSTALL: Regenerated.
9865
9866 2013-12-18  Brooks Moses  <bmoses@google.com>
9867
9868         [BZ #15846]
9869         * misc/getauxval.c: Include errno.h.
9870         (__getauxval): Set errno to ENOENT if the requested type is not
9871         found.
9872         * misc/sys/auxv.h (getauxval): Document that it may set errno;
9873         don't declare with __attribute_const__.
9874         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9875         * manual/startup.texi: Document that getauxval sets errno.
9876
9877 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
9878
9879         * math/auto-libm-test-in: Add tests of jn and yn.
9880         * math/auto-libm-test-out: Regenerated.
9881         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9882         (yn_test_data): Likewise.
9883         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9884         mpfr_if_f.
9885         (func_calc_desc): Add mpfr_if_f union field.
9886         (FUNC_mpfr_if_f): New macro.
9887         (test_functions): Add jn and yn.
9888         (calc_generic_results): Assert type of second input for
9889         mpfr_ff_f.  Handle mpfr_if_f.
9890         (output_for_one_input_case): Disable all checking for arguments
9891         fitting floating-point types in case of an integer argument.
9892         * sysdeps/i386/fpu/libm-test-ulps: Update.
9893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9894
9895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9896         Don't expect fegetround reference in libm.so.
9897
9898 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9899
9900         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9901         $(config-cflags-nofma).
9902
9903 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
9904
9905         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9906         * math/auto-libm-test-out: Regenerated.
9907
9908         [BZ #16338]
9909         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9910         to determine exponent and adjust argument to have exponent of -1.
9911         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9912         log2.
9913         * math/auto-libm-test-out: Regenerated.
9914         * sysdeps/i386/fpu/libm-test-ulps: Update.
9915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9916
9917 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
9918
9919         * manual/probes.texi: Remove cases when per-thread arenas are
9920         disabled.
9921
9922 2013-12-18  Andreas Schwab  <schwab@suse.de>
9923
9924         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9925         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9926         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9927         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9928         * sysdeps/i386/i686/multiarch/Makefile: Update.
9929         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9930
9931 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9932
9933         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9934         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9935
9936 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
9937
9938         [BZ #15968]
9939         Support TZ transition times < 00:00:00.
9940         This is needed for version-3 tz-format files; it supports time
9941         stamps past 2037 for America/Godthab (the only entry in the tz
9942         database for which this change is relevant).
9943         * manual/time.texi (TZ Variable): Document transition times
9944         from -167:59:59 through -00:00:01.
9945         * time/tzset.c (tz_rule): Time of day is now signed.
9946         (__tzset_parse_tz): Parse negative time of day.
9947
9948         Document TZ transition times >= 25:00:00.
9949         * manual/time.texi (TZ Variable): Document transition times from
9950         25:00:00 through 167:59:59.  These are already supported, and this
9951         support will help with version-3 tz-format files.
9952
9953         * manual/time.texi (TZ Variable): Modernize North America example
9954         to reflect current (i.e., 2007-and-later) daylight saving rules.
9955
9956         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9957
9958 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9959
9960         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9961         * sysdeps/unix/bsd/bits/stat.h: Likewise.
9962         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9963         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9964         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9965         * sysdeps/unix/bsd/bsdstat.h: Likewise.
9966         * sysdeps/unix/bsd/clock.c: Likewise.
9967         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9968         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9969         * sysdeps/unix/bsd/init-posix.c: Likewise.
9970         * sysdeps/unix/bsd/poll.c: Likewise.
9971         * sysdeps/unix/bsd/ptsname.c: Likewise.
9972         * sysdeps/unix/bsd/seekdir.c: Likewise.
9973         * sysdeps/unix/bsd/setegid.c: Likewise.
9974         * sysdeps/unix/bsd/seteuid.c: Likewise.
9975         * sysdeps/unix/bsd/setgid.c: Likewise.
9976         * sysdeps/unix/bsd/setrgid.c: Likewise.
9977         * sysdeps/unix/bsd/setruid.c: Likewise.
9978         * sysdeps/unix/bsd/setsid.c: Likewise.
9979         * sysdeps/unix/bsd/setuid.c: Likewise.
9980         * sysdeps/unix/bsd/sigaction.c: Likewise.
9981         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9982         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9983         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9984         * sysdeps/unix/bsd/telldir.c: Likewise.
9985         * sysdeps/unix/bsd/times.c: Likewise.
9986         * sysdeps/unix/bsd/usleep.c: Likewise.
9987
9988         * misc/Makefile (install-lib): Remove libbsd-compat.a.
9989         ($(objpfx)libbsd-compat.a): Remove rule.
9990
9991         * include/features.h (__FAVOR_BSD): Do not define.
9992         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9993         features conflicting with POSIX.
9994         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9995         (_BSD_SOURCE): Remove description of not being a subset of other
9996         feature test macros.
9997         * manual/job.texi (getpgrp): Do not document BSD version.
9998         (getpgid): Do not document by reference to BSD getpgrp.
9999         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10000         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10001         * signal/signal.h [__FAVOR_BSD]: Likewise.
10002         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10003         instead of making contents conditional on [__FAVOR_BSD].
10004         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10005
10006 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10007
10008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10009
10010 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10011
10012         [BZ #16314]
10013         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10014         values below 2**-450, not 2**-500.
10015         * math/auto-libm-test-in: Don't allow spurious underflow from
10016         hypot.
10017         * math/auto-libm-test-out: Regenerated.
10018
10019         [BZ #16316]
10020         [BZ #16330]
10021         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10022         values of ha and hb and sort them after adjusting subnormal
10023         arguments.
10024         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10025         Likewise.
10026         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10027         values of ea and eb and sort them after adjusting subnormal
10028         arguments.
10029         * math/auto-libm-test-in: Do not expect some hypot tests of
10030         subnormals to fail.  Add more hypot tests.
10031         * math/auto-libm-test-out: Regenerated.
10032
10033 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10034
10035         [BZ #13304]
10036         * sysdeps/sh/s_fma.c: New file.
10037         * sysdeps/sh/s_fmaf.c: New file.
10038         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
10039         version.
10040         * sysdeps/sh/Implies: Add sh/soft-fp.
10041
10042 2013-12-16  Roland McGrath  <roland@hack.frob.com>
10043
10044         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
10045         level of indirection to members `objname', `errstring', `malloced'.
10046         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10047         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
10048         it as the __longjmp argument (just pass 1 instead).
10049         (_dl_catch_error): Initialize C with argument pointers and address of
10050         volatile local ERRCODE rather than copying values out of C at return.
10051
10052 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
10053
10054         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10055         * math/auto-libm-test-out: Regenerated.
10056         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10057         (hypot_test_data): Likewise.
10058         (pow_test_data): Likewise.
10059         (pow_tonearest_test_data): Likewise.
10060         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10061         mpfr_ff_f.
10062         (func_calc_desc): Add mpfr_ff_f union field.
10063         (FUNC_mpfr_ff_f): New macro.
10064         (test_functions): Add atan2, hypot and pow.
10065         (special_fill_min): New function.
10066         (special_fill_minus_min): Likewise.
10067         (special_fill_min_subnorm): Likewise.
10068         (special_fill_minus_min_subnorm): Likewise.
10069         (special_real_inputs): Add min, -min, min_subnorm and
10070         -min_subnorm.
10071         (calc_generic_results): Handle mpfr_ff_f.
10072         * sysdeps/i386/fpu/libm-test-ulps: Update.
10073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10074
10075 2013-12-16  Will Newton  <will.newton@linaro.org>
10076
10077         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10078         (Aligned Memory Blocks): Add documentation for aligned_alloc
10079         and suggest it as an alternative to posix_memalign.
10080         (Hooks for Malloc): Document __memalign_hook is also called
10081         for aligned_alloc.  (Summary of Malloc): Add summary for
10082         aligned alloc.  Document __memalign_hook is also called
10083         for aligned_alloc.
10084
10085 2013-12-16  Will Newton  <will.newton@linaro.org>
10086
10087         * manual/memory.texi (Malloc Examples): Clarify default
10088         alignment documentation.  Suggest posix_memalign rather
10089         than memalign or valloc.
10090         (Aligned Memory Blocks): Remove suggestion to use memalign
10091         or valloc.  Remove obsolete comment about BSD.
10092         Document memalign errno values and mark the function obsolete.
10093         Document posix_memalign returned error codes.  Mark valloc
10094         as obsolete.  (Hooks for Malloc): __memalign_hook is also
10095         called for posix_memalign and valloc.
10096         (Summary of Malloc): Add posix_memalign to function summary.
10097         __memalign_hook is also called for posix_memalign and valloc.
10098
10099 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10100
10101         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10102         TAYLOR_SIN.
10103         (__sin): Adjust.
10104         (__cos): Likewise.
10105         (sloww): Use mynumber union.  Expand ternary operator into
10106         if-else statements.
10107         (cslow): use mynumber union.
10108
10109 2013-12-16  Allan McRae  <allan@archlinux.org>
10110
10111         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10112         * configure: Regenerated.
10113
10114         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10115
10116         [BZ #14120]
10117         * configure.ac: Added --enable-maintainer-mode. Check for
10118         autoconf when enabled.
10119         * configure: Regenerated.
10120
10121         * nscd/nscd.service: New file.
10122         * nscd/nscd.tmpfiles: New file.
10123
10124 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
10125
10126         [BZ #12100]
10127         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10128         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10129         * sysdeps/x86_64/multiarch/strstr.c: ... here.
10130         (strstr): Add __strstr_sse2_unaligned ifunc.
10131         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10132         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10133         (strcasestr): Remove __strcasestr_sse42 ifunc.
10134         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10135         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10136         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10137
10138 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10139
10140         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10141         * sysdeps/sh/bits/fenv.h: ... here.
10142         * sysdeps/sh/sh4/fpu/bits: Remove directory.
10143
10144 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10145
10146         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10147
10148         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10149         hypotf multiarch implementations.
10150         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10151         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10152         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10153         multiarch hypot for PPC64.
10154         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10155         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10156         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10157         multiarch hypotf for PPC64.
10158
10159         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10160         modff multiarch implementations.
10161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10164         multiarch modf for PPC64.
10165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10168         multiarch modff for PPC64.
10169
10170         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10171         and logl multiarch implementations.
10172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10175         multiarch logb for PPC64.
10176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10179         multiarch logb for PPC64.
10180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10183         multiarch logb for PPC64.
10184
10185         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10186         isinff multiarch implementation.
10187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10188         file.
10189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10191         multiarch isinf for PPC64.
10192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10193         file.
10194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10195         multiarch isinff for PPC64.
10196
10197         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10198         finitef multiarch implementation.
10199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10200         file.
10201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10203         multiarch finite for PPC64.
10204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10205         file.
10206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10207         multiarch finitef for PPC64.
10208
10209         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10210         lrint multiarch implementation.
10211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10212         file.
10213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10215         multiarch llrint for PPC64.
10216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10217         multiarch lrint for PPC64.
10218
10219         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10220         copysignf multiarch implementation.
10221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10222         file.
10223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10224         file.
10225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10226         multiarch copysign for PPC64.
10227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10228         multiarch copysignf for PPC64.
10229
10230         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10231         multiarch implementation.
10232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10233         file.
10234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10235         file.
10236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10237         file.
10238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10239         file.
10240         multiarch llround for PPC64.
10241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10242         multiarch trunc for PPC64.
10243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10244         multiarch truncf for PPC64.
10245
10246         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10247         multiarch implementation.
10248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10249         file.
10250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10251         file.
10252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10253         file.
10254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10255         file.
10256         multiarch llround for PPC64.
10257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10258         multiarch round for PPC64.
10259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10260         multiarch roundf for PPC64.
10261
10262         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10263         multiarch implementation.
10264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10265         file.
10266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10267         file.
10268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10269         file.
10270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10271         file.
10272         multiarch llround for PPC64.
10273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10274         multiarch floor for PPC64.
10275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10276         multiarch floorf for PPC64.
10277
10278         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10279         multiarch implementation.
10280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10281         file.
10282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10283         file.
10284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10285         file.
10286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10287         file.
10288         multiarch llround for PPC64.
10289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10290         multiarch ceil for PPC64.
10291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10292         multiarch ceilf for PPC64.
10293
10294         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10295         multiarch implementation.
10296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10297         file.
10298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10299         file.
10300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10301         file.
10302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10303         multiarch llround for PPC64.
10304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10305         multiarch lround for PPC64.
10306
10307         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10308         multiarch implementation.
10309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10312         file.
10313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10316         multiarch isnan for PPC64.
10317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10318         multiarch isnanf for PPC64.
10319
10320         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10321         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10322         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10323         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10324         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10326
10327         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10328         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10329         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10330         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10331
10332         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10333         multiarch implementations.
10334         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10335         (__libc_ifunc_impl_list): Likewise.
10336         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10337         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10338         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10339         multiarch stpcpy for PPC64.
10340
10341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10342         multiarch implementations.
10343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10344         (__libc_ifunc_impl_list): Likewise.
10345         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10346         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10347         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10348         multiarch strcpy for PPC64.
10349
10350         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10351         redefine function name.
10352         (_wordcopy_fwd_dest_aligned): Likewise.
10353         (_wordcopy_bwd_aligned): Likewise.
10354         (_wordcopy_bwd_dest_aligned): Likewise.
10355         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10356         multiarch implementations.
10357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10358         (__libc_ifunc_impl_list): Likewise.
10359         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10360         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10361         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10362         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10363         multiarch wcscpy for PPC64.
10364
10365         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10366         multiarch implementations.
10367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10368         (__libc_ifunc_impl_list): Likewise.
10369         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10370         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10371         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10372         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10373         multiarch wcscpy for PPC64.
10374
10375         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10376         multiarch implementations.
10377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10378         (__libc_ifunc_impl_list): Likewise.
10379         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10380         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10381         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10382         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10383         multiarch wcsrchr for PPC64.
10384
10385         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10386         multiarch implementations.
10387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10388         (__libc_ifunc_impl_list): Likewise.
10389         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10390         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10391         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10392         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10393         multiarch wcschr for PPC64.
10394
10395         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10396         multiarch implementations.
10397         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10398         (__libc_ifunc_impl_list): Likewise.
10399         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10400         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10401         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10402         multiarch strchrnul for PPC64.
10403
10404         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10405         implementations.
10406         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10407         (__libc_ifunc_impl_list): Likewise.
10408         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10409         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10410         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10411         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10412         strchr for PPC64.
10413
10414         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10415         implementations.
10416         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10417         (__libc_ifunc_impl_list): Likewise.
10418         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10419         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10420         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10421         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10422         strncmp for PPC64.
10423
10424         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10425         multiarch implementations.
10426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10427         (__libc_ifunc_impl_list): Likewise.
10428         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10429         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10430         strncasecmp for PPC64.
10431         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10432         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10433         multiarch strncasecmp_l for PPC64.
10434
10435         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10436         multiarch implementations.
10437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10438         (__libc_ifunc_impl_list): Likewise.
10439         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10440         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10441         multiarch strcasecmp for PPC64.
10442         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10443         file.
10444         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10445         multiarch strcasecmp_l for PPC64.
10446
10447         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10448         implementations.
10449         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10450         (__libc_ifunc_impl_list): Likewise.
10451         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10452         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10453         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10454         strnlen for PPC64.
10455
10456         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10457         implementations.
10458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10459         (__libc_ifunc_impl_list): Likewise.
10460         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10461         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10462         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10463         strlen for PPC64.
10464
10465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10466         implementations.
10467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10468         (__libc_ifunc_impl_list): Likewise.
10469         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10470         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10471         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10472         rawmemrchr for PPC64.
10473
10474         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10475         implementation.
10476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10477         (__libc_ifunc_impl_list): Likewise.
10478         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10479         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10480         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10481         memrchr for PPC64.
10482
10483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10484         implementation.
10485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10486         (__libc_ifunc_impl_list): Likewise.
10487         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10488         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10489         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10490         memchr for PPC64.
10491
10492         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10493         implementation.
10494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10495         (__libc_ifunc_impl_list): Likewise.
10496         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10497         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10498         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10499         mempcpy for PPC64.
10500
10501         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10502         avoid cretion of __bzero symbol.
10503         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10504         Likewise.
10505         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10506         Likewise.
10507         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10508         Likewise.
10509         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10510         multiarch implementations.
10511         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10512         (__libc_ifunc_impl_list): Likewise.
10513         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10514         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10515         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10516         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10517         bzero for PPC32.
10518         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10519         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10520         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10521         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10522         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10523         memset for PPC64.
10524         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10525
10526         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10528         implementations.
10529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10530         (__libc_ifunc_impl_list): Likewise.
10531         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10532         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10533         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10534         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10535         memcmp for PPC64.
10536
10537         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10538         multiarch for POWER/PPC64.
10539         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10540         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10541         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10542         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10543         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10544         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10545         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10546         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10547         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10548         memcpy for PPC64.
10549
10550         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10551         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10552         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10553         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10554         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10555         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10556         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10557         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10558         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10559         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10560         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10561         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10562         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10563         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10564         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10572
10573 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10574
10575         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10576
10577 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10578
10579         * benchtests/Makefile (bench): Add exp2 and log2.
10580         (LDLIBS-bench-exp2): Add -lm.
10581         (LDLIBS-bench-log2): Likewise.
10582         * benchtests/exp2-inputs: New inputs file.
10583         * benchtests/log2-inputs: New inputs file.
10584         * benchtests/log-inputs: Add new inputs.
10585         * benchtests/tan-inputs: Likewise.
10586
10587 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10588
10589         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10590         definition...
10591         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10592         (csloww2): ... from here.
10593
10594         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10595         instead of structures.
10596         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10597         (POLYNOMIAL): Likewise.
10598         (TAYLOR_SLOW): Likewise.
10599         (__sin): Likewise.
10600         (__cos): Likewise.
10601         (slow1): Likewise.
10602         (slow2): Likewise.
10603         (sloww): Likewise.
10604         (sloww1); Likewise.
10605         (sloww2): Likewise.
10606         (bsloww1): Likewise.
10607         (bsloww2): Likewise.
10608         (cslow2): Likewise.
10609         (csloww): Likewise.
10610         (csloww1): Likewise.
10611         (csloww2): Likewise.
10612
10613 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
10614
10615         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10616         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10617         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10618         * malloc/hooks.c (realloc_check): Likewise.
10619
10620         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10621         * malloc/arena.c: Remove PER_THREAD conditional.
10622         [!PER_THREAD]: Remove code.
10623         (ptmalloc_unlock_all2): Likewise.
10624         (ptmalloc_init): Likewise.
10625         (_int_new_arena): Likewise.
10626         (arena_get2): Likewise.
10627         * malloc/hooks.c (__malloc_get_state): Likewise.
10628         (__malloc_set_state): Likewise.
10629         * malloc/malloc.c: Likewise.
10630         (struct malloc_state): Likewise.
10631         (struct malloc_par): Likewise.
10632         (__libc_realloc): Likewise.
10633         (__libc_mallopt): Likewise.
10634
10635 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10636
10637         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10638
10639 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
10640
10641         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10642         macro to a function.  Check for zero perturb_byte.
10643         (_int_malloc, _int_free): Remove zero perturb_byte checks.
10644
10645         * malloc/malloc.c: (force_reg): Remove.
10646         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10647         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10648         force_reg by atomic_forced_read.
10649         * malloc/arena.c (ptmalloc_init): Likewise.
10650         * malloc/hooks.c (top_check): Likewise.
10651
10652 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10653
10654         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10655
10656 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
10657
10658         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10659
10660 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
10661
10662         * math/auto-libm-test-in: Add tests of lgamma.
10663         * math/auto-libm-test-out: Regenerated.
10664         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10665         (M_LOG_2_SQRT_PIl): Likewise.
10666         (lgamma_test_data): Use AUTO_TESTS_f_f1.
10667         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10668         mpfr_f_f1.
10669         (func_calc_desc): Add mpfr_f_f1 union field.
10670         (ARGS1): New macro.
10671         (ARGS2): Likewise.
10672         (ARGS3): Likewise.
10673         (ARGS4): Likewise.
10674         (RET1): Likewise.
10675         (RET2): Likewise.
10676         (CALC): Likewise.
10677         (FUNC): Likewise.
10678         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10679         (test_functions): Add lgamma.
10680         (calc_generic_results): Handle mpfr_f_f1.
10681         * sysdeps/i386/fpu/libm-test-ulps: Update.
10682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10683
10684 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10685
10686         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10687         __mpn_add_n for PowerPC64/POWER7.
10688         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10689         __mpn_sub_n for PowerPC64/POWER7.
10690
10691         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10692         __mpn_addmul_1 for PowerPC64.
10693         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10694         __mpn_submul_1 for PowerPC64.
10695         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10696         for PowerPC64.
10697         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10698         for PowerPC64.
10699
10700 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
10701
10702         [BZ #15089]
10703         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10704
10705 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10706
10707         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10708
10709         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10710         add multiarch folders.
10711         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10712         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10713         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10714         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10715         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10716         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10717         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10718         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10719         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10720         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10721         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10728
10729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10730         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10732         New file.
10733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10734         New file.
10735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10736         multiarch __ieee754_hypot for PowerPC32.
10737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10738         New file.
10739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10740         New file.
10741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10742         multiarch __ieee754_hypotf for PowerPC32.
10743
10744         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10745         long_double_symbol only if __logbl is defined.
10746         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10747         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10748         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10749         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10750         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10751         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10752         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10753         path for implementation.
10754         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10755         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10757         logb, and logbl multiarch implementations for PowerPC32.
10758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10759         file.
10760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10761         file.
10762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10763         multiarch logb for PowerPC32.
10764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10765         file.
10766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10767         file.
10768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10769         multiarch logbf for PowerPC32.
10770         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10772         file.
10773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10774         multiarch logbl implementation for PowerPC32.
10775
10776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10777         and modff multiarch implementations.
10778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10779         New file.
10780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10781         New file.
10782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10783         multiarch modf for PowerPC32.
10784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10785         New file.
10786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10787         New file.
10788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10789         multiarch modff for PowerPC32.
10790
10791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10792         and lrintf multiarch implementations.
10793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10794         New file.
10795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10796         New file.
10797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10798         multiarch lrint for PowerPC32.
10799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10800         file: multiarch lrintf for PowerPC32.
10801
10802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10803         and lroundf multiarch implementations.
10804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10805         New file.
10806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10807         New file.
10808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10809         New file.
10810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10811         multiarch lround for PowerPC32.
10812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10813         file: multiarch lroundf for PowerPC32.
10814
10815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10816         copysign and copysignf multiarch implementations.
10817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10818         New file.
10819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10820         New file.
10821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10822         file: multiarch copysign for PowerPC32.
10823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10824         file: multiarch copysignf for PowerPC32.
10825
10826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10827         and truncf multiarch implementations.
10828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10829         New file.
10830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10831         file.
10832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10833         multiarch trunc for PowerPC32.
10834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10835         New file.
10836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10837         New file.
10838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10839         multiarch truncf for PowerPC32.
10840
10841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10842         and roundf multiarch implementations.
10843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10844         New file.
10845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10846         file.
10847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10848         multiarch round for PowerPC32.
10849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10850         New file.
10851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10852         New file.
10853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10854         multiarch roundf for PowerPC32.
10855
10856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10857         and floorf multiarch implementations.
10858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10859         New file.
10860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10861         file.
10862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10863         multiarch floor for PowerPC32.
10864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10865         New file.
10866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10867         New file.
10868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10869         multiarch floorf for PowerPC32.
10870
10871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10872         and ceilf multiarch implementations.
10873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10874         New file.
10875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10876         file.
10877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10878         multiarch ceil for PowerPC32.
10879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10880         New file.
10881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10882         file.
10883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10884         multiarch ceilf for PowerPC32.
10885
10886         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10887         is defined.
10888         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10889         FINITEF is defined.
10890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10891         and finitef multiarch implementations.
10892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10893         New file.
10894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10895         file.
10896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10897         multiarch finite for PowerPC32.
10898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10899         New file.
10900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10901         file: multiarch finitef for PowerPC32.
10902
10903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10904         and isinff multiarch implementations.
10905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10906         file.
10907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10908         file.
10909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10910         multiarch isinf for PowerPC32.
10911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10912         New file.
10913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10914         multiarch isinff for PowerPC32.
10915
10916         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10917         alias when __isnan is defined.
10918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10919         and isnanf multiarch implementations.
10920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10921         file.
10922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10923         file.
10924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10925         file.
10926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10927         file.
10928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10929         multiarch isnan for PowerPC32.
10930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10931         New file.
10932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10933         New file.
10934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10935         multiarch isnanf for PowerPC32.
10936
10937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10938         and sqrtf multiarch implementations.
10939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10940         file.
10941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10942         file.
10943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10944         multiarch sqrt for PowerPC32.
10945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10946         file.
10947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10948         file.
10949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10950         multiarch sqrtf for PowerPC32.
10951
10952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10953         and llroundf multiarch implementations.
10954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10955         New file.
10956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10957         New file.
10958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10959         New file.
10960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10961         file: multiarch llround for PowerPC32.
10962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10963         file: multiarch llroundf for PowerPC32.
10964
10965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10966         multiarch PowerPC32 fpu implementations.
10967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10968         New file.
10969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10970         New file.
10971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10972         multiarch llrint for PowerPC32.
10973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10974         New file.
10975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10976         New file.
10977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10978         file.
10979
10980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10981
10982         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10983         file.
10984         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10985         file.
10986         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10987         file.
10988         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10989         multiarch wordcopy for PPC32.
10990         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10991         wordcopy objects.
10992         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10993         (__libc_ifunc_impl_list): Likewise.
10994         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10995         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10996         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10997         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10998         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10999         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11000
11001         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11002         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11003         file.
11004         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11005         file.
11006         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11007         file.
11008         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11009         multiarch wcscpy for PPC32.
11010         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11011         multiarch objects.
11012         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11013         (__libc_ifunc_impl_list): Likewise.
11014         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11015         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11016         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11017         sysdeps/powerpc/power6/wcscpy.c.
11018
11019         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11020         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11021         file.
11022         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11023         file.
11024         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11025         file.
11026         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11027         multiarch wcsrchr for PPC32.
11028         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11029         multiarch objects.
11030         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11031         (__libc_ifunc_impl_list): Likewise.
11032         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11033         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11034         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11035         sysdeps/powerpc/power6/wcsrchr.c.
11036
11037         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11038         file.
11039         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11040         file.
11041         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11042         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11043         multiarch wcschr for PPc32.
11044         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11045         multiarch objects.
11046         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11047         (__libc_ifunc_impl_list): Likewise.
11048         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11049         * sysdeps/powerpc/power6/wcschr.c: ... to here.
11050         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11051         sysdeps/powerpc/power6/wcschr.c.
11052
11053         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11054         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11055         file.
11056         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11057         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11058         file: multiarch strchr for PPC32.
11059         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11060         multiarch objects.
11061         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11062         (__libc_ifunc_impl_list): Likewise.
11063
11064         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11065         name.
11066         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11067         file.
11068         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11069         file.
11070         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11071         multiarch strchrnul for PPC32.
11072         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11073         multiarch objects.
11074         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11075         (__libc_ifunc_impl_list): Likewise.
11076
11077         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11078         file.
11079         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11080         multiarch strncasecmp for PPC32.
11081         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11082         file.
11083         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11084         multiarch strncasecmp_l for PPC32.
11085         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11086         strncasecmp multiarch objects.
11087         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11088         (__libc_ifunc_impl_list): Likewise.
11089
11090         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11091         file.
11092         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11093         multiarch strncasecmp for PPC32.
11094         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11095         New file.
11096         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11097         multiarch strcasecmp_l for PPC32.
11098         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11099         multiarch objects.
11100         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11101         (__libc_ifunc_impl_list): Likewise.
11102
11103         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11104         file.
11105         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11106         file.
11107         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11108         multiarch strncmp for PPC32.
11109         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11110         multiarch objects.
11111         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11112         (__libc_ifunc_impl_list): Likewise.
11113
11114         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11115         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11116         file.
11117         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11118         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11119         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11120         multiarch objects.
11121         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11122         (__libc_ifunc_impl_list): Likewise.
11123
11124         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11125         file.
11126         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11127         file.
11128         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11129         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11130         multiarch objects.
11131         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11132         (__libc_ifunc_impl_list): Likewise.
11133
11134         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11135         file.
11136         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11137         file.
11138         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11139         multiarch rawmemchr for PPC32.
11140         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11141         multiarch objects.
11142         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11143         (__libc_ifunc_impl_list): Likewise.
11144
11145         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11146         file.
11147         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11148         file.
11149         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11150         file: memrchr multiarch for PPC32.
11151         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11152         multiarch objects.
11153         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11154         (__libc_ifunc_impl_list): Likewise.
11155
11156         * string/memchr.c (__memchr): Using macro to redefine symbol name.
11157         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11158         file.
11159         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11160         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11161         multiarch memchr for PPC32.
11162         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11163         multiarch objects.
11164         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11165         (__libc_ifunc_impl_list): Likewise.
11166
11167         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11168         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11169         file.
11170         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11171         file.
11172         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11173         file: multiarch mempcpy for PPC32.
11174         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11175         multiarch objects.
11176         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11177         (__libc_ifunc_impl_list): Likewise.
11178
11179         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11180         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11181         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11182         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11183         multiarch bzero for PPC32.
11184         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11185         file.
11186         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11187         file.
11188         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11189         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11190         file: multiarch memset for PPC32.
11191         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11192         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11193         memset multiarch objects.
11194         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11195         (__libc_ifunc_impl_list): Likewise.
11196
11197         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11198         file.
11199         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11200         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11201         memcmp for PPC32.
11202         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11203         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11204         multiarch objects.
11205         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11206         (__libc_ifunc_impl_list): Likewise.
11207
11208         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11209         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11210         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11211         file.
11212         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11213         file.
11214         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11215         file.
11216         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11217         multiarch memcpy for PPC32.
11218         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11219         multiarch objects.
11220         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11221         (__libc_ifunc_impl_list): Likewise.
11222
11223         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11224         support multiarch for POWER/PPC32.
11225         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11226         Likewise.
11227         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11229         Implies file to make multiarch folder appers before the fpu and
11230         default folder for power4 configuration.
11231
11232 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11233
11234         * scripts/bench.pl: Append volatile keyword to type.
11235
11236 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11237
11238         * sysdeps/sh/sotruss-lib.c: New file.
11239         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11240
11241 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11242
11243         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11244
11245 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
11246
11247         [BZ #6810]
11248         * math/w_tgamma.c: Include <errno.h>.
11249         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
11250         * math/w_tgammaf.c: Include <errno.h>.
11251         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
11252         * math/w_tgammal.c: Include <errno.h>.
11253         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
11254         * math/auto-libm-test-in: Do not allow missing errno on tgamma
11255         underflow.  Add more tgamma tests.
11256         * math/auto-libm-test-out: Regenerated.
11257         * sysdeps/i386/fpu/libm-test-ulps: Update.
11258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11259
11260         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11261         sin, sinh, tan, tanh, tgamma, y0 and y1.
11262         * math/auto-libm-test-out: Regenerated.
11263         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11264         (TEST_COND_x86): Likewise.
11265         (M_E2l): Remove macro.
11266         (M_E3l): Likewise.
11267         (M_2_SQRT_PIl): Likewise.
11268         (M_SQRT_PIl): Likewise.
11269         (M_1_DIV_El): Likewise.
11270         (log_test_data): Use AUTO_TESTS_f_f.
11271         (log10_test_data): Likewise.
11272         (log1p_test_data): Likewise.
11273         (log2_test_data): Likewise.
11274         (sin_test_data): Likewise.
11275         (sin_tonearest_test_data): Likewise.
11276         (sin_towardzero_test_data): Likewise.
11277         (sin_downward_test_data): Likewise.
11278         (sin_upward_test_data): Likewise.
11279         (sinh_test_data): Likewise.
11280         (sinh_tonearest_test_data): Likewise.
11281         (sinh_towardzero_test_data): Likewise.
11282         (sinh_downward_test_data): Likewise.
11283         (sinh_upward_test_data): Likewise.
11284         (tan_test_data): Likewise.
11285         (tan_tonearest_test_data): Likewise.
11286         (tan_towardzero_test_data): Likewise.
11287         (tan_downward_test_data): Likewise.
11288         (tan_upward_test_data): Likewise.
11289         (tanh_test_data): Likewise.
11290         (tgamma_test_data): Likewise.
11291         (y0_test_data): Likewise.
11292         (y1_test_data): Likewise.
11293         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11294         (special_real_inputs): Add pi/4.
11295         * sysdeps/i386/fpu/libm-test-ulps: Update.
11296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11297
11298 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11299
11300         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11301         "longjmp_target" static probes.
11302         (__longjmp): Rename to __longjmp_symbol.
11303         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11304         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11305         on which longjmp to generate.
11306         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11307         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11308         probe.
11309         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11310         (__sigjmp_save): Rename to __sigjmp_save_symbol.
11311         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11312         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11313         and __sigjmp_save_symbol based on which sigsetjmp to generated.
11314         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11316         __longjmp_symbol based on which __longjmp to generate.
11317         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11318         probe.
11319         (setjmp): Rename to setjmp_symbol.
11320         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11321         (_setjmp): Rename to _setjmp_symbol.
11322         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11323         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11324         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11325         which setjmp to generate.
11326         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11327         "longjmp_target" static probes.
11328
11329 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11330
11331         * benchtests/README: Add note about output arguments.
11332         * benchtests/bench-sincos.c: Remove file.
11333         * benchtests/sincos-inputs: New file.
11334         * scripts/bench.pl: Identify output arguments and define
11335         static variables for them.
11336
11337         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11338
11339         [BZ #15941]
11340         * Makefile (INSTALL): Add install-plain.texi as the primary
11341         dependency.
11342         * manual/install-plain.texi: New file.
11343         * manual/install.texi: Include node directive only for
11344         non-plaintext output.
11345
11346 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
11347
11348         * stdlib/longlong.h: Update from GCC.
11349
11350         [BZ #6807]
11351         [BZ #15901]
11352         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11353         * math/w_j0f.c (y0f): Likewise.
11354         * math/w_j0l.c (__y0l): Likewise.
11355         * math/w_j1.c (y1): Likewise.
11356         * math/w_j1f.c (y1f): Likewise.
11357         * math/w_j1l.c (__y1l): Likewise
11358         * math/w_jn.c (yn): Likewise.
11359         * math/w_jnf.c (ynf): Likewise.
11360         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11361         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
11362         value for Bessel function domain errors outside _SVID_ mode.
11363         Adjust sign of return value for yn (negative integer, 0).
11364         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11365         by zero in return for negative x and set sign appropriately for
11366         negative n.
11367         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11368         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11369         * math/libm-test.inc (y0_test_data): Add more tests and adjust
11370         expectations in error cases.
11371         (y1_test_data): Likewise.
11372         (yn_test_data): Likewise.
11373         * sysdeps/i386/fpu/libm-test-ulps: Update.
11374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11375
11376 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11377
11378         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11379         "64" to "64-v1".  Add "64-v2".
11380         (abi-64-options): Rename to ...
11381         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
11382         (abi-64-condition): Rename to ...
11383         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
11384         (abi-64-ld-soname): Rename to ...
11385         (abi-64-v1-ld-soname): ... this.
11386         (abi-64-v2-options): Define.
11387         (abi-64-v2-condition): Likewise.
11388         (abi-64-v2-ld-soname): Likewise.
11389         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11390         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11394
11395 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11396             Alan Modra  <amodra@gmail.com>
11397
11398         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11399         New versions for use with the ELFv2 ABI.
11400         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11401         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11402         declaration.
11403         (struct La_ppc64v2_retval): Likewise.
11404         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11405         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11406         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11407         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11408         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11409         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11410         Do not save or restore CR.
11411         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11412         (_dl_profile_resolve): Do no save or restore CR.  Support extended
11413         return values for ELFv2 ABI.  Fix location of FPR return registers.
11414         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11415         updated values for _CALL_ELF == 2.
11416         (La_regs, La_retval, int_retval): Likewise.
11417
11418 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11419
11420         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11421         (FRAME_MIN_SIZE_PARM): Likewise.
11422         (FRAME_BACKCHAIN): Likewise.
11423         (FRAME_CR_SAVE): Likewise.
11424         (FRAME_LR_SAVE): Likewise.
11425         (FRAME_TOC_SAVE): Likewise.
11426         (FRAME_PARM_SAVE): Likewise.
11427         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11428         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11429         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11430         (call_mcount_parm_offset): New macro.
11431         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11432         (PROF): Use symbolic stack frame offsets.
11433         (TAIL_CALL_SYSCALL_ERROR): Likewise.
11434         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11435         Redefine in terms of FRAME_MIN_SIZE.
11436         (_dl_runtime_resolve): Use symbolic stack frame offsets.
11437         (_dl_profile_resolve): Likewise.  Update comment.
11438         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11439         symbols stack frame offsets.
11440         (__sigsetjmp): Likewise.
11441         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11442         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11443         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11444         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11445
11446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11447         (FRAME_BACKCHAIN): Remove.
11448         (FRAME_CR_SAVE): Likewise.
11449         (FRAME_LR_SAVE): Likewise.
11450         (FRAME_COMPILER_DW): Likewise.
11451         (FRAME_LINKER_DW): Likewise.
11452         (FRAME_TOC_SAVE): Likewise.
11453         (FRAME_PARM_SAVE): Likewise.
11454         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11455         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11456         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11458         (CHECK_SP): Use symbolic stack frame offsets.
11459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11460         zone" instead of caller's parameter save area for temp storage.
11461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11462         Likewise.  Also, use symbolic stack frame offsets.
11463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11464         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11465         our own stack frame instead of the caller's.
11466         (__socket): Use symbolic stack frame offsets.
11467
11468 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11469             Alan Modra  <amodra@gmail.com>
11470
11471         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11472         Define.
11473         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11474         (PPC64_LOCAL_ENTRY_OFFSET): Define.
11475         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11476         New function.
11477         (elf_machine_fixup_plt): Call it.
11478         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
11479         reloc arguments.
11480         (elf_machine_rela): Update call to elf_machine_plt_conflict.
11481         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11482         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11483         r2 before calling target.
11484
11485 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11486             Alan Modra  <amodra@gmail.com>
11487
11488         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11489         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11490         versions of macros to support ELFv2 ABI.
11491         (LOCALENTRY): New macro.
11492         (ENTRY, EALIGN): Use it.
11493         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11494         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11495         fall through into ENTRY entry point.
11496         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11497         Only define if _CALL_ELF != 2.
11498
11499         (elf_machine_matches_host): Verify ABI version matches.
11500         (RTLD_START): Use LOCALENTRY.
11501         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11502         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11503         (PLT_ENTRY_WORDS): New macro.
11504         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11505         (elf_machine_runtime_setup): Support ELFv2 ABI.
11506         (elf_machine_fixup_plt): Likewise.
11507         (elf_machine_plt_conflict): Likewise.
11508         (resolve_ifunc): Likewise.
11509         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11510         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11511         Likewise.
11512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11513         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11515         (makecontext): Support ELFv2 ABI.
11516         * elf/elf.h (EF_PPC64_ABI): Define.
11517
11518 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11519
11520         * sysdeps/powerpc/powerpc64/sysdep.h
11521         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11522         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11523         (ENTRY) [ASSEMBLER]: ... but instead here ...
11524         (EALIGN) [ASSEMBLER]: ... and here.
11525         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11526         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11527         (ENTRY_2) [!ASSEMBLER]: Use it.
11528         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11529         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
11530         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11531         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11532         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11534         Use PPC64_LOAD_FUNCPTR.
11535
11536         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11537
11538 2013-12-04  Alan Modra  <amodra@gmail.com>
11539
11540         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11541         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11542         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11543         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11544
11545         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11546         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11547         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11548         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11549         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11550         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11551
11552 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11553
11554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11555         (__makecontext): Fix incorrect CFI when backtracing out of
11556         context created via makecontext.
11557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11558         (__setcontext): Fix incorrect CFI during switch to new context.
11559         (__novec_setcontext): Likewise.
11560
11561 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
11562
11563         [BZ #4772]
11564         * time/strptime_l.c (__strptime_internal): Allow modifiers
11565         in strptime.
11566         * time/tst-strptime.c (day_tests): Add testcase.
11567
11568 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11569
11570         * scripts/bench.pl: Skip over blank lines.
11571
11572 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11573
11574         [BZ #926]
11575         * manual/time.texi (Calendar Time): Clarify what timezone functions
11576         use.
11577
11578 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11579
11580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11581
11582 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
11583
11584         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11585         implementation.
11586         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11587         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11588         * debug/memset_chk.c (__memset_chk): Likewise.
11589         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11590         * debug/strncpy_chk.c: Likewise.
11591
11592 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
11593
11594         [BZ #15268]
11595         [BZ #15425]
11596         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11597         (__ieee754_exp): For possibly underflowing results, check size of
11598         result and force underflow exception if required.
11599         * math/auto-libm-test-in: Add more tests of exp.
11600         * math/auto-libm-test-out: Regenerated.
11601         * sysdeps/i386/fpu/libm-test-ulps: Update.
11602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11603
11604         [BZ #16283]
11605         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11606         * math/w_exp2f.c (__exp2f): Likewise.
11607         * math/w_exp2l.c (__exp2l): Likewise.
11608         * math/auto-libm-test-in: Do not allow missing errno on exp2
11609         underflow.
11610         * math/auto-libm-test-out: Regenerated.
11611
11612 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
11613
11614         [BZ #16274]
11615         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11616         handle filename validation.
11617         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11618         (do_open): Delete.
11619
11620 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
11621
11622         [BZ #6786]
11623         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11624         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11625         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11626         <float.h>.
11627         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11628         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11629         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11630         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11631         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11632         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11633         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11634         * math/auto-libm-test-in: Don't allow missing errno from erfc.
11635         Add more erfc tests.
11636         * math/auto-libm-test-out: Regenerated.
11637         * sysdeps/i386/fpu/libm-test-ulps: Update.
11638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11639
11640         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11641         exp2, expm1, j0 and j1.
11642         * math/auto-libm-test-out: Regenerated.
11643         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11644         (erfc_test_data): Likewise.
11645         (exp_test_data): Likewise.
11646         (exp_tonearest_test_data): Likewise.
11647         (exp_towardzero_test_data): Likewise.
11648         (exp_downward_test_data): Likewise.
11649         (exp_upward_test_data): Likewise.
11650         (exp10_test_data): Likewise.
11651         (exp2_test_data): Likewise.
11652         (expm1_test_data): Likewise.
11653         (j0_test_data): Likewise.
11654         (j1_test_data): Likewise.
11655         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11656         (input_flag_type): Add flag_xfail_rounding.
11657         (input_flags): Add xfail-rounding.
11658         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11659         (output_for_one_input_case): Handle flag_xfail_rounding.
11660         * sysdeps/i386/fpu/libm-test-ulps: Update.
11661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11662
11663 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
11664
11665         [BZ #16289]
11666         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11667         division by 0.
11668
11669 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11670
11671         [BZ #16195]
11672         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11673         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11674         (STAP_PROBE0): New macro.
11675         (STAP_PROBE1): Likewise.
11676         (STAP_PROBE2): Likewise.
11677         (STAP_PROBE3): Likewise.
11678         (STAP_PROBE4): Likewise.
11679
11680 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
11681
11682         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11683
11684 2013-12-02  Steve Ellcey  <sellcey@mips.com>
11685
11686         * benchtests/Makefile (bench): Add sqrt.
11687         (LDLIBS-bench-sqrt): New.
11688         * benchtests/sqrt-input: New.
11689
11690 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
11691
11692         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11693         (GAIH_EAI): Likewise.
11694         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11695         (gaih_inet): Likewise.
11696         (getaddrinfo): Don't use GAIH_EAI.
11697
11698         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11699         (struct gaih): Remove definition.
11700
11701 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11702
11703         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11704         Use HERRNOP directly.
11705
11706 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11707
11708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11709
11710 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
11711
11712         * math/gen-auto-libm-tests.c (test_functions): Add more
11713         single-argument functions.
11714         (special_fill_pi_2): New function.
11715         (special_fill_minus_pi_2): Likewise.
11716         (special_fill_pi_6): Likewise.
11717         (special_fill_minus_pi_6): Likewise.
11718         (special_fill_pi_3): Likewise.
11719         (special_fill_2pi_3): Likewise.
11720         (special_fill_e): Likewise.
11721         (special_fill_1_e): Likewise.
11722         (special_fill_e_minus_1): Likewise.
11723         (special_real_inputs): Add more special inputs.
11724         (output_for_one_input_case): Do not require ERANGE on underflow to
11725         zero if round-to-nearest result does not underflow to zero, unless
11726         exact results required.
11727         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11728         atan, atanh, cbrt, cos and cosh.
11729         * math/auto-libm-test-out: Regenerated.
11730         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11731         (acos_tonearest_test_data): Likewise.
11732         (acos_towardzero_test_data): Likewise.
11733         (acos_downward_test_data): Likewise.
11734         (acos_upward_test_data): Likewise.
11735         (acosh_test_data): Likewise.
11736         (asin_test_data): Likewise.
11737         (asin_tonearest_test_data): Likewise.
11738         (asin_towardzero_test_data): Likewise.
11739         (asin_upward_test_data): Likewise.
11740         (asinh_test_data): Likewise.
11741         (atan_test_data): Likewise.
11742         (atanh_test_data): Likewise.
11743         (cbrt_test_data): Likewise.
11744         (cos_test_data): Likewise.
11745         (cos_tonearest_test_data): Likewise.
11746         (cos_towardzero_test_data): Likewise.
11747         (cos_downward_test_data): Likewise.
11748         (cos_upward_test_data): Likewise.
11749         (cosh_test_data): Likewise.
11750         (cosh_tonearest_test_data): Likewise.
11751         (cosh_towardzero_test_data): Likewise.
11752         (cosh_downward_test_data): Likewise.
11753         (cosh_upward_test_data): Likewise.
11754         * sysdeps/i386/fpu/libm-test-ulps: Update.
11755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11756
11757 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
11758
11759         [BZ #6787]
11760         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11761         * math/w_exp10f.c (__exp10f): Likewise.
11762         * math/w_exp10l.c (__exp10l): Likewise.
11763         * math/libm-test.inc (exp10_test_data): Add more tests and expect
11764         errno settings in existing tests.
11765
11766         [BZ #14032]
11767         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11768         precision control set to double precision.
11769         * sysdeps/i386/fpu/w_sqrt.c: New file.
11770         * math/auto-libm-test-in: Add more tests.
11771         * math/auto-libm-test-out: Update.
11772
11773         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11774         (sqrt_test_tonearest): New function.
11775         (sqrt_towardzero_test_data): New variable.
11776         (sqrt_test_towardzero): New function.
11777         (sqrt_downward_test_data): New variable.
11778         (sqrt_test_downward): New function.
11779         (sqrt_upward_test_data): New variable.
11780         (sqrt_test_upward): New function.
11781         (main): Call the new functions.
11782
11783         * math/gen-auto-libm-tests.c: New file.
11784         * math/auto-libm-test-in: Likewise.
11785         * math/auto-libm-test-out: New generated file.
11786         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11787         variables.
11788         (%beautify): Add generated representations of zero.
11789         (top level): Set $auto_input and call parse_auto_input.
11790         (beautify): Remove trailing "f" from hex float constants.
11791         (parse_args): Handle XFAIL_TEST.
11792         (convert_condition): New function.
11793         (or_value): Likewise.
11794         (or_cond_value): Likewise.
11795         (generate_testfile): Handle AUTO_TESTS_* lines.
11796         (parse_auto_input): New function.
11797         * math/libm-test.inc (XFAIL_TEST): New macro.
11798         (ERRNO_UNCHANGED): Update value.
11799         (ERRNO_EDOM): Likewise.
11800         (ERRNO_ERANGE): Likewise.
11801         (IGNORE_RESULT): Likewise.
11802         (TEST_COND_flt_32): New macro.
11803         (TEST_COND_dbl_64): Likewise.
11804         (TEST_COND_ldbl_96_intel): Likewise.
11805         (TEST_COND_ldbl_96_m68k): Likewise.
11806         (TEST_COND_ldbl_128): Likewise.
11807         (TEST_COND_ldbl_128ibm): Likewise.
11808         (TEST_COND_long32): Likewise.
11809         (TEST_COND_long64): Likewise.
11810         (TEST_COND_before_rounding): Likewise.
11811         (TEST_COND_after_rounding): Likewise.
11812         (enable_test): Handle XFAIL_TEST flag.
11813         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11814         with finite results.
11815         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11816         auto-libm-test-out.
11817
11818 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11819             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11820
11821         [BZ #16214]
11822         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11823         __tls_get_addr_internal instead of __tls_get_offset in order to
11824         avoid GOT pointer dependency.  Make rtld export
11825         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11826         __tls_get_addr since we are a __tls_get_offset platform.
11827         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11828         GOT pointer being set up before.
11829         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11830
11831 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
11832
11833         * manual/math.texi (Errors in Math Functions): Document accuracy
11834         goals.
11835
11836         [BZ #15004]
11837         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11838         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11839         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11840         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11841         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11842         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11843         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11844         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11845         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11846         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11847         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11848         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11849         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11850         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11851         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11852         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11853
11854         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11855         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11856         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11857         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11858         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11859         Likewise.
11860         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11861         Likewise.
11862         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11863         Likewise.
11864         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11865         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11866         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11867         atomic-feupdateenv and flt-rounds.
11868         * sysdeps/powerpc/nofpu/Versions (libc): Add
11869         __atomic_feholdexcept, __atomic_feclearexcept,
11870         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11871         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11872         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11873         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11874         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11875         here.
11876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11877         Update.
11878
11879         * manual/arith.texi (FP Exceptions): Document that exceptions may
11880         not be raised when matherr is used.
11881         (Math Error Reporting): Document overflow in directed rounding
11882         modes.  Document that errno may not be set when finite values are
11883         returned on overflow.  Document intent to set errno on underflow
11884         only for underflow to zero.
11885
11886         [BZ #16271]
11887         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11888         round-to-nearest then adjust result for other rounding modes.
11889         * include/fenv.h (fegetround): Use libm_hidden_proto.
11890         * math/fegetround.c (fegetround): Use libm_hidden_def.
11891         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11892         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11893         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11894         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11895         Likewise.
11896         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11897         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11898         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11899         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11900
11901 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11902
11903         [BZ #16077]
11904         * nss/Versions (libnss_files): Add
11905         _nss_files_gethostbyname3_r.
11906         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11907         New function.
11908         (HOST_DB_LOOKUP): Remove macro.
11909         (_nss_files_gethostbyname_r): Implement function without the
11910         HOST_DB_LOOKUP macro.
11911         (_nss_files_gethostbyname2_r): Likewise.
11912
11913 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
11914
11915         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11916
11917 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
11918
11919         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11920         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11921         warning.
11922
11923 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11924
11925         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11926         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11927         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11928         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11929         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11930         __fe_nomask_env_priv and attribute_hidden.
11931         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11932         (libc_feupdateenv_test_ppc): Likewise.
11933         (libc_feresetround_ppc): Likewise.
11934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11935         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11936         compat_symbol macro.
11937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11938         (__fe_nomask_env): Likewise.
11939         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11940
11941 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11942
11943         * string/Makefile: Remove ifunc tests.
11944         * string/test-string.h: Define TEST_IFUNC.
11945         * string/test-bcopy-ifunc.c: Remove.
11946         * string/test-bzero-ifunc.c: Likewise.
11947         * string/test-memccpy-ifunc.c: Likewise.
11948         * string/test-memchr-ifunc.c: Likewise.
11949         * string/test-memcmp-ifunc.c: Likewise.
11950         * string/test-memcpy-ifunc.c: Likewise.
11951         * string/test-memmem-ifunc.c: Likewise.
11952         * string/test-memmove-ifunc.c: Likewise.
11953         * string/test-mempcpy-ifunc.c: Likewise.
11954         * string/test-memrchr-ifunc.c: Likewise.
11955         * string/test-memset-ifunc.c: Likewise.
11956         * string/test-rawmemchr-ifunc.c: Likewise.
11957         * string/test-stpcpy-ifunc.c: Likewise.
11958         * string/test-stpncpy-ifunc.c: Likewise.
11959         * string/test-strcasecmp-ifunc.c: Likewise.
11960         * string/test-strcasestr-ifunc.c: Likewise.
11961         * string/test-strcat-ifunc.c: Likewise.
11962         * string/test-strchr-ifunc.c: Likewise.
11963         * string/test-strchrnul-ifunc.c: Likewise.
11964         * string/test-strcmp-ifunc.c: Likewise.
11965         * string/test-strcpy-ifunc.c: Likewise.
11966         * string/test-strcspn-ifunc.c: Likewise.
11967         * string/test-strlen-ifunc.c: Likewise.
11968         * string/test-strncasecmp-ifunc.c: Likewise.
11969         * string/test-strncat-ifunc.c: Likewise.
11970         * string/test-strncmp-ifunc.c: Likewise.
11971         * string/test-strncpy-ifunc.c: Likewise.
11972         * string/test-strnlen-ifunc.c: Likewise.
11973         * string/test-strpbrk-ifunc.c: Likewise.
11974         * string/test-strrchr-ifunc.c: Likewise.
11975         * string/test-strspn-ifunc.c: Likewise.
11976         * string/test-strstr-ifunc.c: Likewise.
11977
11978 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11979
11980         * benchtests/Makefile: Remove ifunc tests.
11981         * benchtests/bench-string.h: Define TEST_IFUNC.
11982         * benchtests/bench-bcopy-ifunc.c: Remove.
11983         * benchtests/bench-bzero-ifunc.c: Likewise.
11984         * benchtests/bench-memccpy-ifunc.c: Likewise.
11985         * benchtests/bench-memchr-ifunc.c: Likewise.
11986         * benchtests/bench-memcmp-ifunc.c: Likewise.
11987         * benchtests/bench-memcpy-ifunc.c: Likewise.
11988         * benchtests/bench-memmem-ifunc.c: Likewise.
11989         * benchtests/bench-memmove-ifunc.c: Likewise.
11990         * benchtests/bench-mempcpy-ifunc.c: Likewise.
11991         * benchtests/bench-memrchr-ifunc.c: Likewise.
11992         * benchtests/bench-memset-ifunc.c: Likewise.
11993         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11994         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11995         * benchtests/bench-stpcpy-ifunc.c: Likewise.
11996         * benchtests/bench-stpncpy-ifunc.c: Likewise.
11997         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11998         * benchtests/bench-strcasestr-ifunc.c: Likewise.
11999         * benchtests/bench-strcat-ifunc.c: Likewise.
12000         * benchtests/bench-strchr-ifunc.c: Likewise.
12001         * benchtests/bench-strchrnul-ifunc.c: Likewise.
12002         * benchtests/bench-strcmp-ifunc.c: Likewise.
12003         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12004         * benchtests/bench-strcpy-ifunc.c: Likewise.
12005         * benchtests/bench-strcspn-ifunc.c: Likewise.
12006         * benchtests/bench-strlen-ifunc.c: Likewise.
12007         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12008         * benchtests/bench-strncat-ifunc.c: Likewise.
12009         * benchtests/bench-strncmp-ifunc.c: Likewise.
12010         * benchtests/bench-strncpy-ifunc.c: Likewise.
12011         * benchtests/bench-strnlen-ifunc.c: Likewise.
12012         * benchtests/bench-strpbrk-ifunc.c: Likewise.
12013         * benchtests/bench-strrchr-ifunc.c: Likewise.
12014         * benchtests/bench-strsep-ifunc.c: Likewise.
12015         * benchtests/bench-strspn-ifunc.c: Likewise.
12016         * benchtests/bench-strstr-ifunc.c: Likewise.
12017
12018 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12019
12020         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12021
12022 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12023
12024         * resolv/netdb.h: Use __glibc_reserved instead __unused.
12025         * rt/aio.h: Likewise.
12026         * sysdeps/gnu/bits/utmp.h: Likewise.
12027         * sysdeps/gnu/bits/utmpx.h: Likewise.
12028         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12029         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12030         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12031         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12032         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12033         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12034         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12035         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12036         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12037         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12038         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12039         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12040         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12042         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12043         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12044         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12045         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12046         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12047         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12048         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12049         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12050         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12051         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12052         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12053         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12054         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12055         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12056         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12057         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12058         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12059         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12060         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12061         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12062         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12063         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12064         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12065         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12066         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12067         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12068         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12069         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12070
12071 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
12072
12073         [BZ #16245]
12074         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12075         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12076
12077 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
12078
12079         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12080         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12081         Likewise.
12082
12083 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12084
12085         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12086         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12087         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12088         (__fesetround): Remove define.
12089         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12090         rounding and exceptions handling.
12091         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12092         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12093         (__fe_nomask_env): Likewise.
12094         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12095         __fegetround instead of fegetround.
12096         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12097         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12098
12099 2013-11-21  Roland McGrath  <roland@hack.frob.com>
12100
12101         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12102         it's there.
12103
12104         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12105
12106 2013-11-21  Meador Inge  <meadori@codesourcery.com>
12107
12108         [BZ #11157]
12109         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12110         (encrypt_r): Likewise.
12111         * malloc/obstack.h (obstack_free): Likewise.
12112         * posix/unistd.h (encrypt): Likewise.
12113
12114 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
12115
12116         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12117         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12118         DL_CALL_DT_FINI() that call the functions directly.
12119         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12120         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12121         * elf/dl-fini.c: Likewise.
12122
12123 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
12124
12125         * malloc/hooks.c (memalign_check): Add alignment rounding.
12126         * malloc/malloc.c (_mid_memalign): New function.
12127         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12128         Implement by calling _mid_memalign.
12129         * manual/probes.texi (Memory Allocation Probes): Remove
12130         memory_valloc_retry and memory_pvalloc_retry.
12131
12132 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12133
12134         * locale/programs/locarchive.c (open_archive): Add const
12135         qualifier to ARCHIVEFNAME and copy default fname to
12136         DEFAULT_FNAME.
12137
12138         [BZ #15601]
12139         * libio/tst-widetext.input: Rename Oriya to Odia.
12140         * locale/iso-639.def: Likewise.
12141
12142         * manual/probes.texi (Mathematical Function Probes): Add
12143         documentation for sin, cos, asin and acos probes.
12144         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12145         (__sin32): Add slowasin probe.
12146         (__cos32): Add slowacos probe.
12147         (__mpsin): Add slowsin probe.
12148         (__mpcos): Add slowcos probe.
12149
12150 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
12151
12152         [BZ #15483]
12153         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12154         thread-local __sim_exceptions_thread and global
12155         __sim_exceptions_global.
12156         (__sim_disabled_exceptions): Change to thread-local
12157         __sim_disabled_exceptions_thread and global
12158         __sim_disabled_exceptions_global.
12159         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12160         and global __sim_round_mode_global.
12161         (__simulate_exceptions): Use thread-local floating-point state and
12162         set global state from it as needed.
12163         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12164         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12165         __sim_round_mode_thread.
12166         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12167         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12168         and global __sim_exceptions_global.
12169         (__sim_disabled_exceptions): Change to thread-local
12170         __sim_disabled_exceptions_thread and global
12171         __sim_disabled_exceptions_global.
12172         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12173         and global __sim_round_mode_global.
12174         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12175         (SIM_SET_GLOBAL): Likewise.
12176         * sysdeps/powerpc/soft-fp/sfp-machine.h
12177         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12178         __sim_round_mode_thread.
12179         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12180         __sim_disabled_exceptions_thread.
12181         (__sim_exceptions): Change to __sim_exceptions_thread.
12182         (__sim_disabled_exceptions): Change to
12183         __sim_disabled_exceptions_thread.
12184         (__sim_round_mode): Change to __sim_round_mode_thread.
12185         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12186         thread-local floating-point state and set global state from it as
12187         needed.
12188         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12189         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12190         (__sim_disabled_exceptions): Remove extern declaration.
12191         (feenableexcept): Use thread-local floating-point state and set
12192         global state from it as needed.
12193         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12194         extern declaration.
12195         (__sim_disabled_exceptions): Likewise.
12196         (__sim_round_mode): Likewise.
12197         (__fegetenv): Use thread-local floating-point state.
12198         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12199         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12200         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12201         floating-point state and set global state from it as needed.
12202         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12203         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12204         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12205         Likewise.
12206         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12207         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12208         Likewise.
12209         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12210         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12211         Use __sim_round_mode_thread.
12212         * math/test-fenv-tls.c: New file.
12213         * math/Makefile (tests): Add test-fenv-tls.
12214         ($(objpfx)test-fenv-tls): Depend on
12215         $(common-objpfx)nptl/libpthread.so.
12216
12217 2013-11-19  Andreas Schwab  <schwab@suse.de>
12218
12219         * locale/programs/locale.c (show_info): Decode wordarray elements.
12220         * locale/categories.def (LC_MONETARY): Add element for
12221         _NL_MONETARY_CRNCYSTR.
12222         * locale/C-monetary.c (conversion_rate): New variable.
12223         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12224         element.
12225
12226 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
12227
12228         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12229         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12230
12231 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
12232
12233         * elf/Makefile (tst-auxv): New test.
12234         * elf/tst-auxv.c: New
12235         * elf/rtld.c (dl_main): Adjust AT_EXECFN
12236
12237 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
12238
12239         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12240         (hidden_proto): Caller changed.
12241         (hidden_tls_proto): New macro.
12242         (libc_hidden_tls_proto): Likewise.
12243         (rtld_hidden_tls_proto): Likewise.
12244         (libm_hidden_tls_proto): Likewise.
12245         (libresolv_hidden_tls_proto): Likewise.
12246         (librt_hidden_tls_proto): Likewise.
12247         (libdl_hidden_tls_proto): Likewise.
12248         (libnss_files_hidden_tls_proto): Likewise.
12249         (libnsl_hidden_tls_proto): Likewise.
12250         (libnss_nisplus_hidden_tls_proto): Likewise.
12251         (libutil_hidden_tls_proto): Likewise.
12252
12253 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
12254
12255         [BZ #10253]
12256         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12257         (decompose_rpath): Defer expansion to fillin_rpath.
12258         (_dl_init_paths): Pass linkmap to fillin_rpath.
12259
12260 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12261
12262         * benchtests/Makefile: Add strsep.
12263         * benchtests/bench-strsep.c: New file: strsep benchtest.
12264         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12265
12266 2013-11-18  Andreas Schwab  <schwab@suse.de>
12267
12268         * locale/programs/locale.c (show_info) [case byte]: Check for
12269         '\377' instead of '\177'.
12270         * locale/C-monetary.c (not_available): Always use "\377".
12271         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12272         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
12273         detect unavailable sign_posn locale elements.
12274         * locale/localeconv.c (__localeconv): For grouping and
12275         mon_grouping handle "\177" and "\377" like no grouping.
12276         (INT_ELEM): New macro.  Use it to set all numeric members.
12277         * locale/programs/ld-monetary.c (monetary_read)
12278         <tok_mon_grouping>: Normalize single -1 to the empty string.
12279         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12280         Likewise.
12281
12282 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
12283
12284         [BZ #16055]
12285         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12286         when we match (nil).
12287         * stdio-common/tst-sscanf.c (struct test): Add testcase.
12288
12289 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
12290
12291         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12292         (NO_TEST_INLINE): Update value.
12293         (ERRNO_UNCHANGED): Likewise.
12294         (ERRNO_EDOM): Likewise.
12295         (ERRNO_ERANGE): Likewise.
12296         (IGNORE_RESULT): Likewise.
12297         (check_float_internal): Check signs of NaN results if
12298         TEST_NAN_SIGN used.
12299         (check_complex): Pass TEST_NAN_SIGN flag through to second
12300         check_float_internal call.
12301         (copysign_test_data): Add tests with quiet NaNs as second
12302         argument.  Use TEST_NAN_SIGN.
12303         (fabs_test_data): Add test of negative quiet NaN argument.  Use
12304         TEST_NAN_SIGN.
12305         (signbit_test_data): Add tests of quiet NaN argument.
12306         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12307
12308         * math/gen-libm-test.pl (show_exceptions): Take extra argument
12309         $ignore_result.
12310         (parse_args): Handle function results specified as IGNORE.
12311         * math/libm-test.inc (IGNORE_RESULT): New macro.
12312         (check_float_internal): Do not check numerical result if flag
12313         IGNORE_RESULT set.
12314         (check_complex): Pass through IGNORE_RESULT to second
12315         check_float_internal call.
12316         (check_int): Do not check numerical result if flag IGNORE_RESULT
12317         set.
12318         (check_long): Likewise.
12319         (check_bool): Likewise.
12320         (check_longlong): Likewise.
12321         (lrint_test_data): Add tests of infinite and NaN arguments.
12322         (lrint_tonearest_test_data): Likewise.
12323         (lrint_towardzero_test_data): Likewise.
12324         (lrint_downward_test_data): Likewise.
12325         (lrint_upward_test_data): Likewise.
12326         (llrint_test_data): Likewise.
12327         (llrint_tonearest_test_data): Likewise.
12328         (llrint_towardzero_test_data): Likewise.
12329         (llrint_downward_test_data): Likewise.
12330         (llrint_upward_test_data): Likewise.
12331         (lround_test_data): Likewise.
12332         (llround_test_data): Likewise.
12333
12334         * math/libm-test.inc (NO_TEST_INLINE): New macro.
12335         (ERRNO_UNCHANGED): Update value.
12336         (ERRNO_EDOM): Likewise.
12337         (ERRNO_ERANGE): Likewise.
12338         (NO_TEST_INLINE_FLOAT): New macro.
12339         (NO_TEST_INLINE_DOUBLE): Likewise.
12340         (enable_test): New function.
12341         (RUN_TEST_f_f): Check enable_test before running test.
12342         (RUN_TEST_2_f): Likewise.
12343         (RUN_TEST_fff_f): Likewise.
12344         (RUN_TEST_c_f): Likewise.
12345         (RUN_TEST_f_f1): Likewise.
12346         (RUN_TEST_fF_f1): Likewise.
12347         (RUN_TEST_fI_f1): Likewise.
12348         (RUN_TEST_ffI_f1): Likewise.
12349         (RUN_TEST_c_c): Likewise.
12350         (RUN_TEST_cc_c): Likewise.
12351         (RUN_TEST_f_i): Likewise.
12352         (RUN_TEST_f_i_tg): Likewise.
12353         (RUN_TEST_ff_i_tg): Likewise.
12354         (RUN_TEST_f_b): Likewise.
12355         (RUN_TEST_f_b_tg): Likewise.
12356         (RUN_TEST_f_l): Likewise.
12357         (RUN_TEST_f_L): Likewise.
12358         (RUN_TEST_fFF_11): Likewise.
12359         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12360         conditionals.
12361         (cosh_test_data): Likewise.
12362         (exp_test_data): Likewise.
12363         (expm1_test_data): Likewise.
12364         (hypot_test_data): Likewise.
12365         (pow_test_data): Likewise.
12366         (sinh_test_data): Likewise.
12367         (tanh_test_data): Likewise.
12368         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12369         flags argument.
12370
12371         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12372         tests with quiet NaN input and output.
12373         (acosh_test_data): Likewise.
12374         (asin_test_data): Likewise.
12375         (asinh_test_data): Likewise.
12376         (atan_test_data): Likewise.
12377         (atanh_test_data): Likewise.
12378         (atan2_test_data): Likewise.
12379         (cbrt_test_data): Likewise.
12380         (cos_test_data): Likewise.
12381         (cosh_test_data): Likewise.
12382         (erf_test_data): Likewise.
12383         (erfc_test_data): Likewise.
12384         (exp_test_data): Likewise.
12385         (exp10_test_data): Likewise.
12386         (exp2_test_data): Likewise.
12387         (expm1_test_data): Likewise.
12388         (hypot_test_data): Likewise.
12389         (j0_test_data): Likewise.
12390         (j1_test_data): Likewise.
12391         (jn_test_data): Likewise.
12392         (lgamma_test_data): Likewise.
12393         (log_test_data): Likewise.
12394         (log10_test_data): Likewise.
12395         (log1p_test_data): Likewise.
12396         (log2_test_data): Likewise.
12397         (pow_test_data): Likewise.
12398         (scalb_test_data): Likewise.
12399         (sin_test_data): Likewise.
12400         (sincos_test_data): Likewise.
12401         (sinh_test_data): Likewise.
12402         (tan_test_data): Likewise.
12403         (tanh_test_data): Likewise.
12404         (tgamma_test_data): Likewise.
12405         (y0_test_data): Likewise.
12406         (y1_test_data): Likewise.
12407         (yn_test_data): Likewise.
12408
12409         [BZ #16167]
12410         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12411         argument being NaN and avoid computations with second argument in
12412         that case.
12413         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12414         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12415         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12416
12417 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
12418
12419         * locale/iso-639.def: Add Chitwani Tharu (the).
12420
12421 2013-11-14  Andreas Schwab  <schwab@suse.de>
12422
12423         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12424         word instead of empty string.
12425
12426 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12427
12428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12429         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12431         (__fe_nomask_env): Likewise.
12432
12433 2013-11-13  Steve Ellcey  <sellcey@mips.com>
12434
12435         * benchtests/bench-timing.h: Include time.h.
12436
12437 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
12438
12439         [BZ #15997]
12440         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12441         to 3.4.0 for x32.
12442         * sysdeps/unix/sysv/linux/configure: Regenerated.
12443
12444 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
12445
12446         [BZ #16151]
12447         * stdlib/strtod_l.c (round_and_return): Do not consider
12448         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12449         exponent one less than half the least subnormal exponent.
12450         * stdlib/test-strtod-round-data: Add more tests.
12451         * stdlib/tst-strtod-round.c (tests): Regenerated.
12452
12453 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12454
12455         [BZ #14143]
12456         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12457         (__fe_mask_env): Likewise.
12458         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12459         libm_hidden_proto and add function prototype.
12460         (__fe_mask_env): Add function prototype.
12461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12462         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12464         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12466         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12467
12468 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12469
12470         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12471         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12472
12473 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12474
12475         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12476         of htab_find_slot().
12477
12478 2013-11-11  David S. Miller  <davem@davemloft.net>
12479
12480         [BZ #16150]
12481         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12482         symbol in the non-vis3 case in static builds.
12483         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12484         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12485         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12486         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12487
12488 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
12489
12490         [BZ #387]
12491         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12492         it is empty.
12493
12494 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12495
12496         * benchtests/Makefile: Add bench-strtod.
12497         * benchtests/bench-strtod.c: New file: strtod benchtest
12498
12499 2013-11-11  Andreas Schwab  <schwab@suse.de>
12500
12501         [BZ #16153]
12502         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12503         terminating NUL in key length.
12504
12505 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12506
12507         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12508         Add artificial ODP entry for vDSO symbol for PPC64.
12509         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12510         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12511
12512 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
12513
12514         [BZ #15374]
12515         * nss/getent.c (services_keys): Recognize services starting with digit.
12516
12517 2013-11-06  David S. Miller  <davem@davemloft.net>
12518
12519         [BZ #15985]
12520         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12521         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12522
12523 2013-11-06  Will Newton  <will.newton@linaro.org>
12524
12525         * manual/memory.texi (Malloc Examples): Remove register
12526         keyword from examples.
12527
12528 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
12529
12530         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12531
12532 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
12533
12534         [BZ #6981]
12535         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12536         depending on [__GCC_IEC_559 > 0].
12537         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12538         depending on [__GCC_IEC_559_COMPLEX > 0].
12539
12540 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
12541
12542         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12543         to iso-639.def.
12544
12545 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
12546
12547         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12548
12549 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
12550
12551         [BZ #16112]
12552         * malloc/malloc (malloc_info): Do not handle first bin as
12553         special case.
12554
12555 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
12556
12557         * locale/iso-639.def: Add Central Nahuatl (nhn).
12558
12559 2013-11-01  Bruno Haible  <bruno@clisp.org>
12560
12561         [BZ #7003]
12562         * manual/math.texi (BSD Random): Specify range upper bound as
12563         in POSIX.
12564
12565 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
12566
12567         * locale/iso-639.def: Add Meadow Mari (mhr).
12568
12569 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
12570
12571         [BZ #14752], [BZ #15763]
12572         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12573         Validate name.
12574         * rt/tst_shm.c: Add test for escaping directory.
12575
12576 2013-10-31  Andreas Schwab  <schwab@suse.de>
12577
12578         [BZ #15917]
12579         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12580         followed by 'x' as part of digit sequence.
12581         * stdio-common/tst-sscanf.c (double_tests2): New tests.
12582
12583 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12584
12585         [BZ #16037]
12586         * configure.ac: allow GNU Make 4.0 and greater.
12587         * configure: Regenerated.
12588
12589 2013-10-30  Will Newton  <will.newton@linaro.org>
12590
12591         [BZ #16038]
12592         * malloc/hooks.c (memalign_check): Limit alignment to the
12593         maximum representable power of two.
12594         * malloc/malloc.c (__libc_memalign): Likewise.
12595         * malloc/tst-memalign.c (do_test): Add test for very
12596         large alignment values.
12597         * malloc/tst-posix_memalign.c (do_test): Likewise.
12598
12599 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
12600
12601         [BZ #11087]
12602         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12603         (munmap_chunk): Likewise.
12604         (mremap_chunk): Likewise.
12605
12606 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
12607
12608         [BZ #15799]
12609         * stdlib/div.c (div): Remove obsolete code.
12610         * stdlib/ldiv.c (ldiv): Likewise.
12611         * stdlib/lldiv.c (lldiv): Likewise.
12612
12613 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12614
12615         [BZ #16071]
12616         * nss/nss_files/files-XXX.c (get_contents_ret): New
12617         enumerator.
12618         (get_contents): New function.
12619         (internal_getent): Use it.  Expand size of LINEBUFLEN.
12620
12621 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
12622
12623         * configure.in: Moved to ...
12624         * configure.ac: ... here. Change reference to configure.in
12625         to configure.ac.
12626         * sysdeps/arm/preconfigure.ac: ... here.
12627         configure.in to configure.ac.
12628         * sysdeps/gnu/configure.in: Moved to ...
12629         * sysdeps/gnu/configure.ac: ... here.
12630         * sysdeps/i386/configure.in: Moved to ...
12631         * sysdeps/i386/configure.ac: ... here.
12632         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12633         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12634         * sysdeps/mach/configure.in: Moved to ...
12635         * sysdeps/mach/configure.ac: ... here.
12636         * sysdeps/mach/hurd/configure.in: Moved to ...
12637         * sysdeps/mach/hurd/configure.ac: ... here.
12638         * sysdeps/powerpc/configure.in: Moved to ...
12639         * sysdeps/powerpc/configure.ac: ... here.
12640         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12641         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12642         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12643         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12644         * sysdeps/s390/s390-32/configure.in: Moved to ...
12645         * sysdeps/s390/s390-32/configure.ac: ... here.
12646         * sysdeps/s390/s390-64/configure.in: Moved to ...
12647         * sysdeps/s390/s390-64/configure.ac: ... here.
12648         * sysdeps/sh/configure.in: Moved to ...
12649         * sysdeps/sh/configure.ac: ... here.
12650         * sysdeps/sparc/configure.in: Moved to ...
12651         * sysdeps/sparc/configure.ac: ... here.
12652         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12653         * sysdeps/unix/sysv/linux/configure.ac: ... here.
12654         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12655         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12656         * sysdeps/x86_64/configure.in: Moved to ...
12657         * sysdeps/x86_64/configure.ac: ... here.
12658         * sysdeps/x86_64/preconfigure.in: Moved to ...
12659         * sysdeps/x86_64/preconfigure.ac: ... here.
12660         * aclocal.m4: Change reference to configure.in to configure.ac.
12661         * config.h.in: Likewise.
12662         * manual/install.texi: Likewise.
12663         * manual/maint.texi: Likewise.
12664         * Makefile: Likewise.
12665         * malloc/Makefile: Likewise.
12666         * nscd/Makefile: Likewise.
12667         * Makeconfig: Change reference to configure.in and
12668         preconfigure.in to configure.ac and preconfigure.ac
12669         respectively.
12670         * INSTALL: Regenerated.
12671         * configure: Likewise.
12672         * sysdeps/gnu/configure: Likewise.
12673         * sysdeps/i386/configure: Likewise.
12674         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12675         * sysdeps/mach/configure: Likewise.
12676         * sysdeps/mach/hurd/configure: Likewise.
12677         * sysdeps/powerpc/configure: Likewise.
12678         * sysdeps/powerpc/powerpc32/configure: Likewise.
12679         * sysdeps/powerpc/powerpc64/configure: Likewise.
12680         * sysdeps/s390/s390-32/configure: Likewise.
12681         * sysdeps/s390/s390-64/configure: Likewise.
12682         * sysdeps/sh/configure: Likewise.
12683         * sysdeps/sparc/configure: Likewise.
12684         * sysdeps/unix/sysv/linux/configure: Likewise.
12685         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12686         * sysdeps/x86_64/configure: Likewise.
12687         * sysdeps/x86_64/preconfigure: Likewise.
12688
12689 2013-10-29  Andreas Schwab  <schwab@suse.de>
12690
12691         * stdio-common/Makefile (tst-swscanf-ENV): Define.
12692
12693 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12694
12695         * benchtests/pow-inputs: Add new inputs.
12696
12697         * benchtests/exp-inputs: Add new inputs.
12698
12699         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12700         conditional check for return value.
12701         (__cos32): Likewise.
12702
12703 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12704
12705         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12706         to provide a boost for large inputs with word alignment.
12707         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12708         implementation based on optimized PPC64 strcpy.
12709         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12710         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12711         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12712         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12713
12714 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12715
12716         [BZ #2801]
12717         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12718
12719 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12720
12721         [BZ #14876]
12722         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12723         * time/tst-strptime.c (day_tests): Add testcase.
12724
12725 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12726
12727         [BZ #14029]
12728         * manual/pattern.texi: Acknowledge that fnmatch can fail.
12729
12730 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
12731
12732         [BZ #16074]
12733         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12734         MAP_FAILED on error.
12735
12736 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12737
12738         [BZ #16072]
12739         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12740         heap for large requests.
12741
12742 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
12743
12744         [BZ #9954]
12745         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12746         result if the result has no associated interface.
12747         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12748         interface for all 127.X.Y.Z addresses.
12749
12750 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
12751
12752         * locale/iso-639.def: Add Ligurian (lij)
12753
12754 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
12755
12756         [BZ #15825]
12757         * sunrpc/rpc_main.c: Document rpcgen -5.
12758
12759 2013-10-19  Michael Stahl  <mstahl@redhat.com>
12760
12761         * elf/rtld.c (do_preload): Print the reason why preloading failed.
12762
12763 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
12764
12765         [BZ #10278]
12766         * posix/glob.c: Match only directories when trailing slash is present.
12767         * posix/tst-gnuglob.c (my_opendir): Do not open files.
12768         (main): Add testcase.
12769
12770 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
12771
12772         [BZ #15670]
12773         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12774
12775 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
12776
12777         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12778         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12779         AUTH_DES and cindex for FIPS 140-2.
12780         (DES Encryption): Add cindex FIPS 46-3.
12781
12782         * locale/locarchive.h (struct locarhandle): Add fname.
12783         * locale/programs/localedef.c (main): Pass ARGV[remaining]
12784         if an optional argument was specified to --list-archive,
12785         otherwise NULL.
12786         * locale/programs/locarchive.c (show_archive_content): Take new
12787         argument fname and pass it via ah.fname to open_archive.
12788         * locale/programs/localedef.h: Update decl.
12789         (open_archive): If AH->fname is non-null, open that file
12790         rather than the default file name, and don't ignore ENOENT.
12791         (create_archive): Set AH.fname to NULL.
12792         (delete_locales_from_archive): Likewise.
12793         (add_locales_to_archive): Likewise.
12794         * locale/programs/locfile.c (write_all_categories): Likewise.
12795
12796 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
12797             Aldy Hernandez  <aldyh@redhat.com>
12798
12799         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12800         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12801         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12802         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12803         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12804         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12805         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12806         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12807         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12808         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12809         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12810         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12811         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12812         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12813         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12814         Likewise.
12815         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12816         Likewise.
12817         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12818         Likewise.
12819         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12820         Likewise.
12821         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12822         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12823         Likewise.
12824         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12825         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12826         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12827         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12828         Likewise.
12829         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12830         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12831         * sysdeps/powerpc/preconfigure: Likewise.
12832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12833         Likewise.
12834         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12835         Replace contents of file by #include of <fenv_libc.h>.
12836         * sysdeps/powerpc/soft-fp/sfp-machine.h
12837         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12838         and <sys/prctl.h>.
12839         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12840         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12841         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12842         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12843         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12844         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12845         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12846         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12847         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12848         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12849         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12850         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12852         Allow copysignl PLT reference to be missing.
12853
12854 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
12855             Joseph Myers  <joseph@codesourcery.com
12856
12857         [BZ #15948]
12858         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12859         single character.
12860         (add_to_tablewc): Assert sequence of wide characters is nonempty.
12861
12862 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12863
12864         * elf/tst-tls-dlinfo.c: Don't include tls.h.
12865         * elf/tst-tls1.c: Likewise.
12866         * elf/tst-tls10.h: Likewise.
12867         * elf/tst-tls14.c: Likewise.
12868         * elf/tst-tls2.c: Likewise.
12869         * elf/tst-tls3.c: Likewise.
12870         * elf/tst-tls4.c: Likewise.
12871         * elf/tst-tls5.c: Likewise.
12872         * elf/tst-tls6.c: Likewise.
12873         * elf/tst-tls7.c: Likewise.
12874         * elf/tst-tls8.c: Likewise.
12875         * elf/tst-tls9.c: Likewise.
12876         * elf/tst-tlsmod1.c: Likewise.
12877         * elf/tst-tlsmod13.c: Likewise.
12878         * elf/tst-tlsmod13a.c: Likewise.
12879         * elf/tst-tlsmod14a.c: Likewise.
12880         * elf/tst-tlsmod16a.c: Likewise.
12881         * elf/tst-tlsmod16b.c: Likewise.
12882         * elf/tst-tlsmod2.c: Likewise.
12883         * elf/tst-tlsmod3.c: Likewise.
12884         * elf/tst-tlsmod4.c: Likewise.
12885         * elf/tst-tlsmod5.c: Likewise.
12886         * elf/tst-tlsmod6.c: Likewise.
12887
12888 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
12889
12890         [BZ #12486]
12891         * malloc/malloc.c: remove checks for statistics.
12892
12893 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
12894
12895         [BZ #15277]
12896         * inet/inet_net.c (inet_network): Detect additional invalid strings.
12897         * inet/tst-network.c: Add testcase.
12898
12899 2013-10-17  Andreas Schwab  <schwab@suse.de>
12900
12901         [BZ #15218]
12902         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12903         to determine canonical name.
12904
12905 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
12906
12907         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12908         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12909         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12910         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12911         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12912         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12913         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12914         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12915         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12916         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12917         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12918         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12919         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12920         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12921         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12922         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12923         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12924         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12925         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12926         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12927         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12928         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12929         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12930         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12931         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12932         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12933         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12934         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12935         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12936         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12937         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12938         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12939         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12940         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12941         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12942         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12943         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12944         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12945         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12946         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12947         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12948         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12949         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12950         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12951         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12952         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12953         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12954         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12955         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12956         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12957         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12958         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12959         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12960         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12961         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12962         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12963         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12964         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12965
12966 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
12967
12968         [BZ #16041]
12969         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12970         make result into a quiet NaN.
12971
12972 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
12973
12974         * soft-fp/adddf3.c: Fix horizontal whitespace.
12975         * soft-fp/addsf3.c: Likewise.
12976         * soft-fp/addtf3.c: Likewise.
12977         * soft-fp/divdf3.c: Likewise.
12978         * soft-fp/divsf3.c: Likewise.
12979         * soft-fp/divtf3.c: Likewise.
12980         * soft-fp/double.h: Likewise.
12981         * soft-fp/eqdf2.c: Likewise.
12982         * soft-fp/eqsf2.c: Likewise.
12983         * soft-fp/eqtf2.c: Likewise.
12984         * soft-fp/extenddftf2.c: Likewise.
12985         * soft-fp/extended.h: Likewise.
12986         * soft-fp/extendsfdf2.c: Likewise.
12987         * soft-fp/extendsftf2.c: Likewise.
12988         * soft-fp/extendxftf2.c: Likewise.
12989         * soft-fp/fixdfdi.c: Likewise.
12990         * soft-fp/fixdfsi.c: Likewise.
12991         * soft-fp/fixdfti.c: Likewise.
12992         * soft-fp/fixsfdi.c: Likewise.
12993         * soft-fp/fixsfsi.c: Likewise.
12994         * soft-fp/fixsfti.c: Likewise.
12995         * soft-fp/fixtfdi.c: Likewise.
12996         * soft-fp/fixtfsi.c: Likewise.
12997         * soft-fp/fixtfti.c: Likewise.
12998         * soft-fp/fixunsdfdi.c: Likewise.
12999         * soft-fp/fixunsdfsi.c: Likewise.
13000         * soft-fp/fixunsdfti.c: Likewise.
13001         * soft-fp/fixunssfdi.c: Likewise.
13002         * soft-fp/fixunssfsi.c: Likewise.
13003         * soft-fp/fixunssfti.c: Likewise.
13004         * soft-fp/fixunstfdi.c: Likewise.
13005         * soft-fp/fixunstfsi.c: Likewise.
13006         * soft-fp/fixunstfti.c: Likewise.
13007         * soft-fp/floatdidf.c: Likewise.
13008         * soft-fp/floatdisf.c: Likewise.
13009         * soft-fp/floatditf.c: Likewise.
13010         * soft-fp/floatsidf.c: Likewise.
13011         * soft-fp/floatsisf.c: Likewise.
13012         * soft-fp/floatsitf.c: Likewise.
13013         * soft-fp/floattidf.c: Likewise.
13014         * soft-fp/floattisf.c: Likewise.
13015         * soft-fp/floattitf.c: Likewise.
13016         * soft-fp/floatundidf.c: Likewise.
13017         * soft-fp/floatundisf.c: Likewise.
13018         * soft-fp/floatunditf.c: Likewise.
13019         * soft-fp/floatunsidf.c: Likewise.
13020         * soft-fp/floatunsisf.c: Likewise.
13021         * soft-fp/floatunsitf.c: Likewise.
13022         * soft-fp/floatuntidf.c: Likewise.
13023         * soft-fp/floatuntisf.c: Likewise.
13024         * soft-fp/floatuntitf.c: Likewise.
13025         * soft-fp/fmadf4.c: Likewise.
13026         * soft-fp/fmasf4.c: Likewise.
13027         * soft-fp/fmatf4.c: Likewise.
13028         * soft-fp/gedf2.c: Likewise.
13029         * soft-fp/gesf2.c: Likewise.
13030         * soft-fp/getf2.c: Likewise.
13031         * soft-fp/ledf2.c: Likewise.
13032         * soft-fp/lesf2.c: Likewise.
13033         * soft-fp/letf2.c: Likewise.
13034         * soft-fp/muldf3.c: Likewise.
13035         * soft-fp/mulsf3.c: Likewise.
13036         * soft-fp/multf3.c: Likewise.
13037         * soft-fp/negdf2.c: Likewise.
13038         * soft-fp/negsf2.c: Likewise.
13039         * soft-fp/negtf2.c: Likewise.
13040         * soft-fp/op-1.h: Likewise.
13041         * soft-fp/op-2.h: Likewise.
13042         * soft-fp/op-4.h: Likewise.
13043         * soft-fp/op-8.h: Likewise.
13044         * soft-fp/op-common.h: Likewise.
13045         * soft-fp/quad.h: Likewise.
13046         * soft-fp/single.h: Likewise.
13047         * soft-fp/soft-fp.h: Likewise.
13048         * soft-fp/sqrtdf2.c: Likewise.
13049         * soft-fp/sqrtsf2.c: Likewise.
13050         * soft-fp/sqrttf2.c: Likewise.
13051         * soft-fp/subdf3.c: Likewise.
13052         * soft-fp/subsf3.c: Likewise.
13053         * soft-fp/subtf3.c: Likewise.
13054         * soft-fp/truncdfsf2.c: Likewise.
13055         * soft-fp/trunctfdf2.c: Likewise.
13056         * soft-fp/trunctfsf2.c: Likewise.
13057         * soft-fp/trunctfxf2.c: Likewise.
13058         * soft-fp/unorddf2.c: Likewise.
13059         * soft-fp/unordsf2.c: Likewise.
13060         * soft-fp/unordtf2.c: Likewise.
13061
13062 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
13063
13064         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13065         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13066
13067 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
13068
13069         * elf/dl-libc.c: Clear initfini list after freeing.
13070
13071 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
13072
13073         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13074         * soft-fp/addsf3.c: Likewise.
13075         * soft-fp/addtf3.c: Likewise.
13076         * soft-fp/divdf3.c: Likewise.
13077         * soft-fp/divsf3.c: Likewise.
13078         * soft-fp/divtf3.c: Likewise.
13079         * soft-fp/double.h: Likewise.
13080         * soft-fp/eqdf2.c: Likewise.
13081         * soft-fp/eqsf2.c: Likewise.
13082         * soft-fp/eqtf2.c: Likewise.
13083         * soft-fp/extenddftf2.c: Likewise.
13084         * soft-fp/extended.h: Likewise.
13085         * soft-fp/extendsfdf2.c: Likewise.
13086         * soft-fp/extendsftf2.c: Likewise.
13087         * soft-fp/extendxftf2.c: Likewise.
13088         * soft-fp/fixdfdi.c: Likewise.
13089         * soft-fp/fixdfsi.c: Likewise.
13090         * soft-fp/fixdfti.c: Likewise.
13091         * soft-fp/fixsfdi.c: Likewise.
13092         * soft-fp/fixsfsi.c: Likewise.
13093         * soft-fp/fixsfti.c: Likewise.
13094         * soft-fp/fixtfdi.c: Likewise.
13095         * soft-fp/fixtfsi.c: Likewise.
13096         * soft-fp/fixtfti.c: Likewise.
13097         * soft-fp/fixunsdfdi.c: Likewise.
13098         * soft-fp/fixunsdfsi.c: Likewise.
13099         * soft-fp/fixunsdfti.c: Likewise.
13100         * soft-fp/fixunssfdi.c: Likewise.
13101         * soft-fp/fixunssfsi.c: Likewise.
13102         * soft-fp/fixunssfti.c: Likewise.
13103         * soft-fp/fixunstfdi.c: Likewise.
13104         * soft-fp/fixunstfsi.c: Likewise.
13105         * soft-fp/fixunstfti.c: Likewise.
13106         * soft-fp/floatdidf.c: Likewise.
13107         * soft-fp/floatdisf.c: Likewise.
13108         * soft-fp/floatditf.c: Likewise.
13109         * soft-fp/floatsidf.c: Likewise.
13110         * soft-fp/floatsisf.c: Likewise.
13111         * soft-fp/floatsitf.c: Likewise.
13112         * soft-fp/floattidf.c: Likewise.
13113         * soft-fp/floattisf.c: Likewise.
13114         * soft-fp/floattitf.c: Likewise.
13115         * soft-fp/floatundidf.c: Likewise.
13116         * soft-fp/floatundisf.c: Likewise.
13117         * soft-fp/floatunsidf.c: Likewise.
13118         * soft-fp/floatunsisf.c: Likewise.
13119         * soft-fp/floatuntidf.c: Likewise.
13120         * soft-fp/floatuntisf.c: Likewise.
13121         * soft-fp/floatuntitf.c: Likewise.
13122         * soft-fp/fmadf4.c: Likewise.
13123         * soft-fp/fmasf4.c: Likewise.
13124         * soft-fp/fmatf4.c: Likewise.
13125         * soft-fp/gedf2.c: Likewise.
13126         * soft-fp/gesf2.c: Likewise.
13127         * soft-fp/getf2.c: Likewise.
13128         * soft-fp/ledf2.c: Likewise.
13129         * soft-fp/lesf2.c: Likewise.
13130         * soft-fp/letf2.c: Likewise.
13131         * soft-fp/muldf3.c: Likewise.
13132         * soft-fp/mulsf3.c: Likewise.
13133         * soft-fp/multf3.c: Likewise.
13134         * soft-fp/negdf2.c: Likewise.
13135         * soft-fp/negsf2.c: Likewise.
13136         * soft-fp/negtf2.c: Likewise.
13137         * soft-fp/op-1.h: Likewise.
13138         * soft-fp/op-2.h: Likewise.
13139         * soft-fp/op-4.h: Likewise.
13140         * soft-fp/op-8.h: Likewise.
13141         * soft-fp/op-common.h: Likewise.
13142         * soft-fp/quad.h: Likewise.
13143         * soft-fp/single.h: Likewise.
13144         * soft-fp/soft-fp.h: Likewise.
13145         * soft-fp/sqrtdf2.c: Likewise.
13146         * soft-fp/sqrtsf2.c: Likewise.
13147         * soft-fp/sqrttf2.c: Likewise.
13148         * soft-fp/subdf3.c: Likewise.
13149         * soft-fp/subsf3.c: Likewise.
13150         * soft-fp/subtf3.c: Likewise.
13151         * soft-fp/truncdfsf2.c: Likewise.
13152         * soft-fp/trunctfdf2.c: Likewise.
13153         * soft-fp/trunctfsf2.c: Likewise.
13154         * soft-fp/trunctfxf2.c: Likewise.
13155         * soft-fp/unorddf2.c: Likewise.
13156         * soft-fp/unordsf2.c: Likewise.
13157         * soft-fp/unordtf2.c: Likewise.
13158
13159 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
13160
13161         [BZ #15672]
13162         * misc/error.c (error_tail): Fix possible buffer overflow.
13163
13164 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
13165
13166         [BZ #13028]
13167         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13168         address.
13169
13170 2013-10-14  P. J. McDermott  <pj@pehjota.net>
13171
13172         [BZ #832]
13173         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
13174         testing pipefail option.
13175
13176 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13177
13178         * soft-fp/double.h: Indent preprocessor directives inside #if.
13179         * soft-fp/extended.h: Likewise.
13180         * soft-fp/op-2.h: Likewise.
13181         * soft-fp/op-4.h: Likewise.
13182         * soft-fp/op-common.h: Likewise.
13183         * soft-fp/quad.h: Likewise.
13184         * soft-fp/single.h: Likewise.
13185         * soft-fp/soft-fp.h: Likewise.
13186
13187 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
13188
13189         * iconv/iconv_prog.c: Fix typos.
13190         * stdio-common/psiginfo-data.h: Likewise.
13191
13192 2013-10-12   Reuben Thomas <rrt@sc3d.org>
13193
13194         [BZ #15764]
13195         * locale/setlocale.c: Fix typo.
13196
13197 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13198
13199         [BZ #16036]
13200         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13201         signaling NaN arguments.
13202         * soft-fp/unordsf2.c (__unordsf2): Likewise.
13203         * soft-fp/unordtf2.c (__unordtf2): Likewise.
13204
13205         [BZ #14910]
13206         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13207         unordered operands.
13208         * soft-fp/gesf2.c (__gesf2): Likewise.
13209         * soft-fp/getf2.c (__getf2): Likewise.
13210         * soft-fp/ledf2.c (__ledf2): Likewise.
13211         * soft-fp/lesf2.c (__lesf2): Likewise.
13212         * soft-fp/letf2.c (__letf2): Likewise.
13213
13214         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13215         * soft-fp/eqsf2.c (__eqsf2): Likewise.
13216         * soft-fp/eqtf2.c (__eqtf2): Likewise.
13217         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13218         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13219         * soft-fp/fixdfti.c (__fixdfti): Likewise.
13220         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13221         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13222         * soft-fp/fixsfti.c (__fixsfti): Likewise.
13223         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13224         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13225         * soft-fp/fixtfti.c (__fixtfti): Likewise.
13226         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13227         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13228         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13229         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13230         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13231         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13232         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13233         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13234         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13235         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13236         * soft-fp/floatdisf.c (__floatdisf): Likewise.
13237         * soft-fp/floatsisf.c (__floatsisf): Likewise.
13238         * soft-fp/floattidf.c (__floattidf): Likewise.
13239         * soft-fp/floattisf.c (__floattisf): Likewise.
13240         * soft-fp/floattitf.c (__floattitf): Likewise.
13241         * soft-fp/floatundidf.c (__floatundidf): Likewise.
13242         * soft-fp/floatundisf.c (__floatundisf): Likewise.
13243         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13244         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13245         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13246         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13247         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13248         * soft-fp/gesf2.c (__gesf2): Likewise.
13249         * soft-fp/getf2.c (__getf2): Likewise.
13250         * soft-fp/ledf2.c (__ledf2): Likewise.
13251         * soft-fp/lesf2.c (__lesf2): Likewise.
13252         * soft-fp/letf2.c (__letf2): Likewise.
13253
13254         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13255         Undefine and redefine.
13256         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13257         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13258         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13259         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13260         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13261         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13262         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13263         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13264         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13265         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13266         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13267         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13268         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13269         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13270         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13271
13272         [BZ #16032]
13273         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13274         without decrementing exponent if mantissa >= that for the
13275         denominator, not >.
13276         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13277         denominator, not >.  Decrement exponent in < case instead of
13278         incrementing in >= case.
13279         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13280         without decrementing exponent if mantissa >= that for the
13281         denominator, not >.
13282
13283         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13284         computing saturated result for unsigned overflow.
13285
13286 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13287             Jeff Law  <law@redhat.com>
13288
13289         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13290         (atan2Mp): Add systemtap probe marker.
13291         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13292         (__ieee754_log): Add systemtap probe marker.
13293         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13294         (atanMp): Add systemtap probe marker.
13295         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13296         (tanMp): Add systemtap probe marker.
13297         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13298         (__slowexp): Add systemtap probe marker.
13299         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13300         (__slowpow): Add systemtap probe marker.
13301         * manual/probes.texi: Document probes.
13302
13303 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
13304
13305         [BZ #15362]
13306         * libio/fileops.c (_IO_new_file_write): Return count of bytes
13307         written.
13308         (_IO_new_file_xsputn): Don't return EOF if nothing has been
13309         written.
13310         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13311         written to buffer but not flushed.
13312         * libio/iofwrite_u.c:  Likewise.
13313         * libio/iopadn.c:  Return bytes returned even if EOF was
13314         encountered.
13315         * libio/iowpadn.c:  Likewise.
13316         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13317         if _IO_padn does not write the whole buffer.
13318         [!COMPILE_WPRINTF] (PAD): Likewise.
13319
13320 2013-10-10  David S. Miller  <davem@davemloft.net>
13321
13322         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13323         directory block.
13324
13325 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13326
13327         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
13328         instead of FSF address.
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.
13342
13343         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
13344         * soft-fp/fixdfti.c: Likewise.
13345         * soft-fp/fixsfti.c: Likewise.
13346         * soft-fp/fixtfti.c: Likewise.
13347         * soft-fp/fixunsdfti.c: Likewise.
13348         * soft-fp/fixunssfti.c: Likewise.
13349         * soft-fp/fixunstfti.c: Likewise.
13350         * soft-fp/floattidf.c: Likewise.
13351         * soft-fp/floattisf.c: Likewise.
13352         * soft-fp/floattitf.c: Likewise.
13353         * soft-fp/floatuntidf.c: Likewise.
13354         * soft-fp/floatuntisf.c: Likewise.
13355         * soft-fp/floatuntitf.c: Likewise.
13356         * soft-fp/trunctfxf2.c: Likewise.
13357
13358 2013-10-10  David S. Miller  <davem@davemloft.net>
13359
13360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13361
13362 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
13363
13364         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13365         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13366         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13367         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13368         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13369         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13370         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13371
13372         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13373         for NaNs before doing comparisons on argument.
13374         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13375         Likewise.
13376
13377 2013-10-10  Will Newton  <will.newton@linaro.org>
13378
13379         * malloc/hooks.c (memalign_check): Ensure the value of bytes
13380         passed to _int_memalign does not overflow.
13381
13382 2013-10-10  Torvald Riegel  <triegel@redhat.com>
13383
13384         * scripts/bench.pl: Add include-sources directive.
13385         * benchtests/README: Update documentation.
13386
13387 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13388
13389         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13390         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13391         instead of FP_INIT_ROUNDMODE.
13392         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13393         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13394
13395         [BZ #16034]
13396         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
13397         copy class of input value.
13398         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
13399         not handle exceptions.
13400         * soft-fp/negsf2.c (__negsf2): Likewise.
13401         * soft-fp/negtf2.c (__negtf2): Likewise.
13402         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13403
13404 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
13405
13406         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13407         semicolon.  From Linux kernel.
13408
13409 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
13410
13411         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13412
13413 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
13414
13415         [BZ #156]
13416         * manual/socket.texi: Added statement about buffer
13417         for gethostbyname2_r.
13418
13419 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
13420
13421         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13422         Use .p2align directive instead, throughout.
13423         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13424         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13425         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13426         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13427         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13428         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13429         * sysdeps/x86_64/strchr.S: Likewise.
13430         * sysdeps/x86_64/strrchr.S: Likewise.
13431
13432 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13433
13434         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13435
13436         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13437
13438         * sysdeps/generic/math_private.h (__mpsin1): Remove
13439         declaration.
13440         (__mpcos1): Likewise.
13441         (__mpsin): New argument __range_reduce.
13442         (__mpcos): Likewise.
13443         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13444         (slow): Use __mpsin and __mpcos.
13445         (slow1): Likewise.
13446         (slow2): Likewise.
13447         (sloww): Likewise.
13448         (sloww1): Likewise.
13449         (sloww2): Likewise.
13450         (bsloww): Likewise.
13451         (bsloww1): Likewise.
13452         (bsloww2): Likewise.
13453         (cslow2): Likewise.
13454         (csloww): Likewise.
13455         (csloww1): Likewise.
13456         (csloww2): Likewise.
13457         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13458         range_reduce.  Merge in __mpsin1.
13459         (__mpcos): Likewise.
13460         (__mpsin1): Remove.
13461         (__mpcos1): Likewise.
13462
13463 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
13464
13465         * locale/loadlocale.c (_nl_intern_locale_data): Use
13466         LOCFILE_ALIGNED_P.
13467         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13468         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13469         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13470         obstack data is appropriately aligned.
13471         (obstack_int32_grow_fast): Likewise.
13472         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13473         * locale/programs/locfile.c (add_locale_uint32): Likewise.
13474         (add_locale_uint32_array): Likewise.
13475
13476 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
13477
13478         * benchtests/Makefile: Remove ARGLIST and RET variables.
13479         ($(objpfx)bench-%.c): Pass only function name to the script.
13480         * benchtests/README: Update documentation.
13481         * benchtests/acos-inputs: Add new directives.
13482         * benchtests/acosh-inputs: Likewise.
13483         * benchtests/asin-inputs: Likewise.
13484         * benchtests/asinh-inputs: Likewise.
13485         * benchtests/atan-inputs: Likewise.
13486         * benchtests/atanh-inputs: Likewise.
13487         * benchtests/cos-inputs: Likewise.
13488         * benchtests/cosh-inputs: Likewise.
13489         * benchtests/exp-inputs: Likewise.
13490         * benchtests/log-inputs: Likewise.
13491         * benchtests/pow-inputs: Likewise.
13492         * benchtests/rint-inputs: Likewise.
13493         * benchtests/sin-inputs: Likewise.
13494         * benchtests/sinh-inputs: Likewise.
13495         * benchtests/tan-inputs: Likewise.
13496         * benchtests/tanh-inputs: Likewise.
13497         * scripts/bench.pl: Add support for new directives.
13498
13499 2013-10-07  Alan Modra  <amodra@gmail.com>
13500
13501         * README: Fix careless merge.
13502
13503 2013-10-05  Alan Modra  <amodra@gmail.com>
13504
13505         * NEWS: Mention powerpc64le support and bugs fixed.
13506         * README: Both big-endian and little-endian powerpc64 supported.
13507
13508 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13509
13510         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13511         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13512         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13513         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13514
13515 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
13516
13517         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13518         match prototype.
13519
13520 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
13521
13522         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13523         Move -mhard-float appending from
13524         ports/sysdeps/powerpc/powerpc32/Makefile.
13525         [$(with-fp) = yes] (ASFLAGS): Likewise.
13526         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13527         * sysdeps/powerpc/nofpu: Move directory from
13528         ports/sysdeps/powerpc/nofpu.
13529         * sysdeps/powerpc/soft-fp: Move directory from
13530         ports/sysdeps/powerpc/soft-fp.
13531         * sysdeps/powerpc/powerpc32/405: Move directory from
13532         ports/sysdeps/powerpc/powerpc32/405.
13533         * sysdeps/powerpc/powerpc32/440: Move directory from
13534         ports/sysdeps/powerpc/powerpc32/440.
13535         * sysdeps/powerpc/powerpc32/464: Move directory from
13536         ports/sysdeps/powerpc/powerpc32/464.
13537         * sysdeps/powerpc/powerpc32/476: Move directory from
13538         ports/sysdeps/powerpc/powerpc32/476.
13539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13540         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13542         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13544         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13546         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13548         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13549         * README: Update for powerpc-*-linux-gnu software floating point
13550         support in libc.
13551
13552         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13553         case to powerpc/powerpc32*.
13554         * sysdeps/unix/sysv/linux/configure: Regenerated.
13555
13556         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13557         (_FPU_MASK_OM): Define as 0x04.
13558         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13559         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13560         0x00c10080.
13561         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13562         0x0000003c.
13563         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13564
13565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13566         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13567         getcontext_e500.
13568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13569         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13570         setcontext_e500.
13571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13572         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13573         and setcontext_e500.
13574
13575 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
13576
13577         * locale/iso-3166.def: Update iso-1366.def and related occurrences
13578
13579 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13580
13581         * manual/threads.texi (Default Thread Attributes): Fix typo.
13582
13583 2013-10-04  Will Newton  <will.newton@linaro.org>
13584
13585         * malloc/Makefile: Add tst-memalign.
13586         * malloc/tst-memalign.c: New file.
13587
13588         * malloc/tst-posix_memalign.c: Add comments.
13589         (do_test): Add comments and call free on all potentially
13590         allocated pointers. Add space after cast.
13591
13592         * malloc/tst-pvalloc.c: Add comments.
13593         (do_test): Add comments and call free on all potentially
13594         allocated pointers. Remove duplicate check for NULL pointer.
13595         Add space after cast.
13596
13597         * malloc/tst-valloc.c: Add comments.
13598         (do_test): Add comments and call free on all potentially
13599         allocated pointers. Remove duplicate check for NULL pointer.
13600         Add space after cast.
13601
13602 2013-10-04  Alan Modra  <amodra@gmail.com>
13603
13604         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13605         Use stdint types in rather than __attribute__((mode())).
13606         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13607
13608 2013-10-04  Alan Modra  <amodra@gmail.com>
13609
13610         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13611         Correct handling of unaligned relocs for little-endian.
13612         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13613
13614 2013-10-04  Alan Modra  <amodra@gmail.com>
13615
13616         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13617         * configure: Regenerate.
13618         * nptl/shlib-versions: Powerpc*le starts at 2.18.
13619         * shlib-versions: Likewise.
13620
13621 2013-10-04  Alan Modra  <amodra@gmail.com>
13622
13623         * string/tester.c (test_memrchr): Increment reported test cycle.
13624
13625 2013-10-04  Alan Modra  <amodra@gmail.com>
13626
13627         * string/test-memcpy.c (do_one_test): When reporting errors, print
13628         string address and don't overrun end of string.
13629
13630 2013-10-04  Alan Modra  <amodra@gmail.com>
13631
13632         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13633         insrdi.  Make better use of reg selection to speed exit slightly.
13634         Schedule entry path a little better.  Remove useless "are we done"
13635         checks on entry to main loop.  Handle wrapping around zero address.
13636         Correct main loop count.  Handle single left-over word from main
13637         loop inline rather than by using loop_small.  Remove extra word
13638         case in loop_small caused by wrong loop count.  Add little-endian
13639         support.
13640         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13641         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
13642         cache hint.
13643         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13644         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13645         support.  Avoid rlwimi.
13646         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13647
13648 2013-10-04  Alan Modra  <amodra@gmail.com>
13649
13650         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13651         insrdi.  Formatting.
13652         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13653         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13654         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13655         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13656         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13657         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13658
13659 2013-10-04  Alan Modra  <amodra@gmail.com>
13660
13661         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13662         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13663         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13664         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13665         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13666         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13667         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13668         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13669         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
13670         use of regs.  Use power7 mtocrf.  Tidy function tails.
13671
13672 2013-10-04  Alan Modra  <amodra@gmail.com>
13673
13674         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13675         Formatting.  Consistently use rXXX register defines or rN defines.
13676         Use early exit labels that avoid restoring unused non-volatile regs.
13677         Make cr field use more consistent with rWORDn compares.  Rename
13678         regs used as shift registers for unaligned loop, using rN defines
13679         for short lifetime/multiple use regs.
13680         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13681         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
13682         addi 1,1,64 to pop stack frame.  Simplify return value code.
13683         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13684
13685 2013-10-04  Alan Modra  <amodra@gmail.com>
13686
13687         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13688         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
13689         rather than rlwimi.
13690         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13691         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13692         little-endian support.  Correct typos.
13693         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
13694         rather than rlwimi.
13695         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
13696         in loop and entry code to keep "and." results.
13697         (strchr): Add little-endian support.  Comment.  Move cntlzd
13698         earlier in tail.
13699         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13700
13701 2013-10-04  Alan Modra  <amodra@gmail.com>
13702
13703         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13704         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13705         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13706         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13707
13708 2013-10-04  Alan Modra  <amodra@gmail.com>
13709
13710         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13711         (rTMP): Define as r11.
13712         (strcmp): Add little-endian support.  Optimise tail.
13713         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13714         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13715         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13716         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13717         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13718         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13719         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13720
13721 2013-10-04  Alan Modra  <amodra@gmail.com>
13722
13723         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13724         little-endian support.  Remove unnecessary "are we done" tests.
13725         Handle "s" wrapping around zero and extremely large "size".
13726         Correct main loop count.  Handle single left-over word from main
13727         loop inline rather than by using small_loop.  Correct comments.
13728         Delete "zero" tail, use "end_max" instead.
13729         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13730
13731 2013-10-04  Alan Modra  <amodra@gmail.com>
13732
13733         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13734         support.  Don't branch over align.
13735         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13736         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13737         support.  Rearrange tmp reg use to suit.  Comment.
13738         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13739
13740 2013-10-04  Alan Modra  <amodra@gmail.com>
13741
13742         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13743
13744 2013-10-04  Alan Modra  <amodra@gmail.com>
13745
13746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13747         conditional form of branch and link when obtaining pc.
13748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13749
13750 2013-10-04  Alan Modra  <amodra@gmail.com>
13751
13752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13753         HIWORD/LOWORD.
13754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13756
13757 2013-10-04  Alan Modra  <amodra@gmail.com>
13758
13759         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13760         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13761         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13762         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13763         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13764         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13765         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13766         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13767         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13768         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13769
13770 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13771             Alistair Popple <alistair@ozlabs.au.ibm.com>
13772             Alan Modra <amodra@gmail.com>
13773
13774         [BZ #15723]
13775         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13776         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13777         _dl_hwcap access for little-endian.
13778         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
13779         destroy vmx regs when saving unaligned.
13780         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13781         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
13782         destroy vmx regs when saving unaligned.
13783
13784 2013-10-04  Alan Modra  <amodra@gmail.com>
13785
13786         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13787         Don't use a union to pack hi/low value.
13788
13789 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13790
13791         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13792         for little-endian.
13793         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13794         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13795         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13796         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13797         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13798
13799 2013-10-04  Alan Modra  <amodra@gmail.com>
13800
13801         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13802         constants to usual value for .cst8 section, and remove redundant
13803         high address load.
13804         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13805         constant for 0x1p52.  Load little-endian words of double from
13806         correct stack offsets.
13807
13808 2013-10-04  Alan Modra  <amodra@gmail.com>
13809
13810         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13811         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13812         words of double from correct stack offsets.
13813         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13814         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13815         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13816         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13817         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13818         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13819         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13820         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13821         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13822         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13823         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13824         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13825         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13826         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13827         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13828         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13829         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13830
13831 2013-10-04  Alan Modra  <amodra@gmail.com>
13832
13833         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13834         64-bit int/double union.
13835         (_FPU_SETCW): Likewise.
13836         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13837         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13838
13839 2013-10-04  Alan Modra  <amodra@gmail.com>
13840
13841         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13842         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13843
13844 2013-10-04  Alan Modra  <amodra@gmail.com>
13845
13846         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13847         use vector int constants.
13848         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13849
13850 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13851
13852         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13853         array with long long.
13854         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13855         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13856         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13857         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13858         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13859         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13860         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13861         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13862         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13863         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13864         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13865         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13866         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13867
13868 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13869
13870         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13871         (__signbit): Likewise.  Correct for little-endian.
13872         (__signbitl): Call __signbit.
13873         (lrint): Correct for little-endian.
13874         (lrintf): Call lrint.
13875
13876 2013-10-04  Alan Modra  <amodra@gmail.com>
13877
13878         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13879         union 32-bit int array member with 64-bit int array.
13880         (t515, tm256): Double rather than long double.
13881         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13882
13883 2013-10-04  Alan Modra  <amodra@gmail.com>
13884
13885         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13886         Delete.
13887         (IEEE854_LONG_DOUBLE_BIAS): Delete.
13888         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13889         version of math_ldbl.h.
13890
13891 2013-10-04  Alan Modra  <amodra@gmail.com>
13892
13893         [BZ #15734], [BZ #15735]
13894         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13895         all uses of ieee875 long double macros and unions.  Simplify test
13896         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
13897         ldbl_extract_mantissa value for ix,iy exponents.  Properly
13898         normalize after ldbl_extract_mantissa, and don't add hidden bit
13899         already handled.  Don't treat low word of ieee854 mantissa like
13900         low word of IBM long double and mask off bit when testing for
13901         zero.
13902         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13903         all uses of ieee875 long double macros and unions.  Simplify tests
13904         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
13905         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
13906         two1022, instead use their values.  Recognise that tests for large
13907         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
13908         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13909         Rewrite all uses of ieee875 long double macros and unions.  Simplify
13910         test for 0.0L and nan.  Correct negation.
13911         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13912         ieee875 long double macros and unions.  Correct output for large
13913         magnitude x.  Correct absolute value calculation.
13914         (__erfcl): Likewise.
13915         * math/libm-test.inc: Add tests for errors discovered in IBM long
13916         double versions of fmodl, remainderl, erfl and erfcl.
13917
13918 2013-10-04  Alan Modra  <amodra@gmail.com>
13919
13920         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13921         all uses of ieee854 long double macros and unions.  Simplify tests
13922         for long doubles that are fully specified by the high double.
13923         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13924         Likewise.
13925         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13926         Remove dead code too.
13927         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13928         (__ieee754_ynl): Likewise.
13929         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13930         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13931         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13932         Remove dead code too.
13933         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13934         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13935         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13936         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13937         Simplify.
13938         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13939         Simplify.
13940         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13941         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13942         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13943         Comment on variable precision.
13944         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13945         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13946         Likewise.
13947         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13948         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13949         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13950         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13951         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13952
13953 2013-10-04  Alan Modra  <amodra@gmail.com>
13954
13955         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13956         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13957         all uses of ieee854 long double macros and unions.
13958         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13959         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13960         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13961         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13962         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13963         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13964         Likewise.
13965         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13966         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13967         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13968         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13969         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13970         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13971         Simplify sign and nan test too.
13972         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13973         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13974         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13975         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13976         Likewise.
13977         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13978         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13979         Likewise.
13980         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13981         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13982         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13983         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13984         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13985         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13986
13987 2013-10-04  Alan Modra  <amodra@gmail.com>
13988
13989         * stdio-common/printf_size.c (__printf_size): Don't use
13990         union ieee854_long_double in fpnum union.
13991         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
13992         signbit macro to retrieve sign from long double.
13993         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13994         retrieve sign from long double.
13995         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13996         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13997         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13998         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13999         * math/test-misc.c (main): Don't use union ieee854_long_double.
14000
14001 2013-10-04  Alan Modra  <amodra@gmail.com>
14002
14003         [BZ #15680]
14004         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14005         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14006         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14007         calculation.  Remove unnecessary test for denormal exponent.
14008         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14009         Correct handling of denormals.  Avoid undefined shift behaviour.
14010         Correct normalisation of low mantissa when low double is denormal.
14011         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14012         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
14013         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14014         Correct normalisation of low mantissa.  Test for overflow of high
14015         mantissa and normalise.
14016         (ldbl_nearbyint): Use more readable constant for two52.
14017         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14018         (__mpn_construct_long_double): Fix test for overflow of high
14019         mantissa and correct normalisation.  Avoid undefined shift.
14020
14021 2013-10-04  Alan Modra  <amodra@gmail.com>
14022
14023         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14024         (union ibm_extended_long_double): Define as an array of ieee754_double.
14025         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14026         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14027         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14028         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14029         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14030         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14031         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14032         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14033         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14034         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14035         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14036
14037 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
14038
14039         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14040         page size instead of calling getpagesize.
14041
14042         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14043         (LOCFILE_ALIGN_MASK): Likewise.
14044         (LOCFILE_ALIGN_UP): Likewise.
14045         (LOCFILE_ALIGNED_P): Likewise.
14046         * locale/programs/ld-collate.c (collate_output): Use the new
14047         macros instead of __alignof__ (int32_t).
14048         * locale/weight.h (findidx): Likewise.
14049
14050 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
14051
14052         [BZ #431]
14053         * manual/string.texi: Fix strncat and wcsncat.
14054
14055 2013-10-03  Brooks Moses  <bmoses@google.com>
14056
14057         [BZ #15915]
14058         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14059         * Makerules: ...here, and adjust associated comments.
14060
14061 2013-10-02  Will Newton  <will.newton@linaro.org>
14062
14063         * malloc/Makefile: Add tst-pvalloc.
14064         * malloc/tst-pvalloc.c: New file.
14065
14066 2013-10-02  Will Newton  <will.newton@linaro.org>
14067
14068         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14069         improve test coverage.
14070
14071 2013-10-02  Will Newton  <will.newton@linaro.org>
14072
14073         * malloc/Makefile: Add tst-posix_memalign.
14074         * malloc/tst-posix_memalign.c: New file.
14075
14076 2013-10-01  Eric Blake  <eblake@redhat.com>
14077
14078         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14079         Use __THROWNL rather than __THROW on static functions.
14080
14081 2013-09-30  Petr Machata  <pmachata@redhat.com>
14082
14083         * elf/elf.h (R_AARCH64_ABS16): New macro.
14084         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14085         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14086         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14087         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14088         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14089         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14090         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14091         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14092         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14093         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14094         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14095         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14096         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14097         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14098         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14099         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14100         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14101         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14102         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14103         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14104         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14105         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14106         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14107         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14108         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14109         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14110         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14111         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14112         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14113         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14114         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14115         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14116         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14117         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14118         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14119         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14120         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14121         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14122         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14123         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14124         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14125         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14126         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14127         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14128         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14129         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14130         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14131         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14132         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14133         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14134         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14135         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14136         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14137         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14138         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14139         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14140         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14141         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14142         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14143         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14144         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14145         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14146         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14147         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14148         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14149         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14150         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14151         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14152         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14153         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14154         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14155         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14156         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14157         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14158         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14159         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14160         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14161         (R_AARCH64_TLSDESC_LDR): Likewise.
14162         (R_AARCH64_TLSDESC_ADD): Likewise.
14163         (R_AARCH64_TLSDESC_CALL): Likewise.
14164
14165 2013-09-30  Andreas Schwab  <schwab@suse.de>
14166
14167         [BZ #15048]
14168         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14169         the nss database lookup.
14170         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14171         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14172
14173 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
14174
14175         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14176
14177 2013-09-28  P. J. McDermott  <pj@pehjota.net>
14178
14179         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14180         ${Bash-specific parameter/pattern/string} parameter expansion.
14181         * sysdeps/unix/make-syscalls.sh: Likewise.
14182
14183 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14184
14185         * sysdeps/sh/stackguard-macros.h: New file.
14186
14187 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
14188
14189         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14190         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14191         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14192         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14193         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14194         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14195
14196 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14197
14198         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14199         Fix thread ID register.
14200
14201 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
14202
14203         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14204         [POSIX || UNIX98]: Require rather than permitting all symbols from
14205         <time.h>.
14206         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14207         element of struct sched_param.
14208         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14209         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14210         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14211         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14212         constant.
14213
14214 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
14215
14216         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14217         argument calculation.
14218
14219 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14220
14221         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14222         Expect macro.
14223         [POSIX] (pthread_attr_t): Do not require type.
14224         [POSIX] (pthread_cond_t): Likewise.
14225         [POSIX] (pthread_condattr_t): Likewise.
14226         [POSIX] (pthread_key_t): Likewise.
14227         [POSIX] (pthread_mutex_t): Likewise.
14228         [POSIX] (pthread_mutexattr_t): Likewise.
14229         [POSIX] (pthread_once_t): Likewise.
14230         [POSIX] (pthread_t): Likewise.
14231         [POSIX-based standards] (pthread_atfork): Expect function.
14232
14233 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14234             Richard Sandiford  <richard@codesourcery.com>
14235
14236         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14237         (swap_endianness_p): New extern variable.
14238         (set_big_endian): New inline function.
14239         (maybe_swap_uint32): Likewise.
14240         (maybe_swap_uint32_array): Likewise.
14241         (maybe_swap_uint32_obstack): Likewise.
14242         * locale/programs/locfile.c: Include <stdbool.h>.
14243         (swap_endianness_p): New variable.
14244         (add_locale_uint32): Call maybe_swap_uint32.
14245         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14246         (write_locale_data): Call maybe_swap_uint32_array.
14247         * locale/programs/ld-collate.c (obstack_int32_grow): Call
14248         maybe_swap_uint32.
14249         (obstack_int32_grow_fast): Likewise.
14250         (output_weightwc): Call maybe_swap_uint32_obstack.
14251         (collate_output): Likewise.
14252         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14253         (OPT_LITTLE_ENDIAN): Likewise.
14254         (options): Add --little-endian and --big-endian options.
14255         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14256         * locale/programs/locarchive.c: Include "locfile.h".
14257         (GET): New macro.
14258         (SET): Likewise.
14259         (INC): Likewise.
14260         (create_archive): Use the new macros to access fields of
14261         structures directly mapped from or written to locale archives.
14262         (oldlocrecentcmp): Likewise.
14263         (enlarge_archive): Likewise.
14264         (insert_name): Likewise.
14265         (add_alias): Likewise.
14266         (add_locale): Likewise.
14267         (delete_locales_from_archive): Likewise.
14268         (show_archive_content): Likewise.
14269         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
14270         locale data.
14271
14272 2013-09-24  Roland McGrath  <roland@hack.frob.com>
14273
14274         * manual/freemanuals.texi: Updated from (newly) canonical copy at
14275         http://www.gnu.org/doc/freemanuals.texi.
14276         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14277
14278 2013-09-24  Will Newton  <will.newton@linaro.org>
14279
14280         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14281         macro.
14282
14283 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
14284
14285         * locale/hashval.h (compute_hashval): Interpret bytes of key as
14286         unsigned char.
14287
14288 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
14289
14290         * manual/threads.texi (POSIX Threads): Fix a typo.
14291
14292 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14293
14294         [BZ #14547]
14295         * string/tst-strcoll-overflow.c: New test case.
14296         * string/Makefile (xtests): Add tst-strcoll-overflow.
14297         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14298         cache if string sizes may cause integer overflow.
14299
14300         [BZ #14547]
14301         * string/strcoll_l.c (coll_seq): New members rule, idx,
14302         save_idx and back_us.
14303         (get_next_seq_nocache): New function.
14304         (do_compare_nocache): New function.
14305         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14306         when malloc fails.
14307
14308 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
14309
14310         [BZ #15754]
14311         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14312         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14313         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14314
14315         [BZ #15754]
14316         * elf/Makefile (tests): Add tst-ptrguard1.
14317         (tests-static): Add tst-ptrguard1-static.
14318         (tst-ptrguard1-ARGS): Define.
14319         (tst-ptrguard1-static-ARGS): Define.
14320         * elf/tst-ptrguard1.c: New file.
14321         * elf/tst-ptrguard1-static.c: New file.
14322         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14323         * sysdeps/i386/stackguard-macros.h: Likewise.
14324         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14325         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14326         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14327         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14328         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14329         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14330
14331 2013-09-23  Hector Marco  <hecmargi@upv.es>
14332             Ismael Ripoll  <iripoll@disca.upv.es>
14333             Carlos O'Donell  <carlos@redhat.com>
14334
14335         [BZ #15754]
14336         * sysdeps/generic/stackguard-macros.h: Define
14337         __pointer_chk_guard_local and POINTER_CHK_GUARD.
14338         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14339         Define __pointer_chk_guard_local.
14340         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14341         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14342
14343 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
14344
14345         [BZ #15859]
14346         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14347
14348 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
14349
14350         * include/string.h (__ffs): Declare as hidden.
14351         * string/ffs.c (__ffs): Define as hidden.
14352         * sysdeps/i386/ffs.c (__ffs): Likewise.
14353         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14354         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14355         * sysdeps/s390/ffs.c (__ffs): Likewise.
14356         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14357
14358 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
14359
14360         * NEWS: Mention malloc probes.
14361
14362         * malloc/arena.c (new_heap): New memory_heap_new probe.
14363         (grow_heap): New memory_heap_more probe.
14364         (shrink_heap): New memory_heap_less probe.
14365         (heap_trim): New memory_heap_free probe.
14366         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14367         (systrim): New memory_sbrk_less probe.
14368         * manual/probes.texi: Document them.
14369
14370         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14371         * manual/probes.texi: Document it.
14372
14373         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14374         (__libc_realloc): Add memory_realloc_retry probe.
14375         (__libc_memalign): Add memory_memalign_retry probe.
14376         (__libc_valloc): Add memory_valloc_retry probe.
14377         (__libc_pvalloc): Add memory_pvalloc_retry probe.
14378         (__libc_calloc): Add memory_calloc_retry probe.
14379         * manual/probes.texi: Document them.
14380
14381         * malloc/arena.c (get_free_list): Add probe
14382         memory_arena_reuse_free_list.
14383         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14384         and memory_arena_reuse.
14385         (arena_get2) [!PER_THREAD]: Likewise.
14386         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14387         memory_arena_reuse_realloc.
14388         * manual/probes.texi: Document them.
14389
14390         * malloc/malloc.c (__libc_free): Add
14391         memory_mallopt_free_dyn_thresholds probe.
14392         (__libc_mallopt): Add multiple memory_mallopt probes.
14393         * manual/probes.texi: Document them.
14394
14395         * malloc/malloc.c: Include stap-probe.h.
14396         (__libc_mallopt): Add memory_mallopt probe.
14397         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14398         * manual/probes.texi: New.
14399         * manual/Makefile (chapters): Add probes.
14400         * manual/threads.texi: Set next node.
14401
14402 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
14403
14404         [BZ #15963, #13985]
14405         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14406         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14407         Add `Chinese' to `nan' entry name.
14408
14409 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14410
14411         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14412         (POLYNOMIAL): Likewise.
14413         (TAYLOR_SINCOS): Likewise.
14414         (TAYLOR_SLOW): Likewise.
14415         (__sin): Use TAYLOR_SINCOS.
14416         (__cos): Likewise.
14417         (slow): Use TAYLOR_SLOW.
14418         (sloww): Likewise.
14419         (bsloww): Likewise.
14420         (csloww): Likewise.
14421
14422 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14423
14424         * stdlib/strtod_l.c: Fix buffer overrun.
14425
14426 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14427
14428         * benchtests/Makefile (bench): Add sincos.
14429         * benchtests/bench-sincos.c: New file.
14430
14431         * math/libm-test.inc (cos_test_data): New test inputs.
14432         (sin_test_data): Likewise.
14433
14434         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14435         macro.
14436         (__sin): Use it.
14437         (__cos): Likewise.
14438         (slow1): Likewise.
14439         (slow2): Likewise.
14440         (sloww1): Likewise.
14441         (sloww2): Likewise.
14442         (bsloww1): Likewise.
14443         (bsloww2): Likewise.
14444         (cslow2): Likewise.
14445         (csloww1): Likewise.
14446         (csloww2): Likewise.
14447
14448         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14449         function.
14450         (__sin): Use it.
14451         (__cos): Likewise.
14452
14453         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14454         gotos.
14455         (__cos): Likewise.
14456
14457 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
14458
14459         * config.h.in (HAVE_MIPS_NAN2008): New macro.
14460         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14461         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14462         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14463         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14464         * elf/cache.c (print_entry): Handle the new cache flags.
14465
14466 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
14467             Aldy Hernandez  <aldyh@redhat.com>
14468
14469         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14470         Change condition to [_SOFT_FLOAT].
14471         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14472         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14473         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14474         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14475         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14476         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14477         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14478         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14479         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14480         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14481         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14482         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14483         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14484         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14485         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14486         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14487         declaration.
14488
14489 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
14490
14491         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14492         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14493         (__longjmp): Use LOAD_GP to load saved GPRs.
14494         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14495         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14496         (__sigsetjmp): Use SAVE_GP to save GPRs.
14497
14498         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14499         Do not append -msoft-float.
14500         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14501
14502 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14503
14504         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14505
14506 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
14507
14508         [BZ #15966]
14509         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14510         (_FPU_GETCW): Use initial "__" on variable and field names but not
14511         on macro parameter name.
14512         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
14513         parentheses around reference to macro parameter.
14514
14515 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
14516
14517         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14518         prototype.
14519         (ctype_startup): Use uint32_t in cast and sizeof for
14520         ctype->charnames.
14521
14522 2013-09-11  Jia Liu  <proljc@gmail.com>
14523
14524         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14525         __daddr_t_defined.
14526         [__FreeBSD__]: Likewise.
14527
14528 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
14529
14530         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14531         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14532         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14533         (strchr): Remove __strchr_sse42 ifunc selection.
14534         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14535         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14536
14537 2013-09-11  Will Newton  <will.newton@linaro.org>
14538
14539         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14540         parameter to RES. Remove hardcoded 1000 value.
14541         * benchtests/bench-skeleton.c (main): Pass RES parameter
14542         to TIMING_INIT and multiply result by 1000.
14543
14544 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14545
14546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14547
14548 2013-09-11  Andreas Schwab  <schwab@suse.de>
14549
14550         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14551         if not defined.
14552         (O_TMPFILE) [__USE_GNU]: Define.
14553         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14554         Define.
14555
14556 2013-09-11  Will Newton  <will.newton@linaro.org>
14557
14558         [BZ #15857]
14559         * malloc/malloc.c (__libc_memalign): Check the value of bytes
14560         does not overflow.
14561
14562 2013-09-11  Will Newton  <will.newton@linaro.org>
14563
14564         [BZ #15856]
14565         * malloc/malloc.c (__libc_valloc): Check the value of bytes
14566         does not overflow.
14567
14568 2013-09-11  Will Newton  <will.newton@linaro.org>
14569
14570         [BZ #15855]
14571         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14572         does not overflow.
14573
14574 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
14575
14576         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14577         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14578         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14579         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14580         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14581
14582 2013-09-10  Allan McRae  <allan@archlinux.org>
14583
14584         [BZ #15748]
14585         * manual/arith.texi (Parsing of Floats): Clarify
14586         cross-reference.
14587
14588         [BZ #15849]
14589         * manual/install.texi (Running make install): Mention
14590         --enable-pt-chown.
14591         * INSTALL: Regenerated.
14592
14593 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
14594
14595         * csu/init-first.c (_init): Remove the !SHARED condition around
14596         FPU control word initialization.
14597         * elf/dl-support.c (_dl_fpu_control): New variable.
14598         (_dl_aux_init) <AT_FPUCW>: Initialize it.
14599         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14600         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14601         * math/test-fpucw-static.c: New file.
14602         * math/test-fpucw-ieee.c: New file.
14603         * math/test-fpucw-ieee-static.c: New file.
14604         * math/Makefile (tests): Add `test-fpucw-ieee' and
14605         `$(tests-static)'.
14606         (tests-static): New variable.
14607         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14608         dependency to...
14609         [($(build-shared),yes)]
14610         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14611         ... this.
14612         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14613         New dependency.
14614
14615 2013-09-09  Allan McRae  <allan@archlinux.org>
14616
14617         [BZ #15939]
14618         * manual/string.texi (Collation Functions): Fix typo in
14619         strcoll example.
14620         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14621
14622         [BZ #15893]
14623         * stdlib/isomac.c (get_null_defines): Fix memory leak.
14624
14625         [BZ #15892]
14626         * libio/memstream.c (open_memstream): Fix memory leak.
14627         * libio/wmemstream.c (open_wmemstream): Likewise.
14628
14629         [BZ #15895]
14630         * nscd/netgroupcache.c: Fix nesting of ifdefs.
14631
14632 2013-09-09  Will Newton  <will.newton@linaro.org>
14633
14634         * malloc/Makefile: Add tst-realloc to tests.
14635         * malloc/tst-realloc.c: New file.
14636
14637 2013-09-09  Allan McRae  <allan@archlinux.org>
14638
14639         [BZ #15844]
14640         * COPYING: Update from GNU website to fix FSF address.
14641         * COPYING.LIB: Likewise.
14642
14643 2013-09-06  David S. Miller  <davem@davemloft.net>
14644
14645         * po/zh_TW.po: Update Chinese (traditional) translation from
14646         translation project.
14647
14648 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
14649             Joseph Myers  <joseph@codesourcery.com>
14650
14651         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14652         "localeinfo.h".
14653         (obstack_chunk_alloc): New macro.
14654         (obstack_chunk_free): Likewise.
14655         (record_offset): New function.
14656         (init_locale_data): Likewise.
14657         (align_locale_data): Likewise.
14658         (add_locale_empty): Likewise.
14659         (add_locale_raw_data): Likewise.
14660         (add_locale_raw_obstack): Likewise.
14661         (add_locale_string): Likewise.
14662         (add_locale_wstring): Likewise.
14663         (add_locale_uint32): Likewise.
14664         (add_locale_uint32_array): Likewise.
14665         (add_locale_char): Likewise.
14666         (start_locale_structure): Likewise.
14667         (end_locale_structure): Likewise.
14668         (start_locale_prelude): Likewise.
14669         (end_locale_prelude): Likewise.
14670         (write_locale_data): Take locale_file structure rather than an
14671         iovec.
14672         * locale/programs/locfile.h: Include "obstack.h".
14673         (struct locale_file): Change to store locale file contents instead
14674         of header.
14675         (init_locale_data): New prototype.
14676         (align_locale_data): Likewise.
14677         (add_locale_empty): Likewise.
14678         (add_locale_raw_data): Likewise.
14679         (add_locale_raw_obstack): Likewise.
14680         (add_locale_string): Likewise.
14681         (add_locale_wstring): Likewise.
14682         (add_locale_uint32): Likewise.
14683         (add_locale_uint32_array): Likewise.
14684         (add_locale_char): Likewise.
14685         (start_locale_structure): Likewise.
14686         (end_locale_structure): Likewise.
14687         (start_locale_prelude): Likewise.
14688         (end_locale_prelude): Likewise.
14689         (write_locale_data): Update prototype.
14690         * locale/programs/3level.h (struct TABLE): Remove result field.
14691         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14692         Use new locale_file interface.
14693         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14694         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14695         * locale/programs/ld-address.c (address_output): Use new
14696         locale_file interface.
14697         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14698         NO_ADD_LOCALE.
14699         (collate_finish): Don't call collseq_table_finalize.
14700         (collate_output): Use new locale_file interface.
14701         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14702         in file.
14703         (NO_FINALIZE): Change to NO_ADD_LOCALE.
14704         (TABLE): Move defines earlier in file.
14705         (ELEMENT): Likewise.
14706         (DEFAULT): Likewise.
14707         (wctrans_table_add): Move macro and inline function earlier in
14708         file.
14709         (struct wctype_table): Move type earlier in file.
14710         (add_locale_wctype_table): New static prototype.
14711         (struct locale_ctype_t): Use logical types instead of struct iovec
14712         pointers for members.
14713         (ctype_output): Use new locale_file interface.
14714         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
14715         new locale_file interface.
14716         (allocate_arrays): Update for use of new locale_file interface.
14717         * locale/programs/ld-identification.c (identification_output): Use
14718         new locale_file interface.
14719         * locale/programs/ld-measurement.c (measurement_output): Likewise.
14720         * locale/programs/ld-messages.c (messages_output): Likewise.
14721         * locale/programs/ld-monetary.c (monetary_output): Likewise.
14722         * locale/programs/ld-name.c (name_output): Likewise.
14723         * locale/programs/ld-numeric.c (numeric_output): Likewise.
14724         * locale/programs/ld-paper.c (paper_output): Likewise.
14725         * locale/programs/ld-telephone.c (telephone_output): Likewise.
14726         * locale/programs/ld-time.c (time_output): Likewise.
14727
14728 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14729
14730         * benchtests/Makefile: Add memrchr benchmark.
14731         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14732         benchmark as memrchr.
14733         * benchtests/bench-memrchr-ifunc.c: New file.
14734         * benchtests/bench-memrchr.c: New file.
14735
14736 2013-09-06   Will Newton  <will.newton@linaro.org>
14737
14738         * benchtests/Makefile (string-bench): Add memcpy.
14739
14740 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
14741             Cong Wang  <amwang@redhat.com>
14742
14743         [BZ #15850]
14744         * sysdeps/unix/sysv/linux/bits/in.h
14745         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14746         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14747         before __USE_KERNEL_IPV6_DEFS uses.
14748         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14749         IPPROTO_BEETPH.
14750         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14751         sockaddr_in6, or ipv6_mreq.
14752
14753 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14754
14755         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14756         memory access for final bytes in some large inputs.
14757         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14758
14759 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14760
14761         * string/test-memrchr.c: New file.
14762         * string/test-memrchr-ifunc.c: New file.
14763         * string/Makefile: Add new memrchr testcase.
14764
14765 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
14766
14767         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14768         fanotify_init returns EPERM.
14769
14770 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
14771
14772         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14773         errors.
14774         (top level): Treat second token from macro or constant entries for
14775         allowed headers as allowed.
14776         * include/complex.h: Condition internal declarations on
14777         [!_ISOMAC].
14778         * include/fenv.h: Condition include of <stdbool.h> and internal
14779         declarations on [!_ISOMAC].
14780
14781 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
14782
14783         [BZ #15923]
14784         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14785
14786 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
14787
14788         * configure.in (--enable-versioning): Remove configure option.
14789         (libc_cv_asm_symver_directive): Remove configure test.
14790         (libc_cv_ld_version_script_option): Likewise.
14791         (VERSIONING): Remove variable and AC_SUBST.
14792         (DO_VERSIONING): Remove AC_DEFINE.
14793         * configure: Regenerated.
14794         * config.h.in (DO_VERSIONING): Remove macro.
14795         * Makerules [$(versioning) = yes]: Change conditionals to
14796         [$(build-shared) = yes].
14797         * config.make.in (versioning): Remove variable.
14798         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14799         [$(build-shared) = yes].
14800         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14801         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14802         * elf/Makefile [$(versioning) = yes]: Change conditionals to
14803         [$(build-shared) = yes].
14804         * extra-lib.mk [$(versioning) = yes]: Likewise.
14805         * hurd/Makefile [$(versioning) = yes]: Likewise.
14806         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14807         [SHARED].
14808         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14809         [SHARED].
14810         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14811         [SHARED && !NO_HIDDEN].
14812         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14813         [SHARED].
14814         [SHARED && DO_VERSIONING]: Likewise..
14815         * libio/Makefile [$(versioning) = yes]: Change conditionals to
14816         [$(build-shared) = yes].
14817         * manual/install.texi (--disable-versioning): Remove
14818         documentation.
14819         * INSTALL: Regenerated.
14820         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14821         to [SHARED].
14822         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14823         [$(build-shared) = yes].
14824         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14825         * sysdeps/i386/i686/multiarch/strstr-c.c
14826         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14827         [SHARED && !NO_HIDDEN].
14828         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14829         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14830         * sysdeps/powerpc/powerpc32/dl-machine.c
14831         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14832         * sysdeps/powerpc/powerpc32/sysdep.h
14833         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14834         to [SHARED && PIC && !NO_HIDDEN].
14835         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14836         conditional to [SHARED].
14837
14838 2013-09-04   Will Newton  <will.newton@linaro.org>
14839
14840         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14841         * benchtests/bench-string.h: Include bench-timing.h instead
14842         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14843         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14844         call to HP_TIMING_DIFF_INIT.
14845         * benchtests/bench-memccpy.c: Use bench-timing.h macros
14846         instead of hp-timing.h macros.
14847         * benchtests/bench-memchr.c: Likewise.
14848         * benchtests/bench-memcmp.c: Likewise.
14849         * benchtests/bench-memcpy.c: Likewise.
14850         * benchtests/bench-memmem.c: Likewise.
14851         * benchtests/bench-memmove.c: Likewise.
14852         * benchtests/bench-memset.c: Likewise.
14853         * benchtests/bench-rawmemchr.c: Likewise.
14854         * benchtests/bench-strcasecmp.c: Likewise.
14855         * benchtests/bench-strcasestr.c: Likewise.
14856         * benchtests/bench-strcat.c: Likewise.
14857         * benchtests/bench-strchr.c: Likewise.
14858         * benchtests/bench-strcmp.c: Likewise.
14859         * benchtests/bench-strcpy.c: Likewise.
14860         * benchtests/bench-strcpy_chk.c: Likewise.
14861         * benchtests/bench-strlen.c: Likewise.
14862         * benchtests/bench-strncasecmp.c: Likewise.
14863         * benchtests/bench-strncat.c: Likewise.
14864         * benchtests/bench-strncmp.c: Likewise.
14865         * benchtests/bench-strncpy.c: Likewise.
14866         * benchtests/bench-strnlen.c: Likewise.
14867         * benchtests/bench-strpbrk.c: Likewise.
14868         * benchtests/bench-strrchr.c: Likewise.
14869         * benchtests/bench-strspn.c: Likewise.
14870         * benchtests/bench-strstr.c: Likewise.
14871
14872 2013-09-04  Will Newton  <will.newton@linaro.org>
14873
14874         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14875
14876 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
14877
14878         [BZ #15427]
14879         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14880         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14881         * math/libm-test.inc (lgamma_test_data): Add more tests.
14882         * sysdeps/i386/fpu/libm-test-ulps: Update.
14883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14884
14885 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
14886
14887         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14888         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14889         Add ifunc.
14890         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14891         Add strcmp-sse2-unaligned
14892         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14893
14894 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
14895
14896         * Versions.def (libc): Add GLIBC_2.19.
14897
14898 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
14899
14900         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14901         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14902
14903 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
14904
14905         [BZ #14155]
14906         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14907         intermediate calculations in recurrence.
14908         (__ieee754_ynf): Likewise.
14909         * math/libm-test.inc (jn_test_data): Do not allow spurious
14910         underflow exception.  Add more tests.
14911         (yn_test_data): Add more tests.
14912         * sysdeps/i386/fpu/libm-test-ulps: Update.
14913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14914
14915 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
14916
14917         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14918
14919 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
14920
14921         * csu/init-first.c: Fix then/than typos.
14922         * locale/programs/ld-collate.c: Likewise.
14923         * locale/programs/linereader.h: Likewise.
14924         * manual/charset.texi: Likewise.
14925         * manual/filesys.texi: Likewise.
14926         * manual/stdio.texi: Likewise.
14927         * manual/string.texi: Likewise.
14928         * stdlib/fmtmsg.c: Likewise.
14929         * sysdeps/i386/stpncpy.S: Likewise.
14930         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14931         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14932         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14933         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14934
14935 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
14936
14937         * elf/dl-open.c: Fix typos.
14938         * iconvdata/gbbig5.c: Likewise.
14939         * iconvdata/iso-2022-jp.c: Likewise.
14940         * iconv/gconv_int.h: Likewise.
14941         * iconv/loop.c: Likewise.
14942         * nis/rpcsvc/nis.h: Likewise.
14943         * resolv/ns_name.c: Likewise.
14944         * stdio-common/vfscanf.c: Likewise.
14945         * streams/stropts.h: Likewise.
14946         * sunrpc/rpc_thread.c: Likewise.
14947         * sysdeps/i386/strpbrk.S: Likewise.
14948         * sysdeps/ieee754/k_standard.c: Likewise.
14949         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14950         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14951         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14952         * sysdeps/mach/hurd/profil.c: Likewise.
14953         * sysdeps/s390/dl-procinfo.h: Likewise.
14954         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14955         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14956         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14957         * sysdeps/x86_64/dl-trampoline.S: Likewise.
14958         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14959
14960 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
14961
14962         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14963         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14964
14965 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
14966
14967         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14968         aix specific files.
14969         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14970         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14971         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14972         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14973         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14974         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14975         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14976         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14977
14978 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
14979             Roland McGrath  <roland@hack.frob.com>
14980
14981         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14982         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14983
14984 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14985
14986         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14987         __executable_start symbol instead of _start.
14988
14989 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
14990
14991         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14992         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14993         Move macros to...
14994         * sysdeps/gnu/ldsodefs.h: ... this new file.
14995
14996         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14997         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14998         instead of ELFOSABI_LINUX.
14999
15000         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15001         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15002         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15003         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15004         Likewise.
15005         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15006         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15007         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15008         Likewise.
15009         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15010         (ibm_extended_long_double): Add ieee_nan member.
15011         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15012         (do_test): New function.
15013
15014         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15015         TEST_TRUNC.
15016         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15017         functions, renamed from truncdfsf_test, trunctfsf_test,
15018         trunctfdf_test.
15019         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15020         functions.
15021         (do_test): Run all these.
15022
15023 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
15024
15025         * argp/argp-help.c: Fix typos.
15026         * argp/argp-parse.c: Likewise.
15027         * debug/backtracesyms.c: Likewise.
15028         * elf/elf.h: Likewise.
15029         * malloc/malloc.c: Likewise.
15030         * nis/nis_print.c: Likewise.
15031         * resolv/res_comp.c: Likewise.
15032         * stdlib/stdlib.h: Likewise.
15033         * sunrpc/clnt_tcp.c: Likewise.
15034         * sunrpc/clnt_udp.c: Likewise.
15035         * sunrpc/clnt_unix.c: Likewise.
15036         * sysdeps/unix/bsd/ptsname.c: Likewise.
15037         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15038         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15040         Likewise.
15041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15042         Likewise.
15043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15044         Likewise.
15045         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15046
15047 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15048
15049         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15050         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15051
15052 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
15053
15054         [BZ #15897]
15055         * dlfcn/Makefile (tests): Add bug-dl-leaf.
15056         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15057         ($(objpfx)bug-dl-leaf): New rule.
15058         ($(objpfx)bug-dl-leaf.so): Likewise.
15059         ($(objpfx)bug-dl-leaf.out): Likewise.
15060         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15061         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15062         * dlfcn/bug-dl-leaf.c: New test.
15063         * dlfcn/bug-dl-leaf-lib.c: Likewise.
15064         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15065         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15066         (dlclose): Likewise.
15067         (dlmopen): Likewise.
15068
15069 2013-08-27  Roland McGrath  <roland@hack.frob.com>
15070
15071         * include/netdb.h [!_ISOMAC]:
15072         Don't include <tls.h>.
15073         (h_errno, __libc_h_errno): Move declaration and macros out of
15074         [_LIBC_REENTRANT].
15075
15076         * include/resolv.h [_RESOLV_H_]:
15077         Don't include <tls.h>.
15078         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15079         * resolv/res_libc.c: Don't include <tls.h>.
15080         (_res): Use __attribute__ ((nocommon)) in place of
15081         __attribute__ ((section (".bss"))).
15082
15083         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15084         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15085
15086         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15087
15088         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15089         only under [SIOCGIFCONF && SIOCGIFNETMASK].
15090
15091         * resolv/res_mkquery.c: Include <sys/time.h>.
15092
15093         * inet/ifreq.c: Moved to ...
15094         * sysdeps/unix/ifreq.c: ... here.
15095         * inet/ifreq.c: New file, true stub version.
15096
15097         * socket/sa_len.c: New file.
15098         * socket/Makefile (aux): Add it.
15099         * sysdeps/unix/sysv/linux/Makefile
15100         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15101         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15102         and #include <socket/sa_len.c>.
15103         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15104         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15105
15106         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15107         * bits/socket.h: ... here.
15108
15109         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15110         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15111         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15112
15113 2013-08-27  Andreas Schwab  <schwab@suse.de>
15114
15115         [BZ #15736]
15116         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15117         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15118         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15119         * string/test-strcasecmp.c (test_main): Run tests in several
15120         locales.
15121         * string/test-strncasecmp.c (test_main): Likewise.
15122
15123         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15124         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15125         to __strcasecmp_nonascii and __strncasecmp_nonascii.
15126         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15127         (__strncasecmp_ssse3) [PIC]: Likewise.
15128
15129 2013-08-26  Roland McGrath  <roland@hack.frob.com>
15130
15131         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15132
15133         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15134         instead of explicitly declaring xdecrypt.
15135         * nis/nss_nis/nis-publickey.c: Likewise.
15136
15137 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15138
15139         [BZ #15890]
15140         * nscd/aicache.c: Include res_hconf.h.
15141         (addhstaiX): Initialize res_hconf.
15142
15143 2013-08-26  Andreas Schwab  <schwab@suse.de>
15144
15145         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15146         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15147
15148 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15149
15150         * nscd/aicache.c (addhstaiX): Fix indentation.
15151
15152 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
15153
15154         * configure.ac: Quote $build_pt_chown test.
15155         * configure: Regenerated.
15156
15157 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
15158
15159         [BZ #15532]
15160         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15161         * math/s_cexpf.c (__cexpf): Likewise.
15162         * math/s_cexpl.c (__cexpl): Likewise.
15163         * math/libm-test.inc (cexp_test_data): Correct expected return
15164         value for NaN + i0.  Add another test.
15165
15166 2013-08-22  David S. Miller  <davem@davemloft.net>
15167
15168         * po/ca.po: Update Catalan translation from translation project.
15169         * po/uk.po: Add Ukrainian translations from translation project.
15170
15171 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
15172
15173         [BZ #15797]
15174         * math/s_fdim.c (__fdim): Check for infinite arguments if result
15175         is infinite, not alongside NaN test.
15176         * math/s_fdimf.c (__fdimf): Likewise.
15177         * math/s_fdiml.c (__fdiml): Likewise.
15178         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
15179         errno is unchanged.
15180
15181 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
15182
15183         * argp/argp-help.c: Fix typos.
15184         * crypt/speeds.c: Likewise.
15185         * csu/check_fds.c: Likewise.
15186         * elf/dl-load.c: Likewise.
15187         * elf/dl-open.c: Likewise.
15188         * elf/reldep3.c: Likewise.
15189         * elf/reldep.c: Likewise.
15190         * elf/sprof.c: Likewise.
15191         * iconv/iconv_charmap.c: Likewise.
15192         * iconv/skeleton.c: Likewise.
15193         * iconv/strtab.c: Likewise.
15194         * io/lockf64.c: Likewise.
15195         * libio/libioP.h: Likewise.
15196         * resolv/gai_notify.c: Likewise.
15197         * resolv/ns_name.c: Likewise.
15198         * resolv/ns_samedomain.c: Likewise.
15199         * resolv/res_send.c: Likewise.
15200         * stdlib/random.c: Likewise.
15201         * sunrpc/rpc/xdr.h: Likewise.
15202         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15203         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15204         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15205         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15206         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15207         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15208         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15209         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15210         * sysdeps/mach/hurd/check_fds.c: Likewise.
15211         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15212         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15213         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15214         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15215         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15216         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15217         * sysdeps/pthread/aio_notify.c: Likewise.
15218         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15219         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15220         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15221         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15222         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15223
15224 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15225
15226         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15227         version if bit_Slow_SSE4_2 is set.
15228         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15229         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15230
15231 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15232
15233         [BZ #15867]
15234         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15235         trampoline stack frame information.
15236         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15237         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15238         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15239         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15240         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15241         * sysdeps/unix/sysv/linux/powerpc/init-first.c
15242         (_libc_vdso_platform_setup): Initialize the signal trampolines.
15243         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15244         sa_flags value.
15245         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15246         interrupting a syscall and set with option SA_SIGINFO.
15247
15248 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15249
15250         [BZ #15531]
15251         * math/s_cproj.c (__cproj): Only return an infinity if one part of
15252         argument is infinite.
15253         * math/s_cprojf.c (__cprojf): Likewise.
15254         * math/s_cprojl.c (__cprojl): Likewise.
15255         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15256         * math/libm-test.inc (cproj_test_data): Add more tests.
15257
15258         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15259
15260         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15261         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15262         size.  Use __ffs to determine corresponding shift.
15263
15264 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15265             Roland McGrath  <roland@hack.frob.com>
15266
15267         * Makefile (INSTALL): Remove trailing blank lines from output of
15268         makeinfo.
15269
15270 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15271
15272         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15273         Align 32 bit compat elf_greg to 8 bytes.
15274
15275 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15276
15277         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15278
15279 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15280
15281         * string/strcoll_l.c (coll_seq): New structure.
15282         (get_next_seq_cached): New function.
15283         (get_next_seq): New function.
15284         (do_compare): New function.
15285         (STRCOLL): Use GNU style definition.  Simplify implementation
15286         by using get_next_seq, get_next_seq_cached and do_compare.
15287
15288 2013-08-16  Florian Weimer  <fweimer@redhat.com>
15289
15290         [BZ #14699]
15291         CVE-2013-4237
15292         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15293         member.
15294         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15295         member.
15296         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15297         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15298         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
15299         conditional.
15300         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15301         GETDENTS_64BIT_ALIGNED.
15302         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15303         * manual/filesys.texi (Reading/Closing Directory): Document
15304         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
15305         strongly.
15306         * manual/conf.texi (Limits for Files): Add portability note to
15307         NAME_MAX, PATH_MAX.
15308         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15309
15310 2013-08-13  Andreas Schwab  <schwab@suse.de>
15311
15312         [BZ #15749]
15313         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15314         of fabs.
15315         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15316         LDBL_MAX_EXP >= 16384]: Add tests for it.
15317
15318 2013-08-12  David S. Miller  <davem@davemloft.net>
15319
15320         * version.h (RELEASE): Set to "development".
15321         (VERSION): Set to "2.18.90".
15322         * NEWS: Add 2.19 section.
15323
15324 2013-08-03  David S. Miller  <davem@davemloft.net>
15325
15326         * po/ko.po: Update Korean translation from translation project.
15327
15328 2013-08-01  David S. Miller  <davem@davemloft.net>
15329
15330         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
15331         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15332         Bilka.
15333
15334 2013-07-30  David S. Miller  <davem@davemloft.net>
15335
15336         * po/fr.po: Update French translation from translation project.
15337
15338 2013-07-28  David S. Miller  <davem@davemloft.net>
15339
15340         * po/cs.po: Update Czech translation from translation project.
15341
15342         * po/sv.po: Update Swedish translation from translation project.
15343
15344 2013-07-27  David S. Miller  <davem@davemloft.net>
15345
15346         * po/eo.po: Update Esperanto translation from translation project.
15347
15348         * po/vi.po: Update Vietnamese translation from translation project.
15349
15350         * po/de.po: Update German translation from translation project.
15351
15352 2013-07-26  David S. Miller  <davem@davemloft.net>
15353
15354         * po/bg.po: Update Bulgarian translation from translation project.
15355
15356         * po/nl.po: Update Dutch translation from translation project.
15357         * po/pl.po: Update Polish translation from translation project.
15358         * po/ru.po: Update Russian translation from translation project.
15359
15360 2013-07-24  David S. Miller  <davem@davemloft.net>
15361
15362         * po/libc.pot: Update.
15363
15364 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15365
15366         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15367         variable page size.
15368         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15369         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15370         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15371
15372 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15373
15374         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15375
15376 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15377             Andreas Schwab  <schwab@suse.de>
15378             Roland McGrath  <roland@hack.frob.com>
15379             Joseph Myers  <joseph@codesourcery.com>
15380             Carlos O'Donell  <carlos@redhat.com>
15381
15382         [BZ #15755]
15383         * config.h.in: Define HAVE_PT_CHOWN.
15384         * config.make.in (build-pt-chown): New variable.
15385         * configure.in (--enable-pt_chown): New configure option.
15386         * configure: Regenerate.
15387         * login/Makefile: Include Makeconfig.  Build pt_chown only if
15388         build-pt-chown is enabled.
15389         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15390         pt_chown to fix pty ownership.
15391         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15392         CLOSE_ALL_FDS.
15393         * manual/install.texi (Configuring and compiling): Mention
15394         --enable-pt_chown. Add @findex for grantpt.
15395         * INSTALL: Regenerate.
15396
15397 2013-07-20  David S. Miller  <davem@davemloft.net>
15398
15399         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15400         difference between 32-bit and 64-bit.
15401
15402 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
15403
15404         [BZ #15711]
15405         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15406         Avoid system header dependency with -ffreestanding.
15407         ($(objpfx)bits/syscall%d): Likewise.
15408
15409 2013-07-13  David S. Miller  <davem@davemloft.net>
15410
15411         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15412         underflows from atanl/atan2l due to bug 15319.
15413         (casinh_test_data): Likewise.
15414
15415 2013-07-07  David S. Miller  <davem@davemloft.net>
15416
15417         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15418
15419 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
15420
15421         * sysdeps/i386/fpu/libm-test-ulps: Update.
15422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15423
15424 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15425
15426         * configure.in (--enable-lock-elision): Fix message text.
15427         * INSTALL: Regenerate.
15428         * configure: Regenerate.
15429
15430 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15431
15432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15433
15434 2013-07-03  Andreas Jaeger  <aj@suse.de>
15435
15436         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15437         define.
15438         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15439         (ptrace_peeksiginfo_args): Add.
15440         (__ptrace_peeksiginfo_flags): Add.
15441         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15442         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15443         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15444
15445 2013-07-03  Allan McRae  <allan@archlinux.org>
15446
15447         * sysdeps/i386/fpu/libm-test-ulps: Update.
15448
15449 2013-07-02  David S. Miller  <davem@davemloft.net>
15450
15451         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15452
15453 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
15454
15455         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15456
15457 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
15458
15459         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15461
15462 2013-07-02  Andi Kleen <ak@linux.intel.com>
15463
15464         * config.h.in (ENABLE_LOCK_ELISION): Add.
15465         * configure.in (--enable-lock-elision): Add option.
15466         * manual/install.texi: Document --enable lock elision.
15467         * configure: Regenerate
15468         * INSTALL: Regenerate.
15469
15470 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
15471
15472         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15473         SSE4.2 strcasecmp for libc.a.
15474         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15475
15476 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
15477
15478         [BZ #13304]
15479         * soft-fp/op-common.h (_FP_FMA): New macro.
15480         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15481         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
15482         (_FP_MUL_MEAT_1_imm): ... here.
15483         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
15484         (_FP_MUL_MEAT_1_wide): ... here.
15485         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
15486         (_FP_MUL_MEAT_1_hard): ... here.
15487         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15488         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
15489         (_FP_MUL_MEAT_2_wide): ... here.
15490         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
15491         (_FP_MUL_MEAT_2_wide_3mul): ... here.
15492         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
15493         (_FP_MUL_MEAT_2_gmp): ... here.
15494         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15495         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
15496         (_FP_MUL_MEAT_4_wide): ... here.
15497         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
15498         (_FP_MUL_MEAT_4_gmp): ... here.
15499         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15500         (_FP_WFRACBITS_DW_S): Likewise.
15501         (_FP_WFRACXBITS_DW_S): Likewise.
15502         (_FP_HIGHBIT_DW_S): Likewise.
15503         (FP_FMA_S): Likewise.
15504         (_FP_FRAC_HIGH_DW_S): Likewise.
15505         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15506         (_FP_WFRACBITS_DW_D): Likewise.
15507         (_FP_WFRACXBITS_DW_D): Likewise.
15508         (_FP_HIGHBIT_DW_D): Likewise.
15509         (FP_FMA_D): Likewise.
15510         (_FP_FRAC_HIGH_DW_D): Likewise.
15511         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15512         (_FP_WFRACBITS_DW_E): Likewise.
15513         (_FP_WFRACXBITS_DW_E): Likewise.
15514         (_FP_HIGHBIT_DW_E): Likewise.
15515         (FP_FMA_E): Likewise.
15516         (_FP_FRAC_HIGH_DW_E): Likewise.
15517         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15518         (_FP_WFRACBITS_DW_Q): Likewise.
15519         (_FP_WFRACXBITS_DW_Q): Likewise.
15520         (_FP_HIGHBIT_DW_Q): Likewise.
15521         (FP_FMA_Q): Likewise.
15522         (_FP_FRAC_HIGH_DW_Q): Likewise.
15523         * soft-fp/fmasf4.c: New file.
15524         * soft-fp/fmadf4.c: Likewise.
15525         * soft-fp/fmatf4.c: Likewise.
15526
15527 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15528
15529         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15530         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15531         Silvermont.
15532         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15533         macro.
15534         (index_Slow_SSE4_2): Likewise.
15535         (index_Prefer_PMINUB_for_stringop): Likewise.
15536         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15537         bit_Slow_SSE4_2 is set.
15538         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15539         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15540
15541 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15542
15543         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15544         rtld_global._dl_hwcap2.
15545         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15546         POWER8.
15547         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15548         POWER8 feature descriptions defined in _dl_hwcap2.
15549         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15550         string handling for POWER8 feature bits.
15551         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15552         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15553         _dl_powerpc_cap_flags.
15554         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15555         * sysdeps/powerpc/rtld-global-offsets.sym
15556         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15557         _dl_hwcap2 in the rtld_global_ro structure.
15558
15559 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15560
15561         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15562         hardware capabilities in support of AT_HWCAP2.
15563         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15564         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15565         GLRO(dl_hwcap2).
15566         (_dl_show_auxv): Add support for calling _dl_procinfo to display
15567         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
15568         explicitly the unknown a_type display mechanism is used.
15569         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15570         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15571         struct member.
15572         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15573         to macro prototype for AT_HWCAP2 support.
15574         * sysdeps/i386/dl-procinfo.h: Likewise.
15575         * sysdeps/s390/dl-procinfo.h: Likewise.
15576         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15577         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
15578         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
15579         return -1 for unknown a_type display fallback.
15580         * sysdeps/sparc/dl-procinfo.h: Likewise.
15581         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15582         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15583
15584 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
15585
15586         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15587         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15588
15589 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
15590
15591         [BZ #12492]
15592         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15593         mprotect making __stack_prot writable.
15594
15595 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
15596             Joseph Myers  <joseph@codesourcery.com>
15597
15598         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15599         as being properly aligned.
15600
15601 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
15602
15603         * dlfcn/modstatic5.c: New file.
15604         * dlfcn/tststatic5.c: New file.
15605         * dlfcn/Makefile (tests): Add tststatic5.
15606         (tests-static): Likewise.
15607         (modules-names): Add modstatic5.
15608         (tststatic5-ENV): New variable.
15609         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15610
15611         [BZ #15022]
15612         * elf/dl-support.c (_dl_main_map): New variable.
15613         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15614         (_dl_nns, _dl_load_adds): Set to 1.
15615         (_dl_initial_searchlist): Refer to _dl_main_map.
15616         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15617         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15618         call to _dl_get_origin.
15619         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15620         around call_map.
15621         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15622         * dlfcn/modstatic3.c: New file.
15623         * dlfcn/tststatic3.c: New file.
15624         * dlfcn/tststatic4.c: New file.
15625         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15626         (tests-static): Likewise.
15627         (modules-names): Add modstatic3.
15628         (tststatic3-ENV, tststatic4-ENV): New variables.
15629         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15630         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15631
15632 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
15633
15634         * configure.in (CC): Require GCC version 4.4 or later.
15635         * configure: Regenerated.
15636         * manual/install.texi (Tools for Compilation): Update GCC version
15637         requirement.
15638         * INSTALL: Regenerated.
15639
15640 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15641
15642         [BZ #15674]
15643         * string/test-memcmp.c (check2): New.
15644         (main): Call check2.
15645
15646         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15647
15648 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
15649
15650         [BZ #15022]
15651         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15652         over to...
15653         (dl_open_worker) [!SHARED]: ... here.
15654
15655 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15656
15657         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15658
15659 2013-06-25  Richard Henderson  <rth@redhat.com>
15660
15661         * locale/programs/locarchive.c: Include <libc-internal.h>
15662
15663 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
15664
15665         * manual/texinfo.tex: Update to version 2013-06-21.17, with
15666         trailing whitespace removed.
15667
15668 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
15669
15670         [BZ #10283]
15671         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15672         * locale/programs/locarchive.c: Include libc-mmap.h.
15673         (prepare_address_space): Take two new outputs (the mmap base and len).
15674         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
15675         values.
15676         (create_archive): Declare new mmap base and len values for
15677         prepare_address_space, and store the result in ah.
15678         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15679         (enlarge_archive): If ah->mmap_base is not NULL, use that and
15680         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15681         Declare new mmap base and len values for
15682         prepare_address_space, and store the result in new_ah.
15683         (open_archive): Declare new mmap base and len values for
15684         prepare_address_space, and store the result in ah.
15685         (close_archive): If ah->mmap_base is not NULL, use that and
15686         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15687         * sysdeps/generic/libc-mmap.h: New file.
15688
15689 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
15690
15691         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15692         (ALIGN_UP): Likewise.
15693         (PTR_ALIGN_DOWN): Likewise.
15694         (PTR_ALIGN_UP): Likewise.
15695
15696 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15697
15698         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15699         entry mapped to PPC_PLATFORM_POWER8.
15700         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15701         POWER8.
15702         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15703         (_dl_string_platform): Add case for exporting platform position for
15704         POWER8.
15705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15706         search path to sysdeps/powerpc/powerpc32/power8 directory.
15707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15708         search path to sysdeps/powerpc/powerpc64/power8 directory.
15709         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15710         power7 directories.
15711         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15712         power7 directories.
15713
15714 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15715
15716         * INSTALL: Regenerate.
15717
15718         * nscd/connections.c (nscd_init): Fix comment.
15719
15720 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
15721
15722         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15723
15724         [BZ #15667]
15725         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15726         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15727
15728 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
15729
15730         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15731         DL_DST_REQ_STATIC.
15732         (DL_DST_REQ_STATIC): Remove macro.
15733
15734 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
15735
15736         [BZ #7006]
15737         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15738         with a shift of 0 bits.
15739
15740 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
15741
15742         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15743         $(tststatic-ENV).
15744
15745 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15746
15747         [BZ #15655]
15748         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15749
15750 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15751
15752         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15753         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15754         accepts -fno-tree-loop-distribute-patterns.
15755         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15756         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15757         recursive call.
15758         * string/memset.c (memset): Likewise.
15759         * string/test-memmove.c (simple_memmove): Disable loop transformation
15760         to library calls.
15761         * string/test-memset.c (simple_memset): Likewise.
15762         * benchtests/bench-memmove.c (simple_memmove): Likewise.
15763         * benchtests/bench-memset.c (simple_memset): Likewise.
15764         * configure: Regenerated.
15765
15766 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
15767
15768         * math/test-misc.c (main): Ignore fesetround failure when failures
15769         of subsequent rounding tests would be ignored.
15770
15771         [BZ #15654]
15772         * math/fedisblxcpt.c (fedisableexcept): Return 0.
15773         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15774         * math/fegetenv.c (__fegetenv): Return 0.
15775         * math/fegetexcept.c (fegetexcept): Return 0.
15776         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15777         FE_TONEAREST.
15778         * math/feholdexcpt.c (feholdexcept): Return 0.
15779         * math/fesetenv.c (__fesetenv): Return 0.
15780         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15781         argument FE_TONEAREST.
15782         * math/feupdateenv.c (__feupdateenv): Return 0.
15783         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15784
15785 2013-06-18  Roland McGrath  <roland@hack.frob.com>
15786
15787         * elf/rtld-Rules (rtld-compile-command.S): New variable.
15788         (rtld-compile-command.s, rtld-compile-command.c): New variables.
15789         ($(objpfx)rtld-%.os rules): Use them.
15790
15791 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15792
15793         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15794         fields.
15795
15796 2013-06-17  Roland McGrath  <roland@hack.frob.com>
15797
15798         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15799         length of target pattern, then descending length of dependency pattern.
15800         * configure.in (AWK): Require gawk 3.1.2 or newer.
15801         * manual/install.texi (Tools for Compilation): Say that we do.
15802         * configure: Regenerated.
15803
15804         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15805         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15806         * scripts/sysd-rules.awk: ... this new script.
15807         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15808         than a glob-style pattern.
15809
15810 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
15811
15812         * math/test-misc.c (main): Do not treat incorrectly rounded
15813         conversions as failure unless ROUNDING_TESTS passes.
15814
15815 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
15816
15817         [BZ #15631]
15818         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15819         restore exception state around main square root computation, then
15820         check for inexactness explicitly.
15821
15822         * math/libm-test.inc (fma_test_data): Add another test.
15823
15824 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15825
15826         * manual/threads.texi (Non-POSIX Extensions): New document
15827         node.  Document pthread_getattr_default_np and
15828         pthread_setattr_default_np.
15829
15830         * Versions.def (libpthread): Add GLIBC_2.18.
15831         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15833         Likewise.
15834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15835         Likewise.
15836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15837         Likewise.
15838         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15839         Likewise.
15840         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15841         Likewise.
15842         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15843         Likewise.
15844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15845         Likewise.
15846         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15847         Likewise.
15848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15849         Likewise.
15850
15851 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15852
15853         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15854         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15855
15856 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15857             H.J. Lu  <hjl.tools@gmail.com>
15858
15859         [BZ #15627]
15860         * sysdeps/x86_64/rtld-memset.c: Remove file.
15861         * sysdeps/x86_64/rtld-memset.S: New file.
15862
15863 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
15864
15865         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15866         (test_in_one_mode): Take arguments for whether the rounding mode
15867         is supported for each floating-point type.
15868         (do_test): Pass new arguments to test_in_one_mode using
15869         ROUNDING_TESTS.
15870
15871 2013-06-13  Roland McGrath  <roland@hack.frob.com>
15872
15873         * posix/tst-waitid.c (do_test): Distinguish different instances of
15874         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
15875         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15876         before entering the kernel for waitpid.
15877
15878 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15879
15880         * NEWS: Fix note on clock function precision.  Text by Roland
15881         McGrath.
15882
15883 2013-06-13  Roland McGrath  <roland@hack.frob.com>
15884
15885         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15886         it into place only when and if the sanity check passes.
15887
15888 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
15889
15890         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15891         output for whether conversion result is exact.  Take argument
15892         indicating whether type is IBM long double.
15893         (round_for_all): Change need_exact field to ibm_ld.
15894         * stdlib/tst-strtod-round.c (struct exactness): New type.
15895         (struct test): Change bool ld_ok field to struct exactness exact.
15896         (TEST): Update all definitions for change to field.
15897         (tests): Regenerate array contents.
15898         (test_in_one_mode): Take pointer to new field instead of old ld_ok
15899         field value.  Check for IBM long double here.
15900         (do_test): Update calls to test_in_one_mode.
15901
15902 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15903
15904         [BZ #12515]
15905         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15906         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15907
15908 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15909
15910         [BZ #15605]
15911         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15912         generated by the compiler on loop optimizations.
15913         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15914         general definitions.
15915
15916 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
15917
15918         * math/bug-nextafter.c: Include <math-tests.h>.
15919         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15920         the relevant type.
15921         * math/bug-nexttoward.c: Include <math-tests.h>.
15922         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15923         the relevant type.
15924         * math/test-misc.c: Include <math-tests.h>.
15925         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15926         the relevant type.
15927
15928 2013-06-12  Andreas Jaeger  <aj@suse.de>
15929
15930         * po/ia.po: Update Interlingua translation from translation
15931         project.
15932
15933 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15934
15935         * include/fenv.h: Include stdbool.h.
15936         (struct rm_ctx): New structure.
15937         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15938         Define macro.
15939         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15940         (SET_RESTORE_ROUNDF): Likewise.
15941         (SET_RESTORE_ROUNDL): Likewise.
15942         (SET_RESTORE_ROUND_NOEX): Likewise.
15943         (SET_RESTORE_ROUND_NOEXF): Likewise.
15944         (SET_RESTORE_ROUND_NOEXL): Likewise.
15945         (SET_RESTORE_ROUND_53BIT): Likewise.
15946         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15947         (libc_feresetround_noexf_ctx): Likewise.
15948         (libc_feresetround_noexl_ctx): Likewise.
15949         (libc_feholdsetround_53bit_ctx): Likewise.
15950         (libc_feresetround_53bit_ctx): Likewise.
15951         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15952         (libc_feholdexcept_setround_sse_ctx): New function.
15953         (libc_fesetenv_sse_ctx): Likewise.
15954         (libc_feupdateenv_sse_ctx): Likewise.
15955         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15956         (libc_feholdexcept_setround_387_ctx): Likewise.
15957         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15958         (libc_feholdsetround_387_prec_ctx): Likewise.
15959         (libc_feholdsetround_387_ctx): Likewise.
15960         (libc_feholdsetround_387_53bit_ctx): Likewise.
15961         (libc_feholdsetround_sse_ctx): Likewise.
15962         (libc_feresetround_sse_ctx): Likewise.
15963         (libc_feresetround_387_ctx): Likewise.
15964         (libc_feupdateenv_387_ctx): Likewise.
15965         (libc_feholdexcept_setroundf_ctx): Define macro.
15966         (libc_fesetenvf_ctx): Likewise.
15967         (libc_feupdateenvf_ctx): Likewise.
15968         (libc_feholdsetroundf_ctx): Likewise.
15969         (libc_feresetroundf_ctx): Likewise.
15970         (libc_feholdexcept_setround_ctx): Likewise.
15971         (libc_fesetenv_ctx): Likewise.
15972         (libc_feupdateenv_ctx): Likewise.
15973         (libc_feholdsetround_ctx): Likewise.
15974         (libc_feresetround_ctx): Likewise.
15975         (libc_feholdexcept_setroundl_ctx): Likewise.
15976         (libc_feupdateenvl_ctx): Likewise.
15977         (libc_feholdsetroundl_ctx): Likewise.
15978         (libc_feresetroundl_ctx): Likewise.
15979         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15980         (libc_feresetround_53bit_ctx): Likewise.
15981
15982 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15983
15984         * locale/iso-639.def: Convert to UTF-8.
15985
15986 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
15987
15988         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15989         (EXCEPTION_TESTS_double): Likewise.
15990         (EXCEPTION_TESTS_long_double): Likewise.
15991         (EXCEPTION_TESTS): Likewise.
15992         * math/libm-test.inc (test_exceptions): Only test exceptions if
15993         EXCEPTION_TESTS (FLOAT).
15994
15995 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15996
15997         * benchtests/Makefile (string-bench): Add strcpy_chk and
15998         stpcpy_chk.
15999         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16000         * benchtests/bench-stpcpy_chk.c: New file.
16001         * benchtests/bench-strcpy_chk-ifunc.c: New file.
16002         * benchtests/bench-strcpy_chk.c: New file.
16003         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16004         code.
16005         (do_test): Likewise.
16006
16007 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16008
16009         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16010         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16011         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16012         with tabs where appropriate.
16013         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16014         dl-procinfo.h.
16015         [PPC_PLATFORM_PPC440]: Likewise.
16016         [PPC_PLATFORM_PPC464]: Likewise.
16017         [PPC_PLATFORM_PPC476]: Likewise.
16018         (_dl_string_platform): Add support for detecting ppc405, ppc440,
16019         ppc464, and ppc476 platform strings merging from ports/
16020         dl-procinfo.h.
16021
16022 2013-06-11  Andreas Schwab  <schwab@suse.de>
16023
16024         [BZ #14991]
16025         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16026         (from_ucs4_idx): Regenerate.
16027         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16028         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16029         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16030         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16031         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16032         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16033         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16034         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16035         from FROM_LOOP and TO_LOOP specific macros.
16036         (BODY): Handle combining characters.
16037         * iconvdata/BIG5HKSCS.irreversible: Update.
16038         * iconvdata/BIG5HKSCS.precomposed: New file.
16039         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16040         characters.
16041         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16042
16043 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16044
16045         * include/sys/time.h: Fix indentation and add copyright header.
16046
16047         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16048         (do_test): Likewise.
16049         * string/test-memchr.c (do_one_test): Likewise.
16050         (do_test): Likewise.
16051         * string/test-memcmp.c (do_one_test): Likewise.
16052         (do_test): Likewise.
16053         * string/test-memcpy.c (do_one_test): Likewise.
16054         (do_test): Likewise.
16055         * string/test-memmem.c (do_one_test): Likewise.
16056         (do_test): Likewise.
16057         (do_random_tests): Likewise.
16058         * string/test-memmove.c (do_one_test): Likewise.
16059         (do_test): Likewise.
16060         * string/test-memset.c (do_one_test): Likewise.
16061         (do_test): Likewise.
16062         * string/test-rawmemchr.c (do_one_test): Likewise.
16063         (do_test): Likewise.
16064         * string/test-strcasecmp.c (do_one_test): Likewise.
16065         (do_test): Likewise.
16066         * string/test-strcasestr.c (do_one_test): Likewise.
16067         (do_test): Likewise.
16068         * string/test-strcat.c (do_one_test): Likewise.
16069         (do_test): Likewise.
16070         * string/test-strchr.c (do_one_test): Likewise.
16071         (do_test): Likewise.
16072         * string/test-strcmp.c (do_one_test): Likewise.
16073         (do_test): Likewise.
16074         * string/test-strcpy.c (do_one_test): Likewise.
16075         (do_test): Likewise.
16076         * string/test-string.h: Likewise.
16077         (test_init): Likewise.
16078         * string/test-strlen.c (do_one_test): Likewise.
16079         (do_test): Likewise.
16080         * string/test-strncasecmp.c (do_one_test): Likewise.
16081         (do_test): Likewise.
16082         * string/test-strncat.c (do_one_test): Likewise.
16083         (do_test): Likewise.
16084         * string/test-strncmp.c (do_one_test): Likewise.
16085         (do_test_limit): Likewise.
16086         (do_test): Likewise.
16087         * string/test-strncpy.c (do_one_test): Likewise.
16088         (do_test): Likewise.
16089         * string/test-strnlen.c (do_one_test): Likewise.
16090         (do_test): Likewise.
16091         * string/test-strpbrk.c (do_one_test): Likewise.
16092         (do_test): Likewise.
16093         * string/test-strrchr.c (do_one_test): Likewise.
16094         (do_test): Likewise.
16095         * string/test-strspn.c (do_one_test): Likewise.
16096         (do_test): Likewise.
16097         * string/test-strstr.c (do_one_test): Likewise.
16098         (do_test): Likewise.
16099
16100         * benchtests/Makefile (string-bench): Add string benchmarks.
16101         * benchtests/bench-bcopy-ifunc.c: New file.
16102         * benchtests/bench-bcopy.c: New file.
16103         * benchtests/bench-bzero-ifunc.c: New file.
16104         * benchtests/bench-bzero.c: New file.
16105         * benchtests/bench-memccpy-ifunc.c: New file.
16106         * benchtests/bench-memccpy.c: New file.
16107         * benchtests/bench-memchr-ifunc.c: New file.
16108         * benchtests/bench-memchr.c: New file.
16109         * benchtests/bench-memcmp-ifunc.c: New file.
16110         * benchtests/bench-memcmp.c: New file.
16111         * benchtests/bench-memmem-ifunc.c: New file.
16112         * benchtests/bench-memmem.c: New file.
16113         * benchtests/bench-memmove-ifunc.c: New file.
16114         * benchtests/bench-memmove.c: New file.
16115         * benchtests/bench-mempcpy-ifunc.c: New file.
16116         * benchtests/bench-mempcpy.c: New file.
16117         * benchtests/bench-memset-ifunc.c: New file.
16118         * benchtests/bench-memset.c: New file.
16119         * benchtests/bench-rawmemchr-ifunc.c: New file.
16120         * benchtests/bench-rawmemchr.c: New file.
16121         * benchtests/bench-stpcpy-ifunc.c: New file.
16122         * benchtests/bench-stpcpy.c: New file.
16123         * benchtests/bench-stpncpy-ifunc.c: New file.
16124         * benchtests/bench-stpncpy.c: New file.
16125         * benchtests/bench-strcasecmp-ifunc.c: New file.
16126         * benchtests/bench-strcasecmp.c: New file.
16127         * benchtests/bench-strcasestr-ifunc.c: New file.
16128         * benchtests/bench-strcasestr.c: New file.
16129         * benchtests/bench-strcat-ifunc.c: New file.
16130         * benchtests/bench-strcat.c: New file.
16131         * benchtests/bench-strchr-ifunc.c: New file.
16132         * benchtests/bench-strchr.c: New file.
16133         * benchtests/bench-strchrnul-ifunc.c: New file.
16134         * benchtests/bench-strchrnul.c: New file.
16135         * benchtests/bench-strcmp-ifunc.c: New file.
16136         * benchtests/bench-strcmp.c: New file.
16137         * benchtests/bench-strcpy-ifunc.c: New file.
16138         * benchtests/bench-strcpy.c: New file.
16139         * benchtests/bench-strcspn-ifunc.c: New file.
16140         * benchtests/bench-strcspn.c: New file.
16141         * benchtests/bench-strlen-ifunc.c: New file.
16142         * benchtests/bench-strlen.c: New file.
16143         * benchtests/bench-strncasecmp-ifunc.c: New file.
16144         * benchtests/bench-strncasecmp.c: New file.
16145         * benchtests/bench-strncat-ifunc.c: New file.
16146         * benchtests/bench-strncat.c: New file.
16147         * benchtests/bench-strncmp-ifunc.c: New file.
16148         * benchtests/bench-strncmp.c: New file.
16149         * benchtests/bench-strncpy-ifunc.c: New file.
16150         * benchtests/bench-strncpy.c: New file.
16151         * benchtests/bench-strnlen-ifunc.c: New file.
16152         * benchtests/bench-strnlen.c: New file.
16153         * benchtests/bench-strpbrk-ifunc.c: New file.
16154         * benchtests/bench-strpbrk.c: New file.
16155         * benchtests/bench-strrchr-ifunc.c: New file.
16156         * benchtests/bench-strrchr.c: New file.
16157         * benchtests/bench-strspn-ifunc.c: New file.
16158         * benchtests/bench-strspn.c: New file.
16159         * benchtests/bench-strstr-ifunc.c: New file.
16160         * benchtests/bench-strstr.c: New file.
16161
16162         * benchtests/Makefile: Disable parallel execution of targets.
16163         (string-bench): Add memcpy.
16164         (benchset): New variable to store a list of benchmark sets.
16165         (bench-func): Renamed from bench.
16166         (bench-set): New target.
16167         (bench): Depend on bench-func and bench-set.
16168         * benchtests/README: Add section on benchmark sets.
16169         * benchtests/bench-memcpy-ifunc.c: New file.
16170         * benchtests/bench-memcpy.c: New file.
16171         * benchtests/bench-string.h: New file.
16172
16173 2013-06-11  Andreas Schwab  <schwab@suse.de>
16174
16175         [BZ #15577]
16176         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16177         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16178         values in the triple.
16179         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16180         terminator in the group key.
16181
16182 2013-06-11  Andreas Jaeger  <aj@suse.de>
16183
16184         * po/zh_TW.po: Update Chinese (traditional) translation from
16185         translation project.
16186
16187 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16188
16189         * include/time.h (__clock_gettime): Add libc_hidden_proto.
16190         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16191         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
16192         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16193         (clock_getcpuclockid): Likewise.
16194         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16195         Add weak_alias and libc_hidden_def.
16196         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16197         * rt/clock_gettime.c (clock_gettime): Rename to
16198         __clock_gettime.  Add weak_alias and libc_hidden_def.
16199         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16200         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16201         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
16202         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16203         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16204         Likewise.
16205         * rt/clock_settime.c (clock_settime): Rename to
16206         __clock_settime.  Add weak_alias and libc_hidden_def.
16207         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16208
16209 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
16210
16211         * mach/err_boot.sub: Remove trailing whitespace.
16212         * mach/err_ipc.sub: Likewise.
16213         * mach/err_mach.sub: Likewise.
16214
16215         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16216         (ROUNDING_TESTS_double): Likewise.
16217         (ROUNDING_TESTS_long_double): Likewise.
16218         (ROUNDING_TESTS): Likewise.
16219         * math/libm-test.inc: Include <math-tests.h>.
16220         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16221         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16222         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16223         (IF_ROUND_INIT_FE_UPWARD): Likewise.
16224
16225 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16226
16227         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16228         of assigning.
16229
16230 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
16231
16232         * sysdeps/gnu/errlist.awk: Do not generate space at end of
16233         otherwise empty TRANS lines.
16234         * sysdeps/gnu/errlist.c: Regenerated.
16235
16236         * catgets/gencat.c (error_print): Use (void) in function
16237         definition.
16238         * crypt/crypt_util.c (__init_des): Likewise.
16239         * crypt/speeds.c (Stop): Likewise.
16240         (main): Likewise.
16241         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16242         * inet/ruserpass.c (token): Likewise.
16243         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16244         * intl/localealias.c (extend_alias_table): Likewise.
16245         * intl/plural-exp.c (init_germanic_plural): Likewise.
16246         * libio/fcloseall.c (__fcloseall): Likewise.
16247         * libio/genops.c (_IO_flush_all): Likewise.
16248         (_IO_flush_all_linebuffered): Likewise.
16249         (_IO_cleanup): Likewise.
16250         (_IO_iter_begin): Likewise.
16251         (_IO_iter_end): Likewise.
16252         (_IO_list_lock): Likewise.
16253         (_IO_list_unlock): Likewise.
16254         (_IO_list_resetlock): Likewise.
16255         * libio/getchar.c (getchar): Likewise.
16256         * libio/getchar_u.c (getchar_unlocked): Likewise.
16257         * libio/getwchar.c (getwchar): Likewise.
16258         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16259         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16260         * login/getpt.c (__getpt): Likewise.
16261         * login/tst-utmp.c (main): Likewise.
16262         * malloc/hooks.c (__malloc_check_init): Likewise.
16263         * malloc/malloc.c (__malloc_stats): Likewise.
16264         * malloc/mtrace.c (tr_break): Likewise.
16265         (mtrace): Likewise.
16266         (muntrace): Likewise.
16267         * misc/fstab.c (endfsent): Likewise.
16268         * misc/getclktck.c (__getclktck): Likewise.
16269         * misc/getdtsz.c (__getdtablesize): Likewise.
16270         * misc/gethostid.c (gethostid): Likewise.
16271         * misc/getpagesize.c (__getpagesize): Likewise.
16272         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16273         (__get_nprocs): Likewise.
16274         (__get_phys_pages): Likewise.
16275         (__get_avphys_pages): Likewise.
16276         * misc/getttyent.c (getttyent): Likewise.
16277         (setttyent): Likewise.
16278         (endttyent): Likewise.
16279         * misc/getusershell.c (getusershell): Likewise.
16280         (endusershell): Likewise.
16281         (setusershell): Likewise.
16282         (initshells): Likewise.
16283         * misc/hsearch.c (__hdestroy): Likewise.
16284         * misc/sync.c (sync): Likewise.
16285         * misc/syslog.c (closelog_internal): Likewise.
16286         (closelog): Likewise.
16287         * misc/ttyslot.c (ttyslot): Likewise.
16288         * misc/vhangup.c (vhangup): Likewise.
16289         * posix/fork.c (__fork): Likewise.
16290         * posix/getegid.c (__getegid): Likewise.
16291         * posix/geteuid.c (__geteuid): Likewise.
16292         * posix/getgid.c (__getgid): Likewise.
16293         * posix/getpid.c (__getpid): Likewise.
16294         * posix/getppid.c (__getppid): Likewise.
16295         * posix/getuid.c (__getuid): Likewise.
16296         * posix/pause.c (pause): Likewise.
16297         * posix/setpgrp.c (setpgrp): Likewise.
16298         * posix/setsid.c (__setsid): Likewise.
16299         * posix/test-vfork.c (noop): Likewise.
16300         * resolv/gethnamaddr.c (_endhtent): Likewise.
16301         (_gethtent): Likewise.
16302         (ht_endhostent): Likewise.
16303         (gethostent): Likewise.
16304         (dns_service): Likewise.
16305         * stdlib/drand48.c (drand48): Likewise.
16306         * stdlib/lrand48.c (lrand48): Likewise.
16307         * stdlib/mrand48.c (mrand48): Likewise.
16308         * stdlib/rand.c (rand): Likewise.
16309         * stdlib/random.c (__random): Likewise.
16310         * stdlib/setenv.c (clearenv): Likewise.
16311         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16312         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16313         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16314         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16315         (__get_nprocs): Likewise.
16316         (__get_phys_pages): Likewise.
16317         (__get_avphys_pages): Likewise.
16318         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16319         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16320         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16321         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16322         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16323         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16324         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16325         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16326         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16327         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16328         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16329         * sysdeps/mach/hurd/sync.c (sync): Likewise.
16330         * sysdeps/posix/clock.c (clock): Likewise.
16331         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16332         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16333         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16334         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16335         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16336         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16337         (__get_nprocs_conf): Likewise.
16338         (__get_phys_pages): Likewise.
16339         (__get_avphys_pages): Likewise.
16340         * time/clock.c (clock): Likewise.
16341         * time/tzset.c (__tzname_max): Likewise.
16342
16343 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
16344
16345         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16346         (__bswap_32): Do not use "register".
16347         * crypt/crypt.c (_ufc_doit_r): Likewise.
16348         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16349         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16350         * gmon/gmon.c (__monstartup): Likewise.
16351         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16352         * hurd/hurdmalloc.c (more_memory): Likewise.
16353         (malloc): Likewise.
16354         (free): Likewise.
16355         (realloc): Likewise.
16356         (malloc_fork_prepare): Likewise.
16357         (malloc_fork_parent): Likewise.
16358         (malloc_fork_child): Likewise.
16359         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16360         (_svcauth_des): Likewise.
16361         * inet/inet_lnaof.c (inet_lnaof): Likewise.
16362         * inet/inet_net.c (inet_network): Likewise.
16363         * inet/inet_netof.c (inet_netof): Likewise.
16364         * inet/rcmd.c (__validuser2_sa): Likewise.
16365         * io/fts.c (fts_open): Likewise.
16366         (fts_load): Likewise.
16367         (fts_close): Likewise.
16368         (fts_read): Likewise.
16369         (fts_children): Likewise.
16370         (fts_build): Likewise.
16371         (fts_stat): Likewise.
16372         (fts_sort): Likewise.
16373         (fts_alloc): Likewise.
16374         (fts_lfree): Likewise.
16375         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16376         (_IO_file_xsgetn): Likewise.
16377         (_IO_file_xsgetn_mmap): Likewise.
16378         * libio/iofopncook.c (_IO_cookie_read): Likewise.
16379         (_IO_cookie_write): Likewise.
16380         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16381         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16382         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16383         * malloc/obstack.c (_obstack_begin): Likewise.
16384         (_obstack_begin_1): Likewise.
16385         (_obstack_newchunk): Likewise.
16386         (_obstack_allocated_p): Likewise.
16387         (obstack_free): Likewise.
16388         (_obstack_memory_used): Likewise.
16389         * misc/getttyent.c (getttynam): Likewise.
16390         (getttyent): Likewise.
16391         (skip): Likewise.
16392         (value): Likewise.
16393         * misc/getusershell.c (initshells): Likewise.
16394         * misc/syslog.c (__vsyslog_chk): Likewise.
16395         * misc/ttyslot.c (ttyslot): Likewise.
16396         * nis/nis_hash.c (__nis_hash): Likewise.
16397         * posix/fnmatch_loop.c (FCT): Likewise.
16398         * posix/getconf.c (print_all): Likewise.
16399         (main): Likewise.
16400         * posix/getopt.c (exchange): Likewise.
16401         * posix/glob.c (globfree): Likewise.
16402         (prefix_array): Likewise.
16403         (__glob_pattern_type): Likewise.
16404         * resolv/arpa/nameser.h (NS_GET16): Likewise.
16405         (NS_GET32): Likewise.
16406         (NS_PUT16): Likewise.
16407         (NS_PUT32): Likewise.
16408         * resolv/gethnamaddr.c (getanswer): Likewise.
16409         (gethostbyname2): Likewise.
16410         (gethostbyaddr): Likewise.
16411         (_gethtent): Likewise.
16412         (_gethtbyname2): Likewise.
16413         (_gethtbyaddr): Likewise.
16414         * resolv/ns_print.c (dst_s_get_int16): Likewise.
16415         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16416         * resolv/res_init.c (__res_vinit): Likewise.
16417         (net_mask): Likewise.
16418         * resolv/res_mkquery.c (outchar): Likewise.
16419         (PRINT): Likewise.
16420         * stdio-common/printf_fp.c (outchar): Likewise.
16421         (PRINT): Likewise.
16422         * stdio-common/printf_fphex.c (outchar): Likewise.
16423         (PRINT): Likewise.
16424         * stdio-common/printf_size.c (outchar): Likewise.
16425         (PRINT): Likewise.
16426         * stdio-common/test_rdwr.c (main): Likewise.
16427         * stdio-common/tfformat.c (matches): Likewise.
16428         * stdio-common/vfprintf.c (outchar): Likewise.
16429         (printf_unknown): Likewise.
16430         (buffered_vfprintf): Likewise.
16431         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16432         * stdio-common/xbug.c (AppendToBuffer): Likewise.
16433         (ReadFile): Likewise.
16434         * stdlib/qsort.c (SWAP): Likewise.
16435         (_quicksort): Likewise.
16436         * stdlib/setenv.c (__add_to_environ): Likewise.
16437         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16438         * stdlib/strtol_l.c (__strtol_l): Likewise.
16439         * stdlib/tst-strtod.c (main): Likewise.
16440         * stdlib/tst-strtol.c (main): Likewise.
16441         * stdlib/tst-strtoll.c (main): Likewise.
16442         * string/bits/string2.h (__strcmp_cc): Likewise.
16443         (__strcmp_cg): Likewise.
16444         (__strcspn_c1): Likewise.
16445         (__strcspn_c2): Likewise.
16446         (__strcspn_c3): Likewise.
16447         (__strspn_c1): Likewise.
16448         (__strspn_c2): Likewise.
16449         (__strspn_c3): Likewise.
16450         (__strsep_1c): Likewise.
16451         (__strsep_2c): Likewise.
16452         (__strsep_3c): Likewise.
16453         * string/memccpy.c (__memccpy): Likewise.
16454         * string/stpcpy.c (__stpcpy): Likewise.
16455         * string/strcmp.c (strcmp): Likewise.
16456         * string/strrchr.c (strrchr): Likewise.
16457         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16458         Likewise.
16459         * sysdeps/mach/hurd/getcwd.c
16460         (_hurd_canonicalize_directory_name_internal): Likewise.
16461         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16462         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16463         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16464         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16465         Likewise, in both definitions.
16466         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16467         definitions.
16468         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16469         64] (__bswap_64): Likewise.
16470         * time/test_time.c (main): Likewise.
16471         * time/tzfile.c (__tzfile_read): Likewise.
16472         (__tzfile_compute): Likewise.
16473         * time/tzset.c (__tzset_parse_tz): Likewise.
16474         (tzset_internal): Likewise.
16475         (compute_change): Likewise.
16476         * wcsmbs/wcscat.c (__wcscat): Likewise.
16477         * wcsmbs/wcschr.c (wcschr): Likewise.
16478         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16479         * wcsmbs/wcscspn.c (wcscspn): Likewise.
16480         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16481         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16482         * wcsmbs/wcsspn.c (wcsspn): Likewise.
16483         * wcsmbs/wcsstr.c (wcsstr): Likewise.
16484         * wcsmbs/wmemchr.c (wmemchr): Likewise.
16485         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16486         * wcsmbs/wmemset.c (wmemset): Likewise.
16487
16488 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
16489
16490         * scripts/config.guess: Update to version 2013-05-16.
16491         * scripts/config.sub: Update to version 2013-04-24.
16492         * scripts/install-sh: Update to version 2011-11-20.07.
16493         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16494         * scripts/move-if-change: Update to version 2012-01-06 07:23.
16495
16496 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
16497
16498         * debug/fgetws_u_chk.c: Fix leading whitespaces.
16499         * elf/sln.c: Likewise.
16500         * hurd/hurd/ioctl.h: Likewise.
16501         * hurd/hurdmalloc.c: Likewise.
16502         * hurd/xattr.c: Likewise.
16503         * include/shlib-compat.h: Likewise.
16504         * inet/ruserpass.c: Likewise.
16505         * libio/iofgets_u.c: Likewise.
16506         * libio/iofgetws_u.c: Likewise.
16507         * locale/programs/ld-identification.c: Likewise.
16508         * locale/programs/ld-time.c: Likewise.
16509         * mach/msg-destroy.c: Likewise.
16510         * nss/nss_files/files-netgrp.c: Likewise.
16511         * resolv/res_data.c: Likewise.
16512         * soft-fp/op-1.h: Likewise.
16513         * soft-fp/op-2.h: Likewise.
16514         * soft-fp/op-4.h: Likewise.
16515         * soft-fp/op-common.h: Likewise.
16516         * stdio-common/printf_fphex.c: Likewise.
16517         * stdlib/strtod_l.c: Likewise.
16518         * sunrpc/rpc/clnt.h: Likewise.
16519         * sysdeps/generic/framestate.c: Likewise.
16520         * sysdeps/i386/bsd-_setjmp.S: Likewise.
16521         * sysdeps/i386/bsd-setjmp.S: Likewise.
16522         * sysdeps/i386/__longjmp.S: Likewise.
16523         * sysdeps/i386/setjmp.S: Likewise.
16524         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16525         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16526         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16527         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16528         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16529         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16530         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16531         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16532         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16533         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16534         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16535         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16536         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16537         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16538         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16539         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16540         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16541         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16542         * sysdeps/ieee754/support.c: Likewise.
16543         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16544         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16545         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16546         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16547         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16548         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16549         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16550         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16551         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16552         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16553         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16554         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16555         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16556         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16557         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16558         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16559         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16561
16562 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
16563
16564         * posix/transbug.c: Remove executable mode.
16565
16566 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
16567
16568         * crypt/speeds.c: Remove trailing whitespace.
16569         * dlfcn/default.c: Likewise.
16570         * elf/ifuncdep2.c: Likewise.
16571         * elf/ifuncmain1.c: Likewise.
16572         * elf/ifuncmain1vis.c: Likewise.
16573         * elf/testobj.h: Likewise.
16574         * elf/tst-stackguard1.c: Likewise.
16575         * gmon/sys/gmon.h: Likewise.
16576         * hurd/hurdmsg.c: Likewise.
16577         * hurd/new-fd.c: Likewise.
16578         * hurd/ports-get.c: Likewise.
16579         * iconvdata/ibm1008_420.c: Likewise.
16580         * inet/tst-getni1.c: Likewise.
16581         * inet/tst-getni2.c: Likewise.
16582         * libio/ioungetc.c: Likewise.
16583         * libio/wfiledoalloc.c: Likewise.
16584         * manual/libm-err-tab.pl: Likewise.
16585         * math/w_dremf.c: Likewise.
16586         * misc/ftruncate.c: Likewise.
16587         * posix/bug-glob2.c: Likewise.
16588         * posix/tst-pcre.c: Likewise.
16589         * posix/wait4.c: Likewise.
16590         * resolv/README: Likewise.
16591         * resolv/res_debug.h: Likewise.
16592         * resolv/tst-inet_ntop.c: Likewise.
16593         * setjmp/bug269-setjmp.c: Likewise.
16594         * soft-fp/extended.h: Likewise.
16595         * soft-fp/op-1.h: Likewise.
16596         * soft-fp/op-2.h: Likewise.
16597         * soft-fp/op-4.h: Likewise.
16598         * soft-fp/op-8.h: Likewise.
16599         * soft-fp/testit.c: Likewise.
16600         * stdio-common/bug16.c: Likewise.
16601         * stdlib/random.c: Likewise.
16602         * sunrpc/rpcsvc/rquota.x: Likewise.
16603         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16604         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16605         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16606         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16607         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16608         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16609         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16610         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16611         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16612         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16613         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16614         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16615         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16616         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16617         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16618         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16619         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16620         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16621         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16622         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16623         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16624         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16625         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16626         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16627         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16628         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16629         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16630         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16631         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16632         * sysdeps/ieee754/s_lib_version.c: Likewise.
16633         * sysdeps/mach/hurd/check_fds.c: Likewise.
16634         * sysdeps/mach/hurd/getsockname.c: Likewise.
16635         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16636         * sysdeps/mach/hurd/recvfrom.c: Likewise.
16637         * sysdeps/powerpc/bits/link.h: Likewise.
16638         * sysdeps/powerpc/dl-procinfo.c: Likewise.
16639         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16640         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16641         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16642         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16643         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16644         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16645         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16646         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16647         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16648         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16649         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16650         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16651         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16652         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16653         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16654         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16655         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16656         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16657         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16658         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16659         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16660         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16661         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16662         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16663         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16664         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16665         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16666         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16667         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16668         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16669         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16670         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16671         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16672         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16673         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16674         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16675         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16676         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16677         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16678         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16679         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16680         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16681         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16682         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16683         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16684         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16685         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16686         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16687         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16688         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16689         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16690         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16691         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16692         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16693         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16694         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16695         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16696         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16697         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16698         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16699         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16700         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16701         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16702         * sysdeps/powerpc/sysdep.h: Likewise.
16703         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16704         * sysdeps/s390/s390-64/sub_n.S: Likewise.
16705         * sysdeps/sh/dl-trampoline.S: Likewise.
16706         * sysdeps/sh/memset.S: Likewise.
16707         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16708         * sysdeps/sh/strlen.S: Likewise.
16709         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16710         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16711         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16712         * sysdeps/sparc/sparc32/rem.S: Likewise.
16713         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16714         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16715         * sysdeps/sparc/sparc32/strchr.S: Likewise.
16716         * sysdeps/sparc/sparc32/udiv.S: Likewise.
16717         * sysdeps/sparc/sparc32/urem.S: Likewise.
16718         * sysdeps/sparc/sparc64/add_n.S: Likewise.
16719         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16720         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16721         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16722         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16723         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16724         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16725         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16726         * sysdeps/unix/bsd/times.c: Likewise.
16727         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16728         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16732         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16733         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16734         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16735         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16736         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16737         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16738         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16739         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16740         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16741         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16742         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16743         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16744         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16745         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16746         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16747         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16748         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16749         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16750         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16751         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16752         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16753         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16754         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16755         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16756         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16757         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16758         * sysdeps/x86_64/strcspn.S: Likewise.
16759
16760 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16761
16762         * locale/C-translit.h: Revert #include <stdint.h> because this is a
16763         generated file.  Regenerate properly from gen-translit.pl.
16764         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
16765         locale/C-translit.h.
16766
16767 2013-06-05  Andreas Schwab  <schwab@suse.de>
16768
16769         [BZ #15100]
16770         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16771         week as 6 instead of -1.
16772         * time/tst-strptime.c (day_tests): Add test case.
16773
16774 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16775
16776         * sysdeps/generic/math_private.h
16777         (libc_feholdexcept_setround_53bit): Replace with
16778         libc_feholdsetround_53bit.
16779         (libc_feupdateenv_53bit): Replace with
16780         libc_feresetround_53bit.
16781         (SET_RESTORE_ROUND_53BIT): Adjust.
16782
16783 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16784
16785         * string/test-strchrnul.c: Add copyright header.
16786
16787         * posix/tst-getaddrinfo4.c: Increase test timeout.
16788
16789 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
16790
16791         [BZ #15536]
16792         * math/libm-test.inc (MAX_EXP): Remove
16793         (MIN_EXP): Define.
16794         (ulp): Use MIN_EXP - MANT_DIG.
16795         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16796
16797 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
16798
16799         * po/be.po: Revert last change.
16800         * po/zh_CN.po: Likewise.
16801         * po/header.pot: Likewise.
16802
16803 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
16804
16805         * Makefile ($(common-objpfx)linkobj/libc.so): Define
16806         link-libc-deps to empty as target-specific variable.
16807         * Makerules (link-libc-args): New variable.
16808         (libc-for-link): Likewise.
16809         (link-libc-deps): Likewise.
16810         (lib%.so): Depend on $(link-libc-deps).  Link with
16811         $(link-libc-args).
16812         (build-module): Link with $(link-libc-args).
16813         (build-module-asneeded): Likewise.
16814         (build-module-helper-objlist): Filter out $(link-libc-deps) from
16815         list of objects.
16816         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16817         target-specific variable.
16818         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16819         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16820         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16821         libc.
16822         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16823         libc and ld.so.
16824         ($(objpfx)libpcprofile.so): Likewise.
16825         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16826         libc_nonshared.a.
16827         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16828         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16829         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16830         $(link-libc-deps).
16831         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16832         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16833         * login/Makefile ($(objpfx)libutil.so): Likewise.
16834         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16835         * math/Makefile ($(objpfx)libm.so): Likewise.
16836         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16837         $(objpfx)libnsl.so): Define libc-for-link as target-specific
16838         variable instead of depending directly on libc.
16839         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16840         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16841         $(link-libc-deps).
16842         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16843         libc.
16844         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16845         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16846         ($(objpfx)libanl.so): Likewise.
16847         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16848         ld.so.
16849         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16850         $(link-libc-deps).
16851         * sysdeps/i386/fpu/Makefile: Remove file.
16852         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16853         ($(objpfx)libm.so): Remove dependency on ld.so.
16854
16855 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
16856
16857         [BZ # 15553]
16858         * nis/yp_xdr.c (XDRMAXNAME): Define.
16859         (XDRMAXRECORD): Define.
16860         (xdr_domainname): Use XDRMAXNAME.
16861         (xdr_mapname): Likewise.
16862         (xdr_peername): Likewise.
16863         (xdr_keydat): Use XDRMAXRECORD.
16864         (xdr_valdat): Likewise.
16865
16866 2013-05-30  Jeff Law  <law@redhat.com>
16867
16868         [BZ #14256]
16869         * manual/errno.texi (ESTALE): Update to account for more than
16870         just NFS file systems.
16871         * sysdeps/gnu/errlist.c: Regenerated.
16872
16873 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16874
16875         [BZ #15465]
16876         * elf/Makefile (tests): Add tst-null-argv.
16877         (modules-names):  Add tst-null-argv-lib.
16878         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16879         (tst-null-argv-ENV): Set environment for tst-null-argv.
16880         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16881         (RTLD_PROGNAME): New macro.
16882         * elf/tst-null-argv.c: New test case.
16883         * elf/tst-null-argv-lib.c: Library for test case.
16884         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16885         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16886         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16887         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16888         * elf/dl-init.c (call_init): Likewise.
16889         (_dl_init): Likewise.
16890         * elf/dl-load.c (print_search_path): Likewise.
16891         (_dl_map_object): Likewise.
16892         * elf/dl-lookup.c (do_lookup_x): Likewise.
16893         (add_dependency): Likewise.
16894         (_dl_lookup_symbol_x): Likewise.
16895         (_dl_debug_bindings): Likewise.
16896         * elf/dl-open.c (_dl_show_scope): Likewise.
16897         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16898         * elf/dl-version.c (match_symbol): Likewise.
16899         (_dl_check_map_versions): Likewise.
16900         * elf/rtld.c (dl_main): Likewise.
16901         (print_unresolved): Use RTLD_PROGNAME.
16902         (print_missing_version): Likewise.
16903         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16904         (elf_machine_rela): Likewise.
16905         * sysdeps/powerpc/powerpc32/dl-machine.c
16906         (__process_machine_rela): Likewise.
16907         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16908         Likewise.
16909         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16910         Likewise.
16911         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16912         Likewise.
16913         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16914         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16915         Likewise.
16916         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16917         Likewise.
16918         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16919
16920 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
16921
16922         * po/be.po: Add descriptive title.
16923         * po/zh_CN.po: Likewise.
16924         * po/header.pot: Likewise.
16925
16926 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
16927
16928         * locale/programs/locarchive.c (create_archive): Inlucde fname in
16929         error message.
16930         (enlarge_archive): Likewise.
16931
16932 2013-05-28  Ben North  <ben@redfrontdoor.org>
16933
16934         * manual/arith.texi (frexp): It is the magnitude of the return
16935         value which lies in [0.5, 1), not the return value itself.
16936
16937 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16938
16939         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16940
16941 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
16942
16943         * stdio-common/bug26.c (main): Correct fscanf template.
16944
16945         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16946         declare _dl_skip_args.
16947
16948         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16949         Don't declare.
16950
16951         * manual/platform.texi: Add missing @end deftypefun.
16952
16953 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
16954
16955         [BZ #15529]
16956         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16957         bit of mantissa of 2^16382.
16958         * math/libm-test.inc (hypot_test_data): Add more tests.
16959
16960         * math/libm-test.inc: Add drem and pow10 to list of tested
16961         functions.
16962         (pow10_test): New function.
16963         (drem_test): Likewise.
16964         (drem_test_tonearest): Likewise.
16965         (drem_test_towardzero): Likewise.
16966         (drem_test_downward): Likewise.
16967         (drem_test_upward): Likewise.
16968         (main): Call the new functions.
16969
16970         * math/libm-test.inc (finite_test_data): Remove.
16971         (finite_test): Run tests from isfinite_test_data.
16972         (gamma_test_data): Remove.
16973         (gamma_test): Run tests from lgamma_test_data.
16974         * sysdeps/i386/fpu/libm-test-ulps: Update.
16975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16976
16977 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16978
16979         * manual/platform.texi: Add PowerPC PPR function set documentation.
16980         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16981         implementation.
16982
16983 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
16984
16985         * math/libm-test.inc (MAX_EXP): Define.
16986         (ULPDIFF): Define.
16987         (ulp): New function.
16988         (check_float_internal): Use ULPDIFF.
16989         (cpow_test): Disable failing test.
16990         (check_ulp): Test ulp() implemetnation.
16991         (main): Call check_ulp before starting tests.
16992
16993 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
16994
16995         * math/gen-libm-test.pl (generate_testfile): Do not handle
16996         START_DATA and END_DATA.
16997         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16998         END_DATA.
16999         (acos_tonearest_test_data): Likewise.
17000         (acos_towardzero_test_data): Likewise.
17001         (acos_downward_test_data): Likewise.
17002         (acos_upward_test_data): Likewise.
17003         (acosh_test_data): Likewise.
17004         (asin_test_data): Likewise.
17005         (asin_tonearest_test_data): Likewise.
17006         (asin_towardzero_test_data): Likewise.
17007         (asin_downward_test_data): Likewise.
17008         (asin_upward_test_data): Likewise.
17009         (asinh_test_data): Likewise.
17010         (atan_test_data): Likewise.
17011         (atanh_test_data): Likewise.
17012         (atan2_test_data): Likewise.
17013         (cabs_test_data): Likewise.
17014         (cacos_test_data): Likewise.
17015         (cacosh_test_data): Likewise.
17016         (carg_test_data): Likewise.
17017         (casin_test_data): Likewise.
17018         (casinh_test_data): Likewise.
17019         (catan_test_data): Likewise.
17020         (catanh_test_data): Likewise.
17021         (cbrt_test_data): Likewise.
17022         (ccos_test_data): Likewise.
17023         (ccosh_test_data): Likewise.
17024         (ceil_test_data): Likewise.
17025         (cexp_test_data): Likewise.
17026         (cimag_test_data): Likewise.
17027         (clog_test_data): Likewise.
17028         (clog10_test_data): Likewise.
17029         (conj_test_data): Likewise.
17030         (copysign_test_data): Likewise.
17031         (cos_test_data): Likewise.
17032         (cos_tonearest_test_data): Likewise.
17033         (cos_towardzero_test_data): Likewise.
17034         (cos_downward_test_data): Likewise.
17035         (cos_upward_test_data): Likewise.
17036         (cosh_test_data): Likewise.
17037         (cosh_tonearest_test_data): Likewise.
17038         (cosh_towardzero_test_data): Likewise.
17039         (cosh_downward_test_data): Likewise.
17040         (cosh_upward_test_data): Likewise.
17041         (cpow_test_data): Likewise.
17042         (cproj_test_data): Likewise.
17043         (creal_test_data): Likewise.
17044         (csin_test_data): Likewise.
17045         (csinh_test_data): Likewise.
17046         (csqrt_test_data): Likewise.
17047         (ctan_test_data): Likewise.
17048         (ctan_tonearest_test_data): Likewise.
17049         (ctan_towardzero_test_data): Likewise.
17050         (ctan_downward_test_data): Likewise.
17051         (ctan_upward_test_data): Likewise.
17052         (ctanh_test_data): Likewise.
17053         (ctanh_tonearest_test_data): Likewise.
17054         (ctanh_towardzero_test_data): Likewise.
17055         (ctanh_downward_test_data): Likewise.
17056         (ctanh_upward_test_data): Likewise.
17057         (erf_test_data): Likewise.
17058         (erfc_test_data): Likewise.
17059         (exp_test_data): Likewise.
17060         (exp_tonearest_test_data): Likewise.
17061         (exp_towardzero_test_data): Likewise.
17062         (exp_downward_test_data): Likewise.
17063         (exp_upward_test_data): Likewise.
17064         (exp10_test_data): Likewise.
17065         (exp2_test_data): Likewise.
17066         (expm1_test_data): Likewise.
17067         (fabs_test_data): Likewise.
17068         (fdim_test_data): Likewise.
17069         (finite_test_data): Likewise.
17070         (floor_test_data): Likewise.
17071         (fma_test_data): Likewise.
17072         (fma_towardzero_test_data): Likewise.
17073         (fma_downward_test_data): Likewise.
17074         (fma_upward_test_data): Likewise.
17075         (fmax_test_data): Likewise.
17076         (fmin_test_data): Likewise.
17077         (fmod_test_data): Likewise.
17078         (fpclassify_test_data): Likewise.
17079         (frexp_test_data): Likewise.
17080         (gamma_test_data): Likewise.
17081         (hypot_test_data): Likewise.
17082         (ilogb_test_data): Likewise.
17083         (isfinite_test_data): Likewise.
17084         (isgreater_test_data): Likewise.
17085         (isgreaterequal_test_data): Likewise.
17086         (isinf_test_data): Likewise.
17087         (isless_test_data): Likewise.
17088         (islessequal_test_data): Likewise.
17089         (islessgreater_test_data): Likewise.
17090         (isnan_test_data): Likewise.
17091         (isnormal_test_data): Likewise.
17092         (issignaling_test_data): Likewise.
17093         (isunordered_test_data): Likewise.
17094         (j0_test_data): Likewise.
17095         (j1_test_data): Likewise.
17096         (jn_test_data): Likewise.
17097         (ldexp_test_data): Likewise.
17098         (lgamma_test_data): Likewise.
17099         (lrint_test_data): Likewise.
17100         (lrint_tonearest_test_data): Likewise.
17101         (lrint_towardzero_test_data): Likewise.
17102         (lrint_downward_test_data): Likewise.
17103         (lrint_upward_test_data): Likewise.
17104         (llrint_test_data): Likewise.
17105         (llrint_tonearest_test_data): Likewise.
17106         (llrint_towardzero_test_data): Likewise.
17107         (llrint_downward_test_data): Likewise.
17108         (llrint_upward_test_data): Likewise.
17109         (log_test_data): Likewise.
17110         (log10_test_data): Likewise.
17111         (log1p_test_data): Likewise.
17112         (log2_test_data): Likewise.
17113         (logb_test_data): Likewise.
17114         (logb_downward_test_data): Likewise.
17115         (lround_test_data): Likewise.
17116         (llround_test_data): Likewise.
17117         (modf_test_data): Likewise.
17118         (nearbyint_test_data): Likewise.
17119         (nextafter_test_data): Likewise.
17120         (nexttoward_test_data): Likewise.
17121         (pow_test_data): Likewise.
17122         (pow_tonearest_test_data): Likewise.
17123         (pow_towardzero_test_data): Likewise.
17124         (pow_downward_test_data): Likewise.
17125         (pow_upward_test_data): Likewise.
17126         (remainder_test_data): Likewise.
17127         (remainder_tonearest_test_data): Likewise.
17128         (remainder_towardzero_test_data): Likewise.
17129         (remainder_downward_test_data): Likewise.
17130         (remainder_upward_test_data): Likewise.
17131         (remquo_test_data): Likewise.
17132         (rint_test_data): Likewise.
17133         (rint_tonearest_test_data): Likewise.
17134         (rint_towardzero_test_data): Likewise.
17135         (rint_downward_test_data): Likewise.
17136         (rint_upward_test_data): Likewise.
17137         (round_test_data): Likewise.
17138         (scalb_test_data): Likewise.
17139         (scalbn_test_data): Likewise.
17140         (scalbln_test_data): Likewise.
17141         (signbit_test_data): Likewise.
17142         (sin_test_data): Likewise.
17143         (sin_tonearest_test_data): Likewise.
17144         (sin_towardzero_test_data): Likewise.
17145         (sin_downward_test_data): Likewise.
17146         (sin_upward_test_data): Likewise.
17147         (sincos_test_data): Likewise.
17148         (sinh_test_data): Likewise.
17149         (sinh_tonearest_test_data): Likewise.
17150         (sinh_towardzero_test_data): Likewise.
17151         (sinh_downward_test_data): Likewise.
17152         (sinh_upward_test_data): Likewise.
17153         (sqrt_test_data): Likewise.
17154         (tan_test_data): Likewise.
17155         (tan_tonearest_test_data): Likewise.
17156         (tan_towardzero_test_data): Likewise.
17157         (tan_downward_test_data): Likewise.
17158         (tan_upward_test_data): Likewise.
17159         (tanh_test_data): Likewise.
17160         (tgamma_test_data): Likewise.
17161         (trunc_test_data): Likewise.
17162         (y0_test_data): Likewise.
17163         (y1_test_data): Likewise.
17164         (yn_test_data): Likewise.
17165         (significand_test_data): Likewise.
17166
17167         * math/gen-libm-test.pl (@functions): Remove variable.
17168         (generate_testfile): Don't handle START and END lines.
17169         * math/libm-test.inc (START): New macro.
17170         (END): Likewise.
17171         (END_COMPLEX): Likewise.
17172         (acos_test): Use END macro without arguments.
17173         (acos_test_tonearest): Likewise.
17174         (acos_test_towardzero): Likewise.
17175         (acos_test_downward): Likewise.
17176         (acos_test_upward): Likewise.
17177         (acosh_test): Likewise.
17178         (asin_test): Likewise.
17179         (asin_test_tonearest): Likewise.
17180         (asin_test_towardzero): Likewise.
17181         (asin_test_downward): Likewise.
17182         (asin_test_upward): Likewise.
17183         (asinh_test): Likewise.
17184         (atan_test): Likewise.
17185         (atanh_test): Likewise.
17186         (atan2_test): Likewise.
17187         (cabs_test): Likewise.
17188         (cacos_test): Use END_COMPLEX macro without arguments.
17189         (cacosh_test): Likewise.
17190         (carg_test): Use END macro without arguments.
17191         (casin_test): Use END_COMPLEX macro without arguments.
17192         (casinh_test): Likewise.
17193         (catan_test): Likewise.
17194         (catanh_test): Likewise.
17195         (cbrt_test): Use END macro without arguments.
17196         (ccos_test): Use END_COMPLEX macro without arguments.
17197         (ccosh_test): Likewise.
17198         (ceil_test): Use END macro without arguments.
17199         (cexp_test): Use END_COMPLEX macro without arguments.
17200         (cimag_test): Use END macro without arguments.
17201         (clog_test): Use END_COMPLEX macro without arguments.
17202         (clog10_test): Likewise.
17203         (conj_test): Likewise.
17204         (copysign_test): Use END macro without arguments.
17205         (cos_test): Likewise.
17206         (cos_test_tonearest): Likewise.
17207         (cos_test_towardzero): Likewise.
17208         (cos_test_downward): Likewise.
17209         (cos_test_upward): Likewise.
17210         (cosh_test): Likewise.
17211         (cosh_test_tonearest): Likewise.
17212         (cosh_test_towardzero): Likewise.
17213         (cosh_test_downward): Likewise.
17214         (cosh_test_upward): Likewise.
17215         (cpow_test): Use END_COMPLEX macro without arguments.
17216         (cproj_test): Likewise.
17217         (creal_test): Use END macro without arguments.
17218         (csin_test): Use END_COMPLEX macro without arguments.
17219         (csinh_test): Likewise.
17220         (csqrt_test): Likewise.
17221         (ctan_test): Likewise.
17222         (ctan_test_tonearest): Likewise.
17223         (ctan_test_towardzero): Likewise.
17224         (ctan_test_downward): Likewise.
17225         (ctan_test_upward): Likewise.
17226         (ctanh_test): Likewise.
17227         (ctanh_test_tonearest): Likewise.
17228         (ctanh_test_towardzero): Likewise.
17229         (ctanh_test_downward): Likewise.
17230         (ctanh_test_upward): Likewise.
17231         (erf_test): Use END macro without arguments.
17232         (erfc_test): Likewise.
17233         (exp_test): Likewise.
17234         (exp_test_tonearest): Likewise.
17235         (exp_test_towardzero): Likewise.
17236         (exp_test_downward): Likewise.
17237         (exp_test_upward): Likewise.
17238         (exp10_test): Likewise.
17239         (exp2_test): Likewise.
17240         (expm1_test): Likewise.
17241         (fabs_test): Likewise.
17242         (fdim_test): Likewise.
17243         (finite_test): Likewise.
17244         (floor_test): Likewise.
17245         (fma_test): Likewise.
17246         (fma_test_towardzero): Likewise.
17247         (fma_test_downward): Likewise.
17248         (fma_test_upward): Likewise.
17249         (fmax_test): Likewise.
17250         (fmin_test): Likewise.
17251         (fmod_test): Likewise.
17252         (fpclassify_test): Likewise.
17253         (frexp_test): Likewise.
17254         (gamma_test): Likewise.
17255         (hypot_test): Likewise.
17256         (ilogb_test): Likewise.
17257         (isfinite_test): Likewise.
17258         (isgreater_test): Likewise.
17259         (isgreaterequal_test): Likewise.
17260         (isinf_test): Likewise.
17261         (isless_test): Likewise.
17262         (islessequal_test): Likewise.
17263         (islessgreater_test): Likewise.
17264         (isnan_test): Likewise.
17265         (isnormal_test): Likewise.
17266         (issignaling_test): Likewise.
17267         (isunordered_test): Likewise.
17268         (j0_test): Likewise.
17269         (j1_test): Likewise.
17270         (jn_test): Likewise.
17271         (ldexp_test): Likewise.
17272         (lgamma_test): Likewise.
17273         (lrint_test): Likewise.
17274         (lrint_test_tonearest): Likewise.
17275         (lrint_test_towardzero): Likewise.
17276         (lrint_test_downward): Likewise.
17277         (lrint_test_upward): Likewise.
17278         (llrint_test): Likewise.
17279         (llrint_test_tonearest): Likewise.
17280         (llrint_test_towardzero): Likewise.
17281         (llrint_test_downward): Likewise.
17282         (llrint_test_upward): Likewise.
17283         (log_test): Likewise.
17284         (log10_test): Likewise.
17285         (log1p_test): Likewise.
17286         (log2_test): Likewise.
17287         (logb_test): Likewise.
17288         (logb_test_downward): Likewise.
17289         (lround_test): Likewise.
17290         (llround_test): Likewise.
17291         (modf_test): Likewise.
17292         (nearbyint_test): Likewise.
17293         (nextafter_test): Likewise.
17294         (nexttoward_test): Likewise.
17295         (pow_test): Likewise.
17296         (pow_test_tonearest): Likewise.
17297         (pow_test_towardzero): Likewise.
17298         (pow_test_downward): Likewise.
17299         (pow_test_upward): Likewise.
17300         (remainder_test): Likewise.
17301         (remainder_test_tonearest): Likewise.
17302         (remainder_test_towardzero): Likewise.
17303         (remainder_test_downward): Likewise.
17304         (remainder_test_upward): Likewise.
17305         (remquo_test): Likewise.
17306         (rint_test): Likewise.
17307         (rint_test_tonearest): Likewise.
17308         (rint_test_towardzero): Likewise.
17309         (rint_test_downward): Likewise.
17310         (rint_test_upward): Likewise.
17311         (round_test): Likewise.
17312         (scalb_test): Likewise.
17313         (scalbn_test): Likewise.
17314         (scalbln_test): Likewise.
17315         (signbit_test): Likewise.
17316         (sin_test): Likewise.
17317         (sin_test_tonearest): Likewise.
17318         (sin_test_towardzero): Likewise.
17319         (sin_test_downward): Likewise.
17320         (sin_test_upward): Likewise.
17321         (sincos_test): Likewise.
17322         (sinh_test): Likewise.
17323         (sinh_test_tonearest): Likewise.
17324         (sinh_test_towardzero): Likewise.
17325         (sinh_test_downward): Likewise.
17326         (sinh_test_upward): Likewise.
17327         (sqrt_test): Likewise.
17328         (tan_test): Likewise.
17329         (tan_test_tonearest): Likewise.
17330         (tan_test_towardzero): Likewise.
17331         (tan_test_downward): Likewise.
17332         (tan_test_upward): Likewise.
17333         (tanh_test): Likewise.
17334         (tgamma_test): Likewise.
17335         (trunc_test): Likewise.
17336         (y0_test): Likewise.
17337         (y1_test): Likewise.
17338         (yn_test): Likewise.
17339         (significand_test): Likewise.
17340
17341 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
17342
17343         [BZ #15381]
17344         * libio/genops.c (_IO_no_init): Initialize wide struct info.
17345
17346 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17347
17348         [BZ #14894]
17349         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17350         __ppc_mdoio and __ppc_mdoom.
17351         * manual/platform.texi: Document new functions __ppc_yield,
17352         __ppc_mdoio and __ppc_mdoom.
17353
17354 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
17355
17356         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17357         (main): Mention "tls" pseudo-hwcap is legacy.
17358         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17359
17360 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
17361
17362         * math/gen-libm-test.pl (parse_args): Output only string of
17363         arguments as text for test name, not full call or descriptions of
17364         tests for extra outputs.
17365         (generate_testfile): Do not pass function name to parse_args.
17366         Generate this_func variable from START.
17367         * math/libm-test.inc (struct test_f_f_data): Rename test_name
17368         field to arg_str.
17369         (struct test_ff_f_data): Likewise.
17370         (test_ff_f_data_nexttoward): Likewise.
17371         (struct test_fi_f_data): Likewise.
17372         (struct test_fl_f_data): Likewise.
17373         (struct test_if_f_data): Likewise.
17374         (struct test_fff_f_data): Likewise.
17375         (struct test_c_f_data): Likewise.
17376         (struct test_f_f1_data): Likewise.  Remove field extra_name.
17377         (struct test_fF_f1_data): Likewise.
17378         (struct test_ffI_f1_data): Likewise.
17379         (struct test_c_c_data): Rename test_name field to arg_str.
17380         (struct test_cc_c_data): Likewise.
17381         (struct test_f_i_data): Likewise.
17382         (struct test_ff_i_data): Likewise.
17383         (struct test_f_l_data): Likewise.
17384         (struct test_f_L_data): Likewise.
17385         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
17386         and extra2_name.
17387         (COMMON_TEST_SETUP): New macro.
17388         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17389         (COMMON_TEST_CLEANUP): Likewise.
17390         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17391         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
17392         macros.
17393         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17394         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
17395         macros.
17396         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17397         (RUN_TEST_fff_f): Take argument string.  Call new setup and
17398         cleanup macros.
17399         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17400         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
17401         macros.
17402         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17403         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
17404         macros.
17405         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17406         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
17407         cleanup macros.
17408         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17409         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
17410         cleanup macros.
17411         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17412         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
17413         cleanup macros.
17414         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17415         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
17416         macros.
17417         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17418         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
17419         macros.
17420         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17421         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
17422         macros.
17423         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17424         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
17425         cleanup macros.
17426         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17427         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
17428         cleanup macros.
17429         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17430         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
17431         macros.
17432         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17433         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
17434         cleanup macros.
17435         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17436         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
17437         macros.
17438         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17439         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
17440         macros.
17441         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17442         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
17443         cleanup macros.
17444         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17445
17446 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
17447
17448         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17449         to _sifields.sigfault.
17450         (si_addr_lsb): Define new macro.
17451         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17452         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17453         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17454
17455 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
17456
17457         [BZ #15441]
17458         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17459         returns -1.
17460         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17461         null return -1.
17462         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17463         loading the domain.
17464
17465 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
17466
17467         * math/gen-libm-test.pl (parse_args): Do not include expected
17468         result in test name.
17469         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17470         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17471         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17472         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17473         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17475
17476 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17477
17478         * benchtests/Makefile: Sort function entries.
17479
17480         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17481         tanh, asinh, acosh, atanh.
17482         * benchtests/acos-inputs: New file.
17483         * benchtests/acosh-inputs: New file.
17484         * benchtests/asin-inputs: New file.
17485         * benchtests/asinh-inputs: New file.
17486         * benchtests/atanh-inputs: New file.
17487         * benchtests/cosh-inputs: New file.
17488         * benchtests/log-inputs: New file.
17489         * benchtests/sinh-inputs: New file.
17490         * benchtests/tanh-inputs: New file.
17491
17492 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
17493
17494         [BZ #15339]
17495         * posix/tst-getaddrinfo4.c: New test.
17496         * posix/Makefile (tests): Add it.
17497
17498 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17499
17500         [BZ #15339]
17501         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17502         when no services were used.
17503         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17504         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17505
17506 2013-05-21  Andreas Schwab  <schwab@suse.de>
17507
17508         [BZ #15014]
17509         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17510         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17511         successful.
17512         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17513         redundant variable declarations and reallocation of buffer when
17514         parsing as IPv6 address.  Always set NSS status when called from
17515         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
17516         buffer too small.  Correct computation of needed size.
17517         * nss/Makefile (tests): Add test-digits-dots.
17518         * nss/test-digits-dots.c: New test.
17519
17520 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17521
17522         * benchtests/Makefile: Remove instructions for adding
17523         benchmark tests.
17524         * benchtests/README: New file to explain how to execute and
17525         enhance the benchmark tests.
17526
17527 2013-05-21  Andreas Schwab  <schwab@suse.de>
17528
17529         [BZ #15493]
17530         * setjmp/Makefile (tests): Add tst-sigsetjmp.
17531         * setjmp/tst-sigsetjmp.c: New test.
17532
17533 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
17534
17535         * sysdeps/x86_64/memset.S (memset): New implementation.
17536         (__bzero): Likewise.
17537         (__memset_tail): New function.
17538
17539 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
17540
17541         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17542         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17543         __memcpy_sse2_unaligned ifunc selection.
17544         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17545         Add memcpy-sse2-unaligned.S.
17546         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17547         Add: __memcpy_sse2_unaligned.
17548
17549 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
17550
17551         [BZ #15490]
17552         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17553         math_force_eval before restoring floating-point envrionment.
17554         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17555         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17556         Likewise.
17557         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17558         <math_private.h>.
17559         (__nearbyintl): Use math_force_eval before restoring
17560         floating-point environment.
17561         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17562
17563         * math/gen-libm-test.pl (special_functions): Remove.
17564         (parse_args): Don't handle TEST_extra.  Handle functions with no
17565         return value.
17566         * math/libm-test.inc (struct test_sincos_data): Replace with
17567         struct test_fFF_11_data.
17568         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17569         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17570         (sincos_test_data): Change element type to struct
17571         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
17572         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17573         RUN_TEST_LOOP_sincos.
17574         * math/README.libm-test: Don't mention special handling of
17575         individual functions.
17576         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17577         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17578         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17579         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17580         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17582
17583         * math/gen-libm-test.pl (get_variable): Remove function.
17584         (parse_args): Don't show pointer parameters to call in test
17585         names.  Use "extra output N" in test names for extra outputs
17586         rather than naming variables.
17587
17588 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
17589
17590         [BZ #15488]
17591         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17592         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17593         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17594         double tests.
17595         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17596         disable.
17597         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17598         check_long_double.
17599
17600         * math/gen-libm-test.pl (@tests): Remove variable.
17601         ($count): Likewise.
17602         (new_test): Remove function.
17603         (show_exceptions): New function.
17604         (special_functions): Use show_exceptions instead of new_test.
17605         (parse_args): Likewise.
17606         (generate_testfile): Pass only function name in generated call to
17607         print_max_error or print_complex_max_error.
17608         (get_ulps): Do not handle complex tests specially.
17609         (output_test): Rename to ...
17610         (get_all_ulps_for_test): ... this.  Return a string rather than
17611         printing to a file.  Require ulps to be present.
17612         (output_ulps): Generate arrays rather than #defines.
17613         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17614         (struct ulp_data): New type.
17615         (BUILD_COMPLEX_ULP): Remove macro.
17616         (compare_ulp_data): New function.
17617         (find_ulps): Likewise.
17618         (find_test_ulps): Likewise.
17619         (find_function_ulps): Likewise.
17620         (find_complex_function_ulps): Likewise.
17621         (print_max_error): Determine allowed ulps using
17622         find_function_ulps.
17623         (print_complex_max_error): Determine allowed ulps using
17624         find_complex_function_ulps.
17625         (check_float_internal): Determine max ulps using find_test_ulps.
17626         (check_float): Do not take max_ulp parameter.  Update call to
17627         check_float_internal.
17628         (check_complex): Likewise.
17629         (check_int): Do not take max_ulp parameter.
17630         (check_long): Likewise.
17631         (check_bool): Likewise.
17632         (check_longlong): Likewise.
17633         (struct test_f_f_data): Remove max_ulp field.
17634         (struct test_ff_f_data): Likewise.
17635         (struct test_ff_f_data_nexttoward): Likewise.
17636         (struct test_fi_f_data): Likewise.
17637         (struct test_fl_f_data): Likewise.
17638         (struct test_if_f_data): Likewise.
17639         (struct test_fff_f_data): Likewise.
17640         (struct test_c_f_data): Likewise.
17641         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17642         (struct test_fF_f1_data): Likewise.
17643         (struct test_ffI_f1_data): Likewise.
17644         (struct test_c_c_data): Remove max_ulp field.
17645         (struct test_cc_c_data): Likewise.
17646         (struct test_f_i_data): Likewise.
17647         (struct test_ff_i_data): Likewise.
17648         (struct test_f_l_data): Likewise.
17649         (struct test_f_L_data): Likewise.
17650         (struct test_sincos_data): Likewise.
17651         (RUN_TEST_f_f): Do not handle ulps.
17652         (RUN_TEST_LOOP_f_f): Likewise.
17653         (RUN_TEST_2_f): Likewise.
17654         (RUN_TEST_LOOP_2_f): Likewise.
17655         (RUN_TEST_fff_f): Likewise.
17656         (RUN_TEST_LOOP_fff_f): Likewise.
17657         (RUN_TEST_c_f): Likewise.
17658         (RUN_TEST_LOOP_c_f): Likewise.
17659         (RUN_TEST_f_f1): Likewise.
17660         (RUN_TEST_LOOP_f_f1): Likewise.
17661         (RUN_TEST_fF_f1): Likewise.
17662         (RUN_TEST_LOOP_fF_f1): Likewise.
17663         (RUN_TEST_fI_f1): Likewise.
17664         (RUN_TEST_LOOP_fI_f1): Likewise.
17665         (RUN_TEST_ffI_f1): Likewise.
17666         (RUN_TEST_LOOP_ffI_f1): Likewise.
17667         (RUN_TEST_c_c): Likewise.
17668         (RUN_TEST_LOOP_c_c): Likewise.
17669         (RUN_TEST_cc_c): Likewise.
17670         (RUN_TEST_LOOP_cc_c): Likewise.
17671         (RUN_TEST_f_i): Likewise.
17672         (RUN_TEST_LOOP_f_i): Likewise.
17673         (RUN_TEST_f_i_tg): Likewise.
17674         (RUN_TEST_LOOP_f_i_tg): Likewise.
17675         (RUN_TEST_ff_i_tg): Likewise.
17676         (RUN_TEST_LOOP_ff_i_tg): Likewise.
17677         (RUN_TEST_f_b): Likewise.
17678         (RUN_TEST_LOOP_f_b): Likewise.
17679         (RUN_TEST_f_b_tg): Likewise.
17680         (RUN_TEST_LOOP_f_b_tg): Likewise.
17681         (RUN_TEST_f_l): Likewise.
17682         (RUN_TEST_LOOP_f_l): Likewise.
17683         (RUN_TEST_f_L): Likewise.
17684         (RUN_TEST_LOOP_f_L): Likewise.
17685         (RUN_TEST_sincos): Likewise.
17686         (RUN_TEST_LOOP_sincos): Likewise.
17687
17688 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
17689
17690         [BZ #15480]
17691         [BZ #15485]
17692         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17693         main case of finite arguments, set rounding mode to FE_TONEAREST
17694         and discard exceptions.
17695         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17696         exceptions.
17697         (remainder_tonearest_test_data): New variable.
17698         (remainder_test_tonearest): New function.
17699         (remainder_towardzero_test_data): New variable.
17700         (remainder_test_towardzero): New function.
17701         (remainder_downward_test_data): New variable.
17702         (remainder_test_downward): New function.
17703         (remainder_upward_test_data): New variable.
17704         (remainder_test_upward): New function.
17705         (main): Call the new test functions.
17706
17707         * math/libm-test.inc (struct test_f_f1_data): Remove field
17708         extra_init.
17709         (struct test_fF_f1_data): Likewise.
17710         (struct test_ffI_f1_data): Likewise.
17711         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
17712         based on value of EXTRA_EXPECTED.
17713         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17714         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
17715         EXTRA_VAR based on value of EXTRA_EXPECTED.
17716         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17717         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
17718         EXTRA_VAR based on value of EXTRA_EXPECTED.
17719         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17720         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
17721         EXTRA_VAR based on value of EXTRA_EXPECTED.
17722         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17723         * math/gen-libm-test.pl (parse_args): Don't output initializers
17724         for extra output values.
17725
17726         * math/libm-test.inc (check_int): Expect result to be exactly
17727         equal to expected value and do not handle ulps.
17728         (check_long): Likewise.
17729         (check_longlong): Likewise.
17730
17731         * math/libm-test.inc (ceil_test_data): Test for "inexact"
17732         exceptions.
17733         (cimag_test_data): Likewise.
17734         (conj_test_data): Likewise.
17735         (copysign_test_data): Likewise.
17736         (cproj_test_data): Likewise.
17737         (creal_test_data): Likewise.
17738         (fabs_test_data): Likewise.
17739         (fdim_test_data): Likewise.
17740         (finite_test_data): Likewise.
17741         (floor_test_data): Likewise.
17742         (fmax_test_data): Likewise.
17743         (fmin_test_data): Likewise.
17744         (fmod_test_data): Likewise.
17745         (fpclassify_test_data): Likewise.
17746         (frexp_test_data): Likewise.
17747         (ilogb_test_data): Likewise.
17748         (isfinite_test_data): Likewise.
17749         (isgreater_test_data): Likewise.
17750         (isgreaterequal_test_data): Likewise.
17751         (isinf_test_data): Likewise.
17752         (isless_test_data): Likewise.
17753         (islessequal_test_data): Likewise.
17754         (islessgreater_test_data): Likewise.
17755         (isnan_test_data): Likewise.
17756         (isnormal_test_data): Likewise.
17757         (issignaling_test_data): Likewise.
17758         (isunordered_test_data): Likewise.
17759         (ldexp_test_data): Likewise.
17760         (lrint_test_data): Likewise.
17761         (lrint_test_data) [TEST_FLOAT]: Disable one test.
17762         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17763         (lrint_tonearest_test_data): Test for "inexact" exceptions.
17764         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17765         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17766         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17767         test input.
17768         (lrint_towardzero_test_data): Test for "inexact" exceptions.
17769         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17770         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17771         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17772         that test input.
17773         (lrint_downward_test_data): Test for "inexact" exceptions.
17774         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17775         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17776         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17777         test input.
17778         (lrint_upward_test_data): Test for "inexact" exceptions.
17779         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17780         test input.
17781         (llrint_test_data): Test for "inexact" exceptions.
17782         (llrint_test_data) [TEST_FLOAT]: Disable one test.
17783         (llrint_tonearest_test_data): Test for "inexact" exceptions.
17784         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17785         (llrint_towardzero_test_data): Test for "inexact" exceptions.
17786         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17787         (llrint_downward_test_data): Test for "inexact" exceptions.
17788         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17789         (llrint_upward_test_data): Test for "inexact" exceptions.
17790         (logb_test_data): Likewise.
17791         (logb_downward_test_data): Likewise.
17792         (nextafter_test_data): Likewise.
17793         (nexttoward_test_data): Likewise.
17794         (remainder_test_data): Likewise.
17795         (remquo_test_data): Likewise.
17796         (scalbn_test_data): Likewise.
17797         (scalbln_test_data): Likewise.
17798         (signbit_test_data): Likewise.
17799         (sqrt_test_data): Likewise.
17800         (significand_test_data): Likewise.
17801
17802 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17803
17804         [BZ #15424]
17805         * benchtests/bench-modf.c (struct args): Mark arg0 as
17806         volatile.
17807         * scripts/bench.pl: Mark members of struct args as volatile.
17808
17809 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17810
17811         [BZ # 15497]
17812         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17813         negative infinity on POWER6 or lower.
17814         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17815
17816 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17817
17818         [BZ #15442]
17819         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17820         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17821         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17822         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17823         (_FP_SETQNAN): New macro.
17824         (_FP_SETQNAN_SEMIRAW): Likewise.
17825         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17826         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17827         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17828         (FP_EXTEND): Use _FP_FRAC_SNANP.
17829         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17830         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17831         into account.
17832         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17833         New macro.
17834         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17835         Likewise.
17836
17837 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17838
17839         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17840         with DIVIDE_BY_ZERO_EXCEPTION.
17841         (gamma_test_data): Likewise.
17842         (lgamma_test_data): Likewise.
17843         (log_test_data): Likewise.
17844         (log10_test_data): Likewise.
17845         (log2_test_data): Likewise.
17846         (tgamma_test_data): Likewise.
17847
17848         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17849         (acos_test_tonearest): Likewise.
17850         (acos_test_towardzero): Likewise.
17851         (acos_test_downward): Likewise.
17852         (acos_test_upward): Likewise.
17853         (acosh_test): Likewise.
17854         (asin_test): Likewise.
17855         (asin_test_tonearest): Likewise.
17856         (asin_test_towardzero): Likewise.
17857         (asin_test_downward): Likewise.
17858         (asin_test_upward): Likewise.
17859         (asinh_test): Likewise.
17860         (atan_test): Likewise.
17861         (atanh_test): Likewise.
17862         (atan2_test): Likewise.
17863         (cabs_test): Likewise.
17864         (cacos_test): Likewise.
17865         (cacosh_test): Likewise.
17866         (casin_test): Likewise.
17867         (casinh_test): Likewise.
17868         (catan_test): Likewise.
17869         (catanh_test): Likewise.
17870         (cbrt_test): Likewise.
17871         (ccos_test): Likewise.
17872         (ccosh_test): Likewise.
17873         (cexp_test): Likewise.
17874         (clog_test): Likewise.
17875         (clog10_test): Likewise.
17876         (cos_test): Likewise.
17877         (cos_test_tonearest): Likewise.
17878         (cos_test_towardzero): Likewise.
17879         (cos_test_downward): Likewise.
17880         (cos_test_upward): Likewise.
17881         (cosh_test): Likewise.
17882         (cosh_test_tonearest): Likewise.
17883         (cosh_test_towardzero): Likewise.
17884         (cosh_test_downward): Likewise.
17885         (cosh_test_upward): Likewise.
17886         (cpow_test): Likewise.
17887         (csin_test): Likewise.
17888         (csinh_test): Likewise.
17889         (csqrt_test): Likewise.
17890         (ctan_test): Likewise.
17891         (ctan_test_tonearest): Likewise.
17892         (ctan_test_towardzero): Likewise.
17893         (ctan_test_downward): Likewise.
17894         (ctan_test_upward): Likewise.
17895         (ctanh_test): Likewise.
17896         (ctanh_test_tonearest): Likewise.
17897         (ctanh_test_towardzero): Likewise.
17898         (ctanh_test_downward): Likewise.
17899         (ctanh_test_upward): Likewise.
17900         (erf_test): Likewise.
17901         (erfc_test): Likewise.
17902         (exp_test): Likewise.
17903         (exp_test_tonearest): Likewise.
17904         (exp_test_towardzero): Likewise.
17905         (exp_test_downward): Likewise.
17906         (exp_test_upward): Likewise.
17907         (exp10_test): Likewise.
17908         (exp2_test): Likewise.
17909         (expm1_test): Likewise.
17910         (fmod_test): Likewise.
17911         (gamma_test): Likewise.
17912         (hypot_test): Likewise.
17913         (j0_test): Likewise.
17914         (j1_test): Likewise.
17915         (jn_test): Likewise.
17916         (lgamma_test): Likewise.
17917         (log_test): Likewise.
17918         (log10_test): Likewise.
17919         (log1p_test): Likewise.
17920         (log2_test): Likewise.
17921         (logb_test_downward): Likewise.
17922         (pow_test): Likewise.
17923         (pow_test_tonearest): Likewise.
17924         (pow_test_towardzero): Likewise.
17925         (pow_test_downward): Likewise.
17926         (pow_test_upward): Likewise.
17927         (remainder_test): Likewise.
17928         (remquo_test): Likewise.
17929         (sin_test): Likewise.
17930         (sin_test_tonearest): Likewise.
17931         (sin_test_towardzero): Likewise.
17932         (sin_test_downward): Likewise.
17933         (sin_test_upward): Likewise.
17934         (sincos_test): Likewise.
17935         (sinh_test): Likewise.
17936         (sinh_test_tonearest): Likewise.
17937         (sinh_test_towardzero): Likewise.
17938         (sinh_test_downward): Likewise.
17939         (sinh_test_upward): Likewise.
17940         (sqrt_test): Likewise.
17941         (tan_test): Likewise.
17942         (tan_test_tonearest): Likewise.
17943         (tan_test_towardzero): Likewise.
17944         (tan_test_downward): Likewise.
17945         (tan_test_upward): Likewise.
17946         (tanh_test): Likewise.
17947         (tgamma_test): Likewise.
17948         (y0_test): Likewise.
17949         (y1_test): Likewise.
17950         (yn_test): Likewise.
17951
17952         * math/gen-libm-test.pl (adjust_arg): Remove function.
17953         (special_function): Remove argument $in_func.  Only handle
17954         generating output for tables of tests, not inside functions.
17955         (parse_args): Likewise.
17956         (generate_testfile): Remove variable $in_func.  Update call to
17957         parse_args.
17958         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17959         (MINUS_ZERO_INIT): Rename macro to minus_zero.
17960         (PLUS_INFTY_INIT): Rename macro to plus_infty.
17961         (MINUS_INFTY_INIT): Rename macro to minus_infty.
17962         (QNAN_VALUE_INIT): Rename macro to qnan_value.
17963         (MAX_VALUE_INIT): Rename macro to max_value.
17964         (MIN_VALUE_INIT): Rename macro to min_value.
17965         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17966         (plus_zero): Remove variable.
17967         (minus_zero): Likewise.
17968         (plus_infty): Likewise.
17969         (minus_infty): Likewise.
17970         (qnan_value): Likewise.
17971         (max_value): Likewise.
17972         (min_value): Likewise.
17973         (min_subnorm_value): Likewise.
17974
17975 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17976
17977         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17978         uint64_t or uint32_t usage.
17979         * crypt/sha256-block.c: Likewise.
17980         * crypt/sha256-crypt.c: Likewise.
17981         * crypt/sha256.c: Likewise.
17982         * crypt/sha512-block.c: Likewise.
17983         * crypt/sha512-crypt.c: Likewise.
17984         * crypt/sha512.c: Likewise.
17985         * debug/backtrace-tst.c: Likewise.
17986         * debug/pcprofiledump.c: Likewise.
17987         * elf/cache.c: Likewise.
17988         * elf/dl-cache.c: Likewise.
17989         * elf/dl-misc.c: Likewise.
17990         * elf/dl-profile.c: Likewise.
17991         * elf/dl-support.c: Likewise.
17992         * elf/ldconfig.c: Likewise.
17993         * elf/sprof.c: Likewise.
17994         * iconv/dummy-repertoire.c: Likewise.
17995         * iconv/iconv_charmap.c: Likewise.
17996         * iconv/skeleton.c: Likewise.
17997         * iconvdata/8bit-generic.c: Likewise.
17998         * iconvdata/cp737.h: Likewise.
17999         * iconvdata/cp775.h: Likewise.
18000         * iconvdata/ibm1008.h: Likewise.
18001         * iconvdata/ibm1025.h: Likewise.
18002         * iconvdata/ibm1046.h: Likewise.
18003         * iconvdata/ibm1097.h: Likewise.
18004         * iconvdata/ibm1112.h: Likewise.
18005         * iconvdata/ibm1122.h: Likewise.
18006         * iconvdata/ibm1123.h: Likewise.
18007         * iconvdata/ibm1124.h: Likewise.
18008         * iconvdata/ibm1129.h: Likewise.
18009         * iconvdata/ibm1130.h: Likewise.
18010         * iconvdata/ibm1132.h: Likewise.
18011         * iconvdata/ibm1133.h: Likewise.
18012         * iconvdata/ibm1137.h: Likewise.
18013         * iconvdata/ibm1140.h: Likewise.
18014         * iconvdata/ibm1141.h: Likewise.
18015         * iconvdata/ibm1142.h: Likewise.
18016         * iconvdata/ibm1143.h: Likewise.
18017         * iconvdata/ibm1144.h: Likewise.
18018         * iconvdata/ibm1145.h: Likewise.
18019         * iconvdata/ibm1146.h: Likewise.
18020         * iconvdata/ibm1147.h: Likewise.
18021         * iconvdata/ibm1148.h: Likewise.
18022         * iconvdata/ibm1149.h: Likewise.
18023         * iconvdata/ibm1153.h: Likewise.
18024         * iconvdata/ibm1154.h: Likewise.
18025         * iconvdata/ibm1155.h: Likewise.
18026         * iconvdata/ibm1156.h: Likewise.
18027         * iconvdata/ibm1157.h: Likewise.
18028         * iconvdata/ibm1158.h: Likewise.
18029         * iconvdata/ibm1160.h: Likewise.
18030         * iconvdata/ibm1161.h: Likewise.
18031         * iconvdata/ibm1162.h: Likewise.
18032         * iconvdata/ibm1163.h: Likewise.
18033         * iconvdata/ibm1164.h: Likewise.
18034         * iconvdata/ibm1166.h: Likewise.
18035         * iconvdata/ibm1167.h: Likewise.
18036         * iconvdata/ibm12712.h: Likewise.
18037         * iconvdata/ibm1390.h: Likewise.
18038         * iconvdata/ibm1399.h: Likewise.
18039         * iconvdata/ibm16804.h: Likewise.
18040         * iconvdata/ibm4517.h: Likewise.
18041         * iconvdata/ibm4899.h: Likewise.
18042         * iconvdata/ibm4909.h: Likewise.
18043         * iconvdata/ibm4971.h: Likewise.
18044         * iconvdata/ibm5347.h: Likewise.
18045         * iconvdata/ibm803.h: Likewise.
18046         * iconvdata/ibm856.h: Likewise.
18047         * iconvdata/ibm901.h: Likewise.
18048         * iconvdata/ibm902.h: Likewise.
18049         * iconvdata/ibm9030.h: Likewise.
18050         * iconvdata/ibm9066.h: Likewise.
18051         * iconvdata/ibm921.h: Likewise.
18052         * iconvdata/ibm922.h: Likewise.
18053         * iconvdata/ibm9448.h: Likewise.
18054         * iconvdata/isiri-3342.h: Likewise.
18055         * iconvdata/jis0201.h: Likewise.
18056         * include/link.h: Likewise.
18057         * include/netdb.h: Likewise.
18058         * inet/check_native.c: Likewise.
18059         * inet/check_pf.c: Likewise.
18060         * inet/getipv4sourcefilter.c: Likewise.
18061         * inet/getnameinfo.c: Likewise.
18062         * inet/getsourcefilter.c: Likewise.
18063         * inet/htonl.c: Likewise.
18064         * inet/setipv4sourcefilter.c: Likewise.
18065         * inet/setsourcefilter.c: Likewise.
18066         * inet/test-inet6_opt.c: Likewise.
18067         * inet/tst-network.c: Likewise.
18068         * locale/C-collate.c: Likewise.
18069         * locale/C-ctype.c: Likewise.
18070         * locale/C-time.c: Likewise.
18071         * locale/C-translit.h: Likewise.
18072         * locale/loadarchive.c: Likewise.
18073         * locale/programs/3level.h: Likewise.
18074         * locale/programs/charmap.c: Likewise.
18075         * locale/programs/charmap.h: Likewise.
18076         * locale/programs/ld-address.c: Likewise.
18077         * locale/programs/ld-collate.c: Likewise.
18078         * locale/programs/ld-ctype.c: Likewise.
18079         * locale/programs/ld-identification.c: Likewise.
18080         * locale/programs/ld-measurement.c: Likewise.
18081         * locale/programs/ld-messages.c: Likewise.
18082         * locale/programs/ld-monetary.c: Likewise.
18083         * locale/programs/ld-name.c: Likewise.
18084         * locale/programs/ld-numeric.c: Likewise.
18085         * locale/programs/ld-paper.c: Likewise.
18086         * locale/programs/ld-telephone.c: Likewise.
18087         * locale/programs/ld-time.c: Likewise.
18088         * locale/programs/linereader.c: Likewise.
18089         * locale/programs/locale.c: Likewise.
18090         * locale/programs/locarchive.c: Likewise.
18091         * locale/programs/locfile.h: Likewise.
18092         * locale/programs/repertoire.c: Likewise.
18093         * locale/programs/simple-hash.c: Likewise.
18094         * locale/programs/simple-hash.h: Likewise.
18095         * malloc/memusage.c: Likewise.
18096         * malloc/memusagestat.c: Likewise.
18097         * nis/nis_defaults.c: Likewise.
18098         * nis/nis_hash.c: Likewise.
18099         * nis/nis_print.c: Likewise.
18100         * nis/nis_xdr.c: Likewise.
18101         * nscd/connections.c: Likewise.
18102         * nscd/hstcache.c: Likewise.
18103         * nscd/nscd_gethst_r.c: Likewise.
18104         * nscd/nscd_getserv_r.c: Likewise.
18105         * nscd/nscd_helper.c: Likewise.
18106         * nscd/servicescache.c: Likewise.
18107         * nss/makedb.c: Likewise.
18108         * nss/nss_db/db-XXX.c: Likewise.
18109         * nss/nss_db/db-initgroups.c: Likewise.
18110         * nss/nss_db/db-netgrp.c: Likewise.
18111         * nss/nss_files/files-network.c: Likewise.
18112         * nss/nss_files/files-parse.c: Likewise.
18113         * posix/bug-regex5.c: Likewise.
18114         * posix/fnmatch_loop.c: Likewise.
18115         * posix/regcomp.c: Likewise.
18116         * posix/regexec.c: Likewise.
18117         * posix/tst-rfc3484-2.c: Likewise.
18118         * posix/tst-rfc3484-3.c: Likewise.
18119         * posix/tst-rfc3484.c: Likewise.
18120         * resolv/nss_dns/dns-canon.c: Likewise.
18121         * resolv/nss_dns/dns-network.c: Likewise.
18122         * resolv/res_init.c: Likewise.
18123         * resolv/res_mkquery.c: Likewise.
18124         * resolv/tst-aton.c: Likewise.
18125         * stdlib/cxa_atexit.c: Likewise.
18126         * stdlib/cxa_finalize.c: Likewise.
18127         * stdlib/gen-fpioconst.c: Likewise.
18128         * stdlib/strtol_l.c: Likewise.
18129         * string/tst-endian.c: Likewise.
18130         * sunrpc/auth_des.c: Likewise.
18131         * sunrpc/clnt_udp.c: Likewise.
18132         * sunrpc/rtime.c: Likewise.
18133         * sunrpc/svcauth_des.c: Likewise.
18134         * sunrpc/xdr.c: Likewise.
18135         * sunrpc/xdr_intXX_t.c: Likewise.
18136         * sunrpc/xdr_rec.c: Likewise.
18137         * sysdeps/generic/ldconfig.h: Likewise.
18138         * sysdeps/generic/ldsodefs.h: Likewise.
18139         * sysdeps/generic/memusage.h: Likewise.
18140         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18141         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18142         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18143         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18144         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18145         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18146         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18147         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18148         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18149         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18150         * sysdeps/posix/getaddrinfo.c: Likewise.
18151         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18152         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18153         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18154         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18155         * sysdeps/powerpc/test-gettimebase.c: Likewise.
18156         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18157         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18158         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18159         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18160         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18161         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18162         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18163         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18164         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18165         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18166         * sysdeps/x86_64/dl-tls.h: Likewise.
18167         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18168         * time/alt_digit.c: Likewise.
18169         * time/era.c: Likewise.
18170         * wcsmbs/tst-c16c32-1.c: Likewise.
18171
18172 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18173
18174         * math/libm-test.inc (struct test_sincos_data): New type.
18175         (RUN_TEST_LOOP_sincos): New macro.
18176         (sincos_test_data): New variable.
18177         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18178
18179 2013-05-16  Richard Henderson  <rth@redhat.com>
18180
18181         * math/atest-exp2.c (LIMB64): New macro.
18182         (CONSTSZ): New macro.
18183         (mp_exp1, mp_exp_m1, mp_log2): New variables.
18184         (hexdig): Move ...
18185         (print_mpn_fp): ... to function scope.
18186         (read_mpn_hex): Remove.
18187         (get_log2): Remove.
18188         (exp2_mpn): Use mp_log2.
18189         (main): Use mp_exp1.
18190
18191 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18192
18193         * math/libm-test.inc: Remove comment about not testing "inexact"
18194         exceptions.
18195         (INEXACT_EXCEPTION): New macro.
18196         (NO_INEXACT_EXCEPTION): Likewise.
18197         (INVALID_EXCEPTION_OK): Update value.
18198         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18199         (OVERFLOW_EXCEPTION_OK): Likewise.
18200         (UNDERFLOW_EXCEPTION_OK): Likewise.
18201         (IGNORE_ZERO_INF_SIGN): Likewise.
18202         (ERRNO_UNCHANGED): Likewise.
18203         (ERRNO_EDOM): Likewise.
18204         (ERRNO_ERANGE): Likewise.
18205         (test_exceptions): Handle testing "inexact" exceptions.
18206         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18207         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18208         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18209         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18210         INEXACT_EXCEPTION.
18211         (rint_towardzero_test_data): Likewise.
18212         (rint_downward_test_data): Likewise.
18213         (rint_upward_test_data): Likewise.
18214
18215         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18216         with OVERFLOW_EXCEPTION.
18217         (exp10_test_data): Likewise.
18218         (exp2_test_data): Likewise.
18219         (expm1_test_data): Likewise.
18220         (lgamma_test_data): Likewise.
18221         (pow_test_data): Likewise.
18222         (tgamma_test_data): Likewise.
18223         (yn_test_data): Remove duplicate test of overflow.
18224
18225         * math/libm-test.inc (struct test_cc_c_data): New type.
18226         (RUN_TEST_LOOP_cc_c): New macro.
18227         (cpow_test_data): New variable.
18228         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18229
18230         * math/libm-test.inc (struct test_f_L_data): New type.
18231         (RUN_TEST_LOOP_f_L): New macro.
18232         (llrint_test_data): New variable.
18233         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18234         (llrint_tonearest_test_data): New variable.
18235         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18236         (llrint_towardzero_test_data): New variable.
18237         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18238         (llrint_downward_test_data): New variable.
18239         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18240         (llrint_upward_test_data): New variable.
18241         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18242         (llround_test_data): New variable.
18243         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18244
18245 2013-05-13  Peter Collingbourne  <pcc@google.com>
18246
18247         * math/atest-exp2.c (get_log2): Remove const attribute.
18248
18249 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18250
18251         * math/libm-test.inc (struct test_f_l_data): New type.
18252         (RUN_TEST_LOOP_f_l): New macro.
18253         (lrint_test_data): New variable.
18254         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18255         (lrint_tonearest_test_data): New variable.
18256         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18257         (lrint_towardzero_test_data): New variable.
18258         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18259         (lrint_downward_test_data): New variable.
18260         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18261         (lrint_upward_test_data): New variable.
18262         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18263         (lround_test_data): New variable.
18264         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18265
18266 2013-05-15  Peter Collingbourne  <pcc@google.com>
18267
18268         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18269         (EXTRACT_WORDS64) Use where appropriate.
18270         (INSERT_WORDS64) Likewise.
18271
18272         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18273         constraints with x constraints.
18274         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18275
18276         * malloc/obstack.c (_obstack_compat): Add initializer.
18277
18278 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18279
18280         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18281         si_trapno and add si_addr_lsb to _sifields.sigfault.
18282         (si_trapno): Remove macro.
18283         (si_addr_lsb): Define new macro.
18284         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18285
18286 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18287
18288         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18289         instead of TEST_f_l.
18290         (llrint_test_tonearest): Likewise.
18291         (llrint_test_towardzero): Likewise.
18292         (llrint_test_downward): Likewise.
18293         (llrint_test_upward): Likewise.
18294         (llround_test): Likewise.
18295
18296         * math/libm-test.inc (struct test_f_i_data): Add comment.
18297         (RUN_TEST_LOOP_f_b): New macro.
18298         (RUN_TEST_LOOP_f_b_tg): Likewise.
18299         (finite_test_data): New variable.
18300         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18301         (isfinite_test_data): New variable.
18302         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18303         (isinf_test_data): New variable.
18304         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18305         (isnan_test_data): New variable.
18306         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18307         (isnormal_test_data): New variable.
18308         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18309         (issignaling_test_data): New variable.
18310         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18311         (signbit_test_data): New variable.
18312         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18313
18314         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18315         with INVALID_EXCEPTION.
18316         (acosh_test_data): Likewise.
18317         (asin_test_data): Likewise.
18318         (atanh_test_data): Likewise.
18319         (fmod_test_data): Likewise.
18320         (log_test_data): Likewise.
18321         (log10_test_data): Likewise.
18322         (log2_test_data): Likewise.
18323         (pow_test_data): Likewise.
18324         (sqrt_test_data): Likewise.
18325         (y0_test_data): Likewise.
18326         (y1_test_data): Likewise.
18327         (yn_test_data): Likewise.
18328
18329         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18330         function contents.
18331
18332         * math/libm-test.inc (struct test_ff_i_data): New type.
18333         (RUN_TEST_LOOP_ff_i_tg): New macro.
18334         (isgreater_test_data): New variable.
18335         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18336         (isgreaterequal_test_data): New variable.
18337         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18338         (isless_test_data): New variable.
18339         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18340         (islessequal_test_data): New variable.
18341         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18342         (islessgreater_test_data): New variable.
18343         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18344         (isunordered_test_data): New variable.
18345         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18346
18347 2013-05-14  David S. Miller  <davem@davemloft.net>
18348
18349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18350
18351 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
18352
18353         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18354
18355         * math/libm-test.inc (struct test_fF_f1_data): Change type of
18356         extra_test to int.
18357         (struct test_f_i_data): Change type of max_ulp to int.
18358
18359         * math/libm-test.inc (test_ffI_f1_data): New type.
18360         (RUN_TEST_LOOP_ffI_f1): New macro.
18361         (remquo_test_data): New variable.
18362         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18363
18364         * setjmp/tst-setjmp-fp.c: New file.
18365         * setjmp/Makefile (tests): Add tst-setjmp-fp.
18366         (link-libm): New variable.
18367         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18368
18369         * math/libm-test.inc (struct test_f_i_data): New type.
18370         (RUN_TEST_LOOP_f_i): New macro.
18371         (RUN_TEST_LOOP_f_i_tg): Likewise.
18372         (fpclassify_test_data): New variable.
18373         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18374         (ilogb_test_data): New variable.
18375         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18376
18377         * math/libm-test.inc (scalbln_test): Correct function name in END
18378         call.
18379
18380         * math/libm-test.inc (struct test_f_f1_data): Add comment.
18381         (RUN_TEST_LOOP_fI_f1): New macro.
18382         (frexp_test_data): New variable.
18383         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18384
18385         * math/libm-test.inc (struct test_fF_f1_data): New type.
18386         (RUN_TEST_LOOP_fF_f1): New macro.
18387         (modf_test_data): New variable.
18388         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18389
18390         * math/libm-test.inc (struct test_f_f1_data): New type.
18391         (RUN_TEST_LOOP_f_f1): New macro.
18392         (gamma_test_data): New variable.
18393         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18394         (lgamma_test_data): New variable.
18395         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18396
18397 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
18398
18399         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18400         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18401         (main): Comment "tls" pseudo-hwcap.
18402
18403 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
18404
18405         * math/libm-test.inc (struct test_fl_f_data): New type.
18406         (RUN_TEST_LOOP_fl_f): New variable.
18407         (scalbln_test_data): New variable.
18408         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18409
18410         * math/libm-test.inc (struct test_fi_f_data): New type.
18411         (RUN_TEST_LOOP_fi_f): New macro.
18412         (ldexp_test_data): New variable.
18413         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18414         (scalbn_test_data): New variable.
18415         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18416
18417         * math/libm-test.inc (struct test_c_f_data): New type.
18418         (RUN_TEST_LOOP_c_f): New macro.
18419         (cabs_test_data): New variable.
18420         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18421         (carg_test_data): New variable.
18422         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18423         (cimag_test_data): New variable.
18424         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18425         (creal_test_data): New variable.
18426         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18427
18428         * math/libm-test.inc (struct test_if_f_data): New type.
18429         (RUN_TEST_LOOP_if_f): New macro.
18430         (jn_test_data): New variable.
18431         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18432         (yn_test_data): New variable.
18433         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18434
18435         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18436
18437 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18438
18439         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18440         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18441
18442 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18443
18444         * benchtests/Makefile (CPPFLAGS-nonlib): Add
18445         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18446         (bench-deps): Add bench-timing.h.
18447         * benchtests-bench-skeleton.c: Include bench-timing.h.
18448         (main): Use TIMING_* macros instead of clock_gettime.
18449         * benchtests/bench-timing.h: New file.
18450
18451         [BZ #14582]
18452         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18453         Renamed from _LIB_VERSION.
18454         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18455
18456 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
18457
18458         * math/libm-test.inc (struct test_fff_f_data): New type.
18459         (RUN_TEST_LOOP_fff_f): New macro.
18460         (fma_test_data): New variable.
18461         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18462         (fma_towardzero_test_data): New variable.
18463         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18464         (fma_downward_test_data): New variable.
18465         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18466         (fma_upward_test_data): New variable.
18467         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18468
18469         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18470         (struct test_c_c_data): New type.
18471         (RUN_TEST_LOOP_c_c): New macro.
18472         (cacos_test_data): New variable.
18473         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18474         (cacosh_test_data): New variable.
18475         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18476         (casin_test_data): New variable.
18477         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18478         (casinh_test_data): New variable.
18479         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18480         (catan_test_data): New variable.
18481         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18482         (catanh_test_data): New variable.
18483         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18484         (ccos_test_data): New variable.
18485         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18486         (ccosh_test_data): New variable.
18487         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18488         (cexp_test_data): New variable.
18489         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18490         (clog_test_data): New variable.
18491         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18492         (clog10_test_data): New variable.
18493         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18494         (conj_test_data): New variable.
18495         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18496         (cproj_test_data): New variable.
18497         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18498         (csin_test_data): New variable.
18499         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18500         (csinh_test_data): New variable.
18501         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18502         (csqrt_test_data): New variable.
18503         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18504         (ctan_test_data): New variable.
18505         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18506         (ctan_tonearest_test_data): New variable.
18507         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18508         (ctan_towardzero_test_data): New variable.
18509         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18510         (ctan_downward_test_data): New variable.
18511         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18512         (ctan_upward_test_data): New variable.
18513         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18514         (ctanh_test_data): New variable.
18515         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18516         (ctanh_tonearest_test_data): New variable.
18517         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18518         (ctanh_towardzero_test_data): New variable.
18519         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18520         (ctanh_downward_test_data): New variable.
18521         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18522         (ctanh_upward_test_data): New variable.
18523         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18524         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18525         of BUILD_COMPLEX.
18526
18527         * math/libm-test.inc (struct test_ff_f_data): New type.
18528         (struct test_ff_f_data_nexttoward): Likewise.
18529         (RUN_TEST_LOOP_2_f): New macro.
18530         (RUN_TEST_LOOP_ff_f): Likewise.
18531         (atan2_test_data): New variable.
18532         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18533         (copysign_test_data): New variable.
18534         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18535         (fdim_test_data): New variable.
18536         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18537         (fmax_test_data): New variable.
18538         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18539         (fmin_test_data): New variable.
18540         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18541         (fmod_test_data): New variable.
18542         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18543         (hypot_test_data): New variable.
18544         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18545         (nextafter_test_data): New variable.
18546         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18547         (nexttoward_test_data): New variable.
18548         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18549         (pow_test_data): New variable.
18550         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18551         (pow_tonearest_test_data): New variable.
18552         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18553         (pow_towardzero_test_data): New variable.
18554         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18555         (pow_downward_test_data): New variable.
18556         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18557         (pow_upward_test_data): New variable.
18558         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18559         (remainder_test_data): New variable.
18560         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18561         (scalb_test_data): New variable.
18562         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18563         * sysdeps/i386/fpu/libm-test-ulps: Update.
18564
18565 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
18566
18567         * math/libm-test.inc (fma_test): Use max_value instead of local
18568         variable fltmax.
18569         (nextafter_test): Likewise.
18570
18571         * math/libm-test.inc (acos_towardzero_test_data): New variable.
18572         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18573         (acos_downward_test_data): New variable.
18574         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18575         (acos_upward_test_data): New variable.
18576         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18577         (acosh_test_data): New variable.
18578         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18579         (asin_test_data): New variable.
18580         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18581         (asin_tonearest_test_data): New variable.
18582         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18583         (asin_towardzero_test_data): New variable.
18584         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18585         (asin_downward_test_data): New variable.
18586         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18587         (asin_upward_test_data): New variable.
18588         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18589         (asinh_test_data): New variable.
18590         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18591         (atan_test_data): New variable.
18592         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18593         (atanh_test_data): New variable.
18594         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18595         (cbrt_test_data): New variable.
18596         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18597         (ceil_test_data): New variable.
18598         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18599         (cos_test_data): New variable.
18600         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18601         (cos_tonearest_test_data): New variable.
18602         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18603         (cos_towardzero_test_data): New variable.
18604         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18605         (cos_downward_test_data): New variable.
18606         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18607         (cos_upward_test_data): New variable.
18608         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18609         (cosh_test_data): New variable.
18610         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18611         (cosh_tonearest_test_data): New variable.
18612         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18613         (cosh_towardzero_test_data): New variable.
18614         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18615         (cosh_downward_test_data): New variable.
18616         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18617         (cosh_upward_test_data): New variable.
18618         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18619         (erf_test_data): New variable.
18620         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18621         (erfc_test_data): New variable.
18622         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18623         (exp_test_data): New variable.
18624         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18625         (exp_tonearest_test_data): New variable.
18626         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18627         (exp_towardzero_test_data): New variable.
18628         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18629         (exp_downward_test_data): New variable.
18630         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18631         (exp_upward_test_data): New variable.
18632         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18633         (exp10_test_data): New variable.
18634         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18635         (exp2_test_data): New variable.
18636         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18637         (expm1_test_data): New variable.
18638         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18639         (fabs_test_data): New variable.
18640         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18641         (floor_test_data): New variable.
18642         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18643         (j0_test_data): New variable.
18644         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18645         (j1_test_data): New variable.
18646         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18647         (log_test_data): New variable.
18648         (log_test): Run tests with RUN_TEST_LOOP_f_f.
18649         (log10_test_data): New variable.
18650         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18651         (log1p_test_data): New variable.
18652         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18653         (log2_test_data): New variable.
18654         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18655         (logb_test_data): New variable.
18656         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18657         (logb_downward_test_data): New variable.
18658         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18659         (nearbyint_test_data): New variable.
18660         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18661         (rint_test_data): New variable.
18662         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18663         (rint_tonearest_test_data): New variable.
18664         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18665         (rint_towardzero_test_data): New variable.
18666         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18667         (rint_downward_test_data): New variable.
18668         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18669         (rint_upward_test_data): New variable.
18670         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18671         (round_test_data): New variable.
18672         (round_test): Run tests with RUN_TEST_LOOP_f_f.
18673         (sin_test_data): New variable.
18674         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18675         (sin_tonearest_test_data): New variable.
18676         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18677         (sin_towardzero_test_data): New variable.
18678         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18679         (sin_downward_test_data): New variable.
18680         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18681         (sin_upward_test_data): New variable.
18682         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18683         (sinh_test_data): New variable.
18684         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18685         (sinh_tonearest_test_data): New variable.
18686         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18687         (sinh_towardzero_test_data): New variable.
18688         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18689         (sinh_downward_test_data): New variable.
18690         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18691         (sinh_upward_test_data): New variable.
18692         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18693         (sqrt_test_data): New variable.
18694         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18695         (tan_test_data): New variable.
18696         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18697         (tan_tonearest_test_data): New variable.
18698         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18699         (tan_towardzero_test_data): New variable.
18700         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18701         (tan_downward_test_data): New variable.
18702         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18703         (tan_upward_test_data): New variable.
18704         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18705         (tanh_test_data): New variable.
18706         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18707         (tgamma_test_data): New variable.
18708         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18709         (trunc_test_data): New variable.
18710         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18711         (y0_test_data): New variable.
18712         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18713         (y1_test_data): New variable.
18714         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18715         (significand_test_data): New variable.
18716         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18717
18718 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
18719
18720         [BZ #12387]
18721         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18722
18723 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18724
18725         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18726
18727 2013-05-10  Andreas Jaeger  <aj@suse.de>
18728
18729         [BZ #15448]
18730         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18731         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18732
18733 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
18734
18735         * math/gen-libm-test.pl (adjust_arg): New function.
18736         (special_functions): Handle generating output in both functions
18737         and arrays.
18738         (parse_args): Likewise.
18739         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
18740         $in_func argument to parse_args.
18741         * math/libm-test.inc (struct test_f_f_data): New type.
18742         (IF_ROUND_INIT_): New macro.
18743         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18744         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18745         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18746         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18747         (ROUND_RESTORE_): Likewise.
18748         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18749         (ROUND_RESTORE_FE_TONEAREST): Likewise.
18750         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18751         (ROUND_RESTORE_FE_UPWARD): Likewise.
18752         (RUN_TEST_LOOP_f_f): New macro.
18753         (acos_test_data): New variable.
18754         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18755         (acos_tonearest_test_data): New variable.
18756         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18757
18758 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18759
18760         * benchtests/bench-skeleton.c (startup): Fix coding style.
18761
18762 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
18763
18764         [BZ #6809]
18765         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18766         negative infinity argument.
18767         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18768         negative infinity argument.
18769         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18770         negative infinity argument.
18771         * math/libm-test.inc (tgamma_test): Expect errno to be set for
18772         domain errors.
18773
18774 2013-05-10  Florian Weimer  <fweimer@redhat.com>
18775
18776         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18777         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18778         * iconv/iconv_prog.c (main): Likewise.
18779         * locale/programs/charmap-dir.c (charmap_readdir)
18780         (fopen_uncompressed): Likewise.
18781         * locale/programs/locfile.c (siblings_uncached)
18782         (write_locale_data): Use lstat64 instead of lstat.
18783         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18784         stat.
18785
18786 2013-05-10  Andreas Jaeger  <aj@suse.de>
18787
18788         [BZ #15395]
18789         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18790         localization.
18791         Include <locale.h>.
18792
18793 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
18794
18795         * elf/dl-close.c (_dl_close_worker): Add comments.
18796
18797 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
18798
18799         [BZ #15359]
18800         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18801         high part of pi/2.
18802         (__ieee754_rem_pio2l): Update comments.
18803
18804         [BZ #15429]
18805         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18806         high part of pi/2.
18807         (__ieee754_rem_pio2l): Update comments.
18808
18809         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18810         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18811
18812         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18813         M_PI_4l.
18814
18815         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18816         (M_PI_34_LOG10El): Likewise.
18817         (M_PI2_LOG10El): Likewise.
18818         (M_PI4_LOG10El): Likewise.
18819         (M_PI_LOG10El): Likewise.
18820
18821 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18822
18823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18824
18825 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
18826
18827         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18828         (MINUS_ZERO_INIT): Likewise.
18829         (PLUS_INFTY_INIT): Likewise.
18830         (MINUS_INFTY_INIT): Likewise.
18831         (QNAN_VALUE_INIT): Likewise.
18832         (MAX_VALUE_INIT): Likewise.
18833         (MIN_VALUE_INIT): Likewise.
18834         (MIN_SUBNORM_VALUE_INIT): Likewise.
18835         (plus_zero): Initialize with PLUS_ZERO_INIT.
18836         (minus_zero): Initialize with MINUS_ZERO_INIT.
18837         (plus_infty): Initialize with PLUS_INFTY_INIT.
18838         (minus_infty): Initialize with MINUS_INFTY_INIT.
18839         (qnan_value): Initialize with QNAN_VALUE_INIT.
18840         (max_value): Initialize with MAX_VALUE_INIT.
18841         (min_value): Initialize with MIN_VALUE_INIT.
18842         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18843
18844         * math/libm-test.inc (RUN_TEST_if_f): New macro.
18845         (jn_test): Use TEST_if_f instead of TEST_ff_f.
18846         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18847         (yn_test): Use TEST_if_f instead of TEST_ff_f.
18848
18849         * math/libm-test.inc (RUN_TEST_f_f): New macro.
18850         (RUN_TEST_2_f): Likewise.
18851         (RUN_TEST_ff_f): Likewise.
18852         (RUN_TEST_fi_f): Likewise.
18853         (RUN_TEST_fl_f): Likewise.
18854         (RUN_TEST_fff_f): Likewise.
18855         (RUN_TEST_c_f): Likewise.
18856         (RUN_TEST_f_f1): Likewise.
18857         (RUN_TEST_fF_f1): Likewise.
18858         (RUN_TEST_fI_f1): Likewise.
18859         (RUN_TEST_ffI_f1): Likewise.
18860         (RUN_TEST_c_c): Likewise.
18861         (RUN_TEST_cc_c): Likewise.
18862         (RUN_TEST_f_i): Likewise.
18863         (RUN_TEST_f_i_tg): Likewise.
18864         (RUN_TEST_ff_i_tg): Likewise.
18865         (RUN_TEST_f_b): Likewise.
18866         (RUN_TEST_f_b_tg): Likewise.
18867         (RUN_TEST_f_l): Likewise.
18868         (RUN_TEST_f_L): Likewise.
18869         (RUN_TEST_sincos): Likewise.
18870         * math/gen-libm-test.pl (new_test): Take new argument to indicate
18871         whether to show exceptions.  Do not include ");\n" in return
18872         value.
18873         (special_functions): Output call to RUN_TEST_sincos instead of
18874         check_float calls.  Update calls to new_test.
18875         (parse_args): Output call to single RUN_TEST_* macro instead of
18876         check_* calls and other assignments.  Update calls to new_test.
18877
18878         [BZ #2546]
18879         [BZ #2560]
18880         [BZ #5159]
18881         [BZ #15426]
18882         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18883         input to result for tgamma overflow.
18884         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18885         (gamma_coeff): New variable.
18886         (NCOEFF): New macro.
18887         (gamma_positive): New function.
18888         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18889         underflow here.  Use gamma_positive instead of exp (lgamma) for
18890         other arguments.
18891         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18892         (gamma_coeff): New variable.
18893         (NCOEFF): New macro.
18894         (gammaf_positive): New function.
18895         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18896         underflow here.  Use gamma_positive instead of exp (lgamma) for
18897         other arguments.
18898         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18899         (gamma_coeff): New variable.
18900         (NCOEFF): New macro.
18901         (gammal_positive): New function.
18902         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18903         underflow here.  Use gamma_positive instead of exp (lgamma) for
18904         other arguments.
18905         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18906         (gamma_coeff): New variable.
18907         (NCOEFF): New macro.
18908         (gammal_positive): New function.
18909         (__ieee754_gammal_r): Handle positive infinity, overflow and
18910         underflow here.  Handle NaN the same as positive infinity.  Remove
18911         check x < 0xffffffff for negative integers.  Use gamma_positive
18912         instead of exp (lgamma) for other arguments.
18913         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18914         (gamma_coeff): New variable.
18915         (NCOEFF): New macro.
18916         (gammal_positive): New function.
18917         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18918         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18919         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18920         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18921         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18922         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18923         * sysdeps/generic/math_private.h (__gamma_productf): New
18924         prototype.
18925         (__gamma_product): Likewise.
18926         (__gamma_productl): Likewise.
18927         * math/Makefile (libm-calls): Add gamma_product.
18928         * math/libm-test.inc (tgamma_test): Add more tests.
18929         * sysdeps/i386/fpu/libm-test-ulps: Update.
18930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18931
18932 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
18933
18934         * benchtests/bench-skeleton.c (main): Preheat CPU.
18935
18936 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
18937
18938         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18939
18940 2013-05-07  Roland McGrath  <roland@hack.frob.com>
18941
18942         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18943         and _dl_skip_args_internal.
18944
18945 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
18946
18947         * manual/message.texi (Message Translation): Talk about users.
18948         Message to key mapping impacts design.
18949
18950 2013-05-06  Roland McGrath  <roland@hack.frob.com>
18951
18952         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18953
18954         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18955
18956         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18957         * sysdeps/wordsize-64/glob64.c: ... here.
18958
18959         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18960         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18961         New macros.
18962
18963         * debug/getlogin_r_chk.c: Moved to ...
18964         * login/getlogin_r_chk.c: ... here.
18965         * debug/Makefile (routines): Move getlogin_r_chk to ...
18966         * login/Makefile (routines): ... here.
18967         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18968         * login/Versions (libc: GLIBC_2.4): ... here.
18969
18970         * io/poll.c (__poll): Renamed from poll.
18971         Add libc_hidden_def.
18972         (poll): Define as weak alias.
18973
18974         * debug/ptsname_r_chk.c: Moved to ...
18975         * login/ptsname_r_chk.c: ... here.
18976         * debug/Makefile (routines): Move ptsname_r_chk to ...
18977         * login/Makefile (routines): ... here.
18978         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18979         * login/Versions (libc: GLIBC_2.4): ... here.
18980
18981         * posix/getlogin.c: Moved to ...
18982         * login/getlogin.c: ... here.
18983         * posix/getlogin_r.c: Moved to ...
18984         * login/getlogin_r.c: ... here.
18985         * posix/getlogin_r.c: Moved to ...
18986         * login/getlogin_r.c: ... here.
18987         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18988         * login/Makefile (routines): ... here.
18989         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18990         * login/Versions (libc: GLIBC_2.0): ... here.
18991
18992         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18993         (setrlimit): Define as weak alias.
18994
18995         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18996         Call __ names for open, ftruncate, and close.
18997         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18998         (truncate): Define as weak alias.
18999
19000 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
19001
19002         * math/gen-libm-test.pl (parse_args): Initialize x before each
19003         test of frexp, modf and remquo.
19004
19005         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19006         test signgam value.
19007
19008 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19009
19010         [BZ #15418]
19011         [BZ #15419]
19012         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19013         internal tests.
19014         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19015
19016 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19017
19018         * elf/dl-writev.h: New file.
19019         * elf/dl-misc.c: Include it.
19020         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19021         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19022
19023 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
19024
19025         * math/libm-test.inc (noXFails): Remove variable.
19026         (noXPasses): Likewise.
19027         (BUILD_COMPLEX_INT): Remove macro.
19028         (print_screen): Remove xfail argument.
19029         (print_screen_max_error): Likewise.
19030         (update_stats): Likewise.
19031         (print_max_error): Likewise.  Update calls to other affected
19032         functions.
19033         (print_complex_max_error): Likewise.
19034         (test_single_exception): Update calls to print_screen.
19035         (test_single_errno): Likewise.
19036         (check_float_internal): Remove xfail argument.  Update calls to
19037         other affected functions.
19038         (check_float): Likewise.
19039         (check_complex): Likewise.
19040         (check_int): Likewise.
19041         (check_long): Likewise.
19042         (check_bool): Likewise.
19043         (check_longlong): Likewise.
19044         (main): Don't print noXFails and noXPasses.
19045         * math/gen-libm-test.pl (top level): Don't mention expected
19046         failure handling in comment.
19047         (new_test): Don't handle expected failures.
19048         (parse_args): Don't mention expected failure handling in comment.
19049         (generate_testfile): Don't handle expected failures.
19050         (parse_ulps): Likewise.
19051         (print_ulps_file): Likewise.
19052         (get_failure): Remove function.
19053         (output_test): Don't handle expected failures.
19054         * make/README.libm-test: Don't mention expected failure handling.
19055
19056         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
19057         (minus_zero): Likewise.
19058         (plus_infty): Likewise.
19059         (minus_infty): Likewise.
19060         (qnan_value): Likewise.
19061         (max_value): Likewise.
19062         (min_value): Likewise.
19063         (min_subnorm_value): Likewise.
19064         (initialize): Do not initialize those variables dynamically.
19065
19066 2013-05-03  Roland McGrath  <roland@hack.frob.com>
19067
19068         * io/open.c (__open_2): Moved to ...
19069         * io/open_2.c: ... this new file.
19070         * io/open64.c (__open64_2): Moved to ...
19071         * io/open64_2.c: ... this new file.
19072         * io/openat.c (__openat_2): Moved to ...
19073         * io/openat_2.c: ... this new file.
19074         * io/openat64.c (__openat64_2): Moved to ...
19075         * io/openat64_2.c: ... this new file.
19076         * io/Makefile (routines): Add them.
19077         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19078         * sysdeps/unix/sysv/linux/open_2.c: File removed.
19079         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19080         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19081         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19082         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19083         (__openat64): Add hidden_ver.
19084         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19085         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19086
19087         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19088         Separately conditionalize setting of GLRO(dl_sysinfo) so
19089         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19090         as well, but the actual setting is only under [NEED_DL_SYSINFO].
19091
19092 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19093
19094         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19095         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19096         definition.
19097         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19098         * sysdeps/unix/sysv/linux/powerpc/init-first.c
19099         (_libc_vdso_platform_setup): Add __vdso_time initialization.
19100         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19101         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19102
19103 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
19104
19105         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19106         test signgam value.
19107
19108         * math/libm-test.inc (hypot_test): Do not use
19109         IGNORE_ZERO_INF_SIGN.
19110
19111 2013-05-03  Andreas Jaeger  <aj@suse.de>
19112
19113         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19114         Linux 3.9.
19115         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19116         (PF_MAX): Adjust for VSOCK change.
19117
19118 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19119
19120         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19121
19122 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
19123
19124         [BZ #15264]
19125         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19126         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19127         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19128
19129 2013-05-02  David S. Miller  <davem@davemloft.net>
19130
19131         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19132
19133 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
19134
19135         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19136
19137 2013-05-01  Roland McGrath  <roland@hack.frob.com>
19138
19139         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19140
19141 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
19142
19143         [BZ #14952]
19144         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19145         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19146         Use __attribute__ ((__gnu_inline__)).
19147         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19148         Don't use __attribute__ ((__gnu_inline__)).
19149
19150 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
19151
19152         [BZ #15423]
19153         * math/s_catan.c (__catan): Handle small real or imaginary part of
19154         input specially to avoid spurious underflow.
19155         * math/s_catanf.c (__catanf): Likewise.
19156         * math/s_catanh.c (__catanh): Likewise.
19157         * math/s_catanhf.c (__catanhf): Likewise.
19158         * math/s_catanhl.c (__catanhl): Likewise.
19159         * math/s_catanl.c (__catanl): Likewise.
19160         * math/libm-test.inc (catan_test): Add more tests.
19161         (catanh_test): Likewise.
19162         * sysdeps/i386/fpu/libm-test-ulps: Update.
19163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19164
19165 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19166
19167         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19168
19169 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
19170
19171         [BZ #15416]
19172         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19173         accurately for denominator in atan2.
19174         * math/s_catanf.c (__catanf): Likewise.
19175         * math/s_catanh.c (__catanh): Likewise.
19176         * math/s_catanhf.c (__catanhf): Likewise.
19177         * math/s_catanhl.c (__catanhl): Likewise.
19178         * math/s_catanl.c (__catanl): Likewise.
19179         * math/libm-test.inc (catan_test): Add more tests.
19180         (catanh_test): Likewise.
19181         * sysdeps/i386/fpu/libm-test-ulps: Update.
19182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19183
19184 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19185
19186         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19187
19188         * benchtests/Makefile (bench): Remove slow benchmarks.
19189         * benchtests/atan-inputs: Add slow benchmark inputs.
19190         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19191         (BENCH_FUNC): Accept variant offset.
19192         (VARIANT): Define.
19193         * benchtests/bench-skeleton.c (main): Run benchmark for each
19194         variant.
19195         * benchtests/cos-inputs: Add slow benchmark inputs.
19196         * benchtests/exp-inputs: Likewise.
19197         * benchtests/pow-inputs: Likewise.
19198         * benchtests/sin-inputs: Likewise.
19199         * benchtests/slowatan-inputs: Remove.
19200         * benchtests/slowatan.c: Remove.
19201         * benchtests/slowcos-inputs: Remove.
19202         * benchtests/slowcos.c: Remove.
19203         * benchtests/slowexp-inputs: Remove.
19204         * benchtests/slowexp.c: Remove.
19205         * benchtests/slowpow-inputs: Remove.
19206         * benchtests/slowpow.c: Remove.
19207         * benchtests/slowsin-inputs: Remove.
19208         * benchtests/slowsin.c: Remove.
19209         * benchtests/slowtan-inputs: Remove.
19210         * benchtests/slowtan.c: Remove.
19211         * benchtests/tan-inputs: Add slow benchmark inputs.
19212         * scripts/bench.pl: Parse comments and directives.
19213
19214         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
19215         in CPPFLAGS.
19216         ($(objpfx)bench-%.c): Remove *-ITER.
19217         * benchtests/bench-modf.c: Remove definition of ITER.
19218         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19219         (main): Loop for DURATION seconds instead of fixed number of
19220         iterations.
19221         * scripts/bench.pl: Don't expect iterations in parameters.
19222
19223 2013-04-29  Roland McGrath  <roland@hack.frob.com>
19224
19225         * io/fchdir.c (__fchdir): Renamed from fchdir.
19226         (fchdir): Define as weak alias.
19227
19228 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19229
19230         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19231         (ERRNO_EDOM): Likewise.
19232         (ERRNO_ERANGE): Likewise.
19233         (noErrnoTests): New variable.
19234         (init_max_error): Set errno to 0.
19235         (test_single_errno): New function.
19236         (test_errno): Likewise.
19237         (check_float_internal): Call test_errno.  Set errno to 0.
19238         (check_complex): Refer to errno tests in comment.
19239         (check_int): Call test_errno.  Set errno to 0.
19240         (check_long): Likewise.
19241         (check_bool): Likewise.
19242         (check_longlong): Likewise.
19243         (cos_test): Use ERRNO_* flags for errno tests instead of
19244         check_int.
19245         (expm1_test): Likewise.
19246         (fmod_test): Likewise.
19247         (ilogb_test): Likewise.
19248         (lgamma_test): Likewise.
19249         (pow_test): Likewise.
19250         (remainder_test): Likewise.
19251         (sin_test): Likewise.
19252         (tan_test): Likewise.
19253         (yn_test): Likewise.
19254         (initialize): Set errno to 0.
19255         (main): Print number of errno tests.
19256         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19257
19258 2013-04-29  Andreas Jaeger  <aj@suse.de>
19259
19260         [BZ #15084]
19261         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19262         and RES_USEVC.
19263
19264         [BZ #15085]
19265         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19266         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19267         unimplemented.
19268
19269         [BZ #15380]
19270         * stdlib/random.c (__initstate): Return NULL if
19271         __initstate fails.
19272
19273         [BZ #15086]
19274         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19275         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19276         RES_SNGLKUPREOP.
19277
19278 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19279
19280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19281
19282 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19283
19284         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19285         of individual tests.
19286         (casin_test): Likewise.
19287         (casinh_test): Likewise.
19288
19289 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
19290
19291         [BZ #15409]
19292         * math/s_catan.c (__catan): Handle arguments with large real or
19293         imaginary part separately without squaring.
19294         * math/s_catanf.c (__catanf): Likewise.
19295         * math/s_catanh.c (__catanh): Likewise.
19296         * math/s_catanhf.c (__catanhf): Likewise.
19297         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19298         and redefine.
19299         (__catanhl): Handle arguments with large real or imaginary part
19300         separately without squaring.
19301         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19302         and redefine.
19303         (__catanl): Handle arguments with large real or imaginary part
19304         separately without squaring.
19305         * math/libm-test.inc (catan_test): Add more tests.
19306         (catanh_test): Likewise.
19307         * sysdeps/i386/fpu/libm-test-ulps: Update.
19308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19309
19310 2013-04-27  Andreas Jaeger  <aj@suse.de>
19311
19312         [BZ #15007]
19313         * stdlib/stdlib.h: Update guards for qecvt.
19314         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19315         <stdlib.h>.
19316
19317 2013-04-27  Allan McRae  <allan@archlinux.org>
19318
19319         * sysdeps/i386/fpu/libm-test-ulps: Update.
19320
19321 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
19322
19323         [BZ #15406]
19324         * math/s_catan.c: Include <float.h>.
19325         (__catan): Ensure underflow exception occurs for underflowed
19326         result.
19327         * math/s_catanf.c: Include <float.h>.
19328         (__catanf): Ensure underflow exception occurs for underflowed
19329         result.
19330         * math/s_catanh.c: Include <float.h>.
19331         (__catanh): Ensure underflow exception occurs for underflowed
19332         result.
19333         * math/s_catanhf.c: Include <float.h>.
19334         (__catanhf): Ensure underflow exception occurs for underflowed
19335         result.
19336         * math/s_catanhl.c: Include <float.h>.
19337         (__catanhl): Ensure underflow exception occurs for underflowed
19338         result.
19339         * math/s_catanl.c: Include <float.h>.
19340         (__catanl): Ensure underflow exception occurs for underflowed
19341         result.
19342         * math/libm-test.inc (catan_test): Add more tests.
19343         (catanh_test): Likewise.
19344
19345         [BZ #15405]
19346         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19347         underflowed result.
19348         * math/s_ccoshf.c (__ccoshf): Likewise.
19349         * math/s_ccoshl.c (__ccoshl): Likewise.
19350         * math/s_csin.c (__csin): Likewise.
19351         * math/s_csinf.c (__csinf): Likewise.
19352         * math/s_csinh.c (__csinh): Likewise.
19353         * math/s_csinhf.c (__csinhf): Likewise.
19354         * math/s_csinhl.c (__csinhl): Likewise.
19355         * math/s_csinl.c (__csinl): Likewise.
19356         * math/libm-test.inc (ccos_test): Add more tests.
19357         (ccosh_test): Likewise.
19358         (csin_test): Likewise.
19359         (csinh_test): Likewise.
19360
19361 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19362
19363         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19364         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19365         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19366         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19367         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19368         powerpc/power5+/fpu folders.
19369         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19370
19371
19372 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19373
19374         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19375
19376 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
19377
19378         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19379         additions to variable.
19380         [$(config-machine) = x86_64] (modules-names): Likewise.
19381         ($(objpfx)tst-audit3): Remove dependency.
19382         ($(objpfx)tst-audit3.out): Likewise.
19383         ($(objpfx)tst-audit4): Likewise.
19384         ($(objpfx)tst-audit4.out): Likewise.
19385         ($(objpfx)tst-audit5): Likewise.
19386         ($(objpfx)tst-audit5.out): Likewise.
19387         ($(objpfx)tst-audit6): Likewise.
19388         ($(objpfx)tst-audit6.out): Likewise.
19389         ($(objpfx)tst-audit7): Likewise.
19390         ($(objpfx)tst-audit7.out): Likewise.
19391         (tst-audit3-ENV): Remove variable.
19392         (tst-audit4-ENV): Likewise.
19393         (tst-audit5-ENV): Likewise.
19394         (tst-audit6-ENV): Likewise.
19395         (tst-audit7-ENV): Likewise.
19396         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19397         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19398         addition to variable.
19399         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19400         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19401         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19402         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19403         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19404         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19405         tst-audit3, tst-audit4 and tst-audit5.
19406         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19407         tst-audit6 and tst-audit7.
19408         [$(subdir) = elf] (modules-names): Add audit modules for those
19409         tests.
19410         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19411         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19412         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19413         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19414         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19415         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19416         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19417         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19418         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19419         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19420         [$(subdir) = elf] (tst-audit3-ENV): New variable.
19421         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19422         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19423         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19424         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19425         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19426         Likewise.
19427         [$(subdir) = elf && $(config-cflags-avx) = yes]
19428         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19429         [$(subdir) = elf && $(config-cflags-avx) = yes]
19430         (CFLAGS-tst-auditmod4a.c): Likewise.
19431         [$(subdir) = elf && $(config-cflags-avx) = yes]
19432         (CFLAGS-tst-auditmod4b.c): Likewise.
19433         [$(subdir) = elf && $(config-cflags-avx) = yes]
19434         (CFLAGS-tst-auditmod6b.c): Likewise.
19435         [$(subdir) = elf && $(config-cflags-avx) = yes]
19436         (CFLAGS-tst-auditmod6c.c): Likewise.
19437         [$(subdir) = elf && $(config-cflags-avx) = yes]
19438         (CFLAGS-tst-auditmod7b.c): Likewise.
19439         * elf/tst-audit3.c: Move to ...
19440         * sysdeps/x86_64/tst-audit3.c: ... here.
19441         * elf/tst-audit4.c: Move to ...
19442         * sysdeps/x86_64/tst-audit4.c: ... here.
19443         * elf/tst-audit5.c: Move to ...
19444         * sysdeps/x86_64/tst-audit5.c: ... here.
19445         * elf/tst-audit6.c: Move to ...
19446         * sysdeps/x86_64/tst-audit6.c: ... here.
19447         * elf/tst-audit7.c: Move to ...
19448         * sysdeps/x86_64/tst-audit7.c: ... here.
19449         * elf/tst-auditmod3a.c: Move to ...
19450         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19451         * elf/tst-auditmod3b.c: Move to ...
19452         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19453         * elf/tst-auditmod4a.c: Move to ...
19454         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19455         * elf/tst-auditmod4b.c: Move to ...
19456         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19457         * elf/tst-auditmod5a.c: Move to ...
19458         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19459         * elf/tst-auditmod5b.c: Move to ...
19460         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19461         * elf/tst-auditmod6a.c: Move to ...
19462         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19463         * elf/tst-auditmod6b.c: Move to ...
19464         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19465         * elf/tst-auditmod6c.c: Move to ...
19466         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19467         * elf/tst-auditmod7a.c: Move to ...
19468         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19469         * elf/tst-auditmod7b.c: Move to ...
19470         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19471
19472 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
19473
19474         [BZ #15366]
19475         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19476         define unconditionally.
19477         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19478         define unconditionally.
19479         (INT8_C, INT16_C, etc.): Likewise.
19480
19481 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
19482
19483         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19484         __ehdr_start with hidden visibility.
19485
19486         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19487
19488 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
19489
19490         * math/libm-test.inc (cos_test): Use accurate hex constants.
19491         (sincost_test): Likewise.
19492
19493 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
19494
19495         * math/libm-test.inc (catan_test): Add more tests.
19496         (catanh_test): Likewise.
19497
19498         * math/s_catanf.c (__catanf): Use suffixed floating-point
19499         constants.
19500         * math/s_catanhf.c (__catanhf): Likewise.
19501         * math/s_catanhl.c (__catanhl): Likewise.
19502         * math/s_catanl.c (__catanl): Likewise.
19503
19504         [BZ #15394]
19505         * math/s_catan.c (__catan): Calculate imaginary part of result
19506         with log1p not log unless computing log of number close to 0.
19507         * math/s_catanf.c (__catanf): Likewise.
19508         * math/s_catanl.c (__catanl): Likewise.
19509         * math/s_catanh.c (__catanh): Calculate real part of result with
19510         log1p not log unless computing log of number close to 0.
19511         * math/s_catanhf.c (__catanhf): Likewise.
19512         * math/s_catanhl.c (__catanhl): Likewise.
19513         * math/libm-test.inc (catan_test): Add more tests.
19514         (catanh_test): Likewise.
19515         * sysdeps/i386/fpu/libm-test-ulps: Update.
19516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19517
19518 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19519
19520         * benchtests/Makefile: Mention files in which fast and slow
19521         paths of math functions are implemented.
19522
19523 2013-04-23  Roland McGrath  <roland@hack.frob.com>
19524
19525         * sysdeps/posix/timespec_get.c: New file.
19526
19527 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19528
19529         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19530         POWER.
19531         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19532         for POWER.
19533         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19534         powerpc/power5/fpu folders.
19535         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19536         * benchtests/Makefile: Add modf testcase.
19537         * benchtests/bench-modf.c: New file: Benchmark test for mo
19538
19539 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19540
19541         [BZ #14888]
19542         * time/Makefile (tests): Add tst-strptime-whitespace.
19543         * time/strptime_l.c (get_number): Use ISSPACE.
19544         (__strptime_internal): Likewise.
19545         * time/tst-strptime-whitespace.c: New test case.
19546
19547 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
19548
19549         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19550         member.
19551         (_nss_files_init): Set it here.
19552
19553 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
19554
19555         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19556         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19557         unsigned.
19558
19559 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
19560
19561         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19562
19563 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19564
19565         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19566         size just once.
19567
19568 2013-04-21  David S. Miller  <davem@davemloft.net>
19569
19570         * po/ru.po: Update Russion translation from translation project.
19571
19572 2013-04-17  Adam Conrad  <adconrad@0c3.net>
19573
19574         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19575         and setfsgid.
19576
19577 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
19578
19579         * configure.in: Remove i386 configure warning. Remove i386 case.
19580         * configure: Regenerate.
19581         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19582         Add example to error message.
19583         * sysdeps/i386/configure: Regenerate.
19584
19585 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19586
19587         * benchtests/Makefile (bench): Add cos, tan, slowcos and
19588         slowtan.
19589         * benchtests/cos-inputs: New file.
19590         * benchtests/slowcos-inputs: New file.
19591         * benchtests/slowcos.c: New file.
19592         * benchtests/slowtan-inputs: New file.
19593         * benchtests/slowtan.c: New file.
19594         * benchtests/tan-inputs: New file.
19595
19596 2013-04-16  Roland McGrath  <roland@hack.frob.com>
19597
19598         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19599         considered kosher.
19600
19601 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19602
19603         * benchtests/Makefile: Include cppflags-iterator.mk to add
19604         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19605
19606         * Makefile.in (bench-clean): New target.
19607         * benchtests/Makefile (bench-clean): Likewise.
19608
19609 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
19610
19611         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19612
19613 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
19614
19615         * stdio-common/tstdiomisc.c: Fix coding-style violation.
19616
19617 2013-04-15  Andreas Schwab  <schwab@suse.de>
19618
19619         * nscd/grpcache.c (cache_addgr): Properly check for short write.
19620         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19621         * nscd/pwdcache.c (cache_addpw): Likewise.
19622         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
19623         more than recsize.
19624
19625 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19626
19627         * benchtests/Makefile (bench): Write all output to
19628         bench-out.tmp together.
19629
19630 2013-04-15  Andreas Schwab  <schwab@suse.de>
19631
19632         * nscd/nscd.c (main): Don't fork again after closing files.
19633
19634 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19635
19636         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19637
19638         * benchtests/Rules (bench-deps): Collect dependencies into a
19639         single variable.  Add Makefile to dependencies.
19640         ($(objpfx)bench-%.c): Depend on bench-deps.
19641
19642 2013-04-12  Roland McGrath  <roland@hack.frob.com>
19643             Xavier Roche  <roche+kml2@exalead.com>
19644
19645         [BZ #15361]
19646         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19647         just that it's a file descriptor.
19648         * manual/llio.texi (Synchronizing AIO Operations): Update description
19649         for EBADF error from aio_fsync.
19650
19651 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19652
19653         * Rules (bench): Move target definition...
19654         * benchtests/Makefile: ... here.
19655
19656 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
19657
19658         * math/libm-test.inc (cos_test): Fix PI/2 test.
19659         (sincos_test): Likewise.
19660         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19661         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19662
19663 2013-04-11  Andreas Schwab  <schwab@suse.de>
19664
19665         [BZ #13988]
19666         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19667         accept exponent character only when digits were seen.
19668         * stdio-common/Makefile (tests): Add bug26.
19669         * stdio-common/bug26.c: New file.
19670
19671         [BZ #14293]
19672         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19673         non-freeable.
19674
19675 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19676
19677         * Makeconfig (rtld-prefix): Define built linker prefix.
19678         * Rules (run-bench): Use it.
19679         * math/Makefile (run-regen-ulps): Likewise.
19680
19681         * Rules (bench): Remove eval.
19682
19683 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19684             Roland McGrath  <roland@hack.frob.com>
19685             Ondrej Bilka  <neleai@seznam.cz>
19686
19687         [BZ #15346]
19688         * time/getdate.c: Include ctype.h and alloca.h.
19689         (__getdate_r): Trim leading and trailing spaces of input.
19690         * time/tst-getdate.c (tests): Add tests with leading and
19691         trailing spaces.
19692
19693 2013-04-08  Roland McGrath  <roland@hack.frob.com>
19694
19695         [BZ #14280]
19696         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19697         when computing value.
19698
19699 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19700
19701         * math/README.libm-test (How can I generate "libm-test-ulps"?):
19702         Use testrun.sh to run libm tests.
19703
19704         [BZ #15309]
19705         * elf/dl-open.c (dl_open_worker): memset all of seen array.
19706
19707 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
19708
19709         [BZ #15264]
19710         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19711
19712 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19713
19714         * Makefile.in (regen-ulps): New target.
19715         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19716         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19717         [ifneq (no,$(PERL)] (regen-ulps): New target.
19718         [ifeq (no,$(PERL)] (regen-ulps): New target.
19719         * math/libm-test.inc (ulps_file_name): Define.
19720         (output_dir): New variable.
19721         (options): Add "output-dir" option.
19722         (parse_opt): Handle 'o' case.
19723         (main): If output_dir is non-NULL use it as a prefix
19724         otherwise use "".
19725         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19726
19727 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19728
19729         [BZ #10060, #10062]
19730         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19731         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19732         fail configure if __sync_val_compare_and_swap is not inlined.
19733         * sysdeps/i386/configure: Regenerate.
19734         * configure.in: Build for i686 when configured for i386.
19735         * configure: Regenerate.
19736         * README: Remove i386 reference.
19737
19738 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19739
19740         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19741         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19742
19743 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
19744
19745         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19746         (lmsnanval): New variables.
19747         (F): Add conversion tests.
19748         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19749         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19750
19751         * stdio-common/tstdiomisc.c (F): Properly collect individual
19752         tests' results.
19753
19754         [BZ #14686, #15336]
19755         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19756         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19757         Instead, use input NaN values or generate a qNaN by arithmetic
19758         operation.  Also fix bugs to comply with the standard.
19759         * math/libm-test.inc (remainder_test): Add more tests.
19760
19761         [BZ #15335, #15342]
19762         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19763         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19764         input NaN values or generate a qNaN by arithmetic operation.
19765
19766         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19767         unreachable code.
19768
19769         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19770         definitions.
19771
19772 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
19773
19774         [BZ #14478]
19775         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19776         underflowed result.
19777         * math/s_cexpf.c (__cexpf): Likewise.
19778         * math/s_cexpl.c (__cexpl): Likewise.
19779         * math/libm-test.inc (cexp_test): Add more tests.
19780
19781 2013-04-03  Andreas Schwab  <schwab@suse.de>
19782
19783         [BZ #15330]
19784         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19785         order arrays from heap if bigger than alloca cutoff.
19786
19787 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
19788
19789         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19790         (SNAN_TESTS_double): Refer to GCC PR56831.
19791         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19792         GCC PR56828.
19793
19794 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19795
19796         * Rules (bench): Move bench.out after the run is complete.
19797
19798         * Rules (bench): Echo currently running benchmark.
19799
19800         * benchtests/Makefile (bench): Add atan and slowatan.
19801         * benchtests/atan-inputs: New file.
19802         * benchtests/slowatan-inputs: New file.
19803         * benchtests/slowatan.c: New file.
19804
19805         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19806         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19807         its value.
19808
19809         [BZ #15305]
19810         * sysdeps/unix/sysv/linux/kernel-features.h
19811         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19812         __ASSUME_XFS_RESTRICTED_CHOWN.
19813         * sysdeps/unix/sysv/linux/pathconf.c
19814         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19815         Save and restore errno.
19816
19817 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
19818
19819         [BZ #15327]
19820         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19821         arguments using __kernel_casinh.
19822         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19823         arguments using __kernel_casinhf.
19824         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19825         arguments using __kernel_casinhl.
19826         * math/libm-test.inc (cacosh_test): Add more tests.
19827         * sysdeps/i386/fpu/libm-test-ulps: Update.
19828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19829
19830 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19831
19832         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19833         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19834
19835         * bench/Makefile (bench): Add sin and slowsin.
19836         * benchtests/sin-inputs: New file.
19837         * benchtests/slowsin-inputs: New file.
19838         * benchtests/slowsin.c: New file.
19839
19840         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19841         (bench): Add slowexp and slowpow.
19842         (exp-ITER): Increase iterations.
19843         (pow-ITER): Likewise.
19844         * benchtests/exp-inputs: Change input.
19845         * benchtests/pow-inputs: Likewise.
19846         * benchtests/slowexp-inputs: New file.
19847         * benchtests/slowexp.c: New file.
19848         * benchtests/slowpow-inputs: New file.
19849         * benchtests/slowpow.c: New file.
19850
19851 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19852
19853         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19854         instructions.
19855         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19856         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19857         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19858         * benchtests/Makefile: Add rint benchtest.
19859         * benchtests/rint-inputs: Input for rint benchtest.
19860
19861 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
19862
19863         * Versions.def (libm): Add GLIBC_2.18.
19864         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19865         hidden libm prototypes.
19866         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19867         * math/Makefile (libm-calls): Add s_issignaling.
19868         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19869         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
19870         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19871         declaration.
19872         * math/math.h [__USE_GNU] (issignaling): New macro.
19873         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19874         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19875         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19876         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19877         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19878         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19879         * manual/arith.texi (issignaling): New section.
19880         * manual/libm-err-tab.pl (@all_functions): Update comment.
19881         * math/gen-libm-test.pl (parse_args): Apply special handling for
19882         issignaling.
19883         * math/libm-test.inc (print_float, issignaling_test): New
19884         functions.
19885         (check_float_internal): Add issignaling checks.
19886         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19887         default definition.
19888         * sysdeps/powerpc/math-tests.h: New file.
19889         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19890         tests.
19891         * math/test-snan.c (TEST_FUNC): Likewise.
19892
19893 2013-03-30  David S. Miller  <davem@davemloft.net>
19894
19895         * po/de.po: Update from translation team.
19896
19897 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
19898
19899         [BZ #10357]
19900         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19901         imaginary part less than 1.0 and real part less than 0.5
19902         specially.
19903         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19904         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19905         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19906         (cacos_test): Add more tests.
19907         (casin_test): Likewise.
19908         (casinh_test): Likewise.
19909         * sysdeps/i386/fpu/libm-test-ulps: Update.
19910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19911
19912 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19913
19914         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19915         ONE with its value.
19916
19917         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19918         (__pow_mp): Replace ONE and MONE with their values.
19919         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19920         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19921         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19922         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19923         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19924         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19925
19926         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19927
19928         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19929         (__pow_mp): Replace ZERO and MZERO with their values.
19930         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19931         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19932         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19933         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19934         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19935         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19936         (__sqr): Likewise.
19937
19938         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19939
19940         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19941
19942 2013-03-28  Roland McGrath  <roland@hack.frob.com>
19943
19944         * include/stdlib.h [!SHARED] (__call_tls_dtors):
19945         Declare with __attribute__ ((weak)).
19946         * stdlib/exit.c (__libc_atexit) [!SHARED]:
19947         Call __call_tls_dtors only if it's not NULL.
19948
19949 2013-03-28  Roland McGrath  <roland@hack.frob.com>
19950
19951         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19952         didn't do it already, then set _dl_phdr and _dl_phnum based on the
19953         magic __ehdr_start linker symbol if it's defined.
19954         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19955         them up here if it was already done.
19956
19957         * elf/dl-support.c (_dl_phdr): Make pointer to const.
19958         (_dl_aux_init): Use const in cast when setting it.
19959         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19960         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19961         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19962
19963         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19964         Declare them here.
19965         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19966         * csu/libc-tls.c: Nor here.
19967         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19968
19969         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19970         (__libc_message): Never call vsyslog.
19971
19972 2013-03-28  Alan Modra  <amodra@gmail.com>
19973
19974         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19975         Define as empty.
19976         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19977         Likewise.
19978
19979 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19980
19981         [BZ #15214]
19982         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19983         underflow.
19984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19985
19986 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19987
19988         [BZ #15304]
19989         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19990         Don't add gid passed as argument.
19991
19992         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19993
19994 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
19995
19996         [BZ #15307]
19997         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19998         imaginary part between 1.0 and 1.5 and real part less than 0.5
19999         specially.
20000         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20001         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20002         * math/libm-test.inc (cacos_test): Add more tests.
20003         (casin_test): Likewise.
20004         (casinh_test): Likewise.
20005         * sysdeps/i386/fpu/libm-test-ulps: Update.
20006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20007
20008 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20009
20010         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20011         constants.
20012         (norm): Likewise.
20013         (denorm): Likewise.
20014         (__dbl_mp): Likewise.
20015         (add_magnitudes): Likewise.
20016         (sub_magnitudes): Likewise.
20017         (__add): Likewise.
20018         (__sub): Likewise.
20019         (__mul): Likewise.
20020         (__sqr): Likewise.
20021         (__inv): Likewise.
20022         (__dvd): Likewise.
20023
20024         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20025         commented code.
20026         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20027         (__dubcos): Likewise.
20028         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20029         (__ieee754_acos): Likewise.
20030         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20031         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20032         (__exp1): Likewise.
20033         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20034         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20035         (log1): Likewise.
20036         (my_log2): Likewise.
20037         (checkint): Likewise.
20038         * sysdeps/ieee754/dbl-64/e_remainder.c
20039         (__ieee754_remainder): Likewise.
20040         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20041         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20042         (bsloww): Likewise.
20043         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20044
20045         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20046         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20047         MANTISSA_STORE_T to store computations on mantissa.  Use
20048         macros for rounding and division.
20049         (denorm): Likewise.
20050         (__dbl_mp): Likewise.
20051         (add_magnitudes): Likewise.
20052         (sub_magnitudes): Likewise.
20053         (__mul): Likewise.
20054         (__sqr): Likewise.
20055         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20056         powers of two in terms of TWOPOW macro.
20057         (mp_no): Make type of mantissa as MANTISSA_T.
20058         [!RADIXI]: Define RADIXI.
20059         [!TWO52]: Define TWO52.
20060         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20061
20062 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20063
20064         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20065         llroundl symbol when building for PPC32.
20066
20067 2013-03-24  Mark H Weaver  <mhw@netris.org>
20068
20069         * manual/arith.texi (Normalization Functions): Fix prototypes for
20070         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20071
20072 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20073
20074         [BZ #13889]
20075         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20076         high value to check if expl overflow.
20077         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20078         to check for underflow and overflow.
20079         * math/libm-test.inc: Add exp test.
20080
20081 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
20082
20083         [BZ #11120]
20084         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20085         with NOT_IN_libc.
20086
20087 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20088
20089         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20090         symbol.
20091
20092 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20093
20094         * math/gen-libm-test.pl (parse_args, special_functions): Properly
20095         wrap blocks consisting of several statements.
20096
20097         * sysdeps/generic/math-tests.h: New file.
20098         * sysdeps/i386/fpu/math-tests.h: Likewise.
20099         * math/test-snan.c: Include it.
20100         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20101
20102 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20103
20104         [BZ #15285]
20105         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20106         (__ieee754_j0l): Do not improve calculations using cos of twice
20107         input for inputs above LDBL_MAX / 2.0L.
20108         (__ieee754_y0l): Likewise.
20109         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20110         (__ieee754_j1l): Do not improve calculations using cos of twice
20111         input for inputs above LDBL_MAX / 2.0L.
20112         (__ieee754_y1l): Likewise.
20113         * math/libm-test.inc (j0_test): Add another test.
20114         (j1_test): Likewise.
20115         (y0_test): Likewise.
20116         (y1_test): Likewise.
20117         * sysdeps/i386/fpu/libm-test-ulps: Update.
20118
20119 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20120
20121         * Rules ($(objpfx)bench-%.c): Include code from a C source
20122         file.
20123
20124 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20125
20126         [BZ #15287]
20127         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20128         imaginary part 1.0 and real part less than 0.5 specially.
20129         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20130         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20131         * math/libm-test.inc (cacos_test): Add more tests.
20132         (casin_test): Likewise.
20133         (casinh_test): Likewise.
20134         * sysdeps/i386/fpu/libm-test-ulps: Update.
20135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20136
20137 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20138
20139         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20140         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20141
20142 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
20143
20144         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20145         * config.make.in (config-cflags-sse4): Remove variable.
20146         (config-cflags-avx): Likewise.
20147         (config-cflags-sse2avx): Likewise.
20148         (config-cflags-novzeroupper): Likewise.
20149         (config-asflags-i686): Likewise.
20150         (have-mfma4): Likewise.
20151         (have-as-vis3): Likewise.
20152         (MIG): Likewise.
20153         * configure.in (MIG): Do not AC_SUBST.
20154         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20155         (libc_cv_cc_sse4): Do not AC_SUBST.
20156         (libc_cv_cc_avx): Likewise.
20157         (libc_cv_cc_sse2avx): Likewise.
20158         (libc_cv_cc_novzeroupper): Likewise.
20159         (libc_cv_cc_fma4): Likewise.
20160         (libc_cv_as_i686): Likewise.
20161         (libc_cv_sparc_as_vis3): Likewise.
20162         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20163         LIBC_CONFIG_VAR.
20164         (config-asflags-i686): Likewise.
20165         (config-cflags-avx): Likewise.
20166         (config-cflags-sse2avx): Likewise.
20167         (have-mfma4): Likewise.
20168         (config-cflags-novzeroupper): Likewise.
20169         * sysdeps/mach/configure.in (MIG): Likewise.
20170         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20171         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20172         LIBC_CONFIG_VAR.
20173         (config-cflags-avx): Likewise.
20174         (config-cflags-sse2avx): Likewise.
20175         (have-mfma4): Likewise.
20176         (config-cflags-novzeroupper): Likewise.
20177         * configure: Regenerated.
20178         * sysdeps/i386/configure: Likewise.
20179         * sysdeps/mach/configure: Likewise.
20180         * sysdeps/sparc/configure: Likewise.
20181         * sysdeps/x86_64/configure: Likewise.
20182
20183 2013-03-20  Roland McGrath  <roland@hack.frob.com>
20184
20185         [BZ #14812]
20186         * locale/programs/localedef.c (options): Put N_ translation marker
20187         on argument names, not just descriptions.
20188
20189 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20190
20191         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20192
20193 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
20194
20195         [BZ #14176]
20196         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20197
20198 2013-03-19  Roland McGrath  <roland@hack.frob.com>
20199
20200         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20201         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20202         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20203         [!BEFORE_ABORT] (before_abort): New function.
20204         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20205         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20206         (writev_for_fatal): New function.
20207         (WRITEV_FOR_FATAL): New macro; call that.
20208         (backtrace_and_maps): New function.
20209         (BEFORE_ABORT): New macro; call that.
20210         (struct str_list): Type removed.
20211         (__libc_message, __libc_fatal): Functions removed.
20212         Include <sysdeps/posix/libc_fatal.c> instead.
20213
20214 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
20215
20216         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20217         constants.
20218         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20219         double constants.
20220
20221 2013-03-19  Andreas Schwab  <schwab@suse.de>
20222
20223         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20224         * sysdeps/gnu/configure: Regenerate.
20225
20226         * configure.in: Substitute libc_cv_rtlddir.
20227         * configure: Regenerate.
20228         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20229         * Makeconfig (rtlddir, inst_rtlddir): New variables.
20230         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20231         * elf/Makefile (install-others, CFLAGS-interp.c)
20232         (ldso_install, common-ldd-rewrite): Likewise.
20233         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20234         $(inst_slibdir)/$(rtld-installed-name).
20235         * scripts/rellns-sh: Add -p option.
20236         * Makerules (make-shlib-link): Use rellns-sh to get relative name
20237         for source.
20238
20239 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20240
20241         * manual/nptl.texi: Renamed to ...
20242         * manual/threads.texi: ... this.
20243         * manual/Makefile (chapters): Update.
20244
20245 2013-03-18  Roland McGrath  <roland@hack.frob.com>
20246
20247         [BZ #14812]
20248         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20249         on argument names, not just descriptions.
20250         * malloc/memusagestat.c (options): Likewise.
20251         * nss/getent.c (options): Likewise.
20252
20253 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
20254
20255         [BZ #14812]
20256         * iconv/iconv_prog.c (options): Put N_ translation marker
20257         on argument names, not just descriptions.
20258         * iconv/iconvconfig.c (options): Likewise.
20259
20260 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
20261
20262         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20263         implementation which is faster on all x86_64 architectures.
20264         Tested on AMD, Intel Nehalem, SNB, IVB.
20265         * sysdeps/x86_64/strnlen.S: Likewise.
20266
20267         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20268         Remove all multiarch strlen and strnlen versions.
20269         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20270         Remove strlen and strnlen related parts.
20271
20272         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20273         Inline strlen part.
20274         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20275
20276         * sysdeps/x86_64/multiarch/strlen.S: Remove.
20277         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20278         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20279         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20280         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20281         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20282
20283 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
20284
20285         * manual/memory.texi (Malloc Tunable Parameters):
20286         Sort parameters alphabetically. Add comments for missing entries.
20287
20288 2013-03-17  David S. Miller  <davem@davemloft.net>
20289
20290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20291
20292 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
20293
20294         [BZ #15283]
20295         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20296         for arguments at most half maximum finite value.
20297         * math/libm-test.inc (j0_test): Add more tests.
20298         (j1_test): Likewise.
20299         (y0_test): Likewise.
20300         (y1_test): Likewise.
20301         * sysdeps/i386/fpu/libm-test-ulps: Update.
20302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20303
20304         [BZ #14155]
20305         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20306         1 / x and functions P and Q for arguments above 0x1p256L.
20307         (__ieee754_y0l): Likewise.
20308         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20309         (__ieee754_y1l): Likewise.
20310         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20311         (j1_test): Likewise.
20312         (y0_test): Likewise.
20313         (y1_test): Likewise.
20314
20315 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
20316
20317         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20318         variable.
20319
20320 2013-03-15  Roland McGrath  <roland@hack.frob.com>
20321
20322         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20323         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20324         zero since it's initialized to EXEC_PAGESIZE.
20325
20326         * sysdeps/unix/sysv/linux/ldsodefs.h
20327         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20328         * sysdeps/generic/ldsodefs.h: ... here.
20329
20330 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
20331
20332         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20333
20334         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20335         math/test-snan.c.
20336         * math/test-snan.c: Renamed from
20337         sysdeps/powerpc/fpu/test-powerpc-snan.c.
20338         * math/Makefile (tests): Add test-snan.
20339         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20340         test-powerpc-snan.
20341
20342         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20343         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
20344         functions.
20345         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
20346         __builtin_nan family of functions.
20347         * math/libm-test.inc (initialize): Initialize qnan_value with
20348         __builtin_nan family of functions.
20349         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20350         Remove variables.
20351         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20352         Remove functions.
20353         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
20354         storage class.  Initialize qNaN_var and sNaN_var with
20355         __builtin_nan and __builtin_nans families of functions,
20356         respectively.
20357
20358         * math/libm-test.inc (acosh_test): Also test with qNaN input.
20359         (sqrt_test): Remove duplicate test with qNaN input.
20360         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20361         (round_test, signbit_test, significand_test): Note missing +/-Inf
20362         as well as qNaN tests.
20363
20364         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20365         qNaN_var.  Fix a few strings, too.
20366         * math/libm-test.inc (nan_value): Rename to qnan_value.
20367         * math/gen-libm-test.pl (%beautify): Adjust to that.
20368         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20369         * math/test-misc.c (main): Likewise.
20370         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20371         to __qnan_bytes, and __qnan_union, respectively.
20372         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20373         Likewise.
20374         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20375         and lqnanval, respectively.
20376         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20377         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20378         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20379         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20380
20381         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20382         * math/test-misc.c (main) [__x86_64__]: Enable test for long
20383         doubles.
20384
20385         * math/test-misc.c (main): Fix copy'n'pastos.
20386         * misc/tst-efgcvt.c (special): Likewise.
20387
20388         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20389         Remove declarations.
20390
20391 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20392
20393         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20394         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20395         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20396         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20397
20398 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20399
20400         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20401         macro to return vdso values correctly in IFUNC implementations.
20402         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20403         Optimization by using IFUNC.
20404
20405 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20406             Richard Henderson  <rth@redhat.com>
20407             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20408
20409         * Makefile.in (bench): New target.
20410         * NEWS: Mention the benchmark framework.
20411         * Rules (bench): Likewise.
20412         (binaries-bench): Generate binaries for functions to
20413         benchmark.
20414         * benchtests/Makefile: New makefile for benchmark tests.
20415         * benchtests/bench-skeleton.c: New skeleton file for benchmark
20416         programs.
20417         * benchtests/exp-inputs: New input file for EXP function.
20418         * benchtests/pow-inputs: New input file for POW function.
20419         * scripts/bench.pl: New script to generate source files for
20420         benchmark programs.
20421
20422 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20423
20424         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20425         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20426         computations on mantissa.  Use macros for rounding and
20427         division.
20428         (denorm): Likewise.
20429         (__dbl_mp): Likewise.
20430         (add_magnitudes): Likewise.
20431         (sub_magnitudes): Likewise.
20432         (__mul): Likewise.
20433         (__sqr): Likewise.
20434         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20435         powers of two in terms of TWOPOW macro.
20436         (mp_no): Make type of mantissa as MANTISSA_T.
20437         [!RADIXI]: Define RADIXI.
20438         [!TWO52]: Define TWO52.
20439         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20440
20441         * manual/nptl.texi (cindex): Modify threads to pthreads.
20442
20443 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
20444
20445         * sysdeps/x86_64/preconfigure: Regenerated.
20446
20447 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
20448
20449         [BZ #14155]
20450         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20451         0x1p28 and above.
20452         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20453         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20454         0x1p28 and above.
20455         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20456         * math/libm-test.inc (j0_test): Do not allow one spurious
20457         underflow exception.
20458         (y1_test): Likewise.
20459
20460 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20461
20462         * manual/Makefile (chapters): Add nptl.
20463         * manual/debug.texi (Debugging Support): Add link to Threads
20464         chapter.
20465         * manual/nptl.texi: New file.
20466
20467         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20468
20469 2013-03-14  Petr Baudis  <pasky@ucw.cz>
20470
20471         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20472         for non-NULL pointer before the memory validity test. Pointed
20473         out by Holger Brunck <holger.brunck@keymile.com>.
20474
20475 2013-03-13  Andreas Schwab  <schwab@suse.de>
20476
20477         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20478         instead of .os.
20479
20480 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
20481
20482         * timezone/zic.c: Update from tzcode 2013b.
20483
20484 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
20485
20486         * manual/install.texi (Configuring and compiling):
20487         Mention i686 and i586.
20488         * INSTALL: Regenerate.
20489
20490 2013-03-12  Roland McGrath  <roland@hack.frob.com>
20491
20492         * sysdeps/init_array/elf-init.c: New file.
20493         * csu/elf-init.c
20494         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20495         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20496
20497         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20498         __gmon_start__ as global, but as static with a .preinit_array pointer.
20499         * sysdeps/init_array/gmon-start.c: New file.  Use that.
20500         * sysdeps/init_array/crti.S: New file, empty except for comments.
20501         * sysdeps/init_array/crtn.S: Likewise.
20502
20503 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
20504
20505         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20506         definining bcopy.
20507         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20508         Remove Prefer_SSE_for_memop.
20509         * sysdeps/x86_64/multiarch/init-arch.h: Remove
20510         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20511         HAS_PREFER_SSE_FOR_MEMOP.
20512         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20513         memset-x86-64.
20514         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20515         Remove bzero, memset ifunc support.
20516         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20517         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20518         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20519         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20520
20521 2013-03-11  Andreas Schwab  <schwab@suse.de>
20522
20523         [BZ #15234]
20524         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20525         by SHLIB_COMPAT.
20526         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20527         (GLIBC_2.16): Remove pthread_atfork.
20528
20529 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20530
20531         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20532         (ptestcases.h): Likewise.
20533
20534 2013-03-08  Roland McGrath  <roland@hack.frob.com>
20535
20536         * Makeconfig ($(common-objpfx)config.status): Depend on
20537         sysdeps/*/preconfigure{,.in} too.
20538
20539 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
20540
20541         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20542         (__free_hook): Use void * instead of __malloc_ptr_t.
20543         (__malloc_hook): Likewise.
20544         (__realloc_hook): Likewise.
20545         (__memalign_hook): Likewise.
20546         (__after_morecore_hook): Likewise.
20547         * malloc/arena.c (save_malloc_hook): Likewise.
20548         (save_free_hook): Likewise.
20549         * malloc/hooks.c (malloc_hook_ini): Likewise.
20550         (realloc_hook_ini): Likewise.
20551         (memalign_hook_ini): Likewise.
20552         * malloc/malloc.c (malloc_hook_ini): Likewise.
20553         (realloc_hook_ini): Likewise.
20554         (memalign_hook_ini): Likewise.
20555         (__free_hook): Likewise.
20556         (__malloc_hook): Likewise.
20557         (__realloc_hook): Likewise.
20558         (__memalign_hook): Likewise.
20559         (__libc_malloc): Likewise.
20560         (__libc_free): Likewise.
20561         (__libc_realloc): Likewise.
20562         (__libc_memalign): Likewise.
20563         (__libc_valloc): Likewise.
20564         (__libc_pvalloc): Likewise.
20565         (__libc_calloc): Likewise.
20566         (__posix_memalign): Likewise.
20567         * malloc/morecore.c (__sbrk): Likewise.
20568         (__default_morecore): Likewise.
20569
20570         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20571
20572         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20573         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20574         __malloc_ptrdiff_t.
20575
20576         * malloc/malloc.h (__malloc_size_t): Remove macro.
20577         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20578         __malloc_size_t.
20579         (old_memalign_hook): Likewise.
20580         (old_realloc_hook): Likewise.
20581         (struct hdr): Likewise.
20582         (flood): Likewise.
20583         (mallochook): Likewise.
20584         (memalignhook): Likewise.
20585         (reallochook): Likewise.
20586         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20587         (tr_old_realloc_hook): Likewise.
20588         (tr_old_memalign_hook): Likewise.
20589         (tr_mallochook): Likewise.
20590         (tr_reallochook): Likewise.
20591         (tr_memalignhook): Likewise.
20592
20593 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20594
20595         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20596         default_ldbl_pack and using as default implementation.
20597         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20598         implementation.
20599         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20600         redundant definition.
20601         (ldbl_insert_mantissa): Likewise.
20602         (ldbl_canonicalize): Likewise.
20603         (ldbl_nearbyint): Likewise.
20604         (ldbl_pack): Rename to ldbl_pack_ppc.
20605         (ldbl_unpack): Rename to ldbl_unpack_ppc.
20606         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20607         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20608
20609 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20610
20611         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20612         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20613         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20614         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20615         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20616         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20617         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20618         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20619
20620 2013-03-07  Andreas Jaeger  <aj@suse.de>
20621
20622         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20623         bits/mman-linux.h.
20624
20625 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20626
20627         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20628         Include mpa.h and declare __MPEXP.
20629         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20630         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20631         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20632         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20633         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20634         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20635         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20636
20637         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20638         (__slowpow): Use long double EXPL and LOGL functions to
20639         compute POW.
20640         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20641         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20642         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20643         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20644         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20645         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20646
20647         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20648         intermediate variable to calculate exponent.
20649         (__sqr): Likewise.
20650         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20651         Likewise.
20652         (__sqr): Likewise.
20653
20654         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20655         [!NO__SQR]: Define __sqr.
20656         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20657         and NO__SQR.  Remove all code except __mul and __sqr.  Include
20658         sysdeps/ieee754/dbl-64/mpa.c.
20659         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20660
20661         [BZ #12723]
20662         * posix/Makefile (tests): Add tst-pathconf.
20663         * posix/tst-pathconf.c: New test case.
20664         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20665         _PC_PIPE_BUF.
20666         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20667
20668 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
20669
20670         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20671
20672 2013-03-06  Andreas Jaeger  <aj@suse.de>
20673
20674         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20675         definition via __MAP_ANONYMOUS.
20676
20677         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20678         it's not part of Linux headers.
20679
20680         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20681         (MAP_HUGE_MASK): Define.
20682
20683         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20684         Define.
20685         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20686         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20687         Define.
20688         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20689         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20690         Define.
20691         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20692         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20693         Define.
20694         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20695
20696         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20697         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20698         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20699         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20700         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20701         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20702
20703         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20704         Handle f2fs.
20705
20706         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20707         Handle f2fs and efivarfs.
20708
20709         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20710         f2fs.
20711
20712         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20713         (EFIVARFS_MAGIC): Add.
20714         (F2FS_LINK_MAX): Add.
20715
20716 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20717
20718         * stdio-common/vfprintf.c: Replace __builtin_expect with
20719         __glibc_unlikely.
20720
20721 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
20722
20723         [BZ #13550]
20724         * sysdeps/generic/bp-sym.h: Remove file.
20725         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20726         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20727         <bp-sym.h> and <bp-asm.h>.
20728         (__longjmp): Don't use BP_SYM.
20729         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20730         and <bp-asm.h>.
20731         (memcpy): Don't use BP_SYM.
20732         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20733         <bp-sym.h> and <bp-asm.h>.
20734         (memcpy): Don't use BP_SYM.
20735         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20736         <bp-asm.h>.
20737         (memcpy): Don't use BP_SYM.
20738         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20739         <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/memcmp.S: Don't include
20747         <bp-sym.h> and <bp-asm.h>.
20748         (memcmp): Don't use BP_SYM.  Remove comment about bounded
20749         pointers.
20750         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20751         <bp-sym.h> and <bp-asm.h>.
20752         (memcpy): Don't use BP_SYM.
20753         * sysdeps/powerpc/powerpc64/power4/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/power4/strncmp.S: Don't include
20762         <bp-sym.h> and <bp-asm.h>.
20763         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20764         pointers.
20765         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20766         <bp-sym.h> and <bp-asm.h>.
20767         (memcpy): Don't use BP_SYM.
20768         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20769         <bp-sym.h> and <bp-asm.h>.
20770         (memset): Don't use BP_SYM.
20771         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20772         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20773         (__bzero): Don't use BP_SYM.
20774         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20775         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20776         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20777         <bp-sym.h> and <bp-asm.h>.
20778         (__memchr): Don't use BP_SYM.
20779         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20780         <bp-sym.h> and <bp-asm.h>.
20781         (memcmp): Don't use BP_SYM.  Remove comment about bounded
20782         pointers.
20783         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20784         <bp-sym.h> and <bp-asm.h>.
20785         (memcpy): Don't use BP_SYM.
20786         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20787         <bp-sym.h> and <bp-asm.h>.
20788         (__mempcpy): Don't use BP_SYM.
20789         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20790         <bp-sym.h> and <bp-asm.h>.
20791         (__memrchr): Don't use BP_SYM.
20792         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20793         <bp-sym.h> and <bp-asm.h>.
20794         (memset): Don't use BP_SYM.
20795         (__bzero): Likewise.
20796         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20797         <bp-sym.h> and <bp-asm.h>.
20798         (__rawmemchr): Don't use BP_SYM.
20799         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20800         <bp-sym.h> and <bp-asm.h>.
20801         (__STRCMP): Don't use BP_SYM.
20802         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20803         <bp-sym.h> and <bp-asm.h>.
20804         (strchr): Don't use BP_SYM.
20805         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20806         <bp-sym.h> and <bp-asm.h>.
20807         (__strchrnul): Don't use BP_SYM.
20808         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20809         <bp-sym.h> and <bp-asm.h>.
20810         (strlen): Don't use BP_SYM.
20811         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20812         <bp-sym.h> and <bp-asm.h>.
20813         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20814         pointers.
20815         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20816         <bp-sym.h> and <bp-asm.h>.
20817         (__strnlen): Don't use BP_SYM.
20818         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20819         <bp-sym.h> and <bp-asm.h>.
20820         (__GI__setjmp): Don't use BP_SYM.
20821         (_setjmp): Likewise.
20822         (__sigsetjmp): Likewise.
20823         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20824         (L(start_addresses)): Don't use BP_SYM.
20825         (_start): Likewise.
20826         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20827         <bp-asm.h>.
20828         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20829         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20830         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20831         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20832         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20833         <bp-asm.h>.
20834         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20835         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
20836         about bounded pointers.
20837         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20838         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20839         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20840         <bp-asm.h>.
20841         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
20842         about bounded pointers.  Remove GKM FIXME comments.
20843         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20844         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20845         <bp-asm.h>.
20846         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20847         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
20848         Remove GKM FIXME comments.
20849         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20850         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20851         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20852         <bp-asm.h>.
20853         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
20854         about bounded pointers.  Remove GKM FIXME comment.
20855         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20856         and <bp-asm.h>.
20857         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20858         pointers.
20859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20860         <bp-sym.h> and <bp-asm.h>.
20861         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20863         <bp-sym.h> and <bp-asm.h>.
20864         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
20865         comment.
20866
20867 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20868
20869         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20870         call free(NULL).
20871
20872 2013-03-05  David S. Miller  <davem@davemloft.net>
20873
20874         * po/es.po: Update from translation team.
20875
20876 2013-03-05  Andreas Jaeger  <aj@suse.de>
20877
20878         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20879         <bits/mman-linux.h>.
20880         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20881         is fine.
20882         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20883         <bits/mman-linux.h> to end of file.
20884         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20885         is fine.
20886         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20887         <bits/mman-linux.h> to end of file.
20888         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20889         is fine.
20890         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20891         <bits/mman-linux.h> to end of file.
20892
20893         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20894         (MCL_CURRENT, MCL_FUTURE): Define here.
20895
20896 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20897
20898         [BZ #15232]
20899         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20900         attribute_hidden.
20901         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20902
20903 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20904
20905         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20906         fourth parameter needed for rt_sigprocmask syscall.
20907         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20908         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20909         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20910         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20911         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20912         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20913
20914 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
20915
20916         [BZ #13550]
20917         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20918         comment about bounded pointers.
20919         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20920         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20921
20922 2013-03-04  Andreas Jaeger  <aj@suse.de>
20923
20924         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20925         common definitions.
20926
20927         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20928         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20929         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20930         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20931         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20932         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20933
20934 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20935
20936         [BZ #15055]
20937         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20938         __ieee754_sqrl instead of __sqrl.
20939
20940 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
20941
20942         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20943         * sysdeps/powerpc/fpu_control.h: ... here.
20944         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20945         * sysdeps/powerpc/bits/fenvinline.h: ... here.
20946         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20947         * sysdeps/powerpc/bits/mathinline.h: ... here.
20948
20949 2013-03-01  Roland McGrath  <roland@hack.frob.com>
20950
20951         * elf/dl-hwcaps.c (_dl_important_hwcaps):
20952         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20953         to just [NEED_DL_SYSINFO_DSO].
20954         * elf/dl-support.c: Likewise.
20955         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20956         * elf/rtld.c (dl_main): Likewise.
20957         * elf/setup-vdso.h (setup_vdso): Likewise.
20958         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20959         * sysdeps/unix/sysv/linux/dl-sysdep.c
20960         (_dl_discover_osversion): Likewise.
20961
20962 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
20963
20964         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20965         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20966
20967 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20968
20969         * NEWS: Mention libm performance improvements and non-x86 PI
20970         futex support.
20971
20972         * csu/libc-start.c (__pthread_initialize_minimal): Change
20973         function arguments.
20974         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20975
20976 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
20977
20978         [BZ #13550]
20979         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20980         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20981         <bp-sym.h> and <bp-asm.h>.
20982         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20983         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20984         and <bp-asm.h>.
20985         (memcpy): Don't use BP_SYM.
20986         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20987         <bp-asm.h>.
20988         (__mpn_add_n): Don't use BP_SYM.
20989         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20990         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20991         and <bp-asm.h>.
20992         (__mpn_addmul_1): Don't use BP_SYM.
20993         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20994         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20995         <bp-sym.h>.
20996         (_setjmp): Don't use BP_SYM.
20997         (__novmx_setjmp): Likewise.
20998         (__GI__setjmp): Likewise.
20999         (__vmx_setjmp): Likewise.
21000         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21001         <bp-sym.h>.
21002         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21003         (__bzero): Don't use BP_SYM.
21004         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21005         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21006         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21007         <bp-sym.h> and <bp-asm.h>.
21008         (memcpy): Don't use BP_SYM.
21009         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21010         <bp-sym.h> and <bp-asm.h>.
21011         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21012         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21013         <bp-sym.h> and <bp-asm.h>.
21014         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21015         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21016         <bp-asm.h>.
21017         (__mpn_lshift): Don't use BP_SYM.
21018         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21019         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21020         <bp-asm.h>.
21021         (memset): Don't use BP_SYM.
21022         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21023         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21024         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21025         <bp-asm.h>.
21026         (__mpn_mul_1): Don't use BP_SYM.
21027         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21028         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21029         <bp-sym.h> and <bp-asm.h>.
21030         (memcmp): Don't use BP_SYM.
21031         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21032         <bp-sym.h> and <bp-asm.h>.
21033         (memcpy): Don't use BP_SYM.
21034         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21035         <bp-sym.h> and <bp-asm.h>.
21036         (memset): Don't use BP_SYM.
21037         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21038         <bp-sym.h> and <bp-asm.h>.
21039         (strncmp): Don't use BP_SYM.
21040         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21041         <bp-sym.h> and <bp-asm.h>.
21042         (memcpy): Don't use BP_SYM.
21043         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21044         <bp-sym.h> and <bp-asm.h>.
21045         (memset): Don't use BP_SYM.
21046         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21047         <bp-sym.h> and <bp-asm.h>.
21048         (__memchr): Don't use BP_SYM.
21049         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21050         <bp-sym.h> and <bp-asm.h>.
21051         (memcmp): Don't use BP_SYM.
21052         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21053         <bp-sym.h> and <bp-asm.h>.
21054         (memcpy): Don't use BP_SYM.
21055         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21056         <bp-sym.h> and <bp-asm.h>.
21057         (__mempcpy): Don't use BP_SYM.
21058         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21059         <bp-sym.h> and <bp-asm.h>.
21060         (__memrchr): Don't use BP_SYM.
21061         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21062         <bp-sym.h> and <bp-asm.h>.
21063         (memset): Don't use BP_SYM.
21064         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21065         <bp-sym.h> and <bp-asm.h>.
21066         (__rawmemchr): Don't use BP_SYM.
21067         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21068         <bp-sym.h> and <bp-asm.h>.
21069         (__STRCMP): Don't use BP_SYM.
21070         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21071         <bp-sym.h> and <bp-asm.h>.
21072         (strchr): Don't use BP_SYM.
21073         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21074         <bp-sym.h> and <bp-asm.h>.
21075         (__strchrnul): Don't use BP_SYM.
21076         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21077         <bp-sym.h> and <bp-asm.h>.
21078         (strlen): Don't use BP_SYM.
21079         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21080         <bp-sym.h> and <bp-asm.h>.
21081         (strncmp): Don't use BP_SYM.
21082         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21083         <bp-sym.h> and <bp-asm.h>.
21084         (__strnlen): Don't use BP_SYM.
21085         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21086         <bp-asm.h>.
21087         (__mpn_rshift): Don't use BP_SYM.
21088         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21089         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21090         <bp-sym.h> and <bp-asm.h>.
21091         (__sigsetjmp): Don't use BP_SYM.
21092         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21093         (L(start_addresses)): Don't use BP_SYM.
21094         (_start): Likewise.
21095         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21096         <bp-asm.h>.
21097         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21098         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21099         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21100         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21101         <bp-asm.h>.
21102         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21103         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21104         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21105         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21106         <bp-asm.h>.
21107         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21108         comments.
21109         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21110         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21111         <bp-asm.h>.
21112         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
21113         FIXME comments.
21114         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21115         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21116         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21117         <bp-asm.h>.
21118         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21119         comment.
21120         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21121         and <bp-asm.h>.
21122         (strncmp): Don't use BP_SYM,
21123         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21124         <bp-asm.h>.
21125         (__mpn_sub_n): Don't use BP_SYM.
21126         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21127         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21128         and <bp-asm.h>.
21129         (__mpn_submul_1): Don't use BP_SYM.
21130         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21132         <bp-sym.h> and <bp-asm.h>.
21133         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21135         <bp-sym.h> and <bp-asm.h>.
21136         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21137         comment.
21138
21139 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21140
21141         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21142         Use ZK to minimize writes to Z.
21143         (sub_magnitudes): Simplify code a bit.
21144         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21145         Use ZK to minimize writes to Z.
21146         (sub_magnitudes): Simplify code a bit.
21147
21148 2013-02-27  Roland McGrath  <roland@hack.frob.com>
21149
21150         * csu/gmon-start.c: Add special exception to license text.
21151
21152 2013-02-27  Richard Henderson  <rth@redhat.com>
21153
21154         * scripts/config.guess: Update from config.git.
21155         * scripts/config.sub: Likewise.
21156
21157 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21158
21159         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21160
21161         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21162
21163         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21164
21165         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21166
21167         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21168
21169 2013-02-26  Roland McGrath  <roland@hack.frob.com>
21170
21171         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21172         [$(build-shared = yes].
21173
21174 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21175
21176         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21177         (__mul): Reduce iterations for calculating mantissa.
21178
21179         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21180         MPTWO.
21181         (__mpranred): Likewise.
21182
21183         [BZ #15160]
21184         * malloc/memusagestat.c (main): Draw graphs for heap and stack
21185         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21186
21187 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
21188
21189         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21190         Define __attribute__.
21191
21192 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21193
21194         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21195         unused.
21196         * posix/regex_internal.h (__attribute): Remove.
21197         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21198         (re_string_context_at): Likewise.
21199         (bitset_not): Use __attribute__ and mark function as possibly
21200         unused.
21201         (bitset_merge): Likewise.
21202         (bitset_mask): Likewise.
21203         (re_string_char_size_at): Likewise.
21204         (re_string_wchar_at): Likewise.
21205         (re_string_elem_size_at): Likewise.
21206
21207 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21208
21209         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21210         code.
21211         (cc32): Likewise.
21212
21213         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21214         (__acr): Likewise.
21215         (__cpy): Likewise.
21216         (norm): Likewise.
21217         (denorm): Likewise.
21218         (__dbl_mp): Likewise.
21219         (add_magnitudes): Likewise.
21220         (sub_magnitudes): Likewise.
21221         (__mul): Likewise.
21222         (__inv): Likewise.
21223
21224         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21225         style.
21226
21227         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21228         style.
21229
21230         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21231         code.
21232
21233         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21234         up changes with default code.
21235         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21236         Likewise.
21237
21238 2013-02-24  Allan McRae  <allan@archlinux.org>
21239
21240         * manual/socket.texi (The Internet Namespace): Order menu items
21241         to match that in the file.
21242
21243         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21244         node listing of the info page menu.
21245
21246 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
21247
21248         [BZ #13550]
21249         * sysdeps/i386/bp-asm.h: Remove file.
21250         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21251         (PARMS): Do not use macros from bp-asm.h.
21252         (S1): Likewise.
21253         (S2): Likewise.
21254         (SIZE): Likewise.
21255         (__mpn_add_n): Do not use BP_SYM
21256         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21257         "bp-asm.h".
21258         (PARMS): Do not use macros from bp-asm.h.
21259         (S1): Likewise.
21260         (SIZE): Likewise.
21261         (__mpn_addmul_1): Do not use BP_SYM
21262         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21263         "bp-asm.h".
21264         (PARMS): Do not use macros from bp-asm.h.
21265         (SIGMSK): Likewise.
21266         (_setjmp): Likewise.  Do not use BP_SYM.
21267         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21268         "bp-asm.h".
21269         (PARMS): Do not use macros from bp-asm.h.
21270         (SIGMSK): Likewise.
21271         (setjmp): Likewise.  Do not use BP_SYM.
21272         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21273         "bp-asm.h".
21274         (PARMS): Do not use macros from bp-asm.h.
21275         (__frexp): Do not use BP_SYM.
21276         (frexp): Likewise.
21277         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21278         "bp-asm.h".
21279         (PARMS): Do not use macros from bp-asm.h.
21280         (__frexpf): Do not use BP_SYM.
21281         (frexpf): Likewise.
21282         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21283         "bp-asm.h".
21284         (PARMS): Do not use macros from bp-asm.h.
21285         (__frexpl): Do not use BP_SYM.
21286         (frexpl): Likewise.
21287         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21288         "bp-asm.h".
21289         (PARMS): Do not use macros from bp-asm.h.
21290         (__remquo): Do not use BP_SYM.
21291         (remquo): Likewise.
21292         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21293         "bp-asm.h".
21294         (PARMS): Do not use macros from bp-asm.h.
21295         (__remquof): Do not use BP_SYM.
21296         (remquof): Likewise.
21297         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21298         "bp-asm.h".
21299         (PARMS): Do not use macros from bp-asm.h.
21300         (__remquol): Do not use BP_SYM.
21301         (remquol): Likewise.
21302         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21303         "bp-asm.h".
21304         (PARMS): Do not use macros from bp-asm.h.
21305         (DEST): Likewise.
21306         (SRC): Likewise.
21307         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
21308         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21309         "bp-asm.h".
21310         (PARMS): Do not use macros from bp-asm.h.
21311         (strlen): Do not use BP_SYM.
21312         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21313         "bp-asm.h".
21314         (PARMS): Do not use macros from bp-asm.h.
21315         (S1): Likewise.
21316         (S2): Likewise.
21317         (SIZE): Likewise.
21318         (__mpn_add_n): Do not use BP_SYM.
21319         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21320         "bp-asm.h".
21321         (PARMS): Do not use macros from bp-asm.h.
21322         (S1): Likewise.
21323         (SIZE): Likewise.
21324         (__mpn_addmul_1): Do not use BP_SYM.
21325         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21326         weak_alias.
21327         (bzero): Likewise.
21328         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21329         "bp-asm.h".
21330         (PARMS): Do not use macros from bp-asm.h.
21331         (S): Likewise.
21332         (SIZE): Likewise.
21333         (__mpn_lshift): Do not use BP_SYM.
21334         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21335         "bp-asm.h".
21336         (PARMS): Do not use macros from bp-asm.h.
21337         (DEST): Likewise.
21338         (SRC): Likewise.
21339         (LEN): Likewise.
21340         (memcpy): Likewise.  Do not use BP_SYM.
21341         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21342         libc_hidden_def and weak_alias.
21343         (mempcpy): Do not use BP_SYM in weak_alias.
21344         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21345         "bp-asm.h".
21346         (PARMS): Do not use macros from bp-asm.h.
21347         (DEST): Likewise.
21348         (LEN): Likewise.
21349         [!BZERO_P] (CHR): Likewise.
21350         (memset): Likewise.  Do not use BP_SYM.
21351         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21352         "bp-asm.h".
21353         (PARMS): Do not use macros from bp-asm.h.
21354         (S1): Likewise.
21355         (SIZE): Likewise.
21356         (__mpn_mul_1): Do not use BP_SYM.
21357         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21358         "bp-asm.h".
21359         (PARMS): Do not use macros from bp-asm.h.
21360         (S): Likewise.
21361         (SIZE): Likewise.
21362         (__mpn_rshift): Do not use BP_SYM.
21363         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21364         "bp-asm.h".
21365         (PARMS): Do not use macros from bp-asm.h.
21366         (STR): Likewise.
21367         (CHR): Likewise.
21368         (strchr): Likewise.  Do not use BP_SYM.
21369         (index): Do not use BP_SYM in weak_alias.
21370         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21371         "bp-asm.h".
21372         (PARMS): Do not use macros from bp-asm.h.
21373         (DEST): Likewise.
21374         (SRC): Likewise.
21375         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
21376         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21377         "bp-asm.h".
21378         (PARMS): Do not use macros from bp-asm.h.
21379         (strlen): Do not use BP_SYM.
21380         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21381         "bp-asm.h".
21382         (PARMS): Do not use macros from bp-asm.h.
21383         (S1): Likewise.
21384         (S2): Likewise.
21385         (SIZE): Likewise.
21386         (__mpn_sub_n): Do not use BP_SYM.
21387         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21388         "bp-asm.h".
21389         (PARMS): Do not use macros from bp-asm.h.
21390         (S1): Likewise.
21391         (SIZE): Likewise.
21392         (__mpn_submul_1): Do not use BP_SYM.
21393         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21394         "bp-asm.h".
21395         (PARMS): Do not use macros from bp-asm.h.
21396         (S1): Likewise.
21397         (S2): Likewise.
21398         (SIZE): Likewise.
21399         (__mpn_add_n): Do not use BP_SYM.
21400         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21401         weak_alias.
21402         (bzero): Likewise.
21403         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21404         "bp-asm.h".
21405         (PARMS): Do not use macros from bp-asm.h.
21406         (BLK2): Likewise.
21407         (LEN): Likewise.
21408         (memcmp): Do not use BP_SYM.
21409         (bcmp): Do not use BP_SYM in weak_alias.
21410         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21411         "bp-asm.h".
21412         (PARMS): Do not use macros from bp-asm.h.
21413         (DEST): Likewise.
21414         (SRC): Likewise.
21415         (LEN): Likewise.
21416         (memcpy): Likewise.  Do not use BP_SYM.
21417         * sysdeps/i386/i686/memmove.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         (SRC): Likewise.
21422         (LEN): Likewise.
21423         (memmove): Likewise.  Do not use BP_SYM.
21424         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21425         "bp-asm.h".
21426         (PARMS): Do not use macros from bp-asm.h.
21427         (DEST): Likewise.
21428         (SRC): Likewise.
21429         (LEN): Likewise.
21430         (__mempcpy): Likewise.  Do not use BP_SYM.
21431         (mempcpy): Do not use BP_SYM in weak_alias.
21432         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21433         "bp-asm.h".
21434         (PARMS): Do not use macros from bp-asm.h.
21435         (DEST): Likewise.
21436         (LEN): Likewise.
21437         [!BZERO_P] (CHR): Likewise.
21438         (memset): Likewise.  Do not use BP_SYM.
21439         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21440         "bp-asm.h".
21441         (PARMS): Do not use macros from bp-asm.h.
21442         (STR2): Likewise.
21443         (strcmp): Do not use BP_SYM.
21444         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21445         "bp-asm.h".
21446         (PARMS): Do not use macros from bp-asm.h.
21447         (STR): Likewise.
21448         (DELIM): Likewise.
21449         [USE_AS_STRTOK_R] (SAVE): Likewise.
21450         (FUNCTION): Likewise.  Do not use BP_SYM.
21451         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21452         aliases.
21453         (strtok_r): Likewise.
21454         (__GI___strtok_r): Likewise.
21455         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21456         (PARMS): Do not use macros from bp-asm.h.
21457         (S): Likewise.
21458         (SIZE): Likewise.
21459         (__mpn_lshift): Do not use BP_SYM.
21460         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21461         (PARMS): Do not use macros from bp-asm.h.
21462         (STR): Likewise.
21463         (CHR): Likewise.
21464         (__memchr): Do not use BP_SYM.
21465         (memchr): Do not use BP_SYM in weak_alias.
21466         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21467         (PARMS): Do not use macros from bp-asm.h.
21468         (BLK2): Likewise.
21469         (LEN): Likewise.
21470         (memcmp): Do not use BP_SYM.
21471         (bcmp): Do not use BP_SYM in weak_alias.
21472         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21473         (PARMS): Do not use macros from bp-asm.h.
21474         (S1): Likewise.
21475         (SIZE): Likewise.
21476         (__mpn_mul_1): Do not use BP_SYM.
21477         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21478         "bp-asm.h".
21479         (PARMS): Do not use macros from bp-asm.h.
21480         (STR): Likewise.
21481         (CHR): Likewise.
21482         (__rawmemchr): Do not use BP_SYM.
21483         (rawmemchr): Do not use BP_SYM in weak_alias.
21484         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21485         (PARMS): Do not use macros from bp-asm.h.
21486         (S): Likewise.
21487         (SIZE): Likewise.
21488         (__mpn_rshift): Do not use BP_SYM.
21489         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21490         (PARMS): Do not use macros from bp-asm.h.
21491         (SIGMSK): Likewise.
21492         (__sigsetjmp): Likewise.  Do not use BP_SYM.
21493         * sysdeps/i386/start.S: Do not include "bp-sym.h".
21494         (_start): Do not use BP_SYM.
21495         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21496         (PARMS): Do not use macros from bp-asm.h.
21497         (DEST): Likewise.
21498         (SRC): Likewise.
21499         (__stpcpy): Likewise.  Do not use BP_SYM.
21500         (stpcpy): Do not use BP_SYM in weak_alias.
21501         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21502         "bp-asm.h".
21503         (PARMS): Do not use macros from bp-asm.h.
21504         (DEST): Likewise.
21505         (SRC): Likewise.
21506         (LEN): Likewise.
21507         (__stpncpy): Likewise.  Do not use BP_SYM.
21508         (stpncpy): Do not use BP_SYM in weak_alias.
21509         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21510         (PARMS): Do not use macros from bp-asm.h.
21511         (STR): Likewise.
21512         (CHR): Likewise.
21513         (strchr): Likewise.  Do not use BP_SYM.
21514         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21515         "bp-asm.h".
21516         (PARMS): Do not use macros from bp-asm.h.
21517         (STR): Likewise.
21518         (CHR): Likewise.
21519         (__strchrnul): Likewise.  Do not use BP_SYM.
21520         (strchrnul): Do not use BP_SYM in weak_alias.
21521         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21522         "bp-asm.h".
21523         (PARMS): Do not use macros from bp-asm.h.
21524         (STOP): Likewise.
21525         (strcspn): Do not use BP_SYM.
21526         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21527         "bp-asm.h".
21528         (PARMS): Do not use macros from bp-asm.h.
21529         (STR): Likewise.
21530         (STOP): Likewise.
21531         (strpbrk): Likewise.  Do not use BP_SYM.
21532         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21533         "bp-asm.h".
21534         (PARMS): Do not use macros from bp-asm.h.
21535         (STR): Likewise.
21536         (CHR): Likewise.
21537         (strrchr): Likewise.  Do not use BP_SYM.
21538         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21539         (PARMS): Do not use macros from bp-asm.h.
21540         (SKIP): Likewise.
21541         (strspn): Do not use BP_SYM.
21542         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21543         (PARMS): Do not use macros from bp-asm.h.
21544         (STR): Likewise.
21545         (DELIM): Likewise.
21546         (SAVE): Likewise.
21547         (FUNCTION): Likewise.  Do not use BP_SYM.
21548         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21549         aliases.
21550         (strtok_r): Likewise.
21551         (__GI___strtok_r): Likewise.
21552         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21553         (PARMS): Do not use macros from bp-asm.h.
21554         (S1): Likewise.
21555         (S2): Likewise.
21556         (SIZE): Likewise.
21557         (__mpn_sub_n): Do not use BP_SYM.
21558         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21559         "bp-asm.h".
21560         (PARMS): Do not use macros from bp-asm.h.
21561         (S1): Likewise.
21562         (SIZE): Likewise.
21563         (__mpn_submul_1): Do not use BP_SYM.
21564         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21565         <bp-sym.h>.
21566         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21567         and <bp-asm.h>.
21568         (PARMS): Do not use macros from bp-asm.h.
21569         (FLAGS): Likewise.
21570         (PTID): Likewise.
21571         (TLS): Likewise.
21572         (CTID): Likewise.
21573         (__clone): Do not use BP_SYM.
21574         (clone): Do not use BP_SYM in weak_alias.
21575         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21576         and <bp-asm.h>.
21577         (PARMS): Do not use macros from bp-asm.h.
21578         (LEN): Likewise.
21579         (__mmap64): Do not use BP_SYM.
21580         (mmap64): Do not use BP_SYM in weak_alias.
21581         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21582         <bp-sym.h> and <bp-asm.h>.
21583         (PARMS): Do not use macros from bp-asm.h.
21584         (__posix_fadvise64_l64): Do not use BP_SYM.
21585         * sysdeps/unix/sysv/linux/i386/semtimedop.S
21586         (PARMS): Do not use macros from bp-asm.h.
21587         (NSOPS): Likewise.
21588         (semtimedop): Do not use BP_SYM.
21589         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21590         and <bp-asm.h>.
21591
21592 2013-02-21  Allan McRae  <allan@archlinux.org>
21593
21594         * manual/message.texi (Charset conversion in gettext):
21595         Move @end statement to beginning of line.
21596
21597 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21598
21599         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21600         static.
21601         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21602         Likewise.
21603
21604         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21605         (denorm): Likewise.
21606         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21607         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21608
21609 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21610
21611         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21612         tail-call to the resolved function if pltexit isn't needed.
21613
21614 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21615
21616         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21617         or Y being zero as being unlikely.
21618         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21619         Likewise.
21620
21621 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
21622
21623         * manual/nss.texi (System Databases and Name Service Switch):
21624         Remove frobnicate @pxref.
21625
21626 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
21627
21628         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21629         __attribute__ ((unused)) to __attribute__ ((__unused__)).
21630
21631 2013-02-20  Petr Machata  <pmachata@redhat.com>
21632
21633         * elf/elf.h (R_ARM_TARGET1): New macro.
21634         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21635         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21636         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21637         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21638         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21639         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21640         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21641         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21642         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21643         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21644         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21645         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21646         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21647         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21648         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21649         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21650         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21651         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21652         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21653         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21654         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21655         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21656         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21657         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21658         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21659         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21660         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21661         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21662         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21663         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21664         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21665         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21666         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21667         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21668         (R_ARM_THM_GOT_BREL12): Likewise.
21669         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21670         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21671         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21672         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21673         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21674         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21675         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21676         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21677         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21678
21679 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
21680
21681         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21682         __attribute_used__ to __attribute__ ((unused)).
21683
21684 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21685
21686         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21687         powerpc mpa.c.
21688         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21689         comment formatting.
21690         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21691
21692 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
21693
21694         [BZ #13550]
21695         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21696         Remove macro.
21697         (ENTER): Remove both macro definitions.
21698         (LEAVE): Likewise.
21699         (CHECK_BOUNDS_LOW): Likewise.
21700         (CHECK_BOUNDS_HIGH): Likewise.
21701         (CHECK_BOUNDS_BOTH): Likewise.
21702         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21703         (RETURN_BOUNDED_POINTER): Likewise.
21704         (RETURN_NULL_BOUNDED_POINTER): Likewise.
21705         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21706         (POP_ERRNO_LOCATION_RETURN): Likewise.
21707         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21708         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21709         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21710         macros.
21711         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21712         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21713         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21714         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21715         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21716         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21717         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21718         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21719         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21720         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21721         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21722         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21723         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21724         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21725         removed macros.
21726         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21727         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21728         macros.
21729         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21730         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21731         * sysdeps/i386/i586/memset.S (memset): Likewise.
21732         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21733         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21734         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21735         macros.
21736         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21737         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21738         Change uses of L(2) to L(out).
21739         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21740         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21741         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21742         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21743         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21744         removed macros.
21745         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21746         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21747         macros.
21748         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21749         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21750         (RETURN): Do not use macro LEAVE.
21751         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21752         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21753         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21754         * sysdeps/i386/i686/memset.S (memset): Likewise.
21755         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21756         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21757         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21758         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21759         Likewise.
21760         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21761         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
21762         L(1_2) and L(1_3) into L(1).
21763         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21764         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21765         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21766         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21767         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21768         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21769         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21770         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21771         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21772         macros.
21773         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21774         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21775         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21776         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21777         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21778         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21779         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21780         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21781         * sysdeps/i386/strcspn.S (strcspn): Likewise.
21782         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21783         * sysdeps/i386/strrchr.S (strrchr): Likewise.
21784         * sysdeps/i386/strspn.S (strspn): Likewise.
21785         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21786         conditional code.
21787         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21788         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21789         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21790         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
21791         L(1_3) into L(1_1).
21792         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21793         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21794         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21795         macros.
21796         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21797
21798 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
21799
21800         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21801         macro.
21802
21803 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21804
21805         * math/atest-exp.c (exp_mpn): Remove ROUND.
21806         * math/atest-exp2.c (exp_mpn): Likewise.
21807         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21808
21809         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21810         * stdlib/tst-tls-atexit-lib.c: Likewise.
21811         * stdlib/tst-tls-atexit.c: Likewise.
21812
21813 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21814
21815         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21816         and __attribute_alloc_size__.
21817
21818 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21819
21820         * include/programs/xmalloc.h: Change __attribute_alloc_size to
21821         __attribute_alloc_size__.
21822         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21823         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21824
21825 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21826
21827         * include/programs/xmalloc.h: New file.
21828         * catgets/gencat.c: Include it.
21829         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21830         * elf/pldd.c: Likewise.
21831         * iconv/iconv_charmap.c: Likewise.
21832         * iconv/iconvconfig.c: Likewise.
21833         * iconv/strtab.c: Likewise.
21834         * locale/programs/locale.c: Likewise.
21835         * locale/programs/localedef.h: Likewise.
21836         * locale/programs/simple-hash.c: Likewise.
21837         * nscd/nscd.h: Likewise.
21838         * nss/makedb.c: Likewise.
21839         * sysdeps/generic/ldconfig.h: Likewise.
21840
21841 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21842
21843         * Versions.def: Add GLIBC_2.18.
21844         * include/link.h (struct link_map): New member l_tls_dtor_count.
21845         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21846         (__call_tls_dtors): Likewise.
21847         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21848         __cxa_thread_atexit_impl.
21849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21850         Likewise.
21851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21852         Likewise.
21853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21854         Likewise.
21855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21856         Likewise.
21857         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21858         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21859         Likewise.
21860         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21861         Likewise.
21862         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21864         Likewise.
21865         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21866         (tests): Add test case tst-tls-atexit.
21867         (modules-names): Add shared library for tst-tls-atexit.
21868         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21869         (GLIBC_PRIVATE): Add __call_tls_dtors.
21870         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21871         for libstdc++.
21872         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21873         * stdlib/tst-tls-atexit.c: New test case.
21874         * stdlib/tst-tls-atexit-lib.c: New test case.
21875
21876         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21877
21878         * elf/Versions (ld): Add _dl_find_dso_for_object.
21879         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21880         * elf/dl-open.c (_dl_find_dso_for_object): New function.
21881         (dl_open_worker): Use _dl_find_dso_for_object.
21882         * elf/dl-sym.c (do_sym): Likewise.
21883         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21884
21885 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21886
21887         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21888         Syntactic changes only.
21889         (_dl_runtime_profile): Do a tail-call to the resolved function.
21890
21891 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
21892
21893         [BZ #13550]
21894         * sysdeps/x86_64/bp-asm.h: Remove file.
21895         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21896         <bp-sym.h> and <bp-asm.h>.
21897         (__clone): Do not use BP_SYM.
21898         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21899         <bp-sym.h> and <bp-asm.h>.
21900         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21901         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21902         "bp-asm.h".
21903         (_setjmp): Do not use BP_SYM.
21904         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21905         "bp-asm.h".
21906         (setjmp): Do not use BP_SYM.
21907         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21908         libc_hidden_def.
21909         (mempcpy): Do not use BP_SYM in weak_alias.
21910         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21911         "bp-asm.h".
21912         (strchr): Do not use BP_SYM.
21913         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21914         "bp-asm.h".
21915         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21916         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21917         (_start): Do not use BP_SYM.
21918         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21919         "bp-asm.h".
21920         (strcat): Do not use BP_SYM.
21921         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21922         "bp-asm.h".
21923         (STRCMP): Do not use BP_SYM.
21924         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21925         "bp-asm.h".
21926         (STRCPY): Do not use BP_SYM.
21927         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21928         "bp-asm.h".
21929         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21930         "bp-asm.h".
21931         (FUNCTION): Do not use BP_SYM.
21932         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21933         weak_alias.
21934         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21935
21936 2013-02-17  Andreas Jaeger  <aj@suse.de>
21937
21938         * time/Versions: Sort entries.
21939         * string/Versions: Likewise.
21940         * resolv/Versions: Likewise.
21941         * posix/Versions: Likewise.
21942         * iconv/Versions: Likewise.
21943         * elf/Versions: Likewise.
21944         * wcsmbs/Versions: Likewise.
21945
21946 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21947
21948         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21949         loop termination condition.
21950
21951         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21952         variable to calculate EZ.
21953         (__sqr): Likewise.
21954
21955         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21956         the lower precision input.
21957
21958 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
21959
21960         [BZ #13550]
21961         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21962         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21963         (run-via-rtld-prefix): Do not handle %-bp tests.
21964         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21965         (all-object-suffixes): Remove .ob.
21966         (bppfx): Remove variable.
21967         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21968         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21969         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21970         [$(build-bounded) = yes] (libtype.ob): Likewise.
21971         * Makerules (elide-routines.ob): Remove variable.
21972         (do-tests-clean): Do not handle *-bp.out.
21973         (common-mostlyclean): Do not handle *-bp and *-bp.out.
21974         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21975         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21976         (tests): Do not include $(tests-bp.out).
21977         (xtests): Do not include $(xtests-bp.out).
21978         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21979         [$(build-bounded) = yes] ($(addprefix
21980         $(objpfx),$(binaries-bounded))): Remove rule.
21981         ($(objpfx)%-bp.out): Remove rule.
21982         * config.make.in (build-bounded): Remove variable.
21983         * crypt/Makefile [$(build-bounded) = yes]
21984         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21985         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21986         append to variable.
21987         [$(build-bounded) = yes] (install-lib): Likewise.
21988         [$(build-bounded) = yes] (generated): Likewise.
21989         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21990         Remove rule.
21991         * intl/Makefile [$(build-bounded) = yes]
21992         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21993         * math/Makefile [$(build-bounded) = yes]
21994         ($(tests:%=$(objpfx)%-bp): Likewise.
21995         * misc/Makefile [$(build-bounded) = yes]
21996         ($(objpfx)tst-tsearch-bp): Likewise.
21997         * nptl/Makeconfig (bounded-thread-library): Remove variable.
21998         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21999         Remove dependency.
22000         * string/Makefile (o-objects.ob): Remove variable.
22001         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22002         (CFLAGS-.ob): Remove variable.
22003         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22004         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22005         both definitions of variable.
22006         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22007         (ASFLAGS-.ob): Remove variable.
22008
22009 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
22010
22011         [BZ #13550]
22012         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22013         Remove __BOUNDED_POINTERS__ from condition.
22014         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22015         * string/bits/string2.h [!__NO_STRING_INLINES &&
22016         !__BOUNDED_POINTERS__]: Likewise.
22017         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22018         Likewise.
22019         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22020         Remove conditional code.
22021         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22022         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22023         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22024         condition.
22025
22026         [BZ #13550]
22027         * csu/libc-start.c: Do not include <bp-sym.h>.
22028         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22029         * elf/dl-open.c: Do not include <bp-sym.h>.
22030         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22031         * math/fegetenv.c: Do not include <bp-sym.h>.
22032         (fegetenv): Do not use BP_SYM in versioned symbols.
22033         * nptl/sysdeps/pthread/bits/libc-lockP.h
22034         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22035         <bp-sym.h>.
22036         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22037         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22038         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22039         (__pthread_mutex_destroy): Likewise.
22040         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22041         (__pthread_mutex_lock): Likewise.
22042         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22043         (__pthread_mutex_trylock): Likewise.
22044         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22045         (__pthread_mutex_unlock): Likewise.
22046         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22047         (__pthread_mutexattr_init): Likewise.
22048         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22049         (__pthread_mutexattr_destroy): Likewise.
22050         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22051         (__pthread_mutexattr_settype): Likewise.
22052         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22053         (__pthread_rwlock_init): Likewise.
22054         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22055         (__pthread_rwlock_destroy): Likewise.
22056         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22057         (__pthread_rwlock_rdlock): Likewise.
22058         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22059         (__pthread_rwlock_tryrdlock): Likewise.
22060         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22061         (__pthread_rwlock_wrlock): Likewise.
22062         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22063         (__pthread_rwlock_trywrlock): Likewise.
22064         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22065         (__pthread_rwlock_unlock): Likewise.
22066         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22067         (__pthread_key_create): Likewise.
22068         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22069         (__pthread_setspecific): Likewise.
22070         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22071         (__pthread_getspecific): Likewise.
22072         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22073         Likewise.
22074         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22075         (_pthread_cleanup_push_defer): Likewise.
22076         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22077         (_pthread_cleanup_pop_restore): Likewise.
22078         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22079         (pthread_setcancelstate): Likewise.
22080         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22081         <bp-sym.h>.
22082         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22083         (memchr): Do not use BP_SYM in weak_alias.
22084         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22085         (fegetenv): Do not use BP_SYM in versioned symbols.
22086         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22087         (fesetenv): Do not use BP_SYM in versioned symbols.
22088         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22089         (feupdateenv): Do not use BP_SYM in versioned symbols.
22090         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22091         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22092         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22093         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22094         (open64): Do not use BP_SYM in weak_alias.
22095         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22096         (fegetenv): Do not use BP_SYM in versioned symbols.
22097         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22098         (fesetenv): Do not use BP_SYM in versioned symbols.
22099         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22100         (feupdateenv): Do not use BP_SYM in versioned symbols.
22101         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22102         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22103         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22104         (feraiseexcept): Do not use BP_SYM in versioned symbols.
22105         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22106         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22107         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22108         <bp-sym.h>.
22109         (__libc_start_main): Do not use BP_SYM.
22110
22111 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22112
22113         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22114         redundant return line.
22115         (norm): Likewise.
22116         (denorm): Likewise.
22117         (dbl_mp): Likewise.
22118         (sub_magnitudes): Likewise.
22119         (__add): Likewise.
22120         (__sub): Likewise.
22121         (__mul): Likewise.
22122         (__inv): Likewise.
22123         (__dvd): Likewise.
22124         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22125         (norm): Likewise.
22126         (denorm): Likewise.
22127         (dbl_mp): Likewise.
22128         (sub_magnitudes): Likewise.
22129         (__add): Likewise.
22130         (__sub): Likewise.
22131         (__mul): Likewise.
22132         (__inv): Likewise.
22133         (__dvd): Likewise.
22134
22135         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22136         instead of __mul.
22137         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22138         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22139         (cc32): Likewise.
22140
22141         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22142         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22143         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22144         of __mul for squares.
22145         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22146         function
22147         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22148         Likewise.
22149         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22150         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22151
22152 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
22153
22154         [BZ #13550]
22155         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22156         code.
22157         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22158         prototype or function definition.  Rename ubp_* variables and
22159         parameters.  Remove argv definitions conditional on
22160         [__BOUNDED_POINTERS__].
22161         * debug/backtrace.c (__backtrace): Do not use __unbounded.
22162         * elf/dl-runtime.c (_dl_fixup): Likewise.
22163         * include/set-hooks.h (RUN_HOOK): Likewise.
22164         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22165         definition.
22166         * string/strcpy.c (strcpy): Do not use __unbounded.
22167         * sysdeps/generic/frame.h (struct layout): Likewise.
22168         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22169         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22170         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22171         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22172         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22173         (__backtrace): Likewise.
22174         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22175         use __ptrvalue.
22176         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22177         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22178         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22179         Likewise.
22180         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22181         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22182         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22183         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22184         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22185         Do not use __unbounded.
22186         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22187         Rename __unboundedrlimits parameter to rlimits in prototype.
22188         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22189         Do not use __unbounded.
22190         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22191         not use __ptrvalue.
22192         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22193         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22194         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22195         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22196         __ptrvalue or __unbounded.
22197         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22198         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22199         use __unbounded.
22200         (__new_msgctl): Do not use __ptrvalue.
22201         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22202         __unbounded.
22203         (__libc_msgrcv): Do not use __ptrvalue.
22204         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22205         startup_info): Do not use __unbounded.
22206         (__libc_start_main): Likewise.  Rename ubp_* variables and
22207         parameters.  Remove argv definitions conditional on
22208         [__BOUNDED_POINTERS__].
22209         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22210         __ptrvalue.
22211         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22212         use __unbounded.
22213         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22214         or __ptrvalue.
22215         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22216         use __unbounded.
22217         (__new_shmctl): Do not use __ptrvalue.
22218         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22219         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22220         Likewise.
22221         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22222         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22223         (__libc_sigaction): Likewise.
22224         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22225         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22226         Likewise.
22227         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22228
22229 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
22230
22231         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22232
22233         * string/mempcpy.c: Implement by calling memcpy.
22234
22235 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22236
22237         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22238
22239         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22240         evaluation.
22241
22242         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22243         values in the mantissa.
22244
22245         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22246         minimize writes to Z.
22247         (sub_magnitudes): Simplify code a bit.
22248
22249 2013-02-12  Roland McGrath  <roland@hack.frob.com>
22250
22251         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22252         from the message.  The linker prefixes all warnings with that already.
22253
22254 2013-02-12  Andreas Schwab  <schwab@suse.de>
22255
22256         [BZ #15078]
22257         * posix/regexec.c (extend_buffers): Add parameter min_len.
22258         (check_matching): Pass minimum needed length.
22259         (clean_state_log_if_needed): Likewise.
22260         (get_subexp): Likewise.
22261         * posix/Makefile (tests): Add bug-regex34.
22262         (bug-regex34-ENV): Define.
22263         * posix/bug-regex34.c: New file.
22264
22265         [BZ #11561]
22266         * posix/regcomp.c (parse_bracket_exp): When looking up collating
22267         elements compare against the byte sequence of it, not its name.
22268         * posix/Makefile (tests): Add bug-regex35.
22269         (bug-regex35-ENV): Define.
22270         * posix/bug-regex35.c: New file.
22271
22272 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22273
22274         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
22275         comment.
22276         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22277         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22278         (CHECK_EOL): Add undef.
22279
22280 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
22281
22282         * bits/stdlib-bsearch.h: New file.
22283         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22284         * stdlib/stdlib.h: Likewise.
22285
22286 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22287
22288         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22289         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22290         declaration.
22291         * manual/search.texi (Array Search Function): Add missing const in
22292         lfind prototype.
22293         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22294         declaration to use rlim_t.
22295         (Basic Scheduling Functions): Remove erroneous const from
22296         sched_getparam prototype.  Remove erroneous * from
22297         sched_get_priority_max and sched_get_priority_min prototypes.
22298         (Resource Usage): Fix summary @comment on vtimes to refer to
22299         sys/vtimes.h rather than vtimes.h.
22300         Add missing *s in vtimes prototype.
22301         (Limits on Resources): Fix ulimit prototype to return long int.
22302         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22303         prototypes to use long int rather than double.
22304         (BSD Random): Fix initstate and setstate to use char *, not void *.
22305         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22306         prototype to make second argument 'struct aiocb64 *const[]'.
22307         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22308         (Status of AIO Operations): Remove erroneous const in aio_return and
22309         aio_return64 prototypes.
22310         (Synchronizing I/O): Fix sync prototype to return void.
22311         * manual/startup.texi (Suboptions): Remove an erroneous const in
22312         getsubopt prototype.
22313         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22314         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22315         use size_t rather than int.
22316         (Scanning All Users): Likewise for getpwent_r.
22317         (Setting Groups): Add missing const to setgroups prototype.
22318         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22319         * manual/socket.texi (Host Names): Fix gethostbyaddr and
22320         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22321         'const void *' rather than 'const char *'.
22322         (Host Address Functions): Likewise for inet_ntop.
22323         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22324         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22325         ssize_t for return value.
22326         (Sending Data): Likewise for send, sendto, sendmsg.
22327         (Socket Option Functions): Add a missing const in setsockopt prototype.
22328         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22329         use wchar_t for the argument.
22330         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22331         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22332         take no arguments.
22333         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22334         double/float/long double for second argument.
22335         Fix return types of significand, significandf, significandl.
22336         * manual/filesys.texi (Setting Permissions): Use mode_t for second
22337         argument in fchmod prototype.
22338         (File Owner): Use uid_t and gid_t in fchown prototype.
22339         (File Times): Add const to utimes, futimes, and lutimes prototypes.
22340         (Making Special Files): Use mode_t and dev_t in mknod prototype.
22341         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22342         use 'const struct dirent **' as argument types to CMP function pointer
22343         argument.
22344         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22345         (File Times): Fix summary magic @comment for struct utimbuf and utime
22346         to refer to utime.h, not time.h.
22347         * manual/string.texi (Argz Functions): Add missing const in
22348         argz_extract and argz_next prototypes.
22349         (Finding Tokens in a String): Likewise for basename.
22350         (String/Array Comparison): Fix typo in wcscasecmp prototype.
22351         (Copying and Concatenation): Fix typo in wmemmove prototype.
22352         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22353         (Signal Stack): Remove erroneous const in sigstack prototype.
22354         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22355         prototype.
22356         (Simple Calendar Time): Likewise for stime.
22357         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22358         prototype.
22359         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22360         say sys/sysctl.h instead.
22361         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22362         and vsyslog prototypes.
22363
22364 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22365
22366         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22367         Remove.
22368
22369 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22370
22371         * misc/sys/mman.h: Fix typo in mremap comment.
22372
22373 2013-02-08  Roland McGrath  <roland@hack.frob.com>
22374
22375         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22376         the '\0' terminator.
22377
22378 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
22379
22380         [BZ #13550]
22381         * debug/segfault.c: Don't include <bp-checks.h>.
22382         * sysdeps/generic/bp-checks.h: Remove file.
22383         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22384         (__GETDENTS): Don't use CHECK_N.
22385         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22386         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22387         (__getgroups): Don't use CHECK_N.
22388         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22389         (setgroups): Don't use CHECK_N.
22390         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22391         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22392         (__libc_msgrcv): Don't use CHECK_N.
22393         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22394         (__libc_msgsnd): Don't use CHECK_N.
22395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22396         <bp-checks.h>.
22397         (__libc_pread): Don't use CHECK_N.
22398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22399         include <bp-checks.h>.
22400         (__libc_pread64): Don't use CHECK_N.
22401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22402         include <bp-checks.h>.
22403         (__libc_pwrite): Don't use CHECK_N.
22404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22405         include <bp-checks.h>.
22406         (__libc_pwrite64): Don't use CHECK_N.
22407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22408         <bp-checks.h>.
22409         (__libc_pread): Don't use CHECK_N.
22410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22411         include <bp-checks.h>.
22412         (__libc_pread64): Don't use CHECK_N.
22413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22414         include <bp-checks.h>.
22415         (__libc_pwrite): Don't use CHECK_N.
22416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22417         include <bp-checks.h>.
22418         (__libc_pwrite64): Don't use CHECK_N.
22419         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22420         (do_pread): Don't use CHECK_N.
22421         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22422         (do_pread64): Don't use CHECK_N.
22423         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22424         (do_pwrite): Don't use CHECK_N.
22425         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22426         (do_pwrite64): Don't use CHECK_N.
22427         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22428         (__libc_readv): Don't use CHECK_N.
22429         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22430         (semop): Don't use CHECK_N.
22431         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22432         <bp-checks.h>.
22433         (semtimedop): Don't use CHECK_N.
22434         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22435         (__libc_pread): Don't use CHECK_N.
22436         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22437         <bp-checks.h>.
22438         (__libc_pread64): Don't use CHECK_N.
22439         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22440         <bp-checks.h>.
22441         (__libc_pwrite): Don't use CHECK_N.
22442         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22443         <bp-checks.h>.
22444         (__libc_pwrite64): Don't use CHECK_N.
22445         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22446         <bp-checks.h>.
22447         (__libc_msgrcv): Don't use CHECK_N.
22448         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22449         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
22450         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22451         (__libc_writev): Don't use CHECK_N.
22452
22453 2013-02-08  Roland McGrath  <roland@hack.frob.com>
22454
22455         * string/strcpy.c: Removed unused variable.
22456
22457         * Makeconfig (+sysdep-includes): Define with := rather than =.
22458         Use an existing include/ subdir of each sysdeps dir before it.
22459
22460 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22461
22462         * nscd/connection.c (register_traced_file): Comment function.
22463         [HAVE_INOTIFY] (union __inev): Define.
22464         [HAVE_INOTIFY] (inotify_check_files): New function.
22465         [HAVE_INOTIFY] (clear_db_cache): Likewise.
22466         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22467         clear_db_cache.
22468         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22469
22470 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22471
22472         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22473         loaded if not already and that a failure is permanent.
22474
22475 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22476
22477         [BZ #15006]
22478         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22479         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22480
22481 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
22482
22483         [BZ #13550]
22484         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22485         (CHECK_1_NULL_OK): Likewise.
22486         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22487         (__fxstat): Do not use CHECK_1.
22488         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22489         <bp-checks.h>.
22490         (___fxstat64): Do not use CHECK_1.
22491         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22492         <bp-checks.h>.
22493         (__fxstatat): Do not use CHECK_1.
22494         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22495         <bp-checks.h>.
22496         (__fxstatat64): Do not use CHECK_1.
22497         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22498         <bp-checks.h>.
22499         (__fxstat): Do not use CHECK_1.
22500         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22501         <bp-checks.h>.
22502         (__fxstatat): Do not use CHECK_1.
22503         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22504         <bp-checks.h>.
22505         (__getresgid): Do not use CHECK_1.
22506         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22507         <bp-checks.h>.
22508         (__getresuid): Do not use CHECK_1.
22509         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22510         <bp-checks.h>.
22511         (__lxstat): Do not use CHECK_1.
22512         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22513         <bp-checks.h>.
22514         (__old_msgctl): Do not use CHECK_1.
22515         (__new_msgctl): Likewise.
22516         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22517         <bp-checks.h>.
22518         (__new_setrlimit): Do not use CHECK_1.
22519         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22520         <bp-checks.h>.
22521         (__old_shmctl): Do not use CHECK_1.
22522         (__new_shmctl): Likewise.
22523         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22524         <bp-checks.h>.
22525         (__xstat): Do not use CHECK_1.
22526         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22527         (__lxstat): Do not use CHECK_1.
22528         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22529         <bp-checks.h>.
22530         (___lxstat64): Do not use CHECK_1.
22531         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22532         (__old_msgctl): Do not use CHECK_1.
22533         (__new_msgctl): Likewise.
22534         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22535         <bp-checks.h>.
22536         (__gettimeofday): Do not use CHECK_1.
22537         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22538         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22539         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22540         <bp-checks.h>.
22541         (__gettimeofday): Do not use CHECK_1.
22542         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22543         (__old_shmctl): Do not use CHECK_1_NULL_OK.
22544         (__new_shmctl): Do not use CHECK_1.
22545         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22546         <bp-checks.h>.
22547         (do_sigtimedwait): Do not use CHECK_1.
22548         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22549         <bp-checks.h>.
22550         (do_sigwaitinfo): Do not use CHECK_1.
22551         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22552         <bp-checks.h>.
22553         (msgctl): Do not use CHECK_1.
22554         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22555         <bp-checks.h>.
22556         (shmctl): Do not use CHECK_1.
22557         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22558         (ustat): Do not use CHECK_1.
22559         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22560         <bp-checks.h>.
22561         (__fxstat): Do not use CHECK_1.
22562         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22563         <bp-checks.h>.
22564         (__fxstatat): Do not use CHECK_1.
22565         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22566         <bp-checks.h>.
22567         (__lxstat): Do not use CHECK_1.
22568         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22569         <bp-checks.h>.
22570         (__xstat): Do not use CHECK_1.
22571         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22572         (__xstat): Do not use CHECK_1.
22573         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22574         (___xstat64): Do not use CHECK_1.
22575
22576         [BZ #13550]
22577         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22578         definitions.
22579         (CHECK_BOUNDS_HIGH): Likewise.
22580         * string/strcpy.c: Do not include <bp-checks.h>.
22581         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22582
22583 2013-02-07  Roland McGrath  <roland@hack.frob.com>
22584
22585         * nscd/nscd-client.h (__nscd_drop_map_ref):
22586         Add __attribute__ ((unused)).
22587         * nis/nss-nisplus.h (niserr2nss): Likewise.
22588
22589         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22590         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22591
22592         * csu/libc-tls.c (init_static_tls, init_slotinfo):
22593         Remove inline keyword.
22594         * include/rounding-mode.h (round_away): Likewise.
22595         * libio/wfileops.c (adjust_wide_data): Likewise.
22596         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22597         (__m128i_strloadu_tolower): Likewise.
22598         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22599         (__m128i_strloadu_tolower): Likewise.
22600         * time/mktime.c (ydhms_diff): Likewise.
22601         * locale/elem-hash.h (elem_hash): Likewise.
22602         * locale/setlocale.c (setdata): Likewise.
22603         * posix/regex_internal.h (re_string_char_size_at): Likewise.
22604         (re_string_wchar_at): Likewise.
22605         (bitset_not, bitset_merge, bitset_mask): Likewise.
22606         [!(__GNUC__ > 3)] (inline): Remove macro.
22607         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22608         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22609         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22610         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22611         * string/memcmp.c (memcmp_bytes): Likewise.
22612         * locale/programs/locarchive.c (compute_hashval): Likewise.
22613         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22614         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22615         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22616         * nss/getent.c (print_rpc, print_protocols): Likewise.
22617         (print_passwd, print_group, print_aliases): Likewise.
22618         * nis/nss-nisplus.h (niserr2nss): Likewise.
22619         * nscd/connections.c (restart_p): Likewise.
22620         Change return type to bool.
22621
22622 2013-02-05  Roland McGrath  <roland@hack.frob.com>
22623
22624         * Makeconfig (all-Depend-files): Add existing
22625         $(sorted-subdirs:=/Depend) files.
22626         (all-subdirs): Remove nss.
22627         * sysdeps/unix/inet/Subdirs: Add it here instead.
22628         * hesiod/Depend: New file.
22629
22630         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22631         instead of calling alloca.
22632
22633         * io/lseek.c (__lseek): Rename to __libc_lseek.
22634         Define __lseek as an alias.
22635
22636         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22637
22638 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
22639
22640         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22641         else clause and remove check for non-standard endianness.
22642
22643 2013-02-04  David S. Miller  <davem@davemloft.net>
22644
22645         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22646
22647 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
22648
22649         [BZ #13550]
22650         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22651         (__ubp_memchr): Remove prototype.
22652         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22653         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22654         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22655         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22656         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22657         Remove alias.
22658         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22659         (__ubp_memchr): Likewise.
22660         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22661         (__ubp_memchr): Likewise.
22662         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22663         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22664         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22665         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22666         CHECK_STRING.
22667         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22668         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22669         (__getcwd): Do not use CHECK_STRING.
22670         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22671         <bp-checks.h>.
22672         (__real_chown): Do not use CHECK_STRING.
22673         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22674         <bp-checks.h>.
22675         (fchownat): Do not use CHECK_STRING.
22676         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22677         CHECK_STRING.
22678         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22679         <bp-checks.h>.
22680         (__lchown): Do not use CHECK_STRING.
22681         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22682         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22683         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22684         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22686         include <bp-checks.h>.
22687         (truncate64): Do not use CHECK_STRING.
22688         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22689         <bp-checks.h>.
22690         (__real_chown): Do not use CHECK_STRING.
22691         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22692         <bp-checks.h>.
22693         (__lchown): Do not use CHECK_STRING.
22694         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22695         <bp-checks.h>.
22696         (__chown): Do not use CHECK_STRING.
22697         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22698         <bp-checks.h>.
22699         (truncate64): Do not use CHECK_STRING.
22700         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22701         Likewise.
22702         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22703         (__xmknod): Do not use CHECK_STRING.
22704         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22705         <bp-checks.h>.
22706         (__xmknodat): Do not use CHECK_STRING.
22707         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22708         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22709
22710 2013-02-04  Andreas Schwab  <schwab@suse.de>
22711
22712         [BZ #14142]
22713         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22714         * include/netdb.h: Likewise for h_errno.
22715         * elf/tst-stackguard1.c: Include <tls.h>.
22716
22717 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
22718
22719         * elf/link.h (struct link_map): Extend the l_addr comment.
22720         * include/link.h (struct link_map): Likewise.
22721
22722 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
22723
22724         [BZ #13550]
22725         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22726         (BOUNDED_1): Remove macro.
22727         * debug/backtrace.c: Don't include <bp-checks.h>.
22728         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22729         (__backtrace): Likewise.
22730         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22731         <bp-checks.h>.
22732         (__backtrace): Don't use BOUNDED_1.
22733         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22734         <bp-checks.h>.
22735         (__backtrace): Don't use BOUNDED_1.
22736         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22737         (__backtrace): Don't use BOUNDED_1.
22738         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22739         (shmat): Don't use BOUNDED_N.
22740
22741 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
22742
22743         [BZ #13550]
22744         * sysdeps/generic/bp-start.h: Remove file.
22745         * csu/libc-start.c: Don't include <bp-start.h>.
22746         (LIBC_START_MAIN): Set up __environ directly instead of using
22747         INIT_ARGV_and_ENVIRON.
22748         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22749         <bp-start.h>.
22750
22751         [BZ #13550]
22752         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22753         definitions.
22754         (CHECK_FCNTL): Likewise.
22755         (CHECK_N_PAGES): Likewise.
22756
22757         [BZ #13550]
22758         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22759         definitions.
22760         (CHECK_SIGSET_NULL_OK): Likewise.
22761         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22762         <bp-checks.h>.
22763         (sigpending): Don't use CHECK_SIGSET.
22764         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22765         <bp-checks.h>.
22766         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22767         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22768         <bp-checks.h>.
22769         (do_sigsuspend): Don't use CHECK_SIGSET.
22770         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22771         use CHECK_SIGSET.
22772         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22773         (do_sigwait): Don't use CHECK_SIGSET.
22774         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22775         use CHECK_SIGSET.
22776         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22777         include <bp-checks.h>.
22778         (sigpending): Don't use CHECK_SIGSET.
22779         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22780         include <bp-checks.h>.
22781         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22782         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22783         <bp-checks.h>.
22784         (sigpending): Don't use CHECK_SIGSET.
22785         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22786         <bp-checks.h>.
22787         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22788
22789         [BZ #13550]
22790         * sysdeps/generic/bp-semctl.h: Remove file.
22791         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22792         <bp-checks.h> and <bp-semctl.h>.
22793         (__old_semctl): Don't use CHECK_SEMCTL.
22794         (__new_semctl): Likewise.
22795         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22796         and <bp-semctl.h>.
22797         (__old_semctl): Don't use CHECK_SEMCTL.
22798         (__new_semctl): Likewise.
22799         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22800         <bp-checks.h> and <bp-semctl.h>.
22801         (__old_semctl): Don't use CHECK_SEMCTL.
22802         (__new_semctl): Likewise.
22803         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22804         <bp-checks.h> and <bp-semctl.h>.
22805         (semctl): Don't use CHECK_SEMCTL.
22806
22807         [BZ #13550]
22808         * Makerules (elide-bp-thunks): Remove variable.
22809         (elide-routines.oS): Don't use $(elide-bp-thunks).
22810         (elide-routines.os): Likewise.
22811         (elide-routines.o): Likewise.
22812         (elide-routines.op): Likewise.
22813         (elide-routines.og): Likewise.
22814         (objects): Don't use $(bp-thunks).
22815         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22816         include.
22817         (common-generated): Do not add s-proto-bp.d.
22818         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22819         (int): Likewise.
22820         (typ): Likewise.
22821         Do not generate makefile rules for bounded-pointer thunks.
22822         * sysdeps/generic/bp-thunks.h: Remove file.
22823         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22824         * sysdeps/unix/s-proto-bp.S: Likewise.
22825
22826         [BZ #15062]
22827         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22828         parts of result separately when argument is not close to line from
22829         -i to i and one part of argument is small.
22830         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22831         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22832         * math/libm-test.inc (cacos_test): Add more tests.
22833         (casin_test): Likewise.
22834         (casinh_test): Likewise.
22835         * sysdeps/i386/fpu/libm-test-ulps: Update.
22836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22837
22838 2013-01-31  David S. Miller  <davem@davemloft.net>
22839
22840         * po/de.po: Update from translation team.
22841
22842 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
22843
22844         * time/tzfile.c: Include stdint.h for SIZE_MAX.
22845
22846 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
22847
22848         * configure.in (_AC_PROG_CC_C89): New definition.
22849         * configure: Regenerate.
22850
22851         * configure.in (AC_PROG_CPP): New definition.
22852         * configure: Regenerate.
22853
22854 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
22855
22856         * debug/tst-backtrace.h: New file.
22857         * debug/tst-backtrace2.c: Include tst-backtrace.h.
22858         (ret): Remove variable.
22859         (x): Likewise.
22860         (FAIL): Remove macro.
22861         (NO_INLINE): Likewise.
22862         (fn1): Use match function instead of strstr.
22863         * debug/tst-backtrace3.c: Include tst-backtrace.h.
22864         (ret): Remove variable.
22865         (x): Likewise.
22866         (FAIL): Remove macro.
22867         (NO_INLINE): Likewise.
22868         (fn): Use match function instead of strstr.
22869         * debug/tst-backtrace4.c: Include tst-backtrace.h.
22870         (ret): Remove variable.
22871         (x): Likewise.
22872         (FAIL): Remove macro.
22873         (NO_INLINE): Likewise.
22874         (handle_signal): Use match function instead of strstr.
22875         * debug/tst-backtrace5.c: Include tst-backtrace.h.
22876         (ret): Remove variable.
22877         (x): Likewise.
22878         (FAIL): Remove macro.
22879         (NO_INLINE): Likewise.
22880         (handle_signal): Use match function instead of strstr.
22881
22882 2013-01-23  Roland McGrath  <roland@hack.frob.com>
22883
22884         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22885
22886 2013-01-23  David S. Miller  <davem@davemloft.net>
22887
22888         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22889         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22890         argument of CAS if possible.
22891         * sysdeps/sparc/sparc64/bits/atomic.h
22892         (__arch_compare_and_exchange_val_32_acq): Likewise.
22893         (__arch_compare_and_exchange_val_64_acq): Likewise.
22894
22895 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
22896
22897         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22898         * sysdeps/posix/ulimit.c: ... this.
22899         Include <limits.h>.
22900         * sysdeps/unix/bsd/ulimit.c: Remove file.
22901
22902 2013-01-23  Adam Conrad  <adconrad@0c3.net>
22903
22904         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22905         (LDFLAGS-tst-array5): Likewise.
22906
22907 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
22908
22909         [BZ #15036]
22910         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22911         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22912         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22913         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22914
22915 2013-01-21  David S. Miller  <davem@davemloft.net>
22916
22917         * sysdeps/sparc/backtrace.c: New file.
22918         * sysdeps/sparc/sparc32/backtrace.h: New file.
22919         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22920         * sysdeps/sparc/sparc64/backtrace.h: New file.
22921         * sysdeps/sparc/sparc64/backtrace.c: Delete.
22922         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22923         -funwind-tables.
22924
22925 2013-01-21  Andreas Schwab  <schwab@suse.de>
22926
22927         [BZ #15020]
22928         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22929         closed its stdout.
22930
22931 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
22932
22933         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22934         "mpa2.h".
22935         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22936
22937 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
22938             Mark Mitchell  <mark@codesourcery.com>
22939             Tom de Vries  <tom@codesourcery.com>
22940             Paul Pluzhnikov  <ppluzhnikov@google.com>
22941
22942         * debug/tst-backtrace2.c: New file.
22943         * debug/tst-backtrace3.c: Likewise.
22944         * debug/tst-backtrace4.c: Likewise.
22945         * debug/tst-backtrace5.c: Likewise.
22946         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22947         (CFLAGS-tst-backtrace3.c): Likewise.
22948         (CFLAGS-tst-backtrace4.c): Likewise.
22949         (CFLAGS-tst-backtrace5.c): Likewise.
22950         (LDFLAGS-tst-backtrace2): Likewise.
22951         (LDFLAGS-tst-backtrace3): Likewise.
22952         (LDFLAGS-tst-backtrace4): Likewise.
22953         (LDFLAGS-tst-backtrace5): Likewise.
22954         (tests): Add new tests tst-backtrace2, tst-backtrace3,
22955         tst-backtrace4 and tst-backtrace5.
22956
22957 2013-01-18  Anton Blanchard  <anton@samba.org>
22958             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22959
22960         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22961         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22962         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22963         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22965         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22966         "+r" and remove output regs list as redundant.  Add explicit inline
22967         asm to specify register of return val to work around compiler codegen
22968         bug.  Remove (int) cast on return value.  Add return type parameter to
22969         use in macro so that this macro does not truncate return value for
22970         64-bit values.
22971         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22972         pass to INTERNAL_VSYSCALL_NCS.
22973         (INLINE_VSYSCALL): Add 'long int' as return type to
22974         INTERNAL_VSYSCALL_NCS macro invocation.
22975         (INTERNAL_VSYSCALL): Add 'long int' as return type to
22976         INTERNAL_VSYSCALL_NCS macro invocation.
22977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22978
22979 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22980
22981         [BZ #14496]
22982         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22983         Fix application of SIMD FP exception mask.
22984
22985         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22986         mp_no from a power of two.
22987         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22988         __mpexp_twomm1.  Use __pow_mp.
22989
22990         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22991         multiplication.
22992
22993 2013-01-17  David S. Miller  <davem@davemloft.net>
22994
22995         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22996
22997 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
22998
22999         [BZ #15023]
23000         * include/complex.h: Condition contents on [!_COMPLEX_H].
23001         (__kernel_casinhf): New prototype.
23002         (__kernel_casinh): Likewise.
23003         (__kernel_casinhl): Likewise.
23004         * math/Makefile (libm_calls): Add k_casinh.
23005         * math/k_casinh.c: New file.
23006         * math/k_casinhf.c: Likewise.
23007         * math/k_casinhl.c: Likewise.
23008         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23009         finite nonzero arguments.
23010         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23011         finite nonzero arguments.
23012         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23013         finite nonzero arguments.
23014         * math/s_casinh.c: Do not include <float.h>.
23015         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23016         * math/s_casinhf.c: Do not include <float.h>.
23017         (__casinhf): Move code for finite nonzero arguments to
23018         k_casinhf.c.
23019         * math/s_casinhl.c: Do not include <float.h>.
23020         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23021         redefine.
23022         (__casinhl): Move code for finite nonzero arguments to
23023         k_casinhl.c.
23024         * math/libm-test.inc (cacos_test): Add more tests.
23025         * sysdeps/i386/fpu/libm-test-ulps: Update.
23026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23027
23028 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
23029
23030         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23031         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23032         [!HAVE_MREMAP]: Remove [defined linux] case.
23033         * malloc/arena.c: Do not include <malloc-sysdep.h>.
23034
23035 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23036
23037         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23038
23039 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
23040
23041         * elf/elf.h (R_386_SIZE32): New relocation.
23042         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23043         R_386_SIZE32.
23044         (elf_machine_rela): Likewise.
23045         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23046         R_X86_64_SIZE64 and R_X86_64_SIZE32.
23047
23048 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23049
23050         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23051         (FP_FAST_FMA): Do not define.
23052         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23053         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23054         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23055         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23056         !_SOFT_FLOAT]: Likewise.
23057         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23058         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23059         value.
23060         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23061         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23062         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23063         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23064         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23065         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23066         file.
23067
23068 2013-01-16  Andreas Schwab  <schwab@suse.de>
23069
23070         [BZ #14327]
23071         * include/stdlib.h (__mktemp): Add declaration.
23072         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23073         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23074
23075 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23076
23077         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23078         definitions.
23079         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23080         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23081         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23082         definitions here.
23083         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23084         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23085         definitions.
23086         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23087         and ONE.
23088         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23089         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23090         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23091         definitions.
23092         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23093         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23094         definitions.
23095         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23096
23097         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23098
23099 2013-01-15  David S. Miller  <davem@davemloft.net>
23100
23101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23102         trunc{,f} to libm-sysdep_routes.
23103         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23105         file.
23106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23108         file.
23109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23110         file.
23111         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23113         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23114         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23115         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23116         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23117         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23118         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23119
23120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23121         nearbyint{,f} to libm-sysdep_routes.
23122         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23124         New file.
23125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23126         file.
23127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23128         New file.
23129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23130         file.
23131         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23132         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23133         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23134         file.
23135         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23136         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23137         file.
23138         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23139         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23140         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23141
23142         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23143         libc_feholdexcept and libc_fesetenv.
23144
23145 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
23146
23147         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23148
23149 2013-01-14  David S. Miller  <davem@davemloft.net>
23150
23151         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23152         (SPARC_ASM_VIS2_IFUNC): Likewise.
23153         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23155         use of 'siam' instruction.
23156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23157         Likewise.
23158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23159         Likewise.
23160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23161         Likewise.
23162         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23163         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23164         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23165         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23167         file.
23168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23169         file.
23170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23171         file.
23172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23173         file.
23174         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23175         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23176         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23177         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23179         new VIS2 routines.
23180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23183         Likewise.
23184         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23185         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23186         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23187         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23189         routines to libm-sysdep_routines.
23190         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23191
23192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23193         fdim/fdimf to libm-sysdep_routines.
23194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23195         file.
23196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23198         file.
23199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23202         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23203         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23204         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23205         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23206
23207 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23208
23209         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23210         to optimize copies.
23211
23212         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23213         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23214         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23215
23216         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23217         local variable MPTWO.
23218         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23219         Likewise.
23220
23221 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23222
23223         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23224         GLOB_NOESCAPE.
23225
23226 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23227
23228         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23229
23230 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23231
23232         * manual/pattern.texi (glob_t): Document gl_flags.
23233         (glob64_t): Likewise.
23234
23235 2013-01-11  David S. Miller  <davem@davemloft.net>
23236
23237         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23238         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23239         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
23240         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23241         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23242         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23243         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23244         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23245         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23246         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23247         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23248         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23249         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23250
23251         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23252         sparc V9 rather than using V8 code.
23253         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23254         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23255
23256         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23257         Move to...
23258         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23259         Here.
23260
23261 2013-01-11  Roland McGrath  <roland@hack.frob.com>
23262
23263         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23264         not in the main loop.
23265         * configure: Regenerated.
23266
23267 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
23268
23269         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23270         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23271         to just #else.
23272         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
23273         [!__GLIBC_HAVE_LONG_LONG] case.
23274         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23275         condition to just #else.
23276         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23277         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23278         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23279         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23280         unconditional.
23281         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23282         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23283         #elif condition to just #else.
23284         * sysdeps/unix/sysv/linux/sys/sysmacros.h
23285         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23286         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23287         #elif condition to just #else.
23288
23289 2013-01-11  Steve Ellcey  <sellcey@mips.com>
23290
23291         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23292         (EF_MIPS_ARCH_64): Fix value.
23293         (EF_MIPS_ARCH_32R2): New.
23294         (EF_MIPS_ARCH_64R2): New.
23295
23296 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
23297
23298         * Makeconfig (+link-pie-before-libc): New.
23299         (+link-pie-after-libc): Likewise.
23300         (+link-pie-tests): Likewise.
23301         (+link-pie): Rewritten.
23302         (link-before-libc): Remove $(config-LDFLAGS).
23303         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23304         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23305         (config-LDFLAGS): Renamed to ...
23306         (rtld-LDFLAGS): This.
23307         (rtld-tests-LDFLAGS): New macro.
23308         (link-libc-rpath-link): Likewise.
23309         (link-libc-tests-rpath-link): Likewise.
23310         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23311         (link-libc): Prepand $(link-libc-rpath-link).
23312         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23313         (test-program-prefix): New macro.
23314         (test-via-rtld-prefix): Likewise.
23315         (test-program-cmd): Likewise.
23316         (host-test-program-cmd): Likewise.
23317         * Makefile ($(common-objpfx)testrun.sh): Replace
23318         $(run-program-prefix) with $(test-program-prefix).
23319         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23320         $(rtld-LDFLAGS).
23321         ($(common-objpfx)shlib.lds): Likewise.
23322         (build-module-helper): Likewise.
23323         ($(common-objpfx)format.lds): Likewise.
23324         * Rules (binaries-pie-tests): New.
23325         (binaries-pie-notests): Likewise.
23326         (binaries-pie): Rewritten.
23327         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23328         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23329         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23330         (make-test-out): Replace $(host-built-program-cmd) with
23331         $(host-test-program-cmd).
23332         * config.make.in (build-hardcoded-path-in-tests): New variable.
23333         * configure.in (--enable-hardcoded-path-in-tests): New configure
23334         option.
23335         (hardcoded_path_in_tests): New AC_SUBST.
23336         * configure: Regenerated.
23337         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23338         $(built-program-cmd) with $(test-program-cmd).
23339         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23340         (test_program_cmd): This.
23341         * elf/Makefile ($(objpfx)order.out): Run test with
23342         $(test-program-prefix).
23343         ($(objpfx)order2.out): Likewise.
23344         ($(objpfx)tst-initorder.out): Likewise.
23345         ($(objpfx)tst-initorder2.out): Likewise.
23346         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23347         $(test-program-cmd).
23348         ($(objpfx)tst-array1-static.out): Likewise.
23349         ($(objpfx)tst-array2.out): Likewise.
23350         ($(objpfx)tst-array3.out): Likewise.
23351         ($(objpfx)tst-array4.out): Likewise.
23352         ($(objpfx)tst-array5.out): Likewise.
23353         ($(objpfx)tst-array5-static.out): Likewise.
23354         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23355         $(test-program-cmd).
23356         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23357         $(run-program-prefix) with $(test-program-prefix).
23358         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23359         (test_program_prefix): This.
23360         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23361         $(run-program-prefix) with $(test-program-prefix).
23362         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23363         (test_program_prefix): This.
23364         * iconvdata/tst-tables.sh: Likewise.
23365         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23366         $(run-program-prefix) with $(test-program-prefix).
23367         ($(objpfx)tst-translit.out): Likewise.
23368         ($(objpfx)tst-gettext2.out): Likewise.
23369         ($(objpfx)tst-gettext4.out): Likewise.
23370         ($(objpfx)tst-gettext6.out): Likewise.
23371         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23372         (test_program_prefix): This.
23373         * intl/tst-gettext2.sh: Likewise.
23374         * intl/tst-gettext4.sh  Likewise.
23375         * intl/tst-gettext6.sh: Likewise.
23376         * intl/tst-translit.sh: Likewise.
23377         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23378         with $(test-program-cmd).
23379         * libio/Makefile ($(objpfx)test-freopen.out): Replace
23380         $(run-program-prefix) with $(test-program-prefix).
23381         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23382         (test_program_prefix): This.
23383         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23384         $(run-program-prefix) with $(test-program-prefix).
23385         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23386         (test_program_prefix): This.
23387         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23388         * posix/Makefile ($(objpfx)globtest.out): Replace
23389         $(run-via-rtld-prefix) and $(test-wrapper) with
23390         $(test-program-prefix) and $(test-via-rtld-prefix).
23391         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23392         $(test-program-prefix).
23393         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23394         $(host-test-program-cmd).
23395         (tst-spawn-ARGS): Likewise.
23396         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23397         $(test-program-prefix).
23398         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23399         (test_via_rtld_prefix): This.
23400         (test_wrapper): Renamed to ...
23401         (test_program_prefix): This.
23402         (run_program_prefix): Replaced by test_program_prefix.
23403         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23404         (test_program_prefix): This.
23405         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23406         with $(host-test-program-cmd).
23407         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23408         $(run-program-prefix) with $(test-program-prefix).
23409         ($(objpfx)tst-printf.out): Likewise.
23410         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23411         $(test-program-cmd).
23412         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23413         (test_program_prefix): This.
23414         * stdio-common/tst-unbputc.sh: Likewise.
23415         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23416         $(run-program-prefix) with $(test-program-prefix).
23417         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23418         (test_program_prefix): This.
23419         * string/Makefile ($(objpfx)tst-svc.out):  Replace
23420         $(built-program-cmd) with $(test-program-cmd).
23421
23422 2013-01-11  Andreas Jaeger  <aj@suse.de>
23423
23424         [BZ #15003]
23425         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23426         value. Sync with Linux 3.7.
23427
23428 2013-01-10  David S. Miller  <davem@davemloft.net>
23429
23430         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23431         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23432         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23433
23434 2013-01-10  Roland McGrath  <roland@hack.frob.com>
23435
23436         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23437         never set.
23438         * configure: Regenerated.
23439
23440 2013-01-10  David S. Miller  <davem@davemloft.net>
23441
23442         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23443         sparc V9 rather than using V8 code.
23444         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23445         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23446
23447 2013-01-10  Roland McGrath  <roland@hack.frob.com>
23448
23449         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23450         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23451         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23452         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23453         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23454         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23455         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23456         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23457         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23458         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23459         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23460         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23461         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23462         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23463         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23464         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23465         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23466         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23467         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23468         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23469         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23470         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23471         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23472         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23473         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23474         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23475         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23476
23477 2013-01-10  David S. Miller  <davem@davemloft.net>
23478
23479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23480
23481 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
23482
23483         * posix/Makefile (tests-static): New variable.
23484         (tests): Add $(tests-static).
23485         (tst-exec-static-ARGS): New variable.
23486         (tst-spawn-static-ARGS): Likewise.
23487         * posix/tst-exec-static.c: New file.
23488         * posix/tst-spawn-static.c: Likewise.
23489         * posix/tst-exec.c: Support run directly.
23490         * posix/tst-spawn.c: Likewise.
23491
23492 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
23493
23494         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23495         long.
23496         * math/bits/mathcalls.h (llrint): Likewise.
23497         (llround): Likewise.
23498         * stdlib/stdlib.h (struct drand48_data): Likewise.
23499         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23500         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23501         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23502         Likewise.
23503         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23504         Likewise.
23505         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23506         (elf_greg_t): Likewise.
23507         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23508         (__jmp_buf): Likewise.
23509         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23510         definitions.
23511         (llrint): Likewise, for all definitions.
23512         (llrintl): Likewise.
23513
23514         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23515         Remove [__GNUC__] condition.
23516         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23517         condition to just [__USE_ISOC99].
23518         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23519
23520 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
23521
23522         [BZ #14200]
23523         * sysdeps/unix/sysv/linux/x86/bits/environments.h
23524         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23525         defined.
23526         (_POSIX_V6_ILP32_OFF32): Likewise.
23527         (_XBS5_ILP32_OFF32): Likewise.
23528         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23529         (__ILP32_OFFBIG_LDFLAGS): Likewise.
23530
23531 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23532
23533         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23534
23535         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23536         doubles __mpexp_twomm1.  Adjust usage.
23537         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23538         Remove.
23539
23540 2013-01-10  Andreas Schwab  <schwab@suse.de>
23541
23542         [BZ #14964]
23543         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23544         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23545
23546 2013-01-09  David S. Miller  <davem@davemloft.net>
23547
23548         [BZ #15003]
23549         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23550         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23551         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23552         (TCP_FASTOPEN): Define.
23553         (tcp_repair_opt): New structure.
23554         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23555         enum values.
23556         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23557         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23558         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23559         (tcp_cookie_transactions): New structure.
23560
23561 2013-01-09  Anton Blanchard  <anton@samba.org>
23562
23563         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23564         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23565         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23566         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23567
23568 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
23569
23570         * include/features.h (__USE_ANSI): Remove.
23571
23572 2013-01-09  Roland McGrath  <roland@hack.frob.com>
23573
23574         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23575
23576         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23577
23578 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
23579
23580         * sysdeps/s390/fpu/libm-test-ulps: Update.
23581
23582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23583
23584         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23585         (__acr): Likewise.
23586         (__cpy): Likewise.
23587         (norm): Likewise.
23588         (denorm): Likewise.
23589         (__mp_dbl): Likewise.
23590         (__dbl_mp): Likewise.
23591         (add_magnitudes): Likewise.
23592         (sub_magnitudes): Likewise.
23593         (__add): Likewise.
23594         (__sub): Likewise.
23595         (__mul): Likewise.
23596         (__inv): Likewise.
23597         (__dvd): Likewise.
23598         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23599         (__acr): Likewise.
23600         (__cpy): Likewise.
23601         (norm): Likewise.
23602         (denorm): Likewise.
23603         (__mp_dbl): Likewise.
23604         (__dbl_mp): Likewise.
23605         (add_magnitudes): Likewise.
23606         (sub_magnitudes): Likewise.
23607         (__add): Likewise.
23608         (__sub): Likewise.
23609         (__mul): Likewise.
23610         (__inv): Likewise.
23611         (__dvd): Likewise.
23612         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23613         (__acr): Likewise.
23614         (__cpy): Likewise.
23615         (norm): Likewise.
23616         (denorm): Likewise.
23617         (__mp_dbl): Likewise.
23618         (__dbl_mp): Likewise.
23619         (add_magnitudes): Likewise.
23620         (sub_magnitudes): Likewise.
23621         (__add): Likewise.
23622         (__sub): Likewise.
23623         (__mul): Likewise.
23624         (__inv): Likewise.
23625         (__dvd): Likewise.
23626
23627 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
23628
23629         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23630         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23631         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23632         2 && __USE_EXTERN_INLINES]: Likewise.
23633
23634 2013-01-08  Andreas Jaeger  <aj@suse.de>
23635
23636         [BZ# 14985]
23637         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23638         Remove.
23639         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23640         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23641
23642 2013-01-07  Anton Blanchard  <anton@samba.org>
23643
23644         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23645         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23646         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23647         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23648         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23649         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23650         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23651         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23652         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23653         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23654         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23655         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23656         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23657         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23658         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23659         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23660         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23661         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23662         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23663         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23664         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23665         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23666         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23667         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23668         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23669         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23670         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23671         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23672         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23673         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23674         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23675         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23676         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23677         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23678         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23679         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23680         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23681         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23682         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23683         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23684         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23685         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23686         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23687
23688 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
23689
23690         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23691         (__MALLOC_PMT): Likewise.
23692         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23693         [__GNUC__], only on [_LIBC].
23694         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23695         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23696         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23697         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23698         forward declaration.
23699         (realloc_hook_ini): Likewise.
23700         (memalign_hook_ini): Likewise.
23701         (__libc_memalign): Do not use __MALLOC_PMT in variable
23702         declaration.
23703         (__libc_valloc): Likewise.
23704         (__libc_pvalloc): Likewise.
23705         (__libc_calloc): Likewise.
23706         (__posix_memalign): Likewise.
23707
23708         [BZ #14996]
23709         * math/s_casinh.c: Include <float.h>.
23710         (__casinh): Do not do computation with squaring and square root
23711         for large arguments.
23712         * math/s_casinhf.c: Include <float.h>.
23713         (__casinhf): Do not do computation with squaring and square root
23714         for large arguments.
23715         * math/s_casinhl.c: Include <float.h>.
23716         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23717         (__casinhl): Do not do computation with squaring and square root
23718         for large arguments.
23719         * math/libm-test.inc (casin_test): Add more tests.
23720         (casinh_test): Likewise.
23721         * sysdeps/i386/fpu/libm-test-ulps: Update.
23722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23723
23724 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
23725
23726         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23727         (__x86_64_raw_data_cache_size): Likewise.
23728         (__x86_64_data_cache_size_half): Likewise.
23729         (__x86_64_raw_data_cache_size_half): Likewise.
23730         (__x86_64_shared_cache_size): Likewise.
23731         (__x86_64_raw_shared_cache_size): Likewise.
23732         (__x86_64_shared_cache_size_half): Likewise.
23733         (__x86_64_raw_shared_cache_size_half): Likewise.
23734         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23735         to ...
23736         (__x86_data_cache_size): This.
23737         (__x86_64_raw_data_cache_size): Renamed to ...
23738         (__x86_raw_data_cache_size): This.
23739         (__x86_64_data_cache_size_half): Renamed to ...
23740         (__x86_data_cache_size_half): This.
23741         (__x86_64_raw_data_cache_size_half): Renamed to ...
23742         (__x86_raw_data_cache_size_half): This.
23743         (__x86_64_shared_cache_size): Renamed to ...
23744         (__x86_shared_cache_size): This.
23745         (__x86_64_raw_shared_cache_size): Renamed to ...
23746         (__x86_raw_shared_cache_size): This.
23747         (__x86_64_shared_cache_size_half): Renamed to ...
23748         (__x86_shared_cache_size_half): This.
23749         (__x86_64_raw_shared_cache_size_half): Renamed to ...
23750         (__x86_raw_shared_cache_size_half): This.
23751         * sysdeps/x86_64/memcpy.S: Updated.
23752         * sysdeps/x86_64/memset.S: Likewise.
23753         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23754         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23755         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23756
23757 2013-01-04  David S. Miller  <davem@davemloft.net>
23758
23759         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23760
23761 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
23762
23763         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23764         1 to avoid redefinition warning.
23765         (__USE_GNU): Don't define.
23766         (init_signaling_nan): Protoize.
23767
23768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23769
23770 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23771
23772         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23773         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23774         (__cpymn): Likewise.
23775         (norm): Remove commented code.
23776         (denorm): Likewise.
23777         (__mp_dbl): Likewise.
23778         (__inv): Likewise.
23779         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23780         (__cpymn): Likewise.
23781         (norm): Remove commented code.
23782         (denorm): Likewise.
23783         (__mp_dbl): Likewise.
23784         (__inv): Likewise.
23785
23786         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23787         mp_no value for 1.0 and 2.0.
23788         (norm): Use RADIXI instead of radixi.d.
23789         (denorm): Likewise.
23790         (__mul): Use 0.0 instead of zero.d.
23791         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23792         mp_no value for 1.0 and 2.0.
23793         (norm): Use RADIXI instead of radixi.d.
23794         (denorm): Likewise.
23795         (__mul): Use 0.0 instead of zero.d.
23796
23797 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
23798
23799         [BZ #14994]
23800         * math/s_casinh.c (__casinh): Reduce finite argument to first
23801         quadrant then set signs of results at the end.
23802         * math/s_casinhf.c (__casinhf): Likewise.
23803         * math/s_casinhl.c (__casinhl): Likewise.
23804         * math/libm-test.inc (casin_test): Add more tests.
23805         (casinh_test): Likewise.
23806         * sysdeps/i386/fpu/libm-test-ulps: Update.
23807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23808
23809 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23810
23811         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23812
23813         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23814
23815         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23816         declarations.
23817         (denorm): Likewise.
23818         (__mp_dbl): Likewise.
23819         (__inv): Likewise.
23820
23821         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23822         and adjust the header comment.
23823
23824         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23825         variable name from declaration.
23826
23827 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
23828
23829         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23830         Initialize COMMON_CPUID_INDEX_7 element.
23831         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23832         (CPUID_RTM): Likewise.
23833         (HAS_RTM): Likewise.
23834         (COMMON_CPUID_INDEX_7): New enum.
23835
23836 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
23837
23838         [BZ #14981]
23839         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23840         size is zero, record memory as freed.
23841
23842 2013-01-03  Andreas Jaeger  <aj@suse.de>
23843
23844         * po/ia.po: Add new Interlingua translation.
23845
23846 2012-01-03  Allan McRae  <allan@archlinux.org>
23847
23848         * locale/programs/localedef.c: Fix description of '--posix' flag.
23849
23850 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
23851
23852         * NEWS: Update dates in second copyright notice.
23853         * README: Update copyright dates in example.
23854         * manual/libc.texinfo: Update copyright dates.
23855         * scripts/test-installation.pl: Update copyright date in --version
23856         output.
23857
23858         * hurd/ctty-input.c: Fix copyright notice formatting.
23859         * hurd/ctty-output.c: Likewise.
23860         * hurd/dtable.c: Likewise.
23861         * hurd/hurd-raise.c: Likewise.
23862         * hurd/hurdprio.c: Likewise.
23863         * hurd/msgportdemux.c: Likewise.
23864         * misc/sys/file.h: Likewise.
23865         * misc/sys/ioctl.h: Likewise.
23866         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23867         * sysdeps/mach/hurd/chdir.c: Likewise.
23868         * sysdeps/mach/hurd/fchdir.c: Likewise.
23869         * sysdeps/mach/hurd/rename.c: Likewise.
23870         * sysdeps/mach/hurd/rmdir.c: Likewise.
23871         * sysdeps/mach/hurd/seekdir.c: Likewise.
23872         * sysdeps/mach/hurd/setsid.c: Likewise.
23873         * sysdeps/posix/wait3.c: Likewise.
23874
23875         * All files with FSF copyright notices: Update copyright dates
23876         using scripts/update-copyrights.
23877         * intl/plural.c: Regenerated.
23878         * locale/programs/charmap-kw.h: Likewise.
23879         * locale/programs/locfile-kw.h: Likewise.
23880
23881 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23882
23883         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23884         four values.
23885
23886         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23887         calculation loop and add branch prediction.
23888
23889         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23890         check access beyond bounds of m1np.
23891
23892         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23893         MPTWO.
23894         (__inv): Remove local variable MPTWO to use the global
23895         constant.
23896         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23897         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23898         variable MPTWO.
23899         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23900         MP3HALFS static const.
23901
23902 2013-01-01  David S. Miller  <davem@davemloft.net>
23903
23904         * po/ca.po: Update from translation team.
23905
23906 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
23907
23908         * scripts/update-copyrights: New file.
23909         * Makeconfig: Reformat copyright notice.
23910         * ctype/ctype.h: Likewise.
23911         * debug/swprintf_chk.c: Likewise.
23912         * elf/dl-cache.c: Likewise.
23913         * elf/dl-debug.c: Likewise.
23914         * elf/dl-object.c: Likewise.
23915         * grp/initgroups.c: Likewise.
23916         * hurd/Makefile: Likewise.
23917         * hurd/hurd/signal.h: Likewise.
23918         * hurd/hurdfault.c: Likewise.
23919         * hurd/hurdioctl.c: Likewise.
23920         * hurd/hurdlookup.c: Likewise.
23921         * hurd/intr-msg.c: Likewise.
23922         * iconv/gconv_open.c: Likewise.
23923         * libio/swprintf.c: Likewise.
23924         * locale/lc-ctype.c: Likewise.
23925         * locale/nl_langinfo.c: Likewise.
23926         * mach/Machrules: Likewise.
23927         * mach/Makefile: Likewise.
23928         * malloc/obstack.h: Likewise.
23929         * manual/Makefile: Likewise.
23930         * manual/tsort.awk: Likewise.
23931         * misc/bits/stab.def: Likewise.
23932         * nis/nis_print_group_entry.c: Likewise.
23933         * nis/nis_table.c: Likewise.
23934         * nis/nss_compat/compat-pwd.c: Likewise.
23935         * nis/nss_compat/compat-spwd.c: Likewise.
23936         * po/Makefile: Likewise.
23937         * posix/fnmatch.c: Likewise.
23938         * posix/regex.h: Likewise.
23939         * resolv/Makefile: Likewise.
23940         * resolv/nss_dns/dns-network.c: Likewise.
23941         * resolv/res_hconf.c: Likewise.
23942         * scripts/gen-sorted.awk: Likewise.
23943         * soft-fp/soft-fp.h: Likewise.
23944         * stdio-common/printf.h: Likewise.
23945         * stdlib/monetary.h: Likewise.
23946         * stdlib/random.c: Likewise.
23947         * stdlib/random_r.c: Likewise.
23948         * sysdeps/generic/Makefile: Likewise.
23949         * sysdeps/gnu/Makefile: Likewise.
23950         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23951         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23952         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23953         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23954         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23955         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23956         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23957         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23958         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23959         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23960         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23961         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23962         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23963         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23964         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23965         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23966         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23967         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23968         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23969         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23970         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23971         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23972         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23973         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23974         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23975         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23976         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23977         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23978         * sysdeps/mach/hurd/errnos.awk: Likewise.
23979         * sysdeps/mach/hurd/fork.c: Likewise.
23980         * sysdeps/mach/hurd/getcwd.c: Likewise.
23981         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23982         * sysdeps/mach/hurd/mmap.c: Likewise.
23983         * sysdeps/mach/hurd/utimes.c: Likewise.
23984         * sysdeps/mach/hurd/xmknod.c: Likewise.
23985         * sysdeps/posix/profil.c: Likewise.
23986         * sysdeps/posix/readdir_r.c: Likewise.
23987         * sysdeps/powerpc/bits/mathdef.h: Likewise.
23988         * sysdeps/powerpc/bits/setjmp.h: Likewise.
23989         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23990         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23991         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23992         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23993         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23994         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23995         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23996         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23997         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23998         * sysdeps/pthread/lio_listio.c: Likewise.
23999         * sysdeps/sparc/dl-procinfo.h: Likewise.
24000         * sysdeps/unix/i386/sysdep.S: Likewise.
24001         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24002         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24003         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24004         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24006         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24007         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24008         * sysdeps/unix/sysv/linux/speed.c: Likewise.
24009         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24010         * sysdeps/wordsize-32/divdi3.c: Likewise.
24011         * time/sys/time.h: Likewise.
24012         * wcsmbs/Makefile: Likewise.
24013
24014 2013-01-01  David S. Miller  <davem@davemloft.net>
24015
24016         * po/fr.po: Update from translation team.
24017
24018         * catgets/gencat.c: Update copyright year.
24019         * csu/version.c: Likewise.
24020         * debug/catchsegv.sh: Likewise.
24021         * debug/pcprofiledump.c: Likewise.
24022         * debug/xtrace.sh: Likewise.
24023         * elf/ldconfig.c: Likewise.
24024         * elf/ldd.bash.in: Likewise.
24025         * elf/pldd.c: Likewise.
24026         * elf/sotruss.ksh: Likewise.
24027         * elf/sprof.c: Likewise.
24028         * iconv/iconv_prog.c: Likewise.
24029         * iconv/iconvconfig.c: Likewise.
24030         * locale/programs/locale.c: Likewise.
24031         * locale/programs/localedef.c: Likewise.
24032         * login/programs/pt_chown.c: Likewise.
24033         * malloc/memusage.sh: Likewise.
24034         * malloc/memusagestat.c: Likewise.
24035         * malloc/mtrace.pl: Likewise.
24036         * nscd/nscd.c: Likewise.
24037         * nss/getent.c: Likewise.
24038         * nss/makedb.c: Likewise.
24039         * posix/getconf.c: Likewise.
24040
24041 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24042
24043         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24044         numbers.
24045
24046 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
24047
24048         * math/bits/mathcalls.h (modf): Use __nonnull.
24049
24050 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24051
24052         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24053         (split): Use macro CN instead of the bare value.
24054         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24055         could be used.
24056         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24057         instead of the bare value.
24058         (power1): Likewise.
24059
24060 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24061
24062         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24063         __ATAN_TWOM.
24064         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24065
24066         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24067         their values.
24068         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24069         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24070         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24071         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24072
24073 2012-12-28  Andreas Jaeger  <aj@suse.de>
24074
24075         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
24076         values are from Linux 3.7.
24077
24078         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24079         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
24080
24081 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24082
24083         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24084         TRUE case.
24085
24086         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24087         (norm): Likewise.
24088         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24089         variables with preprocessor constants.
24090         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24091         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24092         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24093
24094 2012-12-27  Bruno Haible  <bruno@clisp.org>
24095
24096         [BZ #14317]
24097         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24098         only if needed.
24099
24100 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24101
24102         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24103         and use variable directly.
24104         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24105
24106         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24107         MPONE.
24108         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24109         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24110         variable MPONE.
24111         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24112         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24113         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24114         include directive.  Remove local variable MPONE.
24115         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24116         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24117         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24118
24119 2012-12-25  David S. Miller  <davem@davemloft.net>
24120
24121         * version.h (RELEASE): Set to "development".
24122         (VERSION): Set to "2.17.90".
24123         * NEWS: Add 2.18 section.
24124
24125 2012-12-21  David S. Miller  <davem@davemloft.net>
24126
24127         * po/hr.po: Update from translation team.
24128
24129 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24130
24131         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24132
24133 2012-12-19  Steve Ellcey  <sellcey@mips.com>
24134
24135         * NEWS:  Mention new memcpy for MIPS.
24136
24137 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24138
24139         * manual/contrib.texi (Contributors): Spelling correction.
24140
24141 2012-12-15  David S. Miller  <davem@davemloft.net>
24142
24143         * po/ru.po: Update from translation team.
24144
24145 2012-12-13  David S. Miller  <davem@davemloft.net>
24146
24147         * NEWS: Mention IFUNC testsuite enhancements.
24148
24149         * po/pl.po: Update from translation team.
24150         * po/bg.po: Likewise.
24151
24152         * manual/contrib.texi (Contributors): Update entries for Hongjiu
24153         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
24154
24155 2012-12-11  David S. Miller  <davem@davemloft.net>
24156
24157         * po/sv.po: Update from translation team.
24158
24159         * po/vi.po: Update from translation team.
24160
24161         * po/cs.po: Update from translation team.
24162
24163         * po/de.po: Update from translation team.
24164         * po/eo.po: Likewise.
24165         * po/nl.po: Likewise.
24166
24167 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24168
24169         [BZ #14246]
24170         * manual/argp.texi (Argp Helper Functions): Move node to follow
24171         Argp Parsing State.
24172
24173         [BZ #14872]
24174         * manual/conf.texi (Limits on File System Capacity): Mention if
24175         terminating null is included in the max size.
24176
24177 2012-12-10  Andreas Jaeger  <aj@suse.de>
24178
24179         * po/cs.po: Update from translation team.
24180
24181 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24182
24183         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24184         void pointer and cast to uintptr_t.
24185         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24186         path.
24187         * sysdeps/s390/s390-64/memcpy.S: Likewise.
24188         * sysdeps/s390/s390-64/memset.S: Likewise.
24189
24190 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
24191
24192         [BZ #14833]
24193         * menual/message.texi (Message Translation): Fix typos.
24194         (Helper programs for gettext): Likewise.
24195
24196 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
24197
24198         [BZ #14898]
24199         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24200         Change to -1.
24201
24202 2012-12-07  David S. Miller  <davem@davemloft.net>
24203
24204         * po/libc.pot: Update.
24205
24206 2012-12-07  Richard Henderson  <rth@redhat.com>
24207
24208         [BZ #10114]
24209         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24210         normal/normal case to before the switch.
24211         (_FP_DIV): Likewise.
24212
24213 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
24214             Mike Frysinger  <vapier@gentoo.org>
24215
24216         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24217         check for __NR_fadvise64_64.
24218
24219 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
24220
24221         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24222         0, not just to plain "0" as a statement.
24223         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24224         with cw.
24225
24226 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
24227
24228         * NEWS: Use sourceware.org in Bugzilla URL.
24229
24230 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24231
24232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24233         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24234
24235         * stdio-common/tst-put-error.c (do_test): Add newline to the
24236         padded test to ensure flush.
24237
24238 2012-12-05  Jeff Law  <law@redhat.com>
24239
24240         * sunrpc/etc.rpc (fedfs_admin): Add entry.
24241
24242 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
24243
24244         * README: Don't refer to ports add-on as distributed separately.
24245         Mention AArch64 in list of systems supported in the ports add-on.
24246
24247         * LICENSES: Add more non-FSF copyright and license notices.
24248
24249         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24250         ((unused)).
24251
24252         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24253
24254         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24255         10000 as width of padded output.
24256
24257 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24258
24259         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24260
24261         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24262         variable LX with __attribute__ ((unused)).
24263         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24264         Likewise.
24265         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24266         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24267         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24268         with __attribute__ ((unused)).
24269
24270 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
24271
24272         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24273
24274 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24275
24276         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24277         (CFLAGS-nldbl-acos.c): New variable.
24278         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24279         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24280         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24281         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24282         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24283         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24284         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24285         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24286         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24287         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24288         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24289         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24290         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24291         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24292         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24293         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24294         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24295         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24296         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24297         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24298         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24299         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24300         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24301         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24302         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24303         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24304         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24305         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24306         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24307         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24308         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24309         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24310         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24311         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24312         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24313         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24314         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24315         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24316         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24317         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24318         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24319         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24320         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24321         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24322         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24323         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24324         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24325         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24326         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24327         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24328         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24329         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24330         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24331         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24332         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24333         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24334         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24335         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24336         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24337         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24338         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24339         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24340         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24341         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24342         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24343         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24344         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24345         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24346         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24347         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24348         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24349         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24350         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24351         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24352         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24353         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24354         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24355         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24356         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24357         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24358         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24359         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24360         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24361         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24362         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24363         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24364         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24365         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24366         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24367         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24368         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24369         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24370         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24371         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24372         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24373         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24374         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24375
24376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24377         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24378
24379         [BZ #14914]
24380         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24381         whole low double instead of just low 47 bits when splitting values
24382         into two parts.
24383
24384 2012-12-03  Allan McRae  <allan@archlinux.org>
24385
24386         * manual/stdio.texi (Predefined Printf Handlers): Remove
24387         @hsep and @vsep usage.
24388
24389 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
24390
24391         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24392         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24393
24394 2012-12-03  Jeff Law  <law@redhat.com>
24395
24396         * time/sys/time.h (settimeofday): Do not mark TV argument
24397         as __nonnull.
24398
24399 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
24400
24401         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24402         when currently writing and seek to current position when not.
24403         * libio/Makefile (tests): Remove bug-fclose1.
24404         * libio/bug-fclose1.c: Delete.
24405
24406 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
24407
24408         * manual/arith.texi (feenableexcept): Fix typo.
24409         (fedisableexcept): Likewise.
24410
24411 2012-11-30  Roland McGrath  <roland@hack.frob.com>
24412
24413         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24414         second, differently-typed declaration, rather than a cast.
24415
24416 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24417
24418         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24419         * include/rpc/svc.h: ... here.
24420
24421 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
24422
24423         [BZ #13013]
24424         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24425         depending n and resplen2 to catch cases where answer
24426         equals answerp2.
24427
24428 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
24429
24430         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24431         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24432
24433 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
24434
24435         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24436
24437 2012-11-29  Roland McGrath  <roland@hack.frob.com>
24438
24439         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24440
24441 2012-11-28  Jeff Law  <law@redhat.com>
24442
24443         [BZ #13761]
24444         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24445         dataset_temporary.  Track alloca usage into alloca_used.
24446         If dataset is large allocate and release it via malloc/free.
24447
24448 2012-06-04  Florian Weimer  <fweimer@redhat.com>
24449
24450         [BZ #14197]
24451         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24452
24453 2012-11-28  David S. Miller  <davem@davemloft.net>
24454
24455         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24456
24457 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
24458
24459         [BZ #14803]
24460         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24461         of pi/2 rounded to nearest to 64 bits.
24462         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24463         nearest to 64 bits.
24464         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24465         bits.
24466
24467 2012-11-28  Jeff Law <law@redhat.com>
24468             Martin Osvald <mosvald@redhat.com>
24469
24470         [BZ #14889]
24471         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24472         * sunrpc/svc.c: Include time.h.
24473         (__svc_accept_failed): New function.
24474         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24475         any reason other than EINTR, call __svc_accept_failed.
24476         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24477         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24478
24479 2012-11-28  Andreas Schwab  <schwab@suse.de>
24480
24481         * scripts/abilist.awk: Also handle indirect functions in .opd
24482         section.
24483
24484 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
24485
24486         [BZ #13881]
24487         * sysdeps/x86/fpu/powl_helper.c: New file.
24488         * sysdeps/x86/fpu/Makefile: Likewise.
24489         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24490         (p3): New object.
24491         (__ieee754_powl): Use __powl_helper for finite arguments except
24492         integer exponents below 8.
24493         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24494         (p3): New object.
24495         (__ieee754_powl): Use __powl_helper for finite arguments except
24496         integer exponents below 8.
24497         * math/libm-test.inc (pow_test): Add more tests and enable some
24498         previously disabled tests.
24499         * sysdeps/i386/fpu/libm-test-ulps: Update.
24500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24501
24502 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24503             Carlos O'Donell  <carlos_odonell@mentor.com>
24504
24505         * nss/makedb.c (is_prime): Assert that input is odd and greater
24506         than 4.  Note that fact in a comment too.
24507         (next_prime): Add 4 to input.
24508
24509 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24510
24511         [BZ #11741]
24512         * libio/Makefile (tests): Add test case tst-fwrite-error.
24513         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24514         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24515         * libio/tst-fwrite-error.c: New test case.
24516
24517 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
24518
24519         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24520         before casting to void *.
24521         * include/libc-internal.h (__pointer_type): New macro.
24522         (__integer_if_pointer_type_sub): Likewise.
24523         (__integer_if_pointer_type): Likewise.
24524         (cast_to_integer): Likewise.
24525         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24526         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24527         before casting to atomic64_t.
24528         (atomic_exchange_acq): Likewise.
24529         (__arch_exchange_and_add_body): Likewise.
24530         (__arch_add_body): Likewise.
24531         (atomic_add_negative): Likewise.
24532         (atomic_add_zero): Likewise.
24533
24534 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
24535
24536         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24537         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24538         (add_fdes): Likewise.
24539         (linear_search_fdes): Likewise.
24540         (binary_search_unencoded_fdes): Likewise.
24541
24542 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
24543
24544         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24545
24546 2012-11-24  Adam Conrad  <adconrad@0c3.net>
24547
24548         * configure.in: Autodetect C++ header directories.
24549         * configure: Regenerated.
24550
24551 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
24552
24553         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24554
24555 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
24556
24557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24558
24559 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
24560
24561         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24562         LDBL_MANT_DIG == 106]: Disable some tests.
24563         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24564         Likewise.
24565         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24566         Likewise.
24567
24568         [BZ #14871]
24569         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24570         input for small inputs.  Return +/- pi/2 for large inputs.
24571         * math/libm-test.inc (atan_test): Add more tests.
24572
24573         * sysdeps/generic/unwind-dw2-fde-glibc.c
24574         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24575         __attribute__ ((unused)).
24576
24577         [BZ #14645]
24578         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24579         x * y if x and y are nonzero and z is zero.
24580
24581         [BZ #14811]
24582         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24583         nonzero exponents with absolute value below 0x1p-117 to +/-
24584         0x1p-117.
24585
24586         [BZ #14869]
24587         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24588         up arguments below 2**-450, not just those below 2**-500.
24589         * math/libm-test.inc (hypot_test): Add another test.
24590
24591         [BZ #14868]
24592         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24593         Return a+b for ratio over 2**120, not 2**60.
24594         * math/libm-test.inc (hypot_test): Add another test.
24595
24596         * math/libm-test.inc (clog_test): Use
24597         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24598         (clog10_test): Likewise.
24599
24600         [BZ #6778]
24601         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24602
24603 2012-11-22  Andreas Schwab  <schwab@suse.de>
24604
24605         * sysdeps/i386/fpu/libm-test-ulps: Update.
24606
24607 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
24608
24609         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24610         printf output with newline.
24611
24612 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
24613
24614         [BZ #14865]
24615         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24616         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24617         -z nodlopen, -z initfirst and -z execstack support.
24618         * configure: Regenerated.
24619
24620         * elf/elf.h (DF_1_NODIRECT): New macro.
24621         (DF_1_IGNMULDEF): Likewise.
24622         (DF_1_NOKSYMS): Likewise.
24623         (DF_1_NOHDR): Likewise.
24624         (DF_1_EDITED): Likewise.
24625         (DF_1_NORELOC): Likewise.
24626         (DF_1_SYMINTPOSE): Likewise.
24627         (DF_1_GLOBAUDIT): Likewise.
24628         (DF_1_SINGLETON): Likewise.
24629         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24630         DT_1_SUPPORTED_MASK bits.
24631         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24632
24633 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
24634
24635         * sysdeps/unix/make-syscalls.sh: Document prefixes.
24636
24637 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
24638
24639         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24640         macro.
24641
24642         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24643         (sendmmsg): Move declarations...
24644         * socket/sys/socket.h: ... here.
24645         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24646         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24647         include it from...
24648         * socket/recvmmsg.c: ... this new file.
24649         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24650         (sendmmsg): Rename to __sendmmsg, create weak alias and make
24651         definition of __sendmmsg hidden.
24652         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24653         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24654         Move ENOSYS stub into and include it from...
24655         * socket/sendmmsg.c: ... this new file.
24656         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24657         (sysdep_routines): Move recvmmsg and sendmmsg...
24658         * socket/Makefile (routines): ... here.
24659         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24660         (GLIBC_PRIVATE): Add __sendmmsg.
24661         * include/sys/socket.h (__sendmmsg): Add declarations.
24662         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24663         sendmmsg.
24664
24665 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
24666
24667         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24668         variable I1 with __attribute__ ((unused)).
24669         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24670
24671 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
24672
24673         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24674         DUMMY variables with __attribute__ ((unused)).
24675
24676         * bits/byteswap.h: Include <bits/types.h>.
24677         (__bswap_64): Use __uint64_t instead of unsigned long long int.
24678
24679 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
24680
24681         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24682         string_t.  Do not manually set errno.
24683         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24684         length with __strnlen.  Make sure to both set errno and return it on
24685         failure.
24686
24687 2012-11-19  David S. Miller  <davem@davemloft.net>
24688
24689         With help from Joseph Myers.
24690         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24691         very large arguments properly.
24692         * math/libm-test.inc (atan_test): New tests.
24693         (atan2_test): New tests.
24694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24695         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24696
24697 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
24698
24699         [BZ #14856]
24700         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24701         Define to 3.
24702
24703         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24704         [POSIX] (EADDRNOTAVAIL): Likewise.
24705         [POSIX] (EAFNOSUPPORT): Likewise.
24706         [POSIX] (EALREADY): Likewise.
24707         [POSIX] (ECONNABORTED): Likewise.
24708         [POSIX] (ECONNREFUSED): Likewise.
24709         [POSIX] (ECONNRESET): Likewise.
24710         [POSIX] (EDESTADDRREQ): Likewise.
24711         [POSIX] (EDQUOT): Likewise.
24712         [POSIX] (EHOSTUNREACH): Likewise.
24713         [POSIX] (EIDRM): Likewise.
24714         [POSIX] (EISCONN): Likewise.
24715         [POSIX] (ELOOP): Likewise.
24716         [POSIX] (EMULTIHOP): Likewise.
24717         [POSIX] (ENETDOWN): Likewise.
24718         [POSIX] (ENETUNREACH): Likewise.
24719         [POSIX] (ENOBUFS): Likewise.
24720         [POSIX] (ENODATA): Likewise.
24721         [POSIX] (ENOLINK): Likewise.
24722         [POSIX] (ENOMSG): Likewise.
24723         [POSIX] (ENOPROTOOPT): Likewise.
24724         [POSIX] (ENOSR): Likewise.
24725         [POSIX] (ENOSTR): Likewise.
24726         [POSIX] (ENOTCONN): Likewise.
24727         [POSIX] (ENOTSOCK): Likewise.
24728         [POSIX] (EOPNOTSUPP): Likewise.
24729         [POSIX] (EOVERFLOW): Likewise.
24730         [POSIX] (EPROTO): Likewise.
24731         [POSIX] (EPROTONOSUPPORT): Likewise.
24732         [POSIX] (EPROTOTYPE): Likewise.
24733         [POSIX] (ESTALE): Likewise.
24734         [POSIX] (ETIME): Likewise.
24735         [POSIX] (ETXTBSY): Likewise.
24736         [POSIX] (EWOULDBLOCK): Likewise.
24737         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24738         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24739         [POSIX] (SEEK_CUR): Likewise.
24740         [POSIX] (SEEK_END): Likewise.
24741         [POSIX || UNIX98] (mode_t): Do not require.
24742         [POSIX] (off_t): Likewise.
24743         [POSIX] (pid_t): Likewise.
24744         [POSIX] (sys/stat.h): Do not allow header.
24745         [POSIX] (unistd.h): Likewise.
24746         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24747         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24748         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24749         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24750         require.
24751         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24752         sigevent): Specify elements.
24753         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24754         entry.
24755         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24756         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24757
24758         * conform/data/cpio.h-data [POSIX]: Disable whole file.
24759         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24760         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24761         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24762         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24763         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24764         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24765         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24766         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24767         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24768         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24769         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24770         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24771         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24772         Likewise.
24773         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24774         Likewise.
24775         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24776         Likewise.
24777         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24778         Likewise.
24779         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24780         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24781         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24782         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24783         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24784         Specify lower bound on value.
24785         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24786         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24787         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24788         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24789         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24790         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24791         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24792         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24793         value.
24794         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24795         as optional.
24796         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24797         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24798         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24799         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24800         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24801         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24802         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24803         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24804         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24805         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24806         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24807         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24808         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24809         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24810         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24811         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24812         entry.
24813         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24814         optional.
24815         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24816         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24817         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24818         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24819         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24820         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24821         Likewise.
24822         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24823         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24824         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24825         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24826         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
24827         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24828         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24829         as optional.
24830         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24831         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24832         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24833         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24834         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24835         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24836         specify as optional.
24837         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24838         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24839         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24840         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24841         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24842         [XPG3] (NL_LANGMAX): Likewise.
24843         [POSIX || XPG3] (NL_MSGMAX): Likewise.
24844         [POSIX || XPG3] (NL_NMAX): Likewise.
24845         [POSIX || XPG3] (NL_SETMAX): Likewise.
24846         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24847         [XPG3] (NZERO): Likewise.
24848         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24849         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24850         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24851         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24852         (REG_ERANGE): Expect.
24853         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24854         optional-constant.
24855         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24856         Use (void) in prototype.
24857         [POSIX] (*_t): Allow.
24858         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24859         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24860         (WRDE_BADVAL): Expect.
24861
24862         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24863         expect.
24864         [XPG3 || XPG4] (O_RSYNC): Likewise.
24865         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24866         Likewise.
24867         [XPG3 || XPG4] (pthread_sigmask): Likewise.
24868         [XPG3 || XPG4] (sigqueue): Likewise.
24869         [XPG3 || XPG4] (sigtimedwait): Likewise.
24870         [XPG3 || XPG4] (sigwaitinfo): Likewise.
24871         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24872         [XPG3 || XPG4] (vsnprintf): Likewise.
24873         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24874         Likewise.
24875         [XPG3 || XPG4] (blksize_t): Likewise.
24876         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24877         Likewise.
24878         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24879         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24880         [XPG3 || XPG4] (struct itimerspec): Likewise.
24881         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24882         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24883         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24884         [XPG3 || XPG4] (clockid_t): Likewise.
24885         [XPG3 || XPG4] (timer_t): Likewise.
24886         [XPG3 || XPG4] (clock_getres): Likewise.
24887         [XPG3 || XPG4] (clock_gettime): Likewise.
24888         [XPG3 || XPG4] (clock_settime): Likewise.
24889         [XPG3 || XPG4] (nanosleep): Likewise.
24890         [XPG3 || XPG4] (timer_create): Likewise.
24891         [XPG3 || XPG4] (timer_delete): Likewise.
24892         [XPG3 || XPG4] (timer_gettime): Likewise.
24893         [XPG3 || XPG4] (timer_getoverrun): Likewise.
24894         [XPG3 || XPG4] (timer_settime): Likewise.
24895         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24896         [XPG3 || XPG4] (getlogin_r): Likewise.
24897         [XPG3 || XPG4] (pread): Likewise.
24898         [XPG3 || XPG4] (pthread_atfork): Likewise.
24899         [XPG3 || XPG4] (pwrite): Likewise.
24900
24901         [BZ #14835]
24902         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24903         <bits/siginfo.h>.
24904
24905 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
24906
24907         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24908         finalizing MALLSTREAM.
24909
24910         * sysdeps/mach/hurd/syncfs.c: New file.
24911
24912 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24913
24914         [BZ #14719]
24915         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24916         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24917         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24918         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24919         (_nss_dns_gethostbyname4_r): Likewise.
24920         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24921         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24922
24923 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
24924
24925         [BZ #13763]
24926         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24927
24928 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
24929
24930         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24931         * elf/cache.c (print_entry): Print ",AArch64" for
24932         FLAG_AARCH64_LIB64
24933
24934         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24935         * elf/cache.c (print_entry): Print ",hard-float" for
24936         FLAG_ARM_LIBHF.
24937
24938 2012-11-18  David S. Miller  <davem@davemloft.net>
24939
24940         With help from Joseph Myers.
24941         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24942         cutoff to 2**-13.
24943         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24944         cutoff to 2**-25.
24945         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24946         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24947         small.
24948         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24949         * math/libm-test.inc (y0_test): New tests.
24950         (y1_test): New tests.
24951         * sysdeps/i386/fpu/libm-test-ulps: Update.
24952         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24954
24955 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
24956
24957         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24958         64-bit targets.
24959         * configure: Regenerated.
24960
24961 2012-11-17  David S. Miller  <davem@davemloft.net>
24962
24963         [BZ #14811]
24964         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24965         nonzero exponents with absolute value below 0x1p-128 to +/-
24966         0x1p-128.
24967
24968 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
24969
24970         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24971
24972         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24973
24974         * posix/getconf-speclist.c: New file.
24975         * posix/posix-envs.def: Likewise.
24976         * posix/confstr.c (START_ENV_GROUP): New macro.
24977         (END_ENV_GROUP): Likewise.
24978         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24979         (KNOWN_PRESENT_ENV_STRING): Likewise.
24980         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24981         (UNKNOWN_ENVIRONMENT): Likewise.
24982         (confstr): Include posix-envs.def instead of handling
24983         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24984         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24985         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24986         (END_ENV_GROUP): Likewise.
24987         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24988         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24989         (UNKNOWN_ENVIRONMENT): Likewise.
24990         (__sysconf): Include posix-envs.def instead of handling associated
24991         cases directly here.
24992         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24993         preprocessing getconf-speclist.c rather than running getconf or
24994         generating empty file.
24995
24996 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
24997
24998         * scripts/check-local-headers.sh: Ignore 'mach' headers.
24999
25000 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
25001
25002         [BZ #14672]
25003         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25004
25005 2012-11-16  David S. Miller  <davem@davemloft.net>
25006
25007         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25008         smaller than LDBL_EPSILON/2.0L, just return xm1.
25009
25010 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
25011
25012         * elf/tst-array1.c (init): Set constructor priority to 1000.
25013         (fini): Set destructor priority to 1000.
25014         * elf/tst-array2dep.c: Likewise.
25015
25016 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25017
25018         [BZ #11741]
25019         * libio/fileops.c (_IO_new_file_write): Correctly return error.
25020         (_IO_new_file_xsputn): Also return EOF if none of the input
25021         data was written when overflow failed.
25022         * libio/iopadn.c (_IO_padn): Likewise.
25023         * libio/iowpadn.c (_IO_wpadn): Likewise.
25024         * stdio-common/tst-put-error.c: Add copyright notice.
25025         (do_test): Add case for printing padded string.
25026         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25027         _IO_padn returned error.
25028         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25029         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25030         return EOF.
25031
25032 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25033
25034         * libio/libioP.h: Add comment note that the references to C++
25035         bits are now obsolete.
25036
25037 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25038
25039         * math/libm-test.inc (check_complex): Use asprintf.
25040
25041 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
25042
25043         * debug/pcprofiledump.c (print_version): Update copyright year.
25044         * malloc/memusagestat.c (print_version): Likewise.
25045
25046 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
25047
25048         [BZ #14831]
25049         * elf/Makefile (tests): Add tst-audit8.
25050         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25051         ($(objpfx)tst-audit8.out): New target.
25052         (tst-audit8-ENV): New variable.
25053         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25054         audit if l_reloc_result is NULL.
25055         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25056         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25057         * elf/tst-audit8.c: New file.
25058
25059 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25060
25061         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25062         * misc/Makefile (CFLAGS-select.c): Define.
25063         * posix/Makefile (CFLAGS-pause.c): Define.
25064
25065 2012-11-13  David S. Miller  <davem@davemloft.net>
25066
25067         * crypt/Makefile: Move test targets after toplevel Rules
25068         inclusion.  Grab any necessary sysdep routines when linking.
25069         * crypt/md5.c (md5_process_block): Remove define, we will always
25070         name it __md5_process_block.
25071         (md5_finish_ctx): Update md5_process_block call.
25072         (md5_stream): Likewise.
25073         (md5_process_bytes): Likewise.
25074         (md5_process_block): Rename to __md5_process_block and move to ...
25075         * crypt/md5-block.c: ... here.
25076         * crypt/sha256.c (sha256_process_block): Move to ...
25077         * crypt/sha256-block.c: ... here.
25078         * crypt/sha512.c (sha512_process_block): Move to ...
25079         * crypt/sha512-block.c: ... here.
25080         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25081         path.
25082         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25083         * sysdeps/sparc/sparc64/multiarch/Makefile
25084         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25085         crypt subdir.
25086         (localedef-aux): Add md5 crypto assembler when in locale subdir.
25087         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25088         multiarch changes.
25089         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25090         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25091         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25092         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25093         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25094         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25095         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25096         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25097         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25098         file.
25099         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25100         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25101         file.
25102         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25103
25104 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
25105
25106         * timezone/tzselect.ksh: Update from tzcode git revision
25107         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25108         * timezone/zdump.c: Likewise.
25109         * timezone/zic.c: Likewise.
25110         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25111         in TZVERSION setting, not $(PKGVERSION).
25112         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
25113         REPORT_BUGS_TO settings.
25114
25115         [BZ #14838]
25116         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25117         macro.
25118
25119 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25120
25121         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25122         detection to immediately after _FP_ROUND().
25123         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25124         bits are 0.
25125
25126 2012-11-11  David S. Miller  <davem@davemloft.net>
25127
25128         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25129         inttypes.h
25130         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25131         __close rather than their public counterparts.
25132
25133 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
25134
25135         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25136         file.
25137         [UNIX98] (sem_timedwait): Do not expect.
25138         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25139         [XPG4 || UNIX98] (sockatmark): Do not expect.
25140         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25141         (clock_getcpuclockid): Do not expect.
25142         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25143         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25144         Do not expect.
25145         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25146         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25147         [UNIX98] (vwscanf): Likewise.
25148         [UNIX98] (vswscanf): Likewise.
25149
25150 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
25151
25152         * timezone/version.h: Remove file.
25153         * timezone/README: Do not refer to version.h.
25154         * timezone/Makefile ($(objpfx)zic.o): New dependency on
25155         $(objpfx)version.h.
25156         ($(objpfx)zdump.o): Likewise.
25157         ($(objpfx)version.h): New target.
25158
25159         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25160         2012i.
25161         * timezone/README: Don't mention modification to tzselect.ksh.
25162         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25163         work on unmodified tzselect.ksh.  Substitute version numbers in
25164         tzselect.ksh.
25165
25166         * Makefile (format-me): Remove.
25167         (INSTALL): Adjust indentation.  Use commands directly instead of
25168         using $(format-me).
25169
25170         * aclocal.m4 (ACX_PKGVERSION): New macro.
25171         (ACX_BUGURL): Likewise.
25172         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25173         (PKGVERSION): New AC_DEFINE_UNQUOTED.
25174         (REPORT_BUGS_TO): Likewise.
25175         * configure: Regenerated.
25176         * config.h.in (PKGVERSION): New macro.
25177         (REPORT_BUGS_TO): Likewise.
25178         * config.make.in (PKGVERSION): New variable.
25179         (PKGVERSION_TEXI): Likewise.
25180         (REPORT_BUGS_TO): Likewise.
25181         (REPORT_BUGS_TEXI): Likewise.
25182         * Makefile (format-me): Use -I$(common-objpfx)manual.
25183         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25184         ($(common-objpfx)manual/%): New target.
25185         (manual/%): Remove target.
25186         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25187         (print_version): Use PKGVERSION.
25188         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25189         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25190         and REPORT_BUGS_TO.
25191         ($(objpfx)xtrace): Likewise.
25192         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25193         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25194         (print_version): Use PKGVERSION.
25195         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25196         (do_version): Use PKGVERSION.
25197         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25198         REPORT_BUGS_TO.
25199         (common-ldd-rewrite): Likewise.
25200         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25201         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25202         (print_version): Use PKGVERSION.
25203         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25204         * elf/pldd.c (argp_program_bug_address): Remove variable.
25205         (more_help): New function.
25206         (argp): Use more_help.
25207         (print_version): Use PKGVERSION.
25208         * elf/sln.c (main): Use PKGVERSION.
25209         (usage): Use REPORT_BUGS_TO.
25210         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25211         (top level): Use PKGVERSION.
25212         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25213         (print_version): Use PKGVERSION.
25214         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25215         (print_version): Use PKGVERSION.
25216         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25217         (print_version): Use PKGVERSION.
25218         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25219         (print_version): Use PKGVERSION.
25220         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25221         (print_version): Use PKGVERSION.
25222         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25223         (print_version): Use PKGVERSION.
25224         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25225         and BUGURL.
25226         ($(objpfx)memusage): Likewise.
25227         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25228         (do_version): Use PKGVERSION.
25229         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25230         (print_version): Use PKGVERSION.
25231         * malloc/mtrace.pl ($PACKAGE): Remove variable.
25232         ($PKGVERSION): New variable.
25233         ($REPORT_BUGS_TO): Likewise.
25234         (usage): Use $REPORT_BUGS_TO.
25235         (top level): Use $PKGVERSION.
25236         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25237         ($(objpfx)pkgvers.texi): New rule.
25238         ($(objpfx)stamp-pkgvers): Likewise.
25239         * manual/install.texi: Include pkgvers.texi.
25240         (--with-pkgversion): Document new configure option.
25241         (--with-bugurl): Likewise.
25242         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25243         than necessarily for this particular distribution.  Use
25244         REPORT_BUGS_TO for where to report bugs.
25245         * INSTALL: Regenerated.
25246         * manual/libc.texinfo: Include pkgvers.texi.
25247         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25248         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25249         (print_version): Use PKGVERSION.
25250         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25251         (print_version): Use PKGVERSION.
25252         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25253         (print_version): Use PKGVERSION.
25254         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25255         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25256         macro.
25257         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25258         (print_version): Use PKGVERSION.
25259         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25260         (print_version): Use PKGVERSION.
25261         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25262         and PKGVERSION.
25263
25264         * timezone/checktab.awk: Update from tzcode 2012i.
25265         * timezone/ialloc.c: Likewise.
25266         * timezone/private.h: Likewise.
25267         * timezone/scheck.c: Likewise.
25268         * timezone/tzfile.h: Likewise.
25269         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25270         (TZVERSION): Hardcode tzcode version number.
25271         * timezone/zdump.c: Update from tzcode 2012i.
25272         * timezone/zic.c: Likewise.
25273         * timezone/version.h: New file.
25274         * timezone/README: Describe version.h.  Update upstream location.
25275
25276         [BZ #14824]
25277         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25278         (mktemp): Enable declaration.
25279         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25280         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25281         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25282         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25283         Likewise.
25284         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25285         Likewise.
25286         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25287         Likewise.
25288         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25289         Likewise.
25290         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25291         Likewise.
25292         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25293         Likewise.
25294
25295         [BZ #14821]
25296         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25297         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
25298         for copies of such integer values.
25299         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25300         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25301
25302 2012-11-09  Andreas Jaeger  <aj@suse.de>
25303
25304         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25305         definitions and declarations that are provided by
25306         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25307
25308 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25309
25310         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25311         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25312         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25313         definition.
25314
25315 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25316
25317         * elf/elf.h: Update comment before AArch64 relocations.
25318
25319 2012-11-07  David S. Miller  <davem@davemloft.net>
25320
25321         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25322         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25323         (__start_context): Declare.
25324         (__makecontext_ret): Delete.
25325         (__makecontext): Hook up __start_context instead of
25326         __makecontext_ret.
25327         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25328         (sysdep_routines): Add __start_context when in stdlib.
25329
25330 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25331
25332         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25333         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25334         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
25335         hardcoded "nm".
25336         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
25337         (READELF): New variable.  Use it instead of hardcoded "readelf".
25338
25339 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25340
25341         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25342         * sysdeps/x86/Makefile: Here.
25343         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25344         * sysdeps/x86/tst-xmmymm.sh: This.
25345
25346 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25347
25348         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25349         expectations.
25350         [UNIX98] (pthread_barrier_t): Do not expect.
25351         [UNIX98] (pthread_barrierattr_t): Likewise.
25352         [UNIX98] (pthread_spinlock_t): Likewise.
25353         [UNIX98] (pthread_barrier_destroy): Likewise.
25354         [UNIX98] (pthread_barrier_init): Likewise.
25355         [UNIX98] (pthread_barrier_wait): Likewise.
25356         [UNIX98] (pthread_barrierattr_destroy): Likewise.
25357         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25358         [UNIX98] (pthread_barrierattr_init): Likewise.
25359         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25360         [UNIX98] (pthread_getcpuclockid): Likewise.
25361         [UNIX98] (pthread_mutex_timedlock): Likewise.
25362         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25363         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25364         [UNIX98] (pthread_sigmask): Likewise.
25365         [UNIX98] (pthread_spin_destroy): Likewise.
25366         [UNIX98] (pthread_spin_init): Likewise.
25367         [UNIX98] (pthread_spin_lock): Likewise.
25368         [UNIX98] (pthread_spin_trylock): Likewise.
25369         [UNIX98] (pthread_spin_unlock): Likewise.
25370         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25371         Do not expect.
25372         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25373         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25374         [XPG3 || XPG4] (pthread_cond_t): Likewise.
25375         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25376         [XPG3 || XPG4] (pthread_key_t): Likewise.
25377         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25378         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25379         [XPG3 || XPG4] (pthread_once_t): Likewise.
25380         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25381         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25382         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25383         [XPG3 || XPG4] (pthread_t): Likewise.
25384
25385         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25386         not expect.
25387         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25388
25389         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25390         Change function return type to int.
25391
25392         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25393         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25394         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25395         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25396         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25397         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25398         [!POSIX] (posix_madvise): Likewise.
25399         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25400         && !UNIX98].
25401         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25402         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25403         (mode_t): Likewise.
25404         (posix_mem_offset): Likewise.
25405         (posix_typed_mem_get_info): Likewise.
25406         (posix_typed_mem_open): Likewise.
25407
25408         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25409         Change condition to [XOPEN2K8].
25410
25411         * conform/conformtest.pl: Preprocess allow-header data with -x c
25412         instead of from stdin.
25413         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25414         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25415         [C99-based standards] (cerfc): Likewise.
25416         [C99-based standards] (cexp2): Likewise.
25417         [C99-based standards] (cexpm1): Likewise.
25418         [C99-based standards] (clog10): Likewise.
25419         [C99-based standards] (clog1p): Likewise.
25420         [C99-based standards] (clog2): Likewise.
25421         [C99-based standards] (clgamma): Likewise.
25422         [C99-based standards] (ctgamma): Likewise.
25423         [C99-based standards] (cerff): Likewise.
25424         [C99-based standards] (cerfcf): Likewise.
25425         [C99-based standards] (cexp2f): Likewise.
25426         [C99-based standards] (cexpm1f): Likewise.
25427         [C99-based standards] (clog10f): Likewise.
25428         [C99-based standards] (clog1pf): Likewise.
25429         [C99-based standards] (clog2f): Likewise.
25430         [C99-based standards] (clgammaf): Likewise.
25431         [C99-based standards] (ctgammaf): Likewise.
25432         [C99-based standards] (cerfl): Likewise.
25433         [C99-based standards] (cerfcl): Likewise.
25434         [C99-based standards] (cexp2l): Likewise.
25435         [C99-based standards] (cexpm1l): Likewise.
25436         [C99-based standards] (clog10l): Likewise.
25437         [C99-based standards] (clog1pl): Likewise.
25438         [C99-based standards] (clog2l): Likewise.
25439         [C99-based standards] (clgammal): Likewise.
25440         [C99-based standards] (ctgammal): Likewise.
25441         * conform/data/inttypes.h-data [C99-based standards]: Include
25442         stdint.h-data.  Remove all expectations for stdint.h contents.
25443         [C99-based standards] (PRI*): Do not allow.
25444         [C99-based standards] (SCN*): Likewise.
25445         [C99-based standards] (*_t): Likewise.
25446         [C99-based-standards] (PRId8): Expect macro.
25447         [C99-based-standards] (PRIi8): Likewise.
25448         [C99-based-standards] (PRIo8): Likewise.
25449         [C99-based-standards] (PRIu8): Likewise.
25450         [C99-based-standards] (PRIx8): Likewise.
25451         [C99-based-standards] (PRIX8): Likewise.
25452         [C99-based-standards] (SCNd8): Likewise.
25453         [C99-based-standards] (SCNi8): Likewise.
25454         [C99-based-standards] (SCNo8): Likewise.
25455         [C99-based-standards] (SCNu8): Likewise.
25456         [C99-based-standards] (SCNx8): Likewise.
25457         [C99-based-standards] (PRIdLEAST8): Likewise.
25458         [C99-based-standards] (PRIiLEAST8): Likewise.
25459         [C99-based-standards] (PRIoLEAST8): Likewise.
25460         [C99-based-standards] (PRIuLEAST8): Likewise.
25461         [C99-based-standards] (PRIxLEAST8): Likewise.
25462         [C99-based-standards] (PRIXLEAST8): Likewise.
25463         [C99-based-standards] (SCNdLEAST8): Likewise.
25464         [C99-based-standards] (SCNiLEAST8): Likewise.
25465         [C99-based-standards] (SCNoLEAST8): Likewise.
25466         [C99-based-standards] (SCNuLEAST8): Likewise.
25467         [C99-based-standards] (SCNxLEAST8): Likewise.
25468         [C99-based-standards] (PRIdFAST8): Likewise.
25469         [C99-based-standards] (PRIiFAST8): Likewise.
25470         [C99-based-standards] (PRIoFAST8): Likewise.
25471         [C99-based-standards] (PRIuFAST8): Likewise.
25472         [C99-based-standards] (PRIxFAST8): Likewise.
25473         [C99-based-standards] (PRIXFAST8): Likewise.
25474         [C99-based-standards] (SCNdFAST8): Likewise.
25475         [C99-based-standards] (SCNiFAST8): Likewise.
25476         [C99-based-standards] (SCNoFAST8): Likewise.
25477         [C99-based-standards] (SCNuFAST8): Likewise.
25478         [C99-based-standards] (SCNxFAST8): Likewise.
25479         [C99-based-standards] (PRId16): Likewise.
25480         [C99-based-standards] (PRIi16): Likewise.
25481         [C99-based-standards] (PRIo16): Likewise.
25482         [C99-based-standards] (PRIu16): Likewise.
25483         [C99-based-standards] (PRIx16): Likewise.
25484         [C99-based-standards] (PRIX16): Likewise.
25485         [C99-based-standards] (SCNd16): Likewise.
25486         [C99-based-standards] (SCNi16): Likewise.
25487         [C99-based-standards] (SCNo16): Likewise.
25488         [C99-based-standards] (SCNu16): Likewise.
25489         [C99-based-standards] (SCNx16): Likewise.
25490         [C99-based-standards] (PRIdLEAST16): Likewise.
25491         [C99-based-standards] (PRIiLEAST16): Likewise.
25492         [C99-based-standards] (PRIoLEAST16): Likewise.
25493         [C99-based-standards] (PRIuLEAST16): Likewise.
25494         [C99-based-standards] (PRIxLEAST16): Likewise.
25495         [C99-based-standards] (PRIXLEAST16): Likewise.
25496         [C99-based-standards] (SCNdLEAST16): Likewise.
25497         [C99-based-standards] (SCNiLEAST16): Likewise.
25498         [C99-based-standards] (SCNoLEAST16): Likewise.
25499         [C99-based-standards] (SCNuLEAST16): Likewise.
25500         [C99-based-standards] (SCNxLEAST16): Likewise.
25501         [C99-based-standards] (PRIdFAST16): Likewise.
25502         [C99-based-standards] (PRIiFAST16): Likewise.
25503         [C99-based-standards] (PRIoFAST16): Likewise.
25504         [C99-based-standards] (PRIuFAST16): Likewise.
25505         [C99-based-standards] (PRIxFAST16): Likewise.
25506         [C99-based-standards] (PRIXFAST16): Likewise.
25507         [C99-based-standards] (SCNdFAST16): Likewise.
25508         [C99-based-standards] (SCNiFAST16): Likewise.
25509         [C99-based-standards] (SCNoFAST16): Likewise.
25510         [C99-based-standards] (SCNuFAST16): Likewise.
25511         [C99-based-standards] (SCNxFAST16): Likewise.
25512         [C99-based-standards] (PRId32): Likewise.
25513         [C99-based-standards] (PRIi32): Likewise.
25514         [C99-based-standards] (PRIo32): Likewise.
25515         [C99-based-standards] (PRIu32): Likewise.
25516         [C99-based-standards] (PRIx32): Likewise.
25517         [C99-based-standards] (PRIX32): Likewise.
25518         [C99-based-standards] (SCNd32): Likewise.
25519         [C99-based-standards] (SCNi32): Likewise.
25520         [C99-based-standards] (SCNo32): Likewise.
25521         [C99-based-standards] (SCNu32): Likewise.
25522         [C99-based-standards] (SCNx32): Likewise.
25523         [C99-based-standards] (PRIdLEAST32): Likewise.
25524         [C99-based-standards] (PRIiLEAST32): Likewise.
25525         [C99-based-standards] (PRIoLEAST32): Likewise.
25526         [C99-based-standards] (PRIuLEAST32): Likewise.
25527         [C99-based-standards] (PRIxLEAST32): Likewise.
25528         [C99-based-standards] (PRIXLEAST32): Likewise.
25529         [C99-based-standards] (SCNdLEAST32): Likewise.
25530         [C99-based-standards] (SCNiLEAST32): Likewise.
25531         [C99-based-standards] (SCNoLEAST32): Likewise.
25532         [C99-based-standards] (SCNuLEAST32): Likewise.
25533         [C99-based-standards] (SCNxLEAST32): Likewise.
25534         [C99-based-standards] (PRIdFAST32): Likewise.
25535         [C99-based-standards] (PRIiFAST32): Likewise.
25536         [C99-based-standards] (PRIoFAST32): Likewise.
25537         [C99-based-standards] (PRIuFAST32): Likewise.
25538         [C99-based-standards] (PRIxFAST32): Likewise.
25539         [C99-based-standards] (PRIXFAST32): Likewise.
25540         [C99-based-standards] (SCNdFAST32): Likewise.
25541         [C99-based-standards] (SCNiFAST32): Likewise.
25542         [C99-based-standards] (SCNoFAST32): Likewise.
25543         [C99-based-standards] (SCNuFAST32): Likewise.
25544         [C99-based-standards] (SCNxFAST32): Likewise.
25545         [C99-based-standards] (PRId64): Likewise.
25546         [C99-based-standards] (PRIi64): Likewise.
25547         [C99-based-standards] (PRIo64): Likewise.
25548         [C99-based-standards] (PRIu64): Likewise.
25549         [C99-based-standards] (PRIx64): Likewise.
25550         [C99-based-standards] (PRIX64): Likewise.
25551         [C99-based-standards] (SCNd64): Likewise.
25552         [C99-based-standards] (SCNi64): Likewise.
25553         [C99-based-standards] (SCNo64): Likewise.
25554         [C99-based-standards] (SCNu64): Likewise.
25555         [C99-based-standards] (SCNx64): Likewise.
25556         [C99-based-standards] (PRIdLEAST64): Likewise.
25557         [C99-based-standards] (PRIiLEAST64): Likewise.
25558         [C99-based-standards] (PRIoLEAST64): Likewise.
25559         [C99-based-standards] (PRIuLEAST64): Likewise.
25560         [C99-based-standards] (PRIxLEAST64): Likewise.
25561         [C99-based-standards] (PRIXLEAST64): Likewise.
25562         [C99-based-standards] (SCNdLEAST64): Likewise.
25563         [C99-based-standards] (SCNiLEAST64): Likewise.
25564         [C99-based-standards] (SCNoLEAST64): Likewise.
25565         [C99-based-standards] (SCNuLEAST64): Likewise.
25566         [C99-based-standards] (SCNxLEAST64): Likewise.
25567         [C99-based-standards] (PRIdFAST64): Likewise.
25568         [C99-based-standards] (PRIiFAST64): Likewise.
25569         [C99-based-standards] (PRIoFAST64): Likewise.
25570         [C99-based-standards] (PRIuFAST64): Likewise.
25571         [C99-based-standards] (PRIxFAST64): Likewise.
25572         [C99-based-standards] (PRIXFAST64): Likewise.
25573         [C99-based-standards] (SCNdFAST64): Likewise.
25574         [C99-based-standards] (SCNiFAST64): Likewise.
25575         [C99-based-standards] (SCNoFAST64): Likewise.
25576         [C99-based-standards] (SCNuFAST64): Likewise.
25577         [C99-based-standards] (SCNxFAST64): Likewise.
25578         [C99-based-standards] (PRIdMAX): Likewise.
25579         [C99-based-standards] (PRIiMAX): Likewise.
25580         [C99-based-standards] (PRIoMAX): Likewise.
25581         [C99-based-standards] (PRIuMAX): Likewise.
25582         [C99-based-standards] (PRIxMAX): Likewise.
25583         [C99-based-standards] (PRIXMAX): Likewise.
25584         [C99-based-standards] (SCNdMAX): Likewise.
25585         [C99-based-standards] (SCNiMAX): Likewise.
25586         [C99-based-standards] (SCNoMAX): Likewise.
25587         [C99-based-standards] (SCNuMAX): Likewise.
25588         [C99-based-standards] (SCNxMAX): Likewise.
25589         [C99-based-standards] (PRIdPTR): Likewise.
25590         [C99-based-standards] (PRIiPTR): Likewise.
25591         [C99-based-standards] (PRIoPTR): Likewise.
25592         [C99-based-standards] (PRIuPTR): Likewise.
25593         [C99-based-standards] (PRIxPTR): Likewise.
25594         [C99-based-standards] (PRIXPTR): Likewise.
25595         [C99-based-standards] (SCNdPTR): Likewise.
25596         [C99-based-standards] (SCNiPTR): Likewise.
25597         [C99-based-standards] (SCNoPTR): Likewise.
25598         [C99-based-standards] (SCNuPTR): Likewise.
25599         [C99-based-standards] (SCNxPTR): Likewise.
25600         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25601         allow.
25602         * conform/data/stdint.h-data: Update comments to clarify
25603         requirements.
25604         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
25605         type.
25606         [C99-based standards] (INT8_MAX): Likewise.
25607         [C99-based standards] (INT16_MIN): Likewise.
25608         [C99-based standards] (INT16_MAX): Likewise.
25609         [C99-based standards] (INT32_MIN): Likewise.
25610         [C99-based standards] (INT32_MAX): Likewise.
25611         [C99-based standards] (INT64_MIN): Likewise.
25612         [C99-based standards] (INT64_MAX): Likewise.
25613         [C99-based standards] (UINT8_MAX): Likewise.
25614         [C99-based standards] (UINT16_MAX): Likewise.
25615         [C99-based standards] (UINT32_MAX): Likewise.
25616         [C99-based standards] (UINT64_MAX): Likewise.
25617         [C99-based standards] (INT_LEAST8_MIN): Likewise.
25618         [C99-based standards] (INT_LEAST8_MAX): Likewise.
25619         [C99-based standards] (INT_LEAST16_MIN): Likewise.
25620         [C99-based standards] (INT_LEAST16_MAX): Likewise.
25621         [C99-based standards] (INT_LEAST32_MIN): Likewise.
25622         [C99-based standards] (INT_LEAST32_MAX): Likewise.
25623         [C99-based standards] (INT_LEAST64_MIN): Likewise.
25624         [C99-based standards] (INT_LEAST64_MAX): Likewise.
25625         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25626         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25627         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25628         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25629         [C99-based standards] (INT_FAST8_MIN): Likewise.
25630         [C99-based standards] (INT_FAST8_MAX): Likewise.
25631         [C99-based standards] (INT_FAST16_MIN): Likewise.
25632         [C99-based standards] (INT_FAST16_MAX): Likewise.
25633         [C99-based standards] (INT_FAST32_MIN): Likewise.
25634         [C99-based standards] (INT_FAST32_MAX): Likewise.
25635         [C99-based standards] (INT_FAST64_MIN): Likewise.
25636         [C99-based standards] (INT_FAST64_MAX): Likewise.
25637         [C99-based standards] (UINT_FAST8_MAX): Likewise.
25638         [C99-based standards] (UINT_FAST16_MAX): Likewise.
25639         [C99-based standards] (UINT_FAST32_MAX): Likewise.
25640         [C99-based standards] (UINT_FAST64_MAX): Likewise.
25641         [C99-based standards] (INTPTR_MIN): Likewise.
25642         [C99-based standards] (INTPTR_MAX): Likewise.
25643         [C99-based standards] (UINTPTR_MAX): Likewise.
25644         [C99-based standards] (INTMAX_MIN): Likewise.
25645         [C99-based standards] (INTMAX_MAX): Likewise.
25646         [C99-based standards] (UINTMAX_MAX): Likewise.
25647         [C99-based standards] (PTRDIFF_MIN): Likewise.
25648         [C99-based standards] (PTRDIFF_MAX): Likewise.
25649         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25650         [C99-based standards] (SIZE_MAX): Likewise.
25651         [C99-based standards] (WCHAR_MAX): Likewise.
25652         [C99-based standards] (WINT_MAX): Likewise.
25653         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
25654         constraint on value.
25655         [C99-based standards] (WCHAR_MIN): Likewise.
25656         [C99-based standards] (WINT_MIN): Likewise.
25657         [C99-based standards] (*_t): Allow.
25658         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25659         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25660         Include math.h-data and complex.h-data.  Remove all expectations
25661         of math.h and complex.h contents.
25662         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25663         at end of line.
25664         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25665         (struct tm): Expect tag.
25666         [C99-based-standards] (wcstof): Expect function.
25667         [C99-based-standards] (wcstold): Likewise.
25668         [C99-based-standards] (wcstoll): Likewise.
25669         [C99-based-standards] (wcstoull): Likewise.
25670         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25671         macro-int-constant.  Specify type.
25672         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
25673         constraint on value.
25674         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25675         Specify type.
25676         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25677         Specify value.
25678         [ISO C standards]: Do not allow headers.
25679         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25680         wcs[abcdefghijklmnopqrstuvwxyz]*.
25681         [ISO C standards] (*_t): Do not allow.
25682         * conform/data/wctype.h-data [C99-based standards] (iswblank):
25683         Expect function.
25684         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25685         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25686         Specify type.
25687         [ISO C standards]: Do not allow headers.
25688         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25689         is[abcdefghijklmnopqrstuvwxyz]*.
25690         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25691         to[abcdefghijklmnopqrstuvwxyz]*.
25692         [ISO C standards] (*_t): Do not allow.
25693         * conform/data/stdalign.h-data: New file.
25694         * conform/data/stdbool.h-data: Likewise.
25695         * conform/data/stdnoreturn.h-data: Likewise.
25696
25697 2012-11-07  Roland McGrath  <roland@hack.frob.com>
25698
25699         [BZ #14815]
25700         * manual/filesys.texi (Directory Entries): Typo fix.
25701         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25702
25703 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25704
25705         * elf/elf.h (EM_AARCH64): New macro.
25706         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25707         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25708         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25709         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25710         (R_AARCH64_TLSDESC): Likewise.
25711         (NT_ARM_TLS): Likewise.
25712         (NT_ARM_HW_BREAK): Likewise.
25713         (NT_ARM_HW_WATCH): Likewise.
25714
25715 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25716
25717         [BZ #14811]
25718         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25719         (__ieee754_powl): Saturate nonzero exponents with absolute value
25720         below 0x1p-79 to +/- 0x1p-79.
25721         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25722         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25723         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25724         nonzero exponents with absolute value below 0x1p-32 to +/-
25725         0x1p-32.
25726         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25727         (__ieee754_powl): Saturate nonzero exponents with absolute value
25728         below 0x1p-79 to +/- 0x1p-79.
25729         * math/libm-test.inc (pow_test): Add more tests.
25730
25731 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25732
25733         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25734         _dl_s390_cap_flags with kernel. Increase string length.
25735         (_dl_s390_platforms): Add z196 and zEC12.
25736
25737 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25738
25739         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25740         Change XOPEN21K to XOPEN2K.
25741
25742 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
25743
25744         * string/memmove.c: Use memcpy when possible.
25745
25746 2012-11-06  Andreas Jaeger  <aj@suse.de>
25747
25748         * po/eo.po: Update from translation team.
25749
25750 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
25751
25752         [BZ #14793]
25753         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25754         exponent and small x and y exponents, scale x or y up.  Increase
25755         by 2 the exponent used in scaling up.
25756         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25757         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25758         * math/libm-test.inc (fma_test): Add more tests.
25759         (fma_test_towardzero): Likewise.
25760         (fma_test_downward): Likewise.
25761         (fma_test_upward): Likewise.
25762
25763 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
25764
25765         [BZ #14805]
25766         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25767         fenv_t *.
25768
25769         [BZ #14801]
25770         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25771         namespace for names of struct fields.
25772         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25773         fenv_t fields.
25774         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25775         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25776
25777 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25778
25779         [BZ #3665]
25780         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25781
25782 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
25783
25784         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25785         PTR_DEMANGLE.
25786
25787         [BZ #5246]
25788         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25789         PTR_DEMANGLE.
25790
25791 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
25792
25793         [BZ #14797]
25794         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25795         definitely overflow as x * y not x * y + z.
25796         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25797         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25798         * math/libm-test.inc (fma_test): Add more tests.
25799         (fma_test_towardzero): Likewise.
25800         (fma_test_downward): Likewise.
25801         (fma_test_upward): Likewise.
25802
25803 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
25804
25805         [BZ #157]
25806
25807         * include/stub-tag.h: Remove file.
25808         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25809         '#include' of it.
25810         * manual/maint.texi (Porting): Don't reference it.
25811         * Makerules ($(objpfx)stubs): Likewise.
25812         * dirent/closedir.c: Don't include <stub-tag.h>.
25813         * dirent/dirfd.c: Likewise.
25814         * dirent/fdopendir.c: Likewise.
25815         * dirent/getdents.c: Likewise.
25816         * dirent/getdents64.c: Likewise.
25817         * dirent/opendir.c: Likewise.
25818         * dirent/readdir.c: Likewise.
25819         * dirent/readdir64.c: Likewise.
25820         * dirent/readdir64_r.c: Likewise.
25821         * dirent/readdir_r.c: Likewise.
25822         * dirent/rewinddir.c: Likewise.
25823         * dirent/seekdir.c: Likewise.
25824         * dirent/telldir.c: Likewise.
25825         * gmon/profil.c: Likewise.
25826         * grp/setgroups.c: Likewise.
25827         * inet/if_index.c: Likewise.
25828         * io/access.c: Likewise.
25829         * io/chdir.c: Likewise.
25830         * io/chmod.c: Likewise.
25831         * io/chown.c: Likewise.
25832         * io/close.c: Likewise.
25833         * io/dup.c: Likewise.
25834         * io/dup2.c: Likewise.
25835         * io/dup3.c: Likewise.
25836         * io/euidaccess.c: Likewise.
25837         * io/faccessat.c: Likewise.
25838         * io/fchdir.c: Likewise.
25839         * io/fchmod.c: Likewise.
25840         * io/fchmodat.c: Likewise.
25841         * io/fchown.c: Likewise.
25842         * io/fchownat.c: Likewise.
25843         * io/fcntl.c: Likewise.
25844         * io/flock.c: Likewise.
25845         * io/fstatfs.c: Likewise.
25846         * io/fstatfs64.c: Likewise.
25847         * io/fstatvfs.c: Likewise.
25848         * io/fstatvfs64.c: Likewise.
25849         * io/futimens.c: Likewise.
25850         * io/fxstat.c: Likewise.
25851         * io/fxstat64.c: Likewise.
25852         * io/fxstatat.c: Likewise.
25853         * io/fxstatat64.c: Likewise.
25854         * io/getcwd.c: Likewise.
25855         * io/isatty.c: Likewise.
25856         * io/lchmod.c: Likewise.
25857         * io/lchown.c: Likewise.
25858         * io/link.c: Likewise.
25859         * io/linkat.c: Likewise.
25860         * io/lseek.c: Likewise.
25861         * io/lseek64.c: Likewise.
25862         * io/lxstat64.c: Likewise.
25863         * io/mkdir.c: Likewise.
25864         * io/mkdirat.c: Likewise.
25865         * io/mkfifo.c: Likewise.
25866         * io/mkfifoat.c: Likewise.
25867         * io/open.c: Likewise.
25868         * io/open64.c: Likewise.
25869         * io/openat.c: Likewise.
25870         * io/openat64.c: Likewise.
25871         * io/pipe.c: Likewise.
25872         * io/pipe2.c: Likewise.
25873         * io/poll.c: Likewise.
25874         * io/posix_fadvise.c: Likewise.
25875         * io/posix_fadvise64.c: Likewise.
25876         * io/posix_fallocate.c: Likewise.
25877         * io/posix_fallocate64.c: Likewise.
25878         * io/read.c: Likewise.
25879         * io/readlink.c: Likewise.
25880         * io/readlinkat.c: Likewise.
25881         * io/rmdir.c: Likewise.
25882         * io/sendfile.c: Likewise.
25883         * io/sendfile64.c: Likewise.
25884         * io/statfs.c: Likewise.
25885         * io/statfs64.c: Likewise.
25886         * io/statvfs.c: Likewise.
25887         * io/statvfs64.c: Likewise.
25888         * io/symlink.c: Likewise.
25889         * io/symlinkat.c: Likewise.
25890         * io/ttyname.c: Likewise.
25891         * io/ttyname_r.c: Likewise.
25892         * io/umask.c: Likewise.
25893         * io/unlink.c: Likewise.
25894         * io/unlinkat.c: Likewise.
25895         * io/utime.c: Likewise.
25896         * io/utimensat.c: Likewise.
25897         * io/write.c: Likewise.
25898         * io/xmknod.c: Likewise.
25899         * io/xmknodat.c: Likewise.
25900         * io/xstat.c: Likewise.
25901         * io/xstat64.c: Likewise.
25902         * login/getpt.c: Likewise.
25903         * login/grantpt.c: Likewise.
25904         * login/unlockpt.c: Likewise.
25905         * math/e_acoshl.c: Likewise.
25906         * math/e_acosl.c: Likewise.
25907         * math/e_asinl.c: Likewise.
25908         * math/e_atan2l.c: Likewise.
25909         * math/e_atanhl.c: Likewise.
25910         * math/e_coshl.c: Likewise.
25911         * math/e_expl.c: Likewise.
25912         * math/e_fmodl.c: Likewise.
25913         * math/e_gammal_r.c: Likewise.
25914         * math/e_hypotl.c: Likewise.
25915         * math/e_j0l.c: Likewise.
25916         * math/e_j1l.c: Likewise.
25917         * math/e_jnl.c: Likewise.
25918         * math/e_lgammal_r.c: Likewise.
25919         * math/e_log10l.c: Likewise.
25920         * math/e_log2l.c: Likewise.
25921         * math/e_logl.c: Likewise.
25922         * math/e_powl.c: Likewise.
25923         * math/e_rem_pio2l.c: Likewise.
25924         * math/e_sinhl.c: Likewise.
25925         * math/e_sqrtl.c: Likewise.
25926         * math/fclrexcpt.c: Likewise.
25927         * math/fedisblxcpt.c: Likewise.
25928         * math/feenablxcpt.c: Likewise.
25929         * math/fegetenv.c: Likewise.
25930         * math/fegetexcept.c: Likewise.
25931         * math/fegetround.c: Likewise.
25932         * math/feholdexcpt.c: Likewise.
25933         * math/fesetenv.c: Likewise.
25934         * math/fesetround.c: Likewise.
25935         * math/feupdateenv.c: Likewise.
25936         * math/fgetexcptflg.c: Likewise.
25937         * math/fraiseexcpt.c: Likewise.
25938         * math/fsetexcptflg.c: Likewise.
25939         * math/ftestexcept.c: Likewise.
25940         * math/k_cosl.c: Likewise.
25941         * math/k_rem_pio2l.c: Likewise.
25942         * math/k_sinl.c: Likewise.
25943         * math/k_tanl.c: Likewise.
25944         * math/s_asinhl.c: Likewise.
25945         * math/s_atanl.c: Likewise.
25946         * math/s_cbrtl.c: Likewise.
25947         * math/s_erfl.c: Likewise.
25948         * math/s_expm1l.c: Likewise.
25949         * math/s_log1pl.c: Likewise.
25950         * math/s_tanhl.c: Likewise.
25951         * misc/acct.c: Likewise.
25952         * misc/brk.c: Likewise.
25953         * misc/chflags.c: Likewise.
25954         * misc/chroot.c: Likewise.
25955         * misc/fchflags.c: Likewise.
25956         * misc/fgetxattr.c: Likewise.
25957         * misc/flistxattr.c: Likewise.
25958         * misc/fremovexattr.c: Likewise.
25959         * misc/fsetxattr.c: Likewise.
25960         * misc/fsync.c: Likewise.
25961         * misc/ftruncate.c: Likewise.
25962         * misc/futimes.c: Likewise.
25963         * misc/futimesat.c: Likewise.
25964         * misc/getdomain.c: Likewise.
25965         * misc/getdtsz.c: Likewise.
25966         * misc/gethostid.c: Likewise.
25967         * misc/gethostname.c: Likewise.
25968         * misc/getloadavg.c: Likewise.
25969         * misc/getpagesize.c: Likewise.
25970         * misc/getsysstats.c: Likewise.
25971         * misc/getxattr.c: Likewise.
25972         * misc/gtty.c: Likewise.
25973         * misc/ioctl.c: Likewise.
25974         * misc/lgetxattr.c: Likewise.
25975         * misc/listxattr.c: Likewise.
25976         * misc/llistxattr.c: Likewise.
25977         * misc/lremovexattr.c: Likewise.
25978         * misc/lsetxattr.c: Likewise.
25979         * misc/lutimes.c: Likewise.
25980         * misc/madvise.c: Likewise.
25981         * misc/mincore.c: Likewise.
25982         * misc/mlock.c: Likewise.
25983         * misc/mlockall.c: Likewise.
25984         * misc/mmap.c: Likewise.
25985         * misc/mprotect.c: Likewise.
25986         * misc/msync.c: Likewise.
25987         * misc/munlock.c: Likewise.
25988         * misc/munlockall.c: Likewise.
25989         * misc/munmap.c: Likewise.
25990         * misc/preadv.c: Likewise.
25991         * misc/preadv64.c: Likewise.
25992         * misc/ptrace.c: Likewise.
25993         * misc/pwritev.c: Likewise.
25994         * misc/pwritev64.c: Likewise.
25995         * misc/readv.c: Likewise.
25996         * misc/reboot.c: Likewise.
25997         * misc/remap_file_pages.c: Likewise.
25998         * misc/removexattr.c: Likewise.
25999         * misc/revoke.c: Likewise.
26000         * misc/select.c: Likewise.
26001         * misc/setdomain.c: Likewise.
26002         * misc/setegid.c: Likewise.
26003         * misc/seteuid.c: Likewise.
26004         * misc/sethostid.c: Likewise.
26005         * misc/sethostname.c: Likewise.
26006         * misc/setregid.c: Likewise.
26007         * misc/setreuid.c: Likewise.
26008         * misc/setxattr.c: Likewise.
26009         * misc/sstk.c: Likewise.
26010         * misc/stty.c: Likewise.
26011         * misc/swapoff.c: Likewise.
26012         * misc/swapon.c: Likewise.
26013         * misc/sync.c: Likewise.
26014         * misc/syncfs.c: Likewise.
26015         * misc/syscall.c: Likewise.
26016         * misc/truncate.c: Likewise.
26017         * misc/ualarm.c: Likewise.
26018         * misc/usleep.c: Likewise.
26019         * misc/ustat.c: Likewise.
26020         * misc/utimes.c: Likewise.
26021         * misc/vhangup.c: Likewise.
26022         * misc/writev.c: Likewise.
26023         * posix/_exit.c: Likewise.
26024         * posix/alarm.c: Likewise.
26025         * posix/execve.c: Likewise.
26026         * posix/fexecve.c: Likewise.
26027         * posix/fork.c: Likewise.
26028         * posix/fpathconf.c: Likewise.
26029         * posix/getaddrinfo.c: Likewise.
26030         * posix/getegid.c: Likewise.
26031         * posix/geteuid.c: Likewise.
26032         * posix/getgid.c: Likewise.
26033         * posix/getgroups.c: Likewise.
26034         * posix/getlogin.c: Likewise.
26035         * posix/getlogin_r.c: Likewise.
26036         * posix/getpgid.c: Likewise.
26037         * posix/getpid.c: Likewise.
26038         * posix/getppid.c: Likewise.
26039         * posix/getresgid.c: Likewise.
26040         * posix/getresuid.c: Likewise.
26041         * posix/getsid.c: Likewise.
26042         * posix/getuid.c: Likewise.
26043         * posix/glob64.c: Likewise.
26044         * posix/nanosleep.c: Likewise.
26045         * posix/pathconf.c: Likewise.
26046         * posix/pause.c: Likewise.
26047         * posix/posix_madvise.c: Likewise.
26048         * posix/pread.c: Likewise.
26049         * posix/pread64.c: Likewise.
26050         * posix/pwrite.c: Likewise.
26051         * posix/pwrite64.c: Likewise.
26052         * posix/sched_getaffinity.c: Likewise.
26053         * posix/sched_getp.c: Likewise.
26054         * posix/sched_gets.c: Likewise.
26055         * posix/sched_primax.c: Likewise.
26056         * posix/sched_primin.c: Likewise.
26057         * posix/sched_rr_gi.c: Likewise.
26058         * posix/sched_setaffinity.c: Likewise.
26059         * posix/sched_setp.c: Likewise.
26060         * posix/sched_sets.c: Likewise.
26061         * posix/sched_yield.c: Likewise.
26062         * posix/setgid.c: Likewise.
26063         * posix/setlogin.c: Likewise.
26064         * posix/setpgid.c: Likewise.
26065         * posix/setresgid.c: Likewise.
26066         * posix/setresuid.c: Likewise.
26067         * posix/setsid.c: Likewise.
26068         * posix/setuid.c: Likewise.
26069         * posix/sleep.c: Likewise.
26070         * posix/spawni.c: Likewise.
26071         * posix/sysconf.c: Likewise.
26072         * posix/times.c: Likewise.
26073         * posix/wait.c: Likewise.
26074         * posix/wait3.c: Likewise.
26075         * posix/wait4.c: Likewise.
26076         * posix/waitpid.c: Likewise.
26077         * resolv/gai_sigqueue.c: Likewise.
26078         * resource/getpriority.c: Likewise.
26079         * resource/getrlimit.c: Likewise.
26080         * resource/getrusage.c: Likewise.
26081         * resource/nice.c: Likewise.
26082         * resource/setpriority.c: Likewise.
26083         * resource/setrlimit.c: Likewise.
26084         * resource/ulimit.c: Likewise.
26085         * rt/aio_cancel.c: Likewise.
26086         * rt/aio_fsync.c: Likewise.
26087         * rt/aio_read.c: Likewise.
26088         * rt/aio_sigqueue.c: Likewise.
26089         * rt/aio_suspend.c: Likewise.
26090         * rt/aio_write.c: Likewise.
26091         * rt/clock_getres.c: Likewise.
26092         * rt/clock_gettime.c: Likewise.
26093         * rt/clock_nanosleep.c: Likewise.
26094         * rt/clock_settime.c: Likewise.
26095         * rt/lio_listio.c: Likewise.
26096         * rt/mq_close.c: Likewise.
26097         * rt/mq_getattr.c: Likewise.
26098         * rt/mq_notify.c: Likewise.
26099         * rt/mq_open.c: Likewise.
26100         * rt/mq_receive.c: Likewise.
26101         * rt/mq_send.c: Likewise.
26102         * rt/mq_setattr.c: Likewise.
26103         * rt/mq_timedreceive.c: Likewise.
26104         * rt/mq_timedsend.c: Likewise.
26105         * rt/mq_unlink.c: Likewise.
26106         * rt/shm_open.c: Likewise.
26107         * rt/shm_unlink.c: Likewise.
26108         * rt/timer_create.c: Likewise.
26109         * rt/timer_delete.c: Likewise.
26110         * rt/timer_getoverr.c: Likewise.
26111         * rt/timer_gettime.c: Likewise.
26112         * rt/timer_settime.c: Likewise.
26113         * setjmp/__longjmp.c: Likewise.
26114         * setjmp/setjmp.c: Likewise.
26115         * signal/kill.c: Likewise.
26116         * signal/killpg.c: Likewise.
26117         * signal/raise.c: Likewise.
26118         * signal/sigaction.c: Likewise.
26119         * signal/sigaltstack.c: Likewise.
26120         * signal/sigblock.c: Likewise.
26121         * signal/sigignore.c: Likewise.
26122         * signal/sigintr.c: Likewise.
26123         * signal/signal.c: Likewise.
26124         * signal/sigpause.c: Likewise.
26125         * signal/sigpending.c: Likewise.
26126         * signal/sigqueue.c: Likewise.
26127         * signal/sigreturn.c: Likewise.
26128         * signal/sigset.c: Likewise.
26129         * signal/sigsetmask.c: Likewise.
26130         * signal/sigstack.c: Likewise.
26131         * signal/sigsuspend.c: Likewise.
26132         * signal/sigtimedwait.c: Likewise.
26133         * signal/sigvec.c: Likewise.
26134         * signal/sigwait.c: Likewise.
26135         * signal/sigwaitinfo.c: Likewise.
26136         * signal/sysv_signal.c: Likewise.
26137         * socket/accept.c: Likewise.
26138         * socket/accept4.c: Likewise.
26139         * socket/bind.c: Likewise.
26140         * socket/connect.c: Likewise.
26141         * socket/getpeername.c: Likewise.
26142         * socket/getsockname.c: Likewise.
26143         * socket/getsockopt.c: Likewise.
26144         * socket/isfdtype.c: Likewise.
26145         * socket/listen.c: Likewise.
26146         * socket/recv.c: Likewise.
26147         * socket/recvfrom.c: Likewise.
26148         * socket/recvmsg.c: Likewise.
26149         * socket/send.c: Likewise.
26150         * socket/sendmsg.c: Likewise.
26151         * socket/sendto.c: Likewise.
26152         * socket/setsockopt.c: Likewise.
26153         * socket/shutdown.c: Likewise.
26154         * socket/sockatmark.c: Likewise.
26155         * socket/socket.c: Likewise.
26156         * socket/socketpair.c: Likewise.
26157         * stdio-common/ctermid.c: Likewise.
26158         * stdio-common/cuserid.c: Likewise.
26159         * stdio-common/remove.c: Likewise.
26160         * stdio-common/rename.c: Likewise.
26161         * stdio-common/renameat.c: Likewise.
26162         * stdio-common/tempname.c: Likewise.
26163         * stdlib/getcontext.c: Likewise.
26164         * stdlib/makecontext.c: Likewise.
26165         * stdlib/setcontext.c: Likewise.
26166         * stdlib/swapcontext.c: Likewise.
26167         * stdlib/system.c: Likewise.
26168         * streams/fattach.c: Likewise.
26169         * streams/fdetach.c: Likewise.
26170         * streams/getmsg.c: Likewise.
26171         * streams/getpmsg.c: Likewise.
26172         * streams/putmsg.c: Likewise.
26173         * streams/putpmsg.c: Likewise.
26174         * sysdeps/unix/bsd/getpt.c: Likewise.
26175         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26176         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26177         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26179         Likewise.
26180         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26181         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26182         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26183         * sysvipc/msgctl.c: Likewise.
26184         * sysvipc/msgget.c: Likewise.
26185         * sysvipc/msgrcv.c: Likewise.
26186         * sysvipc/msgsnd.c: Likewise.
26187         * sysvipc/semctl.c: Likewise.
26188         * sysvipc/semget.c: Likewise.
26189         * sysvipc/semop.c: Likewise.
26190         * sysvipc/semtimedop.c: Likewise.
26191         * sysvipc/shmat.c: Likewise.
26192         * sysvipc/shmctl.c: Likewise.
26193         * sysvipc/shmdt.c: Likewise.
26194         * sysvipc/shmget.c: Likewise.
26195         * termios/tcdrain.c: Likewise.
26196         * termios/tcflow.c: Likewise.
26197         * termios/tcflush.c: Likewise.
26198         * termios/tcgetattr.c: Likewise.
26199         * termios/tcgetpgrp.c: Likewise.
26200         * termios/tcsendbrk.c: Likewise.
26201         * termios/tcsetattr.c: Likewise.
26202         * termios/tcsetpgrp.c: Likewise.
26203         * time/adjtime.c: Likewise.
26204         * time/clock.c: Likewise.
26205         * time/getitimer.c: Likewise.
26206         * time/gettimeofday.c: Likewise.
26207         * time/setitimer.c: Likewise.
26208         * time/settimeofday.c: Likewise.
26209         * time/stime.c: Likewise.
26210         * time/time.c: Likewise.
26211
26212 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
26213
26214         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26215         /usr/old/bin.
26216
26217         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26218         instead of spaces.
26219         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26220
26221 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
26222
26223         [BZ #14796]
26224         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26225         FE_TONEAREST before applying Dekker multiplication and Knuth
26226         addition.  Clear inexact exceptions and check for exact zero
26227         results afterwards.
26228         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26229         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26230         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26231         * math/libm-test.inc (fma_test): Add more tests.
26232         (fma_test_towardzero): Likewise.
26233         (fma_test_downward): Likewise.
26234         (fma_test_upward): Likewise.
26235         * sysdeps/generic/math_private.h (default_libc_fesetround): New
26236         function.
26237         (libc_fesetround): New macro.
26238         (libc_fesetroundf): Likewise.
26239         (libc_fesetroundl): Likewise.
26240         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26241         function.
26242         (libc_fesetround_387): Likewise.
26243         (libc_fesetroundf): New macro.
26244         (libc_fesetround): Likewise.
26245         (libc_fesetroundl): Likewise.
26246         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26247         function.
26248         (libc_fesetroundf): New macro.
26249         (libc_fesetround): Likewise.
26250         (libc_fesetroundl): Likewise.
26251         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26252         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26253         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26254         libm_hidden_ver.
26255         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26256         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26257         libm_hidden_def.
26258         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26259         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26260         libm_hidden_ver.
26261         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26262         libm_hidden_def.
26263
26264         [BZ #3439]
26265         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26266         integer constant usable in #if and use that to give value to enum
26267         constant.
26268         (FE_DIVBYZERO): Likewise.
26269         (FE_UNDERFLOW): Likewise.
26270         (FE_OVERFLOW): Likewise.
26271         (FE_INVALID): Likewise.
26272         (FE_INVALID_SNAN): Likewise.
26273         (FE_INVALID_ISI): Likewise.
26274         (FE_INVALID_IDI): Likewise.
26275         (FE_INVALID_ZDZ): Likewise.
26276         (FE_INVALID_IMZ): Likewise.
26277         (FE_INVALID_COMPARE): Likewise.
26278         (FE_INVALID_SOFTWARE): Likewise.
26279         (FE_INVALID_SQRT): Likewise.
26280         (FE_INVALID_INTEGER_CONVERSION): Likewise.
26281         (FE_TONEAREST): Likewise.
26282         (FE_TOWARDZERO): Likewise.
26283         (FE_UPWARD): Likewise.
26284         (FE_DOWNWARD): Likewise.
26285         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26286         (FE_DIVBYZERO): Likewise.
26287         (FE_OVERFLOW): Likewise.
26288         (FE_UNDERFLOW): Likewise.
26289         (FE_INEXACT): Likewise.
26290         (FE_TONEAREST): Likewise.
26291         (FE_DOWNWARD): Likewise.
26292         (FE_UPWARD): Likewise.
26293         (FE_TOWARDZERO): Likewise.
26294         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26295         (FE_UNDERFLOW): Likewise.
26296         (FE_OVERFLOW): Likewise.
26297         (FE_DIVBYZERO): Likewise.
26298         (FE_INVALID): Likewise.
26299         (FE_TONEAREST): Likewise.
26300         (FE_TOWARDZERO): Likewise.
26301         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26302         (FE_OVERFLOW): Likewise.
26303         (FE_UNDERFLOW): Likewise.
26304         (FE_DIVBYZERO): Likewise.
26305         (FE_INEXACT): Likewise.
26306         (FE_TONEAREST): Likewise.
26307         (FE_TOWARDZERO): Likewise.
26308         (FE_UPWARD): Likewise.
26309         (FE_DOWNWARD): Likewise.
26310         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26311         (FE_DIVBYZERO): Likewise.
26312         (FE_OVERFLOW): Likewise.
26313         (FE_UNDERFLOW): Likewise.
26314         (FE_INEXACT): Likewise.
26315         (FE_TONEAREST): Likewise.
26316         (FE_DOWNWARD): Likewise.
26317         (FE_UPWARD): Likewise.
26318         (FE_TOWARDZERO): Likewise.
26319
26320 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
26321
26322         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26323
26324 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
26325
26326         * scripts/cross-test-ssh.sh (command): Use newlines to separate
26327         commands.  Quote $PWD.
26328         (blacklist_exports): Don't use remove_newlines.  Replace "declare
26329         -x" by "export".
26330         (remove_newlines): Remove.
26331
26332 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
26333
26334         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26335         * stdlib/stdlib.h (atof): Moved to ...
26336         * include/bits/stdlib-float.h: Here.  New file.
26337         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26338         * stdlib/bits/stdlib-float.h: New file.
26339         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26340         -mno-sse -mno-mmx.
26341         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26342         <xmmintrin.h>.
26343
26344 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26345
26346         * conform/conformtest.pl (@headers): Add fenv.h.
26347         * conform/data/fenv.h-data: New file.
26348         * include/fenv.h [_ISOMAC]: Disable all contents of file except
26349         include of <math/fenv.h>.
26350
26351         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26352         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26353         && !UNIX98].  Enables tests for XOPEN2K8.
26354         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26355         POSIX2008]: Likewise.
26356
26357         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26358         (struct rusage): Do not expect type or its members.
26359
26360         [BZ #3439]
26361         * math/math.h (FP_NAN): Define macro to integer constant usable in
26362         #if and use that to give value to enum constant.
26363         (FP_INFINITE): Likewise.
26364         (FP_ZERO): Likewise.
26365         (FP_SUBNORMAL): Likewise.
26366         (FP_NORMAL): Likewise.
26367
26368 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
26369
26370         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26371         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26372         arguments.
26373
26374 2012-11-02  Roland McGrath  <roland@hack.frob.com>
26375
26376         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26377         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26378         autoconf-time if not.
26379         * configure.in: Remove AC_PREREQ.
26380
26381 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26382
26383         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26384         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26385         of the internal implementation.
26386
26387 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26388
26389         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26390         except include of <misc/sys/syslog.h>.
26391
26392 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26393
26394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26395         function returns with a NULL context exit with zero.
26396
26397 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26398
26399         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26400
26401 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
26402
26403         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26404         (run_program_cmd): This.
26405         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26406         (tst_langinfo): New variable.  Use it.
26407
26408 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
26409
26410         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26411         floating point opcodes.
26412
26413 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26414
26415         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26416         variable.
26417
26418         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26419
26420         * sysdeps/mach/hurd/powerpc: Remove directory.
26421         * sysdeps/mach/powerpc: Likewise.
26422
26423 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26424
26425         * scripts/check-local-headers.sh: Ignore c++ headers.
26426
26427 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26428
26429         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26430         __libc_cleanup_region_start argument.
26431
26432 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
26433
26434         [BZ #14784]
26435         [BZ #14785]
26436         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26437         x * y using scaling, not as x * y + z.
26438         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26439         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26440         * math/libm-test.inc (fma_test): Add more tests.
26441         (fma_test_towardzero): Likewise.
26442         (fma_test_downward): Likewise.
26443         (fma_test_upward): Likewise.
26444
26445 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26446
26447         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26448
26449 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
26450
26451         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26452         New variable.
26453
26454 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
26455
26456         * rt/tst-shm.c (worker): Correct checking for mmap failure.
26457
26458 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
26459
26460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26461         Fix sort order.
26462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26463         Likewise.
26464
26465 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26466
26467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26468         Fix the order of the list for glibc 2.17.
26469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26470         Likewise.
26471
26472 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
26473
26474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26475
26476 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
26477
26478         [BZ #14610]
26479         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26480         for low part of x being zero before using __atanl (y).
26481         * math/libm-test.inc (atan2_test): Add another test.
26482
26483         * manual/install.texi (Configuring and compiling): Document
26484         general use of test-wrapper and test-wrapper-env.
26485         * INSTALL: Regenerated.
26486
26487         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26488         (__fma): Do not extract and scale down low bits on after-rounding
26489         systems when result rounded to normal precision would have normal
26490         exponent.
26491         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26492         (__fmal): Do not extract and scale down low bits on after-rounding
26493         systems when result rounded to normal precision would have normal
26494         exponent.
26495         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26496         (__fmal): Do not extract and scale down low bits on after-rounding
26497         systems when result rounded to normal precision would have normal
26498         exponent.
26499         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26500         macro.
26501         (fma_test): Add more tests.
26502         (fma_test_towardzero): Likewise.
26503         (fma_test_downward): Likewise.
26504         (fma_test_upward): Likewise.
26505
26506 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
26507
26508         * sysdeps/i386/tininess.h: Renamed to ...
26509         * sysdeps/x86/tininess.h: This.
26510         * sysdeps/x86_64/tininess.h: Removed.
26511
26512 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
26513
26514         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26515         input.  Use $(build-program-cmd).
26516         ($(objpfx)tst-array1-static.out): Likewise.
26517         ($(objpfx)tst-array2.out): Likewise.
26518         ($(objpfx)tst-array3.out): Likewise.
26519         ($(objpfx)tst-array4.out): Likewise.
26520         ($(objpfx)tst-array5.out): Likewise.
26521         ($(objpfx)tst-array5-static.out): Likewise.
26522
26523 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
26524
26525         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26526         if defined.
26527
26528         * nss/nsswitch.h (nss_interface_function): Provide new
26529         macro for use with NSS functions.
26530         * grp/initgroups.c: Use new macro.
26531         * nss/getXXbyYY.c: Likewise.
26532         * nss/getXXbyYY_r.c: Likewise.
26533         * nss/getXXent.c: Likewise.
26534         * nss/getXXent_r.c: Likewise.
26535         * sysdeps/posix/getaddrinfo.c: Likewise.
26536
26537 2012-10-30  Andreas Jaeger  <aj@suse.de>
26538
26539         * po/ru.po: Update Russion translation from translation project.
26540
26541 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
26542
26543         [BZ #14152]
26544         [BZ #14783]
26545         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26546         result and shift together with sticky bit instead of replicating
26547         round-to-nearest rounding.
26548         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26549         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26550         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
26551         missing underflow exceptions.
26552         (fma_test_towardzero): Add more tests.
26553         (fma_test_downward): Likewise.
26554         (fma_test_upward): Likewise.
26555
26556         [BZ #14047]
26557         * sysdeps/generic/tininess.h: New file.
26558         * sysdeps/i386/tininess.h: Likewise.
26559         * sysdeps/sh/tininess.h: Likewise.
26560         * sysdeps/x86_64/tininess.h: Likewise.
26561         * stdlib/tst-strtod-underflow.c: Likewise.
26562         * stdlib/tst-tininess.c: Likewise.
26563         * stdlib/strtod_l.c: Include <tininess.h>.
26564         (round_and_return): Do not set errno for exact underflow cases.
26565         Force an underflow exception when setting errno for underflow.
26566         Determine underflow based on rounding to normal precision if
26567         TININESS_AFTER_ROUNDING.
26568         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26569         ERANGE for exact underflow cases.
26570         * stdlib/Makefile (tests): Add tst-tininess and
26571         tst-strtod-underflow.
26572         ($(objpfx)tst-tininess): Use $(link-libm).
26573         ($(objpfx)tst-strtod-underflow): Likewise.
26574
26575 2012-10-30  Andreas Jaeger  <aj@suse.de>
26576
26577         [BZ#14767]
26578         * elf/Makefile (tests): Remove conditional for have-initfini-array
26579         since this is now always required and the variable does not exist
26580         anymore.
26581         (tests-static): Likewise.
26582         (modules-names): Likewise.
26583
26584         * po/eo.po: Add Esperanto translation from translation project.
26585
26586         * elf/tst-array1.c (fini_array): Make writeable so that it can be
26587         merged with constructor/destructor.
26588         (init_array): Likewise.
26589         * elf/tst-array2dep.c (fini_array): Likewise.
26590         (init_array): Likewise.
26591
26592 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
26593
26594         * manual/message.texi: Delete @cartouche tags.
26595
26596 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
26597
26598         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26599         EOPNOTSUPP.
26600         * sysdeps/mach/hurd/fsync.c: Likewise.
26601
26602         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26603         [_POSIX_REALTIME_SIGNALS]: Change condition to
26604         [_POSIX_REALTIME_SIGNALS > 0].
26605
26606 2012-10-27  Andreas Jaeger  <aj@suse.de>
26607
26608         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26609         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26610         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26611         [__WORDSIZE != 64]: Likewise.
26612
26613 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
26614
26615         *  iconvdata/tst-table.sh: Remove ${SHELL}.
26616         *  iconvdata/tst-tables.sh: Likewise.
26617
26618 2012-10-25  David S. Miller  <davem@davemloft.net>
26619
26620         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26621         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26622         of strtoull.
26623
26624         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26625         ifunc-impl-list.c
26626         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26627         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26628         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26629         file.
26630
26631 2012-10-25  Roland McGrath  <roland@hack.frob.com>
26632
26633         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26634         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26635         __getdirentries.
26636
26637 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
26638             Jim Blandy  <jimb@codesourcery.com>
26639
26640         * scripts/cross-test-ssh.sh: New file.
26641         * manual/install.texi (Configuring and compiling): Document use of
26642         cross-test-ssh.sh.
26643         * INSTALL: Regenerated.
26644
26645 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
26646
26647         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26648         EOPNOTSUPP.
26649
26650 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
26651
26652         * Makeconfig (run-program-prefix): Fix comment.
26653
26654 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
26655             Jim Blandy  <jimb@codesourcery.com>
26656
26657         * Makeconfig (test-wrapper): New variable,
26658         (test-wrapper-env): Likewise.
26659         [$(cross-compiling) = yes && $(test-wrapper) != ""]
26660         (run-built-tests): Define to yes.
26661         (run-program-prefix): Use $(test-wrapper).
26662         (built-program-cmd): Likewise.
26663         * Rules (make-test-out): Use $(test-wrapper-env) and
26664         $(host-built-program-cmd).
26665         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26666         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26667         tst-pathopt.sh.
26668         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26669         $(test-wrapper-env) to tst-rtld-load-self.sh.
26670         ($(objpfx)order2.out): Use $(test-wrapper).
26671         ($(objpfx)tst-initorder.out): Likewise.
26672         ($(objpfx)tst-initorder2.out): Likewise.
26673         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26674         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26675         (test_wrapper_env): New variable.  Use it to run ld.so.
26676         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26677         Use it to run ld.so.
26678         (test_wrapper_env): Likewise.
26679         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26680         $(test-wrapper) to run-iconv-test.sh.
26681         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26682         (ICONV): Use $test_wrapper.
26683         * posix/Makefile ($(objpfx)globtest.out): Pass
26684         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26685         globtest.sh, not $(run-program-prefix).
26686         * posix/globtest.sh (run_via_rtld_prefix): New variable.
26687         (test_wrapper): Likewise.
26688         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
26689         set together with run_via_rtld_prefix.
26690         (run_program_prefix): Define in terms of test_wrapper and
26691         run_via_rtld_prefix.
26692
26693 2012-10-24  Roland McGrath  <roland@hack.frob.com>
26694
26695         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26696         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26697         Targets removed.
26698
26699         [BZ #14743]
26700         * include/time.h: Remove librt_hidden_proto (clock_gettime).
26701         Declare __clock_getres, __clock_gettime, __clock_settime,
26702         __clock_nanosleep, and __clock_getcpuclockid.
26703         * rt/clock_gettime.c: Define __clock_gettime as an alias.
26704         Remove librt_hidden_def (clock_gettime).
26705         * sysdeps/unix/clock_gettime.c: Likewise.
26706         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26707         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26708         * rt/clock_getres.c: Define __clock_getres as an alias.
26709         * sysdeps/posix/clock_getres.c: Likewise.
26710         * rt/clock_settime.c: Define __clock_settime as an alias.
26711         * sysdeps/unix/clock_settime.c: Likewise.
26712         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26713         * sysdeps/unix/clock_nanosleep.c: Likewise.
26714         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26715         * rt/clock-compat.c: New file.
26716         * rt/Makefile (librt-routines): Add clock-compat and move
26717         $(clock-routines) to ...
26718         (routines): ... here, new variable.
26719         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26720         Don't add get_clockfreq here.
26721         * rt/Versions (libc: GLIBC_2.17): New version set.
26722         Add clock_* symbols here.
26723         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
26724         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26725         (GLIBC_2.17): Add clock_* symbols.
26726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26727         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26728         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26730         Likewise.
26731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26732         Likewise.
26733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26734         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26735         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26737         * NEWS: Mention the move.
26738
26739         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26740         Use __open, __read, __close rather than their public counterparts.
26741         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26742         (__get_clockfreq_via_cpuinfo): Likewise.
26743         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26744         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26745
26746         * config.h.in (HAVE_IFUNC): New #undef.
26747         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26748         was successful.
26749         * configure: Regenerated.
26750
26751 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
26752
26753         * configure.in: Move READELF check to start of file.
26754         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26755         libc_cv_asm_gnu_indirect_function in the process.
26756         * configure: Regenerated.
26757
26758 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
26759
26760         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26761         send the output to /dev/null.
26762         (libc_cv_cc_with_libunwind): Likewise.
26763         (libc_cv_as_noexecstack): Likewise.
26764         * configure: Regenerate.
26765
26766 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
26767
26768         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26769
26770         * posix/globtest.sh (TMPDIR): Do not set.
26771         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26772         (testout): Likewise.
26773
26774 2012-10-24  Andreas Jaeger  <aj@suse.de>
26775
26776         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26777         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26778         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26779         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26780         posix_fadvise64, posix_fallocate64.
26781
26782         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26783         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26784         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26785         Likewise.
26786         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26787         Likewise.
26788         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26789
26790         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26791         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26792         <bits/fcntl-linux.h>.
26793         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26794
26795         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26796         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26797         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26798         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26799         [__WORDSIZE != 64]: Likewise.
26800
26801 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
26802
26803         * Makeconfig (run-built-tests): New variable.
26804         * Rules [$(cross-compiling) = yes]: Change condition to
26805         [$(run-built-tests) = no].
26806         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26807         to [$(run-built-tests) = yes].
26808         * elf/Makefile [$(cross-compiling) = no]: Likewise
26809         * grp/Makefile [$(cross-compiling) = no]: Likewise.
26810         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26811         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26812         * intl/Makefile [$(cross-compiling) = no]: Likewise.
26813         * io/Makefile [$(cross-compiling) = no]: Likewise.
26814         * libio/Makefile [$(cross-compiling) = no]: Likewise.
26815         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26816         * misc/Makefile [$(cross-compiling) = no]: Likewise.
26817         * posix/Makefile [$(cross-compiling) = no]: Likewise.
26818         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26819         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26820         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26821         * string/Makefile [$(cross-compiling) = no]: Likewise.
26822
26823         * posix/Makefile ($(objpfx)globtest.out): Pass
26824         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26825         $(rtld-installed-name).
26826         * posix/globtest.sh (elf_objpfx): Remove variable.
26827         (rtld_installed_name): Likewise.
26828         (library_path): Likewise.
26829         (run_program_prefix): New variable.  Use for running globtest
26830         binary.
26831
26832 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
26833             Joseph Myers  <joseph@codesourcery.com>
26834
26835         * Makeconfig (host-built-program-cmd): New variable.
26836         * elf/Makefile (tst-stackguard1-ARGS): Use
26837         $(host-built-program-cmd).
26838         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26839         (tst-spawn-ARGS): Likewise.
26840         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26841
26842 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
26843             Jim Blandy  <jimb@codesourcery.com>
26844
26845         * Makeconfig (run-via-rtld-prefix): New variable.
26846         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26847         (built-program-cmd): Likewise.
26848
26849 2012-10-22  Andreas Jaeger  <aj@suse.de>
26850
26851         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26852         __O_RSYNC if it exists, otherwise to O_SYNC.
26853
26854 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
26855             Joseph Myers  <joseph@codesourcery.com>
26856
26857         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26858         /dev/null.
26859         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26860         from /dev/null
26861         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26862         /dev/null.
26863
26864 2012-10-22  Andreas Jaeger  <aj@suse.de>
26865
26866         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26867         Define always.
26868         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26869
26870         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26871         bits/fcntl-linux.h.
26872
26873         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26874         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26875
26876         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26877         to __O_LARGEFILE.
26878         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26879         to __O_LARGEFILE.
26880
26881 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
26882             Joseph Myers  <joseph@codesourcery.com>
26883
26884         * config.make.in (NM): New variable.
26885
26886 2012-10-21  Andreas Jaeger  <aj@suse.de>
26887
26888         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26889         definitions and declarations that are provided by
26890         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26891
26892 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
26893
26894         [BZ #14683]
26895         * elf/Makefile (tests-static): Add tst-leaks1-static.
26896         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26897         ($(objpfx)tst-leaks1-static): New rule.
26898         ($(objpfx)tst-leaks1-static-mem): Likewise.
26899         (tst-leaks1-static-ENV): New macro.
26900         * elf/dl-open.c (dl_open_worker): Check the main application
26901         only if SHARED is defined.
26902         * elf/tst-leaks1-static.c: New file.
26903
26904 2012-10-20  Andreas Jaeger  <aj@suse.de>
26905
26906         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26907         generic values for Linux.
26908         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26909         and declarations that are provided by <bits/fcntl-linux.h> and
26910         include <bits/fcntl-linux.h>.
26911         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26912         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26913
26914 2012-10-20  Roland McGrath  <roland@hack.frob.com>
26915
26916         * io/fcntl.h: Move include of <bits/types.h> to the top and
26917         include it unconditionally.
26918
26919 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
26920
26921         * wcsmbs/Makefile (tests-ifunc): New variable.
26922         (tests): Add $(tests-ifunc).
26923         * wcsmbs/test-wcschr-ifunc.c: New file.
26924         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26925         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26926         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26927         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26928         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26929
26930         * string/Makefile (tests-ifunc): New variable.
26931         (tests): Add $(tests-ifunc).
26932         * string/test-memccpy.c (TEST_NAME): New macro.
26933         * string/test-memchr.c (TEST_NAME): Likewise.
26934         * string/test-memcmp.c (TEST_NAME): Likewise.
26935         * string/test-memcpy.c (TEST_NAME): Likewise.
26936         * string/test-memmem.c (TEST_NAME): Likewise.
26937         * string/test-memmove.c (TEST_NAME): Likewise.
26938         * string/test-memset.c (TEST_NAME): Likewise.
26939         * string/test-rawmemchr.c (TEST_NAME): Likewise.
26940         * string/test-stpcpy.c (TEST_NAME): Likewise.
26941         * string/test-stpncpy.c (TEST_NAME): Likewise.
26942         * string/test-strcasecmp.c (TEST_NAME): Likewise.
26943         * string/test-strcasestr.c (TEST_NAME): Likewise.
26944         * string/test-strcat.c (TEST_NAME): Likewise.
26945         * string/test-strchr.c (TEST_NAME): Likewise.
26946         * string/test-strcmp.c(TEST_NAME): Likewise.
26947         * string/test-strcpy.c (TEST_NAME): Likewise.
26948         * string/test-strcspn.c (TEST_NAME): Likewise.
26949         * string/test-strlen.c (TEST_NAME): Likewise.
26950         * string/test-strncasecmp.c (TEST_NAME): Likewise.
26951         * string/test-strncmp.c (TEST_NAME): Likewise.
26952         * string/test-strncpy.c (TEST_NAME): Likewise.
26953         * string/test-strnlen.c (TEST_NAME): Likewise.
26954         * string/test-strpbrk.c (TEST_NAME): Likewise.
26955         * string/test-strrchr.c (TEST_NAME): Likewise.
26956         * string/test-strspn.c (TEST_NAME): Likewise.
26957         * string/test-strstr.c (TEST_NAME): Likewise.
26958         * string/test-bcopy-ifunc.c: New file.
26959         * string/test-bzero-ifunc.c: Likewise.
26960         * string/test-memccpy-ifunc.c: Likewise.
26961         * string/test-memchr-ifunc.c: Likewise.
26962         * string/test-memcmp-ifunc.c: Likewise.
26963         * string/test-memcpy-ifunc.c: Likewise.
26964         * string/test-memmem-ifunc.c: Likewise.
26965         * string/test-memmove-ifunc.c: Likewise.
26966         * string/test-mempcpy-ifunc.c: Likewise.
26967         * string/test-memset-ifunc.c: Likewise.
26968         * string/test-rawmemchr-ifunc.c: Likewise.
26969         * string/test-stpcpy-ifunc.c: Likewise.
26970         * string/test-stpncpy-ifunc.c: Likewise.
26971         * string/test-strcasecmp-ifunc.c: Likewise.
26972         * string/test-strcasestr-ifunc.c: Likewise.
26973         * string/test-strcat-ifunc.c: Likewise.
26974         * string/test-strchr-ifunc.c: Likewise.
26975         * string/test-strchrnul-ifunc.c: Likewise.
26976         * string/test-strcmp-ifunc.c: Likewise.
26977         * string/test-strcpy-ifunc.c: Likewise.
26978         * string/test-strcspn-ifunc.c: Likewise.
26979         * string/test-strlen-ifunc.c: Likewise.
26980         * string/test-strncasecmp-ifunc.c: Likewise.
26981         * string/test-strncat-ifunc.c: Likewise.
26982         * string/test-strncmp-ifunc.c: Likewise.
26983         * string/test-strncpy-ifunc.c: Likewise.
26984         * string/test-strnlen-ifunc.c: Likewise.
26985         * string/test-strpbrk-ifunc.c: Likewise.
26986         * string/test-strrchr-ifunc.c: Likewise.
26987         * string/test-strspn-ifunc.c: Likewise.
26988         * string/test-strstr-ifunc.c: Likewise.
26989
26990         * debug/Makefile (tests-ifunc): New variable.
26991         (tests): Add $(tests-ifunc).
26992         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26993         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26994         * debug/test-stpcpy_chk-ifunc.c: New file.
26995         * debug/test-strcpy_chk-ifunc.c: Likewise.
26996
26997 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26998
26999         [BZ #13601]
27000         * elf/dl-load.c (open_verify): Retry read if the entire ELF
27001         header is not read in.
27002
27003 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
27004
27005         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
27006         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
27007         directly.  Pass built executable to script as
27008         $(built-program-cmd).
27009         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
27010         $testprogram without using LD_LIBRARY_PATH and $ldso.
27011
27012         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27013         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27014         $(rtld-installed-name).
27015         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27016         (rtld_installed_name): Likewise.
27017         (library_path): Likewise.
27018         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
27019         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27020         $(run-program-prefix) to tst-tables.sh.
27021         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
27022         it to run tst-table-from and tst-table-to.
27023         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27024         Pass it to tst-table.sh.
27025         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27026         $(run-program-prefix) to tst-gettext.sh.
27027         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27028         tst-translit.sh.
27029         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27030         tst-gettext2.sh.
27031         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
27032         to run tst-gettext.
27033         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
27034         to run tst-gettext2.
27035         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
27036         to run tst-translit.
27037         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27038         $(run-program-prefix) to tst-mtrace.sh.
27039         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
27040         to run tst-mtrace.
27041         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27042         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27043         $(rtld-installed-name).
27044         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27045         (rtld_installed_name): Likewise.
27046         (run_program_prefix): New variable.  Use it to run wordexp-test.
27047
27048         * Makeconfig (ARCH): Remove all definitions.
27049         (machine): Likewise.
27050         [ARCH]: Remove conditional code.
27051         [!objdir]: Give error.
27052         [!objdir] (objpfx): Remove.
27053         [!objdir] (common-objpfx): Likewise.
27054         [!objdir] (common-objdir): Likewise.
27055         * configure.in (config_makefile): Remove.  Hardcode Makefile in
27056         AC_CONFIG_FILES call.
27057         * configure: Regenerated.
27058
27059         [BZ #13888]
27060         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27061         or TMPDIR.
27062         (testout): Likewise.
27063
27064         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27065         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27066         $(rtld-installed-name).
27067         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27068         (rtld_installed_name): Likwise.
27069         (runit): Remove function.
27070         (run_getconf): New variable,  Use it for running getconf binary.
27071
27072 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
27073
27074         [BZ #14716]
27075         * string/test-memmem.c (check_result): New function.
27076         (do_one_test): Use it.
27077         (check1): New function.
27078         (test_main): Use it.
27079
27080 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
27081
27082         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27083
27084 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
27085
27086         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27087         (_G_LSEEK64): Likewise.
27088         (_G_MMAP64): Likewise.
27089         (_G_FSTAT64): Likewise.
27090         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27091         (_G_LSEEK64): Likewise.
27092         (_G_MMAP64): Likewise.
27093         (_G_FSTAT64): Likewise.
27094         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27095         unconditional.  Call __mmap64 directly.
27096         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27097         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
27098         __lseek64 directly.
27099         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27100         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
27101         __mmap64 directly.
27102         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27103         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27104         __lseek64 directly.
27105         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27106         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27107         __lseek64 directly.
27108         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27109         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
27110         __lseek64 directly.
27111         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27112         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
27113         __fxstat64 directly.
27114         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27115         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27116         unconditional.
27117         (freopen64) [!_G_OPEN64]: Remove conditional code.
27118         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27119         unconditional.
27120         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27121         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27122         unconditional.
27123         (ftello64) [!_G_LSEEK64]: Remove conditional code.
27124         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27125         unconditional.
27126         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27127         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27128         unconditional.
27129         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27130         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27131         unconditional.
27132         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27133         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27134         unconditional.
27135         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27136         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27137         unconditional.
27138         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27139
27140 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27141
27142         [BZ #12140]
27143         * manual/memory.texi (Malloc Tunable Parameters): Add note
27144         about free list pointers overwriting some perturb bytes.
27145         Wording suggested by Roland McGrath.
27146
27147 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
27148
27149         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27150         (lgamma_test): Likewise.
27151         (tgamma_test): Likewise.
27152
27153 2012-10-16  Florian Weimer  <fweimer@redhat.com>
27154
27155         [BZ #14700]
27156         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27157         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27158
27159 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
27160
27161         * NEWS: Mention BZ #14716.
27162         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27163         when removing AVAILABLE1_USES_J macro.
27164
27165 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
27166
27167         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27168         (__bswap_64): __uint64_t for unsigned 64-bit int.
27169
27170 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
27171
27172         * include/string.h (memmem): Declare libc hidden alias.
27173         * string/memmem.c (memmem): Define libc hidden alias.
27174         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27175         __read, __close instead of open, read, close.
27176
27177 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
27178
27179         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27180         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27181         global and hidden.
27182         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27183         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27184         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27185         Likewise.
27186         (__rawmemchr_sse2): Likewise.
27187         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27188         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27189         (__strchr_sse2): Likewise.
27190         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27191         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27192         (__strcasecmp_sse2): Likewise.
27193         (__strncasecmp_sse2): Likewise.
27194         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27195         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27196         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27197         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27198         (__strrchr_sse2): Likewise.
27199         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27200         ifunc-impl-list.c.
27201         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27202         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27203         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27204         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27205         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27206         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27207         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27208         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27209         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27210         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27211         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27212         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27213         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27214         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27215         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27216         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27217         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27218         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27219         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27220         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27221         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27222         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27223         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27224         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27225         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27226         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27227         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27228         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27229         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27230         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27231
27232         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27233         global and hidden.
27234         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27235         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27236         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27237         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27238         Likewise.
27239         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27240         Likewise.
27241         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27242         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27243         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27244         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27245         ifunc-impl-list.c.
27246         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27247         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27248         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27249         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27250         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27251         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27252         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27253         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27254         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27255         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27256         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27257         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27258         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27259         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27260         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27261         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27262         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27263         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27264         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27265         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27266         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27267         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27268         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27269         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27270         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27271         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27272         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27273         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27274         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27275         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27276         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27277         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27278         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27279         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27280         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27281         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27282         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27283         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27284         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27285         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27286         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27287
27288         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27289         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27290         * include/ifunc-impl-list.h: New file.
27291         * misc/ifunc-impl-list.c: Likewise.
27292         * misc/Makefile (routines): Add ifunc-impl-list.
27293         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27294         * string/test-string.h: Include <ifunc-impl-list.h>.
27295         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27296         TEST_NAME]: New variables.
27297         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27298         are defined.
27299         (test_init): Call __libc_ifunc_impl_list to initialize
27300         func_list if TEST_IFUNC and TEST_NAME are defined.
27301
27302         * string/Makefile (strop-tests): Add bcopy and bzero.
27303         * string/test-bcopy.c: New file.
27304         * string/test-bzero.c: Likewise.
27305         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27306         defined.
27307         * string/test-memset.c: Support bzero test if TEST_BZERO is
27308         defined.
27309         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27310         __libc_memmove.
27311         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27312         __libc_memset.
27313         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27314         of memset.
27315
27316 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
27317
27318         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27319         * configure: Regenerated.
27320
27321         * Makeconfig (+link-static-before-libc): Don't include
27322         $(link-static-libc).
27323
27324         * libio/libio.h (_IO_pos_t): Remove.
27325
27326 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27327
27328         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
27329         McGrath.
27330
27331 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27332
27333         * crypt/crypt-entry.c: Include fips-private.h.
27334         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27335         * crypt/md5c-test.c (main): Tolerate disabled MD5.
27336         * sysdeps/unix/sysv/linux/fips-private.h: New file.
27337         * sysdeps/generic/fips-private.h: New file, dummy fallback.
27338
27339 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27340
27341         * crypt/crypt-private.h: Include stdbool.h.
27342         (_ufc_setup_salt_r): Return bool.
27343         * crypt/crypt-entry.c: Include errno.h.
27344         (__crypt_r): Return NULL with EINVAL for bad salt.
27345         * crypt/crypt_util.c (bad_for_salt): New.
27346         (_ufc_setup_salt_r): Check that salt is long enough and within
27347         the specified alphabet.
27348         * crypt/badsalttest.c: New file.
27349         * crypt/Makefile (tests): Add it.
27350         ($(objpfx)badsalttest): New.
27351
27352 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
27353
27354         * NEWS: Add entry for BZ #14602.
27355
27356 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27357
27358         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27359         type-generic.
27360         * math/libm-test.inc: Update comment listing what functions and
27361         macros are tested.
27362         (isgreater_test): New function.
27363         (isgreaterequal_test): Likewise.
27364         (isless_test): Likewise.
27365         (islessequal_test): Likewise.
27366         (islessgreater_test): Likewise.
27367         (isunordered_test): Likewise.
27368         (main): Call the new functions.
27369
27370 2012-10-09  Roland McGrath  <roland@hack.frob.com>
27371
27372         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27373         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27374         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27375         * sysdeps/i386/configure: Regenerated.
27376         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27377         * sysdeps/mach/configure: Regenerated.
27378         * sysdeps/mach/hurd/configure: Regenerated.
27379         * sysdeps/powerpc/configure: Regenerated.
27380         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27381         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27382         * sysdeps/s390/s390-32/configure: Regenerated.
27383         * sysdeps/s390/s390-64/configure: Regenerated.
27384         * sysdeps/sh/configure: Regenerated.
27385         * sysdeps/sparc/configure: Regenerated.
27386         * sysdeps/unix/sysv/linux/configure: Regenerated.
27387         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27388         * sysdeps/x86_64/configure: Regenerated.
27389
27390         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27391         defined.  Don't check if MAP is NULL.
27392
27393 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27394
27395         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27396         (_G_stat64): Likewise.
27397         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27398         (_G_stat64): Likewise.
27399         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27400         instead of struct _G_stat64.
27401         * libio/fileops.c (mmap_remap_check): Likewise.
27402         (decide_maybe_mmap): Likewise.
27403         (_IO_new_file_seekoff): Likewise.
27404         (_IO_file_stat): Likewise.
27405         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27406         _G_off64_t.
27407         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27408         instead of struct _G_stat64.
27409         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27410
27411 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
27412
27413         [BZ #14602]
27414         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27415         Replace with ...
27416         (CHECK_EOL): New macro.
27417         (two_way_short_needle): Check beginning of haystack for EOL.  Use
27418         CHECK_EOL.
27419         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27420         Replace with CHECK_EOL.
27421         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27422         Replace with CHECK_EOL.
27423
27424 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
27425
27426         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27427         type-generic.
27428         * math/libm-test.inc: Update comment listing what functions and
27429         macros are tested.
27430         (finite_test): New function.
27431         (isinf_test): Likewise.
27432         (isnan_test): Likewise.
27433         (fpclassify_test): Test subnormal input.
27434         (isfinite_test): Likewise.
27435         (isnormal_test): Likewise.
27436         (main): Call the new functions.
27437
27438 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
27439
27440         [BZ #14660]
27441         * Makerules (%.dynsym): Force C locale when running
27442         $(OBJDUMP) --dynamic-syms.
27443
27444 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
27445
27446         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27447         <stdint.h>.
27448
27449 2012-10-06  David S. Miller  <davem@davemloft.net>
27450
27451         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27452         upper 32-bits of the length value in %o2 since we use branch-on-register
27453         tests which consider the entire 64-bit register.
27454
27455 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
27456
27457         * string/test-strstr.c (check2): Add a test for page boundary.
27458
27459 2012-10-05  David S. Miller  <davem@davemloft.net>
27460
27461         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27462         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27463         file.
27464         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27465         sysdep_routines.
27466         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27467         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27468         and bzero when HWCAP_SPARC_CRYPTO is present.
27469
27470 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
27471
27472         [BZ #14602]
27473         * string/test-strstr.c (check2): New function.
27474         (test_main): Call check2.
27475
27476         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27477         and bug-strchr1.
27478         * string/bug-strcasestr1.c (do_test): Moved to ...
27479         * string/test-strcasestr.c (check1): Here.  New function.
27480         (do_one_test): Break out result checking code into ...
27481         (check_result): This.  New function.
27482         (do_one_test): Call check_result.
27483         (test_main): Call check1.
27484         * string/bug-strchr1.c (do_test): Moved to ...
27485         * string/test-strchr.c (check1): Here.  New function.
27486         (do_one_test): Break out result checking code into ...
27487         (check_result): This.  New function.
27488         (do_one_test): Call check_result.
27489         (test_main): Call check1.
27490         * string/bug-strstr1.c (main): Moved to ...
27491         * string/test-strstr.c (check1): Here.  New function.
27492         (do_one_test): Break out result checking code into ...
27493         (check_result): This.  New function.
27494         (do_one_test): Call check_result.
27495         (test_main): Call check1.
27496         * string/bug-strcasestr1.c: Removed.
27497         * string/bug-strchr1.c: Likewise.
27498         * string/bug-strstr1.c: Likewise.
27499
27500         * elf/Makefile (dl-routines): Add hwcaps.
27501         * elf/dl-support.c (_dl_important_hwcaps): Removed.
27502         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27503         (_dl_important_hwcaps): Moved to ...
27504         * elf/dl-hwcaps.c: Here.  New file.
27505         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27506
27507         [BZ #14557]
27508         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27509         if IS_IN_rtld isn't defined.
27510
27511         * elf/dl-support.c (_dl_sysinfo_map): New.
27512         Include "get-dynamic-info.h" and "setup-vdso.h".
27513         (_dl_non_dynamic_init): Call setup_vdso.
27514         * elf/dynamic-link.h: Don't include <assert.h>.
27515         (elf_get_dynamic_info): Moved to ...
27516         * elf/get-dynamic-info.h: Here.  New file.
27517         * elf/dynamic-link.h: Include "get-dynamic-info.h".
27518         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27519         * elf/setup-vdso.h: Here.  New file.
27520         * elf/rtld.c: Include "setup-vdso.h".
27521         (dl_main): Call setup_vdso.
27522
27523 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
27524
27525         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27526         creal in comment listing functions tested.  List finite, isinf,
27527         isnan, isless, islessequal, isgreater, isgreaterequal,
27528         islessgreater, isunordered, lgamma_r and pow10 as functions and
27529         macros not tested.  Mention which functions not tested are aliases
27530         for other functions.  Fix typo.  Note that signs of NaNs are not
27531         tested.
27532
27533         * scripts/config.guess: Update from config.git.
27534         * scripts/config.sub: Likewise.
27535
27536 2012-10-04  Roland McGrath  <roland@hack.frob.com>
27537
27538         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27539         * misc/madvise.c (madvise): Renamed to __madvise.
27540         Make madvise a weak alias.
27541         * include/sys/mman.h: Declare __madvise.
27542         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27543         * sysdeps/unix/syscalls.list
27544         (madvise): Make __madvise the strong name, and madvise a weak alias.
27545         * sysdeps/unix/sysv/linux/syscalls.list
27546         (madvise, mmap): Remove redundant entries.
27547         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27548         * malloc/malloc.c (mtrim): Likewise.
27549         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27550
27551 2012-10-03  Roland McGrath  <roland@hack.frob.com>
27552
27553         * sysdeps/mach/hurd/dl-cache.c: File removed.
27554         * config.h.in (USE_LDCONFIG): New #undef.
27555         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27556         * configure: Regenerated.
27557         * elf/Makefile (dl-routines): Add dl-cache only under
27558         [$(use-ldconfig) = yes].
27559         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27560         cache on [USE_LDCONFIG].
27561         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27562         [USE_LDCONFIG].
27563         * elf/rtld.c (dl_main): Likewise.
27564
27565 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
27566
27567         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27568         _SC_LEVEL4_CACHE_LINESIZE.
27569
27570 2012-10-03  Roland McGrath  <roland@hack.frob.com>
27571
27572         * sysdeps/unix/bsd/confstr.h: File removed.
27573
27574 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
27575
27576         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27577         sys/sdt-config.h.
27578
27579 2012-10-02  Roland McGrath  <roland@hack.frob.com>
27580
27581         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27582         Make 'mapoff' field ElfW(Off) rather than off_t.
27583
27584 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
27585
27586         * nscd/Makefile: Remove nscd-cflags and all its users.
27587         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27588         (CFLAGS-nonlib): Add compiler flags for nscd modules.
27589
27590         [BZ #10631]
27591         * malloc.c (malloc_printerr): Clarify error message.
27592
27593 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
27594
27595         [BZ #14648]
27596         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27597         Set bit_FMA_Usable if FMA is supported.
27598         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27599         macro.
27600         (bit_FMA4_Usable): Updated.
27601         (index_FMA_Usable): New macro.
27602         (CPUID_FMA): Likewise
27603         (HAS_FMA): Defined with bit_FMA_Usable.
27604
27605 2012-10-01  Roland McGrath  <roland@hack.frob.com>
27606
27607         * bits/types.h (__swblk_t): Type removed.
27608         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27609         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27610         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27611         (__SWBLK_T_TYPE): Likewise.
27612         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27613         (__SWBLK_T_TYPE): Likewise.
27614         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27615         (__SWBLK_T_TYPE): Likewise.
27616         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27617         (__SWBLK_T_TYPE): Likewise.
27618
27619 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
27620             Honza Horak <hhorak@redhat.com>
27621
27622         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27623         (xdr_mapname): Use YPMAXMAP as maxsize.
27624         (xdr_peername): Use YPMAXPEER as maxsize.
27625         (xdr_keydat): Use YPAXRECORD as maxsize.
27626         (xdr_valdat): Use YPMAXRECORD as maxsize.
27627
27628 2012-10-01  Roland McGrath  <roland@hack.frob.com>
27629
27630         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27631
27632         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27633         * csu/init-first.c: ... here.
27634         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27635         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27636         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27637         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27638         * sysdeps/i386/init-first.c: File removed.
27639         * sysdeps/sh/init-first.c: File removed.
27640
27641 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
27642
27643         [BZ #14645]
27644         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27645         if x * y might underflow to zero and z is zero.
27646         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27647         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27648         * math/libm-test.inc (min_subnorm_value): New variable.
27649         (fma_test): Add more tests.
27650         (fma_test_towardzero): Likewise.
27651         (fma_test_downward): Likewise
27652         (fma_test_upward): Likewise.
27653         (initialize): Set min_subnorm_value.
27654
27655 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
27656
27657         [BZ #14638]
27658         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27659         0 + 0.
27660         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27661         mode for addition resulting in exact zero.
27662         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27663         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27664         exact 0 + 0.
27665         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27666         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27667         * math/libm-test.inc (fma_test): Add more tests.
27668         (fma_test_towardzero): New function.
27669         (fma_test_downward): Likewise.
27670         (fma_test_upward): Likewise.
27671         (main): Call the new functions.
27672
27673 2012-09-28  David S. Miller  <davem@davemloft.net>
27674
27675         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27676
27677 2012-09-28  Roland McGrath  <roland@hack.frob.com>
27678
27679         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27680         instead of SIGALRM.
27681
27682         * sysdeps/gnu/_G_config.h: Moved to ...
27683         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27684         * sysdeps/mach/hurd/_G_config.h: Moved to ...
27685         * sysdeps/generic/_G_config.h: ... here.
27686
27687         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
27688
27689         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27690
27691         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27692         Conditionalize target on [libnss_test1.so-version].
27693
27694         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27695
27696         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27697         (elfobjdir): Move out of conditionals.
27698
27699         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27700         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27701         (__nss_lookup_function): Conditionalize label remove_from_tree on
27702         [!DO_STATIC_NSS || SHARED], matching its only use.
27703
27704 2012-09-28  David S. Miller  <davem@davemloft.net>
27705
27706         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27707         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27708         file.
27709         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27710         sysdep_routines.
27711         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27712         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27713         when HWCAP_SPARC_CRYPTO is present.
27714
27715 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27716
27717         * io/tst-mknodat.c: Create a FIFO instead of a socket.
27718
27719 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
27720
27721         [BZ #6530]
27722         * stdio-common/vfprintf.c (process_string_arg): Revert
27723         2000-07-22 change.
27724
27725 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
27726
27727         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27728         for testcase.
27729         * stdio-common/tst-sprintf.c: Include <locale.h>
27730         (main): Test sprintf's handling of incomplete multibyte
27731         characters.
27732
27733 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
27734
27735         * elf/dl-runtime.c (VERSYMIDX): Removed.
27736         * elf/dl-version.c (VERSYMIDX): Likewise.
27737         * elf/do-rel.h (VERSYMIDX): Likewise.
27738         (VALIDX): Likewise.
27739         * elf/dynamic-link.h (VERSYMIDX): Likewise.
27740         * elf/rtld.c (VALIDX): Likewise.
27741         (ADDRIDX): Likewise.
27742         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27743         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27744         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27745         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27746         (VALIDX): Likewise.
27747         (ADDRIDX): Likewise.
27748
27749 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27750
27751         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27752
27753 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
27754
27755         [BZ #11438]
27756         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27757         to global scope.
27758         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27759         addresses are in the same scope as 192.0.2/24.
27760         * posix/gai.conf: Document new scope table defaults.
27761
27762 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27763
27764         [BZ #5298]
27765         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27766         for ftell.  Compute offsets from write pointers instead.
27767         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27768
27769 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27770
27771         [BZ #14543]
27772         * libio/Makefile (tests): New test case tst-fseek.
27773         * libio/tst-fseek.c: New test case to verify that fseek/ftell
27774         combination works in wide mode.
27775         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27776         state when the external buffer state changes.
27777
27778 2012-09-27  David S. Miller  <davem@davemloft.net>
27779
27780         [BZ #14376]
27781         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27782         pass reloc->r_addend in as the 'high' argument to
27783         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27784
27785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27786
27787 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27788
27789         * rt/tst-aio2.c: Include <pthread.h>.
27790         * rt/tst-aio3.c: Likewise.
27791
27792 2012-09-27  Steve Ellcey  <sellcey@mips.com>
27793
27794         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27795
27796 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
27797
27798         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27799         contents on [SHARED].
27800
27801 2012-09-26  Marek Polacek  <polacek@redhat.com>
27802
27803         [BZ #14530]
27804         [BZ #13741]
27805         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27806         for C++ and GCC <4.3 as well as for non GCC compilers.
27807
27808 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
27809
27810         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27811
27812 2012-09-25  Roland McGrath  <roland@hack.frob.com>
27813
27814         * Makefile.in (all, install): Declare with .PHONY.
27815         Reported by Michael Hope <michael.hope@linaro.org>.
27816
27817 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27818
27819         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27820         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27821         system header.
27822         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27823         Likewise.
27824         (sydep_routines): Add the new and the internal functions.
27825         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27826         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27828         (GLIBC_2.17): Add the new function.
27829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27830         (GLIBC_2.17): Likewise.
27831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27832         (GLIBC_2.17): Likewise.
27833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27834         (GLIBC_2.17): Likewise.
27835         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27836
27837 2012-09-25  Alan Modra  <amodra@gmail.com>
27838
27839         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27840         Add release barrier before setting once_control to say
27841         initialisation is done.  Add hints on lwarx.  Use macro in
27842         place of isync.
27843         (clear_once_control): Add release barrier.
27844
27845 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
27846
27847         [BZ #13629]
27848         * math/s_clog.c (__clog): Handle more values close to |z| = 1
27849         specially.
27850         * math/s_clog10.c (__clog10): Likewise.
27851         * math/s_clog10f.c (__clog10f): Likewise.
27852         * math/s_clog10l.c (__clog10l): Likewise.
27853         * math/s_clogf.c (__clogf): Likewise.
27854         * math/s_clogl.c (__clogl): Likewise.
27855         * math/Makefile (libm-calls): Add x2y2m1.
27856         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27857         (__x2y2m1): Likewise.
27858         (__x2y2m1l): Likewise.
27859         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27860         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27861         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27862         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27863         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27864         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27865         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27866         * sysdeps/i386/fpu/libm-test-ulps: Update.
27867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27868
27869         [BZ #14621]
27870         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27871         int as type of variable DEPTH.
27872         (glob): Use size_t instead of int as type of variables NEWCOUNT
27873         and OLD_PATHC.
27874
27875 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27876
27877         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27878         Add s_sincosf-sse2.
27879         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27880         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27881         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27882         macros for using routine as __sincosf_ia32.
27883         Use macro for function declaration and weak_alias.
27884         * sysdeps/i386/fpu/libm-test-ulps: Update.
27885
27886         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27887         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27888
27889         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27890         subnormal argument.
27891         * math/s_cexpf.c (__cexpf): Likewise.
27892         * math/s_csinf.c (__csinf): Likewise.
27893         * math/s_csinhf.c (__csinhf): Likewise.
27894         * math/s_ctanf.c (__ctanf): Likewise.
27895         * math/s_ctanhf.c (__ctanhf): Likewise.
27896         * math/s_ccosh.c (__ccoshf): Likewise.
27897         * math/s_cexp.c (__cexpl): Likewise.
27898         * math/s_csin.c (__csin): Likewise.
27899         * math/s_csinh.c (__csinh): Likewise.
27900         * math/s_ctan.c (__ctan): Likewise.
27901         * math/s_ctanh.c (ctanh): Likewise.
27902         * math/s_ccoshl.c (__ccoshl): Likewise.
27903         * math/s_cexpl.c (__cexpl): Likewise.
27904         * math/s_csinl.c (__csinl): Likewise.
27905         * math/s_csinhl.c (__csinhl): Likewise.
27906         * math/s_ctanl.c (__ctanl): Likewise.
27907         * math/s_ctanhl.c (__ctanhl): Likewise.
27908
27909 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
27910
27911         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27912         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27913         (_IO_off_t): Define to __off_t, not _G_off_t.
27914         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27915         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27916         (_IO_wint_t): Define to wint_t, not _G_wint_t.
27917         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27918         type of __dummy and __dummy2 fields.
27919         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27920         (_G_ssize_t): Likewise.
27921         (_G_off_t): Likewise.
27922         (_G_pid_t): Likewise.
27923         (_G_uid_t): Likewise.
27924         (_G_wchar_t): Likewise.
27925         (_G_wint_t): Likewise.
27926         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27927         (_G_ssize_t): Likewise.
27928         (_G_off_t): Likewise.
27929         (_G_pid_t): Likewise.
27930         (_G_uid_t): Likewise.
27931         (_G_wchar_t): Likewise.
27932         (_G_wint_t): Likewise.
27933         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27934         (_G_ssize_t): Likewise.
27935         (_G_off_t): Likewise.
27936         (_G_pid_t): Likewise.
27937         (_G_uid_t): Likewise.
27938         (_G_wchar_t): Likewise.
27939         (_G_wint_t): Likewise.
27940
27941 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27942
27943         * malloc/arena.c: Include malloc-sysdep.h.
27944         (shrink_heap): Use check_may_shrink_heap to decide if madvise
27945         is sufficient to shrink the heap or an unmap is needed.
27946         * sysdeps/generic/malloc-sysdep.h: New file.  Define
27947         new function check_may_shrink_heap.
27948         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
27949         new function check_may_shrink_heap.
27950
27951 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27952
27953         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27954         comments.
27955
27956 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
27957
27958         * catgets/test-gencat.sh: Add "set -e".
27959         * elf/tst-pathopt.sh: Likewise.
27960         * grp/tst_fgetgrent.sh: Likewise.
27961         * iconvdata/run-iconv-test.sh: Likewise.
27962         * intl/tst-gettext.sh: Likewise.
27963         * intl/tst-gettext2.sh: Likewise.
27964         * intl/tst-gettext4.sh: Likewise.
27965         * intl/tst-gettext6.sh: Likewise.
27966         * intl/tst-translit.sh: Likewise.
27967         * io/ftwtest-sh: Likewise.
27968         * libio/test-freopen.sh: Likewise.
27969         * malloc/tst-mtrace.sh: Likewise.
27970         * posix/globtest.sh: Likewise.
27971         * posix/tst-getconf.sh: Likewise.
27972         * posix/wordexp-tst.sh: Likewise.
27973         * stdio-common/tst-printf.sh: Likewise.
27974         * stdio-common/tst-unbputc.sh: Likewise.
27975         * stdlib/tst-fmtmsg.sh: Likewise.
27976         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27977         * catgets/Makefile: Do not specify -e option when running
27978         testsuite shell scripts.
27979         * elf/Makefile: Likewise.
27980         * grp/Makefile: Likewise.
27981         * iconvdata/Makefile: Likewise.
27982         * intl/Makefile: Likewise.
27983         * io/Makefile: Likewise.
27984         * libio/Makefile: Likewise.
27985         * malloc/Makefile: Likewise.
27986         * posix/Makefile: Likewise.
27987         * stdio-common/Makefile: Likewise.
27988         * stdlib/Makefile: Likewise.
27989         * sysdeps/x86_64/Makefile: Likewise.
27990
27991         * io/ftwtest-sh: Add copyright header.
27992         * posix/globtest.sh: Likewise.
27993         * posix/tst-getconf.sh: Likewise.
27994         * posix/wordexp-tst.sh: Likewise.
27995         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27996
27997 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
27998
27999         [BZ #13679]
28000         * Makeconfig (+link): Defined as $(+link-static) if
28001         $(build-shared) isn't yes.
28002         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28003         isn't yes.
28004         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28005
28006         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28007
28008         [BZ #14562]
28009         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28010         new chunk size with MALLOC_ALIGN_MASK.
28011
28012 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
28013
28014         [BZ #5044]
28015         * stdio-common/printf_fphex.c: Include <stdbool.h> and
28016         <rounding-mode.h>.
28017         (__printf_fphex): Determine rounding using get_rounding_mode and
28018         round_away.
28019         * stdio-common/tst-printf-round.c (struct hex_test): New
28020         structure.
28021         (hex_tests): New variable.
28022         (test_hex_in_one_mode): New function.
28023         (do_test): Also run tests for hex float output.
28024
28025 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
28026
28027         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28028         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28029         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28030         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28031         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28032         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28033         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28034         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28035
28036 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
28037
28038         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28039         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28040         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28041         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28042
28043 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
28044
28045         [BZ #14579]
28046         * elf/rtld.c (dl_main): Limit the check for self loading to normal
28047         mode only.
28048         * elf/tst-rtld-load-self.sh: New test.
28049         * elf/Makefile: Run it.
28050
28051 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
28052
28053         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28054         (tst-writev-ENV): Remove.
28055         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28056
28057 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
28058
28059         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28060
28061 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
28062
28063         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28064         unconditional.
28065         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28066         Likewise.
28067         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28068         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28069         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28070         Likewise.
28071
28072 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
28073
28074         [BZ #14587]
28075         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28076         * config.make.in (have-cpp-asm-debuginfo): Removed.
28077         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28078         * configure: Regenerated.
28079
28080 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
28081
28082         [BZ #5044]
28083         * stdio-common/printf_fp.c: Include <stdbool.h> and
28084         <rounding-mode.h>.
28085         (___printf_fp): Determine rounding using get_rounding_mode and
28086         round_away.
28087         * stdio-common/tst-printf-round.c: New file.
28088         * stdio-common/Makefile (tests): Add tst-printf-round.
28089         (link-libm): New variable.
28090         ($(objpfx)tst-printf-round): Depend in $(link-libm).
28091
28092 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
28093
28094         [BZ #14576]
28095         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28096         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28097         Likewise.
28098         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28099         Likewise.
28100
28101 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
28102
28103         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28104         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28105         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28106         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28107
28108 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
28109
28110         [BZ #14518]
28111         * include/rounding-mode.h: New file.
28112         * sysdeps/generic/get-rounding-mode.h: Likewise.
28113         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28114         * stdlib/strtod_l.c: Include <rounding-mode.h>.
28115         (MAX_VALUE): New macro.
28116         (MIN_VALUE): Likewise.
28117         (overflow_value): New function.
28118         (underflow_value): Likewise.
28119         (round_and_return): Use overflow_value and underflow_value to
28120         determine return values in overflow and underflow cases.  Use
28121         round_away to determine rounding depending on rounding mode.
28122         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28123         determine return values in overflow and underflow cases.
28124         * stdlib/tst-strtod-round.c: Include <fenv.h>.
28125         (struct test_results): New structure.
28126         (struct test): Use struct test_results to store expected results
28127         for all rounding modes.
28128         (TEST): Include expected results for all rounding modes.
28129         (test_in_one_mode): New function.
28130         (do_test): Use test_in_one_mode to compute and check results.
28131         Check results for all rounding modes.
28132         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28133         $(link-libm).
28134
28135 2012-12-09  Allan McRae  <allan@archlinux.org>
28136
28137         * sysdeps/i386/fpu/libm-test-ulps: Update
28138
28139 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
28140
28141         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28142         (_G_int32_t): Likewise.
28143         (_G_uint16_t): Likewise.
28144         (_G_uint32_t): Likewise.
28145         (_G_HAVE_BOOL): Likewise.
28146         (_G_HAVE_ATEXIT): Likewise.
28147         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28148         (_G_HAVE_IO_FILE_OPEN): Likewise.
28149         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28150         (_G_int32_t): Likewise.
28151         (_G_uint16_t): Likewise.
28152         (_G_uint32_t): Likewise.
28153         (_G_HAVE_BOOL): Likewise.
28154         (_G_HAVE_ATEXIT): Likewise.
28155         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28156         (_G_HAVE_IO_FILE_OPEN): Likewise.
28157         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28158         (_G_int32_t): Likewise.
28159         (_G_uint16_t): Likewise.
28160         (_G_uint32_t): Likewise.
28161         (_G_HAVE_BOOL): Likewise.
28162         (_G_HAVE_ATEXIT): Likewise.
28163         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28164         (_G_HAVE_IO_FILE_OPEN): Likewise.
28165
28166 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
28167
28168         * csu/libc-tls.c: Update copyright years.
28169
28170 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
28171
28172         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28173         [!_G_USING_THUNKS]: Remove conditional code.
28174         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28175         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28176
28177         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28178         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28179         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28180         (_G_VTABLE_LABEL_PREFIX): Likewise.
28181         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28182         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28183         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28184         (_G_VTABLE_LABEL_PREFIX): Likewise.
28185         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28186         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28187         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28188         (_G_VTABLE_LABEL_PREFIX): Likewise.
28189         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28190
28191 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
28192
28193         * libio/Makefile: Include ../Makeconfig before tests.
28194         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28195         only if $(build-shared) is yes.
28196
28197         * iconv/gconv_db.c: Update copyright years.
28198
28199 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28200
28201         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28202         unwind info if defined PIC. Fix special cases description.
28203         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28204
28205         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28206         DP_HI_MASK entry.
28207         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28208
28209 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
28210
28211         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28212
28213         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28214         is NULL.
28215
28216         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28217         (LDLIBS-tst-chk4): This.
28218         (LDFLAGS-tst-chk5): Renamed to ...
28219         (LDLIBS-tst-chk5): This.
28220         (LDFLAGS-tst-chk6): Renamed to ...
28221         (LDLIBS-tst-chk6): This.
28222         (LDFLAGS-tst-lfschk4): Renamed to ...
28223         (LDLIBS-tst-lfschk4): This.
28224         (LDFLAGS-tst-lfschk5): Renamed to ...
28225         (LDLIBS-tst-lfschk5): This.
28226         (LDFLAGS-tst-lfschk6): Renamed to ...
28227         (LDLIBS-tst-lfschk6): This.
28228
28229         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28230         on $(common-objpfx)soversions.mk.
28231
28232 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
28233
28234         [BZ #10014]
28235         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28236         example host name.
28237
28238 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28239
28240         * malloc/arena.c (arena_get_retry): New function that gets
28241         another arena for the caller to try its request on.
28242         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28243         current arena cannot fulfill the request.
28244         (__libc_memalign): Likewise.
28245         (__libc_memalign): Likewise.
28246         (__libc_pvalloc): Likewise.
28247         (__libc_calloc): Likewise.
28248
28249 2012-09-05  John Tobey  <john.tobey@gmail.com>
28250
28251         [BZ #13542]
28252         * manual/arith.texi (Operations on Complex): Fix description
28253         of carg branch cut.
28254
28255 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28256
28257         [BZ #10014]
28258         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28259         host name.
28260
28261         [BZ #10038]
28262         * manual/memory.texi (Memory): Make order of menu items match
28263         order of sections.
28264
28265 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28266
28267         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28268         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
28269         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28270
28271 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28272
28273         * csu/libc-tls.c (static_dtv): Renamed to ...
28274         (_dl_static_dtv): This.  Make it global.
28275         (_dl_initial_dtv): Removed.
28276         (__libc_setup_tls): Updated.
28277         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28278         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28279         DL_INITIAL_DTV.
28280
28281 2012-09-06  Petr Machata  <pmachata@redhat.com>
28282
28283         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28284         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28285         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28286         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28287
28288 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28289
28290         [BZ #14545]
28291         * csu/libc-tls.c (_dl_initial_dtv): New variable.
28292         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28293         freeing dtv[-1].
28294
28295 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28296
28297         [BZ #14544]
28298         * Makeconfig (link-static-before-libc): Replace $(+prector)
28299         with $(+prectorT).
28300         (link-static-after-libc): Replace $(+postctor) with
28301         $(+postctorT).
28302         (link-bounded): Replace $(+prector)/$(+postctor) with
28303         $(+prectorT)/$(+postctorT).
28304         (+prectorT): New macro.
28305         (+postctorT): Likewise.
28306
28307 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28308
28309         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28310         (round_str): Handle values above the maximum for IBM long double
28311         as inexact.
28312         * stdlib/tst-strtod-round.c (tests): Regenerated.
28313
28314 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28315
28316         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28317         assembler flag.
28318         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28319         zarch_nohighgprs around the zarch optimized routines.
28320         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28321         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28322         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28323         for zarch.
28324
28325 2012-09-05  David S. Miller  <davem@davemloft.net>
28326
28327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28328
28329         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28330         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28331         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28332         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28333         entries.
28334
28335 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28336
28337         * malloc/arena.c: Fold copyright years.
28338         * malloc/mcheck.c, malloc/memusage.c: Likewise.
28339
28340 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28341
28342         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28343
28344 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28345
28346         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
28347
28348 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28349
28350         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28351         change internal state upon failure.
28352
28353 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28354
28355         * malloc/mcheck.c (mcheck_check_all): Fix typo.
28356         * malloc/memusage.c (mmap): Likewise.
28357         (mmap64, mremap): Likewise.  Adjust name in comment.
28358
28359 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28360
28361         * libio/fileops.c: Fix typos in comments.
28362         * libio/oldfileops.c: Likewise.
28363         * libio/wfileops.c: Likewise.
28364
28365 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28366
28367         [BZ #1349]
28368         * malloc/Makefile (tests): Add tst-malloc-usable test case.
28369         (tst-malloc-usable-ENV): Set environment for test case.
28370         * malloc/hooks.c (malloc_check_get_size): New function to get
28371         requested size.
28372         * malloc/malloc.c (musable): Use malloc_check_get_size.
28373         * malloc/tst-malloc-usable.c: New test case.
28374
28375 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28376
28377         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28378
28379 2012-09-05  Allan McRae  <allan@archlinux.org>
28380
28381         [BZ #13966]
28382         * configure.in (CXX_SYSINCLUDES): Use compiler output to
28383         determine header location.
28384         * configure: Regenerated.
28385
28386 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28387
28388         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28389         float format.
28390         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28391         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28392         format.
28393         (test): Regenerate.
28394
28395 2012-09-04  David S. Miller  <davem@davemloft.net>
28396
28397         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28398         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28399         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28400
28401 2012-09-04  Florian Weimer  <fweimer@redhat.com>
28402
28403         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28404         failures.
28405
28406         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28407
28408 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
28409
28410         [BZ #9914]
28411         * libio/iogetdelim.c: Include <limits.h>.
28412         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28413         + len + 1 would overflow.
28414
28415 2012-09-03  Andreas Jaeger  <aj@suse.de>
28416
28417         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28418         * sysdeps/i386/fpu/libm-test-ulps: Update.
28419
28420 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28421
28422         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28423         Add s_sinf-sse2, s_conf-sse2.
28424
28425         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28426         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28427         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28428         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28429
28430         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28431         for using routine as __sinf_ia32.
28432         Use macro for function declaration and weak_alias.
28433         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28434         for using routine as __cosf_ia32.
28435         Use macro for function declaration and weak_alias.
28436
28437         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28438         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28439
28440         * sysdeps/x86_64/fpu/s_sinf.S: New file.
28441         * sysdeps/x86_64/fpu/s_cosf.S: New file.
28442         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28443
28444         * math/libm-test.inc (cos_test): Add more test cases.
28445         (sin_test): Likewise.
28446         (sincos_test): Likewise.
28447
28448 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28449
28450         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28451         (IFUNC_RESOLVE): Make pointers to the specialized implementations
28452         hidden.
28453         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28454
28455 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
28456
28457         [BZ #14538]
28458         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28459         first element of the GOT.
28460         (elf_machine_load_address): Return the difference between
28461         the runtime address of _DYNAMIC and elf_machine_dynamic ().
28462
28463 2012-09-01  Allan McRae  <allan@archlinux.org>
28464
28465         [BZ #13412]
28466         * configure.in (AWK): Require gawk version 3.0 or later.
28467         * configure: Regenerated.
28468
28469 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
28470
28471         * sysdeps/unix/sysv/linux/kernel-features.h
28472         (__ASSUME_POSIX_CPU_TIMERS): Remove.
28473         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28474         [__NR_clock_getres]: Make code unconditional.
28475         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28476         (clock_getcpuclockid): Remove code left unreachable by removal of
28477         conditionals.
28478         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28479         code unconditional.
28480         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28481         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28482         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28483         Make code unconditional.
28484         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28485         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28486         * sysdeps/unix/sysv/linux/clock_settime.c
28487         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28488         conditional code.
28489         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28490         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28491
28492 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
28493
28494         [BZ #14476]
28495         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28496         scripts/test-installation.pl.
28497
28498         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28499         and $ld_so_version if it is set.
28500
28501 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28502
28503         [BZ #14516]
28504         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28505         failure if reading from procfs failed.
28506         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28507
28508 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
28509
28510         * sysdeps/unix/sysv/linux/kernel-features.h
28511         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28512         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28513         Remove conditional code.
28514         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28515         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28516         Remove conditional code.
28517         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28518         * sysdeps/unix/sysv/linux/i386/fxstat.c
28519         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28520         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28521         * sysdeps/unix/sysv/linux/i386/fxstatat.c
28522         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28523         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28524         * sysdeps/unix/sysv/linux/i386/lxstat.c
28525         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28526         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28527         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28528         Remove conditional code.
28529         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28530         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28531         Remove conditional code.
28532         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28533         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28534         <kernel-features.h>.
28535         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28536         Remove.
28537         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28538         Remove conditional code.
28539         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28540         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28541         Remove conditional.
28542
28543 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
28544
28545         [BZ #5400]
28546         * NEWS: Add fixed bug number.
28547
28548 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
28549
28550         [BZ #14519]
28551         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28552         underflowing exponent in case of negative sign.
28553         * stdlib/tst-strtod-round-data: Add more tests.
28554         * stdlib/tst-strtod-round.c (tests): Regenerated.
28555
28556         [BZ #3479]
28557         * stdlib/strtod_l.c (NDIG): Remove.
28558         (HEXNDIG): Likewise.
28559         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28560         smallest representable value.
28561         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28562         lie within an exact representation of 1/2 ulp of the result.
28563         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28564         unconditionally.
28565         (TENS_P9_IDX): Define unconditionally.
28566         (TENS_P9_SIZE): Likewise.
28567         (TENS_P10_IDX): Likewise.
28568         (TENS_P10_SIZE): Likewise.
28569         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28570         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28571         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28572         entries for 10^2^13 and 10^2^14.
28573         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28574         (TENS_P13_IDX): Define.
28575         (TENS_P13_SIZE): Likewise.
28576         (TENS_P14_IDX): Likewise.
28577         (TENS_P14_SIZE): Likewise.
28578         (_fpioconst_pow10): Change array size to
28579         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
28580         unconditional.
28581         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28582         1024]: Add entries for 10^2^13 and 10^2^14.
28583         [LAST_POW10 > _LAST_POW10]: Remove #error.
28584         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28585         (_fpioconst_pow10): Change array size to
28586         FPIOCONST_POW10_ARRAY_SIZE.
28587         * stdlib/gen-fpioconst.c: New file.
28588         * stdlib/gen-tst-strtod-round.c: Likewise.
28589         * stdlib/tst-strtod-round-data: Likewise.
28590         * stdlib/tst-strtod-round.c: Likewise.
28591         * stdlib/Makefile (tests): Add tst-strtod-round.
28592
28593         [BZ #14459]
28594         * stdlib/strtod_l.c: Include <stdint.h>.
28595         (NDEBUG): Do not define.
28596         (round_and_return): Change EXPONENT parameter to type intmax_t.
28597         Rearrange calculations to avoid internal overflow possibilities.
28598         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28599         Rearrange calculations to avoid internal overflow possibilities.
28600         Assert that number fits inside MPNSIZE limbs.
28601         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28602         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
28603         calculations and add assertions to avoid internal overflow
28604         possibilities.  Add casts to avoid signed/unsigned operations.
28605         * stdlib/tst-strtod-overflow.c: New file.
28606         * stdlib/Makefile (tests): Add tst-strtod-overflow.
28607
28608 2012-08-25  Marek Polacek  <polacek@redhat.com>
28609
28610         * time/time.h: Fix some typos in comments.
28611
28612 2012-08-23  Roland McGrath  <roland@hack.frob.com>
28613
28614         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28615         * posix/tst-rfc3484-2.c: Likewise.
28616         * posix/tst-rfc3484-3.c: Likewise.
28617
28618 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
28619
28620         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28621         (EF_ARM_ABI_FLOAT_HARD): Likewise.
28622
28623 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
28624
28625         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28626         #include of fxstatat64.c.
28627
28628 2012-08-22  Roland McGrath  <roland@hack.frob.com>
28629
28630         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28631         * shadow/getspent_r.c: Likewise.
28632         * shadow/getspnam.c: Likewise.
28633         * shadow/getspnam_r.c: Likewise.
28634         * gshadow/getsgent.c: Likewise.
28635         * gshadow/getsgent_r.c: Likewise.
28636         * gshadow/getsgnam.c: Likewise.
28637         * gshadow/getsgnam_r.c: Likewise.
28638         * inet/getnetbyad.c: Likewise.
28639         * inet/getnetbyad_r.c: Likewise.
28640         * inet/getnetbynm.c: Likewise.
28641         * inet/getnetbynm_r.c: Likewise.
28642         * inet/getnetent.c: Likewise.
28643         * inet/getnetent_r.c: Likewise.
28644         * inet/getproto.c: Likewise.
28645         * inet/getproto_r.c: Likewise.
28646         * inet/getprtent.c: Likewise.
28647         * inet/getprtent_r.c: Likewise.
28648         * inet/getprtname.c: Likewise.
28649         * inet/getprtname_r.c: Likewise.
28650         * inet/getrpcbyname.c: Likewise.
28651         * inet/getrpcbyname_r.c: Likewise.
28652         * inet/getrpcbynumber.c: Likewise.
28653         * inet/getrpcbynumber_r.c: Likewise.
28654         * inet/getrpcent.c: Likewise.
28655         * inet/getrpcent_r.c: Likewise.
28656         * inet/getaliasent.c: Likewise.
28657         * inet/getaliasent_r.c: Likewise.
28658         * inet/getaliasname.c: Likewise.
28659         * inet/getaliasname_r.c: Likewise.
28660         * nscd/getgrgid_r.c: Likewise.
28661         * nscd/getgrnam_r.c: Likewise.
28662         * nscd/gethstbyad_r.c: Likewise.
28663         * nscd/gethstbynm3_r.c: Likewise.
28664         * nscd/getpwnam_r.c: Likewise.
28665         * nscd/getpwuid_r.c: Likewise.
28666         * nscd/getsrvbynm_r.c: Likewise.
28667         * nscd/getsrvbypt_r.c: Likewise.
28668         * nscd/gai.c: Likewise.
28669
28670         * configure.in (build_nscd): New substituted variable, set
28671         by --disable-build-nscd and defaults to $use_nscd.
28672         * configure: Regenerated.
28673         * config.make.in (build-nscd): New substituted variable.
28674         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28675         Change conditional to require [$(build-nscd) = yes] as well.
28676         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28677
28678         [BZ# 13696]
28679         * configure.in (use_nscd): New substituted variable, set by
28680         --disable-nscd.  If enabled, define USE_NSCD.
28681         * configure: Regenerated.
28682         * config.h.in: Add USE_NSCD.
28683         * config.make.in (use-nscd): New substituted variable.
28684         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28685         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28686         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28687         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28688         (CFLAGS-getgrnam_r.c): Likewise.
28689         (CFLAGS-initgroups.c): Likewise.
28690         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28691         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28692         Variables removed.
28693         * inet/getnetgrent_r.c
28694         (nscd_setnetgrent): New function, broken out of ...
28695         (setnetgrent): ... here.  Call it.
28696         (innetgr): Conditionalize nscd bits on [USE_NSCD].
28697         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28698         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28699         * nscd/Makefile (routines, aux): Move definitions after include of
28700         Makeconfig.  Conditionalize on [$(use-nscd) != no].
28701         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28702         Conditionalize on [USE_NSCD].
28703         (is_nscd, nscd_init_cb): Likewise.
28704         (nss_load_library): Conditionalize init callback on [USE_NSCD].
28705         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28706         * nss/nss_db/db-init.c: Likewise.
28707         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28708         [USE_NSCD].
28709         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28710         (make_request): Use it.
28711         (cache_valid_p): New function.
28712         (__check_pf): Use it.
28713         * NEWS: Add item for --disable-nscd.
28714
28715 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
28716
28717         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28718         to support sed >= 4.2.1-20-ga9bf076.
28719         * configure: Regenerated.
28720
28721 2012-08-22  Roland McGrath  <roland@hack.frob.com>
28722
28723         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28724         Conditionalize whole body on [IREL].
28725
28726 2012-08-22  Jeff Law <law@redhat.com>
28727
28728         [BZ #14505]
28729         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28730         if the family is PF_UNSPEC.
28731
28732 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
28733
28734         * Makerules (lib-version): Rename from V.
28735         (install-lib-nosubdir): Change V to lib-version.
28736
28737 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
28738
28739         [BZ #14252]
28740         * powerpc32/power6/wcschr.c: New file.
28741         * powerpc32/power6/wcscpy.c: New file.
28742         * powerpc32/power6/wcsrchr.c: New file.
28743         * powerpc64/power6/wcschr.c: New file.
28744         * powerpc64/power6/wcscpy.c: New file.
28745         * powerpc64/power6/wcsrchr.c: New file.
28746
28747 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
28748
28749         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28750         (two_way_short_needle): Use it.
28751         * string/strstr.c (AVAILABLE1_USES_J): Define.
28752         * string/strcasestr.c: Likewise.
28753
28754         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28755         array references.
28756         * string/strcasestr.c (TOLOWER): Make side-effect safe.
28757
28758         [BZ #11607]
28759         * NEWS: Add an entry.
28760         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28761         define their defaults.
28762         (two_way_short_needle): Detect end-of-string on-the-fly.
28763         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28764         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28765         * string/bug-strcasestr1.c: New test.
28766         * string/Makefile: Run it.
28767
28768 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
28769
28770         [BZ #11607]
28771         * string/str-two-way.h (two_way_short_needle): Optimize matching of
28772         the first character.
28773
28774 2012-08-21  Roland McGrath  <roland@hack.frob.com>
28775
28776         * csu/elf-init.c (__libc_csu_irel): Function removed.
28777         * csu/libc-start.c (apply_irel): New function.
28778         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28779
28780 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
28781
28782         * sysdeps/unix/sysv/linux/kernel-features.h
28783         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28784         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28785         <kernel-features.h>.
28786         [__NR_fadvise64_64]: Make code unconditional.
28787         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28788         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28789         !__NR_fadvise64_64)]: Likewise.
28790         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28791         !__NR_fadvise64_64))]: Likewise.
28792         [__NR_fadvise64]: Make code unconditional.
28793         [!__NR_fadvise64]: Remove conditional code.
28794         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28795         <kernel-features.h>.
28796         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28797         unconditional.
28798         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28799         conditional code.
28800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28801         not include <kernel-features.h>.
28802         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28803         unconditional.
28804         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28805         conditional code.
28806         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28807         include <kernel-features.h>.
28808         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28809         unconditional.
28810         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28811         conditional code.
28812
28813 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28814
28815         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28816         slight instruction rearrangements per scrollpipe analysis.
28817         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28818
28819 2012-08-20  Roland McGrath  <roland@hack.frob.com>
28820
28821         * manual/syslog.texi (syslog; vsyslog, closelog):
28822         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28823         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28824
28825         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28826         DSOCAPS to match condition on defining it.
28827
28828 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
28829
28830         * sysdeps/unix/sysv/linux/kernel-features.h
28831         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28833         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28834         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28836         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28837         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28839         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28840         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28841
28842         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28843         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28844
28845         * sysdeps/unix/sysv/linux/kernel-features.h
28846         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28847         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28848         unconditional.
28849         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28850         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28851         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28852         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28853         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28854         Make code unconditional.
28855         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28856         (__mmap64) [!__NR_mmap2]: Likewise.
28857         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28858         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28859         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28860         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28861         [__NR_mmap2]: Make code unconditional.
28862         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28863         (__mmap64) [!__NR_mmap2]: Likewise.
28864
28865 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28866
28867         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28868
28869 2012-08-18  Andreas Jaeger  <aj@suse.de>
28870
28871         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28872
28873 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
28874
28875         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28876         * include/unistd.h (__have_sock_cloexec): Likewise.
28877         (__have_pipe2): Likewise.
28878         (__have_dup3): Likewise.
28879
28880 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
28881
28882         [BZ #9685]
28883         * include/unistd.h (__have_pipe2): Change define into an extern int.
28884         (__have_dup3): Likewise.
28885         * socket/have_sock_cloexec.c: Include fcntl.h.
28886         (__have_pipe2): New variable.
28887         (__have_dup3): Likewise.
28888
28889 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
28890
28891         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28892
28893 2012-08-17  Marek Polacek  <polacek@redhat.com>
28894
28895         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28896         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28897
28898 2012-08-17  Roland McGrath  <roland@hack.frob.com>
28899
28900         * configure.in: Add AC_SUBST for sysheaders.
28901         * configure: Regenerated.
28902         * config.make.in (sysheaders): New substituted variable.
28903
28904         * sysdeps/unix/mkfifo.c: Moved ...
28905         * sysdeps/posix/mkfifo.c: ... here.
28906         * sysdeps/unix/mkfifoat.c: Moved ...
28907         * sysdeps/posix/mkfifoat.c: ... here.
28908
28909         * sysdeps/unix/utime.c: Moved ...
28910         * sysdeps/posix/utime.c: ... here.
28911
28912         * sysdeps/unix/time.c: Moved ...
28913         * sysdeps/posix/time.c: ... here.
28914         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28915         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28916
28917         * sysdeps/unix/nice.c: Moved ...
28918         * sysdeps/posix/nice.c: ... here.
28919
28920         * sysdeps/unix/alarm.c: Moved ...
28921         * sysdeps/posix/alarm.c: ... here.
28922
28923         * intl/Makefile ($(codeset_mo)): Depend on the input file.
28924
28925 2012-08-17  Jeff Law <law@redhat.com>
28926
28927         * intl/Makefile (codeset_mo): New variable.
28928         ($(codeset_mo)): New target.
28929         (tst-codeset.out): Depend on that.  Remove explicit rule.
28930         (tst-gettext3.out, tst-gettext5.out): Likewise.
28931         (LOCPATH-ENV, tst-codeset-ENV): New variables.
28932         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28933         * intl/tst-codeset.sh: Remove.
28934         * intl/tst-gettext3.sh: Likewise.
28935         * intl/tst-gettext5.sh: Likewise.
28936
28937 2012-08-17  Roland McGrath  <roland@hack.frob.com>
28938
28939         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
28940         * sysdeps/unix/syscalls.list: ... here.
28941
28942         * sysdeps/posix/getaddrinfo.c
28943         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28944         (gaiconf_init, gaiconf_reload): Use them.
28945         [!_STATBUF_ST_NSEC]
28946         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28947         Define using time_t rather than struct timespec.
28948
28949         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28950         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28951         Macros removed.
28952         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28953         [!NO_THREADS].
28954         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28955         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28956         Likewise.
28957
28958         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28959         __libc_cleanup_push argument.
28960
28961         * bits/param.h: New file.
28962         * misc/sys/param.h: New file.
28963         * include/sys/param.h: New file.
28964         * misc/Makefile (headers): Add bits/param.h.
28965         * sysdeps/generic/sys/param.h: File removed.
28966         * sysdeps/unix/sysv/linux/bits/param.h: New file.
28967         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28968         * sysdeps/mach/hurd/bits/param.h: New file.
28969         * sysdeps/mach/hurd/sys/param.h: File removed.
28970
28971         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28972         last change.
28973
28974         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28975         [_IO_MTSAFE_IO].
28976         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28977         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28978         New macros.
28979
28980         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28981         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28982         rather than -D_IO_MTSAFE_IO conditionally.
28983         * stdio-common/Makefile (CPPFLAGS): Likewise.
28984         * wcsmbs/Makefile (CPPFLAGS): Likewise.
28985         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28986         Use $(libio-mtsafe).
28987         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28988         of -D_IO_MTSAFE_IO.
28989         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28990         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28991         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28992         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28993         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28994         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28995         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28996         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28997         (CFLAGS-fread_u_chk.c): Likewise.
28998         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28999         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29000         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29001         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29002         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29003         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29004         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29005         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29006         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29007
29008         * libio/Makefile: Test [$(libc-reentrant) = yes]
29009         instead of [$(filter %REENTRANT, $(defines)) nonempty].
29010
29011         * Makeconfig
29012         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29013         * sysdeps/pthread/configure: File removed.
29014         * sysdeps/pthread/Makeconfig: New file.
29015         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29016         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29017
29018 2012-08-16  Gary Benson  <gbenson@redhat.com>
29019
29020         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29021         unmapping the first object in a namespace.
29022
29023 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29024
29025         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29026         (__internal_setnetgrent): ... this.  Add internal_function to
29027         definition.  Add libc_hidden_def.
29028         (setnetgrent): Update caller.
29029         (internal_endnetgrent): Renamed to ...
29030         (__internal_endnetgrent): ... this.  Add internal_function to
29031         definition.  Add libc_hidden_def.
29032         (endnetgrent): Update caller.
29033         (internal_getnetgrent_r): Renamed to ...
29034         (__internal_getnetgrent_r): ... this.  Add internal_function to
29035         definition.  Add libc_hidden_def.
29036         (__getnetgrent_r): Update caller.
29037         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
29038
29039 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29040
29041         * stdlib/longlong.h: Update from GCC.
29042
29043 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29044
29045         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29046         on _QL, which is set by umul_ppmm but never used.
29047         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29048         variables, which are set by GMP macros but never used.
29049         * stdio-common/_itowa.c (_itowa): Likewise.
29050         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29051         * stdlib/mod_1.c (mpn_mod_1): Likewise.
29052
29053 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
29054
29055         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29056         struct La_sh_regs is not constant.
29057         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29058         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29059         and struct La_sparc64_regs are not constant.
29060
29061 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29062
29063         * sysdeps/unix/sysv/linux/kernel-features.h
29064         (__ASSUME_POSIX_TIMERS): Remove.
29065         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29066         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29067         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29068         Make code unconditional.
29069         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29070         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29071         Make code unconditional.
29072         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29073         * sysdeps/unix/sysv/linux/clock_nanosleep.c
29074         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29075         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29076         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29077         Make code unconditional.
29078         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29079         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29080         (__libc_missing_posix_timers): Remove.
29081
29082 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29083
29084         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29085         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29086
29087         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29088
29089         * elf/dl-sym.c: Include <stdlib.h>.
29090
29091         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29092         constants, which avoids warnings in 32-bit builds.
29093
29094         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29095         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29096
29097         * misc/lseek.c: File moved to ...
29098         * io/lseek.c: ... here.
29099
29100         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29101
29102         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29103         shifting LEN more than 31 bits at once.
29104
29105 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29106
29107         [BZ #14195]
29108         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29109         segmentation fault for a case of two empty input strings.
29110         * string/test-strncasecmp.c (check1): Renamed to...
29111         (bz12205): ...this.
29112         (bz14195): Add new testcase for two empty input strings and N > 0.
29113         (test_main): Call new testcase, adapt for renamed function.
29114
29115 2012-08-15  Andreas Jaeger  <aj@suse.de>
29116
29117         [BZ #14090]
29118         * crypt/md5test2.c: New test, based on test supplied by Serge
29119         Belyshev <belyshev@depni.sinp.msu.ru>.
29120         * crypt/Makefile (xtests): Add md5test-giant..
29121         * crypt/Makefile ($(objpfx)md5test-giant): Add.
29122
29123 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
29124
29125         [BZ #14090]
29126         * crypt/md5.c (md5_process_block): Don't assume the buffer
29127         length is less than 2**32.
29128         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29129         length is less than 2**64.
29130
29131 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29132
29133         * string/str-two-way.h: Include <sys/param.h>.
29134         (MAX): Macro removed.
29135
29136         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29137         Move #define and #undef of memmove to just before and after
29138         including <string.h>.
29139
29140         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29141         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29142         and after including <string.h>.  Move declarations of
29143         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29144         to before #include "string/memmove.c".
29145
29146         * include/dirent.h: Declare __getdirentries.
29147
29148         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29149         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29150
29151 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
29152
29153         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29154         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29155         * sysdeps/i386/configure: Regenerated.
29156         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29157         STABS_CURRENT_FILE, and STABS_FUN.
29158         (END): Remove call to STABS_FUN_END.
29159         (STABS_CURRENT_FILE1): Delete.
29160         (STABS_CURRENT_FILE): Likewise.
29161         (STABS_FUN): Likewise.
29162         (STABS_FUN_END): Likewise.
29163         (STABS_FUN2): Likewise.
29164         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29165         * sysdeps/x86_64/configure: Regenerated.
29166
29167 2012-08-14  Roland McGrath  <roland@hack.frob.com>
29168
29169         * elf/dl-open.c: Include <atomic.h>.
29170         * elf/dl-lookup.c: Likewise.
29171
29172 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
29173
29174         * sysdeps/unix/sysv/linux/kernel-features.h
29175         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29176         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29177         unconditionally.
29178         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29179         unconditionally.
29180         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29181         condition on __ASSUME_CLONE_THREAD_FLAGS.
29182
29183 2012-08-14  Andreas Jaeger  <aj@suse.de>
29184
29185         * sysdeps/i386/fpu/libm-test-ulps: Update.
29186
29187 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
29188
29189         * include/atomic.h (atomic_exchange_and_add): Split into ...
29190         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29191         New atomic macros.
29192
29193 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
29194
29195         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29196
29197 2012-08-13  Jeff Law <law@redhat.com>
29198
29199         * manual/stdio.texi (snprintf): Clarify handling of the trailing
29200         null byte in the output string.
29201
29202 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
29203
29204         * sysdeps/unix/sysv/linux/kernel-features.h
29205         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29206         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29207         (__ASSUME_ARG_MAX_STACK_BASED): Define.
29208         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29209         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29210         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
29211         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29212
29213 2012-08-09  Jeff Law <law@redhat.com>
29214
29215         [BZ #13939]
29216         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29217         When avoid_arena is set, don't retry in the that arena.  Pick the
29218         next one, whatever it might be.
29219         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29220         (arena_lock): Pass in new parameter to arena_get2.
29221         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29222         arena_get2.
29223         (__libc_malloc): Unify retrying after main arena failure with
29224         __libc_memalign version.
29225         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29226
29227 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
29228
29229         [BZ #14166]
29230         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29231         to __redirect_strstr.
29232         (__strstr_sse42): Use typeof __redirect_strstr.
29233         (__strstr_ia32): Likewise.
29234         (__libc_strstr): New prototype.
29235         (strstr): Renamed to ...
29236         (__libc_strstr): This.
29237         (strstr): New strong alias of __libc_strstr.
29238         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29239         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29240         __redirect_time.
29241         Include <time.h>.
29242         (__libc_time): New prototype.
29243         (time_ifunc): Replace time with __libc_time.
29244         (time): New strong alias and hidden definition of __libc_time.
29245         (__GI_time): Remove strong alias.
29246         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29247         Include <stddef.h>.
29248         (memmove): Redefined to __redirect_memmove.
29249         (__memmove_sse2): Use typeof __redirect_memmove.
29250         (__memmove_ssse3): Likewise.
29251         (__memmove_ssse3_back): Likewise.
29252         (__libc_memmove): New prototype.
29253         (memmove): Renamed to ...
29254         (__libc_memmove): This.
29255         (memmove): New strong alias of __libc_memmove.
29256
29257 2012-08-08  Mark Salter  <msalter@redhat.com>
29258
29259         * elf/elf.h
29260         (R_MN10300_TLS_GD): Define.
29261         (R_MN10300_TLS_LD): Likewise.
29262         (R_MN10300_TLS_LDO): Likewise.
29263         (R_MN10300_TLS_GOTIE): Likewise.
29264         (R_MN10300_TLS_IE): Likewise.
29265         (R_MN10300_TLS_LE): Likewise.
29266         (R_MN10300_TLS_DTPMOD): Likewise.
29267         (R_MN10300_TLS_DTPOFF): Likewise.
29268         (R_MN10300_TLS_TPOFF): Likewise.
29269         (R_MN10300_SYM_DIFF): Likewise.
29270         (R_MN10300_ALIGN): Likewise.
29271         (R_MN10300_NUM): Update.
29272
29273 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
29274
29275         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29276         Remove.
29277
29278 2012-08-08  Roland McGrath  <roland@hack.frob.com>
29279
29280         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29281
29282         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29283         sysdeps/unix -> sysdeps/posix move.
29284         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29285
29286 2012-08-07      Allan McRae     <allan@archlinux.org>
29287
29288         [BZ #14303]
29289         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29290         (SUNOS_CPP): Likewise.
29291         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29292         not found.
29293         (open_input): Call CPP using execvp.
29294
29295 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29296
29297         * sysdeps/unix/sysv/linux/kernel-features.h
29298         (__ASSUME_PROT_GROWSUPDOWN): Remove.
29299         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29300         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29301         (__ASSUME_WAITID_SYSCALL): Likewise.
29302         * sysdeps/unix/sysv/linux/dl-execstack.c
29303         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29304         code unconditional.
29305         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29306         conditional code.
29307         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29308         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29309         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29310         code.
29311         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29312         unconditional.
29313         [__ASSUME_WAITID_SYSCALL]: Likewise.
29314         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29315
29316 2012-08-07  Roland McGrath  <roland@hack.frob.com>
29317
29318         * sysdeps/unix/closedir.c: Renamed to ...
29319         * sysdeps/posix/closedir.c: ... here.
29320         * sysdeps/unix/dirfd.c: Renamed to ...
29321         * sysdeps/posix/dirfd.c: ... here.
29322         * sysdeps/unix/dirstream.h: Renamed to ...
29323         * sysdeps/posix/dirstream.h: ... here.
29324         * sysdeps/unix/fdopendir.c: Renamed to ...
29325         * sysdeps/posix/fdopendir.c: ... here.
29326         * sysdeps/unix/opendir.c: Renamed to ...
29327         * sysdeps/posix/opendir.c: ... here.
29328         * sysdeps/unix/readdir.c: Renamed to ...
29329         * sysdeps/posix/readdir.c: ... here.
29330         * sysdeps/unix/readdir_r.c: Renamed to ...
29331         * sysdeps/posix/readdir_r.c: ... here.
29332         * sysdeps/unix/rewinddir.c: Renamed to ...
29333         * sysdeps/posix/rewinddir.c: ... here.
29334         * sysdeps/unix/seekdir.c: Renamed to ...
29335         * sysdeps/posix/seekdir.c: ... here.
29336         * sysdeps/unix/telldir.c: Renamed to ...
29337         * sysdeps/posix/telldir.c: ... here.
29338         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29339         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29340         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29341         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29342
29343         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29344         * bits/fcntl.h: ... here.
29345
29346         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29347         not 0.
29348         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29349         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29350         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29351         (struct flock): Move l_start, l_len to the beginning.
29352         Use __pid_t for l_pid.
29353         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29354         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29355         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29356         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29357         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29358         [__USE_LARGEFILE64] (struct flock64): New type.
29359         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29360
29361         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29362         * bits/dirent.h: ... here.
29363
29364         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29365         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29366
29367 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29368
29369         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29370         Change from 2.6.0 to 2.6.16.
29371         * sysdeps/unix/sysv/linux/configure: Regenerated.
29372         * sysdeps/unix/sysv/linux/kernel-features.h
29373         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29374         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29375         version.
29376         (__ASSUME_UTIMES): Likewise.
29377         (__ASSUME_CLONE_STOPPED): Remove.
29378         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29379         architectures, not kernel version.
29380         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29381         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29382         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29383         (__ASSUME_WAITID_SYSCALL): Likewise.
29384         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29385         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29386         * README: State 2.6.16 as minimum Linux kernel version.  Do not
29387         refer to older versions.
29388
29389 2012-08-06  Roland McGrath  <roland@hack.frob.com>
29390
29391         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29392         Define alphasort64 as an alias.
29393         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29394         Define versionsort64 as an alias.
29395         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29396         Define scandir64 as an alias.
29397         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29398         Define scandirat64 as an alias.
29399         * dirent/alphasort64.c (alphasort64):
29400         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29401         * dirent/versionsort64.c: Likewise.
29402         * dirent/scandir64.c: Likewise.
29403         * dirent/scandirat64.c: Likewise.
29404         * sysdeps/wordsize-64/alphasort.c: File removed.
29405         * sysdeps/wordsize-64/alphasort64.c: File removed.
29406         * sysdeps/wordsize-64/scandir.c: File removed.
29407         * sysdeps/wordsize-64/scandir64.c: File removed.
29408         * sysdeps/wordsize-64/scandirat.c: File removed.
29409         * sysdeps/wordsize-64/scandirat64.c: File removed.
29410         * sysdeps/wordsize-64/versionsort.c: File removed.
29411         * sysdeps/wordsize-64/versionsort64.c: File removed.
29412         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29413         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29414         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29415         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29416         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29417         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29418         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29419         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29420
29421         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29422         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29423         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29424         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29425         [defined __arch64__ || defined __sparcv9]
29426         (__INO_T_MATCHES_INO64_T): New macro.
29427         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29428         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29429         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29430         * sysdeps/unix/sysv/linux/bits/dirent.h
29431         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29432         (_DIRENT_MATCHES_DIRENT64): New macro.
29433
29434         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29435         Define lockf64 as an alias.
29436         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29437         Define fseeko64 as an alias.
29438         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29439         Define ftello64 as an alias.
29440         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29441         Define _IO_fgetpos64 and fgetpos64 as aliases.
29442         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29443         Define _IO_fsetpos64 and fsetpos64 as aliases.
29444         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29445         Conditionalize body on this.
29446         * libio/fseeko64.c: Likewise.
29447         * libio/ftello64.c: Likewise.
29448         * libio/iofgetpos64.c: Likewise.
29449         * libio/iofsetpos64.c: Likewise.
29450         * sysdeps/wordsize-64/lockf.c: File removed.
29451         * sysdeps/wordsize-64/lockf64.c: File removed.
29452         * sysdeps/wordsize-64/fseeko.c: File removed.
29453         * sysdeps/wordsize-64/fseeko64.c: File removed.
29454         * sysdeps/wordsize-64/ftello.c: File removed.
29455         * sysdeps/wordsize-64/ftello64.c: File removed.
29456         * sysdeps/wordsize-64/iofgetpos.c: File removed.
29457         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29458         * sysdeps/wordsize-64/iofsetpos.c: File removed.
29459         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29460         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29461         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29462         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29463         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29464         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29465         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29466         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29467         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29468         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29469         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29470
29471         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29472         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29473         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29474         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29475         [defined __arch64__ || defined __sparcv9]
29476         (__OFF_T_MATCHES_OFF64_T): New macro.
29477         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29478         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29479         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29480         (__OFF_T_MATCHES_OFF64_T): New macro.
29481
29482 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
29483
29484         * stdlib/secure-getenv.c (__secure_getenv): Replace
29485         GLIBC_2_16 with GLIBC_2_17.
29486
29487 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
29488
29489         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29490         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29491
29492 2012-08-03  David S. Miller  <davem@davemloft.net>
29493
29494         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29495
29496 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
29497
29498         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29499         Remove.
29500         (__ASSUME_CORRECT_SI_PID): Likewise.
29501         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29502         (__ASSUME_TMPFS_NAME): Likewise.
29503         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29504         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29505         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29506         (HAVE_AUX_SECURE): Make definition unconditional.
29507         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29508         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29509
29510 2012-08-03  Roland McGrath  <roland@hack.frob.com>
29511
29512         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29513         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29514         * sysdeps/mach/hurd/eloop-threshold.h: New file.
29515         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29516         __eloop_threshold instead of SYMLOOP_MAX.
29517
29518         * sysdeps/generic/eloop-threshold.h: New file.
29519         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29520         of MAXSYMLINKS.
29521         * elf/chroot_canon.c (chroot_canon): Likewise.
29522
29523 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
29524
29525         [BZ #13717]
29526         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29527         Change to 2.6.0 everywhere.
29528         * sysdeps/unix/sysv/linux/configure: Regenerated.
29529         * sysdeps/unix/sysv/linux/kernel-features.h
29530         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29531         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29532         kernel versions.
29533         (__ASSUME_POSIX_TIMERS): Define unconditionally.
29534         (__ASSUME_FUTEX_REQUEUE): Remove.
29535         (__ASSUME_STATFS64): Define unconditionally.
29536         (__ASSUME_AT_SECURE): Likewise.
29537         (__ASSUME_CORRECT_SI_PID): Likewise.
29538         (__ASSUME_TGKILL): Define without depending on kernel version for
29539         i386.
29540         (__ASSUME_UTIMES): Likewise.
29541         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29542         kernel version.
29543         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29544         (__ASSUME_TMPFS_NAME): Likewise.
29545         * README: Update reference to Linux kernel versions.
29546
29547 2012-08-02  Marek Polacek  <polacek@redhat.com>
29548
29549         [BZ# 14150]
29550         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
29551         libc_cv_asm_type_prefix with %.
29552         * configure: Regenerated.
29553         * include/libc-symbols.h: Remove comment about
29554         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29555         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29556         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29557         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29558         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29559         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29560         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29561         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29562         * elf/tst-unique2mod1.c: Likewise.
29563         * elf/tst-unique1mod2.c: Likewise.
29564         * elf/tst-unique1mod1.c: Likewise.
29565         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29566         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29567         Replace ASM_TYPE_DIRECTIVE with .type.
29568         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29569         * sysdeps/i386/sysdep.h: Likewise.
29570         * sysdeps/x86_64/sysdep.h: Likewise.
29571         * sysdeps/sh/sysdep.h: Likewise.
29572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29573         Do not define ASM_TYPE_DIRECTIVE.
29574         * sysdeps/powerpc/sysdep.h: Likewise.
29575         * sysdeps/powerpc/powerpc32/sysdep.h:
29576         Replace ASM_TYPE_DIRECTIVE with .type.
29577         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29578         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29579         * sysdeps/i386/fpu/e_powf.S: Likewise.
29580         * sysdeps/i386/fpu/e_expl.S: Likewise.
29581         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29582         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29583         * sysdeps/i386/fpu/e_pow.S: Likewise.
29584         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29585         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29586         * sysdeps/i386/fpu/s_expm1.S: Likewise.
29587         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29588         * sysdeps/i386/fpu/e_log2.S: Likewise.
29589         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29590         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29591         * sysdeps/i386/fpu/e_powl.S: Likewise.
29592         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29593         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29594         * sysdeps/i386/fpu/e_logl.S: Likewise.
29595         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29596         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29597         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29598         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29599         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29600         * sysdeps/i386/fpu/e_log.S: Likewise.
29601         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29602         * sysdeps/i386/fpu/e_logf.S: Likewise.
29603         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29604         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29605         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29606         * sysdeps/i386/fpu/e_log10.S: Likewise.
29607         * sysdeps/i386/fpu/s_frexp.S: Likewise.
29608         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29609         * sysdeps/i386/fpu/s_asinh.S: Likewise.
29610         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29611         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29612         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29613         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29614         * sysdeps/i386/i686/strtok.S: Likewise.
29615         * sysdeps/i386/i386-mcount.S: Likewise.
29616         * sysdeps/i386/strtok.S: Likewise.
29617         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29618         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29619         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29620         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29621         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29622         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29623         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29624         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29625         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29626         * sysdeps/x86_64/_mcount.S: Likewise.
29627         * sysdeps/x86_64/strtok.S: Likewise.
29628         * sysdeps/sh/_mcount.S: Likewise.
29629
29630 2012-08-01  Roland McGrath  <roland@hack.frob.com>
29631
29632         * libio/iofopen.c: Include <fcntl.h>.
29633         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29634         (_IO_fopen64, fopen64): Define as aliases.
29635         * libio/iofopen64.c: Include <fcntl.h>.
29636         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29637         Conditionalize body on this.
29638         * sysdeps/wordsize-64/iofopen.c: File removed.
29639         * sysdeps/wordsize-64/iofopen64.c: File removed.
29640
29641 2012-08-01  Marek Polacek  <polacek@redhat.com>
29642
29643         * libc/Makeconfig: Use elf in place of binfmt-subdir.
29644         Use dlfcn directly instead of a variable.
29645         (binfmt-subdir): Do not define.
29646         (dlfcn): Likewise.
29647
29648 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
29649
29650         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29651         Remove all definitions.
29652         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29653         <kernel-features.h>.
29654         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29655         (miss_F_GETOWN_EX): Remove all definitions.
29656         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29657         macro definition.
29658         [!__ASSUME_FCNTL64]: Remove conditional code.
29659         [__ASSUME_FCNTL64]: Make code unconditional.
29660         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29661         <kernel-features.h>.
29662         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29663         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29664         (lockf64) [__NR_fcntl64]: Make code unconditional.
29665         (lockf64) [__ASSUME_FCNTL64]: Likewise.
29666
29667         * sysdeps/unix/sysv/linux/kernel-features.h
29668         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29669         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29670         Make code unconditional.
29671         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29672         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29674         [__NR_vfork]: Make code unconditional.
29675         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29676         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29678         [__NR_vfork]: Make code unconditional.
29679         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29680         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29681
29682 2012-08-01  Roland McGrath  <roland@hack.frob.com>
29683
29684         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29685         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29686
29687         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29688         Define mkstemp64 as an alias.
29689         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29690         Define mkstemps64 as an alias.
29691         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29692         Define mkostemp64 as an alias.
29693         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29694         Define mkostemps64 as an alias.
29695         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29696         Conditionalize body on this.
29697         * misc/mkostemp64.c: Likewise.
29698         * misc/mkostemps64.c: Likewise.
29699         * misc/mkstemps64.c: Likewise.
29700         * sysdeps/wordsize-64/mkstemp64.c: File removed.
29701         * sysdeps/wordsize-64/mkostemp64.c: File removed.
29702         * sysdeps/wordsize-64/mkostemp.c: File removed.
29703         * sysdeps/wordsize-64/mkstemp.c: File removed.
29704         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29705         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29706         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29707         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29708
29709         [BZ #14138]
29710         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29711         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29712         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29713         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29714
29715         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29716         compat_symbol macros from <shlib-compat.h> rather than the underlying
29717         default_symbol_version and symbol_version macros, so that DEFAULT
29718         lines in shlib-versions are respected.
29719         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29720
29721 2012-08-01  Florian Weimer  <fweimer@redhat.com>
29722
29723         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29724         Declare with warn_unused_result.
29725         (setgid, setregid, setegid, setresgid): Likewise.
29726         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29727         Likewise.
29728         * WUR-REPORT: Remove set*id functions.
29729
29730 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
29731
29732         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29733
29734 2012-07-31  Roland McGrath  <roland@hack.frob.com>
29735
29736         [BZ #10191]
29737         * include/sys/socket.h (__libc_accept, __libc_accept4):
29738         Add attribute_hidden.
29739         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29740
29741         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29742         use of PTR_MANGLE.
29743         * inet/getnetgrent_r.c (setup): Likewise.
29744
29745         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29746
29747 2012-07-31  David S. Miller  <davem@davemloft.net>
29748
29749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29750
29751 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
29752
29753         [BZ #13629]
29754         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29755         value between 1.0 and 2.0 and smaller part has absolute value less
29756         than 1.0.
29757         * math/s_clog10.c (__clog10): Likewise.
29758         * math/s_clog10f.c (__clog10f): Likewise.
29759         * math/s_clog10l.c (__clog10l): Likewise.
29760         * math/s_clogf.c (__clogf): Likewise.
29761         * math/s_clogl.c (__clogl): Likewise.
29762         * math/libm-test.inc (clog_test): Add more tests.
29763         (clog10_test): Likewise.
29764         * sysdeps/i386/fpu/libm-test-ulps: Update.
29765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29766
29767 2012-07-31  Florian Weimer  <fweimer@redhat.com>
29768
29769         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29770         Exit with zero in case no suitable GID is found, and write a
29771         message to standard error.
29772
29773 2012-07-30  Roland McGrath  <roland@hack.frob.com>
29774
29775         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29776         rather than to 1.
29777         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29778         (MAXPATHLEN): Removed.
29779         (NOGROUP, NODEV): New macros.
29780         (setbit, clrbit, isset, isclr): New macros.
29781         (howmany, roundup, powerof2): New macros.
29782         (DEV_BSIZE): New macro.
29783
29784         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29785         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29786
29787         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29788         definition on [!__NO_LONG_DOUBLE_MATH].
29789
29790         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29791         PTR_MANGLE and PTR_DEMANGLE.
29792
29793         * socket/accept4.c (accept4): Rename to __libc_accept4.
29794         Define accept4 as a weak alias.
29795
29796         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29797         on [_DIRENT_HAVE_D_TYPE].
29798         * io/ftw.c (ftw_dir): Likewise.
29799
29800         * io/xmknod.c (__xmknod): Don't check PATH for being null.
29801
29802         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29803
29804         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29805         Use the BSD numbers rather than the arbitrary ones we had.
29806         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29807         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29808         (SIGXCPU, SIGXFSZ): New macros.
29809         (_NSIG): Now 32.
29810
29811         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29812         initializer on [_LIBC_REENTRANT].
29813
29814         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29815         definitions inside [_POSIX_MAPPED_FILES].
29816
29817         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29818
29819         * dirent/opendir.c: Include <fcntl.h>.
29820
29821         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29822         (__libc_getspecific): Likewise.
29823         (__libc_key_create): Likewise.
29824
29825         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29826         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29827         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29828         (tmpfile64): Define as alias.
29829         * sysdeps/wordsize-64/tmpfile.c: File removed.
29830         * sysdeps/wordsize-64/tmpfile64.c: File removed.
29831         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29832         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29833
29834         * stdio-common/vfscanf.c: Include <stdbool.h>.
29835         * nss/makedb.c: Likewise.
29836         * stdio-common/_i18n_number.h: Likewise.
29837         * argp/argp-help.c: Likewise.
29838         * posix/wordexp.c: Likewise.
29839         * sysdeps/posix/spawni.c: Likewise.
29840         * nss/nss_files/files-initgroups.c: Likewise.
29841         * stdio-common/reg-modifier.c: Include <stdlib.h>.
29842         * nss/nss_files/files-initgroups.c: Likewise.
29843         * nss/nss_db/db-netgrp.c: Likewise.
29844         * nss/nss_db/db-initgroups.c: Likewise.
29845         * io/fchmodat.c: Include <sys/stat.h>.
29846
29847         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29848         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29849
29850         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29851         [HAVE_MMAP].
29852
29853         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29854         Add multiple inclusion protection.
29855
29856 2012-07-27  David S. Miller  <davem@davemloft.net>
29857
29858         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29859
29860 2012-07-27  Gary Benson  <gbenson@redhat.com>
29861
29862         [BZ #14298]
29863         * elf/rtld.c: Include <stap-probe.h>.
29864         (dl_main): Added static probes "init_start" and "init_complete".
29865         * elf/dl-load.c: Include <stap-probe.h>.
29866         (lose): Take new parameter "nsid".
29867         Added static probe "map_failed".
29868         (_dl_map_object_from_fd): Pass namespace id to lose.
29869         Added static probe "map_start".
29870         (open_verify): Pass namespace id to lose.
29871         * elf/dl-open.c: Include <stap-probe.h>.
29872         (dl_open_worker) Added static probes "map_complete", "reloc_start"
29873         and "reloc_complete".
29874         * elf/dl-close.c: Include <stap-probe.h>.
29875         (_dl_close_worker): Added static probes "unmap_start" and
29876         "unmap_complete".
29877         * elf/rtld-debugger-interface.txt: New file documenting the above.
29878
29879 2012-07-26  Roland McGrath  <roland@hack.frob.com>
29880
29881         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29882         rather than a string variable.
29883         * sunrpc/rpc_main.c (h_output): Likewise.
29884         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29885
29886 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
29887
29888         * inet/check_native.c: New file.
29889
29890 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
29891
29892         [BZ #13629]
29893         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29894         if larger part has absolute value 1.0.
29895         * math/s_clog10.c (__clog10): Likewise.
29896         * math/s_clog10f.c (__clog10f): Likewise.
29897         * math/s_clog10l.c (__clog10l): Likewise.
29898         * math/s_clogf.c (__clogf): Likewise.
29899         * math/s_clogl.c (__clogl): Likewise.
29900         * math/libm-test.inc (clog_test): Add more tests.
29901         (clog10_test): Likewise.
29902         * sysdeps/i386/fpu/libm-test-ulps: Update.
29903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29904
29905         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29906         (pltexit): Likewise.
29907         (La_regs): Likewise.
29908         (La_retval): Likewise.
29909         (int_retval): Likewise.
29910         Update #error for removed macros to refer only to definitions in
29911         tst-audit.h.
29912         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29913         macro.
29914         (pltexit): Likewise.
29915         (La_regs): Likewise.
29916         (La_retval): Likewise.
29917         (int_retval): Likewise.
29918         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29919         macro.
29920         (pltexit): Likewise.
29921         (La_regs): Likewise.
29922         (La_retval): Likewise.
29923         (int_retval): Likewise.
29924         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29925         macro.
29926         (pltexit): Likewise.
29927         (La_regs): Likewise.
29928         (La_retval): Likewise.
29929         (int_retval): Likewise.
29930         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29931         macro.
29932         (pltexit): Likewise.
29933         (La_regs): Likewise.
29934         (La_retval): Likewise.
29935         (int_retval): Likewise.
29936         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29937         macro.
29938         (pltexit): Likewise.
29939         (La_regs): Likewise.
29940         (La_retval): Likewise.
29941         (int_retval): Likewise.
29942         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29943         macro.
29944         (pltexit): Likewise.
29945         (La_regs): Likewise.
29946         (La_retval): Likewise.
29947         (int_retval): Likewise.
29948         * sysdeps/generic/tst-audit.h: Update comment to refer only to
29949         macro definitions in tst-audit.h.
29950         * sysdeps/i386/tst-audit.h: New file.
29951         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29952         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29953         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29954         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29955         * sysdeps/sh/tst-audit.h: Likewise.
29956         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29957         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29958         * sysdeps/x86_64/tst-audit.h: Likewise.
29959
29960 2012-07-26  Andreas Jaeger  <aj@suse.de>
29961
29962         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29963         ptrace.
29964
29965         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29966         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29967         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29968         PTRACE_O_MASK.
29969         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29970         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29971         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29972
29973         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29974         value.
29975
29976         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29977         _sigsys.
29978         (si_call_addr, si_syscall, si_arch): Define new macro.
29979         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29980         _sigsys.
29981         (si_call_addr, si_syscall, si_arch): Define new marcro.
29982         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29983         _sigsys.
29984         (si_call_addr, si_syscall, si_arch): Define new macro.
29985         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29986         _sigsys.
29987         (si_call_addr, si_syscall, si_arch): Define new macro.
29988
29989 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
29990
29991         [BZ #13717]
29992         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29993         Change to 2.4.21 where previously 2.4.1.
29994         * sysdeps/unix/sysv/linux/configure: Regenerated.
29995         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29996         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29997         Linux kernel version.
29998         (__ASSUME_STD_AUXV): Remove.
29999         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30000         kernel version.
30001         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30002         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30003         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30004         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30005         (__ASSUME_NETLINK_SUPPORT): Likewise.
30006         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30007         (__no_netlink_support): Remove conditional definition.
30008         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30009         Remove.
30010         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30011         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30012         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30013         (if_nameindex_ioctl): Remove.
30014         (if_nameindex_netlink): Do not handle __no_netlink_support.
30015         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30016         code.
30017         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30018         Remove conditional code.
30019         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30020         code.
30021         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30022         unconditional.
30023         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30024         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30025         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30026         Remove.
30027         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30028         [!__ASSUME_STD_AUXV]: Remove conditional code.
30029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30030         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30031         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30033         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30034         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30035         code.
30036         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30038         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30039         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30040         conditional code.
30041         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30043         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30044         code.
30045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30046         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30047         conditional code.
30048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30049         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30050         code unconditional.
30051         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30052         conditional code.
30053         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30054         unconditional.
30055         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30056         conditional code.
30057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30058         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30059         unconditional.
30060         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30061         conditional code.
30062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30063         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30064         code unconditional.
30065         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30066         conditional code.
30067         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30068         unconditional.
30069         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30070         conditional code.
30071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30072         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30073         code unconditional.
30074         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30075         conditional code.
30076         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30077         unconditional.
30078         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30079         conditional code.
30080
30081 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
30082
30083         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30084         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30085         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30086         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30087         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30088         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30089         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30090         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30091         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30092         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30093         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30094         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30095         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30096         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30097         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30098         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30099         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30100         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30101         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30102         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30103         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30104         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30105         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30106
30107 2012-07-25  Florian Weimer  <fweimer@redhat.com>
30108
30109         * Versions.def: Add GLIBC_2.17.
30110         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30111         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30112         Introduce __libc_secure_getenv.
30113         * stdlib/Versions (2.17): Add secure_getenv
30114         (GLIBC_PRIVATE): Add __libc_secure_getenv.
30115         * stdlib/secure-getenv.c: Rename __secure_getenv to
30116         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
30117         symbol __secure_getenv for GLIBC_2.0.
30118         * stdlib/tst-secure-getenv.c: New.
30119         * stdlib/Makefile (tests): Add testcase.
30120         * manual/startup.texi (Environment Access): Document
30121         secure_getenv.
30122         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30123         __libc_secure_getenv.
30124         * inet/ruserpass.c (ruserpass): Likewise.
30125         * malloc/mtrace.c (mtrace): Likewise.
30126         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30127         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30128         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30129         * sysdeps/posix/tempname.c: Likewise.  Evaluate
30130         HAVE_SECURE_GETENV.
30131         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30132         __secure_getenv to __libc_secure_getenv.
30133         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30135         Likewise.
30136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30137         Likewise.
30138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30140         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30142         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30143         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30144         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30145
30146 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30147
30148         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30149         (struct La_i86_retval): Likewise.
30150         (struct La_x86_64_regs): Likewise.
30151         (struct La_x86_64_retval): Likewise.
30152         (struct La_x32_regs): Likewise.
30153         (struct La_x32_retval): Likewise.
30154         (struct La_ppc32_regs): Likewise.
30155         (struct La_ppc32_retval): Likewise.
30156         (struct La_ppc64_regs): Likewise.
30157         (struct La_ppc64_retval): Likewise.
30158         (struct La_sh_regs): Likewise.
30159         (struct La_sh_retval): Likewise.
30160         (struct La_s390_32_regs): Likewise.
30161         (struct La_s390_32_retval): Likewise.
30162         (struct La_s390_64_regs): Likewise.
30163         (struct La_s390_64_retval): Likewise.
30164         (struct La_sparc32_regs): Likewise.
30165         (struct La_sparc32_retval): Likewise.
30166         (struct La_sparc64_regs): Likewise.
30167         (struct La_sparc64_retval): Likewise.
30168         (struct audit_ifaces): Remove architecture-specific pltenter and
30169         pltexit members.
30170         * sysdeps/i386/ldsodefs.h: New file.
30171         * sysdeps/powerpc/ldsodefs.h: Likewise.
30172         * sysdeps/s390/ldsodefs.h: Likewise.
30173         * sysdeps/sh/ldsodefs.h: Likewise.
30174         * sysdeps/sparc/ldsodefs.h: Likewise.
30175         * sysdeps/x86_64/ldsodefs.h: Likewise.
30176
30177 2012-07-25  Marek Polacek  <polacek@redhat.com>
30178
30179         [BZ #6808]
30180         * math/libm-test.inc (yn_test): Add another test.
30181         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30182         to ERANGE when the result is +-Inf.
30183         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30184         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30185         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30186         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30187
30188 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
30189
30190         * conform/data/time.h-data (NULL): Use macro-constant.  Require
30191         equal to 0.
30192         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
30193         clock_t.
30194         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
30195
30196 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
30197
30198         * configure.in <sysdeps resolving>: Correct printing
30199         Implies_before.
30200         * configure: Regenerate.
30201
30202 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
30203
30204         * math/w_ilogb.c: Include <limits.h>.
30205         * math/w_ilogbl.c: Likewise.
30206
30207 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30208
30209         * manual/lang.texi (__va_copy): Document primarily as ISO C99
30210         va_copy.  Document allowing for unavailable va_copy only as
30211         pre-C99 compatibility.
30212         * manual/string.texi (Copying and Concatenation): Use va_copy
30213         instead of __va_copy in concat example.
30214
30215 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
30216
30217         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30218         (__sendto): Use create_address_port.  Initialize APORT and deallocate
30219         it if not null.
30220
30221         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30222         with O_NOLINK passed to __file_name_lookup.
30223
30224         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30225         with O_NOLINK passed to __file_name_lookup.
30226
30227         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30228         negative N or less than NGIDS.
30229
30230         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30231         type to string_t.  Set ERANGE as errno and return it if NAME is not big
30232         enough.  Use memcpy instead of strncpy.
30233
30234 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30235
30236         * elf/Makefile (check-data): Remove.
30237         (localplt.data): New vpath directive.
30238         ($(objpfx)check-localplt.out): Use localplt.data from vpath
30239         instead of $(check-data).
30240         * scripts/data/localplt-generic.data: Move to ...
30241         * sysdeps/generic/localplt.data: ... here.
30242         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30243         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30244         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30246         ... here.
30247         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30249         ... here.
30250         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30252         ... here.
30253         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30255         ... here.
30256         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30257         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30258         ... here.
30259         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30261         ... here.
30262
30263 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30264
30265         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30266         PPC32 and PPC64 files.
30267         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30268         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30269
30270 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30271
30272         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30273         __makecontext_ret to ...
30274         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30275         ... here and call exit if uc_link is NULL.  New file.
30276         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30277         __makecontext_ret.S.
30278         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30279         __makecontext_ret to ...
30280         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30281         ... here and call exit if uc_link is NULL.  New file.
30282         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30283         __makecontext_ret.S.
30284
30285 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30286
30287         * elf/elf.h (R_390_IRELATIVE): New definition.
30288         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30289         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
30290         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30291         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30292         (elf_machine_lazy_rel): Likewise.
30293         * sysdeps/s390/dl-irel.h: New file.
30294         * sysdeps/s390/s390-64/memcpy.S: New asm code.
30295         * sysdeps/s390/s390-64/memset.S: New asm code.
30296         * sysdeps/s390/s390-64/memcmp.S: New asm code.
30297         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30298         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30299         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30300         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30301         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30302         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30303         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30304         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30305         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30306         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30307         * sysdeps/s390/s390-32/memcpy.S: New asm code.
30308         * sysdeps/s390/s390-32/memset.S: New asm code.
30309         * sysdeps/s390/s390-32/memcmp.S: New asm code.
30310
30311 2012-07-17  Marek Polacek  <polacek@redhat.com>
30312
30313         [BZ #14349]
30314         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30315         * sysdeps/s390/s390-64/configure.in: Likewise.
30316         * sysdeps/sparc/configure.in: Likewise.
30317         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30318         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30319         * sysdeps/i386/configure.in: Likewise.
30320         * sysdeps/x86_64/configure.in: Likewise.
30321         * sysdeps/sh/configure.in: Likewise.
30322         * sysdeps/s390/s390-32/configure: Regenerated.
30323         * sysdeps/s390/s390-64/configure: Likewise.
30324         * sysdeps/x86_64/configure: Likewise.
30325         * sysdeps/sh/configure: Likewise.
30326         * sysdeps/powerpc/powerpc64/configure: Likewise.
30327         * sysdeps/powerpc/powerpc32/configure: Likewise.
30328         * sysdeps/sparc/configure: Likwise.
30329         * sysdeps/i386/configure: Likewise.
30330
30331         * elf/dl-open.c: Comment fixes.
30332
30333 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
30334
30335         * Makefile [CXX] (check-data): Remove.
30336         [CXX] (c++-types.data): New vpath directive.
30337         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30338         vpath.  Do not allow for C++ type data being missing.
30339         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30340         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30341         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30342         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30343         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30344         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30345         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30347         ... here.
30348         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30350         ... here.
30351         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30353         ... here.
30354         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30356         ... here.
30357         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30359         ... here.
30360         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30362         ... here.
30363         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30364         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30365         ... here.
30366         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30368
30369         * elf/tls-macros.h (TLS_LE): Move architecture-specific
30370         definitions to architecture-specific files.
30371         (TLS_IE): Likewise.
30372         (TLS_LD): Likewise.
30373         (TLS_GD): Likewise.
30374         * sysdeps/i386/tls-macros.h: New file.
30375         * sysdeps/powerpc/tls-macros.h: Likewise.
30376         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30377         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30378         * sysdeps/sh/tls-macros.h: Likewise.
30379         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30380         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30381         * sysdeps/x86_64/tls-macros.h: Likewise.
30382
30383 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30384
30385         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30386         zero value for regular exit case.
30387
30388         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30389         (__start_context): Preserve zero value for regular exit case.
30390
30391 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30392             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30393
30394         * manual/setjmp.texi (setcontext): Clarify normal process
30395         termination when uc_link is the null pointer.
30396         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30397         exit call.
30398
30399 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
30400
30401         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30402         preprocessor.  Test for each exception mask separately.
30403
30404 2012-07-16  Andreas Jaeger  <aj@suse.de>
30405
30406         * po/ru.po: Update from translation team.
30407
30408 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
30409
30410         * conform/data/string.h-data (NULL): Use macro-constant.  Require
30411         equal to 0.
30412         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30413         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30414         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30415         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30416         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30417
30418 2012-07-13  Andreas Jaeger  <aj@suse.de>
30419
30420         * po/fr.po: Update from translation team.
30421
30422 2012-07-12  Marek Polacek  <polacek@redhat.com>
30423
30424         [BZ #14173]
30425         * math/libm-test.inc (yn_test): Add test for BZ #14173.
30426         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30427         loop condition.
30428
30429 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
30430
30431         [BZ #13717]
30432         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30433         Change to 2.4.1 where previously 2.4.0.
30434         * sysdeps/unix/sysv/linux/configure: Regenerated.
30435         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30436         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30437         version.
30438         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30439         (__ASSUME_AT_CLKTCK): Remove.
30440         (__ASSUME_AT_PAGESIZE): Likewise.
30441         (__ASSUME_AT_XID): Likewise.
30442         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30443         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30444         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30445         unconditionally.
30446         (HAVE_AUX_PAGESIZE): Likewise.
30447         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30448         [__ASSUME_AT_CLKTCK]: Make code unconditional.
30449         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30450
30451 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
30452
30453         [BZ #14307]
30454         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30455         the temporary buffer used to invoke __gethostbyname2_r,
30456         __gethostbyaddr_r and gethostbyname4_r to make room for struct
30457         host_data / struct gaih_addrtuple.
30458         * resolv/nss_dns/dns-host.c (global scope): Move definition of
30459         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30460         header file nss/nsswitch.h.
30461         * nss/nsswitch.h (global scope): Add definition of implementation
30462         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30463         resolv/nss_dns/dns-host.c).
30464
30465 2012-07-11  Andreas Jaeger  <aj@suse.de>
30466
30467         * po/fr.po: Update from translation team.
30468
30469         * po/sv.po: Update from translation team
30470         * po/fr.po: Another update from translation team.
30471
30472 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30473
30474         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30475         for subnormals or multiply small sinh result by itself.
30476         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30477         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30478
30479 2012-07-11  David S. Miller  <davem@davemloft.net>
30480
30481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30482
30483 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
30484
30485         [BZ #14347]
30486         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30487         (INTERNAL_MARK): Shift it here.
30488
30489 2012-07-10  Marek Polacek  <polacek@redhat.com>
30490
30491         [BZ #14151]
30492         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
30493         libc_cv_asm_global_directive with .globl.
30494         * configure: Regenerated.
30495         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30496         with .globl.
30497         * sysdeps/i386/configure: Regenerated.
30498         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30499         with .globl.
30500         * sysdeps/x86_64/configure: Regenerated.
30501         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30502         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30503         * elf/tst-unique2mod2.c: Likewise.
30504         * elf/tst-unique2mod1.c: Likewise.
30505         * elf/tst-unique1mod2.c: Likewise.
30506         * elf/tst-unique1mod1.c: Likewise.
30507         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30508         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30509         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30510         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30511         * sysdeps/mach/sysdep.h: Likewise.
30512         * sysdeps/i386/sysdep.h: Likewise.
30513         * sysdeps/i386/i386-mcount.S: Likewise.
30514         * sysdeps/x86_64/_mcount.S: Likewise.
30515         * sysdeps/x86_64/sysdep.h: Likewise.
30516         * sysdeps/sh/_mcount.S: Likewise.
30517         * sysdeps/sh/sysdep.h: Likewise.
30518         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30519         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30520         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30521         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30522         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30523         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30524         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30525         * locale/localeinfo.h: Likewise.
30526         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30527         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30528
30529 2012-07-09  Roland McGrath  <roland@hack.frob.com>
30530
30531         [BZ #14336]
30532         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30533         system".
30534         * manual/message.texi (The Uniforum approach): Likewise.
30535         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30536         (glibc iconv Implementation): Likewise.
30537
30538 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
30539
30540         [BZ #14337]
30541         * math/s_clog.c (__clog): Avoid scaling a value down where that
30542         could result in underflow.
30543         * math/s_clog10.c (__clog10): Likewise.
30544         * math/s_clog10f.c (__clog10f): Likewise.
30545         * math/s_clog10l.c (__clog10l): Likewise.
30546         * math/s_clogf.c (__clogf): Likewise.
30547         * math/s_clogl.c (__clogl): Likewise.
30548         * math/libm-test.inc (clog_test): Add more tests.
30549         (clog10_test): Likewise.
30550         * sysdeps/i386/fpu/libm-test-ulps: Update.
30551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30552
30553 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
30554
30555         [BZ #14283]
30556         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30557         by 7 not 8 to examine high bit of fractional part.
30558
30559         [BZ #14042]
30560         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30561         for call to __mcount_internal.
30562         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30563         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30564         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30565
30566 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
30567
30568         [BZ #14154]
30569         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30570         approximation for values within 0x1p-13f of an odd multiple of
30571         pi/4.
30572         * math/libm-test.inc (tan_test): Do not allow spurious underflow
30573         exception.  Add more tests.
30574         * sysdeps/i386/fpu/libm-test-ulps: Update.
30575
30576         [BZ #6778]
30577         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30578         inputs and return -1 for them.  Do not check for +Inf in case not
30579         reachable for +Inf.
30580         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30581         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30582         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30583         and return -1 for them.  Do not check for +Inf in case not
30584         reachable for +Inf.
30585         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30586         define.
30587         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30588         and return -1 for them.  Do not check for +Inf in case not
30589         reachable for +Inf.
30590         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
30591         spurious underflow.
30592         * sysdeps/i386/fpu/libm-test-ulps: Update.
30593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30594
30595 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
30596
30597         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30598
30599 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
30600
30601         [BZ #14157]
30602         [BZ #14331]
30603         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30604         could result in spurious underflow.  Scale down values above
30605         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30606         * math/s_csqrtf.c (__csqrtf): Likewise.
30607         * math/s_csqrtl.c (__csqrtl): Likewise.
30608         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
30609         spurious underflow.
30610         * sysdeps/i386/fpu/libm-test-ulps: Update.
30611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30612
30613 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
30614
30615         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30616         xopen-msg.sed.
30617         * catgets/xopen-msg.awk: New file.
30618         * catgets/xopen-msg.sed: Removed.
30619
30620         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30621         po2text.sed.
30622         * intl/po2test.awk: New file.
30623         * intl/po2test.sed: Removed.
30624
30625 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
30626
30627         [BZ #14328]
30628         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30629         or multiply small sinh result by itself.
30630         * math/s_ctanf.c (__ctanf): Likewise.
30631         * math/s_ctanh.c (__ctanh): Likewise.
30632         * math/s_ctanhf.c (__ctanhf): Likewise.
30633         * math/s_ctanhl.c (__ctanhl): Likewise.
30634         * math/s_ctanl.c (__ctanl): Likewise.
30635         * math/libm-test.inc (ctan_test_tonearest): New function.
30636         (ctan_test_towardzero): Likewise.
30637         (ctan_test_downward): Likewise.
30638         (ctan_test_upward): Likewise.
30639         (ctanh_test_tonearest): Likewise.
30640         (ctanh_test_towardzero): Likewise.
30641         (ctanh_test_downward): Likewise.
30642         (ctanh_test_upward): Likewise.
30643         (main): Call these new functions.
30644         * sysdeps/i386/fpu/libm-test-ulps: Update.
30645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30646
30647 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
30648
30649         * .gitignore: Delete /ports entry.
30650
30651 2012-07-03  Andreas Jaeger  <aj@suse.de>
30652
30653         * po/bg.po: Update from translation team.
30654         * po/cs.po: Likewise.
30655         * po/de.po: Likewise.
30656         * po/hr.po: Likewise.
30657         * po/nl.pl: Likewise.
30658         * po/pl.po: Likewise.
30659         * po/vi.po: Likewise.
30660
30661 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
30662
30663         * Makeconfig [!+link] (+link-before-libc): New variable.
30664         [!+link] (+link-after-libc): Likewise.
30665         [!+link] (+link-tests): Likewise.
30666         [!+link] (+link): Define in terms of $(+link-before-libc) and
30667         $(+link-after-libc).
30668         [!+link-static] (+link-static-before-libc): New variable.
30669         [!+link-static] (+link-static-after-libc): Likewise.
30670         [!+link-static] (+link-static-tests): Likewise.
30671         [!+link-static] (+link-static): Define in terms of
30672         $(+link-static-before-libc) and $(+link-static-after-libc).
30673         [build-shared] (link-libc-before-gnulib): New variable.
30674         [build-shared] (link-libc-tests): Likewise.
30675         [build-shared] (link-libc): Define in terms of
30676         $(link-libc-before-gnulib).
30677         [!build-shared] (link-libc-tests): New variable.
30678         (link-libc-static-tests): New variable.
30679         [!gnulib] (gnulib-arch): New variable.
30680         [!gnulib] (gnulib-tests): Likewise.
30681         [!gnulib] (static-gnulib-arch): Likewise.
30682         [!gnulib] (static-gnulib-tests): Likewise.
30683         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
30684         Define with "=" instead of ":=".
30685         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
30686         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
30687         * Rules (binaries-all-notests): New variable.
30688         (binaries-all-tests): Likewise.
30689         (binaries-static-notests): Likewise.
30690         (binaries-static-tests): Likewise.
30691         (binaries-all): Define using $(binaries-all-notests) and
30692         $(binaries-all-tests).
30693         (binaries-static): Define using $(binaries-static-notests) and
30694         $(binaries-static-tests).
30695         (binaries-shared-tests): New variable.
30696         (binaries-shared-notests): Likewise.
30697         (binaries-shared): Remove variable.
30698         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30699         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30700         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30701         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30702         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30703         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30704         * elf/Makefile (sln-modules): New variable.
30705         (extra-objs): Add $(sln-modules:=.o).
30706         (ldconfig-modules): Add static-stubs.
30707         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30708         * elf/static-stubs.c: New file.
30709
30710         [BZ #14283]
30711         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30712         by 7 not 8 to examine high bit of fractional part.  Use volatile
30713         variables when splitting into final array of floats if
30714         __FLT_EVAL_METHOD__ != 0.
30715         * math/libm-test.inc (cos_test): Add another test.
30716         (sin_test): Likewise.
30717         * sysdeps/i386/fpu/libm-test-ulps: Update.
30718
30719         [BZ #14273]
30720         * math/libm-test.inc (cosh_test): Add more tests.
30721
30722         * version.h (RELEASE): Set to "development".
30723         (VERSION): Set to "2.16.90".
30724
30725 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
30726
30727         * NEWS: Update copyright. Remove last-updated date.
30728         Mention math library bug fixes and timezone data changes.
30729         * README: Mention GNU/Hurd, x32, and HPPA support status.
30730
30731 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
30732
30733         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30734
30735 2012-06-27  Andreas Jaeger  <aj@suse.de>
30736
30737         * manual/contrib.texi (Contributors): Add Samuel Thibault.
30738
30739 2012-06-25  Andreas Jaeger  <aj@suse.de>
30740
30741         * sysdeps/s390/fpu/libm-test-ulps: Update.
30742
30743 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
30744             Thomas Schwinge  <thomas@codesourcery.com>
30745
30746         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30747         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30748         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30749         fanotify_mark.
30750
30751 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
30752
30753         * sysdeps/mach/start.c: Remove file.
30754         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30755         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30756         * sysdeps/sh/init-first.c: Likewise.
30757
30758         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30759         registers for frame unwinding purposes, add CFI directives.
30760         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30761         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30762         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30763         Likewise.
30764
30765         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30766         __fortify_fail returning.
30767         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30768
30769         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30770         sysdeps/sh/____longjmp_chk.S.
30771         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30772         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30773         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30774         (gen-as-const-headers): Append sigaltstack-offsets.sym.
30775
30776         * sysdeps/sh/abort-instr.h: New file.
30777         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30778         process in case exit returns.
30779
30780         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30781         initialize the GOT register before use.
30782
30783         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30784         calculation of ARGC > 4.
30785
30786         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30787         meaningful names to some local labels.
30788
30789 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30790             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30791
30792         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30793         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30794         (__arch_compare_and_exchange_val_16_acq): Likewise.
30795         (__arch_compare_and_exchange_val_32_acq): Likewise.
30796         (atomic_exchange_and_add): Fix gUSA sequence.
30797         (atomic_add): Likewise.
30798         (atomic_add_negative): Likewise.
30799         (atomic_add_zero): Likewise.
30800         (atomic_bit_test_set): Likewise.
30801
30802 2012-06-22  Andreas Schwab  <schwab@redhat.com>
30803
30804         [BZ #13579]
30805         * include/link.h (struct link_map): Add l_free_initfini.
30806         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30807         l_initfini.
30808         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30809         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30810         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30811         set.
30812
30813 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
30814
30815         * configure.in: Use AC_LANG_SOURCE.
30816         * configure: Regenerate.
30817
30818 2012-06-22  Roland McGrath  <roland@hack.frob.com>
30819
30820         * configure.in (libc_cv_localstatedir): New substituted variable.
30821         * configure: Regenerated.
30822         * config.make.in (localstatedir): New variable, substituted from
30823         libc_cv_localstatedir.
30824         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30825         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30826         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30827         * sysdeps/gnu/configure: Regenerated.
30828
30829 2012-06-21  Jeff Law  <law@redhat.com>
30830
30831         [BZ #14277]
30832         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30833         free.  Simplify list management for _LIBC case.
30834
30835 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
30836
30837         [BZ #14273]
30838         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30839         Clear sign bit of 64-bit integer value before comparing against
30840         overflow value.
30841
30842         * sysdeps/mach/configure: Regenerated.
30843
30844 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
30845
30846         [BZ #14278]
30847         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30848
30849 2012-06-21  Jeff Law  <law@redhat.com>
30850
30851         [BZ #13882]
30852         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
30853         uint16_t for elements in the "seen" array to avoid char overflows.
30854         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30855         * elf/dl-open.c (dl_open_worker): Likewise.
30856
30857 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
30858
30859         * scripts/list-sources.sh: Scan PORTS for translations.
30860         * po/libc.pot: Regenerated.
30861
30862 2012-06-21  Andreas Jaeger  <aj@suse.de>
30863
30864         [BZ #12194]
30865         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30866         warning.
30867         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30868         * bits/byteswap-16.h (__bswap_16): Likewise.
30869         * bits/byteswap.h (__bswap_constant_16): Likewise.
30870
30871 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
30872
30873         [BZ #14117]
30874         * sysdeps/i386/fpu_control.h: Removed.
30875         * sysdeps/x86_64/fpu_control.h: Moved to ...
30876         * sysdeps/x86/fpu_control.h: Here.
30877
30878         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30879         (_FPU_SETCW): Likewise.
30880
30881 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
30882
30883         [BZ #14117]
30884         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30885         * sysdeps/x86/fpu/bits/mathinline.h: This.
30886         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30887
30888         [BZ #14050]
30889         [BZ #14117]
30890         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30891         functions if __x86_64__ is defined.
30892
30893 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
30894
30895         * string/endian.h: Add !__ASSEMBLER__ condition for including
30896         conversion interfaces.
30897
30898 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
30899
30900         [BZ #14241]
30901         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30902         of ABS(x) in calculating zero to negative powers other than odd
30903         integers.
30904         * math/libm-test.inc (pow_test): Add more tests.
30905
30906 2012-06-15  Andreas Jaeger  <aj@suse.de>
30907
30908         * manual/contrib.texi (Contributors): Update entry of Liubov
30909         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30910         Machado Filho.
30911
30912 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
30913
30914         * string/string.h: Add __wur to GNU version of strerror_r.
30915
30916 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
30917
30918         [BZ #14229]
30919         * string/Makefile (tests): Add tst-strtok_r.
30920         * string/tst-strtok_r.c: New file.
30921         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30922         RAX_LP/RDX_LP on SAVE_PTR.
30923
30924 2012-06-14  Roland McGrath  <roland@hack.frob.com>
30925
30926         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30927
30928 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
30929
30930         * libm_test.inc (csqrt_test): Allow more spurious underflow
30931         exceptions.
30932         (j0_test): Likewise.
30933         (j1_test): Likewise.
30934         (y0_test): Likewise.
30935         (y1_test): Likewise.
30936
30937 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
30938
30939         * po/Makefile (libc.pot): Use UTF-8 charset.
30940
30941 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
30942
30943         [BZ #14210]
30944         Suppress sign-conversion warning from FD_SET.
30945         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30946         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30947         not unsigned long int.
30948         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30949
30950 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
30951
30952         [BZ #14050]
30953         [BZ #14117]
30954         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30955         __extern_always_inline instead of __extern_inline.
30956         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30957         (__signbit): Likewise.
30958         (__signbitl): Support C++ namespace.
30959         (lrintf): New inline function.
30960         (lrint): Likewise.
30961         (llrintf): Likewise.
30962         (llrint): Likewise.
30963         (fmaxf): Likewise.
30964         (fmax): Likewise.
30965         (fminf): Likewise.
30966         (fmin): Likewise.
30967         (rint): Likewise.
30968         (rintf): Likewise.
30969         (ceil): Likewise.
30970         (ceilf): Likewise.
30971         (floor): Likewise.
30972         (floorf): Likewise.
30973         (nearbyint): Likewise.
30974         (nearbyintf): Likewise.
30975
30976 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
30977
30978         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30979         non-default versions.
30980
30981 2012-06-11  Roland McGrath  <roland@hack.frob.com>
30982
30983         [BZ #14218]
30984         * manual/argp.texi (Argp): Reword argp_parse description slightly.
30985
30986 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
30987
30988         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30989         (FE_UPWARD, FE_DOWNWARD): Don't define.
30990         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30991         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30992
30993         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30994         reading it.
30995         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30996         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30997
30998 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30999
31000         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31001         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31002         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31003         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31004
31005 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
31006
31007         [BZ #14117]
31008         * sysdeps/i386/fpu/bits/fenv.h: Removed.
31009         * sysdeps/i386/fpu/Implies: New file.
31010         * sysdeps/x86_64/fpu/Implies: Likewise.
31011         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31012         * sysdeps/x86/fpu/bits/fenv.h: This.
31013
31014         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31015         __SSE_MATH__.
31016
31017 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31018
31019         [BZ #14134]
31020         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31021         character 0xffff that matches the last element of the
31022         conversion table.
31023
31024 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31025
31026         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31027         fmodl commit.
31028
31029 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31030
31031         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31032         values higher than 25.6283.
31033
31034 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31035
31036         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31037         subnormal exponent extraction and add some __builtin_expect.
31038         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31039         Fix for subnormal mantissa calculation.
31040
31041 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
31042
31043         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31044         cpu2 is -1 and errno is not ENOSYS.
31045
31046 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
31047
31048         [BZ #14117]
31049         * sysdeps/i386/i486/bits/string.h: Renamed to ...
31050         * sysdeps/x86/bits/string.h: This.
31051         * sysdeps/x86_64/bits/string.h: Removed.
31052
31053         * sysdeps/i386/i486/bits/string.h: Define inline functions only
31054         if not compiling for x86-64, but compiling for >= i486.
31055
31056         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31057         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31058
31059         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31060         New macro from Linux kernel 3.4.0.
31061         (FP_XSTATE_MAGIC2): Likewise.
31062         (FP_XSTATE_MAGIC2_SIZE): Likewise.
31063         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31064         (struct _fpx_sw_bytes): New struct.
31065         (struct _xsave_hdr): Likewise.
31066         (struct _ymmh_state): Likewise.
31067         (struct _xstate): Likewise.
31068
31069         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31070         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31071         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31072         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31073         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31074         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31075
31076         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31077         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31078         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31079         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31080         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31081         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31082
31083 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31084
31085         [BZ #13743]
31086         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31087         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31088         (sysdep_headers): Include sys/platform/ppc.h.
31089         * sysdeps/powerpc/test-gettimebase.c: Test for
31090         __ppc_get_timebase() to catch future ISA opcode/insn changes.
31091         * manual/Makefile (appendices): Include platform.texi.
31092         * manual/contrib.texi (Contributors): Update @node pointers.
31093         * manual/maint.texi (Maintenance): Likewise.
31094         (Platform): New node.
31095         * manual/platform.texi: New file.  Document the new features.
31096
31097 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31098             Jakub Jelinek  <jakub@redhat.com>
31099
31100         [BZ #14188]
31101         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31102         where __builtin_expect is unavailable.
31103
31104 2012-06-03  David S. Miller  <davem@davemloft.net>
31105
31106         * stdlib/longlong.h: Updated from GCC.
31107
31108 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
31109
31110         [BZ #14042]
31111         * sysdeps/powerpc/powerpc32/mcount.c: New file.
31112         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31113         __mcount_internal.
31114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31115         (GLIBC_2.16): Likewise.
31116
31117 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31118
31119         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31120
31121 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31122
31123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31124         (default-abi): New variable.
31125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31126         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31127         variable.
31128         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31129         Likewise.
31130         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31131         Likewise.
31132         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31133         Likewise.
31134
31135         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31136         definition.  Document in comment.
31137
31138 2012-06-01  David S. Miller  <davem@davemloft.net>
31139
31140         * stdlib/longlong.h: Updated from GCC.
31141
31142 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31143
31144         [BZ #14117]
31145         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31146         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31147         sys/debugreg.h sys/io.h here.
31148         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31149         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31150         sys/io.h.
31151         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31152         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31153         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31154         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31155         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31156         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31157
31158         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31159         Define only if __x86_64__ is defined.
31160
31161 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31162
31163         [BZ #14048]
31164         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31165         Use int64_t for variable i.
31166         * math/libm-test.inc (fmod_test): Add more tests.
31167
31168         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31169         z computation is not scheduled after fetestexcept.
31170         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31171         Use math_force_eval instead of asm to ensure calculation scheduled
31172         before exception test.
31173         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31174         Ensure a1 + u.d computation is not scheduled after fetestexcept.
31175
31176 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
31177
31178         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31179         computation is not scheduled after fetestexcept.
31180
31181 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31182
31183         [BZ #14117]
31184         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31185         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31186
31187 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31188
31189         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31190         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31191
31192 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31193
31194         [BZ #14117]
31195         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31196         <bits/wordsize.h>.
31197         (__WCHAR_MIN): Support __WORDSIZE == 64.
31198         (__WCHAR_MAX): Likewise.
31199
31200         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31201         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31202
31203         [BZ #14183]
31204         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31205         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31206
31207         [BZ #14117]
31208         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31209         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31210
31211         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31212         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31213
31214         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31215         Defined to 1 if __x86_64__ isn't defined.
31216         (_STAT_VER_LINUX_OLD): New.
31217         (st_atime): Remove duplicate.
31218         (st_mtime): Likewise.
31219         (st_ctime): Likewise.
31220
31221 2012-05-31  David S. Miller  <davem@davemloft.net>
31222
31223         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31224         entries.
31225
31226 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
31227
31228         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31229         gen-libm-test.pl.
31230
31231         [BZ #14132]
31232         * elf/dl-reloc.c: Include <_itoa.h>.
31233         (_dl_reloc_bad_type): Remove use of INTUSE.
31234         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31235         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31236         * stdio-common/psiginfo.c (psiginfo): Likewise.
31237         * stdio-common/psignal.c (psignal): Likewise.
31238         * string/strsignal.c (strsignal): Likewise.
31239         * include/signal.h (_sys_siglist): Declare hidden proto.
31240         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
31241         INTVARDEF with libc_hidden_data_def.
31242         * stdio-common/itoa-udigits.c: Likewise.
31243         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31244         (_itoa_lower_digits_internal): Remove declaration.
31245         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31246         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31247         (_sys_sigabbrev_internal): Remove aliases.
31248         (_sys_siglist): Define hidden alias.
31249
31250 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
31251
31252         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31253         bits/sysctl.h.
31254
31255 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31256
31257         [BZ #14117]
31258         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31259         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31260
31261         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31262         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31263         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31264         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31265         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31266         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31267
31268         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31269         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31270         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31271
31272         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31273         with __addr.
31274         (insw): Likewise.
31275         (insl): Likewise.
31276         (outsb): Likewise.
31277         (outsw): Likewise.
31278         (outsl): Likewise.
31279
31280         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31281         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31282         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31283
31284         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31285         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31286         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31287         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31288         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31289         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31290
31291         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31292         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31293
31294         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31295         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31296
31297         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31298         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31299         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31300
31301         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31302         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31303         to ...
31304         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31305
31306         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31307         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31308         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31309
31310         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31311         for x86-64.
31312         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31313
31314 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
31315
31316         * math/math.h (M_El): Use two more decimal places.
31317         (M_LOG2El): Likewise.
31318         (M_LOG10El): Likewise.
31319         (M_LN2l): Likewise.
31320         (M_LN10l): Likewise.
31321         (M_PIl): Likewise.
31322         (M_PI_2l): Likewise.
31323         (M_PI_4l): Likewise.
31324         (M_1_PIl): Likewise.
31325         (M_2_PIl): Likewise.
31326         (M_2_SQRTPIl): Likewise.
31327         (M_SQRT2l): Likewise.
31328         (M_SQRT1_2l): Likewise.
31329
31330 2012-05-31  David S. Miller  <davem@davemloft.net>
31331
31332         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31333         values between float registers.
31334         * sysdeps/sparc/sparc64/memset.S: Likewise.
31335         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31336
31337 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
31338
31339         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31340         -D_FORTIFY_SOURCE=1.
31341         (CPPFLAGS-tst-longjmp_chk.c): Define.
31342         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31343         (CPPFLAGS-tst-longjmp_chk2.c): Define.
31344         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31345         CFLAGS-tst-wchar-h.c.
31346
31347 2012-05-31  Marek Polacek  <polacek@redhat.com>
31348
31349         [BZ #14132]
31350         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31351         __endmntent_internal): Remove declaration.
31352         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31353         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31354         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31355
31356 2012-05-30  David S. Miller  <davem@davemloft.net>
31357
31358         * sysdeps/sparc/sparc32/soft-fp/q_util.c
31359         (___Q_simulate_exceptions): Use real FP ops rather than writing
31360         into the %fsr.
31361         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31362         Likewise.
31363
31364 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31365
31366         [BZ #14117]
31367         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31368         * sysdeps/x86/bits/xtitypes.h: This.
31369
31370         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31371         * sysdeps/x86/bits/wordsize.h: This.
31372
31373         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31374         * sysdeps/x86/bits/huge_vall.h: This.
31375
31376         * sysdeps/i386/bits/select.h: Removed.
31377         * sysdeps/x86_64/bits/select.h: Renamed to ...
31378         * sysdeps/x86/bits/select.h: This.
31379
31380         * sysdeps/i386/bits/setjmp.h: Removed.
31381         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31382         * sysdeps/x86/bits/setjmp.h: This.
31383
31384         * sysdeps/i386/bits/mathdef.h: Removed.
31385         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31386         * sysdeps/x86/bits/mathdef.h: This.
31387
31388 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
31389
31390         [BZ #14132]
31391         * include/sys/socket.h (__connect_internal)
31392         (__libc_sa_len_internal): Remove declaration.
31393         (__connect, __libc_sa_len): Declare hidden_proto.
31394         (SA_LEN): Remove use of INTUSE.
31395         * socket/connect.c: Add libc_hidden_def.
31396         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31397         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31398         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31399         alias.
31400         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31401         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31402         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31403         of adding _internal alias.
31404
31405 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31406
31407         [BZ #14117]
31408         * sysdeps/i386/bits/link.h: Removed.
31409         * sysdeps/i386/bits/linkmap.h: Likewise.
31410         * sysdeps/x86_64/bits/link.h: Renamed to ...
31411         * sysdeps/x86/bits/link.h: This.
31412         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31413         * sysdeps/x86/bits/linkmap.h: This.
31414
31415         * sysdeps/i386/bits/endian.h: Removed.
31416         * sysdeps/x86_64/bits/endian.h: Renamed to ...
31417         * sysdeps/x86/bits/endian.h: This.
31418
31419         * sysdeps/i386/bits/byteswap.h: Removed.
31420         * sysdeps/i386/bits/byteswap-16.h: Likewise.
31421         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31422         * sysdeps/x86/bits/byteswap.h: This.
31423         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31424         * sysdeps/x86/bits/byteswap-16.h: This.
31425         * sysdeps/i386/Implies: Add x86.
31426         * sysdeps/x86_64/Implies: Likewise.
31427
31428 2012-05-30  David S. Miller  <davem@davemloft.net>
31429
31430         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31431         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31432         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31433         (FP_TRAPPING_EXCEPTIONS): Define.
31434         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31435         (FP_TRAPPING_EXCEPTIONS): Define.
31436         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31437         subnormals only when inexact has been signalled or underflow
31438         exceptions are enabled.
31439         (_FP_PACK_CANONICAL): Likewise.
31440
31441 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31442
31443         [BZ #14183]
31444         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31445         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31446
31447 2012-05-30  Richard Henderson  <rth@twiddle.net>
31448
31449         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31450         with #ifndef NOT_IN_libc.
31451
31452         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
31453         marked to avoid plt entry.
31454
31455 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31456
31457         [BZ #14112]
31458         * Makeconfig (default-abi): New macro.
31459         (abi-includes): Likewise.
31460         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
31461         $(abi-$(default-abi)-lib-soname) for soname if defined.
31462         ($(common-objpfx)gnu/lib-names.stmp): Generate from
31463         abi-variants.
31464         * Makefile (installed-stubs): Likewise.
31465         * include/stubs-biarch.h: Removed.
31466         * scripts/lib-names.awk: Only handle one library at a time.
31467         * scripts/soversions.awk: Remove WORDSIZE support.
31468         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31469         entries.
31470         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31471         Removed.
31472         (syscall-list-default-condition): Likewise.
31473         (syscall-list-default-condition): Likewise.
31474         (syscall-list-includes): Likewise.
31475         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31476         syscall-list-* with abi-*.  Handle undefined abi-variants.
31477         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31478         * sysdeps/unix/sysv/linux/i386/Implies: New file.
31479         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31480         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31481         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31482         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31483         Removed.
31484         (syscall-list-32-options): Likewise.
31485         (syscall-list-32-condition): Likewise.
31486         (syscall-list-64-options): Likewise.
31487         (syscall-list-64-condition): Likewise.
31488         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31489         macro.
31490         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31491         Renamed to ...
31492         (abi-*): This.
31493         (abi-64-ld-soname): New macro.
31494         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31495         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31496         Renamed to ...
31497         (abi-*): This.
31498         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31499         * sysdeps/x86_64/x32/shlib-versions: Likewise.
31500
31501 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
31502
31503         * sysdeps/unix/sysv/linux/kernel-features.h
31504         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31505         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31506         include <kernel-features.h>.
31507         [!__NR_ftruncate64]: Remove conditional code.
31508         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31509         [__NR_ftruncate64]: Make code unconditional.
31510         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31511         * sysdeps/unix/sysv/linux/truncate64.c: Do not
31512         include <kernel-features.h>.
31513         [!__NR_ftruncate64]: Remove conditional code.
31514         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31515         [__NR_ftruncate64]: Make code unconditional.
31516         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31518         include <kernel-features.h>.
31519         [!__NR_ftruncate64]: Remove conditional code.
31520         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31521         [__NR_ftruncate64]: Make code unconditional.
31522         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31524         include <kernel-features.h>.
31525         [!__NR_ftruncate64]: Remove conditional code.
31526         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31527         [__NR_ftruncate64]: Make code unconditional.
31528         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31529
31530         * configure.in (libc_cv_fpie): Weaken to a compile test using
31531         LIBC_TRY_CC_OPTION.
31532         * configure: Regenerated.
31533
31534 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31535
31536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31540         Refreshed.
31541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31545         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31547         Refreshed.
31548
31549 2012-05-27  David S. Miller  <davem@davemloft.net>
31550
31551         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31552         (___Q_zero): New.
31553         (__Q_simulate_exceptions): Return void.  Change to simulate
31554         exceptions by writing into the %fsr.
31555         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31556         (__Qp_handle_exceptions): Likewise.
31557         (numbers): Delete.
31558         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31559         __Qp_handle_exceptions.
31560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31561         __Qp_handle_exceptions.
31562         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31563         as unused and give dummy FP_RND_NEAREST initializer.
31564         (FP_INHIBIT_RESULTS): Define.
31565         (___Q_simulate_exceptions): Update declaration.
31566         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31567         formatting.
31568         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31569         as unused and give dummy FP_RND_NEAREST initializer.
31570         (__Qp_handle_exceptions): Update declaration.
31571         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31572         formatting.
31573
31574 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
31575
31576         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31577         the temporary FPU control word.
31578         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31579         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31580         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31581         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31582         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31583         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31584         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31585         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31586         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31587         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31588         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31589
31590 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31591
31592         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31593         fields.
31594
31595 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
31596
31597         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31598         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31599         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31600         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31601         Likewise.
31602         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31603         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31604         Likewise.
31605
31606 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
31607
31608         * po/h.po: Update from translation team.
31609
31610 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
31611
31612         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31613
31614         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31615         handling of denormals.
31616         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31617         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31618         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31619         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31620         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31621         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31622         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31623         Likewise.
31624
31625 2012-05-26  Marek Polacek  <polacek@redhat.com>
31626
31627         [BZ #14152]
31628         * math/libm-test.inc (fma_test): Don't always expect underflow
31629         exception.
31630
31631 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31632
31633         [BZ #12416]
31634         * elf/tst-execstack.c: Include stackinfo.h.
31635         (do_test): Adjust test case to ensure that pthread_getattr_np
31636         behaviour remains the same after marking stack executable.
31637
31638 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
31639
31640         * sysdeps/unix/sysv/linux/kernel-features.h
31641         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31642         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31643         kernel-features.h.
31644         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31645         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31646         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31647         kernel-features.h.
31648         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31649         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31650
31651 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
31652
31653         * configure.in: Define the default includes to being none.
31654         * configure: Regenerated.
31655
31656 2012-05-25  Roland McGrath  <roland@hack.frob.com>
31657
31658         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31659         * sysdeps/x86_64/setjmp.S: Likewise.
31660         * sysdeps/i386/bsd-setjmp.S: Likewise.
31661         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31662         * sysdeps/i386/setjmp.S: Likewise.
31663         * sysdeps/i386/__longjmp.S: Likewise.
31664         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31665         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31666
31667         * include/stap-probe.h: New file.
31668         * configure.in: Handle --enable-systemtap.
31669         * configure: Regenerated.
31670         * config.h.in (USE_STAP_PROBE): New #undef.
31671         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31672         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31673         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31674
31675 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
31676
31677         [BZ #13717]
31678         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31679         to 2.4.0 where earlier.
31680         * sysdeps/unix/sysv/linux/configure: Regenerated.
31681         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
31690         [__ASSUME_32BITUIDS]: Make code unconditional.
31691         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31692         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31693         <kernel-features.h>.
31694         [__ASSUME_32BITUIDS]: Make code unconditional.
31695         [!__ASSUME_32BITUIDS]: Remove conditional code.
31696         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31697         <kernel-features.h>.
31698         [__ASSUME_32BITUIDS]: Make code unconditional.
31699         [!__ASSUME_32BITUIDS]: Remove conditional code.
31700         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31701         <kernel-features.h>.
31702         [__ASSUME_32BITUIDS]: Make code unconditional.
31703         [!__ASSUME_32BITUIDS]: Remove conditional code.
31704         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31705         <kernel-features.h>.
31706         [__ASSUME_32BITUIDS]: Make code unconditional.
31707         [!__ASSUME_32BITUIDS]: Remove conditional code.
31708         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31709         <kernel-features.h>.
31710         [__ASSUME_32BITUIDS]: Make code unconditional.
31711         [!__ASSUME_32BITUIDS]: Remove conditional code.
31712         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31713         <kernel-features.h>.
31714         [__ASSUME_32BITUIDS]: Make code unconditional.
31715         [!__ASSUME_32BITUIDS]: Remove conditional code.
31716         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31717         <kernel-features.h>.
31718         [__ASSUME_32BITUIDS]: Make code unconditional.
31719         [!__ASSUME_32BITUIDS]: Remove conditional code.
31720         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31721         <kernel-features.h>.
31722         [__ASSUME_32BITUIDS]: Make code unconditional.
31723         [!__ASSUME_32BITUIDS]: Remove conditional code.
31724         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31725         <kernel-features.h>.
31726         [__ASSUME_32BITUIDS]: Make code unconditional.
31727         [!__ASSUME_32BITUIDS]: Remove conditional code.
31728         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31729         <kernel-features.h>.
31730         [__ASSUME_32BITUIDS]: Make code unconditional.
31731         [!__ASSUME_32BITUIDS]: Remove conditional code.
31732         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31733         <kernel-features.h>.
31734         [__NR_setresgid] (__setresgid): Do not declare.
31735         [__ASSUME_32BITUIDS]: Make code unconditional.
31736         [!__ASSUME_32BITUIDS]: Remove conditional code.
31737         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31738         <kernel-features.h>.
31739         [__NR_setresuid] (__setresuid): Do not declare.
31740         [__ASSUME_32BITUIDS]: Make code unconditional.
31741         [!__ASSUME_32BITUIDS]: Remove conditional code.
31742         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31743         <kernel-features.h>.
31744         [__ASSUME_32BITUIDS]: Make code unconditional.
31745         [!__ASSUME_32BITUIDS]: Remove conditional code.
31746         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31747         <kernel-features.h>.
31748         [__ASSUME_32BITUIDS]: Make code unconditional.
31749         [!__ASSUME_32BITUIDS]: Remove conditional code.
31750         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31751         <kernel-features.h>.
31752         [__ASSUME_32BITUIDS]: Make code unconditional.
31753         [!__ASSUME_32BITUIDS]: Remove conditional code.
31754         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31755         <kernel-features.h>.
31756         [__ASSUME_32BITUIDS]: Make code unconditional.
31757         [!__ASSUME_32BITUIDS]: Remove conditional code.
31758         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31759         <kernel-features.h>.
31760         [__ASSUME_32BITUIDS]: Make code unconditional.
31761         [!__ASSUME_32BITUIDS]: Remove conditional code.
31762         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31763         <kernel-features.h>.
31764         [__ASSUME_32BITUIDS]: Make code unconditional.
31765         [!__ASSUME_32BITUIDS]: Remove conditional code.
31766         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31767         <kernel-features.h>.
31768         [__ASSUME_32BITUIDS]: Make code unconditional.
31769         [!__ASSUME_32BITUIDS]: Remove conditional code.
31770         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31771         <kernel-features.h>.
31772         [__ASSUME_32BITUIDS]: Make code unconditional.
31773         [!__ASSUME_32BITUIDS]: Remove conditional code.
31774         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31775         <kernel-features.h>.
31776         [__ASSUME_32BITUIDS]: Make code unconditional.
31777         [!__ASSUME_32BITUIDS]: Remove conditional code.
31778         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31779         <kernel-features.h>.
31780         [__ASSUME_32BITUIDS]: Make code unconditional.
31781         [!__ASSUME_32BITUIDS]: Remove conditional code.
31782         * sysdeps/unix/sysv/linux/kernel-features.h
31783         (__ASSUME_SETRESUID_SYSCALL): Remove.
31784         (__ASSUME_SETRESGID_SYSCALL): Likewise.
31785         (__ASSUME_32BITUIDS): Likewise.
31786         (__ASSUME_LDT_WORKS): Likewise.
31787         (__ASSUME_O_DIRECTORY): Likewise.
31788         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31789         architecture but not kernel version.
31790         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31791         (__ASSUME_MMAP2_SYSCALL): Likewise.
31792         (__ASSUME_STAT64_SYSCALL): Likewise.
31793         (__ASSUME_IPC64): Likewise.
31794         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31795         <kernel-features.h>.
31796         [__ASSUME_32BITUIDS]: Make code unconditional.
31797         [!__ASSUME_32BITUIDS]: Remove conditional code.
31798         * sysdeps/unix/sysv/linux/opendir.c: Do not include
31799         <kernel-features.h>.
31800         [__ASSUME_O_DIRECTORY]: Make code unconditional.
31801         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31802         132096]: Remove conditional code.
31803         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31804         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31805         <kernel-features.h>.
31806         [__ASSUME_32BITUIDS]: Make code unconditional.
31807         [!__ASSUME_32BITUIDS]: Remove conditional code.
31808         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31809         <kernel-features.h>.
31810         [__ASSUME_32BITUIDS]: Make code unconditional.
31811         [!__ASSUME_32BITUIDS]: Remove conditional code.
31812         * sysdeps/unix/sysv/linux/setegid.c: Do not include
31813         <kernel-features.h>.
31814         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31815         unconditional.
31816         (__setresgid): Do not declare.
31817         [__ASSUME_32BITUIDS]: Make code unconditional.
31818         [!__ASSUME_32BITUIDS]: Remove conditional code.
31819         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31820         <kernel-features.h>.
31821         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31822         unconditional.
31823         (__setresuid): Do not declare.
31824         [__ASSUME_32BITUIDS]: Make code unconditional.
31825         [!__ASSUME_32BITUIDS]: Remove conditional code.
31826         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31827         <kernel-features.h>.
31828         [__ASSUME_32BITUIDS]: Make code unconditional.
31829         [!__ASSUME_32BITUIDS]: Remove conditional code.
31830         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31831         <kernel-features.h>.
31832         [__ASSUME_32BITUIDS]: Make code unconditional.
31833         [!__ASSUME_32BITUIDS]: Remove conditional code.
31834
31835 2012-05-25  Richard Henderson  <rth@twiddle.net>
31836
31837         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31838         dl_hwcap to ifunc resolver.
31839         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31840         elf_ifunc_invoke.
31841         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31842         dl_hwcap to ifunc resolver.
31843         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31844
31845 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31846
31847         [BZ #14153]
31848         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31849         for |x| <= 2**-26, not 2**-57.
31850         * math/libm-test.inc (acos_test): Do not allow spurious underflow
31851         exception.
31852
31853 2012-05-24  Jeff Law  <law@redhat.com>
31854
31855         * stdio-common/Makefile (tests): Add bug25.
31856         * stdio-common/bug25.c: New test.
31857
31858 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
31859
31860         [BZ #13576]
31861         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31862         multiple of MALLOC_ALIGNMENT in size.
31863         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31864
31865 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31866
31867         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31868         Require >= 256.
31869         (FILENAME_MAX): Use macro-int-constant.
31870         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
31871         (_IOFBF): Use macro-int-constant.
31872         (_IOLBF): Likewise.
31873         (_IONBF): Likewise.
31874         (SEEK_CUR): Likewise.
31875         (SEEK_END): Likewise.
31876         (SEEK_SET): Likewise.
31877         (TMP_MAX): Likewise.
31878         (EOF): Use macro-int-constant.  Require < 0.
31879         (NULL): Use macro-constant.  Require == 0.
31880         (stdin): Require type to be FILE *.
31881         (stdout): Likewise.
31882         (stderr): Likewise.
31883         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31884         macro-int-constant.
31885         (EXIT_SUCCESS): Likewise.
31886         (NULL): Use macro-constant.  Require == 0.
31887         (RAND_MAX): Use macro-int-constant.
31888         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31889         [C99-based standards] (strtof): Require function.
31890         [C99-based standards] (strtold): Likewise.
31891         [C99-based standards] (strtoll): Likewise.
31892         [C99-based standards] (strtoull): Likewise.
31893         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31894         [ISO || ISO99 || ISO11] (limits.h): Likewise.
31895         [ISO || ISO99 || ISO11] (math.h): Likewise.
31896         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31897         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31898         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31899
31900 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
31901
31902         [BZ #14132]
31903         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31904         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31905         * intl/dgettext.c (DCGETTEXT): Likewise.
31906         * intl/gettext.c (DCGETTEXT): Likewise.
31907         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31908         * posix/regex_internal.h (gettext): Likewise.
31909         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31910         Remove declaration.
31911         * include/argz.h (__argz_count_internal)
31912         (__argz_stringify_internal): Remove declaration.
31913         (__argz_count, __argz_stringify): Declare hidden proto.
31914         * intl/dcgettext.c: Remove use of INTDEF.
31915         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31916         * string/argz-stringify.c: Likewise.
31917         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31918         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31919         Declare hidden proto.
31920         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31921         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31922         Declare hidden proto.
31923         * include/stdio.h (__asprintf_internal): Don't declare.
31924         (__asprintf): Don't define as macro.  Declare hidden proto.
31925         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31926         (__fsetlocking): Declare hidden proto.
31927         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31928         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31929         hidden proto.
31930         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31931         (_IO_setlinebuf): Remove use of INTUSE.
31932         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31933         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31934         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31935         Remove declaration.
31936         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31937         (_IO_do_flush): Remove use of INTUSE.
31938         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31939         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31940         (_IO_adjust_column, _IO_least_wmarker)
31941         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31942         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31943         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31944         (_IO_default_doallocate, _IO_wdefault_doallocate)
31945         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31946         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31947         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31948         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31949         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31950         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31951         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31952         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31953         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31954         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31955         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31956         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31957         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31958         proto.
31959         (_IO_flush_all_internal, _IO_adjust_column_internal)
31960         (_IO_default_uflow_internal, _IO_default_finish_internal)
31961         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31962         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31963         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31964         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31965         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31966         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31967         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31968         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31969         (_IO_file_close_internal, _IO_file_close_it_internal)
31970         (_IO_file_underflow_internal, _IO_file_overflow_internal)
31971         (_IO_file_init_internal, _IO_file_attach_internal)
31972         (_IO_file_fopen_internal, _IO_file_read_internal)
31973         (_IO_file_sync_internal, _IO_file_seek_internal)
31974         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31975         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31976         (_IO_str_underflow_internal, _IO_str_overflow_internal)
31977         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31978         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31979         (_IO_list_all_internal, _IO_link_in_internal)
31980         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31981         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31982         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31983         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31984         (_IO_do_write_internal, _IO_padn_internal)
31985         (_IO_getline_info_internal, _IO_getline_internal)
31986         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31987         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31988         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31989         (_IO_vfscanf_internal, _IO_vfprintf_internal)
31990         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31991         (_IO_init_internal, _IO_un_link_internal): Don't declare.
31992         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31993         with libc_hidden_ver, remove use of INTUSE.
31994         * libio/genops.c: Likewise.
31995         * libio/freopen.c: Likewise.
31996         * libio/freopen64.c: Likewise.
31997         * libio/iofclose.c: Likewise.
31998         * libio/iofdopen.c: Likewise.
31999         * libio/iofflush.c: Likewise.
32000         * libio/iofflush_u.c: Likewise.
32001         * libio/iofgets.c: Likewise.
32002         * libio/iofgets_u.c: Likewise.
32003         * libio/iofopen.c: Likewise.
32004         * libio/iofopncook.c: Likewise.
32005         * libio/iofread.c: Likewise.
32006         * libio/iofread_u.c: Likewise.
32007         * libio/ioftell.c: Likewise.
32008         * libio/iofwrite.c: Likewise.
32009         * libio/iogetline.c: Likewise.
32010         * libio/iogets.c: Likewise.
32011         * libio/iogetwline.c: Likewise.
32012         * libio/iopadn.c: Likewise.
32013         * libio/iopopen.c: Likewise.
32014         * libio/ioseekoff.c: Likewise.
32015         * libio/ioseekpos.c: Likewise.
32016         * libio/iosetbuffer.c: Likewise.
32017         * libio/iosetvbuf.c: Likewise.
32018         * libio/ioungetc.c: Likewise.
32019         * libio/ioungetwc.c: Likewise.
32020         * libio/iovdprintf.c: Likewise.
32021         * libio/iovsprintf.c: Likewise.
32022         * libio/iovsscanf.c: Likewise.
32023         * libio/memstream.c: Likewise.
32024         * libio/obprintf.c: Likewise.
32025         * libio/oldfileops.c: Likewise.
32026         * libio/oldiofclose.c: Likewise.
32027         * libio/oldiofdopen.c: Likewise.
32028         * libio/oldiofopen.c: Likewise.
32029         * libio/oldiopopen.c: Likewise.
32030         * libio/oldstdfiles.c: Likewise.
32031         * libio/putc.c: Likewise.
32032         * libio/setbuf.c: Likewise.
32033         * libio/setlinebuf.c: Likewise.
32034         * libio/stdfiles.c: Likewise.
32035         * libio/strops.c: Likewise.
32036         * libio/vasprintf.c: Likewise.
32037         * libio/vscanf.c: Likewise.
32038         * libio/vsnprintf.c: Likewise.
32039         * libio/vswprintf.c: Likewise.
32040         * libio/wfiledoalloc.c: Likewise.
32041         * libio/wfileops.c: Likewise.
32042         * libio/wgenops.c: Likewise.
32043         * libio/wmemstream.c: Likewise.
32044         * libio/wstrops.c: Likewise.
32045         * libio/__fpurge.c: Likewise.
32046         * libio/__fsetlocking.c: Likewise.
32047         * assert/assert.c: Likewise.
32048         * debug/fgets_chk.c: Likewise.
32049         * debug/fgets_u_chk.c: Likewise.
32050         * debug/fread_chk.c: Likewise.
32051         * debug/fread_u_chk.c: Likewise.
32052         * debug/gets_chk.c: Likewise.
32053         * debug/obprintf_chk.c: Likewise.
32054         * debug/vasprintf_chk.c: Likewise.
32055         * debug/vdprintf_chk.c: Likewise.
32056         * debug/vsnprintf_chk.c: Likewise.
32057         * debug/vsprintf_chk.c: Likewise.
32058         * malloc/mtrace.c: Likewise.
32059         * misc/error.c: Likewise.
32060         * misc/syslog.c: Likewise.
32061         * stdio-common/asprintf.c: Likewise.
32062         * stdio-common/fxprintf.c: Likewise.
32063         * stdio-common/getw.c: Likewise.
32064         * stdio-common/isoc99_fscanf.c: Likewise.
32065         * stdio-common/isoc99_scanf.c: Likewise.
32066         * stdio-common/isoc99_vfscanf.c: Likewise.
32067         * stdio-common/isoc99_vscanf.c: Likewise.
32068         * stdio-common/isoc99_vsscanf.c: Likewise.
32069         * stdio-common/printf-prs.c: Likewise.
32070         * stdio-common/printf_fp.c: Likewise.
32071         * stdio-common/printf_fphex.c: Likewise.
32072         * stdio-common/printf_size.c: Likewise.
32073         * stdio-common/putw.c: Likewise.
32074         * stdio-common/scanf.c: Likewise.
32075         * stdio-common/sprintf.c: Likewise.
32076         * stdio-common/tmpfile.c: Likewise.
32077         * stdio-common/vfprintf.c: Likewise.
32078         * stdio-common/vfscanf.c: Likewise.
32079         * stdlib/strfmon_l.c: Likewise.
32080         * sunrpc/openchild.c: Likewise.
32081         * sunrpc/xdr_stdio.c: Likewise.
32082         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32083         * sysdeps/mach/hurd/tmpfile.c: Likewise.
32084
32085 2012-05-24  Roland McGrath  <roland@hack.frob.com>
32086
32087         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32088
32089         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32090         in the third column, to generate for the shared library an IFUNC
32091         that uses _dl_vdso_vsym.
32092         * Makerules (COMPILE.c, compile-stdin.c): New variables.
32093         * Makeconfig (object-suffixes-noshared): New variable.
32094
32095         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32096         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32097         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32098         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32099
32100         [BZ #14132]
32101         * include/sys/time.h (__gettimeofday): Remove macro.
32102         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32103         * time/gettimeofday.c (__gettimeofday): Remove #undef.
32104         Remove INTDEF.
32105         (__gettimeofday): Add libc_hidden_def.
32106         (gettimeofday): Add libc_hidden_weak.
32107         * sysdeps/mach/gettimeofday.c: Likewise.
32108         * sysdeps/posix/gettimeofday.c: Likewise.
32109         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32110         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32111         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32112         (__gettimeofday_internal): Remove strong_alias.
32113         (__gettimeofday): Add libc_hidden_def.
32114         (gettimeofday): Add libc_hidden_weak.
32115         * sysdeps/unix/syscalls.list (gettimeofday):
32116         Remove __gettimeofday_internal alias.
32117
32118 2012-05-24  Daniel Jacobowitz  <drow@false.org>
32119             H.J. Lu  <hongjiu.lu@intel.com>
32120
32121         [BZ #12495]
32122         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32123         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32124         (largebin_index_32_big): New.
32125         (largebin_index): Use it for 16-byte alignment.
32126         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
32127         correction with front_misalign.
32128
32129 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32130
32131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32133         Likewise.
32134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32135         Likewise.
32136         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32137         Likewise.
32138         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32139         Likewise.
32140         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32141         Likewise.
32142         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32143         Likewise.
32144         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32145         Likewise.
32146         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32147         Likewise.
32148         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32149         Likewise.
32150         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32151         Likewise.
32152         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32153         Likewise.
32154         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32155         Likewise.
32156
32157         * scripts/data/c++-types-x32-linux-gnu.data: New file.
32158         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32159
32160 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32161
32162         [BZ #10846]
32163         [BZ #14036]
32164         * math/libm-test.inc (exp_test): Add test from bug 14036.
32165         (pow_test): Add test from bug 10846.
32166
32167         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32168         and other flags.
32169         (special_function): Do not include flags in test name.
32170         (parse_args): Likewise.
32171         * sysdeps/i386/fpu/libm-test-ulps: Update.
32172         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32173         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32174         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32176
32177         * math/gen-libm-test.pl (%beautify): Add entries for underflow
32178         exceptions.
32179         * math/libm-test.inc ("Philosophy"): Update comment about
32180         exception testing.
32181         (UNDERFLOW_EXCEPTION): New macro.
32182         (UNDERFLOW_EXCEPTION_OK): Likewise.
32183         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32184         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32185         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32186         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32187         (INVALID_EXCEPTION_OK): Update value.
32188         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32189         (OVERFLOW_EXCEPTION_OK): Likewise.
32190         (IGNORE_ZERO_INF_SIGN): Likewise.
32191         (test_exceptions): Handle underflow exceptions.
32192         (acos_test): Update for underflow exception expectations.
32193         (cexp_test): Likewise.
32194         (clog_test): Likewise.
32195         (clog10_test): Likewise.
32196         (csqrt_test): Likewise.
32197         (ctan_test): Likewise.
32198         (ctanh_test): Likewise.
32199         (exp_test): Likewise.
32200         (exp10_test): Likewise.
32201         (exp2_test): Likewise.
32202         (expm1_test): Likewise.
32203         (fma_test): Likewise.
32204         (j0_test): Likewise.
32205         (jn_test): Likewise.
32206         (nexttoward_test): Likewise.
32207         (pow_test): Likewise.
32208         (scalbn_test): Likewise.
32209         (scalbln_test): Likewise.
32210         (tan_test): Likewise.
32211         (y1_test): Likewise.
32212         * sysdeps/i386/fpu/libm-test-ulps: Update.
32213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32214
32215 2012-05-23  David S. Miller  <davem@davemloft.net>
32216
32217         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32218         (__libc_sigaction): Remove unused local variables.
32219
32220 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32221
32222         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32223
32224 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
32225
32226         mktime: avoid signed integer overflow
32227         * time/mktime.c (__mktime_internal): Do not mishandle the case
32228         where diff == INT_MIN.
32229
32230         mktime: simplify computation of average
32231         * time/mktime.c (ranged_convert): Use new time_t_avg function
32232         instead of rolling our own (probably-slower) code.
32233
32234         mktime: do not assume signed right shift propagates sign bit
32235         * time/mktime.c (isdst_differ): New static function.
32236         (__mktime_internal): No need to normalize tm_isdst now.
32237         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32238         tm_isdst values.
32239
32240         mktime: merge another wrapv change from gnulib
32241         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32242         from some compilers.
32243
32244         mktime: remove incorrect attempt at unusual arithmetics
32245         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32246         The code didn't really work on such machines anyway.
32247         (TYPE_MINIMUM): Assume two's complement.
32248         (twos_complement_arithmetic): Verify that long_int and time_t
32249         are two's complement (or unsigned, in the latter case).
32250
32251         mktime: check signed shifts on long_int and time_t, too
32252         * time/mktime.c (SHR): Check that shifts work as desired
32253         on the types long_int and time_t too, as SHR is used on
32254         such types.
32255
32256         mktime: do not assume 'long' is wide enough
32257         * time/mktime.c (verify): Move decl up.
32258         (long_int): New type.
32259         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32260         to remove assumption in the code that 'long' is wide enough to
32261         store year values.  This assumption is not true on x32 and on
32262         some non-glibc platforms.
32263
32264         mktime: merge wrapv change from gnulib
32265         * time/mktime.c (WRAPV): New macro.
32266         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32267         (guess_time_tm, __mktime_internal): Do not assume that signed
32268         integer overflow wraps around; modern compilers generate code
32269         where this assumption is no longer valid.
32270
32271 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32272
32273         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32274         Replace "jmp L(pseudo_end)" with "ret".
32275         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32276         Likewise.
32277
32278 2012-05-23  Andreas Jaeger  <aj@suse.de>
32279
32280         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32281         * sysdeps/unix/sysv/linux/poll.c: Remove file.
32282
32283 2012-05-23  Andreas Jaeger  <aj@suse.de>
32284             Maximilian Attems  <max@stro.at>
32285
32286         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32287         New macros.
32288
32289 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32290
32291         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32292         code so that pseudo_end is just ret and the stack pointer is
32293         correct also for static library in error case.
32294
32295 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
32296
32297         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32298         move to syscalls.list.
32299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32303
32304         * manual/install.texi (Running make install): Do not mention Linux
32305         kernel version for which pt_chown is not needed.
32306         (Linux): Do not mention problems with nscd with 2.0 kernels.
32307         * INSTALL: Regenerated.
32308
32309 2012-05-23  Andreas Jaeger  <aj@suse.de>
32310
32311         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32312         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32313         macro.
32314         * sysdeps/unix/sysv/linux/s390/bits/mman.h
32315         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32316         * sysdeps/unix/sysv/linux/sh/bits/mman.h
32317         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32318         * sysdeps/unix/sysv/linux/i386/bits/mman.h
32319         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32320         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32321         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32322         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32323         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32324         * sysdeps/unix/sysv/linux/bits/in.h
32325         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32326
32327 2012-05-22  Roland McGrath  <roland@hack.frob.com>
32328
32329         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32330         (PREPARE_VERSION): Just use assert instead, it will be elided
32331         under [NDEBUG] anyway.
32332
32333 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32334
32335         * sysdeps/unix/sysv/linux/Makefile: Include
32336         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32337         (sysdep_routines): Remove sysctl.
32338         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32339         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32340         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32341         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32342         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32343
32344 2012-05-22  Andreas Jaeger  <aj@suse.de>
32345
32346         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32347         that pseudo_end is just ret and the stack pointer is correct also
32348         for static library in error case.
32349
32350 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32351
32352         [BZ #14122]
32353         * nss/nsswitch.c (defconfig_entries): New variable.
32354         (__nss_database_lookup): Don't leak defconfig entries.
32355         (nss_parse_service_list): Don't leak on error paths.
32356         (free_database_entries): New function.
32357         (free_defconfig): New function.
32358         (free_mem): Move common code to free_database_entries.
32359
32360 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32361
32362         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32363         Add arch_prctl.
32364         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32365
32366         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32367         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32368         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32369         New macro.
32370         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32371         (INTERNAL_SYSCALL_TYPES): Likewise.
32372         (LOAD_ARGS_TYPES_[1-6]): Likewise.
32373         (LOAD_REGS_TYPES_[1-6]): Likewise.
32374         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32375         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32376
32377 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32378
32379         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32380         copysignl for GLIBC_2_0.
32381         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32382         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32383         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32384         logbl for GLIBC_2_0.
32385         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32386         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32387
32388 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32389
32390         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32391         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32392
32393         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32394         Use "neg %eax".
32395
32396         * time/mktime.c: Update copyright years.
32397
32398 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
32399
32400         mktime: merge comment-quoting-style change from gnulib
32401         * time/mktime.c: Quote 'like this' in comments.
32402         The GNU coding standards suggest that we no longer quote `like this',
32403         as "`" and "'" are typically rendered asymmetrically nowadays.
32404         The typical gnulib style is to quote 'like this' when quoting
32405         code, and "like this" when quoting English.
32406
32407         * time/mktime.c (compile-command): Add "-I.".
32408
32409         mktime: merge mktime-internal.h change from gnulib
32410         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32411
32412         mktime: merge time_r change from gnulib
32413         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32414
32415         mktime: merge DEBUG change from gnulib
32416         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32417         case system <time.h> has a #define.
32418
32419         mktime: merge <sys/types.h> change from gnulib
32420         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32421         since <time.t> is now guaranteed to define time_t.
32422
32423         mktime: merge HAVE_CONFIG_H change from gnulib
32424         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32425
32426 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32427
32428         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32429         Use "neg %eax".
32430
32431         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32432         __rlim_t cast.
32433         (struct rusage): Use anonymous union to pad each field to
32434         __syscall_slong_t.
32435
32436 2012-05-21  David S. Miller  <davem@davemloft.net>
32437
32438         * Makefules (o-iterator): Remove .s cases.
32439         (compile-command.s): Delete.
32440         (COMPILE.s): Delete.
32441         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32442
32443 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
32444
32445         * configure.in (libc_cv_predef_stack_protector): Only consider
32446         "foobar" and "__stack_chk_fail" lines in libc_undefs.
32447         * configure: Regenerated.
32448
32449 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32450
32451         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32452         New macro.  Use R*LP on int and pointer.
32453         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32454         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32455         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32456         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32457
32458         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32459         [__WORDSIZE_TIME64_COMPAT32] instead of
32460         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32461         (struct utmp): Likewise.
32462         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32463         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32464         Renamed to ...
32465         (__WORDSIZE_TIME64_COMPAT32): This.
32466         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32467         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32468         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32469         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32470         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32471         (__WORDSIZE_TIME64_COMPAT32): New macro.
32472
32473 2012-05-21  Andreas Jaeger  <aj@suse.de>
32474
32475         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32476         only if [SHARED]. Add prototype for __wcschr_ia32.
32477
32478 2012-05-21  Roland McGrath  <roland@hack.frob.com>
32479
32480         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32481         of %rbp unmolested in the jmp_buf while mangling the low bits.
32482         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32483         unmolested high bits of %rbp while demangling the low bits.
32484         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32485
32486 2012-05-21  Andreas Jaeger  <aj@suse.de>
32487
32488         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32489         * sunrpc/svc_simple.c: Use it for registerrpc.
32490         * sunrpc/xcrypt.c: Use it for passwd2des.
32491
32492         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32493
32494 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32495
32496         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32497         Don't define if [__SYSCALL_WORDSIZE != 32].
32498         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32499         New macro.
32500
32501 2012-05-21  Bruno Haible  <bruno@clisp.org>
32502             Andreas Jaeger  <aj@suse.de>
32503
32504         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32505         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32506         inptr and inend for must_buffer_ch.
32507         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32508         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32509         * stdio-common/Makefile (tests): Remove bug15.
32510         (bug15-ENV): Remove macro.
32511         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32512         anymore.
32513
32514 2012-05-19  Andreas Jaeger  <aj@suse.de>
32515             Roland McGrath  <roland@hack.frob.com>
32516
32517         * manual/contrib.texi: Completely rewritten. It contains now an
32518         alphabetical list of contributors and their contributions.
32519
32520 2012-05-21  Richard Henderson  <rth@twiddle.net>
32521
32522         * misc/getauxval.c (__getauxval): Use unsigned long int.
32523         * misc/sys/auxv.h: Include <sys/cdefs.h>.
32524         (getauxval): Use unsigned long int.
32525
32526 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32527
32528         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32529
32530 2012-05-21  Roland McGrath  <roland@hack.frob.com>
32531
32532         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32533         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32534         __alignof__ (long double).
32535
32536 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32537
32538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32539
32540 2012-05-20  Richard Henderson  <rth@twiddle.net>
32541
32542         * misc/getauxval.c: New file.
32543         * misc/sys/auxv.h: New file.
32544         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32545         (routines): Add getauxval.
32546         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32547         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32548         * elf/dl-sysdep.c (_dl_auxv): Remove.
32549         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32550         * elf/dl-support.c (_dl_auxv): New variable.
32551         (_dl_aux_init): Initialize it.
32552         * manual/startup.texi (Auxiliary Vector): New node.
32553         * sysdeps/generic/bits/hwcap.h: New file.
32554         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32555         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
32556         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32557         * sysdeps/sparc/sysdep.h: ... here.  Include it.
32558         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32559         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32561         Update.
32562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32565         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32569         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32570
32571 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32572
32573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32574
32575 2012-05-19  David S. Miller  <davem@davemloft.net>
32576
32577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32578
32579 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
32580
32581         [BZ #14123]
32582         * math/s_ccosh.c: Include <float.h>
32583         (__ccosh): Avoid internal overflow calculating sinh and cosh
32584         values before multiplying by sin and cos values.
32585         * math/s_ccoshf.c: Likewise.
32586         * math/s_ccoshl.c: Likewise.
32587         * math/s_csin.c: Likewise.
32588         * math/s_csinf.c: Likewise.
32589         * math/s_csinl.c: Likewise.
32590         * math/s_csinh.c: Likewise.
32591         * math/s_csinhf.c: Likewise.
32592         * math/s_csinhl.c: Likewise.
32593         * math/libm-test.inc (ccos_test): Add more tests.
32594         (ccosh_test): Likewise.
32595         (csin_test): Likewise.
32596         (csinh_test): Likewise.
32597         * sysdeps/i386/fpu/libm-test-ulps: Update.
32598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32599
32600 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
32601
32602         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32603         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32604
32605         * sysdeps/x86_64/x32/_itoa.h: Add comment.
32606
32607 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
32608
32609         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32610         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32611         * sysdeps/powerpc/soft-fp/Versions: Likewise.
32612         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32613         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32614         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32615         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32616         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32617         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32618         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32619         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32620         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32621         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32622         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32623         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32624         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32625         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32626         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32627         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32628         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32629         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32630         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32631         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32632         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32633         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32634         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32635         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32636         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32637         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32638         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32639         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32640
32641 2012-05-18  Andreas Jaeger  <aj@suse.de>
32642
32643         * csu/.gitignore: Delete.
32644
32645 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32646
32647         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32648         (timex): Use __syscall_slong_t.
32649
32650 2012-05-18  Andreas Jaeger  <aj@suse.de>
32651             Carlos O'Donell  <carlos_odonell@mentor.com>
32652
32653         * manual/install.texi (Configuring and compiling): Update
32654         description about files modified in the source directory.
32655         * INSTALL: Regenerated.
32656
32657 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32658
32659         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32660         value.  Use "or" to set return value to -1.
32661         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32662         negate return value.
32663
32664 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32665
32666         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32667         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32668         failure if the compiler has Graphite support disabled.
32669         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32670         Likewise.
32671         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32672         (CFLAGS-memmove.c): Likewise.
32673         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32674         Likewise.
32675
32676 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32677
32678         * sysdeps/x86_64/x32/_itoa.h: New file.
32679
32680         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32681         getdents system call only if kernel and user dirents have the
32682         same d_ino and d_off.
32683
32684         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32685         LLONG_MAX != LONG_MAX.
32686         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32687         (_fitoa_word): Likewise.
32688
32689         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32690         years.
32691         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32692         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32693         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32694
32695         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32696         include <bits/wordsize.h>.  Check __x86_64__ instead of
32697         __WORDSIZE.
32698         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32699         if __x86_64__ is defined.  Use anonymous union on fpstate.
32700
32701         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32702         anonymous union.
32703
32704 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
32705
32706         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32707         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32708         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32709         Refer to _rtld_local_ro instead of _rtld_global_ro.
32710         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32711         Likewise.
32712         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32713         Likewise.
32714         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32715         Likewise.
32716         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32717         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32718         of _rtld_global, and rtld_progname instead of _dl_argv[0].
32719
32720         * sysdeps/powerpc/powerpc32/dl-machine.c
32721         (__elf_machine_runtime_setup) [PROF]: Don't reference
32722         _dl_prof_resolve.
32723
32724 2012-05-18  Andreas Jaeger  <aj@suse.de>
32725
32726         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32727         function only available for GCCs before 3.4 since GCC 3.4
32728         introduced a builtin.
32729         (lrint): Likewise.
32730         (llrintf): Likewise.
32731         (llrint): Likewise.
32732         (fmaxf): Likewise.
32733         (fmax): Likewise.
32734         (fminf): Likewise.
32735         (fmin): Likewise.
32736         (rint): Likewise.
32737         (rintf): Likewise.
32738         (nearbyint): Likewise.
32739         (nearbyintf): Likewise.
32740         (ceil): Likewise.
32741         (ceilf): Likewise.
32742         (floor): Likewise.
32743         (floorf): Likewise.
32744
32745 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32746
32747         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32748         on both fields and cast pointer to __syscall_ulong_t.
32749
32750         * bits/types.h (__fsword_t): New type.
32751         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32752         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32753         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32754         (__FSWORD_T_TYPE): Likewise.
32755         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32756         (__FSWORD_T_TYPE): Likewise.
32757         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32758         (__FSWORD_T_TYPE): Likewise.
32759         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32760         (__FSWORD_T_TYPE): Likewise.
32761         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32762         __SWORD_TYPE with __fsword_t.
32763         (statfs64): Likewise.
32764
32765 2012-05-17  David S. Miller  <davem@davemloft.net>
32766
32767         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32768
32769 2012-05-17  Andreas Jaeger  <aj@suse.de>
32770
32771         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32772         warning.
32773
32774 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32775
32776         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32777
32778 2012-05-17  Andreas Jaeger  <aj@suse.de>
32779
32780         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32781         when it is used.
32782
32783 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
32784
32785         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32786
32787 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32788
32789         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32790         * sysdeps/x86_64/tst-mallocalign1.c: New file.
32791
32792 2012-05-17  Andreas Jaeger  <aj@suse.de>
32793             Carlos O'Donell  <carlos_odonell@mentor.com>
32794
32795         [BZ #14059]
32796         * sysdeps/x86_64/multiarch/init-arch.h
32797         (bit_YMM_Usable): Rename to...
32798         (bit_AVX_Usable): ... this.
32799         (bit_FMA4_Usable): New macro.
32800         (bit_XMM_state): New macro.
32801         (bit_YMM_state): New macro.
32802         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32803         [__ASSEMBLER__] (index_AVX_Usable): ... this.
32804         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32805         (CPUID_OSXSAVE): New macro.
32806         (CPUID_AVX): New macro.
32807         (CPUID_FMA4): New macro.
32808         (index_YMM_Usable): Rename to...
32809         (index_AVX_Usable): ... this.
32810         (HAS_AVX): Use HAS_ARCH_FEATURE.
32811         (HAS_FMA4): Likewise.
32812         (HAS_YMM_USABLE): Remove.
32813         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32814         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32815         are present.
32816         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32817         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32818         * sysdeps/x86_64/multiarch/Makefile: Likewise.
32819         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32820         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32821
32822 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
32823
32824         * math/libm-test.c: Support platforms without multiple rounding modes.
32825         * math/bug-nextafter.c: Support platforms without FP exceptions.
32826         * math/bug-nexttoward.c: Likewise.
32827         * math/test-fenv.c: Likewise.
32828         * math/test-misc.c: Likewise.
32829         * stdlib/bug-getcontext.c: Likewise.
32830
32831 2012-05-17  Andreas Jaeger  <aj@suse.de>
32832
32833         * manual/examples/search.c (critter_cmp): Change signature to
32834         avoid warnings.
32835         * manual/string.texi (Collation Functions): Likewise.
32836
32837 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32838
32839         * bits/types.h: Fold copyright years.
32840         * bits/typesizes.h: Likewise.
32841         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32842         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32843         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32844         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32845         * time/time.h: Likewise.
32846
32847 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
32848
32849         [BZ #208]
32850         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32851         in instead of returning them.  Return void.
32852         (__libc_mallinfo): Accumulate over all arenas.
32853         (__malloc_stats): Adjust for change in int_mallinfo interface.
32854
32855 2012-05-16  Roland McGrath  <roland@hack.frob.com>
32856
32857         [BZ #10375]
32858         * configure.in (NM): Add AC_CHECK_TOOL for it.
32859         (libc_extra_cflags): New substituted variable.
32860         Check for -fstack-protector being used implicitly.
32861         * configure: Regenerated.
32862         * config.make.in (config-extra-cflags): New variable,
32863         gets @libc_extra_cflags@.
32864         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32865
32866         [BZ #10375]
32867         * configure.in: Check for _FORTIFY_SOURCE being predefined.
32868         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32869         * configure: Regenerated.
32870         * config.make.in (CPPUNDEFS): New substituted variable.
32871         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32872         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32873         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32874
32875 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32876
32877         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32878         (mq_attr): Use __syscall_slong_t.
32879
32880 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32881
32882         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32883         Check __x86_64__ instead of __WORDSIZE.
32884         (_STAT_VER_LINUX): Likewise.
32885         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
32886         __syscall_ulong_t and __syscall_slong_t.
32887         (stat64): Likewise.
32888
32889 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32890
32891         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32892
32893 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32894
32895         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32896
32897 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32898
32899         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32900         __syscall_ulong_t.
32901
32902         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32903         include <bits/wordsize.h>.  Check __x86_64__ instead of
32904         __WORDSIZE.
32905         (greg_t): Use "__extension__ long long int" if __x86_64__ is
32906         defined.
32907         (mcontext_t): Replace "unsigned long" with "unsigned long long".
32908
32909         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32910         include <bits/wordsize.h>.  Check __x86_64__ instead of
32911         __WORDSIZE.
32912         (user_regs_struct): Use "__extension__ unsigned long long"
32913         instead of "unsigned long" if __x86_64__ is defined.
32914         (user): Likewise.  Pad after pointer field if __ILP32__ is
32915         defined.
32916
32917 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
32918
32919         * configure.in (makeinfo): Require version 4.5 or later.  Allow
32920         versions 5 to 9.
32921         * configure: Regenerated.
32922         * manual/install.texi (texinfo): Increase version requirement to
32923         4.5 or later.
32924         * INSTALL: Regenerated.
32925
32926         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32927
32928 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32929
32930         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32931
32932         * sysdeps/x86_64/x32/ffs.c: New file.
32933
32934         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32935         __syscall_ulong_t.
32936         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32937         defined.  Use __syscall_ulong_t.
32938         (shminfo): Use __syscall_ulong_t.
32939         (shm_info): Likewise.
32940
32941         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32942         __syscall_ulong_t.
32943
32944         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32945         <bits/wordsize.h>.
32946         (msgqnum_t): Use __syscall_ulong_t.
32947         (msglen_t): Likewise.
32948         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
32949         __syscall_ulong_t.
32950
32951         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32952         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32953
32954         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32955
32956         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32957         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32958
32959         * sysvipc/sys/msg.h (msgbuf): Replace long int with
32960         __syscall_slong_t.
32961
32962         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32963         include <bits/wordsize.h>.  Check __x86_64__ instead of
32964         __WORDSIZE.
32965
32966         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32967         "unsigned long long int" if __x86_64__ is defined.
32968         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32969
32970         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32971         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32972         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32973
32974         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32975         <stdint.h>.
32976         (GET_PC): Cast to uintptr_t first.
32977         (GET_FRAME): Likewise.
32978         (GET_STACK): Likewise.
32979
32980         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32981         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32982         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32983         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32984         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32985         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32986         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32987         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32988         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32989         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32990         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32991         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32992         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32993         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32994         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32995         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32996         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32997         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32998         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32999         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33000         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33001         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33002         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33003         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33004         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33005         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33006         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33007         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33008         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33009
33010 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
33011
33012         * Makerules (+depfiles): Also collect depfiles from .oS in
33013         $(extra-objs).
33014         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33015         .oS, $(libnldbl-routines)).
33016
33017         * Makerules (native-compile-mkdep-flags): Define.
33018         * sunrpc/Makefile (extra-objs): Add $(addprefix
33019         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33020         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33021         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
33022         calling $(make-target-directory).
33023
33024 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33025
33026         * bits/types.h (__snseconds_t): Removed.
33027         * time/time.h (struct timespec): Replace __snseconds_t with
33028         __syscall_slong_t.
33029         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33030         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33031         Likewise.
33032         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33033         (__SNSECONDS_T_TYPE): Likewise.
33034         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33035         (__SNSECONDS_T_TYPE): Likewise.
33036         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33037         (__SNSECONDS_T_TYPE): Likewise.
33038
33039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33040
33041         * sysdeps/mach/hurd/bits/typesizes.h
33042         (__SYSCALL_SLONG_TYPE): New macro.
33043         (__SYSCALL_ULONG_TYPE): Likewise.
33044
33045 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33046
33047         * bits/types.h (__syscall_slong_t): New type.
33048         (__syscall_ulong_t): Likewise.
33049
33050         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33051         (__SYSCALL_ULONG_TYPE): Likewise.
33052         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33053         (__SYSCALL_SLONG_TYPE): Likewise.
33054         (__SYSCALL_ULONG_TYPE): Likewise.
33055         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33056         (__SYSCALL_SLONG_TYPE): Likewise.
33057         (__SYSCALL_ULONG_TYPE): Likewise.
33058         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33059         (__SYSCALL_SLONG_TYPE): Likewise.
33060         (__SYSCALL_ULONG_TYPE): Likewise.
33061
33062 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33063
33064         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33065         Add sigaltstack-offsets.sym.
33066         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33067         <sigaltstack-offsets.h>.
33068         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
33069         longjmp_msg pointer.
33070         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
33071         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33072         signal stack.
33073         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33074
33075 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33076
33077         * elf/stackguard-macros.h: Remove file.
33078         * sysdeps/generic/stackguard-macros.h: New file.
33079         * sysdeps/i386/stackguard-macros.h: Likewise.
33080         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33081         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33082         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33083         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33084         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33085         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33086         * sysdeps/x86_64/stackguard-macros.h: Likewise.
33087         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33088         <elf/stackguard-macros.h>.
33089
33090         [BZ #14109]
33091         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33092         __aligned__ in attribute.
33093         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33094         (gregset_t): Likewise.
33095
33096 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33097
33098         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33099         * sysdeps/x86_64/64/Implies-after: Here.  New file.
33100         * sysdeps/x86_64/x32/Implies-after: New file.
33101
33102 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33103
33104         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33105         and access return value for _dl_profile_fixup.  Use R10_LP to
33106         load frame size.
33107
33108 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33109
33110         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33111
33112 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33113
33114         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33115         * sysdeps/x86_64/x32/sysdep.h: New file.
33116
33117 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33118
33119         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33120         * sysdeps/x86_64/setjmp.S: Likewise.
33121
33122 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33123
33124         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33125         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33126         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33127         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33128         remove unused global constant.
33129
33130 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
33131
33132         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33133         include of <not-cancel.h>.
33134
33135 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33136
33137         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33138
33139 2012-05-15  Jeff Law  <law@redhat.com>
33140             Andreas Jaeger  <aj@suse.de>
33141
33142         [BZ #13594]
33143         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33144         out from...
33145         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33146         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33147         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33148         code changing __hst_map_handle.map.
33149
33150 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33151
33152         * configure.in (sysnames): Look for Implies-before and Implies-after
33153         files.
33154         * configure: Regenerated.
33155
33156 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33157
33158         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33159         8-byte data alignment with LP_SIZE alignment.
33160
33161 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33162
33163         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33164         into R10_LP.
33165
33166 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33167
33168         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33169
33170 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33171
33172         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33173         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33174         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33175         Likewise.
33176         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33177
33178 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33179
33180         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33181         (stackinfo_sub_sp): Likewise.
33182
33183 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33184
33185         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33186         RAX_LP.
33187
33188 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33189
33190         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33191         into R*_LP.
33192
33193 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33194
33195         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33196         sizes into R*_LP.
33197
33198 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33199
33200         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33201
33202 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33203
33204         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33205         into R11_LP and load __x86_64_shared_cache_size_half into
33206         R8_LP.
33207
33208 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33209
33210         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33211         R8_LP.
33212
33213 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33214
33215         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33216         logb for POWER7.
33217         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33218         logbf for POWER7.
33219         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33220         logbl for POWER7.
33221         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33222         powerpc32/power7/fpu/s_logb.c via #include.
33223         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33224         powerpc32/power7/fpu/s_logbf.c via #include.
33225         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33226         powerpc32/power7/fpu/s_logbl.c via #include.
33227
33228 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33229
33230         * README.libm: Remove file.
33231
33232 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33233
33234         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33235         count for x32.  Use R*_LP and omit operand-size suffix.
33236
33237 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33238
33239         * shlib-versions: Move x86_64-.*-linux.* entries to ...
33240         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
33241         * sysdeps/x86_64/x32/shlib-versions: New file.
33242
33243 2012-05-14  Roland McGrath  <roland@hack.frob.com>
33244
33245         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33246         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33247         Use _dl_fatal_printf instead.
33248
33249 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33250
33251         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33252         set if not set by the user.  Do not allow for being unset.
33253         * sysdeps/unix/sysv/linux/configure: Regenerated.
33254
33255 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33256
33257         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33258         the `q' suffix from lea and replace .quad with ASM_ADDR.
33259
33260 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33261
33262         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33263         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
33264         instead of $17.
33265         (PTR_DEMANGLE): Likewise.
33266
33267 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33268
33269         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33270         (LP_OP): Likewise.
33271         (ASM_ADDR): Likewise.
33272         (RAX_LP): Likewise.
33273         (RBP_LP): Likewise.
33274         (RBX_LP): Likewise.
33275         (RCX_LP): Likewise.
33276         (RDI_LP): Likewise.
33277         (RSI_LP): Likewise.
33278         (RSP_LP): Likewise.
33279         (R8_LP): Likewise.
33280         (R9_LP): Likewise.
33281         (R10_LP): Likewise.
33282         (R10_LP): Likewise.
33283         (R11_LP): Likewise.
33284         (R12_LP): Likewise.
33285         (R13_LP): Likewise.
33286         (R14_LP): Likewise.
33287         (R15_LP): Likewise.
33288
33289 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33290
33291         * sysdeps/x86_64/x32/dl-machine.h: New file.
33292
33293 2012-05-14  Andreas Jaeger  <aj@suse.de>
33294
33295         * manual/Makefile (subdir): Remove export of subdir.
33296         (all): Remove target.
33297         (.PHONY): Remove all from list.
33298         (mkinstalldirs): Remove.
33299         (.PHONY): Remove installdirs from list.
33300         ($(inst_infodir)/libc.info): Use make-target-directory.
33301         (installdirs): Remove.
33302         (subdir_%): Remove.
33303         (glibc-targets): Remove.
33304         (lib): Remove.
33305         (stubs): Remove.
33306         ($(objpfx)stubs ../po/manual.pot): Remove.
33307         ($(objpfx)stamp%): Remove.
33308         (make-target-directory): Remove.
33309         (subdir_install): Remove.
33310         (routines): Remove.
33311         (aux): Remove.
33312         (sources): Remove.
33313         (objects): Remove.
33314         (headers): Remove.
33315
33316         [BZ #13750]
33317         * manual/.gitignore: Remove, it's not needed anymore.
33318         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33319         all files in it.
33320         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33321         directory.
33322         (texis): Renamed to $(objpfx)texis.
33323         (texis-path): New, contains path to generated files.
33324         (chapters.%): Use texis-path for complete path, add extra argument
33325         libc-texinfo.sh.
33326         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33327         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33328         (summary,texi, stamp-summary): Use complete path of
33329         files. Generate files in build dir.
33330         (dir-add.texi): Build in build dir.
33331         (libm-err.texi,stamp-libm-err): Likewise.
33332         (version.texi, stamp-version): Likewise.
33333         (.%c.texi): Likewise.
33334         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33335         (mostlyclean): Remove target.
33336         (realclean): Remove target.
33337         (generated): Add new variable with contents from mostlyclean and
33338         realclean, remove entries duplicated in common-mostlyclean, add
33339         stamp-libm-err and stamp-version.
33340         (generated-dirs): Add libc directory.
33341         ($(inst_infodir)/libc.info): Install files from build dir.
33342
33343         * manual/install.texi (Configuring and compiling): Adjust since
33344         the info files are not part of the tar ball anymore.
33345
33346 2012-05-14  Andreas Jaeger  <aj@suse.de>
33347
33348         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33349         variable.
33350
33351 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33352
33353         [BZ #13717]
33354         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33355         to 2.2.0 where earlier.
33356         * sysdeps/unix/sysv/linux/configure: Regenerated.
33357         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33358         Remove conditional code.
33359         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33360         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33361         Remove conditional code.
33362         [!__NR_lchown]: Likewise.
33363         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33364         [__NR_lchown]: Likewise.
33365         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33366         comment referencing __ASSUME_LCHOWN_SYSCALL.
33367         * sysdeps/unix/sysv/linux/i386/sigaction.c
33368         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33369         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33370         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33371         Remove conditional code.
33372         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33373         (__protocol_available): Remove #if 0 code.
33374         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33375         conditional code.
33376         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33377         * sysdeps/unix/sysv/linux/kernel-features.h
33378         (__ASSUME_GETCWD_SYSCALL): Don't define.
33379         (__ASSUME_REALTIME_SIGNALS): Likewise.
33380         (__ASSUME_PREAD_SYSCALL): Likewise.
33381         (__ASSUME_PWRITE_SYSCALL): Likewise.
33382         (__ASSUME_POLL_SYSCALL): Likewise.
33383         (__ASSUME_LCHOWN_SYSCALL): Likewise.
33384         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33385         non-SPARC.
33386         (__ASSUME_SIOCGIFNAME): Don't define.
33387         (__ASSUME_MSG_NOSIGNAL): Likewise.
33388         (__ASSUME_SENDFILE): Define unconditionally.
33389         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33390         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33391         conditional code.
33392         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33393         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33394         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33395         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33396         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33397         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33398         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33400         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33401         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33403         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33404         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33406         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33407         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33409         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33410         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33412         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33413         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33415         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33416         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33418         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33419         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33421         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33422         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33423         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33424         Remove conditional code.
33425         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33426         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33427         Remove conditional code.
33428         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33429         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33430         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33431         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33432         Remove conditional code.
33433         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33434         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33435         Remove conditional code.
33436         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33437         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33438         Remove conditional code.
33439         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33440         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33441         Remove conditional code.
33442         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33443         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33444         Remove conditional code.
33445         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33446         * sysdeps/unix/sysv/linux/sh/pwrite64.c
33447         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33448         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33449         * sysdeps/unix/sysv/linux/sigaction.c
33450         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33451         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33452         * sysdeps/unix/sysv/linux/sigpending.c
33453         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33454         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33455         * sysdeps/unix/sysv/linux/sigprocmask.c
33456         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33457         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33458         * sysdeps/unix/sysv/linux/sigsuspend.c
33459         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33460         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33461         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33462         (__libc_missing_rt_sigs): Remove.
33463         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33464         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33465         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33466         Remove conditional code.
33467         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33468         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33469         return 1.
33470         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33471         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33472         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33473         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33474
33475 2012-05-14  Andreas Jaeger  <aj@suse.de>
33476
33477         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33478         it's not used in glibc.
33479         (__coshm1): Likewise.
33480         (__acosh1p): Likewise.
33481         (__sgn): Likewise.
33482
33483         * manual/string.texi (Copying and Concatenation): Add missing
33484         variable in concat example.
33485         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33486
33487 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33488
33489         [BZ #14103]
33490         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33491         __builtin_clzl with __builtin_clzll.
33492
33493 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33494
33495         [BZ #14104]
33496         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33497         libc_freeres_ptr.
33498
33499 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33500
33501         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33502         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33503         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33504         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33505
33506 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
33507
33508         * NEWS: Update ia64 info.
33509
33510 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
33511
33512         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33513         used as bcopy.
33514
33515 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
33516
33517         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33518         * sysdeps/unix/syscalls.list (dup3): Likewise.
33519         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33520         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33521
33522 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
33523
33524         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33525         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33526
33527 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
33528
33529         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33530         thread pointer.
33531         (TLS_IE): Use mov/add instead of movq/addq to load thread
33532         pointer.
33533         (TLS_GD_PREFIX): New.
33534         (TLS_GD): Use it.
33535
33536 2012-05-11  David S. Miller  <davem@davemloft.net>
33537
33538         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33539         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33540         (_FPU_SETCW): Likewise.
33541
33542 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33543
33544         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33545         is 32-byte aligned.
33546
33547 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
33548
33549         [BZ #11837]
33550         * iconvdata/gb18030.c: Update tables.
33551         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
33552         characters specially.
33553         (BODY for TO_LOOP): Add encoding of missing ranges.
33554
33555 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
33556
33557         [BZ #13673]
33558         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33559         * sysdeps/mach/hurd/dup3.c: Likewise.
33560         * sysdeps/mach/hurd/readlinkat.c: Likewise.
33561         * sysdeps/powerpc/memmove.c:: Likewise.
33562
33563 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33564
33565         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33566         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33567
33568 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33569
33570         * elf/elf.h (R_X86_64_RELATIVE64): New.
33571         (R_X86_64_NUM): Updated.
33572         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33573         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
33574         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33575         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33576         tst-quad1pie tst-quad2pie
33577         (modules-names): Add tst-quadmod1 tst-quadmod2.
33578         ($(objpfx)tst-quad1): New dependency.
33579         ($(objpfx)tst-quad2): Likewise.
33580         ($(objpfx)tst-quad1pie): Likewise.
33581         ($(objpfx)tst-quad2pie): Likewise.
33582         * sysdeps/x86_64/tst-quad1.c: New file.
33583         * sysdeps/x86_64/tst-quad1pie.c: New file.
33584         * sysdeps/x86_64/tst-quad2.c: Likewise.
33585         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33586         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33587         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33588         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33589         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33590
33591 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33592
33593         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33594         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33595         * streams/stropts.h (t_scalar_t): Define type.
33596
33597         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33598         (_PATH_PRESERVE): Set to "/var/lib".
33599         (_PATH_RWHODIR): Set to "/var/spool/rwho".
33600
33601         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33602         instead of int.
33603
33604         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33605         if __dir_mkfile succeeded.
33606
33607         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33608         checking for _hurd_dtablesize.  Unlock it right after having
33609         finished _hurd_dtable allocation.
33610
33611 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33612
33613         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33614         * sysdeps/mach/hurd/configure: Regenerated.
33615         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33616         special-casing to...
33617         * sysdeps/gnu/configure.in: ... this new file.
33618         * sysdeps/unix/sysv/linux/configure: Regenerated.
33619         * sysdeps/gnu/configure: New generated file.
33620
33621         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33622         for Linux: use nsec instead of usec, as well as:
33623         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33624         members of type struct timespec.
33625         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33626         New macros.
33627         (struct stat64): Likewise.
33628         (_STATBUF_ST_NSEC): New macro.
33629         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33630
33631         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33632         __strtoul_internal rather than strtoul.
33633
33634 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33635
33636         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33637         and reject them.
33638
33639 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33640
33641         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33642         which preserves existing values.
33643         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33644
33645 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33646
33647         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33648         TIMEOUT values.  Return EINVAL for NFDS values either negative or
33649         greater than FD_SETSIZE.
33650
33651 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33652
33653         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33654         allocated, call __vm_protect to finish enabling the existing space, and
33655         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33656         allocate the remainder.
33657
33658 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33659
33660         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33661         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
33662
33663 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33664
33665         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33666         sysdeps/mach/hurd/readlink.c.
33667
33668         * posix/tst-sysconf.c (posix_options): Only use
33669         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33670         _POSIX_SYNCHRONIZED_IO when they are defined
33671         * sysdeps/mach/hurd/bits/posix_opt.h:
33672         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33673         (_XOPEN_REALTIME): Undefine macro.
33674         (_XOPEN_REALTIME_THREADS): Undefine macro.
33675         (_XOPEN_SHM): Undefine macro.
33676         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33677         macro to -1.
33678         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33679         macro to -1.
33680         (_POSIX_ASYNC_IO): Undefine macro.
33681         (_POSIX_PRIORITIZED_IO): Undefine macro.
33682         (_POSIX_SPIN_LOCKS): Define macro to -1.
33683
33684         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33685         SA_NODEFER, SA_RESETHAND.
33686         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33687         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33688         F_DUPFD_CLOEXEC.
33689
33690 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33691
33692         * elf/Makefile (pldd-modules): Define unconditionally.
33693
33694 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33695
33696         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33697
33698 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33699
33700         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33701         Return ENOENT when name is empty.
33702         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33703
33704 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33705
33706         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33707
33708         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33709
33710 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33711
33712         Fix mlock in all cases except non-readable pages.
33713         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33714         instead of VM_PROT_ALL as parameter to __vm_wire function.
33715
33716         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33717         (__mkdir): When path is `/', just fail with EEXIST.
33718         * sysdeps/mach/hurd/mkdirat.c: Likewise.
33719
33720 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33721
33722         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33723         <sys/uio.h> (for writev).
33724         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33725         and <sys/param.h> (for MIN).
33726
33727 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33728
33729         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33730         REQUESTED_TIME.  Properly set the remaining time and return EINTR
33731         if interrupted.
33732
33733 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33734
33735         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33736         Depend on against $(link-rpcuserlibs).
33737
33738 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33739
33740         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33741         (__libc_stack_end): Do not use attribute_relro.
33742         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33743         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33744         to libthread-provided value.
33745         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33746         attribute_relro.
33747
33748 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33749
33750         [BZ #3748]
33751         * bits/libc-lock.h (__libc_once_get): New macro.
33752         * sysdeps/mach/bits/libc-lock.h: Likewise.
33753         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33754         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33755         instead of using implementation details.
33756
33757         * libio/fileops.c: Unconditionally include <kernel-features.h>.
33758         * libio/freopen.c: Likewise.
33759         * libio/freopen64.c: Likewise.
33760         * misc/syslog.c: Likewise.
33761         * nscd/connections.c: Likewise.
33762         * nscd/netgroupcache.c: Likewise.
33763         * sysdeps/posix/getcwd.c: Likewise.
33764
33765 2012-05-10  Roland McGrath  <roland@hack.frob.com>
33766
33767         * math/w_ilogbf.c: Add #include <limits.h>.
33768
33769 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33770
33771         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33772         path instead of returning without unlocking.
33773
33774         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33775         immediate-write ioctls.
33776         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33777
33778 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33779
33780         * sysdeps/mach/hurd/i386/init-first.c (init): Use
33781         __builtin_frame_address instead of making assumptions about the
33782         location of the return address relative to DATA.  Force early load of
33783         the return address.
33784         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33785         __builtin_frame_address.
33786
33787         dup3 for GNU Hurd.
33788         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33789         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
33790         implement dup3 and do some further code clean-ups.
33791         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33792         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33793
33794 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33795
33796         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33797
33798         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33799         HURD_CRITICAL_END around holding _hurd_dtable_lock.
33800         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33801         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33802         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33803         d->port.lock.
33804
33805         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33806         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
33807         when handler == SIG_ERR, not when handler != SIG_ERR.
33808
33809 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33810
33811         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33812         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33813         definitions.
33814
33815         accept4 for GNU Hurd.
33816         * include/sys/socket.h (__libc_accept4): New prototype.
33817         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
33818         to implement __libc_accept4.
33819         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33820         __libc_accept4.
33821         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33822
33823         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33824         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33825         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33826         signal-defines.sym.
33827
33828 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33829
33830         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33831
33832 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33833
33834         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33835         assertion on O_CLOEXEC flag.
33836         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33837         * hurd/intern-fd.c: Likewise.
33838         * hurd/port2fd.c: Likewise.
33839
33840 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33841
33842         [BZ #3906]
33843         * bits/in.h (IPV6_PKTINFO): Define new macro.
33844         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33845
33846 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33847
33848         [BZ #13954]
33849         [BZ #13955]
33850         [BZ #13956]
33851         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33852         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33853         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33854         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33855         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33856         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33857         * math/libm-test.inc (logb_test) : Additional logb tests.
33858
33859 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
33860             Andreas Jaeger  <aj@suse.de>
33861
33862         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33863         * configure: Regenerated.
33864         * config.h.in (LINK_OBSOLETE_RPC): New macro.
33865         * config.make.in (link-obsolete-rpc): New substituted variable.
33866         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33867         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33868         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33869         (shared-only-routines): Don't set it under [link-obsolete-rpc],
33870         so that libc.a contains the symbols.
33871         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33872         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33873         * sunrpc/auth_none.c: Likewise.
33874         * sunrpc/auth_unix.c: Likewise.
33875         * sunrpc/authdes_prot.c: Likewise.
33876         * sunrpc/authuxprot.c: Likewise.
33877         * sunrpc/clnt_gen.c: Likewise.
33878         * sunrpc/clnt_perr.c: Likewise.
33879         * sunrpc/clnt_raw.c: Likewise.
33880         * sunrpc/clnt_simp.c: Likewise.
33881         * sunrpc/clnt_tcp.c: Likewise.
33882         * sunrpc/clnt_udp.c: Likewise.
33883         * sunrpc/clnt_unix.c: Likewise.
33884         * sunrpc/des_crypt.c: Likewise.
33885         * sunrpc/des_soft.c: Likewise.
33886         * sunrpc/get_myaddr.c: Likewise.
33887         * sunrpc/key_call.c: Likewise.
33888         * sunrpc/key_prot.c: Likewise.
33889         * sunrpc/netname.c: Likewise.
33890         * sunrpc/pm_getmaps.c: Likewise.
33891         * sunrpc/pm_getport.c: Likewise.
33892         * sunrpc/pmap_clnt.c: Likewise.
33893         * sunrpc/pmap_prot.c: Likewise.
33894         * sunrpc/pmap_prot2.c: Likewise.
33895         * sunrpc/pmap_rmt.c: Likewise.
33896         * sunrpc/publickey.c: Likewise.
33897         * sunrpc/rpc_cmsg.c: Likewise.
33898         * sunrpc/rpc_common.c: Likewise.
33899         * sunrpc/rpc_dtable.c: Likewise.
33900         * sunrpc/rpc_prot.c: Likewise.
33901         * sunrpc/rpc_thread.c: Likewise.
33902         * sunrpc/rtime.c: Likewise.
33903         * sunrpc/svc.c: Likewise.
33904         * sunrpc/svc_auth.c: Likewise.
33905         * sunrpc/svc_raw.c: Likewise.
33906         * sunrpc/svc_run.c: Likewise.
33907         * sunrpc/svc_tcp.c: Likewise.
33908         * sunrpc/svc_udp.c: Likewise.
33909         * sunrpc/svc_unix.c: Likewise.
33910         * sunrpc/svcauth_des.c: Likewise.
33911         * sunrpc/xcrypt.c: Likewise.
33912         * sunrpc/xdr.c: Likewise.
33913         * sunrpc/xdr_array.c: Likewise.
33914         * sunrpc/xdr_float.c: Likewise.
33915         * sunrpc/xdr_intXX_t.c: Likewise.
33916         * sunrpc/xdr_mem.c: Likewise.
33917         * sunrpc/xdr_rec.c: Likewise.
33918         * sunrpc/xdr_ref.c: Likewise.
33919         * sunrpc/xdr_sizeof.c: Likewise.
33920         * sunrpc/xdr_stdio.c: Likewise.
33921
33922 2012-05-10  Roland McGrath  <roland@hack.frob.com>
33923
33924         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33925         change.  Update copyright years.
33926
33927 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
33928
33929         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33930
33931 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
33932             Joseph Myers  <joseph@codesourcery.com>
33933             Paul Pluzhnikov  <ppluzhnikov@google.com>
33934
33935         [BZ #14012]
33936         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33937         requiring rpcgen.
33938         [cross-compiling] (extra-libs): Likewise.
33939         [cross-compiling] (extra-libs-others): Likewise.
33940         [cross-compiling] (librpcsvc-routines): Likewise.
33941         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33942         [cross-compiling] (omit-deps): Likewise.
33943         (sunrpc-CPPFLAGS): New variable.
33944         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33945         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33946         (cross-rpcgen-objs): New variable.
33947         (extra-objs): Append $(cross-rpcgen-objs).
33948         ($(cross-rpcgen-objs)): New rule.
33949         ($(objpfx)cross-rpcgen): Likewise.
33950         (rpcgen-cmd): Define to use $(built-program-file).  Expand
33951         comment.
33952         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33953         ($(objpfx)x%.stmp): Likewise.
33954         * sunrpc/proto.h [IS_IN_build] (_): Define.
33955         [IS_IN_build] (_libc_intl_domainname): Likewise.
33956
33957 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33958
33959         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33960         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33961         and R_X86_64_TPOFF64.
33962
33963 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
33964
33965         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33966         sysdeps/unix/sysv/syscalls.list.
33967         (stime): Likewise.
33968         (utime): Likewise.
33969         * sysdeps/unix/sysv/syscalls.list: Remove file.
33970
33971 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
33972
33973         [BZ #3440]
33974         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33975         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33976         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33977         (__LC_IDENTIFICATION): Make these macros useful in #if
33978         expressions, as required by C99.
33979
33980 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
33981
33982         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33983         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
33984         after this.
33985
33986 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
33987
33988         * stdlib/longlong.h: Updated from GCC.
33989
33990 2012-05-09  Andreas Jaeger  <aj@suse.de>
33991
33992         * nscd/nscd.c (run_modes): Make named enum, reorder so that
33993         default is first entry.
33994         (run_mode): Set type.
33995         (main): Remove informal message about syslog.
33996         (options): Fix typo.
33997
33998         [BZ #14053]
33999         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34000         to asm.
34001         (lrint): Likewise.
34002         (llrintf): Likewise.
34003         (llrint): Likewise.
34004         (rint): Likewise.
34005         (rintf): Likewise.
34006         (nearbyint): Likewise.
34007         (nearbyintf): Likewise.
34008
34009 2012-05-09  Andreas Jaeger  <aj@suse.de>
34010             Pedro Alves  <palves@redhat.com>
34011
34012         * nscd/nscd.c (run_mode): Use enum.
34013         (main): Cleanup coding style issue.
34014
34015 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
34016             Andreas Jaeger  <aj@suse.de>
34017
34018         * nscd/nscd.c (go_background): Replaced with...
34019         (run_mode): ... this.
34020         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34021         (options): Add -F --foreground.
34022         (main): Implement it.
34023         (parse_opt): Parse it.
34024
34025 2012-05-09  Andreas Jaeger  <aj@suse.de>
34026
34027         [BZ #14083]
34028         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34029         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34030         -Wconversion warning.
34031         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34032         Likewise.
34033
34034 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
34035
34036         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
34037         == 0.
34038         (LC_ALL): Use macro-int-constant.
34039         (LC_COLLATE): Likewise.
34040         (LC_CTYPE): Likewise.
34041         (LC_MESSAGES): Likewise.
34042         (LC_MONETARY): Likewise.
34043         (LC_NUMERIC): Likewise.
34044         (LC_TIME): Likewise.
34045         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34046         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34047         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34048         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34049         Specify type.
34050         [C99-based standards] (float_t): Expect type.
34051         [C99-based standards] (double_t): Expect type.
34052         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
34053         type.
34054         [C99-based standards] (HUGE_VALL): Likewise.
34055         [C99-based standards] (INFINITY): Likewise.
34056         [C99-based standards] (NAN): Likewise.
34057         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34058         [C99-based standards] (FP_NAN): Likewise.
34059         [C99-based standards] (FP_NORMAL): Likewise.
34060         [C99-based standards] (FP_SUBNORMAL): Likewise.
34061         [C99-based standards] (FP_ZERO): Likewise.
34062         [C99-based standards] (FP_FAST_FMA): Use
34063         optional-macro-int-constant.  Specify type.  Require == 1.
34064         [C99-based standards] (FP_FAST_FMAF): Likewise.
34065         [C99-based standards] (FP_FAST_FMAL): Likewise.
34066         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34067         [C99-based standards] (FP_ILOGBNAN): Likewise.
34068         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34069         Specify type.
34070         [C99-based standards] (MATH_ERREXCEPT): Likewise.
34071         [C99-based standards] (math_errhandling): Specify type.
34072         [ISO99 || ISO11] (signgam): Do not allow.
34073         [non-C99-based standards] (copysignf): Do not allow.
34074         [non-C99-based standards] (exp2f): Likewise.
34075         [non-C99-based standards] (log2f): Likewise.
34076         [non-C99-based standards] (modff): Allow.
34077         [non-C99-based standards] (erff): Do not allow.
34078         [non-C99-based standards] (erfcf): Likewise.
34079         [non-C99-based standards] (gammaf): Likewise.
34080         [non-C99-based standards] (hypotf): Likewise.
34081         [non-C99-based standards] (j0f): Likewise.
34082         [non-C99-based standards] (j1f): Likewise.
34083         [non-C99-based standards] (jnf): Likewise.
34084         [non-C99-based standards] (lgammaf): Likewise.
34085         [non-C99-based standards] (tgammaf): Likewise.
34086         [non-C99-based standards] (y0f): Likewise.
34087         [non-C99-based standards] (y1f): Likewise.
34088         [non-C99-based standards] (ynf): Likewise.
34089         [non-C99-based standards] (isnanf): Likewise.
34090         [non-C99-based standards] (acoshf): Likewise.
34091         [non-C99-based standards] (asinhf): Likewise.
34092         [non-C99-based standards] (atanhf): Likewise.
34093         [non-C99-based standards] (cbrtf): Likewise.
34094         [non-C99-based standards] (expm1f): Likewise.
34095         [non-C99-based standards] (ilogbf): Likewise.
34096         [non-C99-based standards] (log1pf): Likewise.
34097         [non-C99-based standards] (logbf): Likewise.
34098         [non-C99-based standards] (nextafterf): Likewise.
34099         [non-C99-based standards] (remainderf): Likewise.
34100         [non-C99-based standards] (rintf): Likewise.
34101         [non-C99-based standards] (scalbf): Likewise.
34102         [non-C99-based standards] (copysignl): Likewise.
34103         [non-C99-based standards] (exp2l): Likewise.
34104         [non-C99-based standards] (log2l): Likewise.
34105         [non-C99-based standards] (modfl): Allow.
34106         [non-C99-based standards] (erfl): Do not allow.
34107         [non-C99-based standards] (erfcl): Likewise.
34108         [non-C99-based standards] (gammal): Likewise.
34109         [non-C99-based standards] (hypotl): Likewise.
34110         [non-C99-based standards] (j0l): Likewise.
34111         [non-C99-based standards] (j1l): Likewise.
34112         [non-C99-based standards] (jnl): Likewise.
34113         [non-C99-based standards] (lgammal): Likewise.
34114         [non-C99-based standards] (tgammal): Likewise.
34115         [non-C99-based standards] (y0l): Likewise.
34116         [non-C99-based standards] (y1l): Likewise.
34117         [non-C99-based standards] (ynl): Likewise.
34118         [non-C99-based standards] (isnanl): Likewise.
34119         [non-C99-based standards] (acoshl): Likewise.
34120         [non-C99-based standards] (asinhl): Likewise.
34121         [non-C99-based standards] (atanhl): Likewise.
34122         [non-C99-based standards] (cbrtl): Likewise.
34123         [non-C99-based standards] (expm1l): Likewise.
34124         [non-C99-based standards] (ilogbl): Likewise.
34125         [non-C99-based standards] (log1pl): Likewise.
34126         [non-C99-based standards] (logbl): Likewise.
34127         [non-C99-based standards] (nextafterl): Likewise.
34128         [non-C99-based standards] (remainderl): Likewise.
34129         [non-C99-based standards] (rintl): Likewise.
34130         [non-C99-based standards] (scalbl): Likewise.
34131         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34132         [non-C99-based standards] (FP_*): Do not allow.
34133         [C99-based standards] (FP_*): Change to
34134         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34135         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34136         allow.
34137         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34138         (SIG_ERR): Likewise.
34139         [X/Open-based standards] (SIG_HOLD): Likewise.
34140         (SIG_IGN): Likewise.
34141         (SIGABRT): Use macro-int-constant.  Specify type.  Require
34142         positive value.
34143         (SIGFPE): Likewise.
34144         (SIGILL): Likewise.
34145         (SIGINT): Likewise.
34146         (SIGSEGV): Likewise.
34147         (SIGTER): Likewise.
34148         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34149         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34150         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34151         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34152         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34153         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34154         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34155         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34156         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34157         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34158         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34159         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34160         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34161         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34162         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34163         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34164         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34165         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34166         [X/Open-based standards] (SIGTRAP): Likewise.
34167         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34168         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34169         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34170         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34171         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34172         allow.
34173
34174 2012-05-08  Ian Wienand  <ianw@vmware.com>
34175
34176         [BZ #14080]
34177         * time/tzset.c (__tzset_parse_tz): Update default rules for
34178         daylight time changes in the Energy Policy Act of 2005.
34179
34180 2012-05-09  Andreas Jaeger  <aj@suse.de>
34181
34182         [BZ #13983]
34183         * elf/ldconfig.c (parse_conf): Change string to make clear that
34184         ldconfig only issued a warning if ld.so.conf does not exist.
34185
34186 2012-05-08  David S. Miller  <davem@davemloft.net>
34187
34188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34189         movxtod instead of popping the value on the stack.
34190
34191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34192
34193 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
34194
34195         * config.h.in: Add HAVE_ARM_PCS_VFP.
34196
34197 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
34198
34199         [BZ #13979]
34200         * include/features.h: Warn if user requests __FORTIFY_SOURCE
34201         checking but the checks are disabled for any reason.
34202
34203 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
34204
34205         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34206         and ELF64_R_TYPE with ELFW(R_TYPE).
34207
34208 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
34209
34210         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34211         (ulimit): Likewise.
34212
34213         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34214         (settimeofday): Likewise.
34215
34216 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
34217
34218         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
34219         a struct th_u2 inside the union, and move tu_block/tu_code into
34220         a new th_u3 union of tu_block/tu_code inside of that.  Move
34221         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
34222         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
34223         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34224         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34225         (th_stuff): Change to th_u1.tu_stuff.
34226         (th_data): Define.
34227         (th_msg): Change to th_u1.th_u2.tu_data.
34228
34229 2012-05-07  David S. Miller  <davem@davemloft.net>
34230
34231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34232
34233         [BZ #14074]
34234         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34235         (SETUP_PIC_REG): Use it.
34236         (SETUP_PIC_REG_LEAF): Use it.
34237
34238 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
34239
34240         [BZ #13885]
34241         [BZ #13923]
34242         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34243         USE_AS_EXPM1L.
34244         (EXPL_FINITE): Likewise.
34245         (FLDLOG): Likewise.
34246         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34247         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34248         e_expl.S.
34249         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34250         USE_AS_EXPM1L.
34251         (EXPL_FINITE): Likewise.
34252         (FLDLOG): Likewise.
34253         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34254         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34255         e_expl.S.
34256         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
34257         test of -max_value argument for long double.
34258         * sysdeps/i386/fpu/libm-test-ulps: Update.
34259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34260
34261 2012-05-06  David S. Miller  <davem@davemloft.net>
34262
34263         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34264         quad soft-float symbols whose references which are compiler
34265         generated.
34266         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34267
34268 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
34269
34270         [BZ #13884]
34271         [BZ #13914]
34272         * sysdeps/i386/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         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34282         e_expl.S.
34283         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34284         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34285         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34286         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34287         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34288         USE_AS_EXP10L.
34289         (EXPL_FINITE): Likewise.
34290         (FLDLOG): Likewise.
34291         (c0): Likewise.
34292         (c1): Likewise.
34293         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34294         Adjust comments for base varying.
34295         (__expl_finite): Change alias to EXPL_FINITE.
34296         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
34297         tests for bugs.
34298         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34299
34300         [BZ #14064]
34301         * math/libm-test.inc (check_float_internal): Correct ulp
34302         calculation for subnormal expected results.
34303
34304 2012-05-06  Andreas Jaeger  <aj@suse.de>
34305
34306         * Makeconfig (+math-flags): New, set to -frounding-math.
34307         (+cflags): Add +math-flags so that all of glibc gets compiled with
34308         it.
34309
34310         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34311
34312 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
34313
34314         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34315         Disable one test.
34316
34317         [BZ #13787]
34318         [BZ #13922]
34319         [BZ #14036]
34320         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34321         (__ieee754_expl): Allow for and saturate large arguments.
34322         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34323         (u_threshold): Likewise.
34324         (__exp): Call __ieee754_exp before checking for overflow and
34325         underflow.
34326         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34327         (u_threshold): Likewise.
34328         (__expf): Call __ieee754_expf before checking for overflow and
34329         underflow.
34330         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34331         (u_threshold): Likewise.
34332         (__expl): Call __ieee754_expl before checking for overflow and
34333         underflow.
34334         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34335         (__ieee754_expl): Allow for and saturate large arguments.
34336         * math/libm-test.inc (exp_test): Add another test.  Do not allow
34337         missing overflow exception on overflow.
34338         (expm1_test): Do not allow missing overflow exception on overflow.
34339
34340         * sysdeps/i386/fpu/e_expl.c: Move to ...
34341         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
34342         rather than using inline asm.
34343         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34344         * sysdeps/x86_64/fpu/e_expl.S: Copy from
34345         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34346
34347         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34348         (nice): Likewise.
34349         (poll): Likewise.
34350         (signal): Likewise.
34351         (time): Likewise.
34352         (times): Likewise.
34353
34354 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34355
34356         * sysdeps/unix/syscalls.list (adjtime): Add entry from
34357         sysdeps/unix/common/syscalls.list.
34358         (fchmod): Likewise.
34359         (fchown): Likewise.
34360         (ftruncate): Likewise.
34361         (getrusage): Likewise.
34362         (gettimeofday): Likewise.
34363         (setpgid): Likewise.
34364         (setregid): Likewise.
34365         (setreuid): Likewise.
34366         (sigaction): Likewise.
34367         (truncate): Likewise.
34368         (vhangup): Likewise.
34369         * sysdeps/unix/common/syscalls.list: Remove file.
34370         * sysdeps/unix/bsd/Implies: Don't include unix/common.
34371         * sysdeps/unix/sysv/linux/Implies: Likewise.
34372
34373 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
34374
34375         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34377         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34378         Moved to ...
34379         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34380         Here.
34381         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34382         to ...
34383         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34384         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34385         to ...
34386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34387         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34388         to ...
34389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34390         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34391         to ...
34392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34393         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34394         to ...
34395         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34396         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34397         to ...
34398         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34399         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34400         to ...
34401         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34402         Here.
34403         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34404         to ...
34405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34406         Here.
34407         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34408         to ...
34409         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34410         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34411         Moved to ...
34412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34413         Here.
34414         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34415         to ...
34416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34417
34418 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34419
34420         * sysdeps/unix/common/bits/dirent.h: Remove file.
34421         * sysdeps/unix/common/bits/fcntl.h: Likewise.
34422
34423         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34424         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34425         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34426         * sysdeps/unix/bsd/isatty.c: Likewise.
34427         * sysdeps/unix/bsd/tcdrain.c: Likewise.
34428         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34429         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34430
34431 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34432
34433         [BZ #13563]
34434         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34435         long double comparison inaccuracies.
34436         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34438
34439 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
34440
34441         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34442         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34443
34444 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34445
34446         [BZ #14049]
34447         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34448         nonzero digits before rounding a hex value.
34449         * stdlib/tst-strtod.c (tests): Add another test.
34450
34451 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34452
34453         * sysdeps/s390/fpu/libm-test-ulps: Update.
34454
34455 2012-05-03  Andreas Jaeger  <aj@suse.de>
34456
34457         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34458         does not get optimized out.
34459         (malloc_opt_barrier): New.
34460
34461 2012-05-03  Andreas Jaeger  <aj@suse.de>
34462             Roland McGrath  <roland@hack.frob.com>
34463
34464         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34465         intermediate file deletion.
34466         (generated): Add .symlist files.
34467
34468 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
34469
34470         [BZ #13775]
34471         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34472         Redirect under this condition.
34473         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34474         [__USE_GNU] (__dprintf_chk): Not under this condition.
34475         [__USE_GNU] (__vdprintf_chk): Likewise.
34476         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34477         under this condition.
34478         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34479         [__USE_XOPEN2K8] (dprintf): Define under this condition.
34480         [__USE_XOPEN2K8] (vdprintf): Likewise.
34481         [__USE_GNU] (__dprintf_chk): Not under this condition.
34482         [__USE_GNU] (__vdprintf_chk): Likewise.
34483         [__USE_GNU] (dprintf): Likewise.
34484         [__USE_GNU] (vdprintf): Likewise.
34485
34486 2012-05-03  Roland McGrath  <roland@hack.frob.com>
34487
34488         * elf/Makefile (common-generated): Set this instead of generated for
34489         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
34490         $(all-built-dso)-derived lists.
34491
34492 2012-05-03  Andreas Jaeger  <aj@suse.de>
34493
34494         * sysdeps/i386/fpu/libm-test-ulps: Update.
34495
34496         * FAQ: Removed.
34497         * FAQ.in: Likewise.
34498         * scripts/gen-FAQ.pl: Likewise.
34499         * manual/install.texi (Installation): Point to online location of
34500         FAQ.
34501         * Makefile (files-for-dist): Remove FAQ.
34502         (FAQ): Remove.
34503
34504 2012-05-02  Allan McRae  <allan@archlinux.org>
34505
34506         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34507         (LDFLAGS-reldepmod5.so): Likewise.
34508         (LDFLAGS-reldep6mod1.so): Likewise.
34509         (LDFLAGS-reldep6mod4.so): Likewise.
34510         (LDFLAGS-reldep8mod3.so): Likewise.
34511         (LDFLAGS-unload4mod1.so): Likewise.
34512         (LDFLAGS-unload4mod2.so): Likewise.
34513         (LDFLAGS-tst-initorder): Likewise.
34514         (LDFLAGS-tst-initordera2.so): Likewise.
34515         (LDFLAGS-tst-initordera3.so): Likewise.
34516         (LDFLAGS-tst-initordera4.so): Likewise.
34517         (LDFLAGS-tst-initorderb2.so): Likewise.
34518         (LDFLAGS-noload): Likewise.
34519         (LDFLAGS-next): Likewise.
34520         (LDFLAGS-order2mod1.so): Likewise.
34521         (LDFLAGS-order2mod2.so): Likewise.
34522         (LDFLAGS-tst-initorder2): Likewise.
34523         (LDFLAGS-tst-initorder2a.so): Likewise.
34524         (LDFLAGS-tst-initorder2b.so): Likewise.
34525         (LDFLAGS-tst-initorder2c.so): Likewise.
34526         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34527
34528 2012-05-02  David S. Miller  <davem@davemloft.net>
34529
34530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34531
34532 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
34533
34534         [BZ #14055]
34535         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34536
34537 2012-05-02  Andreas Jaeger  <aj@suse.de>
34538
34539         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34540         since we manipulate rounding mode.
34541         (CPPFLAGS-test-idouble.c): Likewise.
34542         (CPPFLAGS-test-ifloat.c): Likewise.
34543         (CFLAGS-test-ldouble.c): Likewise.
34544         (CFLAGS-test-double.c): Likewise.
34545         (CFLAGS-test-float.c): Likewise.
34546         (CFLAGS-test-misc.c): Likewise.
34547         (CFLAGS-test-test-fenv.c): Likewise.
34548
34549 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34550
34551         [BZ #2550]
34552         [BZ #2570]
34553         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34554         comparisons to determine direction to adjust input.
34555
34556 2012-05-01  Roland McGrath  <roland@hack.frob.com>
34557
34558         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34559         output to the target.
34560
34561         * scripts/localplt.awk: New file.
34562         * elf/Makefile ($(objpfx)check-localplt): Target removed.
34563         (check-localplt-CFLAGS): Variable removed.
34564         ($(all-built-dso:=.jmprel)): New static pattern rule.
34565         (generated): Add those targets.
34566         (localplt-built-dso): New variable.
34567         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34568
34569         * elf/check-localplt.c: File removed.
34570
34571         * scripts/check-execstack.awk: New file.
34572         * elf/Makefile ($(objpfx)check-execstack): Target removed.
34573         (check-execstack-CFLAGS): Variable removed.
34574         ($(objpfx)check-execstack.h): Target removed.
34575         ($(objpfx)execstack-default): New target.
34576         (generated): Add that instead of check-execstack.h.
34577         ($(all-built-dso:=.phdr)): New static pattern rule.
34578         (generated): Add those targets.
34579         * elf/check-execstack.c: File removed.
34580
34581         * scripts/check-textrel.awk: New file.
34582         * elf/Makefile ($(objpfx)check-textrel): Target removed.
34583         (check-textrel-CFLAGS): Variable removed.
34584         (all-built-dso): Use := to define.o
34585         ($(all-built-dso:=.dyn)): New static pattern rule.
34586         (generated): Add those targets.
34587         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34588         * config.make.in (READELF): New substituted variable.
34589         * elf/check-textrel.c: File removed.
34590
34591 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
34592
34593         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34594         allow.
34595         * conform/data/ctype.h-data [C99-based standards] (isblank):
34596         Expect function.
34597         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34598         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34599         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34600         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34601         Specify type.  Require positive value.
34602         (EILSEQ): Likewise.
34603         (ERANGE): Likewise.
34604         [ISO || POSIX] (EILSEQ): Do not expect.
34605         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34606         Specify type.  Require positive value.
34607         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34608         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34609         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34610         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34611         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34612         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34613         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34614         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34615         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34616         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34617         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34618         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34619         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34620         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34621         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34622         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34623         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34624         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34625         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34626         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34627         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34628         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34629         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34630         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34631         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34632         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34633         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34634         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34635         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34636         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34637         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34638         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34639         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34640         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34641         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34642         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34643         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34644         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34645         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34646         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34647         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34648         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34649         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34650         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34651         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34652         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34653         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34654         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34655         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34656         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34657         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34658         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34659         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34660         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34661         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34662         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34663         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34664         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34665         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34666         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34667         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34668         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34669         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34670         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34671         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34672         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34673         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34674         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34675         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34676         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34677         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34678         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34679         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34680         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34681         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34682         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34683         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34684         Require >= 2.
34685         (FLT_ROUNDS): Expect as macro, not constant.
34686         (FLT_MANT_DIG): Use macro-int-constant.
34687         (DBL_MANT_DIG): Likewise.
34688         (LDBL_MANT_DIG): Likewise.
34689         (FLT_DIG): Likewise.
34690         (DBL_DIG): Likewise.
34691         (LDBL_DIG): Likewise.
34692         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
34693         (DBL_MIN_EXP): Likewise.
34694         (LDBL_MIN_EXP): Likewise.
34695         (FLT_MAX_EXP): Use macro-int-constant.
34696         (DBL_MAX_EXP): Likewise.
34697         (LDBL_MAX_EXP): Likewise.
34698         (FLT_MAX_10_EXP): Likewise.
34699         (DBL_MAX_10_EXP): Likewise.
34700         (LDBL_MAX_10_EXP): Likewise.
34701         (FLT_MAX): Use macro-constant.
34702         (DBL_MAX): Likewise.
34703         (LDBL_MAX): Likewise.
34704         (FLT_EPSILON): Use macro-constant.  Give upper bound.
34705         (DBL_EPSILON): Likewise.
34706         (LDBL_EPSILON): Likewise.
34707         (FLT_MIN): Likewise.
34708         (DBL_MIN): Likewise.
34709         (LDBL_MIN): Likewise.
34710         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34711         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34712         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34713         [ISO11] (FLT_HAS_SUBNORM): Likewise.
34714         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34715         [ISO11] (DBL_DECIMAL_DIG): Likewise.
34716         [ISO11] (FLT_DECIMAL_DIG): Likewise.
34717         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34718         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34719         [ISO11] (FLT_TRUE_MIN): Likewise.
34720         [ISO11] (LDBL_TRUE_MIN): Likewise.
34721         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34722         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34723         (SCHAR_MIN): Use macro-int-constant.  Specify type.
34724         (SCHAR_MAX): Likewise.
34725         (UCHAR_MAX): Likewise.
34726         (CHAR_MIN): Likewise.
34727         (CHAR_MAX): Likewise.
34728         (MB_LEN_MAX): Use macro-int-constant.
34729         (SHRT_MIN): Use macro-int-constant.  Specify type.
34730         (SHRT_MAX): Likewise.
34731         (USHRT_MAX): Likewise.
34732         (INT_MAX): Likewise.
34733         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
34734         bound negative.
34735         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34736         bound with "U".
34737         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34738         bound with "L".
34739         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
34740         bound negative.  Suffix upper bound with "L".
34741         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34742         bound with "UL".
34743         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34744         Specify type.
34745         [C99-based standards] (LLONG_MAX): Likewise.
34746         [C99-based standards] (ULLONG_MAX): Likewise.
34747         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
34748         == 0.
34749         [ISO11] (max_align_t): Require type.
34750         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34751
34752         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34753         from $CFLAGS, without defining away __attribute__ calls.
34754         (checknamespace): Use $CFLAGS_namespace.
34755
34756         * conform/conformtest.pl (@keywords): Only include C99 keywords
34757         for standards based on C99 or C11.
34758
34759         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34760         Disable tests.
34761         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34762         UNIX98]: Likewise.
34763
34764         * conform/conformtest.pl: Handle "macro-int-constant" and test for
34765         usability of symbols in #if.
34766
34767         * conform/conformtest.pl: If macro or constant types start
34768         "promoted:", expect the symbol to be of the following type
34769         promoted by the integer promotions.
34770
34771         * conform/conformtest.pl: Parse all "constant" and "macro" lines
34772         in one place.  Also handle "macro-constant".
34773
34774         * conform/conformtest.pl: Only accept expected macro values with
34775         "==".  Parse all "macro" lines in one place.
34776         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34777
34778         * conform/conformtest.pl: Handle braced types on "constant" lines
34779         instead of handling "typed-constant".
34780         * conform/data/signal.h-data: Use "constant" instead of
34781         "typed-constant".
34782
34783         * conform/conformtest.pl: Handle "optional-" at start of lines in
34784         one place rather than duplicating several cases.  Handle each
34785         format of "macro" line with initial "optional-".
34786
34787         * conform/conformtest.pl: Only accept expected constant or
34788         optional-constant values with "==".  Parse all "constant" lines in
34789         one place.  Parse all "optional-constant" lines in one place.
34790         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34791         * conform/data/fmtmsg.h-data: Likewise.
34792         * conform/data/netinet/in.h-data: Likewise.
34793         * conform/data/tar.h-data: Likewise.
34794         * conform/data/limits.h-data: Use "==" form on "constant" and
34795         "optional-constant" lines.
34796
34797         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34798         Use -std=c99 for XOPEN2K.
34799         (@knownproblems): Remove.
34800         (newtoken): Don't check %isknown.
34801
34802         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34803         Do not expect macro.
34804         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34805         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34806         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34807         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34808         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34809         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34810         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34811         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34812         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34813         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34814         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34815         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34816         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34817         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34818         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34819         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34820         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34821         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34822         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34823         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34824         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34825         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34826         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34827         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34828         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34829         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34830         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34831         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34832         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34833         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34834         [XPG3] (acosh): Likewise.
34835         [XPG3] (asinh): Likewise.
34836         [XPG3] (atanh): Likewise.
34837         [XPG3] (cbrt): Likewise.
34838         [XPG3] (expm1): Likewise.
34839         [XPG3] (ilogb): Likewise.
34840         [XPG3] (log1p): Likewise.
34841         [XPG3] (logb): Likewise.
34842         [XPG3] (nextafter): Likewise.
34843         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34844         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34845         [XPG3] (remainder): Likewise.
34846         [XPG3] (rint): Likewise.
34847         [XPG3 || XPG4 || UNIX98] (round): Likewise.
34848         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34849         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34850         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34851         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34852         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34853         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34854         [UNIX98 || XOPEN2K] (scalb): Expect.
34855         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34856         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34857         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34858         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34859         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34860         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34861         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34862         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34863         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34864         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34865         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34866         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34867         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34868         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34869         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34870         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34871         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34872         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34873         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34874         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34875         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34876         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34877         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34878         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34879         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34880         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34881         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34882         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34883         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34884         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34885         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34886         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34887         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34888         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34889         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34890         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34891         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34892         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34893         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34894         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34895         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34896         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34897         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34898         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34899         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34900         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34901         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34902         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34903         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34904         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34905         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34906         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34907         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34908         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34909         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34910         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34911         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34912         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34913         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34914         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34915         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34916         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34917         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34918         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34919         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34920         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34921         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34922         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34923         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34924         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34925         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34926         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34927         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34928         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34929         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34930         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34931         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34932         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34933         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34934         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34935         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34936         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34937         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34938         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34939         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34940         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34941         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34942         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34943         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34944         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34945         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34946         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34947         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34948         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34949         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34950         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34951         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34952         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34953         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34954         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34955         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34956         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34957         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34958         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34959         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34960         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34961         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34962         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34963         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34964         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34965         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34966         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34967         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34968         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34969         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34970         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34971         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34972         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34973         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34974         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34975         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34976         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34977         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34978         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34979         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34980         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34981         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34982         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34983         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34984         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34985         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34986         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34987         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34988         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34989         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34990         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34991         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34992
34993         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34994         _XOPEN_SOURCE_EXTENDED for XPG4.
34995
34996         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34997
34998         * Makeconfig (localtime): Remove variable.
34999         (inst_localtime-file): Likewise.
35000
35001 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35002
35003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35004         Update.
35005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35006         Update.
35007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35008         Update.
35009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35010         Update.
35011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35012         Update.
35013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35014         Update.
35015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35016         Update.
35017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35018         Update.
35019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35020         Update.
35021
35022 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35023
35024         [BZ #2550]
35025         [BZ #2570]
35026         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35027         comparisons to determine direction to adjust input.
35028         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35029         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35030         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35031         Likewise.
35032         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35033         Likewise.
35034         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35035         Likewise.
35036         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35037         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35038         Likewise.
35039         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35040         Likewise.
35041         * math/libm-test.inc (nexttoward_test): Add more tests.
35042
35043 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35044
35045         [BZ #14040]
35046         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35047         in version GLIBC_2.1, not GLIBC_2.0.
35048         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35049         Likewise.
35050
35051 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
35052
35053         [BZ #13942]
35054         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35055         (1 - x) * (1 + x).
35056         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35057         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35058         * math/libm-test.inc (acos_test): Add more tests.
35059         (asin_test): Likewise.
35060         * sysdeps/i386/fpu/libm-test-ulps: Update.
35061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35062
35063         [BZ #14034]
35064         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35065         of square root.
35066         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35067         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35068         * math/libm-test.inc (acos_test_tonearest): New function.
35069         (acos_test_towardzero): Likewise.
35070         (acos_test_downward): Likewise.
35071         (acos_test_upward): Likewise.
35072         (asin_test_tonearest): Likewise.
35073         (asin_test_towardzero): Likewise.
35074         (asin_test_downward): Likewise.
35075         (asin_test_upward): Likewise.
35076         (main): Call the new functions.
35077         * sysdeps/i386/fpu/libm-test-ulps: Update.
35078         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35079
35080         [BZ #13884]
35081         [BZ #13924]
35082         * math/e_exp10.c: Include <float.h>.
35083         (__ieee754_exp10): Handle underflow here rather than multiplying
35084         large negative argument by M_LN10.
35085         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35086         of __ieee754_expf.
35087         * math/e_exp10l.c: Include <float.h>.
35088         (__ieee754_exp10l): Handle underflow here rather than multiplying
35089         large negative argument by M_LN10l.
35090         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
35091         spurious overflow exception on underflow.
35092
35093 2012-04-29  Marek Polacek  <polacek@redhat.com>
35094
35095         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35096         (__fortify_function): New macro.
35097         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35098         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35099         __extern_always_inline.
35100         * libio/bits/stdio2.h: Likewise.
35101         * libio/bits/stdio.h: Likewise.
35102         * string/string.h: Likewise.
35103         * string/bits/string3.h: Likewise.
35104         * include/stdio.h: Likewise.
35105         * stdlib/bits/stdlib.h: Likewise.
35106         * stdlib/stdlib.h: Likewise.
35107         * rt/bits/mqueue2.h: Likewise.
35108         * rt/mqueue.h: Likewise.
35109         * posix/bits/unistd.h: Likewise.
35110         * posix/unistd.h: Likewise.
35111         * io/bits/poll2.h: Likewise.
35112         * io/bits/fcntl2.h: Likewise.
35113         * io/fcntl.h: Likewise.
35114         * io/sys/poll.h: Likewise.
35115         * misc/bits/syslog.h: Likewise.
35116         * misc/bits/syslog-ldbl.h: Likewise.
35117         * misc/sys/syslog.h: Likewise.
35118         * socket/bits/socket2.h: Likewise.
35119         * socket/sys/socket.h: Likewise.
35120         * debug/tst-chk1.c: Likewise.
35121         * wcsmbs/bits/wchar2.h: Likewise.
35122         * wcsmbs/bits/wchar-ldbl.h: Likewise.
35123         * wcsmbs/wchar.h: Likewise.
35124
35125 2012-04-29  Andreas Jaeger  <aj@suse.de>
35126
35127         * Makerules (tests): Remove enable-check-abi protection.
35128         (check-abi-warn): Remove.
35129         (check-abi-%): Remove check-abi-warn usage.
35130
35131         * configure.in: Remove check-abi configure option.
35132         * configure: Regenerated.
35133         * config.make.in (enable-check-abi): Remove.
35134
35135 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
35136
35137         [BZ #14033]
35138         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35139         double functions to double *_finite functions.
35140
35141         [BZ #13941]
35142         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35143         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35144         LDBL_MIN_EXP.
35145         * stdio-common/Makefile (tests): Add tst-sprintf3.
35146         * stdio-common/tst-sprintf3.c: New file.
35147
35148         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35149         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35150
35151 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35152
35153         * conform/conformtest.pl: Remove duplicate typed-constant
35154         handling.
35155
35156 2012-04-28  David S. Miller  <davem@davemloft.net>
35157
35158         * Makerules (%.abilist): Add vpath on sysdep_dirs.
35159         (check-abi-%): Remove AWK script prerequisite and explicit
35160         abilist directory.
35161         (check-abi): Rewrite to just diff the symlist with the abilist.
35162         (config-tls, config-abi-config): Delete, no longer used.
35163         (update-abi-%): Remove AWK script and explicit abilist directory.
35164         (update-abi): Rewrite to simply compare and conditionally copy the
35165         symlist and the sysdep abilist file.  Remove update-abi-config
35166         checks.
35167         * abilist/ld.abilist: Remove.
35168         * abilist/libBrokenLocale.abilist: Remove.
35169         * abilist/libanl.abilist: Remove.
35170         * abilist/libcrypt.abilist: Remove.
35171         * abilist/libdl.abilist: Remove.
35172         * abilist/librt.abilist: Remove.
35173         * abilist/libthread_db.abilist: Remove.
35174         * abilist/libutil.abilist: Remove.
35175         * scripts/extract-abilist.awk: Remove.
35176         * scripts/merge-abilist.awk: Remove.
35177         * sysdeps/generic/libcidn.abilist: New file.
35178         * sysdeps/generic/libnss_compat.abilist: New file.
35179         * sysdeps/generic/libnss_db.abilist: New file.
35180         * sysdeps/generic/libnss_dns.abilist: New file.
35181         * sysdeps/generic/libnss_files.abilist: New file.
35182         * sysdeps/generic/libnss_hesiod.abilist: New file.
35183         * sysdeps/generic/libnss_nis.abilist: New file.
35184         * sysdeps/generic/libnss_nisplus.abilist: New file.
35185         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35186         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35187         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35188         file.
35189         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35190         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35191         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35192         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35193         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35194         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35195         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35196         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35197         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35198         file.
35199         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35200         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35201         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35202         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35203         file.
35204         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35205         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35206         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35207         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35208         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35209         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35210         file.
35211         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35212         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35213         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35214         file.
35215         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35216         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35217         New file.
35218         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35219         New file.
35220         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35221         New file.
35222         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35223         New file.
35224         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35225         New file.
35226         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35227         New file.
35228         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35229         New file.
35230         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35231         New file.
35232         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35233         New file.
35234         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35235         New file.
35236         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35237         New file.
35238         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35239         New file.
35240         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35241         New file.
35242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35243         file.
35244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35245         New file.
35246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35247         New file.
35248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35249         file.
35250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35251         New file.
35252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35253         New file.
35254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35255         file.
35256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35257         New file.
35258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35259         New file.
35260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35261         New file.
35262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35263         New file.
35264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35265         New file.
35266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35267         New file.
35268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35270         file.
35271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35272         New file.
35273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35274         file.
35275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35276         file.
35277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35278         file.
35279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35280         file.
35281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35282         file.
35283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35284         New file.
35285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35286         file.
35287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35288         file.
35289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35290         New file.
35291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35292         file.
35293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35295         file.
35296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35297         New file.
35298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35299         file.
35300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35301         file.
35302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35303         file.
35304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35305         file.
35306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35307         file.
35308         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35309         New file.
35310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35311         file.
35312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35313         file.
35314         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35315         New file.
35316         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35317         file.
35318         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35319         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35320         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35321         file.
35322         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35323         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35324         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35325         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35326         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35327         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35328         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35329         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35330         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35331         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35334         file.
35335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35336         New file.
35337         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35338         file.
35339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35340         file.
35341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35342         file.
35343         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35344         file.
35345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35346         file.
35347         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35348         New file.
35349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35350         New file.
35351         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35352         file.
35353         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35354         New file.
35355         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35356         file.
35357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35359         file.
35360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35361         New file.
35362         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35363         file.
35364         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35365         file.
35366         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35367         file.
35368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35369         file.
35370         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35371         file.
35372         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35373         New file.
35374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35375         New file.
35376         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35377         file.
35378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35379         New file.
35380         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35381         file.
35382
35383 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35384
35385         * conform/conformtest.pl: Fix typo in handling typed-constant from
35386         allow-header.
35387
35388 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35389
35390         * README: Cut down references to pre-2.6 Linux kernels and
35391         Linuxthreads.  Update lists of configurations in libc and ports
35392         and sort alphabetically.  Say "or newer" with Linux kernel version
35393         requirements.
35394
35395         * config.h.in [IS_IN_build]: Allow compiling without optimization.
35396
35397 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35398
35399         [BZ #887]
35400         * math/libm-test.inc (logb_test_downward): New test to expose
35401         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35402         rounding mode.
35403
35404 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35405
35406         [BZ #14027]
35407         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35408         to be done.
35409         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35410         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35411
35412 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
35413
35414         * sysdeps/unix/i386/brk.S: Remove file.
35415         * sysdeps/unix/i386/dl-brk.S: Likewise.
35416         * sysdeps/unix/i386/pipe.S: Likewise.
35417         * sysdeps/unix/i386/sigreturn.S: Likewise.
35418         * sysdeps/unix/i386/syscall.S: Likewise.
35419         * sysdeps/unix/i386/vfork.S: Likewise.
35420         * sysdeps/unix/i386/wait.S: Likewise.
35421
35422         * sysdeps/unix/common/tcsendbrk.c: Move to ...
35423         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35424
35425         * configure.in (arm*-none*): Do not allow without
35426         --enable-hacker-mode.
35427         (netbsd*): Remove case setting base_os.
35428         (386bsd*): Likewise.
35429         (freebsd*): Likewise.
35430         (bsdi*): Likewise.
35431         (osf*): Likewise.
35432         (sunos*): Likewise.
35433         (ultrix*): Likewise.
35434         (newsos*): Likewise.
35435         (dynix*): Likewise.
35436         (*bsd*): Likewise.
35437         (sysv*): Likewise.
35438         (isc*): Likewise.
35439         (esix*): Likewise.
35440         (sco*): Likewise.
35441         (minix*): Likewise.
35442         (irix4*): Likewise.
35443         (irix6*): Likewise.
35444         (solaris[2-9]*): Likewise.
35445         (none): Likewise.
35446         * configure: Regenerated.
35447
35448 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35449
35450         [BZ #11521]
35451         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35452         overflow or cancellation in calculating denominator.
35453         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35454         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35455         down expression to avoid unexpected rounding in newer GCCs.
35456         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35457
35458 2012-04-26  David S. Miller  <davem@davemloft.net>
35459
35460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35461         long-double compat symbols.
35462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35475
35476 2012-04-25  David S. Miller  <davem@davemloft.net>
35477
35478         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35479         HWCAP_* values only after the memory barriers have been defined.
35480         (atomic_full_barrier): Define.
35481         (atomic_read_barrier): Define.
35482         (atomic_write_barrier): Define.
35483
35484 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35485
35486         * shlib-versions: Add libgcc_s version information.
35487         * sysdeps/generic/libgcc_s.h: Remove.
35488         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35489         libgcc_s.h.
35490         * sysdeps/gnu/unwind-resume.c: Likewise.
35491         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35492
35493 2012-04-25  David S. Miller  <davem@davemloft.net>
35494
35495         * sysdeps/unix/sparc/brk.S: Delete.
35496         * sysdeps/unix/sparc/dl-brk.S: Delete.
35497         * sysdeps/unix/sparc/pipe.S: Delete.
35498         * sysdeps/unix/sparc/sysdep.S: Delete.
35499         * sysdeps/unix/sparc/sysdep.h: Delete.
35500         * sysdeps/unix/sparc/vfork.S: Delete.
35501         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35502         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35503         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35504         (ret_ERRVAL, r0, r1, MOVE): Define.
35505         (JUMPTARGET): Remove.
35506         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35507         sysdeps/unix/sparc/sysdep.h
35508         (ENTRY, END): Remove.
35509         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35510
35511 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
35512
35513         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35514         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35515         -DIS_IN_build.
35516
35517         * timezone/README: Update upstream location and email address for
35518         tzcode and tzdata.
35519         * timezone/zdump.c: Update from tzcode 2012b.
35520         * timezone/zic.c: Likewise.
35521
35522         * configure.in (libc_cv_as_needed): Remove test.
35523         * configure: Regenerated.
35524         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35525         conditional definition.
35526         [$(have-as-needed) != yes] (no-as-needed): Likewise.
35527         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35528         * config.make.in (have-as-needed): Remove variable.
35529
35530 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35531             Paul Pluzhnikov  <ppluzhnikov@google.com>
35532
35533         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35534         strings correctly.
35535
35536 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
35537
35538         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35539         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35540         * sysdeps/sh/strlen.S: Likewise.
35541
35542 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35543
35544         * sysdeps/unix/fork.S: Remove file.
35545         * sysdeps/unix/i386/fork.S: Likewise.
35546         * sysdeps/unix/sparc/fork.S: Likewise.
35547
35548         * sysdeps/unix/system.c: Remove file.
35549         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35550
35551         * sysdeps/unix/getegid.S: Remove file.
35552         * sysdeps/unix/geteuid.S: Likewise.
35553
35554 2012-04-24  Roland McGrath  <roland@hack.frob.com>
35555
35556         * scripts/check-localplt.awk: New file.
35557         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35558         of diff.
35559         * scripts/data/localplt-generic.data: Add a comment.
35560
35561         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35562         NODE when __dir_mkfile failed.
35563         * sysdeps/mach/hurd/symlinkat.c: Likewise.
35564         Reported by Ludovic Courtès <ludo@gnu.org>.
35565
35566 2012-04-24  Andreas Jaeger  <aj@suse.de>
35567
35568         * Makerules (common-clean): Also remove gen-as-const-headers
35569         files.
35570
35571 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35572
35573         * Makerules (native-compile): Do not change working directory for
35574         build.  Use $(OUTPUT_OPTION) in command.
35575         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35576
35577 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35578
35579         [BZ #13886]
35580         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35581         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35582         * math/libm-test.inc (floor_test): Add more tests.
35583         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35584
35585 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35586
35587         * sysdeps/unix/getdents.c: Remove file.
35588         * sysdeps/unix/sysv/getdents.c: Likewise.
35589         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35590
35591         * sysdeps/unix/syscalls.list (madvise): Add syscall from
35592         sysdeps/unix/mman/syscalls.list.
35593         (mmap): Likewise.
35594         (mprotect): Likewise.
35595         (msync): Likewise.
35596         (munmap): Likewise.
35597         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35598         * sysdeps/unix/mman/syscalls.list: Remove.
35599         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35600
35601         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35602         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35603         * configure: Regenerated.
35604         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35605         $(libgcc_s_suffix).
35606         * config.make.in (libgcc_s_suffix): Remove variable.
35607
35608 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
35609
35610         * sysdeps/unix/sysv/gethostname.c: Move to ...
35611         * sysdeps/posix/gethostname.c: ... here.
35612
35613         * sysdeps/unix/execve.S: Remove file.
35614
35615         * sysdeps/unix/_exit.S: Remove file.
35616
35617 2012-04-23  Andreas Jaeger  <aj@suse.de>
35618
35619         [BZ #13739]
35620         * manual/Makefile: Remove make dist support, there's no
35621         need for a stand-alone documentation tar ball.
35622         (TEXI2DVI): Define always, it's not in Makeconfig.
35623         (dist): Removed.
35624         (tar-it): Removed.
35625         (edition): Removed.
35626         (glibc-doc-$(edition).tar): Removed
35627         (%.Z): Removed.
35628         (%.gz): Removed.
35629         (%.uu): Removed.
35630         (ETAGS): Remove, it's in Makeconfig.
35631         (move-if-change): Remove, it's in Makeconfig.
35632
35633 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
35634
35635         [BZ #13970]
35636         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35637         (strtod, strtof, strtold, strtol, strtoul, strtoq)
35638         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35639         (strtod_l, strtof_l, strtold_l): Remove __wur.
35640         It is not necessarily an error to ignore strtol's return value.
35641         One can reliably look at the stored endptr to decide whether
35642         the number had valid syntax.
35643
35644 2012-04-21  Andreas Jaeger  <aj@suse.de>
35645
35646         [BZ #13739]
35647         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35648
35649 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
35650
35651         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35652         * sysdeps/unix/sysv/Versions: Remove file.
35653
35654 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
35655
35656         [BZ #13927]
35657         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35658
35659 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
35660
35661         [BZ #7064]
35662         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35663         version from __vm86.
35664
35665 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
35666
35667         * sysdeps/unix/common/lxstat.c: Remove file.
35668         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35669
35670         * sysdeps/unix/sysv/Makefile: Remove file.
35671
35672         * sysdeps/unix/sysv/direct.h: Remove file.
35673
35674         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35675         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35676         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35677         * sysdeps/unix/sysv/bits/signum.h: Likewise.
35678         * sysdeps/unix/sysv/bits/stat.h: Likewise.
35679         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35680         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35681
35682         * sysdeps/unix/sysv/setrlimit.c: Remove file.
35683
35684         * sysdeps/unix/xmknod.c: Remove file.
35685         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35686
35687         * sysdeps/unix/sysv/settimeofday.c: Remove file.
35688
35689         * sysdeps/unix/sysv/i386/time.S: Remove file.
35690
35691         * sysdeps/unix/fxstat.c: Remove file.
35692         * sysdeps/unix/xstat.c: Likewise.
35693         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35694
35695         * sysdeps/unix/sysv/sigaction.c: Remove file.
35696
35697         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35698         (sysdep_headers): Remove variable.
35699         [termio.h not in sysdep_headers] (generated): Likewise.
35700         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35701         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35702         * sysdeps/unix/sysv/tcdrain.c: Likewise.
35703         * sysdeps/unix/sysv/tcflow.c: Likewise.
35704         * sysdeps/unix/sysv/tcflush.c: Likewise.
35705         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35706         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35707         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35708         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35709         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35710
35711         * sysdeps/unix/siglist.c: Remove file.
35712
35713         * sysdeps/unix/getppid.S: Remove file.
35714
35715         * sysdeps/unix/mkdir.c: Remove file.
35716         * sysdeps/unix/rmdir.c: Likewise.
35717
35718 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
35719
35720         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35721         ERR_MAX value.
35722         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35723         errlist-compat value.
35724
35725 2012-04-18  David S. Miller  <davem@davemloft.net>
35726
35727         * sysdeps/generic/memcopy.h (reg_char): Delete.
35728         * debug/strcat_chk.c: Use char, not reg_char.
35729         * debug/strcpy_chk.c: Likewise.
35730         * debug/strncat_chk.c: Likewise.
35731         * debug/strncpy_chk.c: Likewise.
35732         * string/memchr.c: Likewise.
35733         * string/memrchr.c: Likewise.
35734         * string/rawmemchr.c: Likewise.
35735         * string/strcat.c: Likewise.
35736         * string/strchr.c: Likewise.
35737         * string/strchrnul.c: Likewise.
35738         * string/strcmp.c: Likewise.
35739         * string/strcpy.c: Likewise.
35740         * string/strncat.c: Likewise.
35741         * string/strncmp.c: Likewise.
35742         * string/strncpy.c: Likewise.
35743
35744 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35745
35746         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35747         __builtin_memcopy is called when src and dest ranges are known to not
35748         overlap.
35749
35750 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35751
35752         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35753         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35754         fwd_align_merge macro call.
35755         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35756         bwd_align_merge macro call.
35757         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35758
35759 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35760
35761         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35762         bwd_align_merge macros.
35763         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35764         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35765         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35766
35767 2012-04-18  David S. Miller  <davem@davemloft.net>
35768
35769         * sysdeps/sparc/sparc64/memcopy.h: Delete.
35770
35771 2012-04-18  Andreas Jaeger  <aj@suse.de>
35772
35773         [BZ# 6794]
35774         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35775         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35776         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35777
35778         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35779         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35780         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35781
35782         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35783         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35784         Adjust for changed ldbl-128 files.
35785
35786         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35787         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35788         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35789
35790 2012-04-17  David S. Miller  <davem@davemloft.net>
35791
35792         * sysdeps/sparc/sparc32/memcopy.h: Delete.
35793
35794 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
35795
35796         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35797         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35798         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35799         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35800         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35801         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35802
35803 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35804
35805         [BZ #6794]
35806         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35807         * math/libm-test.inc: Add ilogb errno and exception tests.
35808         * math/w_ilogb.c: New file: ilogb wrapper.
35809         * math/w_ilogbf.c: New file: ilogbf wrapper.
35810         * math/w_ilogbl.c: New file: ilogbl wrapper.
35811         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35812         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35813         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35814         exception being thrown with 0.0 as argument.
35815         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35816         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35817         exception being thrown with 0.0 as argument.
35818         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35819         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35820         exception being thrown with 0.0 as argument.
35821         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35822         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35823         exception being thrown with 0.0 as argument.
35824         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35825         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35826         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35827         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35828         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35829         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35830         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35831         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35832         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35833
35834 2012-04-17  Petr Baudis  <pasky@ucw.cz>
35835
35836         * include/sys/uio.h: Change __vector to __iovec to avoid clash
35837         with altivec.
35838
35839 2012-04-16  Marek Polacek  <polacek@redhat.com>
35840
35841         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35842
35843 2012-04-16  Marek Polacek  <polacek@redhat.com>
35844
35845         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35846         operands of fdivp instruction.
35847
35848 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
35849
35850         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35851         * elf/tst-auditmod3b.c: Likewise.
35852         * elf/tst-auditmod4b.c: Likewise.
35853         * elf/tst-auditmod5b.c: Likewise.
35854         * elf/tst-auditmod6b.c: Likewise.
35855         * elf/tst-auditmod6c.c: Likewise.
35856         * elf/tst-auditmod7b.c: Likewise.
35857         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35858         * sysdeps/x86_64/preconfigure.in: Likewise.
35859         * sysdeps/x86_64/preconfigure: Regenerated.
35860
35861 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
35862
35863         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35864         __ILP32__.
35865
35866 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
35867
35868         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35869         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35870
35871 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
35872
35873         [BZ #13973]
35874         * locale/iso-639.def: Fix gl language name. Spotted by
35875         Yaron Shahrabani.
35876
35877 2012-04-12  Roland McGrath  <roland@hack.frob.com>
35878
35879         [BZ #2074]
35880         * libio/libio.h (__io_write_fn): Update comment.
35881
35882 2012-04-12  Petr Baudis  <pasky@ucw.cz>
35883
35884         [BZ #2074]
35885         * stdio.texi (Hook Functions): The user provided writer function
35886         is not allowed to return -1.
35887
35888 2012-04-11  David S. Miller  <davem@davemloft.net>
35889
35890         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35891
35892 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
35893
35894         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35895         Add a leading slash to rtkaio.
35896
35897 2012-04-11  Jim Meyering  <meyering@redhat.com>
35898
35899         [BZ #11959]
35900         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35901         It is not necessarily an error to ignore fwrite's return
35902         value.  One can reliably use ferror to test for errors after
35903         the fact.
35904
35905 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
35906
35907         * bits/types.h (__snseconds_t): New type.
35908         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35909
35910         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35911         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35912         (__SNSECONDS_T_TYPE): Likewise.
35913         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35914         (__SNSECONDS_T_TYPE): Likewise.
35915         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35916         (__SNSECONDS_T_TYPE): Likewise.
35917
35918 2012-04-10  Andreas Jaeger  <aj@suse.de>
35919
35920         [BZ #2636]
35921         * manual/time.texi (Processor Time): Return type of times is
35922         elapsed real time since an arbitrary point in the past.
35923         (CPU Time): Move CLK_TCK from here...
35924         (Processor Time): ...to here.  Correct description.
35925         * manual/conf.texi (Constants for Sysconf): Correct description of
35926         _SC_CLK_TCK.
35927
35928 2012-04-10  David S. Miller  <davem@davemloft.net>
35929
35930         [BZ #13967]
35931         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35932         where the is a gap between DT_REL(A) and DT_JMPREL.
35933
35934 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
35935
35936         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35937         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35938         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35939
35940 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35941
35942         * elf/dl-support.c (_dl_inhibit_cache): New variable.
35943         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35944         (dl_main): Handle --inhibit-cache.
35945         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35946         _dl_inhibit_cache.
35947         * elf/dl-load.c (_dl_map_object): Use it.
35948         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35949
35950 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
35951
35952         [BZ #13872]
35953         * sysdeps/i386/fpu/e_powl.S (p78): New object.
35954         (__ieee754_powl): Saturate large exponents rather than testing for
35955         overflow of y*log2(x).
35956         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35957         * math/libm-test.inc (pow_test): Do not permit spurious overflow
35958         exceptions.
35959
35960         [BZ #11521]
35961         * math/s_ctan.c: Include <float.h>.
35962         (__ctan): Avoid internal overflow or cancellation in calculating
35963         denominator.
35964         * math/s_ctanf.c: Likewise.
35965         * math/s_ctanl.c: Likewise.
35966         * math/s_ctanh.c: Likewise.
35967         * math/s_ctanhf.c: Likewise.
35968         * math/s_ctanhl.c: Likewise.
35969         * math/libm-test.inc (ctan_test): Add more tests.
35970         (ctanh_test): Likewise.
35971         * sysdeps/i386/fpu/libm-test-ulps: Update.
35972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35973
35974 2012-04-09  Andreas Jaeger  <aj@suse.de>
35975
35976         [BZ #6894]
35977         * manual/filesys.texi (Directory Entries): Mention that d_namlen
35978         is an optional BSD extension.
35979
35980         [BZ #10254]
35981         * manual/stdio.texi (Opening Streams): Document additional fopen
35982         parameters.
35983
35984 2012-04-09  Roland McGrath  <roland@hack.frob.com>
35985
35986         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35987         %eax without telling the compiler.
35988
35989 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
35990
35991         [BZ # 13963]
35992         * manual/install.texi: Use sourceware.org.
35993
35994 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
35995
35996         [BZ #13873]
35997         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35998         (__ieee754_pow): Generate overflow and underflow using huge*huge
35999         and tiny*tiny rather than just returning constant infinity or zero
36000         for large exponents.
36001         * math/libm-test.inc (pow_test): Require overflow exceptions for
36002         applicable cases of large exponents.
36003
36004         [BZ #706]
36005         * sysdeps/i386/fpu/e_pow.S (p10): New object.
36006         (__ieee754_pow): Use iterative multiplication algorithm only for
36007         integer exponents with absolute value below 1024.  Check for odd
36008         integer exponents when using algorithm for real exponents.
36009         * math/libm-test.inc (pow_test): Add more tests.
36010         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36011
36012 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
36013
36014         [BZ #13705]
36015         * math/libm-test.inc (exp_test): Do not allow overflow exception
36016         on underflow test.
36017
36018 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
36019
36020         [BZ #13705]
36021         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36022         instead of __kernel_standard_f.
36023
36024 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
36025
36026         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36027         * sysdeps/x86_64/memset_chk.S: Likewise.
36028
36029 2012-04-08  Andreas Jaeger  <aj@suse.de>
36030
36031         [BZ #10153]
36032         * manual/startup.texi (Environment Access): Describe return value
36033         for putenv and setenv.
36034
36035         [BZ #6895]
36036         * manual/filesys.texi (Directory Entries): Add description for
36037         DT_LNK.
36038
36039         [BZ #6890]
36040         * manual/filesys.texi (Directory Entries): Clarify that it's file
36041         system not operating system in the description of DT_UNKNOWN.
36042
36043         [BZ #6578]
36044         * manual/syslog.texi (closelog): Fix reference, it's openlog.
36045
36046 2012-04-08  Stephen Compall  <s11@member.fsf.org>
36047
36048         [BZ #6649]
36049         * manual/llio.texi (Opening and Closing Files): Add cross
36050         reference to explain mode argument.
36051
36052 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
36053
36054         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36055         * sysdeps/x86_64/memset_chk.S: Likewise.
36056
36057 2012-04-07  David S. Miller  <davem@davemloft.net>
36058
36059         * elf/elf.h (R_SPARC_WDISP10): Define.
36060         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36061         R_SPARC_SIZE32.
36062         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36063         R_SPARC_SIZE64 and R_SPARC_H34.
36064
36065 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
36066
36067         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36068         conditions and remove no longer applicable assertion.
36069
36070 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36071
36072         * bits/byteswap.h: Include <features.h>.
36073         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36074         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36075
36076 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36077
36078         * bits/byteswap.h (__bswap_16): Removed.
36079         Include <bits/byteswap-16.h> to get __bswap_16.
36080         * sysdeps/i386/bits/byteswap.h: Likewise.
36081         * sysdeps/s390/bits/byteswap.h: Likewise.
36082         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36083         * bits/byteswap-16.h: New file.
36084         * sysdeps/i386/bits/byteswap-16.h: Likewise.
36085         * sysdeps/s390/bits/byteswap-16.h: Likewise.
36086         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36087         * string/Makefile (headers): Add bits/byteswap-16.h.
36088
36089 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36090
36091         [BZ #13895]
36092         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36093         extra indirection.
36094         * nss/Makefile (tests-static, tests): Add tst-nss-static.
36095         * nss/tst-nss-static.c: New.
36096
36097 2012-04-06  Robert Millan  <rmh@gnu.org>
36098
36099         [BZ #6486]
36100         * manual/llio.texi (File Position Primitive): lseek
36101         refers to WHENCE when it really means OFFSET.
36102
36103 2012-04-06  Andreas Jaeger  <aj@suse.de>
36104
36105         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36106         strncmp declarations.
36107
36108         * abilist/libc.abilist: Add __poll and __ppoll.
36109
36110 2012-04-05  David S. Miller  <davem@davemloft.net>
36111
36112         * scripts/check-local-headers.sh: Accept a host triplet in the
36113         path matched by the exclude regexp.
36114
36115         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36116         definition.
36117         * sysdeps/powerpc/powerpc32/dl-machine.h
36118         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36119         * sysdeps/s390/s390-32/dl-machine.h
36120         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36121         * sysdeps/sparc/sparc32/dl-machine.h
36122         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36123         * sysdeps/sparc/sparc64/dl-machine.h
36124         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36125
36126         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36127         lazy binding.
36128         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36129         undefined symbol errors.
36130
36131         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36132         DT_NEEDED entries.
36133
36134 2012-04-05  Michael Matz  <matz@suse.de>
36135
36136         [BZ #13592]
36137         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36138
36139 2012-04-05  Andreas Jaeger  <aj@suse.de>
36140
36141         [BZ #13908]
36142         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36143         comment.
36144
36145 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36146
36147         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36148         which ROUND is no valid rounding mode.
36149
36150 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36151
36152         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36153         read again.
36154         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36155
36156 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36157
36158         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36159         an exception using FPU order intentionally.
36160
36161 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36162
36163         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36164         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36165         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36166         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36167
36168 2012-04-05  Simon Josefsson  <simon@josefsson.org>
36169
36170         [BZ #12340]
36171         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36172         EINVAL when BUFLEN is too smal.
36173
36174 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36175
36176         [BZ #13553]
36177         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36178         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36179
36180 2012-04-03  Andreas Jaeger  <aj@suse.de>
36181
36182         [BZ #13938]
36183         * manual/setjmp.texi (System V contexts): Fix sentence.
36184
36185         [BZ #13926]
36186         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36187         New macro for this case.
36188         [!__GNUC__] (__bswap_64): New inline function for this case.
36189         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36190         * bits/byteswap.h: Likewise.
36191         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36192         ull, guard with __GLIBC_HAVE_LONG_LONG.
36193
36194         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36195         __GLIBC_HAVE_LONG_LONG.
36196
36197         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36198         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36199
36200 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36201
36202         [BZ #13691]
36203         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36204         inptr and inend, rather than using last_ch.
36205
36206 2012-04-02  David S. Miller  <davem@davemloft.net>
36207
36208         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36209         * stdio-common/printf-parse.h (read_int): Change return type to
36210         'int', return -1 on INT_MAX overflow.
36211         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36212         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
36213         overflows INT_MAX.  Check for overflow of in-format-string precision
36214         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
36215         SIZE_MAX not INT_MAX for integer overflow test.
36216         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36217         skip the construct in the format string but do not record anything.
36218         * stdio-common/bug22.c: Adjust to test both width/prevision
36219         INT_MAX overflow as well as total length INT_MAX overflow.  Check
36220         explicitly for proper errno values.
36221
36222 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36223
36224         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36225         CHAR_MAX.
36226         * string/test-strcmp.c [! WIDE]: Likewise.
36227         * time/tst-mktime2.c: Likewise for INT_MAX.
36228         * string/test-string.h: #include <sys/param.h> for MIN.
36229
36230         * csu/init-first.c (__libc_init_first): Call __ctype_init.
36231         * sysdeps/i386/init-first.c (init): Likewise.
36232         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36233         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36234         * sysdeps/sh/init-first.c (init): Likewise.
36235
36236 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
36237
36238         * po/ru.po: Update from translation team.
36239         * po/vi.po: Likewise.
36240
36241 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36242
36243         * resolv/nss_dns/dns-host.c: Merge copyright years.
36244
36245 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36246
36247         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36248         Optimize memcpy with prefetch if
36249         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
36250         src, dst pointers have unequal 16 byte alignments.
36251
36252 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36253
36254         [BZ #13928]
36255         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36256         from a CNAME entry and return the minimum ttl for the query.
36257         (gaih_getanswer_slice): Likewise.
36258
36259 2012-03-30  Jeff Law  <law@redhat.com>
36260
36261         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36262         due to long keys.
36263         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36264         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36265
36266         * resolv/nss_dns/dns-host.c: Update copyright year.
36267
36268 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
36269
36270         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36271         requests to save a system call.  Fix check that all bytes are sent.
36272
36273         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36274         comments for sendmmsg.
36275
36276 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36277
36278         [BZ #13691]
36279         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36280         with only 1 character between 0x0041 and 0x01b0.
36281         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36282         * wcsmbs/tst-mbsnrtowcs.c: New file.
36283
36284 2012-03-29  David S. Miller  <davem@davemloft.net>
36285
36286         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36287         small copies by hand.
36288
36289 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36290
36291         [BZ #13761]
36292         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36293         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36294         group memberships.
36295
36296 2012-03-28  David S. Miller  <davem@davemloft.net>
36297
36298         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36299         that branches into memcpy.
36300         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36301         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36302         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36303         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36304         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36305         bits.
36306         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36307         implementation too.
36308         * sysdeps/sparc/mempcpy.S: New file.
36309
36310         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36311         the IFUNC routine in the libc case.
36312         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36313
36314         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36315         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36316         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36317         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36318         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36319         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36320         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36321         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36322
36323         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36324         loop to 256 bytes instead of 64 bytes and fix test signedness.
36325
36326         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36327         * sysdeps/sparc/sparc32/Makefile: rather than here...
36328         * sysdeps/sparc/sparc64/Makefile: and here.
36329
36330 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
36331
36332         * malloc/mallocbug.c: Avoid warnings about unused variables.
36333
36334 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36335
36336         [BZ #13760]
36337         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36338         in the right place. Discard and retry query if response is
36339         larger than input buffer size.
36340
36341 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
36342
36343         [BZ #369]
36344         [BZ #2678]
36345         [BZ #3866]
36346         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36347         x for large integer exponent.
36348         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36349         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
36350         sign of result as needed afterwards.
36351         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36352         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36353         result for underflowing pow the same as for overflow.
36354         (__kernel_standard_l): Handle powl overflow and underflow here
36355         rather than calling __kernel_standard.
36356         * math/libm-test.inc (pow_test): Add more tests.
36357
36358         [BZ #3868]
36359         [BZ #13879]
36360         [BZ #13910]
36361         [BZ #13911]
36362         [BZ #13912]
36363         [BZ #13913]
36364         [BZ #13915]
36365         [BZ #13916]
36366         [BZ #13917]
36367         [BZ #13918]
36368         [BZ #13919]
36369         [BZ #13920]
36370         [BZ #13921]
36371         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36372         * sysdeps/ieee754/k_standard.c: Include <float.h>.
36373         (__kernel_standard_l): New function.
36374         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36375         __kernel_standard.
36376         * math/w_acosl.c (__acosl): Likewise.
36377         * math/w_asinl.c (__asinl): Likewise.
36378         * math/w_atan2l.c (__atan2l): Likewise.
36379         * math/w_atanhl.c (__atanhl): Likewise.
36380         * math/w_coshl.c (__coshl): Likewise.
36381         * math/w_exp10l.c (__exp10l): Likewise.
36382         * math/w_exp2l.c (__exp2l): Likewise.
36383         * math/w_fmodl.c (__fmodl): Likewise.
36384         * math/w_hypotl.c (__hypotl): Likewise.
36385         * math/w_j0l.c (__j0l, __y0l): Likewise.
36386         * math/w_j1l.c (__j1l, __y1l): Likewise.
36387         * math/w_jnl.c (__jnl, __ynl): Likewise.
36388         * math/w_lgammal.c (__lgammal): Likewise.
36389         * math/w_log10l.c (__log10l): Likewise.
36390         * math/w_log2l.c (__log2l): Likewise.
36391         * math/w_logl.c (__logl): Likewise.
36392         * math/w_powl.c (__powl): Likewise.
36393         * math/w_remainderl.c (__remainderl): Likewise.
36394         * math/w_scalbl.c (sysv_scalbl): Likewise.
36395         * math/w_sinhl.c (__sinhl): Likewise.
36396         * math/w_sqrtl.c (__sqrtl): Likewise.
36397         * math/w_tgammal.c (__tgammal): Likewise.
36398         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36399         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36400         * math/libm-test.inc (acos_test): Add more tests.
36401         (acosh_test): Likewise.
36402         (asin_test): Likewise.
36403         (atanh_test): Likewise.
36404         (exp_test): Likewise.
36405         (exp10_test): Likewise.
36406         (exp2_test): Likewise.
36407         (expm1_test): Likewise.
36408         (lgamma_test): Likewise.
36409         (log_test): Likewise.
36410         (log10_test): Likewise.
36411         (log1p_test): Likewise.
36412         (log2_test): Likewise.
36413         (pow_test): Do not allow some spurious overflow exceptions.
36414         (sqrt_test): Add more tests.
36415         (tgamma_test): Likewise.
36416         (y0_test): Likewise.
36417         (y1_test): Likewise.
36418         (yn_test): Likewise.
36419
36420 2012-03-27  Anton Blanchard  <anton@samba.org>
36421
36422         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36423         MAP_HUGETLB.
36424         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36425         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36426         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36427
36428 2012-03-27  David S. Miller  <davem@davemloft.net>
36429
36430         * conform/Makefile: Run run-conformtest.sh using $(BASH).
36431
36432         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36433         have-as-vis3 check.
36434
36435 2012-03-27  Andreas Jaeger  <aj@suse.de>
36436
36437         * sysdeps/x86_64/elf/configure.in: Moved to ...
36438         * sysdeps/x86_64/configure.in: ... here.
36439         * sysdeps/x86_64/elf/start.S: Moved to ...
36440         * sysdeps/x86_64/start.S: ... here.
36441         * sysdeps/x86_64/elf/configure: Delete.
36442
36443         * sysdeps/x86_64/configure.in: Merge contents from
36444         sysdeps/i386/configure.in (without i686 check).
36445
36446         * sysdeps/i386/elf/Versions: Merge into ...
36447         * sysdeps/i386/Versions: ... this.
36448         * sysdeps/i386/elf/Versions: Delete file.
36449         * sysdeps/i386/elf/start.S: Moved to ...
36450         * sysdeps/i386/start.S: ...here.
36451         * sysdeps/i386/elf/configure.in: Merge into...
36452         * sysdeps/i386/configure.in: ...here.
36453         * sysdeps/i386/elf/configure.in: Delete file.
36454         * sysdeps/i386/elf/configure: Delete file.
36455
36456         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36457         * debug/backtracesyms.c: ... here.
36458         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36459         * debug/backtracesymsfd.c: ... here.
36460         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36461         * sysdeps/generic/ifunc-sel.h: ... here.
36462
36463         * sysdeps/unix/i386/start.c: Delete file.
36464         * sysdeps/unix/sparc/start.c: Delete file.
36465         * sysdeps/unix/start.c: Delete file.
36466
36467         * sysdeps/sh/elf/configure.in: Moved to ...
36468         * sysdeps/sh/configure.in: ... here.
36469         * sysdeps/sh/elf/start.S: Moved to ...
36470         * sysdeps/sh/start.S: ... here.
36471         * sysdeps/sh/elf/configure: Delete file.
36472
36473         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36474         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36475         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36476         * sysdeps/powerpc/powerpc64/entry.h: ... here.
36477         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36478         * sysdeps/powerpc/powerpc64/start.S: here.
36479         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36480         * sysdeps/powerpc/powerpc64/Makefile: ... this.
36481         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36482         * sysdeps/powerpc/powerpc64/configure.in: ... this.
36483         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36484
36485         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36486         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36487         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36488         * sysdeps/powerpc/powerpc32/start.S: ... here.
36489         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36490         * sysdeps/powerpc/powerpc32/configure.in: ... this.
36491         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36492
36493         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36494         * sysdeps/powerpc/ifunc-sel.h: ... here.
36495         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36496         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36497
36498         * sysdeps/sparc/elf/configure.in: Moved to ...
36499         * sysdeps/sparc/configure.in: ... here.
36500         * sysdeps/sparc/elf/configure: Delete file.
36501         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36502         * sysdeps/sparc/sparc32/start.S: ... here.
36503         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36504         * sysdeps/sparc/sparc64/start.S: ... here.
36505         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36506         * sysdeps/sparc/sparc32/Makefile: ... this.
36507         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36508         * sysdeps/sparc/sparc64/Makefile: ... this.
36509
36510         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36511         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36512         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36513         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36514         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36515         * sysdeps/s390/s390-32/setjmp.S: ... here.
36516         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36517         * sysdeps/s390/s390-32/configure.in: ... here.
36518         * sysdeps/s390/s390-32/elf/configure: Delete file.
36519         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36520         * sysdeps/s390/s390-32/start.S: ... here.
36521
36522         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36523         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36524         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36525         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36526         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36527         * sysdeps/s390/s390-64/setjmp.S: ... here.
36528         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36529         * sysdeps/s390/s390-64/configure.in: ... here
36530         * sysdeps/s390/s390-64/elf/configure: Delete file.
36531         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36532         * sysdeps/s390/s390-64/start.S: ... here.
36533         * sysdeps/s390/s390-64/elf/configure: Delete.
36534
36535         * configure.in: Remove support for elf directories in sysdeps.
36536
36537         * configure: Regenerated.
36538         * sysdeps/i386/configure: Regenerated.
36539         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36540         * sysdeps/powerpc/powerpc64/configure: Regenerated.
36541         * sysdeps/s390/s390-32/configure: Regenerated.
36542         * sysdeps/s390/s390-64/configure: Regenerated.
36543         * sysdeps/sh/configure: Regenerated.
36544         * sysdeps/sparc/configure: Regenerated.
36545         * sysdeps/x86_64/configure: Regenerated.
36546
36547 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
36548
36549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36550
36551         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36552         denormal result into account.
36553
36554 2012-03-25  Roland McGrath  <roland@hack.frob.com>
36555
36556         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36557         Reported by Allan McRae <allan@archlinux.org>.
36558
36559 2012-03-23  Jeff Law  <law@redhat.com>
36560
36561         * nss/getnssent.c (__nss_getent): Fix typo.
36562
36563 2012-03-23  David S. Miller  <davem@davemloft.net>
36564
36565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36566
36567 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
36568
36569         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36570         to pad to uint64_t for each field.
36571         (dl_tls_index): Replace unsigned long with uint64_t.
36572
36573 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
36574         Paul Pluzhnikov  <ppluzhnikov@google.com>
36575
36576         [BZ #6528]
36577         * grp/Makefile (otherlibs): Don't set it.
36578         * inet/Makefile (otherlibs): Likewise.
36579         * login/Makefile (otherlibs): Likewise.
36580         * nscd/Makefile (otherlibs): Likewise.
36581         * posix/Makefile (otherlibs): Likewise.
36582         * pwd/Makefile (otherlibs): Likewise.
36583         * rt/Makefile (otherlibs): Likewise.
36584         * sunrpc/Makefile (otherlibs): Likewise.
36585         * nss/Makefile (otherlibs): Likewise.
36586         Add libnss_files to routines and static-only-routines.
36587         ($(objpfx)getent): Remove rule.
36588         * resolv/Makefile: Add libnss_dns and libresolv to routines and
36589         static-only-routines.
36590
36591 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
36592
36593         [BZ #13892]
36594         * math/s_cexp.c: Include <float.h>.
36595         (__cexp): Handle exp result overflowing not necessarily
36596         overflowing both real and imaginary parts of result.
36597         * math/s_cexpf.c: Likewise.
36598         * math/s_cexpl.c: Likewise.
36599         * math/libm-test.inc (cexp_test): Add more tests.
36600         * sysdeps/i386/fpu/libm-test-ulps: Update.
36601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36602
36603 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36604
36605         * include/link.h (ELFW): New macro.
36606         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36607         Replace ELF64_R_TYPE with ELFW(R_TYPE).
36608
36609 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36610
36611         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36612         with uint64_t.
36613
36614 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36615
36616         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36617         declaration.
36618         (struct La_x32_retval): Likewise.
36619
36620 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36621
36622         * sysdeps/x86_64/preconfigure.in: New file.
36623         * sysdeps/x86_64/preconfigure: New generated file.
36624
36625 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
36626
36627         [BZ #13824]
36628         * math/e_exp2l.c: Include <float.h>.
36629         (__ieee754_exp2l): Handle overflow and underflow cases
36630         separately.  Only pass fractional part of argument to
36631         __ieee754_expl.
36632         * math/libm-test.inc (exp2_test): Add more tests.
36633
36634         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36635         negating x to take absolute value.
36636         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36637         Likewise.
36638         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36639         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36640         Likewise.
36641         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36642         computing low part if x was negated.
36643         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36644
36645 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36646
36647         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36648         la_x32_gnu_pltexit.
36649         (pltexit): Cast int_retval to ptrdiff_t.
36650         * elf/tst-auditmod3b.c: Likewise.
36651         * elf/tst-auditmod4b.c: Likewise.
36652         * elf/tst-auditmod5b.c: Likewise.
36653         * elf/tst-auditmod6b.c: Likewise.
36654         * elf/tst-auditmod6c.c: Likewise.
36655         * elf/tst-auditmod7b.c: Likewise.
36656
36657         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36658         and x32_gnu_pltexit.
36659
36660         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36661         __ELF_NATIVE_CLASS.
36662         (La_x32_regs): New macro.
36663         (La_x32_retval): Likewise.
36664         (la_x32_gnu_pltenter): New function prototype.
36665         (la_x32_gnu_pltexit): Likewise.
36666
36667 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
36668
36669         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36670         exponent.
36671
36672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36673
36674         * configure.in (libc_cv_cc_nofma): Check for option to disable
36675         generation of FMA instructions.
36676         * configure: Regenerate.
36677         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36678         * sysdeps/ieee754/dbl-64/Makefile: New file.
36679         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36680         Remove brandred-fma4.
36681         (CFLAGS-brandred-fma4.c): Remove.
36682         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36683         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36684         define.
36685         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36686         define.
36687
36688 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36689
36690         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36691         LLONG_MAX != LONG_MAX.
36692         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36693         (_fitoa_word): Likewise.
36694         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36695         LLONG_MAX != LONG_MAX.
36696         * stdio-common/_itowa.h: Include <_itoa.h>.
36697         (_itowa_word): Use _ITOA_WORD_TYPE on value.
36698         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
36699         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
36700         only if not defined.
36701         (_ITOA_WORD_TYPE): Likewise.
36702         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36703         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36704
36705 2012-03-21  David S. Miller  <davem@davemloft.net>
36706
36707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36708
36709 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36710
36711         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36712         of x86_64 when setting libc_cv_slibdir, libdir and
36713         libc_cv_localedir.
36714         * sysdeps/unix/sysv/linux/configure: Regenerated.
36715
36716 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36717
36718         * manual/lang.texi (Old Varargs): Remove section.
36719         (How Variadic): Update menu.
36720         (va_start): Do not mention varargs.h.
36721
36722 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36723             Joseph Myers  <joseph@codesourcery.com>
36724
36725         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36726         link test.
36727         * configure: Regenerated.
36728
36729 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36730
36731         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36732         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36733         conformtest.pl
36734
36735 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36736
36737         * NOTES: Remove.
36738         * Makefile (files-for-dist): Remove NOTES.
36739         (NOTES): Remove rule.
36740         * README: Don't refer to NOTES.
36741         * manual/creature.texi: Don't include macros.texi.
36742         * manual/intro.texi (creature.texi): Remove comment referring to
36743         NOTES.
36744
36745         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36746         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36747         * configure: Regenerated.
36748         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36749         LIBC_TRY_CC_OPTION.
36750         (libc_cv_as_i686): Likewise.
36751         (libc_cv_cc_avx): Likewise.
36752         (libc_cv_cc_sse2avx): Likewise.
36753         (libc_cv_cc_fma4): Likewise.
36754         (libc_cv_cc_novzeroupper): Likewise.
36755         * sysdeps/i386/configure: Regenerated.
36756
36757         [BZ #13883]
36758         * sysdeps/i386/fpu/s_cexp.S: Remove.
36759         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36760         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36761         * math/libm-test.inc (cexp_test): Add more tests.
36762         * sysdeps/i386/fpu/libm-test-ulps: Update.
36763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36764
36765 2012-03-21  Allan McRae  <allan@archlinux.org>
36766
36767         * timezone/Makefile: Do not install iso3166.tab and zone.tab
36768
36769 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36770
36771         [BZ #13871]
36772         * math/w_exp2.c: Do not include <float.h>.
36773         (o_threshold, u_threshold): Remove.
36774         (__exp2): Calculate result before checking finiteness and calling
36775         __kernel_standard.
36776         * math/w_exp2f.c: Likewise.
36777         * math/w_exp2l.c: Likewise.
36778         * math/libm-test.inc (exp2_test): Require overflow exception for
36779         1e6 input.
36780
36781         [BZ #3866]
36782         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36783         range of signed 64-bit integers before using fistpll.  Remove
36784         checks for whether integers fit in mantissa bits.
36785         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36786         the range of signed 32-bit integers before using fistpl.  Remove
36787         checks for whether integers fit in mantissa bits.
36788         * sysdeps/i386/fpu/e_powl.S (p64): New object.
36789         (__ieee754_powl): Test for y outside the range of signed 64-bit
36790         integers before using fistpll.  Reduce 64-bit values to 63-bit
36791         ones as needed.
36792         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36793         divide-by-zero is raised for zero to large negative powers.
36794         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36795         (__ieee754_powl): Test for y outside the range of signed 64-bit
36796         integers before using fistpll.  Reduce 64-bit values to 63-bit
36797         ones as needed.
36798         * math/libm-test.inc (pow_test): Add more tests.
36799
36800 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36801
36802         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36803         <stdio-common/_itoa.h>.
36804         * debug/segfault.c: Likewise.
36805         * elf/dl-cache.c: Likewise.
36806         * elf/dl-minimal.c: Likewise.
36807         * elf/dl-misc.c: Likewise.
36808         * elf/dl-sysdep.c: Likewise.
36809         * elf/dl-version.c: Likewise.
36810         * elf/rtld.c: Likewise.
36811         * hurd/hurdsock.c: Likewise.
36812         * hurd/lookup-retry.c: Likewise.
36813         * malloc/malloc.c: Likewise.
36814         * malloc/mtrace.c: Likewise.
36815         * nscd/nscd_getgr_r.c: Likewise.
36816         * nscd/nscd_getpw_r.c: Likewise.
36817         * nscd/nscd_getserv_r.c: Likewise.
36818         * posix/getopt_init.c: Likewise.
36819         * posix/wordexp.c: Likewise.
36820         * stdio-common/_itoa.c: Likewise.
36821         * stdio-common/printf_fphex.c: Likewise.
36822         * stdio-common/vfprintf.c: Likewise.
36823         * string/_strerror.c: Likewise.
36824         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36825         * sysdeps/i386/i686/hp-timing.h: Likewise.
36826         * sysdeps/mach/_strerror.c: Likewise.
36827         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36828         * sysdeps/mach/hurd/sethostid.c: Likewise.
36829         * sysdeps/mach/hurd/xmknodat.c: Likewise.
36830         * sysdeps/mach/xpg-strerror.c: Likewise.
36831         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36832         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36833         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36834         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36835         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36836         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36837         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36838         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36839         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36840         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36841         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36842         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36843         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36844         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36845         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36846         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36847         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36848         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36849         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36850         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36851         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36852
36853         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36854
36855         * stdio-common/_itoa.h: Moved to ...
36856         * sysdeps/generic/_itoa.h: Here.
36857
36858         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36859
36860         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36861         instead of "_itoa.h" and "_itowa.h".
36862         * stdio-common/vfprintf.: Likewise.
36863
36864 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36865
36866         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36867         <bits/wordsize.h>.
36868         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36869         (__signbit): Likwise.
36870         (llrintf): Likwise.
36871         (llrint): Likwise.
36872
36873 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36874
36875         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36876         __WORDSIZE != 64.
36877
36878 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
36879
36880         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36881         OVERFLOW_EXCEPTION_OK.
36882         * math/libm-test.inc ("Philosophy"): Update comment about
36883         exception testing.
36884         (OVERFLOW_EXCEPTION): Define.
36885         (OVERFLOW_EXCEPTION_OK): Likewise.
36886         (INVALID_EXCEPTION_OK): Renumber.
36887         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36888         (IGNORE_ZERO_INF_SIGN): Likewise.
36889         (test_exceptions): Handle FE_OVERFLOW.
36890         (exp10_test): Expect overflow exceptions.
36891         (exp2_test): Likewise.
36892         (expm1_test): Likewise.
36893         (nextafter_test): Likewise.
36894         (pow_test): Likewise.
36895         (scalbn_test): Likewise.
36896         (scalbln_test): Likewise.
36897
36898 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36899
36900         * sysdeps/x86_64/bits/atomic.h
36901         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36902         64bit integer.
36903         (atomic_exchange_acq): Likewise.
36904         (__arch_exchange_and_add_body): Likewise.
36905         (__arch_add_body): Likewise.
36906         (atomic_add_negative): Likewise.
36907         (atomic_add_zero): Likewise.
36908
36909 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36910
36911         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36912         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36913
36914 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36915
36916         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36917         Check __x86_64__ instead of __WORDSIZE.
36918
36919 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36920
36921         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36922
36923 2012-03-19  David S. Miller  <davem@davemloft.net>
36924
36925         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36926
36927         * sysdeps/sparc/fpu/fenv_private.h: New file.
36928         * sysdeps/sparc/fpu/math_private.h: Use it.
36929         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36930         Remove.
36931         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36932         (libc_feholdexcept_setroundl): Remove.
36933         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36934         Remove.
36935         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36936         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36937
36938 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36939
36940         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36941         int64_t instead of long int.
36942         (INSERT_WORDS64): Likwise.
36943
36944 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36945
36946         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36947         _Unwind_GetCFA return to _Unwind_Ptr first.
36948
36949 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
36950
36951         [BZ #13629]
36952         * math/s_clog.c: Include <float.h>.
36953         (__clog): Scale large or subnormal inputs.
36954         * math/s_clogf.c: Likewise.
36955         * math/s_clogl.c: Likewise.
36956         * math/s_clog10.c: Include <float.h>.
36957         (M_LOG10_2): Define.
36958         (__clog10): Scale large or subnormal inputs.
36959         * math/s_clog10f.c: Likewise.
36960         * math/s_clog10l.c: Likewise.
36961         * math/libm-test.inc (clog_test): Add more tests.
36962         (clog10_test): Likewise.
36963         * sysdeps/i386/fpu/libm-test-ulps: Update.
36964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36965
36966         [BZ #11451]
36967         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36968         x and y.
36969         * math/libm-test.inc (atan2_test): Add another test.
36970
36971         * Makerules (common-objdir-compile): Remove.
36972         * sysdeps/unix/Makefile (config-generated): Do not add
36973         $(unix-generated) to variable.
36974         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36975         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36976         Remove rule.
36977         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36978         Likewise.
36979         [generic bits/local_lim.h] (before-compile): Do not append to
36980         variable.
36981         [generic bits/local_lim.h] (common-generated): Likewise.
36982         [generic sys/param.h] (before-compile): Do not append to variable.
36983         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36984         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36985         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36986         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36987         include.
36988         [generic sys/param.h] (sys/param.h-includes): Remove variable.
36989         [generic sys/param.h] (sys/param.h-includes): Remove rule.
36990         [generic sys/param.h] ($(addprefix
36991         $(common-objpfx),$(sys/param.h-includes))): Likewise.
36992         [generic sys/param.h] (common-generated): Do not append to
36993         variable.
36994         [generic sys/param.h] (sysdep_headers): Likewise.
36995         [generic bits/errno.h] (before-compile): Do not append to
36996         variable.
36997         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36998         rule.
36999         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37000         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37001         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37002         [generic bits/errno.h] (common-generated): Do not append to
37003         variable.
37004         [generic bits/ioctls.h] (before-compile): Do not append to
37005         variable.
37006         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37007         rule.
37008         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37009         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37010         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37011         rule.
37012         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37013         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37014         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37015         [generic bits/ioctls.h] (common-generated): Do not append to
37016         variable.
37017         [generic sys/syscall.h] (syscall.h): Remove variable.
37018         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37019         rule.
37020         [generic sys/syscall.h] (before-compile): Do not append to
37021         variable.
37022         [generic sys/syscall.h] (common-generated): Likewise.
37023         * sysdeps/unix/errnos-tmpl.c: Remove file.
37024         * sysdeps/unix/errnos.awk: Likewise.
37025         * sysdeps/unix/ioctls-tmpl.c: Likewise.
37026         * sysdeps/unix/ioctls.awk: Likewise.
37027         * sysdeps/unix/mk-local_lim.c: Likewise.
37028         * sysdeps/unix/snarf-ioctls: Likewise.
37029
37030 2012-03-19  Richard Henderson  <rth@twiddle.net>
37031
37032         * sysdeps/i386/fpu/fenv_private.h: New file.
37033         * sysdeps/i386/fpu/math_private.h: Use it.
37034         (math_opt_barrier, math_force_eval): Remove.
37035         (libc_feholdexcept_setround_53bit): Remove.
37036         (libc_feupdateenv_53bit): Remove.
37037         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37038         (math_opt_barrier, math_force_eval): Remove.
37039         (libc_feholdexcept): Remove.
37040         (libc_feholdexcept_setround): Remove.
37041         (libc_fetestexcept, libc_fesetenv): Remove.
37042         (libc_feupdateenv_test): Remove.
37043         (libc_feupdateenv, libc_feholdsetround): Remove.
37044         (libc_feresetround): Remove.
37045
37046         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37047         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37048
37049         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37050         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37051         (libc_feupdateenv_testl): New.
37052         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37053         (libc_feupdateenv_testf): New.
37054         (libc_feupdateenv): Use libc_feupdateenv_test.
37055         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37056         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37057
37058         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37059         (libc_feholdsetroundf, libc_feholdsetroundl): New.
37060         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37061         (libc_feresetround_noex): New.
37062         (libc_feresetround_noexf): New.
37063         (libc_feresetround_noexl): New.
37064         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37065         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37066         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37067         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37068         SET_RESTORE_ROUND.
37069         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37070         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37071         (__cos): Likewise.
37072         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37073         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37074         SET_RESTORE_ROUND_NOEX.
37075         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37076         SET_RESTORE_ROUND_NOEXF.
37077         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37078         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37079         (libc_feholdsetroundf): New.
37080         (libc_feresetround, libc_feresetroundf): New.
37081
37082         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37083         (libc_feholdexcept_setround_53bit): Convert from macro to function.
37084         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
37085
37086         * sysdeps/generic/math_private.h: Include <fenv.h>.
37087         (default_libc_feholdexcept): New.
37088         (default_libc_feholdexcept_setround): New.
37089         (default_libc_fesetenv, default_libc_feupdateenv): New.
37090         (libc_feholdexcept): Only define if undefined.
37091         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37092         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37093         (libc_feholdexcept_setroundl): Likewise.
37094         (libc_feholdexcept_setround_53bit): Likewise.
37095         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37096         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37097         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37098         (libc_feupdateenv_53bit): Likewise.
37099         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37100         (libc_feholdexcept): Convert from macro to inline function.
37101         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37102         (libc_fesetenv, libc_feupdateenv): Likewise.
37103
37104         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37105         not previously defined.
37106         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37107         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37108         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37109         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37110         * sysdeps/ieee754/flt-32/math_private.h: New file.
37111         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37112         math_private.h below SET_FLOAT_WORD.
37113         (__isnan, __isinf_ns, __finite): Remove.
37114         (__isnanf, __isinf_nsf, __finitef): Remove.
37115
37116 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
37117
37118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37119
37120 2012-03-17  David S. Miller  <davem@davemloft.net>
37121
37122         [BZ #6471]
37123         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37124         for 2.16.
37125
37126 2012-03-16  David S. Miller  <davem@davemloft.net>
37127
37128         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37129         warnings.
37130
37131         [BZ #6471]
37132         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37133         properly.
37134         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37135         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37136         sysdep_routines when subdir is sysvipc.
37137         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37138         __getshmlba helper.
37139
37140         * sysdeps/sparc/fpu/libm-test/ulps: Update.
37141
37142 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37143
37144         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37145         [__LP64__].
37146
37147 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37148
37149         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37150         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37151         (__lround): Renamed to ...
37152         (__llround): This.  Replace long int with long long int.
37153         Define lround functions as aliases of llround functions.
37154         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37155
37156 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37157
37158         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37159         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
37160         adresses to uintptr_t.  Replace "long int" and "unsigned long
37161         int" with "greg_t" on va_arg.
37162
37163 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37164
37165         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37166         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37167
37168         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37169         Move e_machine check before EI_CLASS check.  Handle x32
37170         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37171         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37172         SKIP_EM_IA_64 and include
37173         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37174
37175         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37176         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37177         (add_system_dir): New macro.
37178
37179         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37180         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37181
37182 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37183
37184         [BZ #2551]
37185         [BZ #2552]
37186         [BZ #2553]
37187         [BZ #2554]
37188         [BZ #2562]
37189         [BZ #2563]
37190         [BZ #2565]
37191         [BZ #2566]
37192         [BZ #2576]
37193         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37194         (y0): Likewise.
37195         * math/w_j0f.c (j0f): Likewise.
37196         (y0f): Likewise.
37197         * math/w_j0l.c (__j0l): Likewise.
37198         (__y0l): Likewise.
37199         * math/w_j1.c (j1): Likewise.
37200         (y1): Likewise.
37201         * math/w_j1f.c (j1f): Likewise.
37202         (y1f): Likewise.
37203         * math/w_j1l.c (__j1l): Likewise.
37204         (__y1l): Likewise.
37205         * math/w_jn.c (jn): Likewise.
37206         (yn): Likewise.
37207         * math/w_jnf.c (jnf): Likewise.
37208         (ynf): Likewise.
37209         * math/w_jnl.c (__jnl): Likewise.
37210         (__ynl): Likewise.
37211         * math/libm-test.inc (j0_test): Add more tests.
37212         (j1_test): Likewise.
37213         (jn_test): Likewise.  Add trailing semicolon to existing test.
37214         (y0_test): Likewise.
37215         (y1_test): Likewise.
37216         * sysdeps/i386/fpu/libm-test-ulps: Update.
37217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37218
37219         [BZ #13851]
37220         [BZ #13854]
37221         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37222         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37223         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37224         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37225         (__tanl): Set errno for infinite argument.
37226         * sysdeps/i386/fpu/mptan.c: Remove.
37227         * sysdeps/i386/fpu/s_tan.S: Likewise.
37228         * sysdeps/i386/fpu/s_tanl.S: Likewise.
37229         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37230         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37231         * math/libm-test.inc (tan_test): Add more tests and enable more
37232         tests for double and long double.
37233         * sysdeps/i386/fpu/libm-test-ulps: Update.
37234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37235
37236 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
37237
37238         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37239         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37240
37241 2012-03-16  Roland McGrath  <roland@hack.frob.com>
37242
37243         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37244         * configure.in: Use it for both main tree and add-ons.
37245         * configure: Regenerated.
37246
37247 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37248
37249         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37250
37251 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37252
37253         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37254         in comment.
37255
37256         [BZ #13851]
37257         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37258         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37259         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37260         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37261         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37262         infinite argument.
37263         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37264         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37265         != 0 for prec == 2.
37266         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37267         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37268         * sysdeps/i386/fpu/s_cosl.S: Likewise.
37269         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37270         * sysdeps/i386/fpu/s_sinl.S: Likewise.
37271         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37272         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37273         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37274         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37275         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37276         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37277         * math/libm-test.inc (cos_test): Add more tests and enable more
37278         tests for long double.
37279         (sin_test): Likewise.
37280         (sincos_test): Likewise.
37281         * sysdeps/i386/fpu/libm-test-ulps: Update.
37282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37283
37284 2012-03-16  David S. Miller  <davem@davemloft.net>
37285
37286         * sysdeps/sparc/fpu/math_private.h: New file.
37287
37288 2012-03-15  David S. Miller  <davem@davemloft.net>
37289
37290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37291         file.
37292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37294         file.
37295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37296         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37297         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37298         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37299         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37300         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37301         sysdep routines.
37302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37303
37304         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37305         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37306
37307         * sysdeps/sparc/sparc-ifunc.h: New file.
37308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37309         sparc-ifunc.h
37310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37312         Likewise.
37313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37314         Likewise.
37315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37319         Likewise.
37320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37325         Likewise.
37326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37327         Likewise.
37328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37332         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37333         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37334         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37335         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37336         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37337         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37338         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37339         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37340         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37341         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37342         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37343         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37344         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37345         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37346         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37347         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37348         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37349         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37350         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37351         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37352
37353 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37354
37355         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37356         scaling.
37357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37358
37359 2012-03-15  Andreas Jaeger  <aj@suse.de>
37360
37361         [BZ #13852]
37362         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37363         ieee754/flt-32 implementation for sin, cos and sincos.
37364         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37365         * sysdeps/i386/fpu/s_cosf.S: Likewise.
37366         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37367         * sysdeps/i386/fpu/s_sinf.S: Likewise.
37368         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37369         ieee754/flt-32 implementation for tan.
37370
37371         * math/libm-test.inc (cos_test): Enable some large input tests for
37372         float as well
37373         (sin_test): Likewise.
37374         (sincos_test): Likewise.
37375         (tan_test): Add tests for large input.
37376
37377         * sysdeps/i386/fpu/libm-test-ulps: Update.
37378
37379 2012-03-15  Andreas Jaeger  <aj@suse.de>
37380
37381         [BZ #13658]
37382         * math/libm-test.inc (cos_test): Add more test cases.
37383         (sin_test): Likewise.
37384         (sincos_test): Likewise.
37385
37386 2012-03-15  Andreas Jaeger  <aj@suse.de>
37387
37388         [BZ #13837]
37389         * math/libm-test.inc (cos_test): Add a test case for large input
37390         value.
37391         (sin_test): Likewise.
37392         (sincos_test): Likewise.
37393
37394 2012-03-15  Andreas Jaeger  <aj@suse.de>
37395             Joseph Myers  <joseph@codesourcery.com>
37396
37397         [BZ #13658]
37398         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37399         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37400         * sysdeps/i386/fpu/branred.c: Likewise.
37401         * sysdeps/i386/fpu/dosincos.c: Likewise.
37402         * sysdeps/i386/fpu/mpa.c: Likewise.
37403         * sysdeps/i386/fpu/s_cos.S: Likewise.
37404         * sysdeps/i386/fpu/s_sin.S: Likewise.
37405         * sysdeps/i386/fpu/s_sincos.S: Likewise.
37406         * sysdeps/i386/fpu/sincos32.c: Likewise.
37407
37408         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37409         Define.
37410         (libc_feupdateenv_53bit): Define.
37411         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37412         Define.
37413         (libc_feupdateenv_53bit): Define.
37414
37415         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37416         53 bit (without extend i386 double precision).
37417
37418         * math/libm-test.inc (sincos_test): Add tests for large input.
37419         (sin): Likewise.
37420         (cos): Likewise.
37421
37422         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37423
37424 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37425
37426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37427
37428 2012-03-15  David S. Miller  <davem@davemloft.net>
37429
37430         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37431         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37432         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37433         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37438         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37439         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37440         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37441         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37442         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37443         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37444         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37446         file.
37447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37449         file.
37450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37452         file.
37453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37455         file.
37456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37457         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37458         fmin/fmax sysdep routines.
37459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37460
37461 2012-03-14  David S. Miller  <davem@davemloft.net>
37462
37463         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37464         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37465         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37466         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37467         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37468         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37469         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37470         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37471         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37472         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37473         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37474         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37475         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37476         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37477         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37478         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37479         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37480         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37481         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37482         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37483         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37484         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37485         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37486         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37487         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37488         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37489         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37490         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37491         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37492         routines.
37493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37494         file.
37495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37497         file.
37498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37500         file.
37501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37503         file.
37504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37506         file.
37507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37509         file.
37510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37511         file.
37512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37513         file.
37514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37515         file.
37516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37517         New file.
37518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37519         file.
37520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37521         file.
37522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37524         file.
37525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37527         file.
37528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37530         file.
37531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37533         VIS3 routines.
37534
37535         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37536         New file.
37537
37538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37539
37540         * sysdeps/sparc/configure.in: New file.
37541         * sysdeps/sparc/configure: Generate.
37542         * configure.in (libc_cv_sparc_as_vis3): Substitute.
37543         * configure: Regenerate.
37544         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37545         * config.make.in (have-as-vis3): New.
37546         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37547         available use -Av9d instead of -Av9a.
37548         * sysdeps/sparc/sparc64/Makefile: Likewise.
37549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37551         New file.
37552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37553         file.
37554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37555         New file.
37556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37557         file.
37558         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37559         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37560         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37561         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37562         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37563
37564         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37565         fzeros/fnegs to load 0x80000000 into a float register instead of
37566         using the stack.
37567         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37568
37569 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
37570
37571         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37572         bits/syscall.h.
37573         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37574         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37575         ($(inst_includedir)/bits/syscall.h): Remove rule.
37576         ($(objpfx)bits/syscall.d): Include instead of
37577         $(objpfx)syscall-list.d.
37578         (generated): Change syscall-list.h and syscall-list.d to
37579         bits/syscall.h and bits/syscall.d.
37580
37581 2012-03-14  Roland McGrath  <roland@hack.frob.com>
37582
37583         [BZ #13846]
37584         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37585
37586 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
37587
37588         [BZ #13841]
37589         * math/s_csqrt.c: Include <float.h>.
37590         (__csqrt): Scale large or subnormal inputs.
37591         * math/s_csqrtf.c: Likewise.
37592         * math/s_csqrtl.c: Likewise.
37593         * math/libm-test.inc (csqrt_test): Add more tests.
37594         * sysdeps/i386/fpu/libm-test-ulps: Update.
37595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37596
37597         [BZ #13840]
37598         * math/libm-test.inc (hypot_test): Add more tests.
37599
37600 2012-03-13  David S. Miller  <davem@davemloft.net>
37601
37602         [BZ #13840]
37603         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37604         double-precision for the calculation instead of scaling.
37605
37606 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
37607
37608         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37609         manipulate bits before adding and subtracting TWO52[sx].
37610         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37611         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37612         Likewise.
37613         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37614
37615 2012-03-13  David S. Miller  <davem@davemloft.net>
37616
37617         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37618         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37619         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37620         rtld-global-offsets.h
37621         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37622
37623         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37624         large parameters.
37625
37626         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37627
37628         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37629         'err' in the ifdef scope in which it is actually used.
37630
37631         * nss/nss_db/db-init.c: Include string.h
37632
37633 2012-03-12  David S. Miller  <davem@davemloft.net>
37634
37635         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37636         masking out of the most significant byte of random value used.
37637         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37638         Fix coding style in previous change.
37639
37640         * sysdeps/unix/sysv/linux/kernel-features.h
37641         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37642         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37643         expression.
37644         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37645         later.
37646
37647 2012-03-11  David S. Miller  <davem@davemloft.net>
37648
37649         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37650         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37651         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37652         for 'resultvar' otherwise things get truncated on 64-bit.
37653
37654         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37655         Fix masking out of the most significant byte of random value used.
37656
37657         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37658
37659 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
37660
37661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37662
37663 2012-03-09  David S. Miller  <davem@davemloft.net>
37664
37665         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37666         variables with appropriate CPP guards.
37667         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37668         from the frame pointer, not the stack pointer.  Correct layout
37669         comments.  Fix test on resulting framesize and the management of
37670         the outregs buffer for pltexit.  Preserve floating point return
37671         values across _dl_call_pltexit call.
37672         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37673         framesize and the management of the outregs buffer for pltexit.
37674         Preserve floating point return values across _dl_call_pltexit
37675         call.
37676         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37677         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37678         (la_sparc64_gnu_pltexit): New functions.
37679         (print_exit): Fix format string for return register value.
37680
37681 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
37682
37683         * sunrpc/Makefile (others): Add rpcgen.
37684         ($(objpfx)rpcgen): Remove special build rule and dependency on
37685         libc.
37686         * sunrpc/rpcgen.c: New file.
37687
37688 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
37689
37690         [BZ #13673]
37691         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37692         * stdio-common/bug-vfprintf-nargs.c: Likewise.
37693         * sysdeps/i386/crti.S: Likewise.
37694         * sysdeps/i386/crtn.S: Likewise.
37695         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37696         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37697         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37698         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37699         * sysdeps/sh/crti.S: Likewise.
37700         * sysdeps/sh/crtn.S: Likewise.
37701         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37702
37703         [BZ #13673]
37704         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37705         with URL.
37706         * locale/programs/locfile-kw.gperf: Likewise.
37707         * locale/programs/charmap-kw.h: Regenerated.
37708         * locale/programs/locfile-kw.h: Likewise.
37709
37710         [BZ #13673]
37711         * intl/plural.y: Replace FSF snail mail address with URL.
37712         * intl/plural.c: Regenerated.
37713
37714 2012-03-09  Richard Henderson  <rth@twiddle.net>
37715
37716         * include/math_private.h: Remove file.
37717         * math/math_private.h: Move file ...
37718         * sysdeps/generic/math_private.h: ... here.
37719
37720         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37721         * sysdeps/powerpc/fpu/math_private.h: Likewise.
37722         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37723
37724         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37725         and <math_private.h>.
37726         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37727         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37728         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37729         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37730         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37731         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37732         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37733         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37734         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37735         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37736         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37737         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37738         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37739         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37740         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37741         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37742         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37743         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37744         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37745         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37746         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37747         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37748         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37749         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37750         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37751         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37752         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37753         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37754         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37755         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37756         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37757         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37758         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37759         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37760         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37761         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37762         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37763         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37764         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37765         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37766         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37767         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37768         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37769         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37770         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37771         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37772         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37773         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37774         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37775         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37776         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37777         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37778         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37779         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37780         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37781         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37782         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37783         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37784         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37785         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37786         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37787         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37788         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37789         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37790         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37791         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37792         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37793         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37794         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37795         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37796         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37797         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37798         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37799         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37800         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37801         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37802         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37803         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37804         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37805         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37806         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37807         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37808         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37809         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37810         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37811         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37812         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37813         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37814         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37815         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37816         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37817         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37818         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37819         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37820         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37821         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37822         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37823         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37824         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37825         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37826         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37827         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37828         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37829         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37830         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37831         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37832         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37833         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37834         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37835         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37836         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37837         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37838         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37839         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37840         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37841         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37842         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37843         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37844         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37845         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37846         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37847         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37848         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37849         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37850         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37851         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37852         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37853         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37854         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37855         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37856         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37857         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37858         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37859         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37860         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37861         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37862         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37863         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37864         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37865         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37866         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37867         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37868         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37869         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37870         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37871         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37872         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37873         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37874         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37875         * sysdeps/ieee754/k_standard.c: Likewise.
37876         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37877         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37878         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37879         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37880         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37881         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37882         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37883         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37884         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37885         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37886         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37887         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37888         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37889         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37890         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37891         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37892         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37893         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37894         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37895         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37896         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37897         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37898         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37899         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37900         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37901         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37902         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37903         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37904         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37905         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37906         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37907         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37908         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37909         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37910         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37911         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37912         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37913         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37914         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37915         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37916         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37917         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37918         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37919         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37920         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37921         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37922         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37923         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37924         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37925         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37926         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37927         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37928         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37929         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37930         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37931         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37932         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37933         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37934         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37935         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37936         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37937         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37938         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37939         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37940         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37941         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37942         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37943         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37944         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37945         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37946         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37947         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37948         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37949         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37950         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37951         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37952         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37953         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37954         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37955         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37956         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37957         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37958         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37959         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37960         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37961         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37962         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37963         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37964         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37965         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37966         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37967         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37968         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37969         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37970         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37971         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37972         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37973         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37974         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37975         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37976         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37977         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37978         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37979         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37980         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37981         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37982         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37983         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37984         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37985         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37986         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37987         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37988         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37989         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37990         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37991         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37992         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37993         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37994         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37995         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37996         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37997         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37998         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37999         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38000         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38001         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38002         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38003         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38004         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38005         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38006         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38007         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38008         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38009         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38010         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38011         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38012         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38013         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38014         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38015         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38016         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38017         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38018         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38019         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38020         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38021         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38022         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38023         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38024         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38025         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38026         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38027         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38028         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38029         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38030         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38031         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38032         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38033         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38034         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38035         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38036         * sysdeps/ieee754/s_lib_version.c: Likewise.
38037         * sysdeps/ieee754/s_matherr.c: Likewise.
38038         * sysdeps/ieee754/s_signgam.c: Likewise.
38039         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38040         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38041         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38042         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38043         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38044         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38045         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38046         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38047         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38048         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38049         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38050         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38051         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38052         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38053         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38054         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38055         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38056         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38057         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38058         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38059         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38060
38061 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38062
38063         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38064         * sunrpc/rpc_main.c: Likewise.
38065         * sunrpc/rpc_svcout.c: Likewise.
38066
38067 2012-03-09  David S. Miller  <davem@davemloft.net>
38068
38069         * include/math_private.h: New file.
38070
38071 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38072
38073         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38074         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38075         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38076         from <bits/socket_type.h>.
38077         (enum __socket_type): Don't define here.
38078         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38079         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38080         bits/socket_type.h.
38081
38082         [BZ #13566]
38083         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38084         checking __USE_GNU.
38085
38086         * Makerules ($(inst_includedir)/%.h): New rule.
38087         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38088         (install-others): Remove variable setting.
38089         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38090
38091 2012-03-08  Richard Henderson  <rth@twiddle.net>
38092
38093         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38094         from macro to inline function; merge with the
38095         !__LIBC_INTERNAL_MATH_INLINES version.
38096         (__ieee754_sqrtf): Likewise.
38097
38098         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38099         to inline function.
38100         (__rintf, __floor, __floorf): Likewise.
38101
38102         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38103         macro to inline function.
38104         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38105
38106         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38107         not <math/math_private.h>.
38108
38109 2012-03-08  David S. Miller  <davem@davemloft.net>
38110
38111         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38112         copyright year.
38113         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38114
38115 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
38116
38117         * resolv/gai_misc.c (handle_requests): Fix struct timespec
38118         normalization.
38119         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38120         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38121
38122 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
38123
38124         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
38125         be defined individually, they must be defined as a block.  Define
38126         S for printing a string instead of hidint the different by using a
38127         macro for adding the 'l'.
38128         * stdio-common/tst-fphex-wide.c: Adjust.
38129
38130 2012-03-07  Marek Polacek  <polacek@redhat.com>
38131
38132         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38133
38134 2012-03-08  Marek Polacek  <polacek@redhat.com>
38135
38136         [BZ #13806]
38137         * stdio-common/Makefile (tests): Add tst-fphex-wide.
38138         * stdio-common/tst-fphex.c: Define a few macros to make the
38139         test reusable.  Use them.
38140         * stdio-common/tst-fphex-wide.c: New file.
38141
38142 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
38143
38144         [BZ #6911]
38145         * manual/macros.texi (gnusystems): New macro.
38146         (nongnusystems): Likewise.
38147         (gnulinuxhurdsystems): Likewise.
38148         (gnuhurdsystems): Likewise..
38149         (gnulinuxsystems): Likewise.
38150         * manual/charset.texi: Use new macros or @theglibc{} to refer to
38151         variants of the GNU system, not "GNU system".
38152         * manual/conf.texi: Likewise.
38153         * manual/errno.texi: Likewise.  Update example of errno macro
38154         expansion.
38155         * manual/filesys.texi: Likewise.
38156         (getumask): Document as specific to GNU/Hurd.
38157         * manual/install.texi: Likewise.  Reword some references to
38158         GNU/Linux.
38159         * manual/intro.texi: Likewise.
38160         * manual/io.texi: Likewise.
38161         (File Name Portability): Detail which constraints are inapplicable
38162         to all GNU systems and which are only inapplicable to GNU/Hurd.
38163         * manual/job.texi: Likewise.
38164         * manual/llio.texi: Likewise.
38165         (O_NOCTTY): Document as present on GNU/Linux.
38166         * manual/maint.texi: Likewise.
38167         * manual/memory.texi: Likewise.
38168         * manual/pattern.texi: Likewise.
38169         * manual/pipe.texi: Likewise.
38170         * manual/process.texi: Likewise.
38171         * manual/resource.texi: Likewise.
38172         (RUSAGE_CHILDREN): Remove statement about specifying a particular
38173         child on GNU/Hurd.
38174         * manual/setjmp.texi: Likewise.
38175         * manual/signal.texi: Likewise.
38176         * manual/startup.texi: Likewise.
38177         * manual/stdio.texi: Likewise.
38178         * manual/terminal.texi: Likewise.
38179         (ONLCR): Document as POSIX.
38180         (OXTABS): Document availability on GNU/Linux as XTABS.
38181         (ONOEOT): Document availability separately from other bits.
38182         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38183         * manual/time.texi: Likewise.
38184         * manual/users.texi: Likewise.
38185         * INSTALL: Regenerated.
38186         * sysdeps/gnu/errlist.c: Regenerated.
38187
38188         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38189         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38190         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
38191         puts.
38192         * configure: Regenerated.
38193
38194 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
38195
38196         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38197         default includes instead of AC_HEADER_CHECK.
38198         * sysdeps/i386/configure: Regenerated.
38199
38200         [BZ #10716]
38201         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38202         * math/s_cacoshf.c (__cacoshf): Likewise.
38203         * math/s_cacoshl.c (__cacoshl): Likewise.
38204         * math/s_casinh.c (__casinh): Set signs of result from argument.
38205         * math/s_casinhf.c (__casinhf): Likewise.
38206         * math/s_casinhl.c (__casinhl): Likewise.
38207         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38208         (casinh_test): Add more tests.
38209         * sysdeps/i386/fpu/libm-test-ulps: Update.
38210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38211
38212 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
38213
38214         * po/zh_TW.po: Update from translation team.
38215
38216         * login/Makefile (distribute): Remove variable.
38217         * catgets/Makefile: Likewise.
38218         * mach/Makefile: Likewise.
38219         * malloc/Makefile: Likewise.
38220         * misc/Makefile: Likewise.
38221         * iconv/Makefile: Likewise.
38222         * nscd/Makefile: Likewise.
38223         * hurd/Makefile: Likewise.
38224         * manual/Makefile: Likewise.
38225         * locale/Makefile: Likewise.
38226         * intl/Makefile: Likewise.
38227         * conform/Makefile: Likewise.
38228         * nss/Makefile: Likewise.
38229         * time/Makefile: Likewise.
38230         * soft-fp/Makefile: Likewise.
38231         * dirent/Makefile: Likewise.
38232         * gmon/Makefile: Likewise.
38233         * po/Makefile: Likewise.
38234         * rt/Makefile: Likewise.
38235         * socket/Makefile: Likewise.
38236         * math/Makefile: Likewise.
38237         * signal/Makefile: Likewise.
38238         * debug/Makefile: Likewise.
38239         * elf/Makefile: Likewise.
38240         * timezone/Makefile: Likewise.
38241         * stdlib/Makefile: Likewise.
38242         * iconvdata/Makefile: Likewise.
38243         * sunrpc/Makefile: Likewise.
38244         * io/Makefile: Likewise.
38245         * argp/Makefile: Likewise.
38246         * inet/Makefile: Likewise.
38247         * hesiod/Makefile: Likewise.
38248         * grp/Makefile: Likewise.
38249         * csu/Makefile: Likewise.
38250         * wctype/Makefile: Likewise.
38251         * crypt/Makefile: Likewise.
38252         * libio/Makefile: Likewise.
38253         * string/Makefile: Likewise.
38254         * nis/Makefile: Likewise.
38255         * resolv/Makefile: Likewise.
38256         * stdio-common/Makefile: Likewise.
38257         * wcsmbs/Makefile: Likewise.
38258         * dlfcn/Makefile: Likewise.
38259         * posix/Makefile: Likewise.
38260
38261         [BZ #6959]
38262         * timezone/Makefile: Don't install timezone files, just the programs
38263         and scripts.
38264
38265 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
38266
38267         * nss/databases.def: Add missing gshadow entry.
38268
38269         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
38270
38271 2012-03-06  Marek Polacek  <polacek@redhat.com>
38272
38273         [BZ #13726]
38274         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38275         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38276         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38277         * stdio-common/tst-long-dbl-fphex.c: New file.
38278
38279 2012-03-06  David S. Miller  <davem@davemloft.net>
38280
38281         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38282         (set_obp_int): New function.
38283         (get_obp_int): New function.
38284         (__get_clockfreq_via_dev_openprom): Likewise.
38285         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38286         Avoid unused variable warnings on 'val' and use builtin_expect.
38287         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38288         __builtin_expect.
38289         (INLINE_CLONE_SYSCALL): Likewise.
38290
38291 2012-03-05  David S. Miller  <davem@davemloft.net>
38292
38293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38294
38295 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
38296
38297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38298
38299         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38300         only for |x| >= 40.
38301         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38302
38303 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
38304
38305         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38306         Replace gettimeofday with __vdso_gettimeofday.
38307
38308         * sysdeps/unix/sysv/linux/x86_64/init-first.c
38309         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38310         __vdso_clock_gettime and __vdso_getcpu.
38311
38312         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38313         time with __vdso_time.
38314
38315 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38316
38317         * manual/lang.texi (size_t): Note types to which size_t may be
38318         equivalent with the GNU C Library, but do not describe when
38319         differences between them are significant.
38320
38321 2012-03-05  Andreas Jaeger  <aj@suse.de>
38322
38323         * sysdeps/i386/fpu/libm-test-ulps: Update.
38324
38325 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38326
38327         [BZ #3976]
38328         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38329         (__ieee754_pow): Save and restore rounding mode and use
38330         round-to-nearest for main computations.
38331         * math/libm-test.inc (pow_test_tonearest): New function.
38332         (pow_test_towardzero): Likewise.
38333         (pow_test_downward): Likewise.
38334         (pow_test_upward): Likewise.
38335         (main): Call the new functions.
38336         * sysdeps/i386/fpu/libm-test-ulps: Update.
38337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38338
38339         [BZ #3976]
38340         * math/libm-test.inc (cosh_test_tonearest): New function.
38341         (cosh_test_towardzero): Likewise.
38342         (cosh_test_downward): Likewise.
38343         (cosh_test_upward): Likewise.
38344         (sinh_test_tonearest): Likewise.
38345         (sinh_test_towardzero): Likewise.
38346         (sinh_test_downward): Likewise.
38347         (sinh_test_upward): Likewise.
38348         (main): Call the new functions.
38349         * sysdeps/i386/fpu/libm-test-ulps: Update.
38350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38351
38352 2012-03-05  Tom de Vries  <tom@codesourcery.com>
38353
38354         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38355         default stack guard is set in last bytes.
38356         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38357
38358 2012-03-05  Kees Cook  <keescook@chromium.org>
38359
38360         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38361
38362         [BZ #13656]
38363         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38364         possibly allocate from heap instead of stack.
38365         * stdio-common/bug-vfprintf-nargs.c: New file.
38366         * stdio-common/Makefile (tests): Add nargs overflow test.
38367
38368 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
38369
38370         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38371
38372 2012-03-03  Marek Polacek  <polacek@redhat.com>
38373
38374         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38375         * math/math_private.h: Likewise.
38376         * stdlib/tst-strtod.c: Likewise.
38377         * sysdeps/i386/i486/bits/atomic.h: Likewise.
38378         * sysdeps/x86_64/bits/atomic.h: Likewise.
38379
38380 2012-03-02  David S. Miller  <davem@davemloft.net>
38381
38382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38385         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38386         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38387         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38388         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38389         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38390
38391 2012-03-02  Roland McGrath  <roland@hack.frob.com>
38392
38393         [BZ #13792]
38394         * manual/examples/README: New file, says the example source files
38395         can be used under GPL>=2.
38396         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38397         line containing just "*/".
38398         * manual/examples/add.c: Add copyright header (GPL>=2).
38399         * manual/examples/argp-ex1.c: Likewise.
38400         * manual/examples/argp-ex2.c: Likewise.
38401         * manual/examples/argp-ex3.c: Likewise.
38402         * manual/examples/argp-ex4.c: Likewise.
38403         * manual/examples/atexit.c: Likewise.
38404         * manual/examples/db.c: Likewise.
38405         * manual/examples/dir.c: Likewise.
38406         * manual/examples/dir2.c: Likewise.
38407         * manual/examples/execinfo.c: Likewise.
38408         * manual/examples/filecli.c: Likewise.
38409         * manual/examples/filesrv.c: Likewise.
38410         * manual/examples/fmtmsgexpl.c: Likewise.
38411         * manual/examples/genpass.c: Likewise.
38412         * manual/examples/inetcli.c: Likewise.
38413         * manual/examples/inetsrv.c: Likewise.
38414         * manual/examples/isockad.c: Likewise.
38415         * manual/examples/longopt.c: Likewise.
38416         * manual/examples/memopen.c: Likewise.
38417         * manual/examples/memstrm.c: Likewise.
38418         * manual/examples/mkfsock.c: Likewise.
38419         * manual/examples/mkisock.c: Likewise.
38420         * manual/examples/mygetpass.c: Likewise.
38421         * manual/examples/pipe.c: Likewise.
38422         * manual/examples/popen.c: Likewise.
38423         * manual/examples/rprintf.c: Likewise.
38424         * manual/examples/search.c: Likewise.
38425         * manual/examples/select.c: Likewise.
38426         * manual/examples/setjmp.c: Likewise.
38427         * manual/examples/sigh1.c: Likewise.
38428         * manual/examples/sigusr.c: Likewise.
38429         * manual/examples/stpcpy.c: Likewise.
38430         * manual/examples/strdupa.c: Likewise.
38431         * manual/examples/strftim.c: Likewise.
38432         * manual/examples/strncat.c: Likewise.
38433         * manual/examples/subopt.c: Likewise.
38434         * manual/examples/swapcontext.c: Likewise.
38435         * manual/examples/termios.c: Likewise.
38436         * manual/examples/testopt.c: Likewise.
38437         * manual/examples/testpass.c: Likewise.
38438         * manual/examples/timeval_subtract.c: Likewise.
38439
38440         [BZ #13792]
38441         * manual/time.texi (Elapsed Time): Move timeval_subtract example
38442         function to ...
38443         * manual/timeval_subtract.c.texi: ... here, new file.
38444
38445 2012-03-02  David S. Miller  <davem@davemloft.net>
38446
38447         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38448
38449 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
38450
38451         [BZ #3976]
38452         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38453         (__sin): Save and restore rounding mode and use round-to-nearest
38454         for all computations.
38455         (__cos): Save and restore rounding mode and use round-to-nearest
38456         for all computations.
38457         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38458         <fenv.h>.
38459         (tan): Save and restore rounding mode and use round-to-nearest for
38460         all computations.
38461         * math/libm-test.inc (cos_test_tonearest): New function.
38462         (cos_test_towardzero): Likewise.
38463         (cos_test_downward): Likewise.
38464         (cos_test_upward): Likewise.
38465         (sin_test_tonearest): Likewise.
38466         (sin_test_towardzero): Likewise.
38467         (sin_test_downward): Likewise.
38468         (sin_test_upward): Likewise.
38469         (tan_test_tonearest): Likewise.
38470         (tan_test_towardzero): Likewise.
38471         (tan_test_downward): Likewise.
38472         (tan_test_upward): Likewise.
38473         (main): Call the new functions.
38474         * sysdeps/i386/fpu/libm-test-ulps: Update.
38475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38476
38477         [BZ #10135]
38478         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38479         small n, then large n, before computing and testing k+n.
38480         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38481         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38482         Likewise.
38483         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38484         Likewise.
38485         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38486         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38487         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38488         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38489         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38490         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38491         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38492         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38493         * math/libm-test.inc (scalbn_test): Add more tests.
38494         (scalbln_test): Likewise.
38495
38496         * manual/filesys.texi (mode_t): Describe constraints on size and
38497         signedness, not exact equivalence to a particular type.
38498         (ino_t): Likewise.
38499         (ino64_t): Likewise.
38500         (dev_t): Likewise.
38501         (nlink_t): Likewise.
38502         (blkcnt_t): Likewise.
38503         (blkcnt64_t): Likewise.
38504         * manual/llio.texi (off_t): Likewise.
38505
38506         [BZ #3976]
38507         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38508         (__ieee754_exp): Save and restore rounding mode and use
38509         round-to-nearest for all computations.
38510         * math/libm-test.inc (exp_test_tonearest): New function.
38511         (exp_test_towardzero): Likewise.
38512         (exp_test_downward): Likewise.
38513         (exp_test_upward): Likewise.
38514         (main): Call the new functions.
38515         * sysdeps/i386/fpu/libm-test-ulps: Update.
38516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38517
38518 2012-03-01  Chris Demetriou  <cgd@google.com>
38519
38520         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38521         have predictable order.
38522
38523 2012-03-01  David S. Miller  <davem@davemloft.net>
38524
38525         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38526
38527         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38528         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38529         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38530         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38531
38532         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38533         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38534         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38536         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38537         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38538         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38539         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38540         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38541
38542         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38543
38544         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38545         * sysdeps/sparc/fpu/libm-test-ulps: to here.
38546         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38547
38548         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38549         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38550         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38551         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38552         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38553         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38554         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38555         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38556         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38557         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38558         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38559         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38560         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38561         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38562         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38563         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38564         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38565         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38566         * sysdeps/sparc/elf/configure: Regenerated.
38567
38568 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
38569
38570         * configure.in (AS, LD): Require binutils 2.20 or later.
38571         * configure: Regenerated.
38572         * manual/install.texi (Tools for Compilation): Give binutils 2.20
38573         as required minimum version.
38574         * INSTALL: Regenerated.
38575
38576         [BZ #2541]
38577         [BZ #4108]
38578         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38579         before squaring exponent.
38580         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38581         bottom long double and 27 bits of top long double before squaring
38582         exponent.
38583         * math/libm-test.inc (erfc_test): Add more tests.
38584         * sysdeps/i386/fpu/libm-test-ulps: Update.
38585         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38587
38588 2012-03-01  Kai Tietz  <ktietz@redhat.com>
38589
38590         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38591         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38592         containing bit-fields.
38593         * soft-fp/extended.h (_FP_UNION_E): Likewise.
38594         * soft-fp/single.h (_FP_UNION_S): Likewise.
38595         * soft-fp/double.h (_FP_UNION_D): Likewise.
38596
38597 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
38598
38599         [BZ #13786]
38600         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38601         not include ../strcmp.S.
38602         [USE_AS_STRNCASECMP_L]: Likewise.
38603         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38604         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38605         * sysdeps/i386/i686/multiarch/strncase_l-c.c
38606         (__strncasecmp_l_ia32): Define as alias to
38607         __strncasecmp_l_nonascii.
38608
38609         [BZ #5794]
38610         * math/libm-test.inc (expm1_test): Add test for bug 5794.
38611         * sysdeps/i386/fpu/libm-test-ulps: Update.
38612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38613
38614         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38616
38617 2012-02-29  Jeff Law  <law@redhat.com>
38618
38619         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38620         out of bounds read.
38621
38622 2012-02-29  Marek Polacek  <polacek@redhat.com>
38623
38624         [BZ #13706]
38625         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38626         * elf/Makefile: Add rules to run tst-unused-dep.out.
38627
38628 2012-02-28  David S. Miller  <davem@davemloft.net>
38629
38630         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38631         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38632         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38633         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38634         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38635         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38636
38637 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
38638
38639         * math/libm-test.inc (llround_test): Move one test from
38640         lround_test.  Use TEST_f_L in moved test.
38641         (lround_test): Move misplaced test to llround_test.  Add testcase
38642         from bug 2561.
38643
38644 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
38645
38646         * sysdeps/x86_64/fpu/e_expf.S: New file.
38647         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38648
38649 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
38650
38651         [BZ #13637]
38652         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38653         of remain_len that may cause incomplete multi-byte character and
38654         false match.
38655         * posix/bug-regex33.c: New file.
38656         * posix/Makefile (tests): Add bug-regex33.
38657
38658 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
38659
38660         * manual/macros.texi: New file.
38661         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38662         * manual/libc.texinfo: Include macros.texi.
38663         * manual/creatute.texi: Likewise.
38664         * manual/install.texi: Likewise.
38665         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38666         @glibcadj{} in references to the GNU C Library.
38667         * manual/charset.texi: Likewise.
38668         * manual/conf.texi: Likewise.
38669         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
38670         when not using those macros.
38671         * manual/creature.texi: Likewise.
38672         * manual/crypt.texi: Likewise.
38673         * manual/errno.texi: Likewise.
38674         * manual/filesys.texi: Likewise.
38675         * manual/header.texi: Likewise.
38676         * manual/install.texi: Likewise.
38677         * manual/intro.texi: Likewise.
38678         * manual/io.texi: Likewise.
38679         * manual/job.texi: Likewise.
38680         * manual/lang.texi: Likewise.
38681         * manual/libc.texiinfo: Likewise.
38682         * manual/llio.texi: Likewise.
38683         * manual/locale.texi: Likewise.
38684         * manual/maint.texi: Likewise.
38685         * manual/math.texi: Likewise.
38686         * manual/memory.texi: Likewise.
38687         * manual/message.texi: Likewise.
38688         * manual/nss.texi: Likewise.
38689         * manual/pattern.texi: Likewise.
38690         * manual/process.texi: Likewise.
38691         * manual/resource.texi: Likewise.
38692         * manual/search.texi: Likewise.
38693         * manual/setjmp.texi: Likewise.
38694         * manual/signal.texi: Likewise.
38695         * manual/socket.texi: Likewise.
38696         * manual/startup.texi: Likewise.
38697         * manual/stdio.texi: Likewise.
38698         * manual/string.texi: Likewise.
38699         * manual/sysinfo.texi: Likewise.
38700         * manual/syslog.texi: Likewise.
38701         * manual/terminal.texi: Likewise.
38702         * manual/time.texi: Likewise.
38703         * manual/users.texi: Likewise.
38704         * INSTALL: Regenerated.
38705         * NOTES: Regenerated.
38706         * sysdeps/gnu/errlist.c: Regenerated.
38707
38708 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
38709
38710         * include/dirent.h: Include <dirstream.h> before
38711         <dirent/dirent.h>.
38712
38713 2012-02-28  David S. Miller  <davem@davemloft.net>
38714
38715         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38716         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38717         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38718         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38719
38720 2012-02-27  David S. Miller  <davem@davemloft.net>
38721
38722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38724         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38725         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38726
38727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38728         frame pointer instead of stack pointer relative arg slot.
38729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38730         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38731         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38732
38733 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
38734
38735         [BZ #3992]
38736         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38737
38738 2012-02-27  David S. Miller  <davem@davemloft.net>
38739
38740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38744         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38745         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38746         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38747         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38748
38749 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
38750
38751         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38752         later.  Allow versions 5-9.
38753         * configure: Regenerated.
38754         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38755         required minimum version and 4.6 as recommended version.  Do not
38756         mention bugs in GCC 2.7 and 2.8.
38757         * INSTALL: Regenerated.
38758
38759 2012-02-27  David S. Miller  <davem@davemloft.net>
38760
38761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38765         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38766         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38767         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38768         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38769
38770         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38771         manipulate bits before adding and subtracting TWO112[sx].
38772         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38773
38774 2012-02-27  Roland McGrath  <roland@hack.frob.com>
38775
38776         [BZ #13775]
38777         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38778         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38779         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38780         being in POSIX, because they are in 1003.1-2008.
38781
38782         * rt/tst-aio.c: Include <fcntl.h>.
38783         * rt/tst-aio7.c: Likewise.
38784         * rt/tst-aio64.c: Likewise.
38785
38786         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38787
38788 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
38789
38790         * manual/install.texi (--with-headers): Describe headers as
38791         interface headers, not private headers.
38792         (Specific advice for GNU/Linux systems): Describe use of headers
38793         from "make headers_install", not private headers from older
38794         kernels.
38795         * INSTALL: Regenerated.
38796         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38797         Change to 2.6.19.
38798         * sysdeps/unix/sysv/linux/configure: Regenerated.
38799
38800         * manual/llio.texi (fclean): Remove documentation.
38801
38802         * manual/Makefile (libc-texi-generated): New variable.  Include
38803         version.texi.
38804         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38805         $(libc-texi-generated), not duplicated list of files.
38806         (version.texi, stamp-version): New rules.
38807         (realclean): Remove $(libc-texi-generated), not individual files
38808         from that list.  Do not remove dir-add.texinfo.
38809         * manual/libc.texinfo: Comment out uses of edition numbers and
38810         references to printed manual.  Remove last-updated dates.
38811         (EDITION): Comment out.
38812         (ISBN): Likewise.
38813         (VERSION, UPDATED): Remove.
38814         (version.texi): Include.
38815
38816 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
38817
38818         * sysdeps/posix/spawni.c: Include <signal.h>.
38819         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38820         * sysdeps/pthread/aio_fsync.c: Likewise.
38821
38822 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
38823
38824         * conform/Makefile (tests): Run only when not cross-compiling and
38825         when fast-check is not defined.
38826
38827         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38828         * conform/data/limits.h-data: Fixes for POSIX2008.
38829         * conform/run-conformtest.sh: Run all tests.
38830         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38831         headers.
38832         * include/bits/dlfcn.h: Likewise.
38833         * include/langinfo.h: Likewise.
38834         * include/monetary.h: Likewise.
38835         * include/sys/poll.h: Likewise.
38836
38837         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38838         for __USE_GNU.
38839         * posix/spawn.h: Define __need_sigset_t.
38840         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38841         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38842         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
38843         to get sigevent_t only.
38844         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38845         only for __USE_GNU.
38846         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38847         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38848         process_vm_writev only for __USE_GNU.
38849         * termios/termios.h: Declare tcgetsid also for POSIX2008.
38850
38851         * conform/Makefile: For now ignore errors from run-conformtest.
38852         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
38853         POSIX to avoid namespace pollution.  Don't prepend headers.
38854         * conform/data/aio.h-data: Fixes for POSIX testing.
38855         * conform/data/fcntl.h-data: Likewise.
38856         * conform/data/glob.h-data: Likewise.
38857         * conform/data/grp.h-data: Likewise.
38858         * conform/data/pthread.h-data: Likewise.
38859         * conform/data/pwd.h-data: Likewise.
38860         * conform/data/signal.h-data: Likewise.
38861         * conform/data/spawn.h-data: Likewise.
38862         * conform/data/stdio.h-data: Likewise.
38863         * conform/data/stdlib.h-data: Likewise.
38864         * conform/data/stropts.h-data: Likewise.
38865         * conform/data/sys/mman.h-data: Likewise.
38866         * conform/data/sys/stat.h-data: Likewise.
38867         * conform/data/sys/types.h-data: Likewise.
38868         * conform/data/sys/wait.h-data: Likewise.
38869         * conform/data/time.h-data: Likewise.
38870         * conform/data/unistd.h-data: Likewise.
38871         * conform/data/utime.h-data: Likewise.
38872
38873         * io/sys/stat.h: fchmod was always in POSIX.
38874         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38875         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38876         * rt/aio.h: Define __need_timespec before including <time.h>.
38877         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38878         struct.  Add forward declaration of pthread_attr_t and use it in
38879         sigevent.
38880         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38881         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38882         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38883         always remove CLK_TCK definition.
38884
38885 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
38886
38887         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38888
38889 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
38890
38891         * conform/run-conformtest.sh: New file.
38892         * conform/Makefile: Run run-conformtest for tests.
38893         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
38894         support.
38895
38896         * conform/data/uchar.h-data: New file.
38897         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38898         * conform/data/arpa/inet.h-data: Likewise.
38899         * conform/data/assert.h-data: Likewise.
38900         * conform/data/complex.h-data: Likewise.
38901         * conform/data/cpio.h-data: Likewise.
38902         * conform/data/ctype.h-data: Likewise.
38903         * conform/data/dirent.h-data: Likewise.
38904         * conform/data/dlfcn.h-data: Likewise.
38905         * conform/data/errno.h-data: Likewise.
38906         * conform/data/fcntl.h-data: Likewise.
38907         * conform/data/float.h-data: Likewise.
38908         * conform/data/fmtmsg.h-data: Likewise.
38909         * conform/data/fnmatch.h-data: Likewise.
38910         * conform/data/ftw.h-data: Likewise.
38911         * conform/data/glob.h-data: Likewise.
38912         * conform/data/grp.h-data: Likewise.
38913         * conform/data/iconv.h-data: Likewise.
38914         * conform/data/inttypes.h-data: Likewise.
38915         * conform/data/langinfo.h-data: Likewise.
38916         * conform/data/libgen.h-data: Likewise.
38917         * conform/data/limits.h-data: Likewise.
38918         * conform/data/locale.h-data: Likewise.
38919         * conform/data/math.h-data: Likewise.
38920         * conform/data/monetary.h-data: Likewise.
38921         * conform/data/mqueue.h-data: Likewise.
38922         * conform/data/ndbm.h-data: Likewise.
38923         * conform/data/net/if.h-data: Likewise.
38924         * conform/data/netdb.h-data: Likewise.
38925         * conform/data/netinet/in.h-data: Likewise.
38926         * conform/data/nl_types.h-data: Likewise.
38927         * conform/data/poll.h-data: Likewise.
38928         * conform/data/pthread.h-data: Likewise.
38929         * conform/data/pwd.h-data: Likewise.
38930         * conform/data/regex.h-data: Likewise.
38931         * conform/data/sched.h-data: Likewise.
38932         * conform/data/search.h-data: Likewise.
38933         * conform/data/semaphore.h-data: Likewise.
38934         * conform/data/setjmp.h-data: Likewise.
38935         * conform/data/signal.h-data: Likewise.
38936         * conform/data/spawn.h-data: Likewise.
38937         * conform/data/stdarg.h-data: Likewise.
38938         * conform/data/stdio.h-data: Likewise.
38939         * conform/data/stdlib.h-data: Likewise.
38940         * conform/data/string.h-data: Likewise.
38941         * conform/data/strings.h-data: Likewise.
38942         * conform/data/stropts.h-data: Likewise.
38943         * conform/data/sys/ipc.h-data: Likewise.
38944         * conform/data/sys/mman.h-data: Likewise.
38945         * conform/data/sys/msg.h-data: Likewise.
38946         * conform/data/sys/resource.h-data: Likewise.
38947         * conform/data/sys/select.h-data: Likewise.
38948         * conform/data/sys/sem.h-data: Likewise.
38949         * conform/data/sys/shm.h-data: Likewise.
38950         * conform/data/sys/socket.h-data: Likewise.
38951         * conform/data/sys/stat.h-data: Likewise.
38952         * conform/data/sys/statvfs.h-data: Likewise.
38953         * conform/data/sys/time.h-data: Likewise.
38954         * conform/data/sys/timeb.h-data: Likewise.
38955         * conform/data/sys/times.h-data: Likewise.
38956         * conform/data/sys/types.h-data: Likewise.
38957         * conform/data/sys/uio.h-data: Likewise.
38958         * conform/data/sys/un.h-data: Likewise.
38959         * conform/data/sys/utsname.h-data: Likewise.
38960         * conform/data/sys/wait.h-data: Likewise.
38961         * conform/data/syslog.h-data: Likewise.
38962         * conform/data/tar.h-data: Likewise.
38963         * conform/data/termios.h-data: Likewise.
38964         * conform/data/utime.h-data: Likewise.
38965         * conform/data/utmpx.h-data: Likewise.
38966         * conform/data/varargs.h-data: Likewise.
38967         * conform/data/wchar.h-data: Likewise.
38968         * conform/data/wctype.h-data: Likewise.
38969         * conform/data/wordexp.h-data: Likewise.
38970
38971         * include/stropts.h: New file.
38972         * include/uchar.h: New file.
38973         * include/aio.h: Changes to allow conformtest.pl to use the headers.
38974         * include/assert.h: Likewise.
38975         * include/ctype.h: Likewise.
38976         * include/dirent.h: Likewise.
38977         * include/dlfcn.h: Likewise.
38978         * include/fcntl.h: Likewise.
38979         * include/fnmatch.h: Likewise.
38980         * include/glob.h: Likewise.
38981         * include/grp.h: Likewise.
38982         * include/libio.h: Likewise.
38983         * include/locale.h: Likewise.
38984         * include/math.h: Likewise.
38985         * include/net/if.h: Likewise.
38986         * include/netdb.h: Likewise.
38987         * include/netinet/in.h: Likewise.
38988         * include/pthread.h: Likewise.
38989         * include/pwd.h: Likewise.
38990         * include/regex.h: Likewise.
38991         * include/sched.h: Likewise.
38992         * include/search.h: Likewise.
38993         * include/setjmp.h: Likewise.
38994         * include/signal.h: Likewise.
38995         * include/stdio.h: Likewise.
38996         * include/stdlib.h: Likewise.
38997         * include/string.h: Likewise.
38998         * include/sys/cdefs.h: Likewise.
38999         * include/sys/mman.h: Likewise.
39000         * include/sys/msg.h: Likewise.
39001         * include/sys/resource.h: Likewise.
39002         * include/sys/select.h: Likewise.
39003         * include/sys/socket.h: Likewise.
39004         * include/sys/stat.h: Likewise.
39005         * include/sys/statvfs.h: Likewise.
39006         * include/sys/time.h: Likewise.
39007         * include/sys/times.h: Likewise.
39008         * include/sys/uio.h: Likewise.
39009         * include/sys/utsname.h: Likewise.
39010         * include/sys/wait.h: Likewise.
39011         * include/termios.h: Likewise.
39012         * include/time.h: Likewise.
39013         * include/ulimit.h: Likewise.
39014         * include/unistd.h: Likewise.
39015         * include/utime.h: Likewise.
39016         * include/wchar.h: Likewise.
39017         * include/wctype.h: Likewise.
39018         * include/wordexp.h: Likewise.
39019
39020         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39021
39022         * time/time.h: TIME_UTC must be a macro.
39023         Make timespec_get available for ISO C11 only as well.
39024
39025 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
39026
39027         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39028         Reported by Peng Haitao <penght@cn.fujitsu.com>.
39029
39030 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39031
39032         * configure.in: Use -o not -a in test for unsupported multi-arch.
39033
39034 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39035
39036         * manual/texinfo.tex: Update to version 2012-01-19.16.
39037
39038 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39039
39040         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39041
39042 2012-02-24  Roland McGrath  <roland@hack.frob.com>
39043
39044         [BZ #13738]
39045         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39046         * manual/fdl-1.3.texi: New file.
39047         * manual/fdl-1.1.texi: File removed.
39048
39049         [BZ #13738]
39050         * manual/libc.texinfo (FDL_VERSION): New @set.
39051         Use it for mention of FDL in cover text.
39052         (Documentation License): Use it in @include file name.
39053
39054 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39055             Roland McGrath  <roland@hack.frob.com>
39056
39057         [BZ #5461]
39058         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39059         (not LONG_LONG_MAX and LONG_LONG_MIN.
39060         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39061         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
39062         name.
39063         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39064
39065 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39066
39067         [BZ #2547]
39068         [BZ #11365]
39069         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39070         manipulate bits before adding and subtracting TWO23[sx].
39071         * math/libm-test.inc (nearbyint_test): Add more tests.
39072
39073 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39074
39075         [BZ #2548]
39076         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39077         bits before adding and subtracting TWO23[sx].
39078         * math/libm-test.inc (rint_test): Add more tests.
39079         (rint_test_tonearest): Likewise.
39080         (rint_test_towardzero): Likewise.
39081         (rint_test_downward): Likewise.
39082         (rint_test_upward: Likewise.
39083
39084 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39085
39086         [BZ #10110]
39087         * include/stdc-predef.h: New file.  Extracted from features.h.
39088         * include/features.h: Include stdc-predef.h.
39089         * Makefile (headers): Add stdc-predef.h.
39090         * CONFORMANCE (Compiler limitations): Update.
39091
39092 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39093
39094         * manual/libc.texinfo (VERSION, UPDATED): Revert.
39095
39096 2012-02-21  David S. Miller  <davem@davemloft.net>
39097
39098         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39099         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39100
39101 2012-02-20  David S. Miller  <davem@davemloft.net>
39102
39103         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39104         using a normal save/restore sequence, rather than allocating a
39105         dummy stack frame just to store a frame pointer and restore.
39106         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39107
39108 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39109
39110         * manual/install.texi: Fix stray word in line-wrapped comment.
39111
39112 2012-02-20  David S. Miller  <davem@davemloft.net>
39113
39114         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39115         both binutils and gcc support GOTDATA.
39116
39117         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39118         "rd %pc" in the PIC register setup sequences.
39119
39120         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39121         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39122         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39123         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39124         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39125         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39126         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39127         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39128         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39129         (SYSCALL_ERROR_HANDLER): Likewise.
39130         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39131         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39132         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39133         (SYSCALL_ERROR_HANDLER): Likewise.
39134
39135         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39136         (HAVE_GCC_GOTDATA): New.
39137         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39138         relocation support in both binutils and gcc.
39139         * sysdeps/sparc/elf/configure: Regenerate.
39140
39141         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39142         * sysdeps/sparc/sparc32/elf/configure: Delete.
39143         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39144         * sysdeps/sparc/sparc64/elf/configure: Delete.
39145         * sysdeps/sparc/elf/configure.in: New file.
39146         * sysdeps/sparc/elf/configure: Generate.
39147
39148         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39149         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39150         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39151         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39152         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39153
39154 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39155
39156         * manual/install.texi: Do not mention specific glibc version
39157         numbers.
39158         * manual/libc.texinfo (VERSION, UPDATED): Update.
39159         (@copying): Use @copyright{} and range of years.
39160
39161 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39162
39163         [BZ #13695]
39164         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39165         [crti.S not in sysdirs] (generated): Do not append.
39166         [crti.S not in sysdirs] (omit-deps): Likewise.
39167         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39168         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39169         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39170         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39171         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39172         Likewise.
39173         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39174         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39175         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39176         * csu/defs.awk: Remove file.
39177         * sysdeps/generic/initfini.c: Likewise.
39178         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39179         variable.
39180         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39181         Likewise.
39182
39183 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39184
39185         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39186         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39187         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39188         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39189         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39190         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39191         <bits/epoll.h>.
39192         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39193         (__EPOLL_PACKED): Define to empty if not defined by
39194         <bits/epoll.h>.
39195         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39196         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39197         bits/epoll.h.
39198
39199 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39200
39201         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39202         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39203         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39204         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39205         <bits/timerfd.h>.
39206         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39207         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39208         bits/timerfd.h.
39209
39210 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39211
39212         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39213         in C locale.
39214         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39215         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39216         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39218
39219 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
39220
39221         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39222         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39223
39224 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
39225
39226         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39227         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39228         defined.
39229         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39230         Likewise.
39231         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39232         entry for 2.16.
39233
39234 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
39235
39236         * math/w_acos.c: Use non-signaling floating-point comparisons.
39237         * math/w_acosf.c: Likewise.
39238         * math/w_acosh.c: Likewise.
39239         * math/w_acoshf.c: Likewise.
39240         * math/w_acoshl.c: Likewise.
39241         * math/w_acosl.c: Likewise.
39242         * math/w_asin.c: Likewise.
39243         * math/w_asinf.c: Likewise.
39244         * math/w_asinl.c: Likewise.
39245         * math/w_atanh.c: Likewise.
39246         * math/w_atanhf.c: Likewise.
39247         * math/w_atanhl.c: Likewise.
39248         * math/w_exp2.c: Likewise.
39249         * math/w_exp2f.c: Likewise.
39250         * math/w_exp2l.c: Likewise.
39251         * math/w_j0.c: Likewise.
39252         * math/w_j0f.c: Likewise.
39253         * math/w_j0l.c: Likewise.
39254         * math/w_j1.c: Likewise.
39255         * math/w_j1f.c: Likewise.
39256         * math/w_j1l.c: Likewise.
39257         * math/w_jn.c: Likewise.
39258         * math/w_jnf.c: Likewise.
39259         * math/w_log.c: Likewise.
39260         * math/w_log10.c: Likewise.
39261         * math/w_log10f.c: Likewise.
39262         * math/w_log10l.c: Likewise.
39263         * math/w_log2.c: Likewise.
39264         * math/w_log2f.c: Likewise.
39265         * math/w_log2l.c: Likewise.
39266         * math/w_logf.c: Likewise.
39267         * math/w_logl.c: Likewise.
39268         * math/w_sqrt.c: Likewise.
39269         * math/w_sqrtf.c: Likewise.
39270         * math/w_sqrtl.c: Likewise.
39271         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39272         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39273         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39274         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39275         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39276
39277 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39278
39279         [BZ #9739]
39280         * manual/string.texi (strnlen): Use correct parameter name in
39281         equivalent expression.
39282
39283 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39284
39285         [BZ #11174]
39286         * manual/users.texi (seteuid): Consistently use neweuid for
39287         argument name.
39288
39289 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39290
39291         [BZ #13704]
39292         * manual/nss.texi (Services in the NSS configuration): Correct
39293         list of services in example configuration file.
39294
39295 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
39296
39297         [BZ #11322]
39298         * manual/arith.texi: Remove statements about negative zero
39299         behaving identically to zero.
39300
39301 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39302
39303         [BZ #5993]
39304         * manual/install.texi: Do not document upgrading from libc5.
39305
39306 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39307
39308         [BZ #4596]
39309         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39310
39311 2012-02-18  David S. Miller  <davem@davemloft.net>
39312
39313         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39314         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39315         %o7 across the call.
39316         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39317         instead.
39318         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39319         SETUP_PIC_REG_LEAF.
39320         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39321         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39322         * sysdeps/sparc/crtn.S: Likewise.
39323
39324 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
39325
39326         * aout/Makefile: Remove.
39327
39328 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
39329
39330         [BZ #13058]
39331         * manual/examples/argp-ex1.c (main): Format definition in GNU
39332         style.
39333         * manual/examples/argp-ex2.c (main): Likewise.
39334         * manual/examples/argp-ex3.c (main): Likewise.
39335         * manual/examples/argp-ex4.c (main): Likewise.
39336         * manual/examples/longopt.c (main): Use new-style prototype
39337         definition.
39338         * manual/examples/strncat.c (main): Specify return type and use
39339         (void) for arguments.
39340         * manual/examples/subopt.c (main): Use char **argv argument.
39341
39342 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39343
39344         [BZ #5077]
39345         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39346         rounding modes.
39347
39348 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
39349
39350         [BZ #6907]
39351         * manual/string.texi (strchr): Change when strchrnul is
39352         recommended.
39353
39354 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
39355
39356         [BZ #174]
39357         * manual/locale.texi (setlocale): Document LOCPATH.
39358
39359 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39360
39361         [BZ #10210]
39362         * manual/process.texi (execle): Move @dots{} before last argument.
39363
39364 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
39365
39366         [BZ #12047]
39367         * manual/charset.texi (Generic Charset Conversion): Fix typo
39368         (LC_TYPE -> LC_CTYPE).
39369
39370 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
39371
39372         [BZ #5805]
39373         * manual/arith.texi (scalbn): Use @var{} on parameter names.
39374         (scalbnf): Likewise.
39375         (scalbnl): Likewise.
39376         (scalbln): Likewise.
39377         (scalblnf): Likewise.
39378         (scalblnl): Likewise.
39379         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39380         (vwarnx): Likewise.
39381         (verr): Likewise.
39382         (verrx): Likewise.
39383         * manual/filesys.texi (telldir): Use braces around return type.
39384         * manual/llio.texi (mmap): Add space after comma.
39385         (mmap64): Likewise.
39386         * manual/math.texi (jn): Use @var{} on parameter names.
39387         (jnf): Likewise.
39388         (jnl): Likewise.
39389         (yn): Likewise.
39390         (ynf): Likewise.
39391         (ynl): Likewise.
39392         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39393         line.
39394         * manual/resource.texi (ulimit): Use @dots{} instead of literal
39395         "...".
39396         (sched_get_priority_min): Remove semicolon on @deftypefun line.
39397         (sched_get_priority_max): Likewise.
39398         * manual/signal.texi (sigvec): Add space after comma.
39399         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39400         names.
39401         (if_indextoname): Likewise.
39402         (if_freenameindex): Likewise.
39403         (sendto): Use ',' instead of '.' in prototype.
39404         * manual/startup.texi (syscall): Use @dots{} instead of literal
39405         "...".
39406         * manual/stdio.texi (__fpending): Separate initial words of
39407         paragraph from @deftypefun line.
39408         * manual/syslog.texi (syslog): Use @dots{} instead of literal
39409         "...".
39410         (vsyslog): Use @var{} on parameter names.
39411         * manual/terminal.texi (stty): Use @var{} on parameter names.
39412         * manual/users.texi (getutmp): Use @var{} on parameter names.
39413         (getutmpx): Likewise.
39414
39415 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39416
39417         [BZ #6884]
39418         * manual/stdio.texi (fopen): Fix typos in description of
39419         ",ccs=STRING".
39420
39421 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
39422
39423         [BZ #4026]
39424         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39425         get clock_id definition.
39426
39427 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
39428
39429         [BZ #4822]
39430         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39431         (madvise): Cast every argument to void on its own.
39432
39433 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39434
39435         [BZ #9902]
39436         * manual/startup.texi (Exit Status): Fix typo.
39437
39438 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39439
39440         [BZ #10140]
39441         * manual/examples/argp-ex1.c: Include <stdlib.h>.
39442         * manual/examples/argp-ex2.c: Likewise.
39443         * manual/examples/argp-ex3.c: Likewise.
39444
39445 2012-02-16  Richard Henderson  <rth@redhat.com>
39446
39447         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39448         * sysdeps/s390/s390-32/initfini.c: Remove.
39449         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39450         * sysdeps/s390/s390-64/initfini.c: Remove.
39451
39452 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39453
39454         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39455         compiler output for sysdeps/generic/initfini.c.
39456         * sysdeps/sh/elf/initfini.c: Remove file.
39457
39458 2012-02-16  David S. Miller  <davem@davemloft.net>
39459
39460         [BZ #11494]
39461         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39462
39463         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39464         * sysdeps/sparc/crti.S: New file.
39465         * sysdeps/sparc/crtn.S: New file.
39466         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39467         * sysdeps/sparc/sparc64/Makefile: Likewise.
39468
39469 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
39470
39471         [BZ #3335]
39472         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39473
39474 2012-02-15  Roland McGrath  <roland@hack.frob.com>
39475
39476         [BZ #4822]
39477         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39478
39479         * mach/devstream.c (cookie_io_functions_t): Macro removed.
39480         (write, read, close): Likewise.
39481         Patch by Aurelien Jarno <aurelien@aurel32.net>.
39482
39483 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
39484
39485         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39486         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39487         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39488         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39489         <bits/signalfd.h>.
39490         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39491         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39492         bits/signalfd.h.
39493
39494 2012-02-14  Marek Polacek  <polacek@redhat.com>
39495
39496         * sysdeps/x86_64/crti.S: New file.
39497         * sysdeps/x86_64/crtn.S: New file.
39498         * sysdeps/x86_64/elf/initfini.c: Remove file.
39499
39500 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
39501
39502         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39503         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39504         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39505         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39506         <bits/inotify.h>.
39507         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39508         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39509         bits/inotify.h.
39510
39511 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
39512
39513         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39514         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39515         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39516         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39517         <bits/eventfd.h>.
39518         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39519         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39520         bits/eventfd.h.
39521
39522 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
39523
39524         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39525         __feraiseexcept instead of feraiseexcept.
39526
39527         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39528         nanosleep invocations.
39529         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39530         strings, and add error checking for a nanosleep invocations.
39531
39532 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
39533
39534         Replace FSF snail mail address with URLs, as per GNU coding standards.
39535         Most of the snail mail addresses were wrong anyway, and omitting
39536         them makes the source code easier to maintain.  Almost all of the
39537         changes are to license notices and to locale LC_IDENTIFICATION
39538         addresses, except for this one:
39539         * manual/libc.texinfo: In "Published by", give the FSF's URL,
39540         not its snail mail address.
39541
39542 2012-02-09  Richard Henderson  <rth@twiddle.net>
39543
39544         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39545         of kernel-features.h.
39546
39547         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39548
39549 2012-02-08  Marek Polacek  <polacek@redhat.com>
39550
39551         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39552         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39553         * sysdeps/gnu/_G_config.h: Likewise.
39554         * sysdeps/generic/_G_config.h: Likewise.
39555
39556 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
39557
39558         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39559         tests.
39560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39561
39562         * sysdeps/powerpc/powerpc32/crti.S: New file.
39563         * sysdeps/powerpc/powerpc32/crtn.S: New file.
39564         * sysdeps/powerpc/powerpc64/crti.S: New file.
39565         * sysdeps/powerpc/powerpc64/crtn.S: New file.
39566
39567         * Makeconfig (have-initfini): Don't set.
39568         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39569         * configure.in (nopic_initfini): Don't substitute.
39570         * config.h.in (HAVE_INITFINI): Don't #undef.
39571         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39572         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39573
39574 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
39575
39576         Support crti.S and crtn.S provided directly by architectures.
39577         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39578         [crti.S in sysdirs] (omit-deps): Likewise.
39579         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39580         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39581         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39582         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39583         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39584         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39585         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39586         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39587         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39588         compiler output for sysdeps/generic/initfini.c.
39589         * sysdeps/i386/elf/Makefile: Remove file.
39590         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39591
39592 2012-02-07  Marek Polacek  <polacek@redhat.com>
39593
39594         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39595         * sysdeps/gnu/_G_config.h: Likewise.
39596         * sysdeps/mach/hurd/_G_config.h: Likewise.
39597
39598 2012-02-07  Marek Polacek  <polacek@redhat.com>
39599
39600         * math/Makefile (tests): Add tst-CMPLX2.
39601         * math/tst-CMPLX2.c: New file.
39602
39603 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
39604
39605         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39606
39607         * math/libm-test.inc (jn_test): Add missing L suffix.
39608
39609 2012-02-06  Marek Polacek  <polacek@redhat.com>
39610
39611         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39612         * sysdeps/i386/fpu/e_powf.S: Likewise.
39613         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39614         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39615         * sysdeps/i386/fpu/e_acosh.S: Likewise.
39616         * sysdeps/i386/fpu/e_pow.S: Likewise.
39617         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39618         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39619         * sysdeps/i386/fpu/s_expm1.S: Likewise.
39620         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39621         * sysdeps/i386/fpu/e_log2.S: Likewise.
39622         * sysdeps/i386/fpu/e_log2l.S: Likewise.
39623         * sysdeps/i386/fpu/e_scalb.S: Likewise.
39624         * sysdeps/i386/fpu/e_powl.S: Likewise.
39625         * sysdeps/i386/fpu/s_log1p.S: Likewise.
39626         * sysdeps/i386/fpu/e_log10f.S: Likewise.
39627         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39628         * sysdeps/i386/fpu/e_logl.S: Likewise.
39629         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39630         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39631         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39632         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39633         * sysdeps/i386/fpu/e_log2f.S: Likewise.
39634         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39635         * sysdeps/i386/fpu/e_log.S: Likewise.
39636         * sysdeps/i386/fpu/s_cexp.S: Likewise.
39637         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39638         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39639         * sysdeps/i386/fpu/e_logf.S: Likewise.
39640         * sysdeps/i386/fpu/e_log10l.S: Likewise.
39641         * sysdeps/i386/fpu/e_atanh.S: Likewise.
39642         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39643         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39644         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39645         * sysdeps/i386/fpu/e_log10.S: Likewise.
39646         * sysdeps/i386/fpu/s_frexp.S: Likewise.
39647         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39648         * sysdeps/i386/fpu/s_asinh.S: Likewise.
39649         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39650         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39651         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39652         * sysdeps/i386/asm-syntax.h: Likewise.
39653         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39654         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39655         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39656         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39657         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39658         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39659         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39660         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39661         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39662         * sysdeps/powerpc/sysdep.h: Likewise.
39663         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39664         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39665
39666 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
39667
39668         [BZ #411]
39669         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39670
39671 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
39672
39673         * sysdeps/i386/sysdep.h: Include <features.h>.
39674         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39675         version.
39676
39677 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
39678
39679         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39680         Define.
39681         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39682         LOAD_PIC_REG_STR.
39683
39684 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39685
39686         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39687         (SETUP_PIC_REG): Use GET_PC_THUNK.
39688         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39689         macro.
39690
39691 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39692
39693         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39694         for non-PIC compilation.
39695         (SETUP_PIC_REG): Add .p2align directive.
39696         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39697         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39698         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39699         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39700         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39701         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39702         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39703         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39704         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39705         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39706         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39707         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39708         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39709         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39710         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39711         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39712         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39713         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39714         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39715         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39716         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39717         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39718         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39719         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39720         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39721         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39722         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39723         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39724         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39725         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39726         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39727         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39728         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39729         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39730         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39731         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39732         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39733         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39734         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39735         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39736         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39737
39738 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39739
39740         * math/tst-CMPLX.c: Include <stdio.h>.
39741
39742 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
39743
39744         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39745         float.
39746         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39747         * sysdeps/sparc/bits/mathdef.h: Likewise.
39748
39749 2012-01-31  Marek Polacek  <polacek@redhat.com>
39750
39751         * libio/libio.h: Don't define _PARAMS.
39752         * locale/programs/config.h: Don't define PARAMS.
39753         * stdlib/strtol_l.c: Likewise.
39754         (__strtol_l): Remove PARAMS from the prototype.
39755
39756 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
39757
39758         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
39759         names.  Just use the correct names.  Remove unnecessary wrapper
39760         functions.
39761         * malloc/arena.c: Likewise.
39762         * malloc/hooks.c: Likewise.
39763
39764         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39765         ARENA_TEST says not to.  Simplify test for creation of a new arena.
39766         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39767
39768 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
39769
39770         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39771         into tail calls.
39772         (update_get_addr): New function.
39773         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39774         GET_ADDR_MODULE parameter.
39775
39776 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
39777
39778         * crypt/cert.c: Remove __STDC__ conditionals.
39779         * crypt/crypt-entry.c: Likewise.
39780         * crypt/crypt_util.c: Likewise.
39781         * libio/filedoalloc.c: Likewise.
39782         * libio/fileops.c: Likewise.
39783         * libio/genops.c: Likewise.
39784         * libio/iofclose.c: Likewise.
39785         * libio/iofdopen.c: Likewise.
39786         * libio/iofopen.c: Likewise.
39787         * libio/iofopen64.c: Likewise.
39788         * libio/iogetdelim.c: Likewise.
39789         * libio/iopopen.c: Likewise.
39790         * libio/obprintf.c: Likewise.
39791         * libio/oldfileops.c: Likewise.
39792         * libio/oldiofclose.c: Likewise.
39793         * libio/oldiofdopen.c: Likewise.
39794         * libio/oldiofopen.c: Likewise.
39795         * libio/oldiopopen.c: Likewise.
39796         * libio/wfiledoalloc.c: Likewise.
39797         * libio/wgenops.c: Likewise.
39798         * locale/programs/xmalloc.c: Likewise.
39799         * misc/syslog.c: Likewise.
39800         * stdio-common/xbug.c: Likewise.
39801         * string/memchr.c: Likewise.
39802         * string/memcmp.c: Likewise.
39803         * string/memrchr.c: Likewise.
39804         * string/rawmemchr.c: Likewise.
39805         * sysdeps/posix/getcwd.c: Likewise.
39806         * time/strftime_l.c: Likewise.
39807
39808 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
39809
39810         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39811         * config.make.in (config-cflags-sse2avx): Define.
39812         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39813         Fix typo.
39814
39815 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
39816
39817         * scripts/config.guess: Update from upstream config git repository.
39818         * scripts/config.sub: Likewise.
39819
39820 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
39821
39822         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39823         (EM_NUM): Update.
39824         (R_TILEPRO_*, R_TILEGX_*): New macros.
39825
39826         * scripts/firstversions.awk: Fix bug in version range handling.
39827
39828         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39829
39830         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39831
39832         * include/sys/epoll.h: New file.
39833         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39834         libc_hidden_def.
39835
39836 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
39837
39838         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39839         Avoid unnecessary __WORDSIZE == 64 test.
39840         (fmaxf): Use VEX format if possible.
39841         (fmax): Likewise.
39842         (fminf): Likewise.
39843         (fmin): Likewise.
39844
39845         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39846         * math/math_private.h: Remove libc_fegetround* and
39847         libc_fesetround*.
39848         * sysdeps/i386/configure.in: Check for -msse2avx.
39849         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39850         also if SSE2AVX is defined.
39851         Remove libc_fegetround* and libc_fesetround*.
39852         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39853         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
39854         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39855         of HAS_YMM_USABLE.
39856         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39857         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39858         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39859         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39860         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39861
39862         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39863
39864 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39865
39866         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39867         size is not set.
39868         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39869
39870 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
39871
39872         [BZ #13618]
39873         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39874         relocation.
39875         * Makeconfig (libm): Define.
39876         * elf/Makefile: Add rules to build and run tst-relsort1.
39877         * elf/tst-relsort1.c: New file.
39878         * elf/tst-relsort1mod1.c: New file.
39879         * elf/tst-relsort1mod2.c: New file.
39880
39881 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
39882
39883         * math/s_ldexp.c: Remove __STDC__ conditionals.
39884         * math/s_ldexpf.c: Likewise.
39885         * math/s_ldexpl.c: Likewise.
39886         * math/s_nextafter.c: Likewise.
39887         * math/s_nexttowardf.c: Likewise.
39888         * math/s_significand.c: Likewise.
39889         * math/s_significandf.c: Likewise.
39890         * math/s_significandl.c: Likewise.
39891         * math/w_jnl.c: Likewise.
39892         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39893         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39894         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39895         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39896         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39897         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39898         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39899         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39900         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39901         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39902         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39903         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39904         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39905         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39906         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39907         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39908         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39909         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39910         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39911         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39912         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39913         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39914         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39915         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39916         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39917         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39918         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39919         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39920         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39921         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39922         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39923         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39924         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39925         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39926         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39927         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39928         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39929         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39930         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39931         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39932         * sysdeps/ieee754/k_standard.c: Likewise.
39933         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39934         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39935         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39936         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39937         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39938         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39939         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39940         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39941         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39942         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39943         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39944         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39945         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39946         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39947         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39948         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39949         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39950         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39951         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39952         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39953         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39954         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39955         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39956         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39957         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39958         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39959         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39960         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39961         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39962         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39963         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39964         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39965         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39966         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39967         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39968         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39969         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39970         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39971         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39972         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39973         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39974         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39975         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39976         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39977         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39978         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39979         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39980         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39981         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39982         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39983         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39984         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39985         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39986         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39987         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39988         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39989         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39990         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39991         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39992         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39993         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39994         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39995         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39996         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39997         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39998         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39999         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40000         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40001         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40002         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40003         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40004         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40005         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40006         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40007         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40008         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40009         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40010         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40011         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40012         * sysdeps/ieee754/s_matherr.c: Likewise.
40013         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40014         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40015         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40016         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40017
40018 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40019
40020         * crypt/md5.h: Remove __STDC__ conditionals.
40021         * libio/libioP.h: Likewise.
40022         * locale/programs/config.h: Likewise.
40023         * sysdeps/generic/sysdep.h: Likewise.
40024         * sysdeps/i386/asm-syntax.h: Likewise.
40025         * sysdeps/s390/asm-syntax.h: Likewise.
40026         * sysdeps/unix/sysdep.h: Likewise.
40027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40029
40030 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40031
40032         * libio/libio.h: Remove __STDC__ conditionals.
40033         * malloc/obstack.h: Likewise.
40034         * math/complex.h: Likewise.
40035         * math/math.h: Likewise.
40036         * sysdeps/generic/_G_config.h: Likewise.
40037         * sysdeps/gnu/_G_config.h: Likewise.
40038         * sysdeps/mach/hurd/_G_config.h: Likewise.
40039         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40040         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40041         * sysdeps/sparc/bits/mathdef.h: Likewise.
40042
40043 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
40044
40045         [BZ #13583]
40046         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40047         Clean up HAS_* macros.
40048         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40049         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40050         possible.
40051         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40052         HAS_AVX.
40053         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40054         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40055         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40056         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40057         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40058
40059 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
40060
40061         * elf/tst-unique3.cc (gets): Remove declaration.
40062         * elf/tst-unique3lib.cc (gets): Likewise.
40063         * elf/tst-unique3lib2.cc (gets): Likewise.
40064         * elf/tst-unique4.cc (gets): Likewise.
40065
40066 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
40067
40068         * include/stdio.h: Add C++ protection.  Add gets declarations and
40069         definitions.
40070         * debug/tst-chk1.c: Don't declare gets here.
40071         * stdio-common/tst-gets.c: Likewise.
40072
40073 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40074
40075         * posix/glob: Remove directory.
40076
40077 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40078
40079         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40080
40081 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
40082
40083         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40084         of the non-standard EPFNOSUPPORT.
40085
40086 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40087
40088         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40089         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40090         ANYWHERE set to 1 only on KERN_NO_SPACE error.
40091
40092 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
40093
40094         * wcsmbs/uchar.h: Test __STDC_VERSION__.
40095
40096 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
40097
40098         * nscd/aicache.c (addhstaiX): Do not cache negative results of
40099         transient errors.
40100         * nscd/grpcache.c (cache_addgr): Likewise.
40101         * nscd/hstcache.c (cache_addhst): Likewise.
40102         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40103         * nscd/pwdcache.c (cache_addpw): Likewise.
40104         * nscd/servicescache.c (cache_addserv): Likewise.
40105
40106 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
40107
40108         * malloc/malloc.c: Various cleanups.
40109         * malloc/hooks.c: Likewise.
40110
40111         * stdlib/Makefile (tests): Add bug-fmtmsg1.
40112         * stdlib/bug-fmtmsg1.c: New file.
40113
40114         * stdlib/fmtmsg.c (init): Add missing unlock.
40115         Patch by Peng Haitao <penght@cn.fujitsu.com>.
40116
40117 2012-01-12  Marek Polacek  <polacek@redhat.com>
40118
40119         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40120         and _GNU_SOURCE.
40121
40122 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
40123
40124         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40125         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40126         macro to ensure uniqueness of label name.
40127         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40128         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40129
40130 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
40131
40132         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40133
40134         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40135         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40136         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40137         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40138
40139 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
40140
40141         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40142
40143         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40144         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40145         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40146
40147         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40148
40149         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40150         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40151         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40152         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40153
40154         * math/bits/math-finite.h: Add ldexp support.
40155
40156 2012-01-10  Marek Polacek  <polacek@redhat.com>
40157
40158         * locale/programs/localedef.h (show_archive_content): Add noreturn
40159         attribute.
40160
40161 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
40162
40163         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40164
40165 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40166
40167         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40168
40169         * io/Makefile (headers): Add bits/poll2.h.
40170
40171 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
40172
40173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40174         typo #include statement.
40175
40176 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40177
40178         * include/sys/cdefs.h: Define __attribute_alloc_size.
40179         * catgets/gencat.c: Add alloc_size attribute and apply consistently
40180         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40181         * elf/pldd.c: Likewise.
40182         * iconv/iconv_charmap.c: Likewise.
40183         * iconv/iconvconfig.c: Likewise.
40184         * iconv/strtab.c: Likewise.
40185         * locale/programs/locale.c: Likewise.
40186         * locale/programs/localedef.h: Likewise.
40187         * locale/programs/simple-hash.c: Likewise.
40188         * nscd/nscd.h: Likewise.
40189         * nss/makedb.c: Likewise.
40190         * sysdeps/generic/ldconfig.h: Likewise.
40191         * locale/programs/localedef.c: Remove xmalloc prototype.
40192         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40193
40194 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40195
40196         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40197         appropriate.
40198
40199 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40200
40201         * math/Makefile (tests): Add tst-CMPLX.
40202         * math/tst-CMPLX.c: New file.
40203
40204         * math/complex.h (CMPLXL): Fix typo.
40205
40206         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40207         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40208         GLIBC_2.16.
40209         * debug/tst-chk1.c: Add poll and ppoll tests.
40210         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40211         * include/sys/poll.h: Add hidden proto for ppoll.
40212         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40213         * sysdeps/mach/hurd/ppoll.c: Likewise.
40214         * io/ppoll.c: Likewise.
40215         * debug/poll_chk.c: New file.
40216         * debug/ppoll_chk.c: New file.
40217         * include/bits/poll2.h: New file.
40218         * io/bits/poll2.h: New file.
40219
40220         [BZ #1350]
40221         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40222
40223         * configure.in: static is always set to yes.  Remove.
40224         * config.make.in: Don't set build-static.
40225         * Makeconfig: Remove use of build-static.
40226         * dlfcn/Makefile: Likewise.
40227         * elf/Makefile: Likewise.
40228         * math/Makefile: Likewise.
40229         * misc/Makefile: Likewise.
40230         * nptl/Makefile: Likewise.
40231         * sysdeps/mach/hurd/Makefile: Likewise.
40232
40233         * configure.in: PWD_P is not used anymore.
40234         * config.make.in: Remove PWD_P entry.
40235
40236         * configure.in: Remove last remnants of RANLIB.
40237         No need to check for signed size_t anymore.
40238         Don't set libc_commonpagesize and libc_relro_required here for Alpha
40239         and IA-64.
40240         Remove __builtin_expect test because we require at least gcc 3.4.
40241         * aclocal.m4: Likewise.
40242
40243         * wcsmbs/mbrtoc16.c: Implement using towc function.
40244         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40245         * wcsmbs/wcsmbsload.c: Likewise.
40246         * iconv/gconv_simple.c: Likewise.
40247         * iconv/gconv_int.h: Likewise.
40248         * iconv/gconv_builtin.h: Likewise.
40249         * iconv/iconv_prog.c: Remove CHAR16 handling.
40250
40251         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40252
40253         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40254
40255         * configure.in: Remove --with-elf and --enable-bounded options.
40256         Dont set base_machine for ia64.  More non-ELF conditions removed.
40257         Remove testing and setting of leading underscore information.
40258         * config.make.in (build-bounded): Set to no.
40259         * config.h.in: Remove NO_UNDERSCORES entry.
40260         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
40261         them.
40262         * csu/start.c: Remove !NO_UNDERSCORE code.
40263         * locale/localeinfo.h: Likewise.
40264         * sysdeps/generic/machine-gmon.h: Likewise.
40265         * sysdeps/generic/sysdep.h: Likewise.
40266         * sysdeps/i386/sysdep.h: Likewise.
40267         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40268         * sysdeps/mach/sysdep.h: Likewise.
40269         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40270         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40271         * sysdeps/sh/sysdep.h: Likewise.
40272         * sysdeps/sparc/sparc32/alloca.S: Likewise.
40273         * sysdeps/unix/i386/sysdep.S: Likewise.
40274         * sysdeps/unix/sparc/start.c: Likewise.
40275         * sysdeps/unix/sparc/sysdep.S: Likewise.
40276         * sysdeps/unix/sparc/sysdep.h: Likewise.
40277         * sysdeps/unix/start.c: Likewise.
40278         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40279         * sysdeps/x86_64/sysdep.h: Likewise.
40280
40281 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
40282
40283         [BZ #13553]
40284         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40285         for non-gcc.
40286         * argp/argp-fmtstream.h: Use const instead __const.
40287         * argp/argp.h: Likewise.
40288         * assert/assert.h: Likewise.
40289         * bits/fenv.h: Likewise.
40290         * bits/sched.h: Likewise.
40291         * bits/sigset.h: Likewise.
40292         * bits/sigthread.h: Likewise.
40293         * catgets/nl_types.h: Likewise.
40294         * conform/data/pthread.h-data: Likewise.
40295         * crypt/crypt-private.h: Likewise.
40296         * crypt/crypt.h: Likewise.
40297         * crypt/crypt_util.c: Likewise.
40298         * ctype/ctype.h: Likewise.
40299         * debug/execinfo.h: Likewise.
40300         * debug/mbsnrtowcs_chk.c: Likewise.
40301         * debug/mbsrtowcs_chk.c: Likewise.
40302         * debug/wcsnrtombs_chk.c: Likewise.
40303         * debug/wcsrtombs_chk.c: Likewise.
40304         * debug/wcstombs_chk.c: Likewise.
40305         * dirent/dirent.h: Likewise.
40306         * dlfcn/dlfcn.h: Likewise.
40307         * elf/neededtest4.c: Likewise.
40308         * grp/grp.h: Likewise.
40309         * gshadow/gshadow.h: Likewise.
40310         * iconv/gconv.h: Likewise.
40311         * iconv/gconv_int.h: Likewise.
40312         * iconv/gconv_simple.c: Likewise.
40313         * iconv/iconv.h: Likewise.
40314         * iconv/loop.c: Likewise.
40315         * iconv/skeleton.c: Likewise.
40316         * include/aio.h: Likewise.
40317         * include/aliases.h: Likewise.
40318         * include/argz.h: Likewise.
40319         * include/arpa/inet.h: Likewise.
40320         * include/assert.h: Likewise.
40321         * include/dirent.h: Likewise.
40322         * include/dlfcn.h: Likewise.
40323         * include/execinfo.h: Likewise.
40324         * include/fcntl.h: Likewise.
40325         * include/fenv.h: Likewise.
40326         * include/glob.h: Likewise.
40327         * include/grp.h: Likewise.
40328         * include/libintl.h: Likewise.
40329         * include/mntent.h: Likewise.
40330         * include/netdb.h: Likewise.
40331         * include/pwd.h: Likewise.
40332         * include/rpc/netdb.h: Likewise.
40333         * include/sched.h: Likewise.
40334         * include/search.h: Likewise.
40335         * include/shadow.h: Likewise.
40336         * include/signal.h: Likewise.
40337         * include/stdio.h: Likewise.
40338         * include/stdlib.h: Likewise.
40339         * include/string.h: Likewise.
40340         * include/sys/socket.h: Likewise.
40341         * include/sys/stat.h: Likewise.
40342         * include/sys/statfs.h: Likewise.
40343         * include/sys/statvfs.h: Likewise.
40344         * include/sys/syslog.h: Likewise.
40345         * include/sys/time.h: Likewise.
40346         * include/sys/uio.h: Likewise.
40347         * include/time.h: Likewise.
40348         * include/unistd.h: Likewise.
40349         * include/utmp.h: Likewise.
40350         * include/wchar.h: Likewise.
40351         * include/wctype.h: Likewise.
40352         * inet/aliases.h: Likewise.
40353         * inet/arpa/inet.h: Likewise.
40354         * inet/netinet/ether.h: Likewise.
40355         * inet/netinet/in.h: Likewise.
40356         * intl/libintl.h: Likewise.
40357         * io/bits/fcntl2.h: Likewise.
40358         * io/fcntl.h: Likewise.
40359         * io/ftw.h: Likewise.
40360         * io/sys/poll.h: Likewise.
40361         * io/sys/stat.h: Likewise.
40362         * io/sys/statfs.h: Likewise.
40363         * io/sys/statvfs.h: Likewise.
40364         * io/utime.h: Likewise.
40365         * libio/bits/stdio.h: Likewise.
40366         * libio/bits/stdio2.h: Likewise.
40367         * libio/libio.h: Likewise.
40368         * libio/libioP.h: Likewise.
40369         * libio/stdio.h: Likewise.
40370         * locale/lc-ctype.c: Likewise.
40371         * locale/locale.h: Likewise.
40372         * login/utmp.h: Likewise.
40373         * malloc/arena.c: Likewise.
40374         * malloc/malloc.c: Likewise.
40375         * malloc/malloc.h: Likewise.
40376         * malloc/mcheck.c: Likewise.
40377         * malloc/mtrace.c: Likewise.
40378         * math/bits/mathcalls.h: Likewise.
40379         * math/fenv.h: Likewise.
40380         * math/math_private.h: Likewise.
40381         * misc/bits/error.h: Likewise.
40382         * misc/bits/syslog.h: Likewise.
40383         * misc/err.h: Likewise.
40384         * misc/error.h: Likewise.
40385         * misc/fstab.h: Likewise.
40386         * misc/mntent.h: Likewise.
40387         * misc/regexp.h: Likewise.
40388         * misc/search.h: Likewise.
40389         * misc/sgtty.h: Likewise.
40390         * misc/sys/mman.h: Likewise.
40391         * misc/sys/syslog.h: Likewise.
40392         * misc/sys/uio.h: Likewise.
40393         * misc/sys/xattr.h: Likewise.
40394         * misc/ttyent.h: Likewise.
40395         * nis/rpcsvc/ypclnt.h: Likewise.
40396         * nss/nss.h: Likewise.
40397         * posix/bits/unistd.h: Likewise.
40398         * posix/fnmatch.h: Likewise.
40399         * posix/glob.h: Likewise.
40400         * posix/sched.h: Likewise.
40401         * posix/spawn.h: Likewise.
40402         * posix/sys/wait.h: Likewise.
40403         * posix/unistd.h: Likewise.
40404         * posix/wordexp.h: Likewise.
40405         * pwd/pwd.h: Likewise.
40406         * resolv/netdb.h: Likewise.
40407         * resource/sys/resource.h: Likewise.
40408         * rt/aio.h: Likewise.
40409         * rt/bits/mqueue2.h: Likewise.
40410         * rt/mqueue.h: Likewise.
40411         * shadow/shadow.h: Likewise.
40412         * signal/signal.h: Likewise.
40413         * socket/send.c: Likewise.
40414         * socket/sendto.c: Likewise.
40415         * socket/sys/socket.h: Likewise.
40416         * stdio-common/printf.h: Likewise.
40417         * stdlib/bits/stdlib.h: Likewise.
40418         * stdlib/fmtmsg.h: Likewise.
40419         * stdlib/monetary.h: Likewise.
40420         * stdlib/stdlib.h: Likewise.
40421         * stdlib/ucontext.h: Likewise.
40422         * streams/stropts.h: Likewise.
40423         * string/argz.h: Likewise.
40424         * string/bits/string2.h: Likewise.
40425         * string/string.h: Likewise.
40426         * string/strings.h: Likewise.
40427         * sunrpc/rpc/auth.h: Likewise.
40428         * sunrpc/rpc/auth_des.h: Likewise.
40429         * sunrpc/rpc/clnt.h: Likewise.
40430         * sunrpc/rpc/netdb.h: Likewise.
40431         * sunrpc/rpc/pmap_clnt.h: Likewise.
40432         * sunrpc/rpc/xdr.h: Likewise.
40433         * sysdeps/generic/inttypes.h: Likewise.
40434         * sysdeps/generic/net/if.h: Likewise.
40435         * sysdeps/generic/sys/swap.h: Likewise.
40436         * sysdeps/gnu/net/if.h: Likewise.
40437         * sysdeps/gnu/utmpx.h: Likewise.
40438         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40439         * sysdeps/i386/i486/bits/string.h: Likewise.
40440         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40441         * sysdeps/s390/bits/string.h: Likewise.
40442         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40443         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40444         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40445         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40446         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40447         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40448         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40449         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40450         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40451         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40452         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40453         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40454         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40455         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40456         * sysdeps/unix/sysv/linux/readv.c: Likewise.
40457         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40458         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40459         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40460         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40461         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40462         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40463         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40464         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40465         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40466         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40467         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40468         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40469         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40470         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40471         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40472         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40473         * sysvipc/sys/ipc.h: Likewise.
40474         * sysvipc/sys/msg.h: Likewise.
40475         * sysvipc/sys/sem.h: Likewise.
40476         * sysvipc/sys/shm.h: Likewise.
40477         * termios/termios.h: Likewise.
40478         * time/sys/time.h: Likewise.
40479         * time/time.h: Likewise.
40480         * wcsmbs/bits/wchar2.h: Likewise.
40481         * wcsmbs/uchar.h: Likewise.
40482         * wcsmbs/wchar.h: Likewise.
40483         * wctype/wctype.h: Likewise.
40484
40485         [BZ #13551]
40486         * Makeconfig: Remove all but ELF support including AIX support.
40487         * Makerules: Likewise.
40488         * config.h.in: Likewise.
40489         * config.make.in: Likewise.
40490         * configure: Likewise.
40491         * configure.in: Likewise.
40492         * csu/Makefile: Likewise.
40493         * csu/version.c: Likewise.
40494         * debug/Makefile: Likewise.
40495         * dlfcn/Makefile: Likewise.
40496         * elf/Makefile: Likewise.
40497         * extra-lib.mk: Likewise.
40498         * iconv/Makefile: Likewise.
40499         * include/libc-symbols.h: Likewise.
40500         * include/shlib-compat.h: Likewise.
40501         * resolv/Makefile: Likewise.
40502         * resolv/res_libc.c: Likewise.
40503         * rt/Makefile: Likewise.
40504         * sysdeps/i386/asm-syntax.h: Likewise.
40505         * sysdeps/i386/sysdep.h: Likewise.
40506         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40507         * sysdeps/mach/sysdep.h: Likewise.
40508         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40509         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40510         * sysdeps/s390/asm-syntax.h: Likewise.
40511         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40512         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40513         * sysdeps/sh/sysdep.h: Likewise.
40514         * sysdeps/unix/sparc/sysdep.h: Likewise.
40515         * sysdeps/wordsize-32/divdi3.c: Likewise.
40516         * sysdeps/x86_64/sysdep.h: Likewise.
40517
40518         * argp/Versions: Remove _argp_unlock_xxx.
40519
40520         [BZ #13559]
40521         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
40522         * abilist/libBrokenLocale.abilist: Likewise.
40523         * abilist/libanl.abilist: Likewise.
40524         * abilist/libc.abilist: Likewise.
40525         * abilist/libcrypt.abilist: Likewise.
40526         * abilist/libdl.abilist: Likewise.
40527         * abilist/libm.abilist: Likewise.
40528         * abilist/libnsl.abilist: Likewise.
40529         * abilist/libpthread.abilist: Likewise.
40530         * abilist/libresolv.abilist: Likewise.
40531         * abilist/librt.abilist: Likewise.
40532         * abilist/libthread_db.abilist: Likewise.
40533         * abilist/libutil.abilist: Likewise.
40534         * abilist/libnss_db.abilist: New file.
40535
40536         * scripts/abilist.awk: Add support for indirect functions.
40537
40538         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40539
40540         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40541
40542         * shlib-versions: Remove entries for ports architectures.
40543
40544         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
40545         files in ports.
40546         * elf/stackguard-macros.h: Remove support for IA-64.
40547         * elf/tst-auditmod1.c: Likewise.
40548         * sysdeps/generic/ldsodefs.h: Likewise.
40549
40550         * sysdeps/unix/sysv/linux/configure.in: Ports should define
40551         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40552         configure files.
40553
40554         [BZ #13552]
40555         * configure.in: Remove --enable-omitfp support.
40556         * FAQ.in: Adjust.
40557         * config.make.in: Likewise.
40558         * Makeconfig: Likewise.
40559         * manual/install.texi: Likewise.
40560
40561         In case anyone cares, the IA-64 architecture could move to ports.
40562         * sysdeps/ia64/*: Removed.
40563         * sysdeps/unix/sysv/linux/ia64/*: Removed.
40564         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40565
40566         [BZ #13555]
40567         * configure.in: Remove entries for unsupported architectures.
40568
40569         [BZ #13533]
40570         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40571         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
40572         routines.
40573         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40574         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40575         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
40576         fall back to using wcrtomb.
40577         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40578         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
40579         renaming.
40580         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40581         * wcsmbs/tst-c16c32-1.c: New file.
40582
40583         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40584         local variable.
40585
40586         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40587
40588         * elf/tst-unique3.cc: Add explicit declaration of gets.
40589         * elf/tst-unique3lib.cc: Likewise.
40590         * elf/tst-unique3lib2.cc: Likewise.
40591         * elf/tst-unique4.cc: Likewise.
40592
40593         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40594
40595 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
40596
40597         [BZ #13566]
40598         * assert/assert.h (static_assert): Don't define for C++.
40599         * libio/stdio.h (gets): Do declare for C++ <= C++11.
40600         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40601
40602 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
40603
40604         * iconv/loop.c (single loop): Fix assertion in storing of
40605         remaining bytes.
40606
40607         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40608
40609 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
40610
40611         * posix/getconf.c: Update copyright year.
40612         * nss/getent.c: Likewise.
40613         * nss/makedb.c: Likewise.
40614         * iconv/iconvconfig.c: Likewise.
40615         * iconv/iconv_prog.c: Likewise.
40616         * elf/ldconfig.c: Likewise.
40617         * elf/pldd.c: Likewise.
40618         * elf/sotruss.ksh: Likewise.
40619         * catgets/gencat.c: Likewise.
40620         * csu/version.c: Likewise.
40621         * elf/ldd.bash.in: Likewise.
40622         * elf/sprof.c (print_version): Likewise.
40623         * locale/programs/locale.c: Likewise.
40624         * locale/programs/localedef.c: Likewise.
40625         * login/programs/pt_chown.c: Likewise.
40626         * nscd/nscd.c (print_version): Likewise.
40627         * debug/xtrace.sh: Likewise.
40628         * malloc/memusage.sh: Likewise.
40629         * malloc/mtrace.pl: Likewise.
40630         * debug/catchsegv.sh: Likewise.
40631
40632 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
40633
40634         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40635         pure attribute.
40636
40637 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
40638
40639         [BZ #13533]
40640         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40641         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40642         transformations.
40643         * iconv/gconv_int.h: Likewise.
40644         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40645         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40646         from libc for GLIBC_2.16.
40647         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40648         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40649         * wcsmbs/uchar.h: Really define mbstate_t.
40650         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40651         * wcsmbs/c16rtomb.c: New file.
40652         * wcsmbs/mbrtoc16.c: New file.
40653         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40654         for C/POSIX locale.
40655         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40656         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40657
40658         * wcsmbs/wchar.h: Add missing __restrict.
40659
40660 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
40661
40662         [BZ #13532]
40663         * time/Makefile (routines): Add timespec_get.
40664         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40665         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
40666         timespec for ISO C11.
40667         * time/timespec_get.c: New file.
40668         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40669         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40670
40671         [BZ #13531]
40672         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40673         * stdlib/stdlib.h: Declare aligned_alloc.
40674         * Versions.def: Add GLIBC_2.16 for libc.
40675         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40676
40677         [BZ 13527]
40678         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40679         ISO C11.
40680
40681         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40682         code.
40683
40684         [BZ #13528]
40685         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40686
40687         [BZ #13529]
40688         * assert/assert.h (static_assert): Define.
40689
40690         * version.h: Update for 2.16 development version.
40691
40692         [BZ #13526]
40693         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40694         _ISOC11_SOURCE.
40695
40696         * version.h (RELEASE): Bump for 2.15 release.
40697         * include/features.h (__GLIBC_MINOR__): Bump to 15.
40698
40699         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40700         Patch by Marek Polacek <mpolacek@redhat.com>.
40701
40702         * bits/byteswap.h: Protect long long constants with __extension__.
40703         * sysdeps/i386/bits/byteswap.h: Likewise.
40704         * sysdeps/ia64/bits/byteswap.h: Likewise.
40705         * sysdeps/s390/bits/byteswap.h: Likewise.
40706         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40707
40708 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40709
40710         [BZ #13540]
40711         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40712         destination buffer.
40713         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40714
40715 2011-12-23  Marek Polacek  <polacek@redhat.com>
40716
40717         * elf/dl-addr.c (determine_info): Add inline keyword.
40718         * elf/tst-auditmod4b.c (check_avx): Likewise.
40719         * elf/tst-auditmod6b.c (check_avx): Likewise.
40720         * elf/tst-auditmod6c.c (check_avx): Likewise.
40721         * elf/tst-auditmod7b.c (check_avx): Likewise.
40722
40723 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
40724
40725         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40726         !__SSE_MATH__.
40727
40728 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40729
40730         [BZ #13540]
40731         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40732         processing for last bytes.
40733
40734 2011-08-06  Bruno Haible  <bruno@clisp.org>
40735
40736         [BZ #13061]
40737         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40738         U+0385, not to U+1FEE.
40739
40740         [BZ #13062]
40741         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40742         entry for U+00A5 U+0301.
40743
40744 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
40745
40746         [BZ #13166]
40747         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40748         buffer for the output is too small.
40749
40750         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40751         optimization.
40752
40753         [BZ #13185]
40754         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40755         SSE flags if possible.
40756
40757 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40758
40759         [BZ #13540]
40760         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40761         processing for last bytes.
40762
40763 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
40764
40765         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40766         (syscall-list-default-options, syscall-list-default-condition)
40767         (syscall-list-includes): Define.
40768         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40769         list of ABIs and options and #if conditions for each ABI.  Do not
40770         handle common syscalls between ABIs specially.
40771         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40772         Remove.
40773         (syscall-list-variants, syscall-list-32bit-options)
40774         (syscall-list-32bit-condition, syscall-list-64bit-options)
40775         (syscall-list-64bit-condition): Define.
40776         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40777         (syscall-list-variants, syscall-list-32bit-options)
40778         (syscall-list-32bit-condition, syscall-list-64bit-options)
40779         (syscall-list-64bit-condition): Define.
40780         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40781         Remove.
40782         (syscall-list-variants, syscall-list-32bit-options)
40783         (syscall-list-32bit-condition, syscall-list-64bit-options)
40784         (syscall-list-64bit-condition): Define.
40785         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40786         Remove.
40787         (syscall-list-variants, syscall-list-32bit-options)
40788         (syscall-list-32bit-condition, syscall-list-64bit-options)
40789         (syscall-list-64bit-condition): Define.
40790
40791 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
40792
40793         * locale/iso-639.def: Add brx entry.
40794
40795         [BZ #13328]
40796         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40797         Proposed by Mariusz_Cukr <marcukr@op.pl>.
40798
40799         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40800         __feraiseexcept_renamed.
40801
40802 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
40803
40804         [BZ #13538]
40805         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40806         EPOLLET with unsigned values.
40807         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40808         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40809
40810         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40811         to large cancellation.
40812         * math/s_cacoshf.c: Likewise.
40813         * math/s_cacoshl.c: Likewise.
40814
40815 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
40816
40817         [BZ #13305]
40818         [BZ #12786]
40819         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40820         * math/s_cacoshf.c: Likewise.
40821         * math/s_cacoshl.c: Likewise.
40822
40823 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
40824
40825         [BZ #13439]
40826         * iconv/gconv.h: Define __GCONV_SWAP.
40827         * iconvdata/unicode.c: The swap bit must be stored in __flags.
40828         * iconvdata/utf-16.c: Likewise.
40829         * iconvdata/utf-32.c: Likewise.
40830
40831 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
40832
40833         [BZ #13524]
40834         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40835         numerator after shifting it by one limb.
40836
40837 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
40838
40839         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40840         under [__USE_EXTERN_INLINES].
40841
40842 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
40843
40844         [BZ #13446]
40845         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40846
40847 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40848
40849         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40850         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40851         optimized code.
40852         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40853         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40854         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40855         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40856         for strncasecmp/strncasecmp_l compilation.
40857         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40858         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40859
40860 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
40861
40862         [BZ #13484]
40863         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40864         of __asm__.
40865
40866 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
40867
40868         [BZ #13506]
40869         * time/tzfile.c (__tzfile_read): Check values from file header.
40870
40871 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
40872
40873         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40874         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40875         * powerpc/powerpc32/dl-start.S: Likewise.
40876         * powerpc/powerpc32/elf/start.S: Likewise.
40877         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40878         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40879         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40880         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40881         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40882         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40883         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40884         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40885         * powerpc/powerpc32/fpu/s_round.S: Likewise.
40886         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40887         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40888         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40889         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40890         * powerpc/powerpc32/memset.S: Likewise.
40891         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40892         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40893         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40894         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40895         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40896         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40897         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40898         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40899         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40900         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40901         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40902         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40903         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40904
40905 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40906
40907         * math/libm-test.inc: Added more nearbyint tests.
40908         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40909         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40910         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40911         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40912
40913 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
40914
40915         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40916         FD_CLOEXEC.
40917
40918 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40919
40920         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40921         Add wcscpy-ssse3 wcscpy-c.
40922         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40923         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40924         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40925         * sysdeps/x86_64/wcschr.S: New file.
40926         * sysdeps/x86_64/wcsrchr.S: New file.
40927         * string/test-strcmp.c: Remove checking of wcscmp function for
40928         wrong alignments.
40929         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40930         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40931         wcsrchr-sse2 wcsrchr-c.
40932         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40933         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40934         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40935         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40936         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40937         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40938         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40939         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40940         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40941         * wcsmbc/wcschr.c (WCSCHR): New macro.
40942
40943 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40944
40945         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40946         * wcsmbs/test-wcsrchr.c: New file.
40947         * string/test-strrchr.c: Add wcsrchr support.
40948         (WIDE): New macro.
40949         * wcsmbs/test-wcscpy.c: New file.
40950         * string/test-strcpy.c: Add wcscpy support.
40951         (WIDE): New macro.
40952
40953 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
40954
40955         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40956         the inner loop.
40957
40958 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
40959
40960         [BZ #13472]
40961         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40962
40963 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
40964
40965         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40966         Minor optimizations.
40967
40968         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40969         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40970         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40971
40972 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
40973
40974         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40975         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40976         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40977         for gcc to avoid warnings.
40978         * inet/Makefile (tests): Add tst-checks.
40979         * inet/tst-checks.c: New file.
40980
40981         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40982         warning.
40983
40984         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40985         __wmemcmp_sse2.
40986
40987         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40988         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40989
40990         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40991
40992 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
40993
40994         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40995         problem.
40996
40997         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40998
40999 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
41000
41001         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41002         conditional on GCC version.
41003         (__arch_compare_and_exchange_val_8_acq)
41004         (__arch_compare_and_exchange_val_16_acq)
41005         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41006         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41007         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41008
41009 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
41010
41011         * sysdeps/sh/backtrace.c: New file.
41012
41013 2011-12-02  Andreas Schwab  <schwab@redhat.com>
41014
41015         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
41016         parenthesis.
41017
41018 2011-12-01  Andreas Schwab  <schwab@redhat.com>
41019
41020         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41021         falling back to utime.
41022
41023 2011-11-30  Andreas Schwab  <schwab@redhat.com>
41024
41025         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41026         expectations for float.
41027
41028 2011-11-29  Andreas Schwab  <schwab@redhat.com>
41029
41030         * locale/weight.h (findidx): Add parameter len.
41031         * locale/weightwc.h (findidx): Likewise.
41032         * posix/fnmatch_loop.c (FCT): Adjust caller.
41033         * posix/regcomp.c (build_equiv_class): Likewise.
41034         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41035         * posix/regexec.c (check_node_accept_bytes): Likewise.
41036         * string/strcoll_l.c (STRCOLL): Likewise.
41037         * string/strxfrm_l.c (STRXFRM): Likewise.
41038
41039 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
41040
41041         * Makefile.in: Remove CVSOPT handling.
41042         * configure.in: Remove use of AC_REVISION.
41043         * iconvdata/Makefile (distribute): No need to filter out CVS.
41044         * scripts/list-sources.sh: Remove CVS, subversion and monotone
41045         handling.
41046
41047 2011-11-16  Andreas Schwab  <schwab@redhat.com>
41048
41049         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41050         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41051         [USE_AS_STRNCASECMP_L]: Likewise.
41052         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41053         NO_TLS_DIRECT_SEG_REFS.
41054         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41055         Fix argument offsets for non-PIC.
41056         [USE_AS_STRNCASECMP_L]: Likewise.
41057         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41058         NO_TLS_DIRECT_SEG_REFS.
41059
41060 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41061
41062         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41063         O_CLOEXEC.
41064         * locale/loadlocale.c (_nl_load_locale): Likewise.
41065
41066 2011-11-15  Andreas Schwab  <schwab@redhat.com>
41067
41068         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41069         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41070         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41071         (SYSCALL_GETTIME): Set errno on error.
41072
41073         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41074         count references to noai6ai_cached.
41075
41076 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41077
41078         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41079
41080         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41081         FD_CLOEXEC for /proc/self/maps.
41082
41083         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41084         FD_CLOEXEC for /proc/meminfo.
41085
41086         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41087         gai.conf.
41088
41089         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
41090         FD_CLOEXEC for given file.
41091
41092         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41093
41094         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41095         FD_CLOEXEC for /etc/hosts.
41096         (_gethtent): Likewise.
41097
41098         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41099
41100         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41101         cancellation and set FD_CLOEXEC for /etc/netgroup.
41102
41103         * nss/nss_files/files-key.c (search): Don't allow cancellation when
41104         reading /etc/publickey.
41105
41106         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41107         allow cancellation when reading /etc/group.
41108
41109         * nss/nss_files/files-alias.c (internal_setent): Don't allow
41110         cancellation.
41111         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
41112
41113         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41114         when using data file.
41115
41116         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41117
41118         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41119         (write_nis_obj): Use "c" and "e" in fopen.
41120
41121         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41122
41123         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41124
41125         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41126
41127         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41128
41129         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41130         locale.alias.
41131
41132         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41133
41134         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41135
41136         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41137
41138         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41139         file parsing and set FD_CLOEXEC.
41140
41141 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41142
41143         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41144
41145 2011-11-14  Andreas Schwab  <schwab@redhat.com>
41146
41147         * malloc/arena.c (arena_get2): Don't call reused_arena when
41148         _int_new_arena failed.
41149
41150 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41151
41152         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41153         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41154         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41155         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41156         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41157         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41158         to compile strcasecmp and strncasecmp.
41159         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41160         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41161
41162         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41163
41164 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
41165
41166         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41167         locale-defines.sym to gen-as-const-headers.
41168         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41169         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41170         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41171         to compile strcasecmp and strncasecmp.
41172         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41173         strcasecmp_l and strncasecmp_l.
41174         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41175         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41176         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41177         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41178         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41179         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41180         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41181         * sysdeps/i386/i686/multiarch/strncase.S: New file.
41182         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41183         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41184         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41185
41186 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
41187
41188         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41189         result of SYSDEP_GETTIME_CPU to retval.
41190         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41191         parameter list to macro.  Remove trailing semicolon.  Adjust users.
41192
41193         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41194         variable.
41195
41196         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41197         mantissa words.
41198         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41199
41200         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41201         from unused variable.
41202
41203         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41204         DWARF definitions.
41205         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41206         for assembling.
41207
41208         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41209         over namespaces.
41210
41211         * sunrpc/rpc_prot.c (rejected): Fix case value.
41212
41213         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41214         unsigned long long int to avoid warnings in shift.
41215
41216         * posix/regex_internal.c (re_string_reconstruct): Actually use result
41217         of use of trans.
41218         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41219         variable tmp.
41220
41221         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41222         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41223         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41224
41225         * nis/nis_table.c (nis_list): Use variable of correct type for
41226         result of __follow_path call.
41227
41228 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41229
41230         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41231         of math functions ceil, trunc, floor, round, and sqrt, when
41232         avaliable on the platform.
41233         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41234         name clash.
41235         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41236         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41237         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41238
41239 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
41240
41241         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41242         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41243
41244 2011-11-11  Roland McGrath  <roland@hack.frob.com>
41245
41246         * include/unistd.h: Fix __readlink return type.
41247         Reported by Chris Metcalf <cmetcalf@tilera.com>.
41248
41249 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
41250
41251         * stdlib/ucontext.h: Undo last change for makecontext.
41252
41253 2011-11-11  Andreas Schwab  <schwab@redhat.com>
41254
41255         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41256
41257         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41258         * setjmp/setjmp.h: Mark functions as non-leaf.
41259         * setjmp/bits/setjmp2.h: Likewise.
41260         * stdlib/ucontext.h: Likewise.
41261
41262 2011-11-10  Andreas Schwab  <schwab@redhat.com>
41263
41264         * malloc/arena.c (_int_new_arena): Don't increment narenas.
41265         (reused_arena): Don't check arena limit.
41266         (arena_get2): Atomically check arena limit.
41267
41268 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
41269
41270         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41271         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41272
41273         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41274         instructions.
41275
41276 2011-11-07  Andreas Schwab  <schwab@redhat.com>
41277
41278         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41279         handler when locking.
41280
41281         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41282         Fix size of allocated buffer.
41283
41284 2011-11-04  Andreas Schwab  <schwab@redhat.com>
41285
41286         [BZ #10103]
41287         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41288         declarations for long double functions.
41289         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41290
41291         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41292
41293 2011-11-03  Andreas Schwab  <schwab@redhat.com>
41294
41295         * nscd/nscd.c (main): Don't start AVC thread until credentials are
41296         installed.
41297
41298         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41299         is disabled.
41300
41301 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41302
41303         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41304
41305 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41306
41307         * include/alloca.h (stackinfo_alloca_round): Define.
41308         (extend_alloca): Use it.
41309         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41310         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41311         here.
41312
41313         * scripts/check-local-headers.sh: Ignore libaudit.h.
41314
41315         * nscd/Makefile (extra-objs): Make recursively expanded.
41316
41317 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
41318
41319         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41320         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41321
41322         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41323         * posix/tst-rfc3484-2.c: Likewise.
41324         * posix/tst-rfc3484-3.c: Likewise.
41325
41326         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41327         process_vm_writev.
41328         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41329         process_vm_writev.
41330         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41331         process_vm_writev from libc using GLIBC_2.15 version.
41332
41333         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41334
41335 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
41336
41337         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41338         stack usage.
41339
41340 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
41341
41342         [BZ #13367]
41343         * nss/getent.c (initgroups_keys): Show error message in case no group
41344         names are given.
41345
41346         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41347         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41348         __bump_nl_timestamp.
41349         * nscd/connections (nscd_init): When host database is served open
41350         netlink socket and request notification about configuration changes.
41351         (main_loop_poll): Track netlink file descriptor and bump timestamp
41352         in case data becomes available.
41353         (main_loop_epoll): Likewise.
41354         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41355         (database_pers_head): Add extra_data fileds.
41356         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41357         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41358         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41359         Adjust caller.
41360         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41361         in6ai data, call __free_in6ai.
41362         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41363         Add -DHAVE_NETLINK.
41364         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
41365         interface information.  Reuse previous data if netlink timestamp
41366         is not changed.
41367         (__bump_nl_timestamp): New function.
41368         (__free_in6ai): New function.
41369
41370 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
41371
41372         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41373         close_not_cancel_no_status here.
41374         (__check_pf): Reorganize code a bit to not call close twice if OOM.
41375
41376 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41377
41378         [BZ #13276]
41379         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41380         return value.
41381
41382         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41383         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41384         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41385
41386 2011-07-03  Andreas Jaeger  <aj@suse.de>
41387
41388         [BZ #10709]
41389         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41390         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41391         * math/libm-test.inc (sin_test): Add test case.
41392
41393 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41394
41395         [BZ #13337]
41396         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41397         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41398
41399         * elf/chroot_canon.c (chroot_canon): Cleanups.
41400
41401         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41402
41403         [BZ #13335]
41404         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41405         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41406
41407         * string/test-strchr.c: Make usable for strchrnul testing.
41408         * string/test-strchrnul.c: New file.
41409         * string/Makefile (strop-tests): Add strchrnul.
41410
41411         * po/it.po: Update from translation team.
41412         * po/es.po: Likewise.
41413
41414 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
41415
41416         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41417         the three constants needed as parameters.  Drop the others.
41418         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41419         __m128i_strloadu_tolower.
41420         Create and initialize variable zero and use it in all the places
41421         where _mm_setzero_si128 was used.
41422
41423         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41424         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41425         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41426         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41427         anymore.
41428         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41429         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41430         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41431         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41432         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41433         __mpranred, __mptan.
41434         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41435         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41436         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41437         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41438         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41439         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41440         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41441         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41442         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41443
41444 2011-10-28  Andreas Schwab  <schwab@redhat.com>
41445
41446         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41447         redefine if SHARED.
41448         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41449
41450         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41451         wide char related routines to wcsmbs subdir.
41452
41453 2011-10-27  Andreas Schwab  <schwab@redhat.com>
41454
41455         [BZ #13344]
41456         * misc/sys/cdefs.h (__THROWNL): Define.
41457         * posix/unistd.h: Use __THREADNL instead of __THREAD
41458         for memory synchronization functions.
41459
41460 2011-10-26  Roland McGrath  <roland@hack.frob.com>
41461
41462         [BZ #13349]
41463         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41464         doesn't exist.
41465         * manual/stdio.texi (Obstack Streams): Node removed.
41466
41467 2011-10-26  Andreas Schwab  <schwab@redhat.com>
41468
41469         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41470         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41471         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41472
41473         * math/math_private.h (math_force_eval): Allow non-addressable
41474         arguments.
41475         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41476
41477 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41478
41479         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41480         file is not needed.
41481
41482         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41483         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41484         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41485         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41486         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41487         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41488         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41489         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41490         Add AVX variants.
41491         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41492         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41493         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41494         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41495         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41496         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41497         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41498         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41499         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41500         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41501         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41502         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41503         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41504         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41505         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41506         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41507         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41508         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41509         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41510
41511         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41512         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
41513
41514         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41515         place.  Use VEX encoding when compiling for AVX.
41516
41517 2011-10-25  Andreas Schwab  <schwab@redhat.com>
41518
41519         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41520         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41521
41522         * string/test-strchr.c (do_test): Don't generate NUL bytes.
41523
41524 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41525
41526         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41527         useless if() expression.
41528         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41529         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41530         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41531         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41532         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41533         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41534         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41535         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41536         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41537         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41538         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41539         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41540         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41541         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41542         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41543         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41544         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41545         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41546         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41547
41548         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41549
41550 2011-10-25  Andreas Schwab  <schwab@redhat.com>
41551
41552         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41553         condition.
41554         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41555
41556 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41557
41558         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41559         .text section.  Avoid duplicate constants.
41560         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41561         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41562         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41563         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41564         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41565         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41566         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41567         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41568         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41569         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41570         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41571         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41572         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41573         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41574         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41575         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41576         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41577         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41578         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41579         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41580         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41581         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41582         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41583         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41584         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41585         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41586         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41587         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41588         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41589         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41590         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41591         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41592         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41593         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41594         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41595         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41596         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41597         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41598         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41599         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41600         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41601         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41602         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41603         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41604         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41605
41606 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
41607
41608         * sysdeps/x86_64/dla.h: Move to ...
41609         * sysdeps/x86_64/fpu/dla.h: ...here.
41610         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41611         situations.  Use __builtin_fma only for gcc 4.6 and up.
41612
41613         * config.make.in: Add have-mfma4 entry.
41614         * configure.in: Substitute libc_cv_cc_fma4.
41615         * math/Makefile (dbl-only-routines): Add sincostab.
41616         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41617         Use __sincostab not sincos.
41618         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41619         name is a macro.
41620         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41621         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41622         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41623         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
41624         using __copysign.
41625         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
41626         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
41627         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41628         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41629         and __inv.
41630         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41631         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41632         __copysign.
41633         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
41634         define aliases when function name is a macro.
41635         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41636         sysdeps/ieee754/dbl-64/sincos.tbl.
41637         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41638         fma4-enabled routines.
41639         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41640         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41641         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41642         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41643         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41644         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41645         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41646         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41647         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41648         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41649         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41650         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41651         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41652         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41653         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41654         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41655         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41656         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41657         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41658         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41659         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41660         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41661         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41662         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41663         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41664         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41665         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41666         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41667         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41668         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41669
41670         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41671         rename.
41672         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41673         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41674         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41675         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41676         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41677         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41678         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41679         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41680
41681 2011-10-24  Andreas Schwab  <schwab@redhat.com>
41682
41683         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41684
41685 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41686
41687         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41688
41689         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41690         prediction.
41691         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41692
41693         * string/strnlen.c: Don't define STRNLEN, reverse logic.
41694         Remove unused variable magic_bits.
41695         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41696
41697         * string/strnlen.c: Define and use STRNLEN macro.
41698         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41699         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41700         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41701         * wcsmbs/wcslen.c: Define and use WCSLEN.
41702         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41703         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41704         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41705         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41706         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41707         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41708         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41709
41710 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41711
41712         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41713         strnlen-sse2-no-bsf.
41714         Rename strlen-no-bsf to strlen-sse2-no-bsf.
41715         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41716         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41717         Add strnlen support.
41718         (USE_AS_STRNLEN): New macro.
41719         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41720         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41721         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41722         * sysdeps/x86_64/wcslen.S: New file.
41723
41724 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
41725
41726         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41727         XMM-moves are used for copying on small sizes.
41728
41729 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41730
41731         * wcsmbs/Makefile (strop-tests): Add wcschr.
41732         * wcsmbs/test-wcschr.c: New file.
41733         * string/test-strchr.c: Update.
41734         Add wcschr support.
41735         (WIDE): New macro.
41736
41737 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41738
41739         * wcsmbs/Makefile (strop-tests): Add wcslen.
41740         * wcsmbs/test-wcslen.c: New file.
41741         * string/test-strlen.c: Update.
41742         Add wcslen support.
41743         (WIDE): New macro.
41744
41745 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41746
41747         * po/it.po: Update from translation team.
41748
41749 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41750
41751         * sysdeps/x86_64/wcscmp.S: Update.
41752         Fix wrong comparison semantics.
41753         wcscmp shall use signed comparison not unsigned.
41754         Don't use substraction to avoid overflow bug.
41755         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41756         * wcsmbc/wcscmp.c: Likewise.
41757         * string/test-strcmp.c: Likewise.
41758         Add new tests to check cases with negative values.
41759
41760 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41761
41762         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41763         * sysdeps/x86_64/dla.h: ...here.  New file.
41764         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41765         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41766         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41767         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41768         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41769         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41770         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41771         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41772         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41773
41774 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
41775
41776         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41777         __ynl_finite aliases.
41778
41779 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
41780
41781         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41782
41783         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41784         define DLA_FMA.
41785         [DLA_FMA] (EMULV): Use DLA_FMA.
41786         [DLA_FMA] (MUL12): Use EMULV.
41787         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41788         that are not needed.
41789         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41790         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41791         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41792         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41793         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41794         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41795         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41796
41797 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
41798
41799         * math/s_nan.c: Undef __nan.
41800         * math/s_nanf.c: Undef __nanf.
41801         * math/s_nanl.c: Undef __nanl.
41802         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41803         "math_private.h".
41804
41805 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
41806
41807         * math/s_catan.c: Add branch predictions.
41808         * math/s_catanf.c: Likewise.
41809         * math/s_catanh.c: Likewise.
41810         * math/s_catanhf.c: Likewise.
41811         * math/s_catanhl.c: Likewise.
41812         * math/s_catanl.c: Likewise.
41813         * math/s_cexp.c: Likewise.
41814         * math/s_cexpf.c: Likewise.
41815         * math/s_cexpl.c: Likewise.
41816         * math/s_clog.c: Likewise.
41817         * math/s_clog10.c: Likewise.
41818         * math/s_clog10f.c: Likewise.
41819         * math/s_clog10l.c: Likewise.
41820         * math/s_clogf.c: Likewise.
41821         * math/s_clogl.c: Likewise.
41822         * math/s_csqrt.c: Likewise.
41823         * math/s_csqrtf.c: Likewise.
41824         * math/s_csqrtl.c: Likewise.
41825         * math/s_ctanf.c: Likewise.
41826         * math/s_ctanh.c: Likewise.
41827         * math/s_ctanhf.c: Likewise.
41828         * math/s_ctanhl.c: Likewise.
41829         * math/s_ctanl.c: Likewise.
41830
41831         * math/math_private.h: Define __nan, __nanf, __nanl.
41832         * math/s_cacosh.c: Include <math_private.h>.
41833         * math/s_cacoshl.c: Likewise.
41834         * math/s_casinh.c: Likewise.
41835         * math/s_casinhf.c: Likewise.
41836         * math/s_casinhl.c: Likewise.
41837         * math/s_ccos.c: Rely entire on ccosh.
41838         * math/s_ccosf.c: Rely entire on ccoshf.
41839         * math/s_ccosl.c: Rely entirely on ccoshl.
41840         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
41841         Remove tests for FE_INVALID.
41842         * math/s_ccoshf.c: Likewise.
41843         * math/s_ccoshl.c: Likewise.
41844         * math/s_csin.c: Likewise.
41845         * math/s_csinf.c: Likewise.
41846         * math/s_csinh.c Likewise.
41847         * math/s_csinhf.c: Likewise.
41848         * math/s_csinhl.c: Likewise.
41849         * math/s_csinl.c: Likewise.
41850         * math/s_ctan.c: Likewise.
41851         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41852         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41853         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41854
41855 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
41856
41857         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41858         compilation problems.
41859
41860         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41861         __builtin_expect.
41862
41863 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
41864
41865         * sysdeps/i386/configure.in: Test for -mfma4 option.
41866         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41867         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41868         COMMON_CPUID_INDEX_80000001.
41869         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41870         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41871         use it if FMA3 is not supported.
41872         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41873
41874         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41875         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41876
41877 2011-10-20  Andreas Schwab  <schwab@redhat.com>
41878
41879         [BZ #12892]
41880         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41881         it would create a cycle with a link time dependency.
41882
41883 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
41884
41885         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41886         instruction.
41887         * string/Makefile (strop-tests): Add rawmemchr.
41888         * string/test-rawmemchr.c: New file.
41889
41890         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41891         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
41892         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
41893         when compiling str{,n}casecmp and when AVX is available.  Hook up
41894         new optimized code in initializers.
41895
41896 2011-10-19  Andreas Schwab  <schwab@redhat.com>
41897
41898         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41899         __feraiseexcept instead of feraiseexcept.
41900
41901 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
41902
41903         * math/math_private.h: Define defaults for libc_fetestexcept and
41904         libc_feupdateenv.
41905         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41906         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41907         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41908         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41909         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41910         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41911         libc_fetestexcept and libc_feupdateenv.
41912
41913         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41914         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41915         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41916         * sysdeps/x86_64/fpu/math_private.h: Define special version of
41917         libc_feholdexcept_setround.
41918
41919         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41920         Add s_nearbyint-c and s_nearbyintf-c.
41921         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41922         nearbyintf inlines.
41923         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41924         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41925         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41926         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41927
41928         * math/math_private.h: Define defaults for libc_fegetround,
41929         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41930         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41931         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41932         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41933         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41934         standard functions.
41935         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41936         Remove comments and hacks for old compiler versions.
41937         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41938         libc_fegetround, libc_fesetround, libc_feholdexcept, and
41939         libc_feholdexceptl.
41940
41941 2011-10-18  Andreas Schwab  <schwab@redhat.com>
41942
41943         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41944         (__feraiseexcept_renamed): Add __NTH.
41945         (feraiseexcept): Add __NTH.  Rename local variables to fix
41946         namespace violations.
41947
41948 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
41949
41950         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41951
41952         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41953
41954         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41955         recently added interfaces.
41956         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41957
41958         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41959         about macro parameter expansion.
41960
41961         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41962         __NO_MATH_INLINES is defined.  Cleanups.
41963
41964         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41965         and __floorf is target has SSE4.1.
41966         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41967         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41968         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41969         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41970
41971         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41972         name.
41973         (floorf): Likewise.
41974
41975         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41976
41977 2011-10-17  Andreas Schwab  <schwab@redhat.com>
41978
41979         * misc/sys/cdefs.h: Fix last change.
41980
41981         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41982         database lookup.
41983
41984 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
41985
41986         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41987
41988         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41989         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41990         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41991         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41992         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41993         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41994         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41995         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41996         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41997         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41998         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41999         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42000         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42001         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42002         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42003         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42004         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42005         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42006         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42007         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42008         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42009         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42010
42011         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42012         ceil, ceilf, floor, floorf.
42013
42014         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42015         Perform IRELATIVE relocations last.
42016
42017         * elf/do-rel.h: Add another parameter nrelative, replacing the
42018         local variable with the same name.  Change name of the function
42019         to end in Rel or Rela (uppercase).
42020         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42021         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
42022         elf_dynamic_do_##reloc function.
42023
42024 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42025
42026         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42027         is sufficient, at least on modern CPUs.
42028
42029         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42030
42031         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42032         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42033
42034         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42035         __expl_finite.
42036         * math/bits/math-finite.h: Add entries for exp.
42037         * math/e_expl.c: Add __*_finite alias.
42038         * sysdeps/i386/fpu/e_exp.S: Likewise.
42039         * sysdeps/i386/fpu/e_expf.S: Likewise.
42040         * sysdeps/i386/fpu/e_expl.c: Likewise.
42041         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42042         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42043         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42044         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42045         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42046         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42047         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42048
42049         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42050         is sufficient, at least on modern CPUs.
42051
42052         * ctype/ctype-info.c (__ctype_init): Define.
42053         * include/ctype.h (__ctype_init): Declare.
42054         (__ctype_b_loc): The variable is always initialized.
42055         (__ctype_toupper_loc): Likewise.
42056         (__ctype_tolower_loc): Likewise.
42057         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42058         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42059
42060 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
42061
42062         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42063
42064         * configure.in: Also look in $cxxmachine/include for C++ system
42065         headers.
42066
42067 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42068
42069         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42070         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42071         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42072         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
42073         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42074         (USE_AS_WMEMCMP): New macro.
42075         Fixing indents.
42076         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42077         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42078         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42079         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42080         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42081         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42082         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42083         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42084         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42085         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42086         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42087         (USE_AS_WMEMCMP): New macro.
42088         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42089         * sysdeps/string/test-memcmp.c: Update.
42090         Fix simple_wmemcmp.
42091         Add new tests.
42092         * wcsmbs/wmemcmp.c: Update.
42093         (WMEMCMP): New macro.
42094         Fix overflow bug.
42095
42096 2011-10-12  Andreas Jaeger  <aj@suse.de>
42097
42098         [BZ #13268]
42099         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42100
42101 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42102
42103         * libio/iofwide.c (do_length): Avoid warning.
42104
42105         * ctype/ctype.h (__isctype_f): Add missing __THROW.
42106
42107 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
42108
42109         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42110
42111         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42112         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42113         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42114         * sysdeps/i386/i686/fpu/e_log.S: New file.
42115         * sysdeps/i386/i686/fpu/e_logf.S: New file.
42116         * sysdeps/i386/i686/fpu/e_logl.S: New file.
42117
42118         * ctype/ctype.h: Add support for inlined isXXX functions when
42119         compiling C++ code.
42120
42121 2011-10-14  Andreas Schwab  <schwab@redhat.com>
42122
42123         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42124
42125         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42126
42127 2011-10-13  Roland McGrath  <roland@hack.frob.com>
42128
42129         [BZ #13291]
42130         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42131
42132 2011-10-13  Andreas Schwab  <schwab@redhat.com>
42133
42134         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42135         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42136         feraiseexcept.
42137
42138         * sysdeps/x86_64/memrchr.S: Check for zero size.
42139
42140         * string/stratcliff.c: Add memrchr tests.
42141
42142 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42143
42144         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42145         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42146         rawmemchr-sse2 rawmemchr-sse2-bsf.
42147         * sysdeps/i386/i686/multiarch/memchr.S: New file.
42148         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42149         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42150         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42151         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42152         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42153         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42154         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42155         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42156         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42157         * string/memrchr.c (MEMRCHR): New macro.
42158
42159 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
42160
42161         Add integration with gcc's -ffinite-math-only and optimize wrapper
42162         functions in libm.
42163         * Versions.def: Define GLIBC_2.15 version for libm.
42164         * math/Makefile (headers): Add bits/math-finite.h.
42165         * math/bits/math-finite.h: New file.
42166         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42167         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42168         * math/e_acoshl.c: Add __*_finite alias.
42169         * math/e_acosl.c: Likewise.
42170         * math/e_asinl.c: Likewise.
42171         * math/e_atan2l.c: Likewise.
42172         * math/e_atanhl.c: Likewise.
42173         * math/e_coshl.c: Likewise.
42174         * math/e_exp10.c: Likewise.
42175         * math/e_exp10f.c: Likewise.
42176         * math/e_exp10l.c: Likewise.
42177         * math/e_exp2l.c: Likewise.
42178         * math/e_fmodl.c: Likewise.
42179         * math/e_gammal_r.c: Likewise.
42180         * math/e_hypotl.c: Likewise.
42181         * math/e_j0l.c: Likewise.
42182         * math/e_j1l.c: Likewise.
42183         * math/e_jnl.c: Likewise.
42184         * math/e_lgammal_r.c: Likewise.
42185         * math/e_log10l.c: Likewise.
42186         * math/e_log2l.c: Likewise.
42187         * math/e_logl.c: Likewise.
42188         * math/e_powl.c: Likewise.
42189         * math/e_sinhl.c: Likewise.
42190         * math/e_sqrtl.c: Likewise.
42191         * math/e_scalb.c: Completely rewritten and optimized.
42192         * math/e_scalbf.c: Likewise.
42193         * math/e_scalbl.c: Likewise.
42194         * math/w_acos.c: Likewise.
42195         * math/w_acosf.c: Likewise.
42196         * math/w_acosl.c: Likewise.
42197         * math/w_acosh.c: Likewise.
42198         * math/w_acoshf.c: Likewise.
42199         * math/w_acoshl.c: Likewise.
42200         * math/w_asin.c: Likewise.
42201         * math/w_asinf.c: Likewise.
42202         * math/w_asinl.c: Likewise.
42203         * math/w_atan2.c: Likewise.
42204         * math/w_atan2f.c: Likewise.
42205         * math/w_atan2l.c: Likewise.
42206         * math/w_atanh.c: Likewise.
42207         * math/w_atanhf.c: Likewise.
42208         * math/w_atanhl.c: Likewise.
42209         * math/w_exp10.c: Likewise.
42210         * math/w_exp10f.c: Likewise.
42211         * math/w_exp10l.c: Likewise.
42212         * math/w_fmod.c: Likewise.
42213         * math/w_fmodf.c: Likewise.
42214         * math/w_fmodl.c: Likewise.
42215         * math/w_j0.c: Likewise.
42216         * math/w_j0f.c: Likewise.
42217         * math/w_j0l.c: Likewise.
42218         * math/w_j1.c: Likewise.
42219         * math/w_j1f.c: Likewise.
42220         * math/w_j1l.c: Likewise.
42221         * math/w_jn.c: Likewise.
42222         * math/w_jnf.c: Likewise.
42223         * math/w_log.c: Likewise.
42224         * math/w_logf.c: Likewise.
42225         * math/w_logl.c: Likewise.
42226         * math/w_log10.c: Likewise.
42227         * math/w_log10f.c: Likewise.
42228         * math/w_log10l.c: Likewise.
42229         * math/w_log2.c: Likewise.
42230         * math/w_log2f.c: Likewise.
42231         * math/w_log2l.c: Likewise.
42232         * math/w_pow.c: Likewise.
42233         * math/w_powf.c: Likewise.
42234         * math/w_powl.c: Likewise.
42235         * math/w_remainder.c: Likewise.
42236         * math/w_remainderf.c: Likewise.
42237         * math/w_remainderl.c: Likewise.
42238         * math/w_scalb.c: Likewise.
42239         * math/w_scalbf.c: Likewise.
42240         * math/w_scalbl.c: Likewise.
42241         * math/w_sqrt.c: Likewise.
42242         * math/w_sqrtf.c: Likewise.
42243         * math/w_sqrtl.c: Likewise.
42244         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42245         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
42246         used.
42247         * math/math_private.h: Declare __kernel_standard_f.
42248         * math/w_cosh.c: Remove cruft and optimize a bit.
42249         * math/w_coshf.c: Likewise.
42250         * math/w_coshl.c: Likewise.
42251         * math/w_exp2.c: Likewise.
42252         * math/w_exp2f.c: Likewise.
42253         * math/w_exp2l.c: Likewise.
42254         * math/w_hypot.c: Likewise.
42255         * math/w_hypotf.c: Likewise.
42256         * math/w_hypotl.c: Likewise.
42257         * math/w_lgamma.c: Likewise.
42258         * math/w_lgamma_r.c: Likewise.
42259         * math/w_lgammaf.c: Likewise.
42260         * math/w_lgammaf_r.c: Likewise.
42261         * math/w_lgammal.c: Likewise.
42262         * math/w_lgammal_r.c: Likewise.
42263         * math/w_sinh.c: Likewise.
42264         * math/w_sinhf.c: Likewise.
42265         * math/w_sinhl.c: Likewise.
42266         * math/w_tgamma.c: Likewise.
42267         * math/w_tgammaf.c: Likewise.
42268         * math/w_tgammal.c: Likewise.
42269         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42270         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42271         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42272         Minor optimizations.  Pretty printing.  Remove cruft.
42273         * sysdeps/i386/fpu/e_acosf.S: Likewise.
42274         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42275         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42276         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42277         * sysdeps/i386/fpu/e_acosl.c: Likewise.
42278         * sysdeps/i386/fpu/e_asin.S: Likewise.
42279         * sysdeps/i386/fpu/e_asinf.S: Likewise.
42280         * sysdeps/i386/fpu/e_atan2.S: Likewise.
42281         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42282         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42283         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42284         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42285         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42286         * sysdeps/i386/fpu/e_exp10.S: Likewise.
42287         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42288         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42289         * sysdeps/i386/fpu/e_exp2.S: Likewise.
42290         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42291         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42292         * sysdeps/i386/fpu/e_fmod.S: Likewise.
42293         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42294         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42295         * sysdeps/i386/fpu/e_hypot.S: Likewise.
42296         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42297         * sysdeps/i386/fpu/e_log.S: Likewise.
42298         * sysdeps/i386/fpu/e_log10.S: Likewise.
42299         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42300         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42301         * sysdeps/i386/fpu/e_log2.S: Likewise.
42302         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42303         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42304         * sysdeps/i386/fpu/e_logf.S: Likewise.
42305         * sysdeps/i386/fpu/e_logl.S: Likewise.
42306         * sysdeps/i386/fpu/e_pow.S: Likewise.
42307         * sysdeps/i386/fpu/e_powf.S: Likewise.
42308         * sysdeps/i386/fpu/e_powl.S: Likewise.
42309         * sysdeps/i386/fpu/e_remainder.S: Likewise.
42310         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42311         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42312         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42313         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42314         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42315         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42316         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42317         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42318         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42319         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42320         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42321         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42322         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42323         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42324         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42325         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42326         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42327         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42328         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42329         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42330         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42331         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42332         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42333         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42334         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42335         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42336         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42337         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42338         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42339         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42340         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42341         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42342         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42343         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42344         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42345         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42346         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42347         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42348         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42349         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42350         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42351         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42352         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42353         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42354         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42355         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42356         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42357         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42358         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42359         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42360         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42361         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42362         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42363         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42364         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42365         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42366         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42367         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42368         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42369         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42370         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42371         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42372         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42373         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42374         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42375         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42376         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42377         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42378         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42379         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42380         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42381         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42382         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42383         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42384         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42385         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42386         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42387         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42388         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42389         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42390         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42391         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42392         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42393         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42394         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42395         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42396         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42397         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42398         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42399         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42400         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42401         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42402         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42403         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42404         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42405         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42406         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42407         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42408         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42409         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42410         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42411         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42412         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42413         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42414         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42415         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42416         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42417         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42418         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42419         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42420         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42421         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42422         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42423         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42424         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42425         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42426         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42427         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42428         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
42429         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42430         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42431         (__isnanf): Likewise.
42432         (__isinf_ns): Likewise.
42433         (__isinf_nsf): Likewise.
42434         (__finite): Likewise.
42435         (__finitef): Likewise.
42436         (__ieee754_sqrt): Define as macro.
42437         (__ieee754_sqrtf): Define as macro.
42438         (__ieee754_sqrtl): Define as macro.
42439         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42440         inlined copy.
42441         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42442         __FINITE_MATH_ONLY__ consistent.
42443         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42444
42445 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
42446
42447         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42448         of rawmemchr.
42449
42450         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42451
42452 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
42453
42454         * po/ja.po: Update from translation team.
42455
42456 2011-10-08  Roland McGrath  <roland@hack.frob.com>
42457
42458         * locale/programs/locarchive.c (prepare_address_space): New function.
42459         (create_archive, enlarge_archive, open_archive): Use it.
42460
42461         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42462         inside [SHARED], where it is used.
42463
42464         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42465
42466         * nss/getent.c (netgroup_keys): Remove unused variable.
42467         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42468
42469 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
42470
42471         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42472         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42473         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42474         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42475         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42476         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42477         * math/Makefile (libm-calls): Add s_isinf_ns.
42478         * math/divtc3.c: Use __isinf_nsl instead of isinf.
42479         * math/multc3.c: Likewise.
42480         * math/s_casin.c: Likewise.
42481         * math/s_casinf.c: Likewise.
42482         * math/s_casinl.c: Likewise.
42483         * math/s_ccos.c: Likewise.
42484         * math/s_ccosf.c: Likewise.
42485         * math/s_ccosl.c: Likewise.
42486         * math/s_ctan.c: Likewise.
42487         * math/s_ctanf.c: Likewise.
42488         * math/s_ctanh.c: Likewise.
42489         * math/s_ctanhf.c: Likewise.
42490         * math/s_ctanhl.c: Likewise.
42491         * math/s_ctanl.c: Likewise.
42492         * math/w_fmod.c: Likewise.
42493         * math/w_fmodf.c: Likewise.
42494         * math/w_fmodl.c: Likewise.
42495         * math/w_remainder.c: Likewise.
42496         * math/w_remainderf.c: Likewise.
42497         * math/w_remainderl.c: Likewise.
42498         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42499         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42500         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42501         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42502         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42503         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42504         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42505         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42506
42507         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42508         of the number.
42509         * stdio-common/printf_fphex.c: Likewise.
42510         * stdio-common/printf_size.c: Likewise.
42511
42512         * math/e_exp10.c: Include math_private.h using <...> not "...".
42513         * math/e_exp10f.c: Likewise.
42514         * math/e_exp10l.c: Likewise.
42515         * math/e_exp2l.c: Likewise.
42516         * math/e_j0l.c: Likewise.
42517         * math/e_j1l.c: Likewise.
42518         * math/e_jnl.c: Likewise.
42519         * math/e_lgammal_r.c: Likewise.
42520         * math/e_rem_pio2l.c: Likewise.
42521         * math/e_scalb.c: Likewise.
42522         * math/e_scalbf.c: Likewise.
42523         * math/e_scalbl.c: Likewise.
42524         * math/k_cosl.c: Likewise.
42525         * math/k_sinl.c: Likewise.
42526         * math/k_tanl.c: Likewise.
42527         * math/s_cacoshf.c: Likewise.
42528         * math/s_catan.c: Likewise.
42529         * math/s_catanf.c: Likewise.
42530         * math/s_catanh.c: Likewise.
42531         * math/s_catanhf.c: Likewise.
42532         * math/s_catanhl.c: Likewise.
42533         * math/s_catanl.c: Likewise.
42534         * math/s_ccosh.c: Likewise.
42535         * math/s_ccoshf.c: Likewise.
42536         * math/s_ccoshl.c: Likewise.
42537         * math/s_cexp.c: Likewise.
42538         * math/s_cexpf.c: Likewise.
42539         * math/s_cexpl.c: Likewise.
42540         * math/s_clog.c: Likewise.
42541         * math/s_clog10.c: Likewise.
42542         * math/s_clog10f.c: Likewise.
42543         * math/s_clog10l.c: Likewise.
42544         * math/s_clogf.c: Likewise.
42545         * math/s_clogl.c: Likewise.
42546         * math/s_csin.c: Likewise.
42547         * math/s_csinf.c: Likewise.
42548         * math/s_csinh.c: Likewise.
42549         * math/s_csinhf.c: Likewise.
42550         * math/s_csinhl.c: Likewise.
42551         * math/s_csinl.c: Likewise.
42552         * math/s_csqrt.c: Likewise.
42553         * math/s_csqrtf.c: Likewise.
42554         * math/s_csqrtl.c: Likewise.
42555         * math/s_ctan.c: Likewise.
42556         * math/s_ctanf.c: Likewise.
42557         * math/s_ctanh.c: Likewise.
42558         * math/s_ctanhf.c: Likewise.
42559         * math/s_ctanhl.c: Likewise.
42560         * math/s_ctanl.c: Likewise.
42561         * math/s_ldexp.c: Likewise.
42562         * math/s_ldexpf.c: Likewise.
42563         * math/s_ldexpl.c: Likewise.
42564         * math/s_significand.c: Likewise.
42565         * math/s_significandf.c: Likewise.
42566         * math/s_significandl.c: Likewise.
42567         * math/w_acos.c: Likewise.
42568         * math/w_acosf.c: Likewise.
42569         * math/w_acosh.c: Likewise.
42570         * math/w_acoshf.c: Likewise.
42571         * math/w_acoshl.c: Likewise.
42572         * math/w_acosl.c: Likewise.
42573         * math/w_asin.c: Likewise.
42574         * math/w_asinf.c: Likewise.
42575         * math/w_asinl.c: Likewise.
42576         * math/w_atan2.c: Likewise.
42577         * math/w_atan2f.c: Likewise.
42578         * math/w_atan2l.c: Likewise.
42579         * math/w_atanh.c: Likewise.
42580         * math/w_atanhf.c: Likewise.
42581         * math/w_atanhl.c: Likewise.
42582         * math/w_cosh.c: Likewise.
42583         * math/w_coshf.c: Likewise.
42584         * math/w_coshl.c: Likewise.
42585         * math/w_dremf.c: Likewise.
42586         * math/w_exp10.c: Likewise.
42587         * math/w_exp10f.c: Likewise.
42588         * math/w_exp10l.c: Likewise.
42589         * math/w_exp2.c: Likewise.
42590         * math/w_exp2f.c: Likewise.
42591         * math/w_fmod.c: Likewise.
42592         * math/w_fmodf.c: Likewise.
42593         * math/w_fmodl.c: Likewise.
42594         * math/w_hypot.c: Likewise.
42595         * math/w_hypotf.c: Likewise.
42596         * math/w_hypotl.c: Likewise.
42597         * math/w_j0.c: Likewise.
42598         * math/w_j0f.c: Likewise.
42599         * math/w_j0l.c: Likewise.
42600         * math/w_j1.c: Likewise.
42601         * math/w_j1f.c: Likewise.
42602         * math/w_j1l.c: Likewise.
42603         * math/w_jn.c: Likewise.
42604         * math/w_jnf.c: Likewise.
42605         * math/w_jnl.c: Likewise.
42606         * math/w_lgamma.c: Likewise.
42607         * math/w_lgamma_r.c: Likewise.
42608         * math/w_lgammaf.c: Likewise.
42609         * math/w_lgammaf_r.c: Likewise.
42610         * math/w_lgammal.c: Likewise.
42611         * math/w_lgammal_r.c: Likewise.
42612         * math/w_log.c: Likewise.
42613         * math/w_log10.c: Likewise.
42614         * math/w_log10f.c: Likewise.
42615         * math/w_log10l.c: Likewise.
42616         * math/w_log2.c: Likewise.
42617         * math/w_log2f.c: Likewise.
42618         * math/w_log2l.c: Likewise.
42619         * math/w_logf.c: Likewise.
42620         * math/w_logl.c: Likewise.
42621         * math/w_pow.c: Likewise.
42622         * math/w_powf.c: Likewise.
42623         * math/w_powl.c: Likewise.
42624         * math/w_remainder.c: Likewise.
42625         * math/w_remainderf.c: Likewise.
42626         * math/w_remainderl.c: Likewise.
42627         * math/w_scalb.c: Likewise.
42628         * math/w_scalbf.c: Likewise.
42629         * math/w_scalbl.c: Likewise.
42630         * math/w_sinh.c: Likewise.
42631         * math/w_sinhf.c: Likewise.
42632         * math/w_sinhl.c: Likewise.
42633         * math/w_sqrt.c: Likewise.
42634         * math/w_sqrtf.c: Likewise.
42635         * math/w_sqrtl.c: Likewise.
42636         * math/w_tgamma.c: Likewise.
42637         * math/w_tgammaf.c: Likewise.
42638         * math/w_tgammal.c: Likewise.
42639
42640         * po/ja.po: Update from translation team.
42641
42642 2011-09-29  Andreas Jaeger  <aj@suse.de>
42643
42644         [BZ #13179]
42645         * sunrpc/netname.c (netname2host): Fix logic.
42646
42647         [BZ #6779]
42648         [BZ #6783]
42649         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42650         correctly.
42651         * math/w_remainder.c (__remainder): Likewise.
42652         * math/w_remainderf.c (__remainderf): Likewise.
42653         * math/libm-test.inc (remainder_test): Add test cases.
42654
42655 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42656
42657         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
42658         sdiv_qrnnd.
42659
42660 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
42661
42662         * string/test-memcmp.c: Avoid unncessary #defines.
42663         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42664
42665 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42666
42667         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42668         Use new sse2 version for core i3 - i7 as it's faster
42669         than sse42 version.
42670         (bit_Prefer_PMINUB_for_stringop): New.
42671         * sysdeps/x86_64/rawmemchr.S: Update.
42672         Replace with faster SSE2 version.
42673         * sysdeps/x86_64/memrchr.S: New file.
42674         * sysdeps/x86_64/memchr.S: Update.
42675         Replace with faster SSE2 version.
42676
42677 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
42678
42679         * elf/dl-load.c (lose): Add cast to avoid warning.
42680
42681 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
42682
42683         * po/ca.po: Update from translation team.
42684
42685         * inet/getnetgrent_r.c: Hook up nscd.
42686         * nscd/Makefile (routines): Add nscd_netgroup.
42687         (nscd-modules): Add netgroupcache.
42688         (CFLAGS-netgroupcache.c): Define.
42689         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42690         (cache_search): Add const to second parameter.
42691         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42692         INNETGR.
42693         (dbs): Add netgrdb entry.
42694         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42695         (verify_persistent_db): Handle netgrdb.
42696         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42697         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42698         GETFDNETGR.
42699         (netgroup_response_header): Define.
42700         (innetgroup_response_header): Define.
42701         (datahead): Add netgroup_response_header and innetgroup_response_header
42702         elements.
42703         * nscd/nscd.conf: Add entries for netgroup cache.
42704         * nscd/nscd.h (dbtype): Add netgrdb.
42705         (_PATH_NSCD_NETGROUP_DB): Define.
42706         (netgroup_iov_disabled): Declare.
42707         (xmalloc, xcalloc, xrealloc): Move declarations here.
42708         (cache_search): Adjust prototype.
42709         Add netgroup-related prototypes.
42710         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42711         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42712         (__nscd_innetgr): Declare.
42713         * nscd/selinux.c (perms): Use access_vector_t as element type and
42714         add netgroup-related initializers.
42715         * nscd/netgroupcache.c: New file.
42716         * nscd/nscd_netgroup.c: New file.
42717         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42718         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42719         For four parameters use innetgr.
42720         * nss/nss_files/files-init.c: Add definition and callback for netgr.
42721         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42722         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42723         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42724
42725         * nscd/connections.c (register_traced_file): Don't register file
42726         for disabled databases.
42727
42728 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
42729
42730         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42731
42732         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42733         from tree and freeing node.
42734
42735 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
42736
42737         * nss/nsswitch.c (__nss_database_lookup): Handle
42738         nss_parse_service_list out of memory case.
42739
42740 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
42741
42742         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42743         out of memory case.
42744
42745 2011-10-04  Andreas Schwab  <schwab@redhat.com>
42746
42747         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42748         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42749         pass it down.
42750         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42751         elf_machine_rela, elf_machine_lazy_rel.
42752         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42753         (ELF_DYNAMIC_DO_REL): Likewise.
42754         (ELF_DYNAMIC_DO_RELA): Likewise.
42755         (ELF_DYNAMIC_RELOCATE): Likewise.
42756         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42757         to ELF_DYNAMIC_DO_REL.
42758         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42759         (dl_main): In trace mode always set __RTLD_NOIFUNC.
42760         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42761         elf_machine_rela.
42762         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42763         skip_ifunc, don't call ifunc function if non-zero.
42764         (elf_machine_rela): Likewise.
42765         (elf_machine_lazy_rel): Likewise.
42766         (elf_machine_lazy_rela): Likewise.
42767         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42768         (elf_machine_lazy_rel): Likewise.
42769         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42770         Likewise.
42771         (elf_machine_lazy_rel): Likewise.
42772         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42773         Likewise.
42774         (elf_machine_lazy_rel): Likewise.
42775         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42776         (elf_machine_lazy_rel): Likewise.
42777         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42778         (elf_machine_lazy_rel): Likewise.
42779         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42780         (elf_machine_lazy_rel): Likewise.
42781         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42782         (elf_machine_lazy_rel): Likewise.
42783         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42784         (elf_machine_lazy_rel): Likewise.
42785         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42786         (elf_machine_lazy_rel): Likewise.
42787
42788 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
42789
42790         * nss/nss_files/files-init.c (_nss_files_init): Use static
42791         initialization for all the *_traced_file variables.
42792
42793 2011-09-28  Andreas Schwab  <schwab@redhat.com>
42794
42795         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42796
42797 2011-09-27  Roland McGrath  <roland@hack.frob.com>
42798
42799         [BZ #13226]
42800         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42801
42802 2011-09-27  Andreas Schwab  <schwab@redhat.com>
42803
42804         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42805         Reread the line before reparsing it.
42806
42807 2011-09-26  Andreas Schwab  <schwab@redhat.com>
42808
42809         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42810
42811 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
42812             Maxim Kuvyrkov  <maxim@codesourcery.com>
42813             Joseph Myers  <joseph@codesourcery.com>
42814
42815         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42816         if needed for __stack_chk_guard.
42817
42818 2011-09-19  Roland McGrath  <roland@hack.frob.com>
42819
42820         * sysdeps/posix/spawni.c (script_execute): Always define it.
42821         It will be optimized away if unused.
42822         (maybe_script_execute): New function.
42823         (__spawni): Call it.
42824
42825         * Makerules: Don't include tls.make.
42826         (config-tls): Always set to thread.
42827         * tls.make.c: File removed.
42828
42829 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
42830
42831         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42832         * config.make.in (CPPFLAGS-config): New substituted variable.
42833
42834 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
42835
42836         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42837
42838         [BZ #13192]
42839         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42840         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42841
42842 2011-09-15  Roland McGrath  <roland@hack.frob.com>
42843
42844         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42845         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42846         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42847         (CALL_FAIL): Likewise.
42848         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42849         (CALL_FAIL): Macro removed.
42850         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42851
42852 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
42853
42854         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42855         for __FINITE_MATH_ONLY__ == 1.
42856
42857 2011-09-15  Andreas Schwab  <schwab@redhat.com>
42858
42859         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42860         __ieee754_sqrt instead of sqrt.
42861         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42862         __ieee754_sqrtf instead of sqrtf.
42863         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42864         __floorf instead of floorf.
42865         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42866         __floorf, __truncf instead of floorf, truncf.
42867
42868 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
42869
42870         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42871
42872         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42873         __extern_always_inline.
42874         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42875         32-bit.
42876
42877 2011-09-14  Andreas Schwab  <schwab@redhat.com>
42878
42879         * elf/rtld.c (dl_main): Also relocate in dependency order when
42880         doing symbol dependency testing.
42881
42882 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
42883
42884         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42885         Always define `refsym'.
42886
42887 2011-09-13  Andreas Schwab  <schwab@redhat.com>
42888
42889         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42890         (__FD_ELT): Renamed from __FDELT.
42891         * misc/bits/select2.h (__FD_ELT): Likewise.
42892         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42893         __FD_MASK instead of __FDELT, __FDMASK.
42894         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42895         Likewise.
42896         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42897         Likewise.
42898
42899         * elf/Makefile (gen-ldd): Fix pattern.
42900
42901         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42902         (init_tls): Likewise.
42903
42904 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
42905
42906         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42907
42908 2011-09-12  Andreas Schwab  <schwab@redhat.com>
42909
42910         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42911         `struct cmsghdr *' instead of `void *'.
42912         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42913         Likewise.
42914
42915 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
42916
42917         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42918         if non-absolute.
42919         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42920         ldd_rewrite_script.
42921
42922 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
42923
42924         * configure.in: Remove --with-tls option.
42925         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42926         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42927         out in case it is missing.
42928         * sysdeps/ia64/elf/configure.in: Likewise.
42929         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42930         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42931         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42932         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42933         * sysdeps/sh/elf/configure.in: Likewise.
42934         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42935         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42936         * sysdeps/x86_64/elf/configure.in: Likewise.
42937         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42938         * sysdeps/mach/hurd/tls.h: Likewise.
42939
42940         [BZ #13067]
42941         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42942
42943         [BZ #13090]
42944         * configure.in: Fix use of AC_INIT.
42945
42946         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42947
42948 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
42949
42950         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42951         __set_errno.
42952         * malloc/hooks.c: Likewise.
42953
42954         [BZ #11929]
42955         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
42956         variables statically.
42957         (narenas): Initialize.
42958         (list_lock): Initialize.
42959         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
42960         initializtion of main_arena and list_lock.  Small cleanups.
42961         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42962         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
42963         Add initializers to main_arena and mp_.
42964         (malloc_state): Remove pagesize member.  Change all users to use
42965         GLRO(dl_pagesize).
42966
42967         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42968         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
42969         is always initialized.
42970
42971         * malloc/malloc.c: Removed unused configurations and dead code.
42972         * malloc/arena.c: Likewise.
42973         * malloc/hooks.c: Likewise.
42974         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42975
42976         * include/tls.h: Removed.  USE___THREAD must always be defined.
42977         * bits/libc-tsd.h: Don't handle !USE___THREAD.
42978         * elf/dl-libc.c: Likewise.
42979         * elf/dl-tsd.c: Likewise.
42980         * include/errno.h: Likewise.
42981         * include/netdb.h: Likewise.
42982         * include/resolv.h: Likewise.
42983         * inet/herrno-loc.c: Likewise.
42984         * inet/herrno.c: Likewise.
42985         * malloc/arena.c: Likewise.
42986         * malloc/hooks.c: Likewise.
42987         * malloc/malloc.c: Likewise.
42988         * resolv/res-state.c: Likewise.
42989         * resolv/res_libc.c: Likewise.
42990         * sysdeps/i386/dl-machine.h: Likewise.
42991         * sysdeps/ia64/dl-machine.h: Likewise.
42992         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42993         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42994         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42995         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42996         * sysdeps/sh/dl-machine.h: Likewise.
42997         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42998         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42999         * sysdeps/unix/i386/sysdep.S: Likewise.
43000         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43001         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43002         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43003         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43004         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43005         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43006         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43007         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43008         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43009         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43010         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43011         * sysdeps/x86_64/dl-machine.h: Likewise.
43012         * tls.make.c: Likewise.
43013
43014         * configure.in: Remove --with-__thread option.  Make tests for
43015         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43016         tls_model attribute fail if no support is available.  Remove
43017         USE_IN_LIBIO.
43018         * Makeconfig: Adjust for dropped configure option.  All features are
43019         now mandatory.
43020         * Makerules: Likewise.
43021         * Versions.def: Likewise.
43022         * argp/argp-fmtstream.c: Likewise.
43023         * argp/argp-fmtstream.h: Likewise.
43024         * argp/argp-help.c: Likewise.
43025         * assert/assert.c: Likewise.
43026         * config.h.in: Likewise.
43027         * config.make.in: Likewise.
43028         * configure: Likewise.
43029         * configure.in: Likewise.
43030         * csu/Versions: Likewise.
43031         * csu/init.c: Likewise.
43032         * elf/tst-audit2.c: Likewise.
43033         * elf/tst-tls10.c: Likewise.
43034         * elf/tst-tls10.h: Likewise.
43035         * elf/tst-tls11.c: Likewise.
43036         * elf/tst-tls12.c: Likewise.
43037         * elf/tst-tls14.c: Likewise.
43038         * elf/tst-tlsmod11.c: Likewise.
43039         * elf/tst-tlsmod12.c: Likewise.
43040         * elf/tst-tlsmod13.c: Likewise.
43041         * elf/tst-tlsmod13a.c: Likewise.
43042         * elf/tst-tlsmod14a.c: Likewise.
43043         * elf/tst-tlsmod15b.c: Likewise.
43044         * elf/tst-tlsmod16a.c: Likewise.
43045         * elf/tst-tlsmod16b.c: Likewise.
43046         * elf/tst-tlsmod7.c: Likewise.
43047         * elf/tst-tlsmod8.c: Likewise.
43048         * elf/tst-tlsmod9.c: Likewise.
43049         * gmon/gmon.c: Likewise.
43050         * grp/fgetgrent_r.c: Likewise.
43051         * grp/putgrent.c: Likewise.
43052         * hurd/fopenport.c: Likewise.
43053         * include/libc-symbols.h: Likewise.
43054         * include/tls.h: Likewise.
43055         * intl/gettextP.h: Likewise.
43056         * intl/loadinfo.h: Likewise.
43057         * locale/global-locale.c: Likewise.
43058         * locale/localeinfo.h: Likewise.
43059         * mach/devstream.c: Likewise.
43060         * malloc/arena.c: Likewise.
43061         * malloc/set-freeres.c: Likewise.
43062         * misc/err.c: Likewise.
43063         * misc/getttyent.c: Likewise.
43064         * misc/mntent_r.c: Likewise.
43065         * posix/getopt.c: Likewise.
43066         * posix/wordexp.c: Likewise.
43067         * pwd/fgetpwent_r.c: Likewise.
43068         * resolv/Versions: Likewise.
43069         * resolv/res_hconf.c: Likewise.
43070         * shadow/fgetspent_r.c: Likewise.
43071         * shadow/putspent.c: Likewise.
43072         * stdio-common/printf_fphex.c: Likewise.
43073         * stdio-common/tmpfile.c: Likewise.
43074         * stdlib/abort.c: Likewise.
43075         * stdlib/fmtmsg.c: Likewise.
43076         * sunrpc/auth_unix.c: Likewise.
43077         * sunrpc/clnt_perr.c: Likewise.
43078         * sunrpc/clnt_tcp.c: Likewise.
43079         * sunrpc/clnt_udp.c: Likewise.
43080         * sunrpc/clnt_unix.c: Likewise.
43081         * sunrpc/openchild.c: Likewise.
43082         * sunrpc/svc_simple.c: Likewise.
43083         * sunrpc/svc_tcp.c: Likewise.
43084         * sunrpc/svc_udp.c: Likewise.
43085         * sunrpc/svc_unix.c: Likewise.
43086         * sunrpc/xdr.c: Likewise.
43087         * sunrpc/xdr_array.c: Likewise.
43088         * sunrpc/xdr_rec.c: Likewise.
43089         * sunrpc/xdr_ref.c: Likewise.
43090         * sunrpc/xdr_stdio.c: Likewise.
43091
43092 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43093
43094         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43095
43096 2011-07-03  Andreas Jaeger  <aj@suse.de>
43097
43098         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43099         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43100         regenerate with gen-libm-tests.pl.
43101
43102 2010-05-12  Petr Baudis  <pasky@suse.cz>
43103
43104         [BZ #11589]
43105         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43106         around j0() zero points by switching to j1().
43107         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43108         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43109         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43110         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43111
43112 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43113
43114         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43115         instead of 0.
43116         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43117         instead of 0.
43118         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43119         Patch in part by Pavel Roskin <proski@gnu.org>.
43120
43121         [BZ #13138]
43122         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43123         realloc.
43124         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
43125         Free memory block if necessary.
43126
43127         [BZ #12847]
43128         * libio/genops.c (INTDEF): For string streams the _lock pointer can
43129         be NULL.  Don't lock in this case.
43130
43131 2011-09-09  Roland McGrath  <roland@hack.frob.com>
43132
43133         * elf/elf.h (ELFOSABI_GNU): New macro.
43134         (ELFOSABI_LINUX): Define to that.
43135
43136 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
43137
43138         * string/strncat.c (strncat): Undef the symbol in case it has been
43139         defined in bits/string.h.
43140
43141 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43142
43143         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43144
43145         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43146         link map.
43147
43148 2011-08-17  Andreas Jaeger  <aj@suse.de>
43149
43150         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43151
43152 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43153             Ian Lance Taylor  <iant@google.com>
43154
43155         * math/libm-test.inc (lround_test): New testcase.
43156         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43157
43158 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
43159
43160         * Makefile: Remove support for automatic cvs check-ins.
43161         * Makerules: Likewise.
43162         * config.make.in: Likewise.
43163         * configure.in: Likewise.
43164         * intl/Makefile: Likewise.
43165         * locale/Makefile: Likewise.
43166         * po/Makefile: Likewise.
43167         * posix/Makefile: Likewise.
43168         * sysdeps/gnu/Makefile: Likewise.
43169         * sysdeps/mach/hurd/Makefile: Likewise.
43170         * sysdeps/sparc/sparc32/Makefile: Likewise.
43171
43172         [BZ #13118]
43173         * posix/Makefile (bug-regex32-ENV): Define.
43174         Patch by John Stanley <jpsinthemix@verizon.net>.
43175
43176         * misc/Makefile (headers): Add bits/select2.h.
43177         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43178         * misc/bits/select2.h: New file.
43179         * include/bits/select2.h: New file.
43180         * debug/Makefile (routines): Add fdelt_chk.
43181         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43182         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43183         FD_ISSET.
43184         * debug/fdelt_chk.c: New file.
43185
43186         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
43187         * wcsmbs/test-wmemcmp.c: Likewise.
43188         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43189         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43190
43191 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43192
43193         * string/Makefile (strop-tests): Add memcmp.
43194         * string/test-wmemcmp.c: New file.
43195         * string/test-memcmp.c: Add wmemcmp support.
43196
43197 2011-09-08  Roland McGrath  <roland@hack.frob.com>
43198
43199         [BZ #13153]
43200         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43201         2011-07-19 change.
43202
43203         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43204         garbage value in a __mach_port_mod_refs call in the cases of the
43205         task-self and thread-self ports.
43206
43207 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43208
43209         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43210
43211 2011-09-08  Andreas Schwab  <schwab@redhat.com>
43212
43213         * elf/dl-load.c (lose): Check for non-null L.
43214
43215 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43216
43217         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43218
43219         * elf/dl-libc.c (dlerror_run): Pass back error code from
43220         dl_catch_error.
43221
43222         [BZ #13123]
43223         * elf/dl-load.c (lose): Free l_origin if it is valid.
43224
43225         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43226         names.
43227         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43228         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43229         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43230         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43231         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43232         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43233
43234 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43235
43236         * sysdeps/powerpc/fpu/e_hypot.c: New file.
43237         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43238         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43239         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43240         * sysdeps/powerpc/fpu/k_cosf.c: New file.
43241         * sysdeps/powerpc/fpu/k_sinf.c: New file.
43242         * sysdeps/powerpc/fpu/s_cosf.c: New file.
43243         * sysdeps/powerpc/fpu/s_sinf.c: New file.
43244         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43245         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43246
43247 2011-08-15  Alan Modra  <amodra@gmail.com>
43248
43249         [BZ #13092]
43250         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43251         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43252         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
43253         ppc_mcount to static-only-routines.
43254         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43255         __mcount_internal.
43256         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43257         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
43258
43259 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
43260
43261         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43262         for finite and infinity parameters.
43263
43264 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43265
43266         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43267         and add nop instructions for throughput optimization.
43268         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43269
43270 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
43271
43272         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43273         aligned copy for power7 with vector-scalar instructions.
43274         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43275
43276 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
43277
43278         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43279         AVX check.
43280
43281 2011-09-07  Andreas Schwab  <schwab@redhat.com>
43282
43283         [BZ #13144]
43284         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43285         last change.
43286
43287 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43288
43289         * sysdeps/unix/sysv/linux/x86_64/init-first.c
43290         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43291         syscall wrapper around clock_gettime in __vdso_clock_gettime.
43292         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43293         clock_gettime.
43294
43295 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43296
43297         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43298         Forgot to demangle the pointer.
43299
43300         * sysdeps/i386/sysdep.h: Define atom_text_section.
43301         * sysdeps/x86_64/sysdep.h: Likewise.
43302         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43303         section with atom_text_section.
43304         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43305         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43306         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43307         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43308         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43309
43310         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43311         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43312         already be defined.  Change to take two parameters and don't assign
43313         result to variable.  Adjust all users.
43314         Define INTERNAL_GETTIME if not already defined.
43315         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43316         call.
43317         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43318         HAVE_CLOCK_GETTIME_VSYSCALL.
43319         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43320
43321         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43322         gettimeofday vsyscall, just use time.
43323
43324 2011-09-06  Andreas Schwab  <schwab@redhat.com>
43325
43326         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43327         <errno.h>.
43328
43329 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43330
43331         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43332         syscall on x86-64.
43333         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43334         syscall.
43335         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43336         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43337         syscall if possible.
43338
43339 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43340
43341         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43342         e_ident.  Don't pass to find_mapsXX.
43343         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43344
43345 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43346
43347         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43348         strchr-sse2-no-bsf strrchr-sse2-no-bsf
43349         * sysdeps/x86_64/multiarch/strchr.S: Update.
43350         Check bit_slow_BSF bit.
43351         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43352         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43353         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43354
43355 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43356
43357         [BZ #13134]
43358         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43359         before glibc 2.15.
43360         (tryshell): Define.
43361         (__spawni): Change last parameter to be flag.  Test
43362         SPAWN_XFLAGS_USE_PATH flag to use path or not.
43363         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43364         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43365         * posix/spawni.c: Likewise.
43366         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43367         * posix/spawnp.c: Likewise.  Change normal version to use
43368         SPAWN_XFLAGS_USE_PATH.
43369         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43370         SPAWN_XFLAGS_TRY_SHELL.
43371
43372         [BZ #13150]
43373         * posix/glob.h: Remove gcc 1.x support.
43374
43375         [BZ #13068]
43376         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43377
43378 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43379
43380         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43381         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43382         strrchr-sse2-bsf
43383         * sysdeps/i386/i686/multiarch/strchr.S: New file.
43384         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43385         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43386         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43387         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43388         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43389
43390 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43391
43392         * sysdeps/x86_64/wcscmp.S: New file.
43393
43394         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43395         wcscmp-c wcscmp-sse2
43396         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43397         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43398         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43399         * wcsmbs/wcscmp.c: Allow renaming.
43400
43401 2011-09-05  David S. Miller  <davem@davemloft.net>
43402
43403         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43404         stack slot, rather than the struct return pointer slot.
43405         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43406         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43407         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43408         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43409
43410 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43411
43412         * po/ja.po: Update from translation team.
43413
43414         [BZ #13144]
43415         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43416         kernel in 64-bit binaries.
43417
43418 2011-09-01  David S. Miller  <davem@davemloft.net>
43419
43420         * elf/elf.h (HWCAP_SPARC_*): Move to..
43421         * sysdeps/sparc/sysdep.h: this new file and add new values.
43422         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43423         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43424         _DL_HWCAP_COUNT to 24.
43425         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43426         entries.
43427         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43428         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43429         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43430         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43431         instead of magic constants.
43432         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43433
43434 2011-08-31  David S. Miller  <davem@davemloft.net>
43435
43436         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43437         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43438         Reimplement to do errno handling inline.
43439         (SYSCALL_ERROR_HANDLER): New macro.
43440         (__SYSCALL_STRING): Do not do errno handling in asm.
43441         (__CLONE_SYSCALL_STRING): Delete.
43442         (__INTERNAL_SYSCALL_STRING): Delete.
43443         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43444         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43445         (PSEUDO): Reimplement to do errno handling inline.
43446         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43447         (SYSCALL_ERROR_HANDLER): New macro.
43448         (__SYSCALL_STRING): Do not do errno handling in asm.
43449         (__CLONE_SYSCALL_STRING): Delete.
43450         (__INTERNAL_SYSCALL_STRING): Delete.
43451         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43452         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43453         i386.
43454         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43455         (inline_syscall*): Add 'err' argument.
43456         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43457         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43458         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43459         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43460
43461         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43462         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43463
43464 2011-08-30  Andreas Schwab  <schwab@redhat.com>
43465
43466         * elf/rtld.c (dl_main): Relocate objects in dependency order.
43467
43468 2011-08-29  Jiri Olsa <jolsa@redhat.com>
43469
43470         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43471         directive.
43472
43473 2011-08-24  David S. Miller  <davem@davemloft.net>
43474
43475         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43476
43477 2011-08-24  Andreas Schwab  <schwab@redhat.com>
43478
43479         * elf/Makefile: Add rules to build and run unload8 test.
43480         * elf/unload8.c: New file.
43481         * elf/unload8mod1.c: New file.
43482         * elf/unload8mod1x.c: New file.
43483         * elf/unload8mod2.c: New file.
43484         * elf/unload8mod3.c: New file.
43485
43486         * elf/dl-close.c (_dl_close_worker): Reset private search list if
43487         it wasn't used.
43488
43489 2011-08-23  David S. Miller  <davem@davemloft.net>
43490
43491         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43492         subtract stack bias.
43493         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43494         %sp not %fp in calculations.
43495         (_JMPBUF_UNWINDS_ADJ): Likewise.
43496
43497         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43498         (aio_suspend): Call it to force an exception region around the
43499         AIO_MISC_WAIT() invocation.
43500
43501 2011-08-23  Andreas Schwab  <schwab@redhat.com>
43502
43503         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43504         backslash.
43505
43506 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
43507
43508         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43509         protection macro.
43510         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43511         and <dl-machine.h>.
43512         (Elf64_FuncDesc): Remove.
43513
43514 2011-08-22  David S. Miller  <davem@davemloft.net>
43515
43516         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43517         sigaltstack check, add missing cfi directives.
43518         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43519         missing cfi directives, and sigaltstack handling.
43520
43521 2011-08-16  Andreas Schwab  <schwab@redhat.com>
43522
43523         [BZ #11724]
43524         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43525         object is seen twice.
43526         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43527
43528         * elf/Makefile (distribute): Add tst-initorder2.c.
43529         (tests): Add tst-initorder2.
43530         (modules-names): Add tst-initorder2a tst-initorder2b
43531         tst-initorder2c tst-initorder2d.  Add rules to build them.
43532         ($(objpfx)tst-initorder2.out): New rule.
43533         * elf/tst-initorder2.c: New file.
43534         * elf/tst-initorder2.exp: New file.
43535
43536 2011-08-22  Andreas Schwab  <schwab@redhat.com>
43537
43538         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43539
43540         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43541         dependencies back to end of function.
43542
43543         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43544         $(elfobjdir)/ld.so.
43545
43546 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
43547
43548         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43549         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43550         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43551         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43552         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43553         of __vdso_gettimeofday.
43554         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43555         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
43556         attribute_hidden.
43557         (_libc_vdso_platform_setup): Remove initialization of
43558         __vdso_gettimeofday and __vdso_time.
43559
43560 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
43561
43562         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43563         and fgetc_unlocked.
43564         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43565         getc_unlocked.
43566
43567         * elf/dl-open.c (add_to_global): Report additions to the global scope
43568         for LD_DEBUG=scopes.
43569         (dl_open_worker): Also print scope of newly loaded dependencies.
43570         (_dl_show_scope): Indicate if there is no scope.
43571
43572         [BZ #13114]
43573         * stdio-common/Makefile (tests): Add bug24.
43574         * stdio-common/bug24.c: New file.
43575
43576 2011-08-19  Andreas Jaeger  <aj@suse.de>
43577
43578         [BZ #13114]
43579         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43580         non-existant file when using close-on-exec mode.
43581
43582 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
43583
43584         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43585         the very first instruction.
43586
43587         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43588         the CFI state in the end.
43589         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43590         inclusion of dl-trampoline.h.
43591         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43592
43593 2011-08-19  Andreas Schwab  <schwab@redhat.com>
43594
43595         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43596         expectations for long double.
43597
43598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43599         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43600
43601 2011-08-14  David S. Miller  <davem@davemloft.net>
43602
43603         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43604         artificual limit depends upon the system page size.
43605
43606 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
43607
43608         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43609         * resolv/Makefile: Define CFLAGS-libresolv.
43610
43611 2011-08-17  Andreas Schwab  <schwab@redhat.com>
43612
43613         * nss/makedb.c (compute_tables): Make variables used in nested
43614         function static.
43615
43616 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
43617
43618         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43619         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43620         if buffer was too small.
43621
43622         * elf/pldd.c (main): Attach to all threads in the process.
43623         Rewrite /proc handling to use *at functions.
43624
43625 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
43626
43627         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43628         specifies first scope to show.
43629         (dl_open_worker): Update callers.  Move printing scope of new
43630         object to before the relocation.
43631         * elf/rtld.c (dl_main): Update _dl_show_scope call.
43632         * sysdeps/generic/ldsodefs.h: Update declaration.
43633
43634         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43635         string for the scope number.
43636
43637 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
43638
43639         * nscd/servicescache.c (cache_addserv): Make sure written is always
43640         initialized.
43641
43642 2011-08-14  Roland McGrath  <roland@hack.frob.com>
43643
43644         * sysdeps/i386/i486/bits/atomic.h
43645         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43646         statement expression, so as to suppress "set but not used" warning.
43647         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43648
43649         * string/strncat.c (STRNCAT): Use prototype definition.
43650
43651         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43652         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43653         -Iprograms here.
43654         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43655         (localedef-modules): Add localedef.
43656         (locale-modules): Add locale.
43657
43658         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43659         * elf/rtld.c (dl_main): Invert order of assignment in last change,
43660         to avoid a warning.
43661
43662 2011-08-14  David S. Miller  <davem@davemloft.net>
43663
43664         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43665         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43666
43667 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
43668
43669         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43670         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43671         * elf/rtld.c (dl_main): Set l_name of vDSO.
43672         Call _dl_show_scope when DL_DEBUG_SCOPES.
43673         (process_dl_debug): Recognize scopes flag and also set it for all.
43674         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43675         Declare _dl_show_scope.
43676
43677         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43678         (do_dlopen): Pass caller_dlopen to dl_open.
43679         (__libc_dlopen_mode): Initialize caller_dlopen.
43680
43681         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43682         of libc.  Make tolower call locale-independent.  Optimize a bit by
43683         using isdigit instead of isalnum.
43684         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43685
43686 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
43687
43688         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43689         was a dependency or dynamically loaded.
43690
43691 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
43692
43693         * intl/l10nflist.c: Allow architecture-specific pop function.
43694         * sysdeps/x86_64/l10nflist.c: New file.
43695
43696         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43697         classification.
43698
43699 2011-08-10  Andreas Schwab  <schwab@redhat.com>
43700
43701         * include/dirent.h: Add libc_hidden_proto for scandirat and
43702         scandirat64.  Don't declare __scandirat64.
43703         * dirent/scandirat.c: Add libc_hidden_def.
43704         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43705         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43706
43707 2011-08-10  David S. Miller  <davem@davemloft.net>
43708
43709         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43710         enum.
43711         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43712         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43713         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43714
43715 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
43716
43717         * Versions.def [libc]: Add GLIBC_2.15.
43718         * dirent/Makefile (routines): Add scandirat and scandirat64.
43719         * dirent/Versions [libc]: Export scandirat and scandirat64 for
43720         GLIBC_2.15.
43721         * dirent/dirent.h: Declare scandirat and scandirat64.
43722         * dirent/scandirat.c: New file.
43723         * dirent/scandirat64.c: New file.
43724         * sysdeps/wordsize-64/scandirat.c: New file.
43725         * sysdeps/wordsize-64/scandirat64.c: New file.
43726         * dirent/opendir.c: Define opendirat.
43727         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
43728         using scandirat.
43729         * dirent/scandir64.c: Adjust for scandir.c change.
43730         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
43731         __scandirat64, and __scandir_cancel_handler.
43732         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
43733         additional parameter and use openat instead of open (outside of ld.so).
43734         Add new __opendir as wrapper around __opendirat.
43735         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43736         here without requiring old scandirat implementation.
43737
43738 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
43739
43740         * dirent/scandir.c (cancel_handler): Renamed to
43741         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
43742         defined.  Adjust users.
43743         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43744         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43745
43746 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
43747
43748         * string/test-string.h (IMPL): Use __STRING to expand name and then
43749         stringify it.
43750
43751         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
43752         of cleanups.
43753
43754 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43755
43756         * string/Makefile: Update.
43757         (strop-tests): Append strncat.
43758         * string/test-wcscmp.c: New file.
43759         New comprehensive test for wcscmp.
43760         * string/test-strcmp.c: Update.
43761         (WIDE): New define.
43762
43763 2011-07-22  Andreas Schwab  <schwab@redhat.com>
43764
43765         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43766         line.
43767
43768 2011-07-26  Andreas Schwab  <schwab@redhat.com>
43769
43770         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43771         encoding to ACE if AI_IDN.
43772
43773 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
43774
43775         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43776         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43777
43778 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43779
43780         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43781         Fix overflow bug in strncat.
43782         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43783
43784         * string/test-strncat.c: Update.
43785         Add new tests for checking overflow bugs.
43786
43787 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43788
43789         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43790         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43791         * sysdeps/i386/i686/multiarch/strcat.S: New file.
43792         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43793         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43794         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43795         * sysdeps/i386/i686/multiarch/strncat.S: New file.
43796         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43797         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43798
43799         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43800         (USE_AS_STRCAT): Define.
43801         Add strcat and strncat support.
43802         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43803
43804 2011-07-25  Andreas Schwab  <schwab@redhat.com>
43805
43806         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43807         __n bigger than INT_MAX+1.
43808         (__strncmp_g): Likewise.
43809
43810 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
43811
43812         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43813         * libio/stido.h: Likewise.
43814
43815         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43816         (AF_NFC): Define.
43817         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43818         (AF_NFC): Define.
43819
43820         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43821         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43822         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43823         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43824         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43825
43826         [BZ #13021]
43827         * scripts/test-installation.pl: Don't expect libnss_test1 to be
43828         installed.
43829
43830         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43831         typo.
43832         (_dl_x86_64_save_sse): Likewise.
43833
43834 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
43835
43836         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43837         OSXSAVE.
43838         (_dl_x86_64_save_sse): Likewise.
43839
43840         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43841
43842         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43843
43844 2011-07-21  Andreas Schwab  <schwab@redhat.com>
43845
43846         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43847         change.
43848         (_dl_x86_64_save_sse): Use correct AVX check.
43849
43850 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43851
43852         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43853         bug in strncpy/strncat.
43854         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43855
43856 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
43857
43858         * string/tester.c (test_strcat): Add tests for different alignments
43859         of source and destination.
43860         (test_strncat): Likewise.
43861
43862 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
43863
43864         [BZ #12852]
43865         * posix/glob.c (glob): Check passed in values before using them in
43866         expressions to avoid some overflows.
43867         (glob_in_dir): Likewise.
43868
43869         [BZ #13007]
43870         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43871         check for AVX enablement so that we don't crash with old kernels and
43872         new hardware.
43873         * elf/tst-audit4.c: Add same checks here.
43874         * elf/tst-audit6.c: Likewise.
43875
43876         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43877
43878 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
43879
43880         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43881
43882 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
43883
43884         * po/cs.po: Update from translation team.
43885         * po/bg.po: Likewise.
43886
43887 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
43888
43889         * misc/sys/cdefs.h: Add support for const attribute.
43890         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43891         to gnu_dev_{major,minor,makedev} functions.
43892
43893 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
43894
43895         * intl/dcigettext.c (get_output_charset): Add missing bracket.
43896
43897 2011-07-20  Andreas Schwab  <schwab@redhat.com>
43898
43899         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43900         strlen results.
43901
43902 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43903
43904         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43905         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43906         register in order to avoid conflicts with the soft frame pointer
43907         being held in r11 when necessary.
43908         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43909         (INTERNAL_VSYSCALL_NCS): Likewise.
43910
43911 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
43912
43913         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43914         * elf/dl-fini.c (_dl_fini): Adjust caller.
43915         * elf/dl-close.c (_dl_close_worker): Likewise.
43916         * sysdeps/generic/ldsodefs.h: Adjust declaration.
43917
43918 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
43919
43920         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43921         "aux_cache->nlibs < 0".
43922
43923         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43924         in the reload-count case.
43925
43926 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43927
43928         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43929         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43930         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43931         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43932         * sysdeps/x86_64/multiarch/strcat.S: New file.
43933         * sysdeps/x86_64/multiarch/strncat.S: New file.
43934         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43935         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43936         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43937         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43938         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43939         (USE_AS_STRCAT): Define.
43940         Add strcat and strncat support.
43941         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43942         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43943         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43944         * string/strncat.c: Update.
43945         (USE_AS_STRNCAT): Define.
43946         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43947         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43948         and i7.
43949         * sysdeps/x86_64/multiarch/init-arch.h
43950         (bit_Prefer_PMINUB_for_stringop): New.
43951         (index_Prefer_PMINUB_for_stringop): Likewise.
43952         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43953         bit_Prefer_PMINUB_for_stringop.
43954
43955 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
43956
43957         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43958         buffer64.
43959         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43960         of casting of buffer.
43961         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43962         buffer32 and buffer64.
43963         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43964         writes instead of casting of buffer.
43965         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43966         buffer32.
43967         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43968         casting of buffer.
43969
43970 2011-07-19  Andreas Schwab  <schwab@redhat.com>
43971
43972         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43973
43974 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
43975
43976         * nscd/nscd.c (termination_handler): Don't do anything for a database
43977         if it has not yet been initialized.
43978
43979 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
43980
43981         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43982
43983 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
43984
43985         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43986
43987 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
43988
43989         * po/nl.po: Update from translation team.
43990         * po/sv.po: Likewise.
43991
43992 2011-07-16  Roland McGrath  <roland@hack.frob.com>
43993
43994         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43995         now disallowed by GCC.
43996
43997         * configure.in (use-default-link): Default to yes if a test -shared
43998         link meets our qualifications.
43999         * configure: Regenerated.
44000
44001         * config.make.in (output-format): New variable.
44002         * configure.in: Check for ld --print-output-format support.
44003         * configure: Regenerated.
44004         * Makerules ($(common-objpfx)format.lds)
44005         [$(output-format) != unknown]: Just use $(output-format),
44006         instead of the linker-script munging.
44007
44008 2011-07-14  Roland McGrath  <roland@hack.frob.com>
44009
44010         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44011         of $(common-objpfx)shlib.lds.
44012         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44013
44014         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44015         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44016
44017         * configure.in (-z relro check): Adjust test code to add a large
44018         writable data section after it.
44019         * configure: Regenerated.
44020
44021 2011-07-11  Roland McGrath  <roland@hack.frob.com>
44022
44023         * configure.in (-z relro check): Fix test code to make the variable
44024         truly const.
44025         * configure: Regenerated.
44026
44027 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
44028
44029         * nscd/nscd.h (struct traced_file): Define.
44030         (struct database_dyn): Remove inotify_descr, reset_res, and filename
44031         elements.  Add traced_files.
44032         (inotify_fd): Declare.
44033         (register_traced_file): Declare.
44034         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44035         (inotify_fd): Export.
44036         (resolv_conf_descr): Remove.
44037         (nscd_init): Move inotify descriptor creation to main.
44038         Don't register files for notification here.
44039         (register_traced_file): New function.
44040         (invalidate_cache): Don't use reset_res to determine whether to call
44041         res_init, go through the list of registered files.
44042         (main_loop_poll): The inotify descriptors are now stored in the
44043         structures for the traced files.
44044         (main_loop_epoll): Likewise
44045         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
44046         to __nss_disable_nscd.
44047         * nscd/cache.c (prune_cache): There is no single inotify descriptor
44048         for a database anymore.  Check the records for all the registered
44049         files instead.
44050         * nss/Makefile (libnss_files-routines): Add files-init.
44051         (libnss_db-routines): Add db-init.
44052         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44053         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44054         * nss/nss_db/db-init.c: New file.
44055         * nss/nss_files/files-init.c: New file.
44056         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
44057         __nss_lookup_function.
44058         (__nss_lookup_function): Call nss_load_library.
44059         (nss_load_all_libraries): New function.
44060         (__nss_disable_nscd): Take parameter with callback function for files
44061         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
44062         used for the cached services.
44063         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44064         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44065         options for features to all the files in nscd.
44066
44067         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44068
44069 2011-07-10  Roland McGrath  <roland@hack.frob.com>
44070
44071         * csu/elf-init.c (__libc_csu_init): Comment typo.
44072
44073 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
44074
44075         * po/pl.po: Update from translation team.
44076         * po/ja.po: Likewise.
44077         * po/ru.po: Likewise.
44078         * po/ko.po: Likewise.
44079         * po/fr.po: Likewise.
44080
44081 2011-07-09  Roland McGrath  <roland@hack.frob.com>
44082
44083         * configure.in (.ctors/.dtors header and trailer check):
44084         Use an empirical test on a built program.
44085         * configure: Regenerated.
44086
44087         * configure.in (-z relro check): Use an empirical test on a built DSO.
44088         Detect, but do not require, on ia64.
44089         * configure: Regenerated.
44090
44091         * configure.in (READELF): Find it with AC_CHECK_TOOL.
44092         Update tests that use readelf to use $READELF instead.
44093         * configure: Regenerated.
44094
44095 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
44096
44097         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44098         if the result is not used.
44099
44100 2011-07-05  Andreas Jaeger  <aj@suse.de>
44101
44102         [BZ#9696]
44103         * stdlib/tst-strtod.c: Add testcase.
44104
44105 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
44106
44107         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44108         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44109         The latter has a higher limit.  Take additional parameter to pass to
44110         the new function.
44111         (__pathconf): Pass file to __statfs_link_max.
44112         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44113         __statfs_link_max.
44114         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44115         __statfs_link_max.
44116
44117         [BZ #12868]
44118         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44119         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44120         Handle Lustre.
44121         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44122         (__statfs_filesize_max): Likewise.
44123         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44124
44125 2011-07-05  Andreas Jaeger  <aj@suse.de>
44126
44127         * resolv/res_comp.c (dn_skipname): Remove unused variable.
44128
44129 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
44130
44131         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44132         `status' variable.
44133         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44134         Likewise.
44135
44136 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
44137
44138         * Makefile (strop-tests): Add strncat.
44139         * string/test-strncat.c: New file.
44140
44141 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
44142
44143         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44144
44145 2011-06-21  Andreas Jaeger  <aj@suse.de>
44146
44147         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44148         Copy rule from iconvdata/Makefile.
44149
44150 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44151
44152         [BZ #12922]
44153         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44154         but no long options are defined, just return 'W'.
44155
44156 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
44157
44158         [BZ #9696]
44159         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44160
44161 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44162
44163         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44164         netgroups to read.
44165         (innetgr): Likewise.
44166
44167 2011-07-05  Roland McGrath  <roland@hack.frob.com>
44168
44169         * config.make.in (install_root): Default to $(DESTDIR).
44170
44171 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
44172
44173         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44174
44175 2011-07-02  Roland McGrath  <roland@hack.frob.com>
44176
44177         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44178
44179         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44180         containing directory rather than embedding absolute directory names.
44181
44182         * scripts/check-local-headers.sh: Rewritten using awk.
44183         Match by word, not by line.  Print error messages for matches.
44184         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44185
44186         * Makerules [shlib-lds-flags empty]:
44187         ($(common-objpfx)libc_pic.opts): New target.
44188         ($(common-objpfx)libc_pic.os.clean): New target.
44189         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44190
44191         * config.make.in (OBJCOPY): New variable.
44192         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44193         * configure: Regenerated.
44194
44195         * config.make.in (use-default-link): New variable.
44196         * configure.in (use_default_link): Grok --with-default-link to set it.
44197         * configure: Regenerated.
44198         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44199         (shlib-lds, shlib-lds-flags): Define to empty.
44200
44201         * Makerules (shlib-lds): New variable.
44202         (shlib-lds-flags): New variable.
44203         (build-shlib, build-moduile, build-module-asneeded): Use it.
44204         ($(common-objpfx)libc.so): Use $(shlib-lds).
44205         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44206         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44207
44208         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44209         DT_FLAGS/DT_FLAGS_1 with zero flags.
44210
44211         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44212         linker script munging.
44213
44214 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
44215
44216         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44217         as 128-bit value.
44218         * crypt/sha512.c (sha512_process_block): Perform total addition using
44219         128-bit if possible.
44220         (__sha512_finish_ctx): Likewise.
44221         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44222         as 64-bit value.
44223         * crypt/sha256.c (SWAP64): Define.
44224         (sha256_process_block): Perform total addition using 64-bit if
44225         possible.
44226         (__sha256_finish_ctx): Likewise.
44227
44228 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
44229
44230         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
44231         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44232         * nscd/hstcache.c (cache_addhst): Likewise.
44233         * nscd/grpcache.c (cache_addgr): Likewise.
44234         * nscd/aicache.c (addhstaiX): Likewise
44235         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44236
44237 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
44238
44239         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44240         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44241         * nscd/hstcache.c (cache_addhst): Likewise.
44242         * nscd/grpcache.c (cache_addgr): Likewise.
44243         * nscd/aicache.c (addhstaiX): Likewise
44244
44245 2011-07-01  Andreas Schwab  <schwab@redhat.com>
44246
44247         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44248         domain only when needed.
44249
44250 2011-06-30  Andreas Schwab  <schwab@redhat.com>
44251
44252         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44253         is always restored.
44254
44255 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
44256
44257         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44258         are re-adding the entry.
44259         * nscd/servicescache.c (cache_addserv): Likewise.
44260
44261 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
44262
44263         * sysdeps/generic/dl-irel.h: fix protection against multiple
44264         inclusions.
44265         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44266
44267 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
44268
44269         [BZ #12935]
44270         * malloc/memusage.sh: Fix quoting in message.
44271         * debug/xtrace.sh: Likewise.
44272
44273         * configure.in: Remove support for --experimental-malloc option, make
44274         it the default.
44275         * config.make.in: Likewise.
44276         * malloc/Makefile: Likewise.
44277
44278 2011-06-27  Andreas Schwab  <schwab@redhat.com>
44279
44280         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44281         two-byte characters.
44282
44283 2011-06-27  Roland McGrath  <roland@hack.frob.com>
44284
44285         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44286         AC_CACHE_CHECK invocation.
44287         * configure: Regenerated.
44288
44289         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44290
44291 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
44292
44293         [BZ #12350]
44294         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
44295         bit from old_res_options.
44296
44297         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44298
44299         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44300         value type for setfct.
44301
44302 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
44303
44304         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44305         __gettimeofday instead of gettimeofday.
44306
44307 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
44308
44309         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44310
44311 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
44312
44313         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44314
44315         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44316         info.
44317
44318 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44319
44320         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44321         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44322         strcpy-sse2-unaligned strncpy-sse2-unaligned
44323         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44324         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44325         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44326         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44327         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44328         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44329         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44330         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44331         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44332         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44333         (STRCPY): Support SSE2 and SSSE3 versions.
44334
44335 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
44336
44337         [BZ #12874]
44338         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44339         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44340         kernels which artificially limit size of requests.
44341
44342 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44343
44344         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44345         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44346         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44347         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44348         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44349         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44350         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44351         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44352         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44353         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44354         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44355         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44356         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44357         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44358         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44359         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44360         Enable unaligned load optimization for Intel Core i3, i5 and i7
44361         processors.
44362         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44363         Define.
44364         (index_Fast_Unaligned_Load): Define.
44365         (HAS_FAST_UNALIGNED_LOAD): Define.
44366
44367 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
44368
44369         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44370
44371 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44372
44373         [BZ #12907]
44374         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44375         until it is clear that the information is realy needed.
44376         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44377
44378 2011-06-22  Andreas Schwab  <schwab@redhat.com>
44379
44380         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44381
44382 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44383
44384         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44385         /sys/devices/system/cpu/online if it is usable.
44386
44387         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44388         reading the information from the /proc filesystem to once a second.
44389
44390 2011-06-21  Andreas Jaeger  <aj@suse.de>
44391
44392         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44393         NULL after inclusion of kernel headers.
44394
44395 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
44396
44397         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44398         calls to internal_setent.
44399
44400         [BZ #12885]
44401         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44402         addresses using gethostbyname4_r ignore IPv4 addresses.
44403
44404         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44405         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
44406
44407         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44408
44409 2011-06-20  David S. Miller  <davem@davemloft.net>
44410
44411         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44412         inclusions.
44413         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44414
44415         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44416         (elf_irel): Use it.
44417         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44418         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44419         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44420         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44421         * sysdeps/x86_64/dl-irel.h: Likewise.
44422
44423         * elf/dl-runtime.c: Use elf_ifunc_invoke.
44424         * elf/dl-sym.c: Likewise.
44425
44426 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
44427
44428         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
44429         need to dereference resplen2.
44430
44431 2011-06-14  Andreas Schwab  <schwab@redhat.com>
44432
44433         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44434
44435 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
44436
44437         * Makeconfig: Define vardbdir and inst_vardbdir.
44438         * nss/Makefile: Add rules to install db-Makefile.
44439
44440         * nss/nss_db/db-XXX.c: Cleanup.
44441
44442         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44443         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44444         GLIBC_PRIVATE.
44445         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44446         * nss/makedb.c: Implement -g option to specify that value strings
44447         are generated and should not be added to table iterated over for
44448         get*ent calls.
44449         * nss/nss_db/db-initgroups.c: New file.
44450
44451         * nss/getent.c: Add support for initgroups lookups through getgrouplist
44452         interface.
44453
44454         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44455         (internal_getgrouplist): Adjust to name change.
44456         Update use_initgroups_entry if this is not the first call.
44457         * nss/databases.def: Add initgroups entry.
44458
44459         * nss/makedb.c (compute_tables): Check result of multiple hash table
44460         sizes to minimize maximum chain length.
44461
44462 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
44463
44464         * Versions.def: Add entry for libnss_db.
44465         * shlib-versions: Likewise.
44466         * nss/Makefile: Add rules to build libnss_db.
44467         * nss/Versions: Add libnss_db information.  Organize libnss_files
44468         entries better.
44469         * nss/db-Makefile: Add gshadow support.  Change rules for the new
44470         makedb progra.  Some minor improvements to generate smaller files.
44471         * nss/nss_db/nss_db.h: Move NSS database header data structures to
44472         here from...
44473         * nss/makedb.c: ...here.
44474         Improve database format to be smaller and require less memory at
44475         runtime.
44476         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
44477         db anymore.
44478         * nss/nss_db/db-netgrp.c: Likewise.
44479         * nss/nss_db/db-open.c: Likewise.
44480         * nss/nss_files/flies-XXX.x: Adjust comments.
44481         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44482         * nss/nss_files/files-grp.c: Likewise.
44483         * nss/nss_files/files-hosts.c: Likewise.
44484         * nss/nss_files/files-network.c: Likewise.
44485         * nss/nss_files/files-proto.c: Likewise.
44486         * nss/nss_files/files-pwd.c: Likewise.
44487         * nss/nss_files/files-rpc.c: Likewise.
44488         * nss/nss_files/files-service.c: Likewise.
44489         * nss/nss_files/files-sgrp.c: Likewise.
44490         * nss/nss_files/files-spwd.c: Likewise.
44491         * nss/nss_db/db-alias.c: Removed.
44492         * nss/nss_db/dummy-db.h: Removed.
44493
44494 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
44495
44496         * nss/makedb.c: Rewritten to not use database library.
44497         * nss/Makefile: Update to build new makedb program.
44498
44499 2011-06-14  Andreas Jaeger  <aj@suse.de>
44500
44501         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44502         memset declaration.
44503
44504 2011-06-10  Andreas Schwab  <schwab@redhat.com>
44505
44506         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44507         tmpbuf.
44508
44509 2011-06-10  Roland McGrath  <roland@hack.frob.com>
44510
44511         * Makerules (shlib.lds): Fail if the linker script comes out empty.
44512         * elf/Makefile ($(objpfx)ld.so): Likewise.
44513
44514         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44515         Don't list ld.so twice in dependencies.
44516
44517         * posix/bug-regex31.c: Include <stdlib.h>.
44518
44519         * nscd/hstcache.c (cache_addhst): Remove unused variable.
44520
44521         * nis/nss_compat/compat-spwd.c
44522         (getspent_next_nss_netgr): Remove unused variable.
44523         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44524
44525         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44526         nonmembers" output to use the right array.
44527
44528         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44529
44530         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44531
44532         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44533         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44534         * catgets/gencat.c (read_input_file): Likewise.
44535         * locale/programs/locarchive.c (enlarge_archive): Likewise.
44536
44537         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44538         variable definition inside #if's controlling its use.
44539
44540         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44541
44542         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44543
44544         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44545
44546         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44547         unreachable code.
44548
44549         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44550
44551         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44552         * configure: Regenerated.
44553
44554         * Makerules: Revert last change.
44555         * elf/Makefile: Likewise.
44556
44557 2011-06-09  Roland McGrath  <roland@hack.frob.com>
44558
44559         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44560         * elf/Makefile ($(objpfx)librtld.os): Likewise.
44561         (reloc-link): Likewise.
44562
44563 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
44564
44565         * elf/Makefile: Add rules to build pldd.
44566         * elf/pldd.c: New file.
44567         * elf/pldd-xx.c: New file.
44568
44569 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
44570
44571         * version.h: Update for 2.15 development version.
44572
44573 2011-06-07  David S. Miller  <davem@davemloft.net>
44574
44575         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44576         ifuncs.
44577         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44578         elf_machine_lazy_rel): Likewise.
44579         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44580         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44581         elf_machine_lazy_rel): Likewise.
44582         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44583         dl_hwcap via passed in argument.
44584         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44585         Likewise.
44586
44587 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44588
44589         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
44590
44591 2011-06-06  Roland McGrath  <roland@hack.frob.com>
44592
44593         [BZ #12849]
44594         * manual/fdl-1.1.texi: New file, verbatim from:
44595         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44596         * manual/lgpl-2.1.texi: New file, verbatim from:
44597         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44598         * manual/Makefile (licenses): New variable, list those new file names.
44599         (texis): Use it.
44600         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44601
44602         * manual/fdl.texi: File removed.
44603         * manual/lesser.texi: File removed.
44604         * manual/libc.texinfo (Copying, Documentation License):
44605         Use new @include file names, put @appendix directive before @include.
44606
44607 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
44608
44609         [BZ #12841]
44610         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44611         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44612         (mq_open): Add __NTH.
44613
44614 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
44615
44616         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44617         Assume Intel Core i3/i5/i7 processor if AVX is available.
44618
44619 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
44620
44621         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44622         typo.
44623
44624 2011-05-31  Andreas Schwab  <schwab@redhat.com>
44625
44626         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44627         memory.  Use alloca_account.  Fix memory leak when retrying.
44628
44629 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
44630
44631         * version.h (RELEASE): Bump for 2.14 release.
44632         * include/features.h (__GLIBC_MINOR__): Bump to 14.
44633
44634         * config.make.in (RANLIB): Remove entry.
44635
44636 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
44637
44638         * po/Makefile (po-sed-cmd): Add ksh to extensions.
44639         (libc.pot): Work around missing support for .ksh extension in xgettext.
44640
44641         [BZ #12684]
44642         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44643         if both request failed.
44644         (send_dg): In case of server errors clear resplen or *resplen2.
44645
44646         [BZ #12454]
44647         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44648         when there are multiple maps.
44649         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44650         (_dl_fini): Remove test here.
44651
44652         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44653
44654 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
44655
44656         [BZ #12350]
44657         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44658         bit from old_res_options.
44659         (gaih_inet): Likewise.
44660
44661         [BZ #11099]
44662         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44663         as signed.
44664
44665         * resolv/res_init.c (res_setoptions): Make the code more compact.
44666
44667         [BZ #11558]
44668         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44669         set RES_USEVC.
44670
44671         [BZ #11634]
44672         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44673
44674         * malloc/malloc.h: Mark malloc hook variables as deprecated.
44675
44676         [BZ #11781]
44677         * malloc/malloc.h: Declare malloc hook variables as volatile.
44678
44679         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44680         in last patch.
44681
44682         [BZ #11799]
44683         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44684         raise in the comment.
44685         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44686         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44687         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44688
44689 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
44690
44691         [BZ #12811]
44692         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44693         grow the buffers more if it already has to be sufficient.
44694         (build_wcs_upper_buffer): Likewise.
44695         * posix/regexec.c (check_matching): Likewise.
44696         (clean_state_log_if_needed): Likewise.
44697         (extend_buffers): Don't enlarge buffers beyond size of the input
44698         buffer.
44699         Patches mostly by Emil Wojak <emil@wojak.eu>.
44700         * posix/bug-regex32.c: New file.
44701         * posix/Makefile (tests): Add bug-regex32.
44702
44703         * locale/findlocale.c (_nl_find_locale): Return right away if
44704         _nl_explode_name failed.
44705         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44706
44707         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44708
44709         * debug/xtrace.sh: Unify messages.
44710         * malloc/memusage.sh: Likewise.
44711
44712         [BZ #12813]
44713         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44714         time symbol from vDSO.  Substitute with vsyscall if not available.
44715         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44716         __vdso_time.
44717
44718         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44719         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44720         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44721         Add sendmmsg and internal_sendmmsg.
44722         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44723         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44724         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44725
44726         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44727         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44728         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44729
44730 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
44731
44732         [BZ #12813]
44733         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44734         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
44735         available.
44736         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44737         __vdso_getcpu.
44738
44739         [BZ #12814]
44740         * iconvdata/Makefile (tests): Add bug-iconv9.
44741         * iconvdata/bug-iconv9.c: New file.
44742
44743 2011-05-27  Andreas Schwab  <schwab@redhat.com>
44744
44745         [BZ #12814]
44746         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44747
44748 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
44749
44750         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44751         (struct user_regs_struct): Change intcs field back to cs.
44752
44753 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
44754
44755         * po/ja.po: Update from translation team.
44756
44757 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
44758
44759         [BZ #12795]
44760         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44761         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44762
44763 2011-05-20  Andreas Schwab  <schwab@redhat.com>
44764
44765         * stdlib/longlong.h: Update from GCC.
44766
44767 2011-05-23  Andreas Schwab  <schwab@redhat.com>
44768
44769         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44770         parameter name.
44771         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44772         Add parameter name.
44773         (__sysconf): Pass it down.
44774
44775 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
44776
44777         [BZ #12671]
44778         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44779         some situations.
44780         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44781         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44782         add in in __libc_use_alloca calls.  Adjust callers.
44783         (glob): Use malloc in some situations.
44784
44785         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44786         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44787         pltexit.
44788
44789 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
44790
44791         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44792         and CLOCK_BOOTTIME_ALARM.
44793
44794         [BZ #12782]
44795         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44796         is returned.
44797
44798         * string/_strerror.c (__strerror_r): Print negative errors as signed
44799         numbers.
44800
44801         [BZ #12777]
44802         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44803         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44804         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44805
44806         * configure.in: Fix typo in redirection and correct removal of test
44807         files in two cases.
44808
44809         [BZ #12788]
44810         * locale/setlocale.c (new_composite_name): Fix test to check for
44811         identical name of all categories.
44812
44813         [BZ #12792]
44814         * libio/filedoalloc.c (local_isatty): New function.
44815         (_IO_file_doallocate): Use local_isatty.
44816         * stdio-common/perror.c (perror): In case a new stream is used
44817         forward the stream error.
44818         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44819         error flag.
44820
44821 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
44822
44823         [BZ #11869]
44824         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44825         alloca.
44826         * include/alloca.h (extend_alloca_account): Define.
44827
44828         [BZ #11857]
44829         * posix/regex.h: Fix comments with documentation of user-accessible
44830         fields after compilation and describe correct free'ing of pattern
44831         after re_compile_pattern.
44832         Patch by Reuben Thomas <rrt@sc3d.org>.
44833
44834 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
44835
44836         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44837         and -mno-altivec to prevent the compiler from using Altivec and/or
44838         VSX instructions when the corresponding registers are not available.
44839
44840 2011-05-19  Andreas Schwab  <schwab@redhat.com>
44841
44842         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44843
44844 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
44845
44846         * libio/freopen.c (freopen): Use __dup2, not dup2.
44847         * libio/freopen64.c (freopen64): Likewise.
44848
44849 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44850
44851         [BZ #12775]
44852         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44853         * math/Makefile (tests): Add test-powl.
44854         (CFLAGS-test-powl.c): Define.
44855         * math/test-powl.c: New file.
44856
44857 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44858
44859         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44860
44861 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
44862
44863         [BZ #11837]
44864         * iconvdata/gb18030.c: Update to GB18020-2005.
44865
44866 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
44867
44868         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44869         RE_SYNTAX_POSIX_AWK): Update to match recent development.
44870         Patch by Aharon Robbins <arnold@skeeve.com>.
44871
44872         [BZ #11892]
44873         * stdlib/putenv.c (putenv): Don't always create copy of the variable
44874         on the stack.
44875
44876         [BZ #11895]
44877         * misc/pselect.c (__pselect): Handle timeout value errors hidden
44878         through underflows.
44879
44880         [BZ #12766]
44881         * misc/error.c (error_at_line): Ensure file_name and old_file_name
44882         point to strings before performing equality test for error_one_per_line
44883         mode.
44884
44885         [BZ #11697]
44886         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44887
44888         [BZ #11820]
44889         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44890         (struct user_fpregs_struct): Avoid __uint*_t types.
44891
44892         [BZ #6420]
44893         * malloc/mtrace.c (tr_where): Add additional parameter to point to
44894         symbol info.  Use it instead of calling _dl_addr locally.
44895         (lock_and_info): New function.
44896         (tr_freehook): Call lock_and_info and pass symbol info as additional
44897         parameter to tr_where.
44898         (tr_mallochook): Likewise.
44899         (tr_reallochook): Likewise.
44900         (tr_memalignhook): Likewise.
44901
44902         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
44903         used and couldn't be at all thread-safe.
44904
44905 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
44906
44907         * libio/freopen.c (freopen): Don't close old file descriptor
44908         before the new one is opened.  Instead dup the new file descriptor
44909         to the old one after the new stream is created.
44910         * libio/freopen64.c (freopen64): Likewise.
44911         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44912         * libio/fileops.c (_IO_new_file_close_it): Handle new
44913         _IO_FLAGS2_NOCLOSE flag.
44914         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44915         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44916         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44917         _IO_FLAGS2_NOCLOSE flag.
44918         * include/unistd.h: Add hidden_proto for dup3.
44919         Define __have_dup3.
44920         * io/dup3.c: Define hidden symbol.
44921         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44922
44923         [BZ #7101]
44924         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44925         when an incomplete long option is used.
44926         * posix/tst-getopt_long1.c: New file.
44927         * posix/Makefile (tests): Add tst-getopt_long1.
44928
44929         [BZ #10138]
44930         * scripts/config.guess: Update from autoconf-2.68.
44931         * scripts/config.sub: Likewise.
44932
44933         [BZ #10157]
44934         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44935         tests into ...
44936         (has_cpuclock): ...this.  New function.
44937         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44938         macro here based on has_cpuclock code.
44939
44940         [BZ #10149]
44941         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44942         First byte (not low byte) is now always NUL.
44943         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44944
44945         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44946         Use non-cancelable interfaces.
44947
44948         [BZ #9809]
44949         * locale/iso-639.def: Add entry for Sorani.
44950
44951         [BZ #11901]
44952         * include/stdlib.h: Move include protection to the right place.
44953         Define abort_msg_s.  Declare __abort_msg with it.
44954         * stdlib/abort.c (__abort_msg): Adjust type.
44955         * assert/assert.c (__assert_fail_base): New function.  Majority
44956         of code from __assert_fail.  Allocate memory for __abort_msg with
44957         mmap.
44958         (__assert_fail): Now call __assert_fail_base.
44959         * assert/assert-perr.c: Remove bulk of implementation.  Use
44960         __assert_fail_base.
44961         * include/assert.hL Declare __assert_fail_base.
44962         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44963         mmap.
44964         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44965
44966 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
44967
44968         [BZ #11952]
44969         [BZ #12453]
44970         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44971         until all modules are registered in the DTV.
44972         * elf/Makefile: Add rules to build and run tst-tls19.
44973         * elf/tst-tls19.c: New file.
44974         * elf/tst-tls19mod1.c: New file.
44975         * elf/tst-tls19mod2.c: New file.
44976         * elf/tst-tls19mod3.c: New file.
44977         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44978
44979         [BZ #12083]
44980         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44981         correctly.
44982
44983         [BZ #12601]
44984         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44985         two-byte sequence errors.
44986         * iconvdata/Makefile (tests): Add bug-iconv8.
44987         * iconvdata/bug-iconv8.c: New file.
44988
44989         [BZ #12626]
44990         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44991         buf2 definition.
44992
44993         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44994
44995         [BZ #12432]
44996         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44997         (dummy_getcfa): New function.
44998         (init): Get _Unwind_GetCFA address, use dummy if not found.
44999         (backtrace_helper): In recursion check, also check whether CFA changes.
45000         (__backtrace): Completely initialize arg.
45001
45002         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45003         storing incomplete byte sequence in state object.  Avoid testing for
45004         guaranteed too small input if we know there is enough data available.
45005
45006 2011-05-11  Andreas Schwab  <schwab@redhat.com>
45007
45008         * Makeconfig (+link-pie): Indent.
45009         * Rules (binaries-pie): Define if $(have-fpie) and
45010         $(build-shared).
45011         (binaries-shared): Also filter out $(binaries-pie).
45012         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45013         * nscd/Makefile (others-pie): Add nscd.
45014         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45015         ($(objpfx)nscd): Remove command override.
45016         * login/Makefile (others-pie): Add pt_chown.
45017         ($(objpfx)pt_chown): Remove command override.
45018         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45019         remove command overrides.
45020
45021 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
45022
45023         * libio/tst_putwc.c: Fix error messages.
45024
45025         [BZ #12724]
45026         * libio/fileops.c (_IO_new_file_close_it): Always flush when
45027         currently writing and seek to current position when not.
45028         * libio/Makefile (tests): Add bug-fclose1.
45029         * libio/bug-fclose1.c: New file.
45030
45031 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
45032
45033         [BZ #12511]
45034         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45035         don't set DF_1_NODELETE here.
45036         (do_lookup_x): When entering new entry test for copy relocation
45037         and if necessary set DF_1_NODELETE flag.
45038         * elf/tst-unique4.cc: New file.
45039         * elf/tst-unique4.h: New file.
45040         * elf/tst-unique4lib.cc: New file.
45041         * elf/Makefile: Add rules to build and run tst-unique4.
45042         Patch by Piotr Bury <pbury@goahead.com>.
45043
45044 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
45045
45046         [BZ #12052]
45047         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45048
45049         [BZ #12625]
45050         * misc/mntent_r.c (addmntent): Flush the stream after the output
45051
45052         [BZ #12393]
45053         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45054         (is_trusted_path_normalize): Skip initial colon.  Append slash
45055         to empty buffer.  Duplicate is_trusted_path code but allow
45056         constructed patch to be prefix.
45057         (is_dst): Allow $ORIGIN followed by /.
45058         (_dl_dst_substitute): Correct clearing of check_for_trusted.
45059         Correct testing of result of is_trusted_path_normalize
45060         (decompose_rpath): Fix warning.
45061
45062 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
45063
45064         [BZ #11257]
45065         * grp/initgroups.c (internal_getgrouplist): When we found the service
45066         list through the initgroups entry in nsswitch.conf do not always
45067         continue on a successful lookup.  Don't always use the
45068         __nss_group_database value if it is set.
45069         * nss/nsswitch.conf (initgroups): Change action for successful db
45070         lookup to continue for compatibility.
45071
45072 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
45073
45074         [BZ #11532]
45075         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45076         and CP774 modules.
45077         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45078         and CP774 modules.
45079         * iconvdata/tst-tables.sh: Likewise.
45080         * iconvdata/cp770.c: New file.
45081         * iconvdata/cp771.c: New file.
45082         * iconvdata/cp772.c: New file.
45083         * iconvdata/cp773.c: New file.
45084         * iconvdata/cp774.c: New file.
45085         * iconvdata/testdata/CP770: New file.
45086         * iconvdata/testdata/CP770..UTF8: New file.
45087         * iconvdata/testdata/CP771: New file.
45088         * iconvdata/testdata/CP771..UTF8: New file.
45089         * iconvdata/testdata/CP772: New file.
45090         * iconvdata/testdata/CP772..UTF8: New file.
45091         * iconvdata/testdata/CP773: New file.
45092         * iconvdata/testdata/CP773..UTF8: New file.
45093         * iconvdata/testdata/CP774: New file.
45094         * iconvdata/testdata/CP774..UTF8: New file.
45095
45096         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45097         END CHARMAP line.
45098         * iconvdata/gen-8bit-gap.sh: Likewise.
45099         * iconvdata/gen-8bit.sh: Likewise.
45100
45101         * locale/iso-639.def: Add ary entry.
45102
45103         [BZ #11258]
45104         * locale/C-translit.h.in: Add U20A1 transliteration.
45105
45106         [BZ #12178]
45107         * locale/iso-639.def: Add wae entry.
45108         Patch by Kevin Bortis <bortis@translate-wae.ch>.
45109
45110         [BZ #12545]
45111         * locale/programs/localedef.c (construct_output_path): Use ssize_t
45112         for n.
45113
45114         [BZ #12711]
45115         * locale/C-translit.h.in: Add entry for U20B9.
45116         Patch by pravin.d.s@gmail.com.
45117
45118 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
45119
45120         [BZ #12713]
45121         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45122         ENAMETOOLONG use generic getcwd.
45123         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
45124         in rtld.  Use *stat64.
45125         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45126         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45127         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45128         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45129         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45130         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45131         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45132         __fstatat64 macros.
45133         * include/dirent.h: Add libc_hidden_proto for rewinddir.
45134         * dirent/rewinddir.c: Add libc_hidden_def.
45135         * sysdeps/mach/hurd/rewinddir.c: Likewise.
45136         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
45137
45138         * include/dirent.h (__alloc_dir): Add flags parameter.
45139         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45140         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45141         __alloc_dir.
45142         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
45143         from fdopendir if O_CLOEXEC is already set.
45144
45145 2011-03-15  Alan Modra  <amodra@gmail.com>
45146
45147         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45148         l_tls_firstbyte_offset non-zero.  Save padding offset in
45149         l_tls_firstbyte_offset for later use.
45150         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45151         freeing static tls block.
45152
45153 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
45154
45155         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45156         where #ifdef was intended.  The intent is to prevent ARG_MAX from
45157         being defined by the kernel headers.
45158
45159 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
45160
45161         [BZ #12734]
45162         * resolv/resolv.h: Define RES_NOTLDQUERY.
45163         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45164         no-tld-query and set RES_NOTLDQUERY.
45165         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45166         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45167         modern BIND to search name as TLD unless forbidden.
45168
45169 2011-05-07  Petr Baudis  <pasky@suse.cz>
45170             Ulrich Drepper  <drepper@gmail.com>
45171
45172         [BZ #12393]
45173         * elf/dl-load.c (fillin_rpath): Move trusted path check...
45174         (is_trusted_path): ...to here.
45175         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45176         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45177         using is_trusted_path_normalize() in setuid scripts.
45178
45179 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45180
45181         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45182         __BEGIN/__END_DECLS.
45183
45184 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
45185
45186         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45187         NSS_STATUS_NOTFOUND if no record was found.
45188
45189 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45190
45191         * sunrpc/Makefile (headers): Add rpc/netdb.h.
45192         (headers-not-in-tirpc): Remove rpc/netdb.h
45193         * resolv/netdb.h: Revert last change.
45194
45195 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45196
45197         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45198         circular dependency between libgcc.a and libc.a.
45199
45200 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45201
45202         * resolv/netdb.h: Don't include <rpc/netdb.h>.
45203         * nis/Makefile: Don't install rpcsvc/*.
45204         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45205         instead of <rpc/types.h>.
45206         (MAXHOSTNAMELEN): Define.
45207
45208 2011-05-03  Andreas Schwab  <schwab@redhat.com>
45209
45210         * elf/ldconfig.c (add_dir): Don't crash on empty path.
45211
45212 2011-04-28  Maciej Babinski  <mbabinski@google.com>
45213
45214         [BZ #12714]
45215         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45216         gethostbyname4_r when IPv6 results are possible.
45217
45218 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
45219
45220         [BZ #12723]
45221         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45222         _PC_PIPE_BUF handling.
45223
45224 2011-04-30  Bruno Haible  <bruno@clisp.org>
45225
45226         [BZ #12717]
45227         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45228         * resolv/netdb.h (getnameinfo): Change type of flags parameter
45229         to 'int'.
45230         * inet/getnameinfo.c (getnameinfo): Likewise.
45231
45232 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
45233
45234         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45235         to groups setting in database lookup.
45236         * nss/nsswitch.conf: Add initgroups entry.
45237
45238 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
45239
45240         [BZ #12685]
45241         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45242         mode string.
45243         Patch by Eric Blake <eblake@redhat.com>.
45244
45245 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
45246
45247         * sunrpc/Makefile (need-export-routines): Add svc_run.
45248         (routines): Remove svc_run.
45249         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45250         * sunrpc/clnt_perr.c (clnt_perrno): Export.
45251         * sunrpc/svc_run.c (svc_run): Likewise.
45252         * sunrpc/svc_udp.c (svcudp_create): Likewise.
45253
45254 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
45255
45256         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45257         problem in reallocation in last patch.
45258
45259 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
45260
45261         * sunrpc/Makefile: Move inclusion of Rules.
45262
45263 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45264
45265         * nss/nss_files/files-initgroups.c: New file.
45266         * nss/Makefile (libnss_files-routines): Add files-initgroups.
45267         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45268         _nss_files_initgroups_dyn.
45269
45270 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
45271
45272         * elf/elf.h (R_ARM_IRELATIVE): Define.
45273
45274 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45275
45276         * po/ru.po: Update from translation team.
45277
45278 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45279
45280         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45281         dependencies.
45282
45283 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
45284
45285         [BZ #12653]
45286         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45287         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45288         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45289         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45290         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45291
45292 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
45293
45294         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45295         differing bytes.
45296         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45297         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45298         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45299
45300 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45301
45302         [BZ #12420]
45303         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45304         storing it.
45305         * stdlib/bug-getcontext.c: New file.
45306         * stdlib/Makefile: Add rules to build and run bug-getcontext.
45307
45308 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45309
45310         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45311         instructions into .machine "z9-109".
45312         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45313         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45314
45315 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45316
45317         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45318         between environment variables and auxiliary vector.
45319
45320 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
45321
45322         * Makefile: Add rules to build linkobj/libc.so.
45323         * include/libc-symbols.h: Define libc_hidden_nolink.
45324         * include/rpc/auth.h: Mark functions which are to be hidden.
45325         * include/rpc/auth_des.h: Likewise.
45326         * include/rpc/auth_unix.h: Likewise.
45327         * include/rpc/clnt.h: Likewise.
45328         * include/rpc/des_crypt.h: Likewise.
45329         * include/rpc/key_prot.h: Likewise.
45330         * include/rpc/pmap_clnt.h: Likewise.
45331         * include/rpc/pmap_prot.h: Likewise.
45332         * include/rpc/pmap_rmt.h: Likewise.
45333         * include/rpc/rpc_msg.h: Likewise.
45334         * include/rpc/svc.h: Likewise.
45335         * include/rpc/svc_auth.h: Likewise.
45336         * include/rpc/xdr.h: Likewise.
45337         * nis/Makefile: Link all DSOs against linkobj/libc.so.
45338         * nss/Makefile: Likewise.
45339         * sunrpc/Makefile: Don't install headers.  Build library with normal
45340         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
45341         * sunrpc/auth_des.c: Hide exported symbols by default, export some
45342         for the compat linking library.  Remove use of INTDEF/INTUSE.
45343         * sunrpc/auth_none.c: Likewise.
45344         * sunrpc/auth_unix.c: Likewise.
45345         * sunrpc/authdes_prot.c: Likewise.
45346         * sunrpc/authuxprot.c: Likewise.
45347         * sunrpc/clnt_gen.c: Likewise.
45348         * sunrpc/clnt_perr.c: Likewise.
45349         * sunrpc/clnt_raw.c: Likewise.
45350         * sunrpc/clnt_simp.c: Likewise.
45351         * sunrpc/clnt_tcp.c: Likewise.
45352         * sunrpc/clnt_udp.c: Likewise.
45353         * sunrpc/clnt_unix.c: Likewise.
45354         * sunrpc/des_crypt.c: Likewise.
45355         * sunrpc/des_soft.c: Likewise.
45356         * sunrpc/get_myaddr.c: Likewise.
45357         * sunrpc/key_call.c: Likewise.
45358         * sunrpc/key_prot.c: Likewise.
45359         * sunrpc/netname.c: Likewise.
45360         * sunrpc/pm_getmaps.c: Likewise.
45361         * sunrpc/pm_getport.c: Likewise.
45362         * sunrpc/pmap_clnt.c: Likewise.
45363         * sunrpc/pmap_prot.c: Likewise.
45364         * sunrpc/pmap_prot2.c: Likewise.
45365         * sunrpc/pmap_rmt.c: Likewise.
45366         * sunrpc/publickey.c: Likewise.
45367         * sunrpc/rpc_cmsg.c: Likewise.
45368         * sunrpc/rpc_common.c: Likewise.
45369         * sunrpc/rpc_dtable.c: Likewise.
45370         * sunrpc/rpc_prot.c: Likewise.
45371         * sunrpc/rpc_thread.c: Likewise.
45372         * sunrpc/rtime.c: Likewise.
45373         * sunrpc/svc.c: Likewise.
45374         * sunrpc/svc_auth.c: Likewise.
45375         * sunrpc/svc_authux.c: Likewise.
45376         * sunrpc/svc_raw.c: Likewise.
45377         * sunrpc/svc_run.c: Likewise.
45378         * sunrpc/svc_simple.c: Likewise.
45379         * sunrpc/svc_tcp.c: Likewise.
45380         * sunrpc/svc_udp.c: Likewise.
45381         * sunrpc/svc_unix.c: Likewise.
45382         * sunrpc/svcauth_des.c: Likewise.
45383         * sunrpc/xcrypt.c: Likewise.
45384         * sunrpc/xdr.c: Likewise.
45385         * sunrpc/xdr_array.c: Likewise.
45386         * sunrpc/xdr_float.c: Likewise.
45387         * sunrpc/xdr_intXX_t.c: Likewise.
45388         * sunrpc/xdr_mem.c: Likewise.
45389         * sunrpc/xdr_rec.c: Likewise.
45390         * sunrpc/xdr_ref.c: Likewise.
45391         * sunrpc/xdr_sizeof.c: Likewise.
45392         * sunrpc/xdr_stdio.c: Likewise.
45393
45394 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
45395
45396         [BZ #12650]
45397         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45398         * sysdeps/ia64/dl-tls.h: Likewise.
45399         * sysdeps/powerpc/dl-tls.h: Likewise.
45400         * sysdeps/s390/dl-tls.h: Likewise.
45401         * sysdeps/sh/dl-tls.h: Likewise.
45402         * sysdeps/sparc/dl-tls.h: Likewise.
45403         * sysdeps/x86_64/dl-tls.h: Likewise.
45404         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45405
45406 2011-03-14  Andreas Schwab  <schwab@redhat.com>
45407
45408         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45409         rpath element also skip the following colon.
45410         (expand_dynamic_string_token): Add is_path parameter and pass
45411         down to DL_DST_REQUIRED and _dl_dst_substitute.
45412         (decompose_rpath): Call expand_dynamic_string_token with
45413         non-zero is_path.  Ignore empty rpaths.
45414         (_dl_map_object_from_fd): Call expand_dynamic_string_token
45415         with zero is_path.
45416
45417 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
45418
45419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45420         Make cancelable.
45421
45422 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
45423
45424         [BZ #12655]
45425         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45426         Patch by Filipe David Manana <fdmanana@apache.org>.
45427
45428 2011-04-07  Andreas Schwab  <schwab@redhat.com>
45429
45430         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45431         Maintain aligned stack.
45432         (CHECK_RSP): Remove unused macro.
45433
45434 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
45435
45436         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45437         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45438
45439 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
45440
45441         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45442
45443         * include/features.h: Mention __USE_XOPEN2K8 in comment.
45444
45445 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
45446
45447         [BZ #12518]
45448         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45449         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45450         * sysdeps/x86_64/memmove.c: New file.
45451         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45452         (memcpy): Renamed to ...
45453         (__new_memcpy): This.
45454         (memcpy): Provide GLIBC_2_14 memcpy.
45455         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45456         (memcpy): Provide GLIBC_2_2_5 memcpy.
45457
45458 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45459
45460         [BZ #12631]
45461         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45462
45463 2011-03-30  Andreas Schwab  <schwab@redhat.com>
45464
45465         * misc/syncfs.c: New file.
45466         * misc/Makefile (routines): Add syncfs.
45467         * posix/unistd.h: Declare syncfs.
45468         * sysdeps/unix/syscalls.list: Add syncfs.
45469
45470 2011-04-01  Andreas Schwab  <schwab@redhat.com>
45471
45472         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45473         open_by_handle_at.
45474         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45475         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45476         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45477         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45478         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45479         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45480         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45481
45482 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45483
45484         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45485         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45486         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45487         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45488         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45489         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45490         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45491
45492         * io/Makefile: Compile fallocate.c, fallocate64.c, and
45493         sync_file_range.c with -fexceptions.
45494         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45495         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45496         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45497         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45498         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45499         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45500         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45501         sync_file_range as cancellation point
45502         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
45503         now a wrapper around __call_sync_file_range with cancellation handling.
45504         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45505         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
45506         function name to __call_sync_file_range.
45507         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45508         Add call_sync_file_range.
45509
45510 2011-04-01  Andreas Schwab  <schwab@redhat.com>
45511
45512         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45513         bits/timex.h.
45514
45515 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45516
45517         * iconv/iconv.h: Fix typo in comment.
45518         * io/fcntl.h: Likewise.
45519         * libio/stdio.h: Likewise.
45520         * posix/spawn.h: Likewise.
45521         * posix/unistd.h: Likewise.
45522         * stdlib/stdlib.h: Likewise.
45523         * time/time.h: Likewise.
45524         * wcsmbs/wchar.h: Likewise.
45525
45526         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45527         open_by_handle): Add.
45528         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45529         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
45530         Augment a few comments.
45531         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45532         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45533         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45534         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45535         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45536         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45537         open_by_handle.
45538
45539         * io/fcntl.h (AT_EMPTY_PATH): Define.
45540
45541 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
45542
45543         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45544         * sysdeps/unix/sysv/linux/bits/time.h: New file.
45545         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45546         to...
45547         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
45548         * Versions.def: Add GLIBC_2.14.
45549         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45550         Export.
45551
45552 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
45553
45554         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45555         round counter.
45556         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45557
45558 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45559
45560         [BZ #12597]
45561         * string/test-strncmp.c (do_page_test): New function.
45562         (check2): Likewise.
45563         (test_main): Call check2.
45564         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45565
45566 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
45567
45568         [BZ #12587]
45569         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45570         Handle cache information in CPU leaf 4.
45571         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45572
45573 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
45574
45575         [BZ #12583]
45576         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45577         character representation.
45578         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45579
45580 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
45581
45582         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45583         END(__isnan) to END(__isnanf) to match function entry point/label
45584         EALIGN(__isnanf,...).
45585
45586 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
45587
45588         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45589
45590 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
45591
45592         [BZ #12510]
45593         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45594         copy from the symbol referenced in the relocation to initialize the
45595         used variable.
45596         Patch by Piotr Bury <pbury@goahead.com>.
45597         * elf/Makefile: Add rules to build and tst-unique3.
45598         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45599         * elf/tst-unique3.cc: New file.
45600         * elf/tst-unique3.h: New file.
45601         * elf/tst-unique3lib.cc: New file.
45602         * elf/tst-unique3lib2.cc: New file.
45603
45604         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45605
45606 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
45607
45608         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45609         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
45610         to _start.
45611
45612 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
45613
45614         * elf/dl-load.c (_dl_map_object): If we are looking for the first
45615         to-be-loaded object along a path to loader is ld.so.
45616
45617 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
45618             Ulrich Drepper  <drepper@gmail.com>
45619
45620         * sysdeps/x86_64/memset.S: After aligning destination, code
45621         branches to different locations depending on the value of
45622         misalignment, when multiarch is enabled. Fix this.
45623
45624 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
45625
45626         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45627         Set _x86_64_preferred_memory_instruction for AMD processsors.
45628         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45629         Set bit_Prefer_SSE_for_memop for AMD processors.
45630
45631 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
45632
45633         * libio/fmemopen.c (fmemopen): Optimize a bit.
45634
45635 2011-03-03  Andreas Schwab  <schwab@redhat.com>
45636
45637         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45638
45639 2011-03-03  Roland McGrath  <roland@redhat.com>
45640
45641         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45642
45643 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
45644
45645         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45646         __bzero_ultra1 instead of __memset_ultra1.
45647
45648 2011-02-23  Andreas Schwab  <schwab@redhat.com>
45649             Ulrich Drepper  <drepper@gmail.com>
45650
45651         [BZ #12509]
45652         * include/link.h (struct link_map): Add l_orig_initfini.
45653         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45654         returning unsuccessfully.
45655         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45656         close of a file loaded at startup, restore the original l_initfini
45657         list.
45658         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45659         list, store the pointer.
45660         * elf/Makefile ($(objpfx)noload-mem): New rule.
45661         (noload-ENV): Define.
45662         (tests): Add $(objpfx)noload-mem.
45663         * elf/noload.c: Include <memcheck.h>.
45664         (main): Call mtrace.  Close all opened handles.
45665
45666 2011-02-17  Andreas Schwab  <schwab@redhat.com>
45667
45668         [BZ #12454]
45669         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45670         dependencies are missing.
45671
45672 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45673
45674         Fix __if_freereq crash: Unlike the generic version which uses free,
45675         Hurd needs munmap.
45676         * sysdeps/mach/hurd/ifreq.h: New file.
45677
45678 2011-01-27  Petr Baudis  <pasky@suse.cz>
45679             Ulrich Drepper  <drepper@gmail.com>
45680
45681         [BZ 12445]#
45682         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45683         to extend_alloca().
45684         * stdio-common/bug23.c: New file.
45685         * stdio-common/Makefile (tests): Add bug23.
45686
45687 2010-09-28  Andreas Schwab  <schwab@redhat.com>
45688             Ulrich Drepper  <drepper@gmail.com>
45689
45690         [BZ #12489]
45691         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45692         before performing relro protection.  At old place add assertion
45693         to make sure nothing changed.
45694
45695 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
45696             Glauber de Oliveira Costa  <glommer@gmail.com>
45697
45698         * elf/elf.h: Add new ARM TLS relocs.
45699
45700 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
45701
45702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45703         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45704         cast from r3.
45705         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
45706         'tests' variable.
45707         * sysdeps/wordsize-64/tst-writev.c: New file.
45708
45709 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
45710
45711         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45712         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45713         insns in _dl_start to prevent a TOC reference before relocs are
45714         resolved.
45715
45716 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
45717
45718         [BZ #12469]
45719         * Makeconfig: Remove RANLIB definition.
45720         * Makerules: Don't use RANLIB.
45721         * aclocal.m4: Remove ranlib test.
45722         * configure.in: No need to check for ranlib.
45723         * elf/rtld-Rules: Don't use RANLIB.
45724
45725 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45726
45727         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45728         protection macro.
45729         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45730         inclusion protection macro.
45731
45732         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45733         SIGRTMIN and SIGRTMAX and print information in that case only when
45734         SIGRTMIN is defined.
45735
45736 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
45737
45738         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45739         arginfo fn returning -1.
45740
45741         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45742         and thousands string is zero terminated.
45743
45744 2011-02-03  Andreas Schwab  <schwab@redhat.com>
45745
45746         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45747         sysdeps/unix/sysv/linux/bits/socket.h.
45748
45749 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45750
45751         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45752         (__CPU_COUNT): Remove old macros.
45753         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45754         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45755         (__CPU_ALLOC, __CPU_FREE): Add macros.
45756         (__sched_cpualloc, __sched_cpufree): Add declarations.
45757
45758 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
45759
45760         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45761         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45762         * nscd/aicache.c (addhstaiX): Return timeout of added value.
45763         (readdhstai): Return value of addhstaiX call.
45764         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45765         (addgrbyX): Return value returned by cache_addgr.
45766         (readdgrbyname): Return value returned by addgrbyX.
45767         (readdgrbygid): Likewise.
45768         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45769         (addpwbyX): Return value returned by cache_addpw.
45770         (readdpwbyname): Return value returned by addhstbyX.
45771         (readdpwbyuid): Likewise.
45772         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45773         (addservbyX): Return value returned by cache_addserv.
45774         (readdservbyname): Return value returned by addservbyX:
45775         (readdservbyport): Likewise.
45776         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45777         (addhstbyX): Return value returned by cache_addhst.
45778         (readdhstbyname): Return value returned by addhstbyX.
45779         (readdhstbyaddr): Likewise.
45780         (readdhstbynamev6): Likewise.
45781         (readdhstbyaddrv6): Likewise.
45782         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45783         (readdinitgroups): Return value returned by addinitgroupsX.
45784         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45785         (prune_cache): Keep track of timeout value of re-added entries.
45786         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45787         * nscd/nscd.h: Adjust prototypes of readd* functions.
45788
45789 2011-02-04  Roland McGrath  <roland@redhat.com>
45790
45791         * nis/nis_server.c (nis_servstate): Use the right name for 0.
45792         (nis_stats): Likewise.
45793         * nis/nis_modify.c (nis_modify): Likewise.
45794         * nis/nis_remove.c (nis_remove): Likewise.
45795         * nis/nis_add.c (nis_add): Likewise.
45796
45797         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45798
45799         * posix/fnmatch_loop.c: Add some consts.
45800
45801         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45802
45803 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
45804
45805         [BZ #12460]
45806         * config.make.in (config-cflags-novzeroupper): Define.
45807         * configure.in: Substitute libc_cv_cc_novzeroupper.
45808         * elf/Makefile (AVX-CFLAGS): Define.
45809         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45810         (CFLAGS-tst-auditmod4a.c): Likewise.
45811         (CFLAGS-tst-auditmod4b.c): Likewise.
45812         (CFLAGS-tst-auditmod6b.c): Likewise.
45813         (CFLAGS-tst-auditmod6c.c): Likewise.
45814         (CFLAGS-tst-auditmod7b.c): Likewise.
45815         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45816
45817 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
45818
45819         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45820         function to the callback.
45821         Patch partly by Jiri Olsa <jolsa@redhat.com>.
45822
45823 2011-02-02  Andreas Schwab  <schwab@redhat.com>
45824
45825         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45826         of errno.
45827
45828 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
45829
45830         [BZ #11724]
45831         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45832         of constructors.
45833         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45834         of destructors.
45835         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45836
45837         [BZ #11724]
45838         * elf/Makefile: Add rules to build and run new test.
45839         * elf/tst-initorder.c: New file.
45840         * elf/tst-initorder.exp: New file.
45841         * elf/tst-initordera1.c: New file.
45842         * elf/tst-initordera2.c: New file.
45843         * elf/tst-initordera3.c: New file.
45844         * elf/tst-initordera4.c: New file.
45845         * elf/tst-initorderb1.c: New file.
45846         * elf/tst-initorderb2.c: New file.
45847         * elf/tst-order-a1.c: New file.
45848         * elf/tst-order-a2.c: New file.
45849         * elf/tst-order-a3.c: New file.
45850         * elf/tst-order-a4.c: New file.
45851         * elf/tst-order-b1.c: New file.
45852         * elf/tst-order-b2.c: New file.
45853         * elf/tst-order-main.c: New file.
45854         New test case by George Gensure <werkt0@gmail.com>.
45855
45856 2010-10-01  Andreas Schwab  <schwab@redhat.com>
45857
45858         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45859         decoding ACE if AI_CANONIDN.
45860
45861 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
45862
45863         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45864
45865 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
45866
45867         * version.h (RELEASE): Bump for 2.13 release.
45868         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45869
45870         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45871
45872         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45873         MADV_NOHUGEPAGE.
45874         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45875         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45876         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45877         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45878         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45879         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45880
45881         * posix/getconf.c: Update copyright year.
45882         * catgets/gencat.c: Likewise.
45883         * csu/version.c: Likewise.
45884         * debug/catchsegv.sh: Likewise.
45885         * debug/xtrace.sh: Likewise.
45886         * elf/ldconfig.c: Likewise.
45887         * elf/ldd.bash.in: Likewise.
45888         * elf/sprof.c (print_version): Likewise.
45889         * iconv/iconv_prog.c: Likewise.
45890         * iconv/iconvconfig.c: Likewise.
45891         * locale/programs/locale.c: Likewise.
45892         * locale/programs/localedef.c: Likewise.
45893         * malloc/memusage.sh: Likewise.
45894         * malloc/mtrace.pl: Likewise.
45895         * nscd/nscd.c (print_version): Likewise.
45896         * nss/getent.c: Likewise.
45897
45898         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45899         PF_CAIF, and PF_ALG.
45900         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45901
45902 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
45903
45904         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45905         (modules-names): Use them.
45906         (ifunc-test-modules, ifunc-pie-tests): Define.
45907         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45908         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45909         (test-extras): Likewise.
45910         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45911         $(compile-command.c).
45912         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45913         (all-built-dso): Define.
45914         (check-textrel.out, check-execstack.out): Depend on it.
45915
45916         * configure.in: Don't override --enable-multi-arch.
45917
45918 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
45919
45920         [BZ #6812]
45921         * nscd/hstcache.c (tryagain): Define.
45922         (cache_addhst): Return tryagain not notfound for temporary errors.
45923         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45924         failed.
45925
45926 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
45927
45928         [BZ #10563]
45929         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45930         to make the syscall.
45931         * sysdeps/unix/sysv/linux/setgroups.c: New file.
45932
45933         [BZ #12378]
45934         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45935         and fall back to matching as normal character if the string ends before
45936         the matching ']' is found.  This is what POSIX requires.
45937         * posix/testfnm.c: Adjust test result.
45938         * posix/globtest.sh: Adjust test result.  Add new test.
45939         * posix/tst-fnmatch.input: Likewise.
45940         * posix/tst-fnmatch2.c: Add new test.
45941
45942 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
45943
45944         * elf/Makefile (check-execstack): Revert last change.  Depend on
45945         check-execstack.h.
45946         (check-execstack.h): New target.
45947         (generated): Add check-execstack.h.
45948         * elf/check-execstack.c: Include "check-execstack.h".
45949         (main): Revert last change.
45950         (handle_file): Return zero if GNU_STACK is absent and
45951         DEFAULT_STACK_PERMS doesn't include PF_X.
45952
45953 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
45954
45955         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45956         in child fails because the descriptor is already closed.
45957         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45958         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45959         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45960
45961         [BZ #12397]
45962         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45963         syscall.
45964
45965         [BZ #10484]
45966         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45967         temporary buffer used to handle multi lookups locally.
45968         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45969
45970 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
45971
45972         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45973         loader is ld.so.
45974
45975 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
45976
45977         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45978         alignment for SSE2.
45979
45980 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
45981
45982         [BZ #12394]
45983         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45984         characters.  When rounding increased number of integer digits recompute
45985         number of groups.
45986         * stdio-common/tst-grouping.c: New file.
45987         * stdio-common/Makefile: Add rules to build and run tst-grouping.
45988
45989 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
45990
45991         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45992         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
45993
45994         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45995         void.
45996         * bits/select.h: Likewise.
45997
45998 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
45999
46000         * po/ja.po: Update from translation team.
46001
46002 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
46003
46004         [BZ #11155]
46005         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46006         implementation just like for lxstat, fxstatat, et al.
46007
46008 2010-12-27  Jim Meyering  <meyering@redhat.com>
46009
46010         [BZ #12348]
46011         * posix/regexec.c (build_trtable): Return failure indication upon
46012         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
46013
46014 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
46015
46016         [BZ #12201]
46017         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46018         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46019         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46020         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46021
46022         [BZ #12207]
46023         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46024
46025         [BZ #12204]
46026         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46027         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46028
46029 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
46030
46031         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46032         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46033         script has SORT_BY_INIT_PRIORITY.
46034         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46035         NO_CTORS_DTORS_SECTIONS is defined.
46036         * elf/soinit.c: Likewise.
46037         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46038         NO_CTORS_DTORS_SECTIONS is defined.
46039         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46040         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46041         * sysdeps/sh/init-first.c: Likewise.
46042         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46043
46044 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
46045
46046         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46047         always use the slow path.
46048
46049 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
46050
46051         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46052         similar rule which adds the sysdep directories to the header search in
46053         order to pick up the correct platform stackinfo.h.
46054         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46055         perform test if it is, otherwise return successfully without testing.
46056         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46057         DEFAULT_STACK_PERMS define in stackinfo.h.
46058         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46059         defined in stackinfo.h.
46060         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46061         DEFAULT_STACK_PERMS defined in stackinfo.h.
46062         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46063         * sysdeps/ia64/stackinfo.h: Likewise.
46064         * sysdeps/s390/stackinfo.h: Likewise.
46065         * sysdeps/sh/stackinfo.h: Likewise.
46066         * sysdeps/sparc/stackinfo.h: Likewise.
46067         * sysdeps/x86_64/stackinfo.h: Likewise.
46068         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46069         PF_X for powerpc64.  Retain PF_X for powerpc32.
46070
46071 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
46072
46073         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46074         accurately.
46075         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46076         GETDENTS_64BIT_ALIGNED.
46077
46078 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
46079
46080         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46081
46082 2010-12-10  Andreas Schwab  <schwab@redhat.com>
46083
46084         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46085         _GNU_SOURCE.
46086
46087         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46088         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46089         Remove __restrict.
46090         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46091         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46092
46093 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
46094
46095         [BZ #11655]
46096         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46097         are initialized.
46098
46099 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
46100
46101         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46102
46103 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
46104
46105         * po/it.po: Update from translation team.
46106
46107 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
46108
46109         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46110         unused codes.
46111
46112 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
46113
46114         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46115
46116 2010-11-24  Andreas Schwab  <schwab@redhat.com>
46117
46118         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46119         specially.
46120         (gaih_getanswer_slice): Likewise.
46121
46122 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
46123
46124         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46125
46126 2010-05-31  Petr Baudis  <pasky@suse.cz>
46127
46128         [BZ #11149]
46129         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46130         silently even in the chroot mode.
46131
46132 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
46133
46134         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46135         last patch a bit.  Pretty printing
46136
46137 2010-05-31  Petr Baudis <pasky@suse.cz>
46138
46139         [BZ #10085]
46140         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46141         initialization of skip_initgroups_dyn.
46142
46143 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
46144
46145         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46146         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46147
46148 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
46149
46150         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46151
46152 2010-11-11  Andreas Schwab  <schwab@redhat.com>
46153
46154         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46155         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46156         (tst-fnmatch-ENV): Set MALLOC_TRACE.
46157         ($(objpfx)tst-fnmatch-mem): New rule.
46158         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46159         * posix/tst-fnmatch.c (main): Call mtrace.
46160
46161 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
46162
46163         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46164         Support Intel processor model 6 and model 0x2c.
46165
46166 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
46167
46168         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46169           signed comparison.
46170
46171 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
46172
46173         [BZ #12205]
46174         * string/test-strncasecmp.c (check_result): New function.
46175         (do_one_test): Use it.
46176         (check1): New function.
46177         (test_main): Use it.
46178         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46179         Support strcasecmp and strncasecmp.
46180
46181 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
46182
46183         [BZ #12194]
46184         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46185         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46186
46187 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
46188
46189         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46190         IFUNC support.
46191         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46192         memset-x86-64.
46193         * sysdeps/x86_64/multiarch/bzero.S: New file.
46194         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46195         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46196         * sysdeps/x86_64/multiarch/memset.S: New file.
46197         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46198         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46199         Set bit_Prefer_SSE_for_memop for Intel processors.
46200         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46201         Define.
46202         (index_Prefer_SSE_for_memop): Define.
46203         (HAS_PREFER_SSE_FOR_MEMOP): Define.
46204
46205 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
46206
46207         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46208         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46209
46210 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
46211
46212         [BZ #12191]
46213         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46214         (__x86_64_raw_data_cache_size_half): Likewise.
46215         (__x86_64_raw_shared_cache_size): Likewise.
46216         (__x86_64_raw_shared_cache_size_half): Likewise.
46217
46218         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46219         (__x86_64_raw_data_cache_size_half): Likewise.
46220         (__x86_64_raw_shared_cache_size): Likewise.
46221         (__x86_64_raw_shared_cache_size_half): Likewise.
46222         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46223         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46224         and __x86_64_raw_shared_cache_size_half.  Round
46225         __x86_64_data_cache_size_half, __x86_64_data_cache_size
46226         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46227         to multiple of 256 bytes.
46228
46229 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
46230
46231         [BZ #12167]
46232         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46233         of inacessible symlinks.  Verify result of symlink before returning it.
46234         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46235         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46236
46237 2010-10-28  Erich Ritz  <erichritz@gmail.com>
46238
46239         * math/math.h (isinf): Fix typo in comment.
46240
46241 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
46242
46243         * po/da.po: Update from translation team.
46244
46245 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
46246
46247         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46248         is added to the list.
46249
46250 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46251             Ulrich Drepper  <drepper@gmail.com>
46252
46253         * elf/dl-object.c (_dl_new_object): Don't append the new object to
46254         the global list here.  Move code to...
46255         (_dl_add_to_namespace_list): ...here.  New function.
46256         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46257         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46258         * elf/dl-load.c (lose): Don't remove the element from the list.
46259         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46260         (_dl_map_object): Likewise.
46261
46262 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
46263
46264         [BZ #12159]
46265         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46266         into all bytes of SSE register.
46267         Patch by Richard Li <richardpku@gmail.com>.
46268
46269 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
46270
46271         [BZ #12140]
46272         * malloc/malloc.c (_int_free): Fill correct number of bytes when
46273         perturbing.
46274
46275 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
46276
46277         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46278         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46279         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46280         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46282         submachine.
46283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46284
46285 2010-10-22  Andreas Schwab  <schwab@redhat.com>
46286
46287         * include/dlfcn.h (__RTLD_SECURE): Define.
46288         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
46289         mode & __RTLD_SECURE instead.
46290         (open_path): Rename preloaded parameter to secure.
46291         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46292         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46293         * elf/dl-deps.c (openaux): Likewise.
46294         * elf/rtld.c (struct map_args): Remove is_preloaded.
46295         (map_doit): Don't use it.
46296         (dl_main): Likewise.
46297         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46298         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46299
46300 2010-09-09  Andreas Schwab  <schwab@redhat.com>
46301
46302         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46303         (sysd-rules-targets): Remove duplicates.
46304         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46305         rtld-%.$o dependency.
46306
46307 2010-10-18  Andreas Schwab  <schwab@redhat.com>
46308
46309         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46310         _dl_map_object do it.
46311
46312 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
46313
46314         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46315         fast fma builtins, define the macros in the C99 standard.
46316         (FP_FAST_FMAF): Likewise.
46317         (FP_FAST_FMAL): Likewise.
46318         * sysdeps/x86_64/bits/mathdef.h: Likewise.
46319
46320         * bits/mathdef.h: Update copyright year.
46321         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46322
46323 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
46324
46325         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46326         builtins, define the macros in the C99 standard.
46327         (FP_FAST_FMAF): Likewise.
46328         (FP_FAST_FMAL): Likewise.
46329         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46330         multiply/add.
46331         (FP_FAST_FMAF): Likewise.
46332
46333 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
46334
46335         [BZ #3268]
46336         * math/libm-test.inc (fma_test): Some new testcases.
46337         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46338         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46339         y and infinite z.  Do multiplication by C already in long double.
46340         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46341         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46342         y and infinite z.  Do bitwise or of inexact bit into u.d.
46343         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46344         * sysdeps/i386/fpu/s_fmaf.S: Removed.
46345         * sysdeps/i386/fpu/s_fma.S: Removed.
46346         * sysdeps/i386/fpu/s_fmal.S: Removed.
46347
46348 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
46349
46350         [BZ #3268]
46351         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46352         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46353         computation is not scheduled after fetestexcept.  Fix value
46354         of minimum denormal long double.
46355
46356 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
46357
46358         [BZ #3268]
46359         * math/libm-test.inc (fma_test): Add some more tests.
46360         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46361         correctly.
46362
46363 2010-10-15  Andreas Schwab  <schwab@redhat.com>
46364
46365         * scripts/data/localplt-s390-linux-gnu.data: New file.
46366         * scripts/data/localplt-s390x-linux-gnu.data: New file.
46367
46368 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
46369
46370         [BZ #3268]
46371         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46372         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46373         instead of dbl-64.
46374         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46375         inlines.
46376         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46377         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46378         if one of x and y is very large and the other is subnormal.
46379         * sysdeps/s390/fpu/s_fmaf.c: New file.
46380         * sysdeps/s390/fpu/s_fma.c: New file.
46381         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46382         * sysdeps/powerpc/fpu/s_fma.S: New file.
46383         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46384         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46385         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46386
46387 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
46388
46389         [BZ #3268]
46390         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46391         fma tests.
46392         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46393         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46394         * sysdeps/i386/i686/multiarch/s_fma.c: Include
46395         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46396         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46397         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46398         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46399
46400 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
46401
46402         [BZ #12078]
46403         * posix/regcomp.c (parse_branch): One more memory leak plugged.
46404         * posix/bug-regex31.input: Add test case.
46405
46406 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
46407
46408         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46409         * posix/bug-regex31.input: New file.
46410
46411         [BZ #12078]
46412         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46413         (parse_sub_exp): Fix last change, use postorder.
46414
46415         * posix/bug-regex31.c: New file.
46416         * posix/Makefile: Add rules to build and run bug-regex31.
46417
46418         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46419
46420         [BZ #12078]
46421         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46422
46423         [BZ #12108]
46424         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46425         to have entries in sys_siglist.
46426
46427         [BZ #12093]
46428         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46429         be NULL.
46430
46431 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
46432
46433         [BZ #3268]
46434         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46435         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46436         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46437         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46438         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46439         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46440         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46441         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46442         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46443         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46444         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46445         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46446         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46447         * math/ftestexcept.c (fetestexcept): Likewise.
46448         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46449         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46450         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46451         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46452         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46453         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46454         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46455
46456 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
46457
46458         [BZ #12107]
46459         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46460         newline.
46461
46462 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
46463
46464         * string/bug-strstr1.c: New file.
46465         * string/Makefile: Add rules to build and run bug-strstr1.
46466
46467 2010-10-05  Eric Blake  <eblake@redhat.com>
46468
46469         [BZ #12092]
46470         * string/str-two-way.h (two_way_long_needle): Always clear memory
46471         when skipping input due to the shift table.
46472
46473 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
46474
46475         [BZ #12005]
46476         * malloc/mcheck.c: Handle large requests.
46477
46478         [BZ #12077]
46479         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46480         for strncmp and strncasecmp.
46481         * string/stratcliff.c: Add tests for strcmp and strncmp.
46482         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46483
46484 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46485
46486         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46487         __set_fpscr.
46488
46489 2010-09-30  Andreas Jaeger  <aj@suse.de>
46490
46491         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46492         (CGROUP_SUPER_MAGIC): Define.
46493         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46494         Handle btrfs and cgroup file systems.
46495         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46496         Likewise.
46497
46498 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
46499
46500         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46501         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46502
46503 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46504
46505         [BZ #12067]
46506         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46507         trying to locate the ELF header.
46508
46509 2010-09-27  Andreas Schwab  <schwab@redhat.com>
46510
46511         [BZ #11611]
46512         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46513         Mask out sign-bit copies when constructing f_fsid.
46514
46515 2010-09-24  Petr Baudis <pasky@suse.cz>
46516
46517         * debug/stack_chk_fail_local.c: Add missing licence exception.
46518         * debug/warning-nop.c: Likewise.
46519
46520 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
46521
46522         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46523         implementing getdents64 using getdents syscall, set d_type if
46524         __ASSUME_GETDENTS32_D_TYPE.
46525
46526 2010-09-16  Andreas Schwab  <schwab@redhat.com>
46527
46528         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46529         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46530
46531 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
46532
46533         [BZ #12037]
46534         * posix/unistd.h: Undo change of feature selection for ftruncate from
46535         2010-01-11.
46536
46537 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
46538
46539         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46540         detection.
46541
46542 2010-09-20  Andreas Schwab  <schwab@redhat.com>
46543
46544         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46545         fanotify_mark.
46546         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46547
46548 2010-09-14  Andreas Schwab  <schwab@redhat.com>
46549
46550         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46551         variables after CHECK_SP call.
46552         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46553
46554 2010-09-13  Andreas Schwab  <schwab@redhat.com>
46555             Ulrich Drepper  <drepper@redhat.com>
46556
46557         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46558         re-relocationg ld.so.
46559         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46560         _dl_init_paths call.
46561         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
46562         here anymore.
46563
46564 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
46565
46566         * resolv/res_init.c (__res_vinit): Count the default server we added.
46567
46568 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
46569             Ulrich Drepper  <drepper@redhat.com>
46570
46571         [BZ #11968]
46572         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46573         (____longjmp_chk): Use %ebx for saving value across system call.
46574         Add unwind info.
46575
46576 2010-09-06  Andreas Schwab  <schwab@redhat.com>
46577
46578         * manual/Makefile: Don't mix pattern rules with normal rules.
46579
46580 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
46581
46582         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46583         operation.
46584         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46585         * libio/iofopncook.c (_IO_cookie_init): Likewise.
46586         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46587         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46588         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46589         Likewise.
46590
46591 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
46592
46593         [BZ #11979]
46594         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46595         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46596
46597 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
46598
46599         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46600         * sysdeps/x86_64/addmul_1.S: Likewise.
46601         * sysdeps/x86_64/lshift.S: Likewise.
46602         * sysdeps/x86_64/mul_1.S: Likewise.
46603         * sysdeps/x86_64/rshift.S: Likewise.
46604         * sysdeps/x86_64/sub_n.S: Likewise.
46605         * sysdeps/x86_64/submul_1.S: Likewise.
46606
46607 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46608
46609         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46610         Define __sched_param instead of SCHED_* and sched_param when
46611         <bits/sched.h> is included with __need_schedparam defined.
46612         * bits/sched.h [__need_schedparam]
46613         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46614         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46615         (__defined_schedparam): Define to 1.
46616         (__sched_param): New structure, identical to sched_param.
46617         (__need_schedparam): Undefine.
46618
46619 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
46620
46621         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46622         (epoll_create1): Declare.
46623
46624         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46625
46626 2010-08-31  Andreas Schwab  <schwab@redhat.com>
46627
46628         [BZ #7066]
46629         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46630         shifting retval into place.
46631
46632 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
46633
46634         * nis/rpcsvc/nis.h: Update copyright notice.
46635         * nis/rpcsvc/nis.x: Likewise.
46636         * nis/rpcsvc/nis_callback.h: Likewise.
46637         * nis/rpcsvc/nis_callback.x: Likewise.
46638         * nis/rpcsvc/nis_object.x: Likewise.
46639         * nis/rpcsvc/nis_tags.h: Likewise.
46640         * nis/rpcsvc/yp.h: Likewise.
46641         * nis/rpcsvc/yp.x: Likewise.
46642         * nis/rpcsvc/ypupd.h: Likewise.
46643         * nis/yp_xdr.c: Likewise.
46644         * nis/ypupdate_xdr.c: Likewise.
46645
46646         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
46647         mainly the body of pmap_getport.  Add parameters to specify timeouts.
46648         (pmap_getport): Use __libc_rpc_getport.
46649         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46650         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46651         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46652
46653 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
46654
46655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46656         fanotify_mark.
46657
46658 2010-08-27  Roland McGrath  <roland@redhat.com>
46659
46660         * sysdeps/i386/i686/multiarch/Makefile
46661         (CFLAGS-varshift.c): New variable.
46662
46663 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
46664
46665         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46666         * sysdeps/i386/i686/multiarch/varshift.c: New file.
46667
46668         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46669
46670         * sysdeps/x86_64/strlen.S: Minimal code improvement.
46671
46672 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
46673
46674         * sysdeps/x86_64/strlen.S: Unroll the loop.
46675         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46676         strlen-sse2 strlen-sse2-bsf.
46677         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46678         __strlen_no_bsf if bit_Slow_BSF is set.
46679         (__strlen_sse42): Removed.
46680         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46681         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46682
46683 2010-08-25  Roland McGrath  <roland@redhat.com>
46684
46685         * sysdeps/x86_64/multiarch/varshift.S: File removed.
46686         * sysdeps/x86_64/multiarch/varshift.c: New file.
46687         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46688         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46689         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46690         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46691
46692 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
46693
46694         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46695         strlen-sse2 strlen-sse2-bsf.
46696         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46697         __strlen_sse2_bsf if bit_Slow_BSF is unset.
46698         (__strlen_sse2): Removed.
46699         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46700         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46701         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46702         bit_Slow_BSF for Atom.
46703         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46704         (index_Slow_BSF): Define.
46705         (HAS_SLOW_BSF): Define.
46706
46707 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
46708
46709         [BZ #10851]
46710         * resolv/res_init.c (__res_vinit): When no server address at all
46711         is given default to loopback.
46712
46713 2010-08-24  Roland McGrath  <roland@redhat.com>
46714
46715         * configure.in: Remove config-name.h generation.
46716         * configure: Regenerated.
46717         * config-name.in: File removed.
46718         * scripts/config-uname.sh: New file.
46719         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46720         ($(objdir)config-name.h): New target.
46721
46722         * sunrpc/rpc_parse.h: Avoid nested comment.
46723
46724 2010-08-24  Richard Henderson  <rth@redhat.com>
46725             Ulrich Drepper  <drepper@redhat.com>
46726             H.J. Lu  <hongjiu.lu@intel.com>
46727
46728         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46729         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46730         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46731         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
46732         _mm_alignr_epi8 with _mm_loadu_si128.
46733         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46734         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46735         (__m128i_shift_right): Removed.
46736         * sysdeps/i386/i686/multiarch/varshift.h: New file.
46737         * sysdeps/i386/i686/multiarch/varshift.S: New file.
46738         * sysdeps/x86_64/multiarch/varshift.h: New file.
46739         * sysdeps/x86_64/multiarch/varshift.S: New file.
46740
46741 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
46742
46743         * configure.in: Move assembler checks to before sysdep dir checking.
46744
46745 2010-08-20  Petr Baudis  <pasky@suse.cz>
46746
46747         * LICENSES: Sync the sunrpc license.
46748
46749 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
46750
46751         * sunrpc/auth_des.c: Update copyright notice once again.
46752         * sunrpc/auth_none.c: Likewise.
46753         * sunrpc/auth_unix.c: Likewise.
46754         * sunrpc/authdes_prot.c: Likewise.
46755         * sunrpc/authuxprot.c: Likewise.
46756         * sunrpc/bindrsvprt.c: Likewise.
46757         * sunrpc/clnt_gen.c: Likewise.
46758         * sunrpc/clnt_perr.c: Likewise.
46759         * sunrpc/clnt_raw.c: Likewise.
46760         * sunrpc/clnt_simp.c: Likewise.
46761         * sunrpc/clnt_tcp.c: Likewise.
46762         * sunrpc/clnt_udp.c: Likewise.
46763         * sunrpc/clnt_unix.c: Likewise.
46764         * sunrpc/des_crypt.c: Likewise.
46765         * sunrpc/des_soft.c: Likewise.
46766         * sunrpc/get_myaddr.c: Likewise.
46767         * sunrpc/getrpcport.c: Likewise.
46768         * sunrpc/key_call.c: Likewise.
46769         * sunrpc/key_prot.c: Likewise.
46770         * sunrpc/openchild.c: Likewise.
46771         * sunrpc/pm_getmaps.c: Likewise.
46772         * sunrpc/pm_getport.c: Likewise.
46773         * sunrpc/pmap_clnt.c: Likewise.
46774         * sunrpc/pmap_prot.c: Likewise.
46775         * sunrpc/pmap_prot2.c: Likewise.
46776         * sunrpc/pmap_rmt.c: Likewise.
46777         * sunrpc/rpc/auth.h: Likewise.
46778         * sunrpc/rpc/auth_unix.h: Likewise.
46779         * sunrpc/rpc/clnt.h: Likewise.
46780         * sunrpc/rpc/des_crypt.h: Likewise.
46781         * sunrpc/rpc/key_prot.h: Likewise.
46782         * sunrpc/rpc/netdb.h: Likewise.
46783         * sunrpc/rpc/pmap_clnt.h: Likewise.
46784         * sunrpc/rpc/pmap_prot.h: Likewise.
46785         * sunrpc/rpc/pmap_rmt.h: Likewise.
46786         * sunrpc/rpc/rpc.h: Likewise.
46787         * sunrpc/rpc/rpc_des.h: Likewise.
46788         * sunrpc/rpc/rpc_msg.h: Likewise.
46789         * sunrpc/rpc/svc.h: Likewise.
46790         * sunrpc/rpc/svc_auth.h: Likewise.
46791         * sunrpc/rpc/types.h: Likewise.
46792         * sunrpc/rpc/xdr.h: Likewise.
46793         * sunrpc/rpc_clntout.c: Likewise.
46794         * sunrpc/rpc_cmsg.c: Likewise.
46795         * sunrpc/rpc_common.c: Likewise.
46796         * sunrpc/rpc_cout.c: Likewise.
46797         * sunrpc/rpc_dtable.c: Likewise.
46798         * sunrpc/rpc_hout.c: Likewise.
46799         * sunrpc/rpc_main.c: Likewise.
46800         * sunrpc/rpc_parse.c: Likewise.
46801         * sunrpc/rpc_parse.h: Likewise.
46802         * sunrpc/rpc_prot.c: Likewise.
46803         * sunrpc/rpc_sample.c: Likewise.
46804         * sunrpc/rpc_scan.c: Likewise.
46805         * sunrpc/rpc_scan.h: Likewise.
46806         * sunrpc/rpc_svcout.c: Likewise.
46807         * sunrpc/rpc_tblout.c: Likewise.
46808         * sunrpc/rpc_util.c: Likewise.
46809         * sunrpc/rpc_util.h: Likewise.
46810         * sunrpc/rpcinfo.c: Likewise.
46811         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46812         * sunrpc/rpcsvc/key_prot.x: Likewise.
46813         * sunrpc/rpcsvc/klm_prot.x: Likewise.
46814         * sunrpc/rpcsvc/mount.x: Likewise.
46815         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46816         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46817         * sunrpc/rpcsvc/rex.x: Likewise.
46818         * sunrpc/rpcsvc/rstat.x: Likewise.
46819         * sunrpc/rpcsvc/rusers.x: Likewise.
46820         * sunrpc/rpcsvc/sm_inter.x: Likewise.
46821         * sunrpc/rpcsvc/spray.x: Likewise.
46822         * sunrpc/rpcsvc/yppasswd.x: Likewise.
46823         * sunrpc/rtime.c: Likewise.
46824         * sunrpc/svc.c: Likewise.
46825         * sunrpc/svc_auth.c: Likewise.
46826         * sunrpc/svc_authux.c: Likewise.
46827         * sunrpc/svc_raw.c: Likewise.
46828         * sunrpc/svc_run.c: Likewise.
46829         * sunrpc/svc_simple.c: Likewise.
46830         * sunrpc/svc_tcp.c: Likewise.
46831         * sunrpc/svc_udp.c: Likewise.
46832         * sunrpc/svc_unix.c: Likewise.
46833         * sunrpc/svcauth_des.c: Likewise.
46834         * sunrpc/xcrypt.c: Likewise.
46835         * sunrpc/xdr.c: Likewise.
46836         * sunrpc/xdr_array.c: Likewise.
46837         * sunrpc/xdr_float.c: Likewise.
46838         * sunrpc/xdr_mem.c: Likewise.
46839         * sunrpc/xdr_rec.c: Likewise.
46840         * sunrpc/xdr_ref.c: Likewise.
46841         * sunrpc/xdr_sizeof.c: Likewise.
46842         * sunrpc/xdr_stdio.c: Likewise.
46843
46844         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46845         handling.
46846
46847 2010-08-19  Andreas Schwab  <schwab@redhat.com>
46848
46849         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46850
46851 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
46852
46853         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46854         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46855         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46856         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46857         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46858         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46859         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46860         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46861         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46862         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46863         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46864         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46865         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46866         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46867
46868 2010-07-26  Anton Blanchard  <anton@samba.org>
46869
46870         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46871         * malloc/arena.c (heap_trim): Likewise.
46872
46873 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
46874
46875         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46876         here.  Not...
46877         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46878         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46879
46880 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
46881
46882         * sysdeps/i386/elf/Makefile: New file.
46883
46884 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
46885
46886         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46887         from fanotify_init.
46888         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46889         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46890
46891 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
46892
46893         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46894         of strncasecmp_l.
46895         * sysdeps/multiarch/strcmp.S: Likewise.
46896
46897 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
46898
46899         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46900         strncase_l-nonascii.
46901         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46902         Add strncase_l-ssse3.
46903         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46904         * sysdeps/x86_64/strcmp.S: Likewise.
46905         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46906         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46907         * sysdeps/x86_64/strncase.S: New file.
46908         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46909         * sysdeps/x86_64/strncase_l.S: New file.
46910         * string/Makefile (strop-tests): Add strncasecmp.
46911         * string/test-strncasecmp.c: New file.
46912
46913         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46914         warning.
46915
46916         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46917         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46918
46919 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
46920
46921         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46922
46923 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
46924
46925         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46926         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46927         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46928
46929 2010-05-01  Alan Modra  <amodra@gmail.com>
46930
46931         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46932         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46933         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46934         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46935         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46936         tidying.  Don't tail-call __sigjmp_save for static lib.
46937         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46938         save location.
46939         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46940         (CALL_MCOUNT): Add eh info, and nop after bl.
46941         (TAIL_CALL_SYSCALL_ERROR): New macro.
46942         (PSEUDO_RET): Use it.
46943         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46944         Correct save location of integer regs and cr.
46945         (_dl_profile_resolve): Correct cr save location.  Delete nops
46946         after bl when SHARED.  Reduce cfi size a little by better
46947         placement of cfi directives.
46948         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46949         make a stack frame.  Instead use parm save area as a temp.
46950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46951         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
46952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46953         Don't make a stack frame for parent, use parm save area.
46954         Increase child stack frame to 112 bytes.  Don't save unused reg,
46955         and adjust reg usage.  Set up cfi on error recovery and
46956         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46958         (__makecontext): Add dummy nop after jump to exit.
46959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46960         Use correct parm save area and cr save, reduce stack frame.
46961         Correct cfi for possible PSEUDO_RET frame setup.
46962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46963         Branch to local label emitted by PSEUDO_RET rather than
46964         __syscall_error.
46965
46966 2010-08-12  Andreas Schwab  <schwab@redhat.com>
46967
46968         [BZ #11904]
46969         * locale/programs/locale.c (print_assignment): New function.
46970         (show_locale_vars): Use it.
46971
46972 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
46973
46974         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46975         field.
46976         (struct statfs64): Likewise.
46977         (_STATFS_F_FLAGS): Define.
46978         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46979         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46980         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46981         (ST_VALID): Define locally.
46982         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46983         __statvfs_getflags, use the provided value.
46984         * sysdeps/unix/sysv/linux/kernel-features.h: Define
46985         __ASSUME_STATFS_F_FLAGS.
46986
46987         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46988
46989         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46990         Add sys/fanotify.h.
46991         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46992         fanotify_mask for GLIBC_2.13.
46993         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46994         fanotify_init and fanotify_mark.
46995         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46996         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46997
46998         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46999         Add prlimit.
47000         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47001         prlimit64 for GLIBC_2.13.
47002         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47003         prlimit64.
47004         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47005         syscall.
47006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47007         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47008         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47009         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47010         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
47011         add prlimit alias.
47012         * sysdeps/unix/sysv/linux/prlimit.c: New file.
47013
47014         [BZ #11903]
47015         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47016         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47017
47018         * nss/Makefile: Add rules to build and run tst-nss-test1.
47019         * shlib-versions: Add entry for libnss_test1.
47020         * nss/nss_test1.c: New file.
47021         * nss/tst-nss-test1.c: New file.
47022
47023         * nss/nsswitch.c (__nss_database_custom): Define new variable.
47024         (__nss_configure_lookup): Set appropriate entry in
47025         __nss_configure_lookup to true.
47026         * nss/nsswitch.h: Define enum with indeces of databases in
47027         databases and __nss_database_custom arrays.  Declare
47028         __nss_database_custom.
47029         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47030         to avoid using nscd when custom rules are installed.
47031         * nss/getXXbyYY_r.c: Likewise.
47032         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47033
47034         * nss/nss_files/files-parse.c: Whitespace fixes.
47035
47036 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
47037
47038         [BZ #11883]
47039         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47040         * posix/fnmatch_loop.c: Likewise.
47041
47042 2010-07-17  Andi Kleen  <ak@linux.intel.com>
47043
47044         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47045         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47046         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47047         * Versions.def [GLIBC_2.13]: Add.
47048
47049 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
47050
47051         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47052         Also fail if tpwd after pwuid call is NULL.
47053
47054 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47055
47056         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47057         when converting to ms.
47058
47059 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47060
47061         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47062         EOPNOTSUPP errors with ENOTTY.
47063         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47064         EOPNOTSUPP errors with ENOTTY.
47065
47066 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
47067
47068         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47069         Add strcasecmp_l-ssse3.
47070         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47071         strcasecmp.
47072         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47073         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47074         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47075
47076 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
47077
47078         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47079
47080         * string/Makefile (strop-tests): Add strcasecmp.
47081         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47082         strcasecmp_l-nonascii.
47083         (gen-as-const-headers): Add locale-defines.sym.
47084         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47085         * sysdeps/x86_64/strcasecmp.S: New file.
47086         * sysdeps/x86_64/strcasecmp_l.S: New file.
47087         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47088         * sysdeps/x86_64/locale-defines.sym: New file.
47089         * string/test-strcasecmp.c: New file.
47090
47091         * string/test-strcasestr.c: Test both ends of the range of characters.
47092         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47093
47094 2010-07-29  Roland McGrath  <roland@redhat.com>
47095
47096         [BZ #11856]
47097         * manual/locale.texi (Yes-or-No Questions): Fix example code.
47098
47099 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
47100
47101         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47102         for ld.so.
47103
47104 2010-07-27  Andreas Schwab  <schwab@redhat.com>
47105
47106         * manual/memory.texi (Malloc Tunable Parameters): Document
47107         M_PERTURB.
47108
47109 2010-07-26  Roland McGrath  <roland@redhat.com>
47110
47111         [BZ #11840]
47112         * configure.in (-fgnu89-inline check): Set and substitute
47113         gnu89_inline, not libc_cv_gnu89_inline.
47114         * configure: Regenerated.
47115         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47116
47117 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
47118
47119         * string/test-strnlen.c: New file.
47120         * string/Makefile (strop-tests): Add strnlen.
47121         * string/tester.c (test_strnlen): Add a few more test cases.
47122         * string/tst-strlen.c: Better error reporting.
47123
47124         * sysdeps/x86_64/strnlen.S: New file.
47125
47126 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
47127
47128         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47129         lower-latency instructions.
47130
47131 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
47132
47133         * string/test-strcasestr.c: New file.
47134         * string/test-strstr.c: New file.
47135         * string/Makefile (strop-tests): Add strstr and strcasestr.
47136         * string/str-two-way.h: Don't undefine MAX.
47137         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47138
47139 2010-07-21  Andreas Schwab  <schwab@redhat.com>
47140
47141         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47142         strcasestr-nonascii.
47143         (CFLAGS-strcasestr-nonascii.c): Define.
47144         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47145         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47146         Remove unused attribute.
47147
47148 2010-07-20  Roland McGrath  <roland@redhat.com>
47149
47150         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47151         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
47152         ld.so.cache was broken.  With it, there is no way to disable dsocaps
47153         like LD_HWCAP_MASK can disable hwcaps.
47154
47155 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47156
47157         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47158
47159 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
47160
47161         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47162         call in strcasestr.
47163         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47164         __strcasestr_sse42_nonascii.
47165         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47166         strcasestr-nonascii.c.
47167         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47168
47169 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
47170
47171         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47172         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47173         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47174         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47175
47176 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
47177
47178         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47179         fcntl.
47180
47181 2010-07-06  Andreas Schwab  <schwab@redhat.com>
47182
47183         [BZ #11577]
47184         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47185         dl_signal_cerror.
47186
47187 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
47188
47189         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47190         _PC_PIPE_BUF using F_GETPIPE_SZ.
47191
47192 2010-07-05  Roland McGrath  <roland@redhat.com>
47193
47194         * manual/arith.texi (Rounding Functions): Fix rint description
47195         implicit in round description.
47196
47197 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
47198
47199         * elf/Makefile: Fix linking for a few tests to make recent linker
47200         happy.
47201
47202 2010-06-30  Andreas Schwab  <schwab@redhat.com>
47203
47204         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47205         $(common-objpfx)libc_nonshared.a.
47206
47207 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
47208
47209         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47210         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47211         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47212         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47213         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47214         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47215         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47216         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47231         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47232         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47233         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47234         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47235         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47236         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47237         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47238         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47239         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47240         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47241         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47242         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47257
47258 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
47259
47260         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47261         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
47262         * string/memmove.c (memmove): Renamed to ...
47263         (MEMMOVE): ...this.  Default to memmove.
47264         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47265         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47266         (END_CHK): Define.
47267         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47268         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47269         mempcpy-ssse3-back memmove-ssse3-back.
47270         * sysdeps/x86_64/multiarch/bcopy.S: New file .
47271         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47272         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47273         * sysdeps/x86_64/multiarch/memcpy.S: New file.
47274         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47275         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47276         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47277         * sysdeps/x86_64/multiarch/memmove.c: New file.
47278         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47279         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47280         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47281         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47282         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47283         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47284         Define.
47285         (index_Fast_Copy_Backward): Define.
47286         (HAS_ARCH_FEATURE): Define.
47287         (HAS_FAST_REP_STRING): Define.
47288         (HAS_FAST_COPY_BACKWARD): Define.
47289
47290 2010-06-21  Andreas Schwab  <schwab@redhat.com>
47291
47292         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47293         Restore proper fallback handling.
47294
47295 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
47296
47297         [BZ #11701]
47298         * posix/group_member.c (__group_member): Correct checking loop.
47299
47300         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47301         OOM in getpwuid_r correctly.  Return error number when the caller
47302         should return, otherwise -1.
47303         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47304         call returning > 0 value.
47305         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47306
47307 2010-06-07  Andreas Schwab  <schwab@redhat.com>
47308
47309         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47310         libc_nonshared.a from targets in modules-names.
47311
47312 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
47313
47314         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47315         requires it.
47316
47317 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
47318
47319         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47320         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47321         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47322         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47323
47324 2010-06-02  Andreas Schwab  <schwab@redhat.com>
47325
47326         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47327
47328 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
47329
47330         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47331         and F_GETPIPE_SZ.
47332         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47333         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47334         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47335         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47336         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47337         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47338
47339 2010-06-14  Roland McGrath  <roland@redhat.com>
47340
47341         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47342
47343 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
47344
47345         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47346         __REDIRECT followed by __THROW.
47347         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47348         * posix/getopt.h (getopt): Likewise.
47349
47350 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47351
47352         * hurd/lookup-at.c (__file_name_lookup_at): Accept
47353         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
47354         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47355         in AT_FLAGS.
47356         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47357         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47358
47359 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
47360
47361         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47362
47363 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
47364
47365         [BZ #11640]
47366         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47367         Properly check family and model.
47368
47369 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
47370
47371         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47372
47373 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
47374
47375         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47376
47377 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
47378
47379         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47380         symbol reference.
47381
47382 2010-05-19  Andreas Schwab  <schwab@redhat.com>
47383
47384         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47385         symbol reference.
47386
47387 2010-05-21  Andreas Schwab  <schwab@redhat.com>
47388
47389         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47390         and internal_recvmmsg.
47391         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47392         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47393         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47394         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47395
47396         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47397         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47398         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47399
47400 2010-05-20  Andreas Schwab  <schwab@redhat.com>
47401
47402         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47403
47404 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
47405
47406         POWER7 optimizations.
47407         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47408         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47409
47410 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
47411
47412         * version.h: Update for 2.13 development version.
47413
47414 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
47415
47416         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47417         exceptions.  Return 0.
47418
47419 2010-05-07  Roland McGrath  <roland@redhat.com>
47420
47421         * elf/ldconfig.c (main): Add a const.
47422
47423 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
47424
47425         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47426         (args_options): Add no-idn option.
47427         (ahosts_keys_int): Add idn_flags to ai_flags.
47428         (parse_option): Handle 'i' option to clear idn_flags.
47429
47430         * malloc/malloc.c (_int_free): Possible race in the most recently
47431         added check.  Only act on the data if no current modification
47432         happened.
47433
47434 See ChangeLog.17 for earlier changes.