Let 'make check subdirs=string' succeed even when it's invoked
[glibc.git] / ChangeLog
blob9580678077fe0ba18f9a7b051148a5e0fb08221d
1 2015-09-28  Martin Sebor  <msebor@redhat.com>
3         [BZ #18969]
4         * string/Makefile (LOCALES): Define.
5         (gen-locales.mk): Include.
6         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
7         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
8         * string/tst-strxfrm2.c (do_test): Print the name of the locale
9         on setlocale failure.
11 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13         [BZ #18985]
14         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
15         (__strftime_internal): Likewise.
16         * time/tst-strftime.c (do_bz18985): New test.
17         (do_test): Call it.
19 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
21         [BZ #18956]
22         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
23         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
24         extracting high part.
25         * math/auto-libm-test-in: Add another test of pow.
26         * math/auto-libm-test-out: Regenerated.
27         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
31         [BZ #18825]
32         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
33         New macro.
34         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
35         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
36         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
37         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
38         DBL_NARROW_EVAL, reloading the PIC register as needed.
39         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
40         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
41         FLT_NARROW_EVAL.  Use separate return path for case when first
42         argument is NaN.
43         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
44         DEFINE_LDBL_MIN.
45         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
46         PIC register.
47         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
48         math_check_force_underflow_nonneg.
49         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
50         underflow for subnormal result.
51         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
52         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
53         math_check_force_underflow_nonneg.
54         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
55         math_check_force_underflow.
56         * sysdeps/x86_64/fpu/x86_64-math-asm.h
57         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
58         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
59         DEFINE_LDBL_MIN.
60         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
61         * math/auto-libm-test-in: Add more tests of pow.
62         * math/auto-libm-test-out: Regenerated.
64 2015-09-25  Florian Weimer  <fweimer@redhat.com>
66         * nss/bug17079.c (init_test_items): Add diagnostic for
67         inconsistent entries.
68         (test_buffer_size): Skip inconsistent entries.
70 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
72         [BZ #13304]
73         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
74         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
75         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
77         [BZ #13304]
78         * sysdeps/microblaze/s_fma.c: New file.
79         * sysdeps/microblaze/s_fmaf.c: Likewise.
80         * sysdeps/microblaze/sfp-machine.h: Likewise.
82 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
84         [BZ #17250]
85         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
86         member.
88 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
90         [BZ #18803]
91         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
92         (MO): New macro.
93         (__ieee754_hypot) [PIC]: Load PIC register.
94         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
95         DBL_NARROW_EVAL.
96         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
97         math_check_force_underflow_nonneg in case where result might be
98         tiny.
99         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
100         Likewise.
101         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
102         Likewise.
103         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
104         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
105         * math/auto-libm-test-in: Add more tests of hypot.
106         * math/auto-libm-test-out: Regenerated.
108 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
110         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
112 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
114         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
115         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
116         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
117         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
118         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
119         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
120         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
122         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
123         LOAD_PIC_REG.
125         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
126         (FLT_CHECK_FORCE_UFLOW): Likewise.
127         (DBL_CHECK_FORCE_UFLOW): Likewise.
128         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
129         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
130         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
131         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
132         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
133         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
134         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
135         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
136         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
137         (dbl_min): Replace with use of DEFINE_DBL_MIN.
138         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
139         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
140         (flt_min): Replace with use of DEFINE_FLT_MIN.
141         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
142         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
143         (dbl_min): Replace with use of DEFINE_DBL_MIN.
144         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
145         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
146         (flt_min): Replace with use of DEFINE_FLT_MIN.
147         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
148         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
149         (dbl_min): Replace with use of DEFINE_DBL_MIN.
150         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
151         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
152         (flt_min): Replace with use of DEFINE_FLT_MIN.
153         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
154         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
155         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
156         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
157         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
158         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
159         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
160         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
161         (dbl_min): Replace with use of DEFINE_DBL_MIN.
162         (__atan): Use DBL_CHECK_FORCE_UFLOW.
163         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
164         (flt_min): Replace with use of DEFINE_FLT_MIN.
165         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
166         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
167         (dbl_min): Replace with use of DEFINE_DBL_MIN.
168         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
169         main computation.
170         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
171         (flt_min): Replace with use of DEFINE_FLT_MIN.
172         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
173         main computation.
174         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
175         (dbl_min): Replace with use of DEFINE_DBL_MIN.
176         (MO): New macro.
177         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
178         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
179         (flt_min): Replace with use of DEFINE_FLT_MIN.
180         (MO): New macro.
181         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
182         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
183         (__log1pl): Use MO.
185         [BZ #19003]
186         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
187         $(config-cflags-nofma).
189 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
191         * sysdeps/aarch64/libm-test-ulps: Regenerated.
193 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
195         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
196         (TWO127): Likewise.
198         * sysdeps/generic/math_private.h (fabs_tg): New macro.
199         (min_of_type): Likewise.
200         (math_check_force_underflow): Likewise.
201         (math_check_force_underflow_nonneg): Likewise.
202         (math_check_force_underflow_complex): Likewise.
203         * math/e_exp2l.c (__ieee754_exp2l): Use
204         math_check_force_underflow_nonneg.
205         * math/k_casinh.c (__kernel_casinh): Likewise.
206         * math/k_casinhf.c (__kernel_casinhf): Likewise.
207         * math/k_casinhl.c (__kernel_casinhl): Likewise.
208         * math/s_catan.c (__catan): Use
209         math_check_force_underflow_complex.
210         * math/s_catanf.c (__catanf): Likewise.
211         * math/s_catanh.c (__catanh): Likewise.
212         * math/s_catanhf.c (__catanhf): Likewise.
213         * math/s_catanhl.c (__catanhl): Likewise.
214         * math/s_catanl.c (__catanl): Likewise.
215         * math/s_ccosh.c (__ccosh): Likewise.
216         * math/s_ccoshf.c (__ccoshf): Likewise.
217         * math/s_ccoshl.c (__ccoshl): Likewise.
218         * math/s_cexp.c (__cexp): Likewise.
219         * math/s_cexpf.c (__cexpf): Likewise.
220         * math/s_cexpl.c (__cexpl): Likewise.
221         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
222         * math/s_clog10.c (__clog10): Likewise.
223         * math/s_clog10f.c (__clog10f): Likewise.
224         * math/s_clog10l.c (__clog10l): Likewise.
225         * math/s_clogf.c (__clogf): Likewise.
226         * math/s_clogl.c (__clogl): Likewise.
227         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
228         * math/s_csinf.c (__csinf): Likewise.
229         * math/s_csinh.c (__csinh): Likewise.
230         * math/s_csinhf.c (__csinhf): Likewise.
231         * math/s_csinhl.c (__csinhl): Likewise.
232         * math/s_csinl.c (__csinl): Likewise.
233         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
234         * math/s_csqrtf.c (__csqrtf): Likewise.
235         * math/s_csqrtl.c (__csqrtl): Likewise.
236         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
237         * math/s_ctanf.c (__ctanf): Likewise.
238         * math/s_ctanh.c (__ctanh): Likewise.
239         * math/s_ctanhf.c (__ctanhf): Likewise.
240         * math/s_ctanhl.c (__ctanhl): Likewise.
241         * math/s_ctanl.c (__ctanl): Likewise.
242         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
243         instead of volatile.
244         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
245         math_check_force_underflow.
246         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
247         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
248         volatile when forcing underflow.
249         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
250         math_check_force_underflow_nonneg.
251         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
252         Likewise.
253         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
254         math_check_force_underflow.
255         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
256         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
257         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
258         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
259         math_check_force_underflow_nonneg.
260         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
261         math_check_force_underflow.
262         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
263         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
264         instead of volatile.
265         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
266         math_check_force_underflow.
267         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
268         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
269         math_check_force_underflow_nonneg.
270         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
271         math_check_force_underflow.
272         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
273         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
274         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
275         math_check_force_underflow_nonneg.
276         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
277         Likewise.
278         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
279         math_check_force_underflow.
280         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
281         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
282         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
283         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
284         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
285         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
286         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
287         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
288         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
289         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
290         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
291         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
292         Likewise.
293         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
294         math_check_force_underflow_nonneg.
295         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
296         Likewise.
297         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
298         math_check_force_underflow.
299         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
300         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
301         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
302         Likewise.
303         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
304         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
305         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
306         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
307         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
308         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
309         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
310         instead of volatile.
311         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
312         math_check_force_underflow.
313         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
314         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
315         math_check_force_underflow.
316         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
317         Likewise.
318         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
319         Use math_check_force_underflow_nonneg.
320         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
321         math_check_force_underflow.
322         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
323         Likewise.
324         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
325         Likewise.
326         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
327         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
328         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
329         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
330         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
331         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
332         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
333         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
334         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
335         math_check_force_underflow_nonneg.
336         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
337         math_check_force_underflow.
338         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
339         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
340         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
341         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
342         math_check_force_underflow_nonneg.
343         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
344         math_check_force_underflow.
345         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
346         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
347         instead of volatile.
348         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
349         math_check_force_underflow.
351         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
352         * stdlib/strtod_l.c: Include <math_private.h>.
353         (overflow_value): Use math_narrow_eval.
354         (underflow_value): Likewise.
355         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
356         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
357         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
358         (__ieee754_gamma_r): Likewise.
359         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
360         Likewise.
361         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
362         Likewise.
363         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
364         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
365         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
366         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
367         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
368         (__ieee754_gammaf_r): Likewise.
369         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
370         Likewise.
371         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
372         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
373         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
374         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
375         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
376         volatile.
377         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
378         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
379         math_narrow_eval.
380         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
381         Likewise.
382         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
383         Likewise.
384         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
385         Likewise.
386         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
387         volatile.
388         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
389         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
390         math_narrow_eval.
391         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
392         Likewise.
393         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
394         Likewise.
396 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
398         * nptl/Versions: Remove ignored symbols.
400 2015-09-22  Florian Weimer  <fweimer@redhat.com>
402         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
403         * nss/Makefile (tests): Update.
405 2015-09-22  Florian Weimer  <fweimer@redhat.com>
407         * nss/bug18287.c: New file.
408         * nss/Makefile (tests): Add bug18287.
410 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
412         * mach/Versions (__mach_host_self_): Add symbol.
414 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
416         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
417         vm_page_size.
419 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
421         Really fix sysdeps/i386/fpu/s_scalbn.S build
423         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
424         (libc: GLIBC_2_22): Remove unused version set.
426 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
428         * config.make.in (enable-timezone-tools): New variable.
429         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
430         (enable_timezone_tools): Export to generated files.
431         * configure: Regenerate.
432         * INSTALL: Regenerate.
433         * manual/install.texi (--disable-timezone-tools): Document new flag.
434         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
435         ifeq ($(enable-timezone-tools),yes) check.
437 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
439         * timezone/Makefile: Revert previous change.
441         [BZ #18980]
442         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
443         (DEFINE_DBL_MIN): Likewise.
444         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
445         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
446         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
447         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
448         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
449         (dbl_min): Replace with use of DEFINE_DBL_MIN.
450         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
451         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
452         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
453         (dbl_min): Replace with use of DEFINE_DBL_MIN.
454         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
455         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
456         (flt_min): Replace with use of DEFINE_FLT_MIN.
457         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
458         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
459         (dbl_min): Replace with use of DEFINE_DBL_MIN.
460         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
461         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
462         (flt_min): Replace with use of DEFINE_FLT_MIN.
463         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
464         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
465         (flt_min): Replace with use of DEFINE_FLT_MIN.
466         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
467         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
468         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
469         (__ieee754_hypot): Use DBL_NARROW_EVAL.
470         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
471         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
472         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
473         (__ieee754_pow): Use DBL_NARROW_EVAL.
474         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
475         (__ieee754_powf): Use FLT_NARROW_EVAL.
476         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
477         (__ieee754_expf_sse2): Convert double-precision result to single
478         precision.
479         * sysdeps/i386/fpu/libm-test-ulps: Update.
481 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
483         * timezone/Makefile: Ignore unused variable errors due to private.h
484         (time_t_min) and (time_t_max).
485         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
486         Likewise.
488 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
490         [BZ #18981]
491         * sysdeps/i386/fpu/i386-math-asm.h: New file.
492         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
493         (__ieee754_scalb): Use DBL_NARROW_EVAL.
494         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
495         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
496         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
497         (__scalbn): Use DBL_NARROW_EVAL.
498         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
499         (__scalbnf): Use FLT_NARROW_EVAL.
501 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
503         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
504         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
505         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
506         * stdio-common/printf_fp.c (___printf_fp):
507         Use signbit to get the sign. Use isinf macro to allow inlining.
508         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
509         * stdio-common/printf_size.c (__printf_size): Likewise.
511 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
513         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
515 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
517         [BZ #18980]
518         * sysdeps/generic/math_private.h: Include <float.h>.
519         (math_narrow_eval): New macro.
520         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
521         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
522         math_narrow_eval on overflowing return value.
523         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
524         Likewise.
525         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
526         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
527         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
528         Likewise.
529         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
531 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
533         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
534         * math/Makefile: Remove isinf_ns.c.
535         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
536         * math/multc3.c (__multc3): Likewise.
537         * math/s_casin.c (__casin): Likewise.
538         * math/s_casinf.c (__casinf): Likewise.
539         * math/s_casinl.c (__casinl): Likewise.
540         * math/s_cproj.c (__cproj): Likewise.
541         * math/s_cprojf.c (__cprojf): Likewise.
542         * math/s_cprojl.c (__cprofl): Likewise.
543         * math/s_ctan.c (__ctan): Likewise.
544         * math/s_ctanf.c (__ctanf): Likewise.
545         * math/s_ctanh.c (__ctanh): Likewise.
546         * math/s_ctanhf.c (__ctanhf): Likewise.
547         * math/s_ctanhl.c (__ctanhl): Likewise.
548         * math/s_ctanl.c (__ctanl): Likewise.
549         * math/w_fmod.c (__fmod): Likewise.
550         * math/w_fmodf.c (__fmodf): Likewise.
551         * math/w_fmodl.c (_fmodl): Likewise.
552         * math/w_remainder.c (__remainder): Likewise.
553         * math/w_remainderf.c (__remainderf): Likewise.
554         * math/w_remainderl.c (__remainderl): Likewise.
555         * math/w_scalb.c (__scalb): Likewise.
556         * math/w_scalbf.c (__scalbf): Likewise.
557         * math/w_scalbl.c (__scalbl): Likewise.
558         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
559         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
560         with isinf.
561         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
562         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
563         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
564         __isinf_nsf with isinf.
565         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
566         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
567         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
568         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
569         with isinf.
570         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
571         __isinf_nsl with isinf.
572         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
573         with isinf.
574         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
575         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
576         __isinf_nsl with isinf.
577         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
578         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
579         with isinf.
581 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
583         * resolv/base64.c (rcsid): Remove unused static.
584         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
585         static.  (tqpi1): Likewise.
586         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
587         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
588         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
589         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
590         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
591         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
592         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
593         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
594         Likewise.
596 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
598         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
599         <nptl/pthreadP.h>.
600         (_longjmp_unwind): Use __libc_ptf_call.
601         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
603 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
605         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
606         * sysdeps/arm/__longjmp.S: Likewise
608 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
610         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
611         Use __builtin_signbit.
612         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
613         Use __builtin_signbitf.
614         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
615         Use __builtin_signbitl.
616         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
617         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
619 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
621         [BZ #15367]
622         [BZ #17441]
624         * math/Makefile: Build test-snan.c with -fsignaling-nans.
625         * math/math.h (fpclassify): Use __builtin_fpclassify when
626         available.  (signbit): Use __builtin_signbit(f/l).
627         (isfinite): Use__builtin_isfinite.  (isnormal): Use
628         __builtin_isnormal.  (isnan): Use __builtin_isnan.
629         (isinf): Use __builtin_isinf_sign.
631 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
633         * benchtests/Makefile: Add bench-math-inlines, link with libm.
634         * benchtests/bench-math-inlines.c: New benchmark.
635         * benchtests/bench-util.h: New file.
636         * benchtests/bench-util.c: New file.
637         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
639 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
641         * elf/tst-dlmopen1.c: Define TEST_SO.
642         (do_test): Use TEST_SO.
644         * elf/dl-load.c: Include libc-internal.h.
645         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
647 2015-09-18  Vincent Bernat  <vincent@bernat.im>
649         [BZ #17887]
650         * time/strptime_l.c (__strptime_internal): Make %z accept
651         [+-]HH:MM time zones.
653 2015-09-18  Vincent Bernat  <vincent@bernat.im>
655         [BZ #17886]
656         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
657         valid time zone.
659 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
661         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
662         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
663         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
664         (__ASSUME_FDATASYNC): Delete.
666 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
668         * conform/linknamespace.pl: Require weak undefined symbols to be
669         in the standard namespace.
670         (%strong_syms): Rename to %seen_syms.
671         (%strong_seen): Rename to %seen_where.
673 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
675         [BZ #18970]
676         * misc/error.c (error): Replace pthread_setcancelstate with
677         __pthread_setcancelstate.
678         (error_at_line): Likewise.
679         * posix/wordexp.c (parse_comm): Likewise.
680         * stdlib/fmtmsg.c (fmtmsg): Likewise.
681         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
682         (__pthread_setcancelstate): This.
683         (pthread_setcancelstate): Add an alias.
684         * nptl/nptl-init.c (pthread_functions): Replace
685         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
686         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
687         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
688         hidden_proto.
689         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
690         it with hidden_def.
691         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
692         (pthread_setcancelstate): Renamed to ...
693         (__pthread_setcancelstate): This.
694         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
695         __libc_ptf_call with __pthread_setcancelstate.
697 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
698             Andreas Schwab  <schwab@suse.de>
700         [BZ #17118]
701         * math/s_ctan.c (__ctan): Determine sign of zero real part of
702         result when imaginary part of argument is infinite using sine and
703         cosine.
704         * math/s_ctanf.c (__ctanf): Likewise.
705         * math/s_ctanl.c (__ctanl): Likewise.
706         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
707         of result when real part of argument is infinite using sine and
708         cosine.
709         * math/s_ctanhf.c (__ctanhf): Likewise.
710         * math/s_ctanhl.c (__ctanhl): Likewise.
711         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
712         (ctanh_test_data): Add more tests of ctanh.
714 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
716         [BZ #15384]
717         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
718         bit-mask as in subtraction.
719         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
720         Likewise.
721         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
722         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
723         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
725         [BZ #18951]
726         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
727         underflow exception for small results.
728         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
729         Likewise.
730         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
731         Likewise.
732         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
733         Likewise.
734         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
735         Likewise.
736         * math/auto-libm-test-in: Add more tests of tgamma.
737         * math/auto-libm-test-out: Regenerated.
739 2015-09-17  Andreas Schwab  <schwab@suse.de>
741         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
743 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
745         [BZ #18977]
746         * math/bits/mathcalls.h
747         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
748         not declare.
749         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
750         Likewise.
751         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
752         Likewise.
753         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
754         Likewise.
755         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
756         Likewise.
757         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
758         Likewise.
759         * conform/data/math.h-data
760         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
761         function.
762         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
763         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
764         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
765         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
766         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
767         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
768         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
769         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
770         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
771         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
772         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
774         [BZ #6803]
775         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
776         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
777         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
778         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
779         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
780         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
781         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
782         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
783         [NO_LONG_DOUBLE] (scalbnl): Likewise.
784         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
785         Likewise.
786         [NO_LONG_DOUBLE] (scalbnl): Likewise.
787         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
788         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
789         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
790         long_double_symbol calls.
791         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
792         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
793         strong alias of __ldexpl.
794         (scalbnl): Define using long_double_symbol.
795         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
796         Remove alias.
797         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
798         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
799         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
800         (scalbln_test_data): Add more errno expectations.
802 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
804         Cache the host port like we cache the task port.  This way we do not
805         need to call the kernel just to get the port.  Furthermore, we no
806         longer increase the reference count on every invocation of
807         `mach_host_self'.
809         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
810         Protect declarations against the macro expansion.
811         * mach/mach_init.c (__mach_host_self_): New variable.
812         (mach_init): Initialize `__mach_host_self_'.
813         * mach/mach_init.h (__mach_host_self_): New declaration.
814         (__mach_host_self, mach_host_self): New macros.
815         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
816         Release reference.
818 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
820         [BZ #4404]
821         * po/de.po: Update from Translation Project.
823         [BZ #16415]
824         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
825         (__expm1l): Remove code to handle positive infinity and overflow.
826         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
827         variable.
828         (__expm1l): Remove code to handle positive infinity and overflow.
830 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
831             Paul Pluzhnikov  <ppluzhnikov@google.com>
833         [BZ #18872]
834         * stdio-common/Makefile (tst-printf-bz18872): New test.
835         (tst-printf-bz18872-mem.out): Likewise.
836         * stdio-common/tst-printf-bz18872.sh: Generate new test.
837         * stdio-common/vfprintf.c: Fix memory leaks.
839 2015-09-16  Andreas Schwab  <schwab@suse.de>
841         [BZ #17244]
842         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
843         Remove extra va_start/va_end calls.
845         [BZ #17243]
846         * posix/execl.c (execl): Add missing va_end.
847         * posix/execle.c (execle): Likewise.
848         * posix/execlp.c (execlp): Likewise.
850 2015-09-15  Roland McGrath  <roland@hack.frob.com>
852         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
853         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
855 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
857         [BZ #18967]
858         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
859         undefine around includes of <bits/mathcalls.h>.
860         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
861         not declare function.
862         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
863         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
864         (scalb): Likewise.
865         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
866         not define macro.
867         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
868         variable.
869         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
870         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
871         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
873         [BZ #18857]
874         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
875         return non-finite argument without doing ordered comparisons on
876         it.
878         [BZ #16296]
879         * math/fenv.h (fegetround): Use __attribute_pure__.
880         * include/fenv.h (__fegetround): Likewise.
882         [BZ #18595]
883         * math/s_ctan.c (__ctan): Force underflow exception for results
884         whose real or imaginary part has small absolute value.
885         * math/s_ctanf.c (__ctanf): Likewise.
886         * math/s_ctanh.c (__ctanh): Likewise.
887         * math/s_ctanhf.c (__ctanhf): Likewise.
888         * math/s_ctanhl.c (__ctanhl): Likewise.
889         * math/s_ctanl.c (__ctanl): Likewise.
890         * math/auto-libm-test-in: Do not allow missing underflow for ctan
891         and ctanh.  Add more tests of ctan and ctanh.
893         [BZ #15918]
894         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
895         handling of cases where one argument is an infinity.
897         [BZ #18875]
898         [BZ #18966]
899         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
900         (MO): New macro.
901         (__ieee754_exp10): For small results, force underflow exception
902         and remove excess range and precision from return value.
903         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
904         (MO): New macro.
905         (__ieee754_exp10f): For small results, force underflow exception
906         and remove excess range and precision from return value.
907         * math/auto-libm-test-in: Add more tests of exp10.
908         * math/auto-libm-test-out: Regenerated.
910 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
912         [BZ #18875]
913         [BZ #18961]
914         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
915         (MO): New macro.
916         (__ieee754_exp): For small results, force underflow exception and
917         remove excess range and precision from return value.
918         (__exp_finite): Likewise.
919         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
920         (MO): New macro.
921         (__ieee754_expf): For small results, force underflow exception and
922         remove excess range and precision from return value.
923         (__expf_finite): Likewise.
924         * math/auto-libm-test-in: Add more tests of exp.
925         * math/auto-libm-test-out: Regenerated.
927         [BZ #16521]
928         [BZ #18875]
929         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
930         small results.
931         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
932         (MO): New macro.
933         (__ieee754_exp2): For small results, force underflow exception and
934         remove excess range and precision from return value.
935         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
936         (MO): New macro.
937         (__ieee754_exp2f): For small results, force underflow exception
938         and remove excess range and precision from return value.
939         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
940         (MO): New macro.
941         (__ieee754_exp2l): Force underflow exception for small results.
942         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
943         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
944         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
945         (MO): New macro.
946         (__ieee754_exp2l): Force underflow exception for small results.
947         * math/auto-libm-test-in: Add more tests or exp2.
948         * math/auto-libm-test-out: Regenerated.
950 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
952         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
954         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
955         /dev/null.
957 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
959         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
960         io fs process)): Drop spurious backslash.
962 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
964         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
965         Use sysinfo system call instead of parsing /proc/meminfo.
966         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
967         Likewise.
969 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
971         [BZ #16985]
972         * programs/localedef.c (main): Display argv[remaining] when
973         output_path is NULL.
975 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
977         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
978         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
979         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
980         tanh.
981         * math/auto-libm-test-out: Regenerated.
982         * sysdeps/i386/fpu/libm-test-ulps: Update.
983         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
984         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
987 2015-09-11  Roland McGrath  <roland@hack.frob.com>
989         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
990         Use 'override' keyword to freeze the value here, preventing
991         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
993 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
995         [BZ #14912]
996         * sysdeps/aarch64/bits/atomic.h: Move to ...
997         * sysdeps/aarch64/atomic-machine.h: ...here.
998         (_AARCH64_BITS_ATOMIC_H): Rename macro to
999         _AARCH64_ATOMIC_MACHINE_H.
1000         * sysdeps/alpha/bits/atomic.h: Move to ...
1001         * sysdeps/alpha/atomic-machine.h: ...here.
1002         * sysdeps/arm/bits/atomic.h: Move to ...
1003         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
1004         * bits/atomic.h: Move to ...
1005         * sysdeps/generic/atomic-machine.h: ...here.
1006         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1007         * sysdeps/i386/bits/atomic.h: Move to ...
1008         * sysdeps/i386/atomic-machine.h: ...here.
1009         * sysdeps/ia64/bits/atomic.h: Move to ...
1010         * sysdeps/ia64/atomic-machine.h: ...here.
1011         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
1012         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
1013         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1014         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
1015         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
1016         * sysdeps/microblaze/bits/atomic.h: Move to ...
1017         * sysdeps/microblaze/atomic-machine.h: ...here.
1018         * sysdeps/mips/bits/atomic.h: Move to ...
1019         * sysdeps/mips/atomic-machine.h: ...here.
1020         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
1021         * sysdeps/powerpc/bits/atomic.h: Move to ...
1022         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
1023         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
1024         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
1025         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
1026         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
1027         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
1028         <atomic-machine.h> instead of <bits/atomic.h>.
1029         * sysdeps/s390/bits/atomic.h: Move to ...
1030         * sysdeps/s390/atomic-machine.h: ...here.
1031         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
1032         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
1033         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1034         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
1035         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
1036         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
1037         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
1038         * sysdeps/tile/bits/atomic.h: Move to ...
1039         * sysdeps/tile/atomic-machine.h: ...here.
1040         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
1041         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
1042         <sysdeps/tile/atomic-machine.h> instead of
1043         <sysdeps/tile/bits/atomic.h>.
1044         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1045         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
1046         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
1047         <sysdeps/tile/atomic-machine.h> instead of
1048         <sysdeps/tile/bits/atomic.h>.
1049         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1050         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
1051         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
1052         <sysdeps/arm/atomic-machine.h> instead of
1053         <sysdeps/arm/bits/atomic.h>.
1054         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
1055         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
1056         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1057         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
1058         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
1059         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1060         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
1061         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
1062         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
1063         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
1064         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
1065         * sysdeps/x86_64/bits/atomic.h: Move to ...
1066         * sysdeps/x86_64/atomic-machine.h: ...here.
1067         * include/atomic.h: Include <atomic-machine.h> instead of
1068         <bits/atomic.h>.
1070         * sysdeps/mips/mips32/libm-test-ulps: Update.
1071         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1073         [BZ #18952]
1074         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
1075         not convert non-integer negative arguments to int to determine the
1076         value of signgam.
1077         * math/auto-libm-test-in: Add more tests of lgamma.
1078         * math/auto-libm-test-out: Regenerated.
1080         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
1081         cosh, csqrt, erfc, expm1 and lgamma.
1082         * math/auto-libm-test-out: Regenerated.
1083         * sysdeps/i386/fpu/libm-test-ulps: Update.
1084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1086 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
1088         [BZ #2542]
1089         [BZ #2543]
1090         [BZ #2558]
1091         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
1092         __lgamma_neg for arguments from -28.0 to -2.0.
1093         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
1094         __lgamma_negf for arguments from -15.0 to -2.0.
1095         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1096         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
1097         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
1098         Call __lgamma_negl for arguments from -33.0 to -2.0.
1099         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
1100         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1101         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
1102         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
1103         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1104         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1105         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
1106         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
1107         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
1108         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1109         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
1110         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
1111         (__lgamma_neg): Likewise.
1112         (__lgamma_negl): Likewise.
1113         (__lgamma_product): Likewise.
1114         (__lgamma_productl): Likewise.
1115         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
1116         * math/auto-libm-test-in: Add more tests of lgamma.
1117         * math/auto-libm-test-out: Regenerated.
1118         * sysdeps/i386/fpu/libm-test-ulps: Update.
1119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1121 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
1123         [BZ #18675]
1124         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
1126 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
1128         [BZ #14912]
1129         * bits/libc-lock.h: Move to ...
1130         * sysdeps/generic/libc-lock.h: ...here.
1131         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1132         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
1133         * sysdeps/mach/hurd/libc-lock.h: ...here.
1134         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1135         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
1136         * sysdeps/mach/bits/libc-lock.h: Move to ...
1137         * sysdeps/mach/libc-lock.h: ...here.
1138         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1139         * sysdeps/nptl/bits/libc-lock.h: Move to ...
1140         * sysdeps/nptl/libc-lock.h: ...here.
1141         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1142         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
1143         * sysdeps/nptl/libc-lockP.h: ...here.
1144         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
1145         * crypt/crypt_util.c: Include <libc-lock.h> instead of
1146         <bits/libc-lock.h>.
1147         * dirent/scandir-tail.c: Likewise.
1148         * dlfcn/dlerror.c: Likewise.
1149         * elf/dl-close.c: Likewise.
1150         * elf/dl-iteratephdr.c: Likewise.
1151         * elf/dl-lookup.c: Likewise.
1152         * elf/dl-open.c: Likewise.
1153         * elf/dl-support.c: Likewise.
1154         * elf/dl-writev.h: Likewise.
1155         * elf/rtld.c: Likewise.
1156         * grp/fgetgrent.c: Likewise.
1157         * gshadow/fgetsgent.c: Likewise.
1158         * gshadow/sgetsgent.c: Likewise.
1159         * iconv/gconv_conf.c: Likewise.
1160         * iconv/gconv_db.c: Likewise.
1161         * iconv/gconv_dl.c: Likewise.
1162         * iconv/gconv_int.h: Likewise.
1163         * iconv/gconv_trans.c: Likewise.
1164         * include/link.h: Likewise.
1165         * inet/getnameinfo.c: Likewise.
1166         * inet/getnetgrent.c: Likewise.
1167         * inet/getnetgrent_r.c: Likewise.
1168         * intl/bindtextdom.c: Likewise.
1169         * intl/dcigettext.c: Likewise.
1170         * intl/finddomain.c: Likewise.
1171         * intl/gettextP.h: Likewise.
1172         * intl/loadmsgcat.c: Likewise.
1173         * intl/localealias.c: Likewise.
1174         * intl/textdomain.c: Likewise.
1175         * libidn/idn-stub.c: Likewise.
1176         * libio/libioP.h: Likewise.
1177         * locale/duplocale.c: Likewise.
1178         * locale/freelocale.c: Likewise.
1179         * locale/newlocale.c: Likewise.
1180         * locale/setlocale.c: Likewise.
1181         * login/getutent_r.c: Likewise.
1182         * login/getutid_r.c: Likewise.
1183         * login/getutline_r.c: Likewise.
1184         * login/utmp-private.h: Likewise.
1185         * login/utmpname.c: Likewise.
1186         * malloc/mtrace.c: Likewise.
1187         * misc/efgcvt.c: Likewise.
1188         * misc/error.c: Likewise.
1189         * misc/fstab.c: Likewise.
1190         * misc/getpass.c: Likewise.
1191         * misc/mntent.c: Likewise.
1192         * misc/syslog.c: Likewise.
1193         * nis/nis_call.c: Likewise.
1194         * nis/nis_callback.c: Likewise.
1195         * nis/nss-default.c: Likewise.
1196         * nis/nss_compat/compat-grp.c: Likewise.
1197         * nis/nss_compat/compat-initgroups.c: Likewise.
1198         * nis/nss_compat/compat-pwd.c: Likewise.
1199         * nis/nss_compat/compat-spwd.c: Likewise.
1200         * nis/nss_nis/nis-alias.c: Likewise.
1201         * nis/nss_nis/nis-ethers.c: Likewise.
1202         * nis/nss_nis/nis-grp.c: Likewise.
1203         * nis/nss_nis/nis-hosts.c: Likewise.
1204         * nis/nss_nis/nis-network.c: Likewise.
1205         * nis/nss_nis/nis-proto.c: Likewise.
1206         * nis/nss_nis/nis-pwd.c: Likewise.
1207         * nis/nss_nis/nis-rpc.c: Likewise.
1208         * nis/nss_nis/nis-service.c: Likewise.
1209         * nis/nss_nis/nis-spwd.c: Likewise.
1210         * nis/nss_nisplus/nisplus-alias.c: Likewise.
1211         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1212         * nis/nss_nisplus/nisplus-grp.c: Likewise.
1213         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1214         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
1215         * nis/nss_nisplus/nisplus-network.c: Likewise.
1216         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1217         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1218         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1219         * nis/nss_nisplus/nisplus-service.c: Likewise.
1220         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1221         * nis/ypclnt.c: Likewise.
1222         * nptl/libc_pthread_init.c: Likewise.
1223         * nss/getXXbyYY.c: Likewise.
1224         * nss/getXXent.c: Likewise.
1225         * nss/getXXent_r.c: Likewise.
1226         * nss/nss_db/db-XXX.c: Likewise.
1227         * nss/nss_db/db-netgrp.c: Likewise.
1228         * nss/nss_db/nss_db.h: Likewise.
1229         * nss/nss_files/files-XXX.c: Likewise.
1230         * nss/nss_files/files-alias.c: Likewise.
1231         * nss/nsswitch.c: Likewise.
1232         * posix/regex_internal.h: Likewise.
1233         * posix/wordexp.c: Likewise.
1234         * pwd/fgetpwent.c: Likewise.
1235         * resolv/res_hconf.c: Likewise.
1236         * resolv/res_libc.c: Likewise.
1237         * shadow/fgetspent.c: Likewise.
1238         * shadow/lckpwdf.c: Likewise.
1239         * shadow/sgetspent.c: Likewise.
1240         * socket/opensock.c: Likewise.
1241         * stdio-common/reg-modifier.c: Likewise.
1242         * stdio-common/reg-printf.c: Likewise.
1243         * stdio-common/reg-type.c: Likewise.
1244         * stdio-common/vfprintf.c: Likewise.
1245         * stdio-common/vfscanf.c: Likewise.
1246         * stdlib/abort.c: Likewise.
1247         * stdlib/cxa_atexit.c: Likewise.
1248         * stdlib/fmtmsg.c: Likewise.
1249         * stdlib/random.c: Likewise.
1250         * stdlib/setenv.c: Likewise.
1251         * string/strsignal.c: Likewise.
1252         * sunrpc/auth_none.c: Likewise.
1253         * sunrpc/bindrsvprt.c: Likewise.
1254         * sunrpc/create_xid.c: Likewise.
1255         * sunrpc/key_call.c: Likewise.
1256         * sunrpc/rpc_thread.c: Likewise.
1257         * sysdeps/arm/backtrace.c: Likewise.
1258         * sysdeps/generic/ldsodefs.h: Likewise.
1259         * sysdeps/generic/stdio-lock.h: Likewise.
1260         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
1261         * sysdeps/i386/backtrace.c: Likewise.
1262         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1263         * sysdeps/m68k/backtrace.c: Likewise.
1264         * sysdeps/mach/hurd/cthreads.c: Likewise.
1265         * sysdeps/mach/hurd/dirstream.h: Likewise.
1266         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1267         * sysdeps/nptl/malloc-machine.h: Likewise.
1268         * sysdeps/nptl/stdio-lock.h: Likewise.
1269         * sysdeps/posix/dirstream.h: Likewise.
1270         * sysdeps/posix/getaddrinfo.c: Likewise.
1271         * sysdeps/posix/system.c: Likewise.
1272         * sysdeps/pthread/aio_suspend.c: Likewise.
1273         * sysdeps/s390/s390-32/backtrace.c: Likewise.
1274         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1275         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1276         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1277         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
1278         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
1279         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
1280         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1281         * sysdeps/unix/sysv/linux/system.c: Likewise.
1282         * sysdeps/x86_64/backtrace.c: Likewise.
1283         * time/alt_digit.c: Likewise.
1284         * time/era.c: Likewise.
1285         * time/tzset.c: Likewise.
1286         * wcsmbs/wcsmbsload.c: Likewise.
1287         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
1288         instead of <bits/libc-lock.h> in comment.
1290 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
1292         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
1293         Only use .set mips2 if the current ISA is below mips2.
1294         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
1295         Likewise.
1296         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
1297         mips32r2 if the current ISA is below mips32r2.
1298         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
1299         (TLS_IE): Updated to use the TLD_RDHWR macro.
1300         (TLS_LE): Likewise.
1301         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
1302         __ASSEMBLER__ condition.
1304 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1306         Fix parallel build of before-compile targets.
1308         * sysdeps/mach/Makefile ($(patsubst
1309         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
1310         mach-before-compile target.
1311         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1312         io fs process)): Move rule to dedicated hurd-before-compile target.
1314 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1316         Fix rules generating headers in hurd/ and mach/ when initial make call
1317         has subdir= explicitly set.
1319         * sysdeps/mach/Makefile ($(patsubst
1320         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
1321         calling $(MAKE).
1322         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1323         io fs process)): Force subdir to hurd when calling $(MAKE).
1324         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
1325         subdir to mach when calling $(MAKE).
1327 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
1329         Check sysheaders when looking for Mach and Hurd headers
1331         * sysdeps/mach/configure.ac: Add sysheaders check.
1332         * sysdeps/mach/configure: Regenerate.
1333         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
1334         * sysdeps/mach/hurd/configure: Regenerate.
1336 2015-09-04  Roland McGrath  <roland@hack.frob.com>
1338         [BZ #18921]
1339         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
1340         Fix inverted sense of test of 'o_directory_works' value.
1341         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
1342         Bernhard Voelker <mail@bernhard-voelker.de>.
1344 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
1346         [BZ #14912]
1347         * bits/linkmap.h: Move to ...
1348         * sysdeps/generic/linkmap.h: ...here.
1349         * sysdeps/aarch64/bits/linkmap.h: Move to ...
1350         * sysdeps/aarch64/linkmap.h: ...here.
1351         * sysdeps/arm/bits/linkmap.h: Move to ...
1352         * sysdeps/arm/linkmap.h: ...here.
1353         * sysdeps/hppa/bits/linkmap.h: Move to ...
1354         * sysdeps/hppa/linkmap.h: ...here.
1355         * sysdeps/ia64/bits/linkmap.h: Move to ...
1356         * sysdeps/ia64/linkmap.h: ...here.
1357         * sysdeps/mips/bits/linkmap.h: Move to ...
1358         * sysdeps/mips/linkmap.h: ...here.
1359         * sysdeps/s390/bits/linkmap.h: Move to ...
1360         * sysdeps/s390/linkmap.h: ...here.
1361         * sysdeps/sh/bits/linkmap.h: Move to ...
1362         * sysdeps/sh/linkmap.h: ...here.
1363         * sysdeps/x86/bits/linkmap.h: Move to ...
1364         * sysdeps/x86/linkmap.h: ...here.
1365         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
1367 2015-09-04  Andreas Schwab  <schwab@suse.de>
1369         [BZ #18635]
1370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
1371         (__makecontext): Terminate FDE before return label.
1372         (__novec_makecontext): Likewise.
1374 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1376         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
1377         first member of struct sv in syscall macro.
1379 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
1381         [BZ #14912]
1382         * bits/stdio-lock.h: Move to ...
1383         * sysdeps/generic/stdio-lock.h: ...here.
1384         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1385         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
1386         * sysdeps/nptl/stdio-lock.h: ...here.
1387         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1388         * include/libio.h: Include <stdio-lock.h> instead of
1389         <bits/stdio-lock.h>.
1390         * sysdeps/nptl/fork.c: Likewise.
1391         * sysdeps/pthread/flockfile.c: Likewise.
1392         * sysdeps/pthread/ftrylockfile.c: Likewise.
1393         * sysdeps/pthread/funlockfile.c: Likewise.
1395         [BZ #14912]
1396         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
1397         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
1398         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
1399         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
1400         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
1401         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1402         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1404 2015-09-03  Roland McGrath  <roland@hack.frob.com>
1406         * elf/Makefile (test-xfail-tst-protected1a): New variable.
1407         (test-xfail-tst-protected1b): New variable.
1409 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
1411         [BZ #14912]
1412         * bits/libc-tsd.h: Move to ...
1413         * sysdeps/generic/libc-tsd.h: ...here.
1414         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
1415         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
1416         * sysdeps/mach/hurd/libc-tsd.h: ...here.
1417         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
1418         * include/ctype.h: Include <libc-tsd.h> instead of
1419         <bits/libc-tsd.h>.
1420         * include/rpc/rpc.h: Likewise.
1421         * locale/localeinfo.h: Likewise.
1422         * sunrpc/rpc_thread.c: Likewise.
1423         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1424         * sysdeps/nptl/malloc-machine.h: Likewise.
1426         * Makefile (headers): Remove bits/libc-lock.h.
1427         * libio/Makefile (headers): Remove bits/stdio-lock.h.
1429         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
1430         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
1431         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
1432         <bits/stdio-lock.h>.
1433         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
1434         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
1436 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
1438         [BZ #18757]
1439         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
1440         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
1441         BZ #18757.
1443 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
1445         * malloc/mtrace.pl: Filter out NULL entries.
1447 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
1449         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
1450         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
1451         macro.
1453         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
1454         (TCP_CC_INFO): Likewise.
1455         (TCP_SAVE_SYN): Likewise.
1456         (TCP_SAVED_SYN): Likewise.
1458 2015-08-31  Brett Neumeier <brett@neumeier.us>
1460         [BZ #18870]
1461         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
1463 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
1465         [BZ #18873]
1466         Fix broken overflow check in posix_fallocate
1467         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
1468         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1469         Fix parenthesization typo.
1471 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
1473         [BZ #18887]
1474         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
1475         tst-mntent-blank-passno.
1476         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
1477         * misc/tst-mntent-blank-corrupt.c: New test.
1478         * misc/tst-mntent-blank-passno.c: New test ripped from ...
1479         * misc/tst-mntent.c (do_test): ... here.
1481 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
1483         [BZ #4404]
1484         * po/de.po: Fix SIGALRM typo.
1486 2015-08-28  James Perkins  <james@loowit.net>
1488         * time/tst-strptime2.c (tests): Replace short list of test
1489         strings for strptime %z specifier with code which exhaustively
1490         tests every combination of sign and 0 to 5 digits. Tests for
1491         rejection of invalid strings.
1493 2015-08-28  James Perkins  <james@loowit.net>
1495         [BZ #16141]
1496         * time/strptime_l.c (__strptime_internal): Fix %z minutes
1497         calculation, removing incorrect decimal time rounding, so that
1498         all minute values result in a valid seconds value.
1499         * time/strptime_l.c (__strptime_internal): Extend %z time zone
1500         offset range limits to UTC-99:59 through UTC+99:59 to parse
1501         current and historical use cases.
1502         * time/tst-strptime2.c (tests): Modify and add tests for the
1503         strptime %z input field descriptor, specifically conversion of
1504         minutes to seconds and validating an offset range of -9959 to
1505         +9959.
1507 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1508             Dmitry V. Levin  <ldv@altlinux.org>
1510         [BZ #18877]
1511         * posix/Makefile (tests): Add tst-mmap-offset.
1512         * posix/tst-mmap.c: New file.
1513         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
1514         offset calculation for negative values.
1516 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
1518         * sysdeps/i386/init-arch.h: New file.
1519         * sysdeps/i386/i586/init-arch.h: Likewise.
1520         * sysdeps/i386/i686/init-arch.h: Likewise.
1521         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
1522         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
1523         * sysdeps/x86/cpu-features.h (bit_I586): New.
1524         (bit_I686): Likewise.
1525         (bit_CX8): Likewise.
1526         (bit_CMOV): Likewise.
1527         (index_CX8): Likewise.
1528         (index_CMOV): Likewise.
1529         (index_I586): Likewise.
1530         (index_I686): Likewise.
1531         (reg_CX8): Likewise.
1532         (reg_CMOV): Likewise.
1533         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
1534         available at compile-time.
1535         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
1536         available at compile-time.
1537         * sysdeps/x86/init-arch.h (USE_I586): New macro.
1538         (USE_I686): Likewise.
1540 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
1542         * sysdeps/i386/bcopy.S: New file.
1543         * sysdeps/i386/bzero.S: Likewise.
1544         * sysdeps/i386/memcpy.S: Likewise.
1545         * sysdeps/i386/memmove.S: Likewise.
1546         * sysdeps/i386/mempcpy.S: Likewise.
1547         * sysdeps/i386/memset.S: Likewise.
1548         * sysdeps/i386/bzero.c: Removed.
1549         * sysdeps/i386/memset.c: Likewise.
1550         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
1551         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
1552         * sysdeps/i386/i586/memset_chk.S: Likewise.
1553         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
1554         * sysdeps/i386/memcpy_chk.S: Here.
1555         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
1556         * sysdeps/i386/memmove_chk.S: Here.
1557         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
1558         * sysdeps/i386/mempcpy_chk.S: Likewise.
1559         * sysdeps/i386/i686/memset_chk.S: Moved to ...
1560         * sysdeps/i386/memset_chk.S: Likewise.
1562 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
1564         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
1565         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
1566         file, move DIAG_POP_NEEDS_COMMENT to end of file.
1567         * soft-fp/fmadf4.c: Ditto.
1568         * soft-fp/fmatf4.c: Ditto.
1570 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
1572         * sysdeps/i386/i586/Implies: Removed.
1573         * sysdeps/i386/i686/Implies: Likewise.
1575 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
1577         * sysdeps/i386/i486/strlen.S: Moved to ...
1578         * sysdeps/i386/strlen.S: Here.
1580 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
1582         * sysdeps/i386/i486/strcat.S: Moved to ...
1583         * sysdeps/i386/strcat.S: Here.
1585 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
1587         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
1588         * sysdeps/i386/pthread_spin_trylock.S: Here.
1589         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
1590         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
1592 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
1594         * sysdeps/i386/i486/string-inlines.c: Moved to ...
1595         * sysdeps/i386/string-inlines.c: Here.
1597 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
1599         * sysdeps/i386/i486/htonl.S: Moved ...
1600         * sysdeps/i386/htonl.S: here.
1602 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
1604         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
1605         * sysdeps/i386/bits/atomic.h: Here.
1607 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
1609         * sysdeps/i386/i486/Versions: Removed.
1611 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1613         [BZ #2898]
1614         * misc/mktemp.c: Add mkdtemp to the link_warning message.
1615         Based on patch by Aurelien Jarno.
1617 2015-08-26  Stan Shebs  <stanshebs@google.com>
1619         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
1620         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1622 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1624         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
1625         * sysdeps/powerpc/dl-procinfo.c:
1626         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
1627         feature so it shows when LD_SHOW_AUXV=1.
1629 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1631         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1632         (__arch_compare_and_exchange_val_32_acq): Remove and use common
1633         definition.  ISA 2.07B no longer requires full sync.
1635 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
1637         [BZ #18863]
1638         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
1639         (si_call_addr): Define.
1640         (si_syscall): Define.
1641         (si_arch): Define.
1643 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
1645         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
1646         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
1647         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
1648         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1649         (__memset_zero_constant_len_parameter): New.
1650         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
1651         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1652         (__memset_zero_constant_len_parameter): Don't define if
1653         __memset_chk or USE_AS_BZERO are defined.
1655         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
1656         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
1657         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
1659         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
1660         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
1661         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
1662         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
1663         comments.
1664         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
1665         -mno-mmx for $(all-rtld-routines).
1666         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
1667         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
1668         i386.
1670 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1672         * sysdeps/generic/unwind.h
1673         (_Unwind_Word): Use __mode__(__unwind_word__)
1674         instead of __mode__(__word__).
1675         (_Unwind_Sword): Likewise.
1677         * sysdeps/s390/s390-64/utf8-utf16-z9.c
1678         (MAX_NEEDED_INPUT): New define.
1679         (MAX_NEEDED_OUTPUT): New define.
1681         * NEWS: New item for IBM z13 string optimizations.
1683         * sysdeps/s390/multiarch/memrchr-c.c: New File.
1684         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
1685         * sysdeps/s390/multiarch/memrchr.c: Likewise.
1686         * sysdeps/s390/multiarch/Makefile
1687         (sysdep_routines): Add memrchr functions.
1688         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1689         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
1691         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
1692         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
1693         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
1694         * sysdeps/s390/multiarch/Makefile
1695         (sysdep_routines): Add wmemcmp functions.
1696         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1697         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
1698         * benchtests/bench-wmemcmp.c: New File.
1699         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
1701         * sysdeps/s390/multiarch/wmemset-c.c: New File.
1702         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
1703         * sysdeps/s390/multiarch/wmemset.c: Likewise.
1704         * sysdeps/s390/multiarch/Makefile
1705         (sysdep_routines): Add wmemset functions.
1706         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1707         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
1708         * wcsmbs/wmemset.c: Use WMEMSET if defined.
1709         * string/test-memset.c: Add wmemset support.
1710         * wcsmbs/test-wmemset.c: New File.
1711         * wcsmbs/Makefile (strop-tests): Add wmemset.
1712         * benchtests/bench-memset.c: Add wmemset support.
1713         * benchtests/bench-wmemset.c: New File.
1714         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
1716         * sysdeps/s390/multiarch/memccpy-c.c: New File.
1717         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
1718         * sysdeps/s390/multiarch/memccpy.c: Likewise.
1719         * sysdeps/s390/multiarch/Makefile
1720         (sysdep_routines): Add memccpy functions.
1721         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1722         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
1723         * string/memccpy.c: Use MEMCCPY if defined.
1725         * sysdeps/s390/multiarch/memchr-vx.S: New File.
1726         * sysdeps/s390/multiarch/memchr.c: Likewise.
1727         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
1728         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
1729         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
1730         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
1731         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
1732         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
1733         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
1734         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1735         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
1736         and rawmemchr functions.
1737         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1738         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
1739         and wmemchr.
1740         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
1741         * string/test-memchr.c: Add wmemchr support.
1742         * wcsmbs/test-wmemchr.c: New File.
1743         * wcsmbs/Makefile (strop-tests): Add wmemchr.
1744         * benchtests/bench-memchr.c: Add wmemchr support.
1745         * benchtests/bench-wmemchr.c: New File.
1746         * benchtests/Makefile (wcsmbs-bench): wmemchr.
1748         * sysdeps/s390/multiarch/strcspn-c.c: New File.
1749         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
1750         * sysdeps/s390/multiarch/strcspn.c: Likewise.
1751         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
1752         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
1753         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
1754         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
1755         wcscspn functions.
1756         * sysdeps/s390/multiarch/ifunc-impl-list.c
1757         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
1758         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
1759         * string/test-strcspn.c: Add wcscspn support.
1760         * wcsmbs/test-wcscspn.c: New File.
1761         * wcsmbs/Makefile (strop-tests): Add wcscspn.
1762         * benchtests/bench-strcspn.c: Add wcscspn support.
1763         * benchtests/bench-wcscspn.c: New File.
1764         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
1766         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
1767         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
1768         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
1769         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
1770         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
1771         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
1772         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
1773         wcspbrk functions.
1774         * sysdeps/s390/multiarch/ifunc-impl-list.c
1775         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
1776         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
1777         * string/test-strpbrk.c: Add wcspbrk support.
1778         * wcsmbs/test-wcspbrk.c: New File.
1779         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
1780         * benchtests/bench-strpbrk.c: Add wcspbrk support.
1781         * benchtests/bench-wcspbrk.c: New File.
1782         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
1784         * sysdeps/s390/multiarch/strspn-c.c: New File.
1785         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
1786         * sysdeps/s390/multiarch/strspn.c: Likewise.
1787         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
1788         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
1789         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
1790         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
1791         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
1792         wcsspn functions.
1793         * sysdeps/s390/multiarch/ifunc-impl-list.c
1794         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
1795         * string/test-strspn.c: Add wcsspn support.
1796         * wcsmbs/test-wcsspn.c: New File.
1797         * wcsmbs/Makefile (strop-tests): Add wcsspn.
1798         * benchtests/bench-strspn.c: Add wcsspn support.
1799         * benchtests/bench-wcsspn.c: New File.
1800         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
1802         * sysdeps/s390/multiarch/strrchr-c.c: New File.
1803         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
1804         * sysdeps/s390/multiarch/strrchr.c: Likewise.
1805         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
1806         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
1807         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
1808         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
1809         wcsrchr functions.
1810         * sysdeps/s390/multiarch/ifunc-impl-list.c
1811         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
1812         * benchtests/bench-wcsrchr.c: New File.
1813         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
1815         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
1816         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
1817         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
1818         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
1819         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
1820         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
1821         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
1822         wcschrnul functions.
1823         * sysdeps/s390/multiarch/ifunc-impl-list.c
1824         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
1825         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
1826         * string/test-strchr.c: Add wcschrnul support.
1827         * wcsmbs/test-wcschrnul.c: New File.
1828         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
1829         * benchtests/bench-strchr.c: Add wcschrnul support.
1830         * benchtests/bench-wcschrnul.c: New File.
1831         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
1833         * sysdeps/s390/multiarch/strchr-c.c: New File.
1834         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
1835         * sysdeps/s390/multiarch/strchr.c: Likewise.
1836         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
1837         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
1838         * sysdeps/s390/multiarch/wcschr.c: Likewise.
1839         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
1840         wcschr functions.
1841         * sysdeps/s390/multiarch/ifunc-impl-list.c
1842         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
1843         * string/strchr.c (STRCHR): Define and use macro.
1844         * benchtests/bench-wcschr.c: New File.
1845         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
1847         * sysdeps/s390/multiarch/strncmp-c.c: New File.
1848         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
1849         * sysdeps/s390/multiarch/strncmp.c: Likewise.
1850         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
1851         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
1852         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
1853         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
1854         wcsncmp functions.
1855         * sysdeps/s390/multiarch/ifunc-impl-list.c
1856         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
1857         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
1858         * benchtests/bench-strncmp.c: Add wcsncmp support.
1859         * benchtests/bench-wcsncmp.c: New File.
1860         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
1862         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
1863         * sysdeps/s390/multiarch/strcmp.c: Likewise.
1864         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
1865         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
1866         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1867         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
1868         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1869         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
1870         wcscmp functions.
1871         * sysdeps/s390/multiarch/ifunc-impl-list.c
1872         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
1873         * string/strcmp.c (STRCMP): Define and use macro.
1874         * benchtests/bench-wcscmp.c: New File.
1875         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
1876         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
1877         instead of _HAVE_STRING_ARCH_memchr.
1879         * sysdeps/s390/multiarch/strncat-c.c: New File.
1880         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
1881         * sysdeps/s390/multiarch/strncat.c: Likewise.
1882         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
1883         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
1884         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
1885         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
1886         wcsncat functions.
1887         * sysdeps/s390/multiarch/ifunc-impl-list.c
1888         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
1889         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
1890         * string/test-strncat.c: Add wcsncat support.
1891         * wcsmbs/test-wcsncat.c: New File.
1892         * wcsmbs/Makefile (strop-tests): Add wcsncat.
1893         * benchtests/bench-strncat.c: Add wcsncat support.
1894         * benchtests/bench-wcsncat.c: New File.
1895         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
1897         * sysdeps/s390/multiarch/strcat-c.c: New File.
1898         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
1899         * sysdeps/s390/multiarch/strcat.c: Likewise.
1900         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
1901         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
1902         * sysdeps/s390/multiarch/wcscat.c: Likewise.
1903         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
1904         wcscat functions.
1905         * sysdeps/s390/multiarch/ifunc-impl-list.c
1906         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
1907         * string/strcat.c (STRCAT): Define and use macro.
1908         * wcsmbs/wcscat.c: Use WCSCAT if defined.
1909         * string/test-strcat.c: Add wcscat support.
1910         * wcsmbs/test-wcscat.c: New File.
1911         * wcsmbs/Makefile (strop-tests): Add wcscat.
1912         * benchtests/bench-strcat.c: Add wcscat support.
1913         * benchtests/bench-wcscat.c: New File.
1914         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
1916         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
1917         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
1918         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1919         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
1920         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
1921         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
1922         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
1923         wcpncpy functions.
1924         * sysdeps/s390/multiarch/ifunc-impl-list.c
1925         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
1926         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
1927         * string/test-stpncpy.c: Add wcpncpy support.
1928         * wcsmbs/test-wcpncpy.c: New File.
1929         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
1930         * benchtests/bench-stpncpy.c: Add wcpncpy support.
1931         * benchtests/bench-wcpncpy.c: New File.
1932         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
1934         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
1935         * sysdeps/s390/multiarch/strncpy.c: Likewise.
1936         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
1937         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
1938         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
1939         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
1940         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1941         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
1942         wcsncpy functions.
1943         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
1944         * sysdeps/s390/multiarch/ifunc-impl-list.c
1945         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
1946         * string/test-strncpy.c: Add wcsncpy support.
1947         * wcsmbs/test-wcsncpy.c: New File.
1948         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
1949         * benchtests/bench-strncpy.c: Add wcsncpy support.
1950         * benchtests/bench-wcsncpy.c: New File.
1951         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
1953         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
1954         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
1955         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1956         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
1957         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
1958         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
1959         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
1960         wcpcpy functions.
1961         * string/stpcpy.c: Use STPCPY if defined.
1962         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
1963         * sysdeps/s390/multiarch/ifunc-impl-list.c
1964         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
1965         * string/test-stpcpy.c: Add wcpcpy support.
1966         * wcsmbs/test-wcpcpy.c: New File.
1967         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
1968         * benchtests/bench-stpcpy.c: Add wcpcpy support.
1969         * benchtests/bench-wcpcpy.c: New File.
1970         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
1972         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
1973         * sysdeps/s390/multiarch/strcpy.c: Likewise.
1974         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
1975         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
1976         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
1977         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
1978         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1979         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
1980         wcscpy functions.
1981         * sysdeps/s390/multiarch/ifunc-impl-list.c
1982         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
1983         * benchtests/bench-wcscpy.c: New File.
1984         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
1986         * sysdeps/s390/multiarch/strnlen-c.c: New File.
1987         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
1988         * sysdeps/s390/multiarch/strnlen.c: Likewise.
1989         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
1990         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
1991         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
1992         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
1993         wcsnlen functions.
1994         * sysdeps/s390/multiarch/ifunc-impl-list.c
1995         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
1996         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
1997         * string/test-strnlen.c: Add wcsnlen support.
1998         * wcsmbs/test-wcsnlen.c: New File.
1999         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
2000         * benchtests/bench-strnlen.c: Add wcsnlen support.
2001         * benchtests/bench-wcsnlen.c: New File.
2002         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
2004         * sysdeps/s390/multiarch/Makefile: New File.
2005         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
2006         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
2007         * sysdeps/s390/multiarch/strlen.c: Likewise.
2008         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
2009         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
2010         * sysdeps/s390/multiarch/wcslen.c: Likewise.
2011         * string/strlen.c (STRLEN): Define and use macro.
2012         * sysdeps/s390/multiarch/ifunc-impl-list.c
2013         (IFUNC_VX_IMPL): New macro function.
2014         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
2015         * benchtests/Makefile (wcsmbs-bench): New variable.
2016         (string-bench-all): Added wcsmbs-bench.
2017         * benchtests/bench-wcslen.c: New File.
2019         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
2020         s390_vx_libc_ifunc2): New macro function.
2022         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
2023         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
2024         assembler support.
2025         * sysdeps/s390/configure: Regenerated.
2027         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
2028         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
2030         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
2031         * sysdeps/s390/dl-procinfo.h: Add vector capability.
2032         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
2034         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2035         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
2036         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
2037         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
2038         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
2039         (memcmp, bcmp): Use __memcmp_default as alias source.
2040         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
2041         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
2042         Rename to __memcmp_default.
2043         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
2044         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
2045         (memcpy): Use __memcpy_default as alias source.
2046         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
2047         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
2048         Rename to __memcpy_default.
2049         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
2050         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
2051         (memset): Use __memset_default as alias source.
2052         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
2053         * sysdeps/s390/s390-32/memset.S (__memset_g5):
2054         Rename to __memset_default.
2055         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
2056         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
2057         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
2058         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
2059         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
2060         (memcmp, bcmp): Use __memcmp_default as alias source.
2061         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
2062         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
2063         Rename to __memcmp_default.
2064         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
2065         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
2066         (memcpy): Use __memcpy_default as alias source.
2067         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
2068         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
2069         Rename to __memcpy_default.
2070         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
2071         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
2072         (memset): Use __memset_default as alias source.
2073         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
2074         * sysdeps/s390/s390-64/memset.S (__memset_z900):
2075         Rename to __memset_default.
2076         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
2077         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
2079         [BZ #18610]
2080         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
2081         __ieee_instruction_pointer to __unused.
2082         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
2083         __ieee_instruction_pointer.
2084         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
2085         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
2086         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2087         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
2088         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
2089         Mark dxc-field as reserved.
2091 2015-08-25  Roland McGrath  <roland@hack.frob.com>
2093         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
2094         if the weak reference is not null.
2096 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
2098         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
2100         [BZ #11214]
2101         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
2103 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2105         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
2106         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
2107         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
2108         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
2109         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
2110         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
2111         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
2112         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
2113         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
2114         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
2115         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
2116         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
2117         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
2118         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
2119         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
2120         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
2121         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
2122         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
2124 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2126         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
2127         register other than r0 for tabort, it has special meaning.
2128         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
2129         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
2130         transaction before starting syscall.
2132 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2134         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
2136 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
2138         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
2140         * sysdeps/x86_64/rtld-memcmp.c: Removed.
2141         * sysdeps/x86_64/rtld-memset.S: Likewise.
2142         * sysdeps/x86_64/rtld-strchr.S: Likewise.
2143         * sysdeps/x86_64/rtld-strlen.S: Likewise.
2144         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
2145         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2147         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
2149 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
2151         * debug/strcpy_chk.c: Improve performance.
2152         * debug/stpcpy_chk.c: Likewise.
2153         * sysdeps/x86_64/strcpy_chk.S: Remove.
2154         * sysdeps/x86_64/stpcpy_chk.S: Remove.
2156         [BZ #18240]
2157         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
2159 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
2161         [BZ #15128]
2162         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
2163         ifuncmain8.
2164         (modules-names): Add ifuncmod8.
2165         ($(objpfx)ifuncmain8): New rule.
2166         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
2167         <cpuid.h>.
2168         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
2169         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
2170         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
2171         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
2172         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
2173         * sysdeps/x86_64/dl-trampoline.h: Likewise.
2174         * sysdeps/x86_64/ifuncmain8.c: New file.
2175         * sysdeps/x86_64/ifuncmod8.c: Likewise.
2176         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
2177         Removed.
2178         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
2179         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
2180         Change rtld_savespace_sse to __glibc_unused2.
2181         (RTLD_CHECK_FOREIGN_CALL): Removed.
2182         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
2183         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
2184         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
2186 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
2188         * sysdeps/aarch64/bzero.S (__bzero): Remove.
2190 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
2192         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
2193         Unconditionally set __fpcr to avoid uninialized warning.
2194         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
2196 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2198         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
2199         is corrupt.
2201         * malloc/arena.c (arena_get2): Drop unused argument.
2202         (arena_lock): Adjust.
2203         (arena_get_retry): Likewise.
2205 2015-08-24  Andreas Schwab  <schwab@suse.de>
2207         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
2208         Don't define.
2209         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2210         (__ASSUME_IPC64): Don't undef.
2211         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
2212         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2213         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2214         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
2215         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
2216         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
2217         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
2218         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
2219         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
2220         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
2221         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
2222         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
2223         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
2224         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
2225         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
2226         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
2227         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
2228         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
2229         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
2230         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
2231         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
2233 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
2235         * manual/Makefile (install): Only build manual when perl is available.
2237 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2239         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
2240         '#undef memcpy' by '#undef memchr'.
2242 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2244         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
2245         memchr not point to the internal __GI_memchr implementation.
2247 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
2249         * timezone/Makefile (CFLAGS-zdump.c): Remove
2250         -Wno-strict-prototypes.
2251         (CFLAGS-zic.c): Likewise.
2252         (CFLAGS-ialloc.c): Likewise.
2253         (CFLAGS-scheck.c): Likewise.
2255         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
2256         -Wno-error=undef.
2258 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
2260         * i386/i686/multiarch/strcasestr-c.c: Removed.
2261         * x86_64/multiarch/strcasestr.c: Likewise.
2262         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2263         Remove strcasestr.
2265 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
2267         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
2269         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
2270         variables for high and low parts before possibly modifying them.
2272 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
2274         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
2275         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
2276         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
2277         of "multiarch/init-arch.h".
2278         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
2279         * sysdeps/x86/init-arch.h: This.
2281 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
2283         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
2284         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
2286 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
2288         [BZ #17787]
2289         * manual/macros.texi: Add twoexp macro.
2290         * manual/filesys.texi: Fix exponents.
2291         * manual/llio.texi: Likewise.
2292         * manual/stdio.texi: Likewise.
2294 2015-08-20  Florian Weimer  <fweimer@redhat.com>
2296         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
2297         incorrect use.
2299 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
2301         [BZ #18370]
2302         * math/s_csqrt.c (__csqrt): Force underflow exception for results
2303         whose real or imaginary part has small absolute value.
2304         * math/s_csqrtf.c (__csqrtf): Likewise.
2305         * math/s_csqrtl.c (__csqrtl): Likewise.
2306         * math/auto-libm-test-in: Add more tests of csqrt.
2307         * math/auto-libm-test-out: Regenerated.
2308         * sysdeps/i386/fpu/libm-test-ulps: Update.
2310 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2312         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
2313         __ppc_set_ppr_very_low): New functions.
2314         * manual/platform.texi: Add documentation about
2315         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
2317 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
2319         * string/stpncpy.c (stpncpy): Improve performance using
2320         __strnlen/memcpy/memset.
2322 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2324         [BZ #18796]
2325         * scripts/test-installation.pl: Don't add -lmvec to build options if
2326         libmvec wasn't built.
2328 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
2330         [BZ #14341]
2331         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
2332         case when there is a gap between DT_REL and DT_JMPREL sections.
2333         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
2334         (LDFLAGS-tst-split-dynreloc): New.
2335         (tst-split-dynreloc-ENV): Likewise.
2336         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
2337         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
2339 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2341         [BZ #18822]
2342         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
2343         attribute_hidden.
2344         (__xstat64_conv): Likewise.
2345         (__xstat32_conv): Likewise.
2347 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2349         [BZ #18822]
2350         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
2351         Don't load %ebx when calling __setcontext.  Call __setcontext
2352         with HIDDEN_JUMPTARGET.
2353         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
2354         libc_hidden_def.
2356 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2358         * sysdeps/i386/i686/Makefile
2359         [$(subdir) == string] (sysdep_routines): Moved to ...
2360         * sysdeps/i386/Makefile: Here.
2361         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
2362         * sysdeps/i386/cacheinfo.c: Here.
2363         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
2364         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
2365         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
2366         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
2368 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2370         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
2371         __i586__ is defined.
2372         (HAS_I686): Defined to 1 if __i686__ is defined.
2374 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
2376         * elf/Makefile [$(have-z-execstack) = yes]
2377         (CPPFLAGS-tst-execstack.c): New variable.
2379         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
2380         conditional to [defined UTMPX || _HAVE_UT_TYPE].
2381         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
2382         UTMPX || _HAVE_UT_TV].
2383         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
2384         UTMPX || _HAVE_UT_TV - 0].
2386 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
2388         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
2389         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
2390         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
2392 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2394         * sysdeps/powerpc/dl-procinfo.c:
2395         (_dl_powerpc_cap_flags): Added missing strings for some
2396         hwcap features.
2397         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
2399 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
2401         Port the 0x7efe...feff pattern to GCC 6.
2402         See Steve Ellcey's bug report in:
2403         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
2404         * string/memrchr.c (MEMRCHR):
2405         * string/rawmemchr.c (RAWMEMCHR):
2406         * string/strchr.c (strchr):
2407         * string/strchrnul.c (STRCHRNUL):
2408         Rewrite code to avoid issues with signed shift overflow.
2410 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
2412         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
2413         whether cpuid is available only if HAS_CPUID is 0.
2414         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
2415         (HAS_I586): Likewise.
2416         (HAS_I686): Likewise.
2418 2015-08-18  Zack Weinberg  <zackw@panix.com>
2420         * misc/Versions (libc): Add GLIBC_2.23.
2422 2015-08-18  Alan Modra  <amodra@gmail.com>
2424         [BZ #18421]
2425         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
2426         .Lp__global.
2427         (_start): Load %dp via .Lp__global.
2428         [!SHARED]: Use .section .rodata.
2430 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
2432         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
2433         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
2435 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
2437         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
2438         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
2440 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
2442         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
2443         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
2445 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
2447         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
2448         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
2450 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
2452         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
2453         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
2455 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
2457         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
2458         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
2460 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
2462         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
2464 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
2466         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
2467         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
2468         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2469         (__ASSUME_LWS_CAS): Delete.
2471 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
2473         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
2474         * sysdeps/hppa/configure: Regenerated.
2475         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
2476         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
2477         * sysdeps/hppa/nptl/tls.h: Likewise.
2479 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
2481         [BZ #18823]
2482         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
2483         for scaling up small arguments.
2484         * math/s_csqrtf.c (__csqrtf): Likewise.
2485         * math/s_csqrtl.c (__csqrtl): Likewise.
2486         * math/auto-libm-test-in: Add more tests of csqrt.
2487         * math/auto-libm-test-out: Regenerated.
2489 2015-08-17  Andreas Schwab  <schwab@suse.de>
2491         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
2492         version set GLIBC_2.19.
2494 2015-08-16  Zack Weinberg  <zackw@panix.com>
2496         [BZ #18681]
2497         * misc/regexp.h: This interface is no longer supported.
2498         Remove all contents, leaving only an #error directive.
2499         * misc/regexp.c (loc1, loc2, locs, step, advance):
2500         Demote to compatibility symbols.
2502 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
2504         [BZ #18084]
2505         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
2506         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
2507         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2508         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
2509         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
2510         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
2511         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
2512         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
2513         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2515 2015-08-15  Zack Weinberg  <zackw@panix.com>
2517         [BZ #18795]
2518         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
2519         buffer length is known to be too large, not if it's known to be
2520         small enough.
2521         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
2522         overflow at runtime, involving a length parameter, twice: once
2523         with a compile-time constant length parameter, once without.
2525 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
2527         [BZ #18824]
2528         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
2529         scaling x * y up instead of down.
2530         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2531         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2532         * math/auto-libm-test-in: Add more tests of fma.
2533         * math/auto-libm-test-out: Regenerated.
2535 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
2537         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2539 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2541         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
2542         unnecessary movq.
2543         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
2544         Likewise.
2546 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
2548         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2549         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
2550         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
2551         and tgamma.
2552         * math/auto-libm-test-out: Regenerated.
2553         * sysdeps/i386/fpu/libm-test-ulps: Update.
2554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2556         [BZ #16520]
2557         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
2558         (__tanh): Force underflow exception for arguments with small
2559         absolute value.
2560         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
2561         (__tanhf): Force underflow exception for arguments with small
2562         absolute value.
2563         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
2564         (__tanhl): Force underflow exception for arguments with small
2565         absolute value.
2566         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
2567         (__tanhl): Force underflow exception for arguments with small
2568         absolute value.
2569         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
2570         (__tanhl): Force underflow exception for arguments with small
2571         absolute value.
2572         * math/auto-libm-test-in: Add more tests of tanh.
2573         * math/auto-libm-test-out: Regenerated.
2574         * sysdeps/i386/fpu/libm-test-ulps: Update.
2576 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
2578         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
2579         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
2581 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
2583         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
2584         <cpuid.h>.
2586 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
2588         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
2589         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
2591 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
2593         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
2594         Remove $(objpfx)init-arch.o.
2595         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
2596         init-arch.
2597         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
2598         (INIT_ARCH_EXT): Defined as empty.
2599         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
2600         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
2601         __init_cpu_features call.  Replace HAS_XXX with
2602         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2603         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
2604         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
2605         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
2606         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
2607         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2608         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
2609         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
2610         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2611         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
2612         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
2613         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2614         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
2615         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
2616         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2617         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
2618         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
2619         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2620         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2621         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
2622         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
2623         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2624         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
2625         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
2626         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2627         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
2628         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
2629         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2630         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
2631         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
2632         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2633         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
2634         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
2635         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2636         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
2637         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
2639 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
2641         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
2642         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2643         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2644         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2645         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
2646         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
2647         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
2648         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
2649         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
2650         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
2651         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
2652         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
2653         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2654         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2655         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2656         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2657         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2658         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2659         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2660         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2661         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2662         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2663         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2664         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2665         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2666         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2667         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2668         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2669         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2670         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2671         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2672         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2673         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2674         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2675         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2676         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2677         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2678         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2679         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2680         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2681         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2682         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2683         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2685 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
2687         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
2688         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2689         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2690         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2691         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2692         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
2693         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2694         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
2695         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
2696         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2697         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2698         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
2699         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
2700         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
2701         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
2702         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
2703         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
2704         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
2705         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
2706         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
2707         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2708         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
2709         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
2710         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2711         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2712         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
2713         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
2714         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
2715         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2716         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2717         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2718         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2719         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2720         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2721         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2722         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2723         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2724         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2725         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2726         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2727         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2728         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2729         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2731 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
2733         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
2734         (dl_platform_init): Call init_cpu_features.
2735         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
2736         * sysdeps/i386/i686/cacheinfo.c
2737         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
2738         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
2739         * sysdeps/i386/i686/multiarch/Versions: Removed.
2740         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
2741         Removed.
2742         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
2743         * sysdeps/unix/sysv/linux/x86/Makefile
2744         (libpthread-sysdep_routines): Remove init-arch.
2745         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
2746         <sysdeps/x86_64/dl-procinfo.c> instead of
2747         sysdeps/generic/dl-procinfo.c>.
2748         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
2749         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
2750         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
2751         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
2752         [$(subdir) == elf] (tests-static): Add
2753         tst-get-cpu-features-static.
2754         * sysdeps/x86/Versions: New file.
2755         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
2756         * sysdeps/x86/cpu-features.c: Likewise.
2757         * sysdeps/x86/cpu-features.h: Likewise.
2758         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
2759         * sysdeps/x86/libc-start.c: Likewise.
2760         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2761         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
2762         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
2763         * sysdeps/x86_64/dl-procinfo.c: Likewise.
2764         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
2765         Assume USE_MULTIARCH is defined and don't check it.
2766         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
2767         (is_amd): Likewise.
2768         (max_cpuid): Likewise.
2769         (intel_check_word): Likewise.
2770         (__cache_sysconf): Don't call __init_cpu_features.
2771         (__x86_preferred_memory_instruction): Removed.
2772         (init_cacheinfo): Don't call __init_cpu_features. Replace
2773         __cpu_features with GLRO(dl_x86_cpu_features).
2774         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
2775         (dl_platform_init): Call init_cpu_features.
2776         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
2777         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
2778         * sysdeps/x86_64/multiarch/Versions: Removed.
2779         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
2780         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
2781         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
2782         Removed.
2783         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
2785 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
2787         [BZ #18820]
2788         * libio/Makefile (test-fmemopen-mem): New test.
2789         * libio/test-fmemopen.c (do_bz18820): New test.
2790         * libio/fmemopen.c (__fmemopen): Fix memory leak.
2791         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
2793 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
2795         [BZ #16734]
2796         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
2797         (FREE_BUF): Delete.
2798         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
2799         * libio/genops.c (_IO_setb): Use malloc and free directly.
2800         (_IO_default_doallocate, _IO_default_finish): Likewise.
2801         ( _IO_unbuffer_all): Likewise.
2802         ( libc_freeres_fn): Likewise.
2803         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2804         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2805         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
2806         (_IO_wdefault_doallocate): Likewise.
2808 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2810         [BZ #18086]
2811         * sysdeps/posix/nice.c (nice): Restore old errno.
2812         * posix/tst-nice.c (do_test): Add test for BZ #18086.
2814 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
2816         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
2818 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2820         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
2821         __bcopy and add a weak_alias to bcopy.
2822         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
2823         for static build.
2825         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
2826         cleanup macro usage.
2827         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
2828         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
2829         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2830         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
2831         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2832         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
2833         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
2834         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2835         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2836         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
2837         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2838         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
2839         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2840         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
2841         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2842         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
2843         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
2844         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
2845         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2847         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
2848         libc_hidden_def.
2849         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
2851         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
2852         (sysdep_routines): Add strstr-ppc64.
2853         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
2855 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
2857         [BZ #18778]
2858         * elf/Makefile (tests): Add Add tst-nodelete2.
2859         (modules-names): Add tst-nodelete2mod.
2860         (tst-nodelete2mod.so-no-z-defs): New.
2861         ($(objpfx)tst-nodelete2): Likewise.
2862         ($(objpfx)tst-nodelete2.out): Likewise.
2863         (LDFLAGS-tst-nodelete2): Likewise.
2864         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
2865         out of loop through all loaded libraries.
2866         * elf/tst-nodelete2.c: New file.
2867         * elf/tst-nodelete2mod.c: Likewise.
2868         * elf/tst-znodelete-zlib.cc: Delete.
2870 2015-08-11  Andreas Schwab  <schwab@suse.de>
2872         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
2873         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
2874         (__openat64_nocancel): Likewise.
2876 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
2878         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
2879         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
2880         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
2881         * math/auto-libm-test-out: Regenerated.
2882         * sysdeps/i386/fpu/libm-test-ulps: Update.
2883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2885 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
2887         [BZ #18790]
2888         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
2889         threshold for returning +/- 1.
2890         * math/auto-libm-test-in: Add more tests of tanh.
2891         * math/auto-libm-test-out: Regenerated.
2892         * sysdeps/i386/fpu/libm-test-ulps: Update.
2894 2015-08-10  Andreas Schwab  <schwab@suse.de>
2896         [BZ #18781]
2897         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
2898         MORE_OFLAGS to oflag.
2899         * io/test-lfs.c (do_test): Test openat64.
2901 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
2903         [BZ #18789]
2904         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
2905         smaller threshold for returning the argument.
2906         * math/auto-libm-test-in: Add more tests of sinh.
2907         * math/auto-libm-test-out: Regenerated.
2908         * sysdeps/i386/fpu/libm-test-ulps: Update.
2910 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
2912         [BZ #18674]
2913         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
2914         break.
2916 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
2918         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
2919         (generated): Don't add $(addprefix z.,$(tzfiles)).
2921 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
2923         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
2924         * scripts/sysd-rules.awk: Likewise.
2926 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
2928         * iconvdata/tst-tables.sh: Change echo -n to printf.
2929         * nss/db-Makefile: Likewise.
2930         * posix/tst-getconf.sh: Likewise.
2931         * stdio-common/tst-unbputc.sh: Likewise.
2933 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
2935         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
2936         MADV_*_PAGES defines behind this feature check.
2938 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
2940         [BZ #18480]
2941         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
2942         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
2943         Define.
2944         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
2945         LOAD_REGS_5, LOAD_REGS_6): Update.
2946         (INTERNAL_SYSCALL): Update using new LOAD defines.
2947         (INTERNAL_SYSCALL_NCS): Likewise.
2948         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
2950 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
2952         [BZ #16734]
2953         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
2955 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
2957         [BZ #17905]
2958         * catgets/Makefile (tst-catgets-mem): New test.
2959         * catgets/catgets.c (catopen): Don't use unbounded alloca.
2960         * catgets/open_catalog.c (__open_catalog): Likewise.
2961         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
2963 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
2965         [BZ #18787]
2966         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
2967         clobber registers.
2968         (atomic_compare_and_exchange_val_acq): Use register asms to assign
2969         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
2970         Cast return to __typeof (oldval).
2972 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
2974         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
2975         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
2976         and delete sys/syscall.h include.
2978 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
2980         [BZ #16517]
2981         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
2982         (tan): Force underflow exception for arguments with small absolute
2983         value.
2984         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
2985         (__kernel_tanf): Force underflow exception for arguments with
2986         small absolute value.
2987         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
2988         (__kernel_tanl): Force underflow exception for arguments with
2989         small absolute value.
2990         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
2991         (__kernel_tanl): Force underflow exception for arguments with
2992         small absolute value.
2993         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
2994         (__kernel_tanl): Force underflow exception for arguments with
2995         small absolute value.
2996         * math/auto-libm-test-in: Add more tests of tan.
2997         * math/auto-libm-test-out: Regenerated.
2999 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3001         Fix sysdeps/i386/fpu/s_scalbn.S build
3003         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
3005 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
3007         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3009 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3011         Fix gcrt0.o compilation
3013         When static-start-installed-name is different from
3014         start-installed-name, we must not use the shared objects.
3016         * csu/Makefile
3017         (extra-objs): Add gmon-start.o when building shared library and
3018         $(static-start-installed-name) is different from
3019         $(start-installed-name).
3020         $(objpfx)g$(static-start-installed-name): When building shared
3021         library and $(static-start-installed-name) is different from
3022         $(static-start-installed-name), revert to non-shared rule,
3023         i.e. using $(objpfx)% and gmon-start.o.
3025 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
3027         [BZ #16519]
3028         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
3029         (__ieee754_sinh): Force underflow exception for arguments with
3030         small absolute value.
3031         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
3032         (__ieee754_sinhf): Force underflow exception for arguments with
3033         small absolute value.
3034         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
3035         (__ieee754_sinhl): Force underflow exception for arguments with
3036         small absolute value.
3037         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
3038         (__ieee754_sinhl): Force underflow exception for arguments with
3039         small absolute value.
3040         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
3041         (__ieee754_sinhl): Force underflow exception for arguments with
3042         small absolute value.
3043         * math/auto-libm-test-in: Add more tests of sinh.
3044         * math/auto-libm-test-out: Regenerated.
3045         * sysdeps/i386/fpu/libm-test-ulps: Update.
3047 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
3049         * libio/oldfileops.c: Include unistd.h.
3051 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
3053         * stdlib/isomac.c: Include ctype.h.
3055 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
3057         * dirent/tst-seekdir.c (main): Converted to ...
3058         (do_test): ... this.
3059         (TEST_FUNCTION): New macro.
3060         Include test-skeleton.c.
3061         * elf/tst-dlmodcount.c (main): Converted to ...
3062         (do_test): ... this.
3063         (TEST_FUNCTION): New macro.
3064         Include test-skeleton.c.
3065         * elf/tst-order-main.c (main): Converted to ...
3066         (do_test): ... this.
3067         (TEST_FUNCTION): New macro.
3068         Include test-skeleton.c.
3069         * elf/tst-pie2.c (main): Converted to ...
3070         (do_test): ... this.
3071         (TEST_FUNCTION): New macro.
3072         Include test-skeleton.c.
3073         * inet/tst-ether_aton.c (main): Converted to ...
3074         (do_test): ... this.
3075         (TEST_FUNCTION): New macro.
3076         Include test-skeleton.c.
3077         * misc/tst-mntent.c (main): Converted to ...
3078         (do_test): ... this.
3079         (TEST_FUNCTION): New macro.
3080         Include test-skeleton.c.
3081         * misc/tst-tsearch.c (main): Converted to ...
3082         (do_test): ... this.
3083         (TEST_FUNCTION): New macro.
3084         Include test-skeleton.c.
3085         * posix/tst-regexloc.c (main): Converted to ...
3086         (do_test): ... this.
3087         (TEST_FUNCTION): New macro.
3088         Include test-skeleton.c.
3089         * resolv/tst-aton.c (main): Converted to ...
3090         (do_test): ... this.
3091         (TEST_FUNCTION): New macro.
3092         Include test-skeleton.c.
3093         * stdio-common/test-fwrite.c (main): Converted to ...
3094         (do_test): ... this.
3095         (TEST_FUNCTION): New macro.
3096         Include test-skeleton.c.
3097         * stdio-common/tst-ferror.c (main): Converted to ...
3098         (do_test): ... this.
3099         (TEST_FUNCTION): New macro.
3100         Include test-skeleton.c.
3101         * stdio-common/tst-printf.c (main): Converted to ...
3102         (do_test): ... this.
3103         (TEST_FUNCTION): New macro.
3104         Include test-skeleton.c.
3105         * stdio-common/tst-printfsz.c (main): Converted to ...
3106         (do_test): ... this.
3107         (TEST_FUNCTION): New macro.
3108         Include test-skeleton.c.
3109         * stdlib/tst-strtod.c (main): Converted to ...
3110         (do_test): ... this.
3111         (TEST_FUNCTION): New macro.
3112         Include test-skeleton.c.
3113         * string/tst-strlen.c (main): Converted to ...
3114         (do_test): ... this.
3115         (TEST_FUNCTION): New macro.
3116         Include test-skeleton.c.
3117         * string/tst-svc.c (main): Converted to ...
3118         (do_test): ... this.
3119         (TEST_FUNCTION): New macro.
3120         Include test-skeleton.c.
3121         * time/tst-strptime.c (main): Converted to ...
3122         (do_test): ... this.
3123         (TEST_FUNCTION): New macro.
3124         Include test-skeleton.c.
3125         * timezone/tst-timezone.c (main): Converted to ...
3126         (do_test): ... this.
3127         (TEST_FUNCTION): New macro.
3128         Include test-skeleton.c.
3130 2015-08-05  Zack Weinberg  <zackw@panix.com>
3132         * misc/regexp.h: Update comments.
3134 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
3136         [BZ #18635]
3137         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
3138         before return label.
3140 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3142         [BZ #18661]
3143         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
3144         when calling __errno_location.
3145         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
3146         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
3148 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3150         [BZ #18661]
3151         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
3152         (__lll_timedwait_tid): Align stack to 16 bytes when calling
3153         __gettimeofday.
3155 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3157         [BZ #18661]
3158         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3159         (__start_context): Don't use pop to restore %rdi so that stack
3160         is aligned to 16 bytes when calling __setcontext.
3162 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3164         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
3165         only for libc.
3166         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3168 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3170         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
3171         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
3172         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
3174 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3176         * string/memccpy.c (memccpy):
3177         Improve performance by using memchr/memcpy/__mempcpy.
3179 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3181         * string/strncpy.c (strncpy):
3182         Improve performance by using __strnlen/memcpy.
3184 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3186         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3187         Optimize to avoid an unnecessary FPCR read.
3189 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3191         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3192         Optimize to reduce FPCR/FPSR accesses.
3194 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3196         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
3197         dead->data[category] != NULL.
3199 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
3201         [BZ #18647]
3202         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
3203         and |x| close to 1, use absolute value of x when computing log.
3204         * math/auto-libm-test-in: Add more tests of pow.
3205         * math/auto-libm-test-out: Regenerated.
3207 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3209         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
3210         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
3211         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
3213 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
3215         [BZ #18525]
3216         * locales/km_KH: Remove timezone definition.
3217         * locales/lo_LA: Likewise.
3218         * locales/my_MM: Likewise.
3219         * locales/nan_TW@latin: Likewise.
3220         * locales/th_TH: Likewise.
3221         * locales/uk_UA: Likewise.
3223 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
3225         [BZ #18265]
3226         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
3227         (wcsncat): Likewise.
3228         (wcscmp): Likewise.
3229         (wcsncmp): Likewise.
3231 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
3233         * test-skeleton.c (usage): New function.
3234         (main): Call usage when opt is '?'.
3236 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
3238         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
3239         before first use.
3241 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
3243         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
3244         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
3245         in there too.
3247 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
3249         * version.h (RELEASE): Set to "development".
3250         (VERSION): Set to "2.22.90"
3252         * version.h (RELEASE): Set to "stable".
3253         (VERSION): Set to "2.22"
3254         * include/features.h (__GLIBC_MINOR__): Set to 22.
3256 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
3258         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
3259         Restructure macro to avoid "value computed is not used" warning.
3260         (atomic_compare_and_exchange_val_acq): Likewise.
3262 2015-08-04  Andreas Schwab  <schwab@suse.de>
3264         [BZ #18635]
3265         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
3266         ret.
3267         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
3269 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
3271         * po/pl.po: Updated translation.
3272         * po/uk.po: Likewise.
3273         * po/fi.po: Likewise.
3274         * po/ko.po: Likewise.
3275         * po/ru.po: Likewise.
3276         * po/vi.po: Likewise.
3278 2015-07-31  Zack Weinberg  <zackw@panix.com>
3280         [BZ #18681]
3281         * regexp.h: Add unconditional #warning stating that this header
3282         will be removed soon.  Revise banner comment to match.
3283         (compile): Consistently use ERROR instead of RETURN to report
3284         errors (partial fix for bz#18681).
3285         * regexp.c: Don't include regexp.h. Remove some unnecessary
3286         declarations.
3288 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
3290         * po/libc.pot: Regenerated.
3292 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
3294         [BZ #18740]
3295         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
3296         float-vlen4-arch-ext-cflags): Removed.
3297         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
3298         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
3300 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
3302         [BZ #14113]
3303         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
3304         aligned to __aligned__.
3305         (pthread_cond_t, pthread_rwlock_t): Likewise.
3307 2015-07-30  Torvald Riegel  <triegel@redhat.com>
3309         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
3311 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
3313         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
3314         (struct sigaction): Change sa_flags from a long to an int, and add
3315         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
3317 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
3319         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
3320         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
3321         sysdeps/generic/sysdep.h include.
3322         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
3323         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
3324         sysdeps/hppa/sysdep.h.
3325         (ENTRY, PSEUDO): Undefine before defining.
3327 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
3329         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
3330         from scratch to use INTERNAL_SYSCALL.
3332 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
3334         [BZ #18078]
3335         * scripts/check-localplt.awk: Support alternate relocations.
3336         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
3337         sections.
3338         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
3339         malloc entries with + REL R_386_GLOB_DAT.
3340         * sysdeps/x86_64/localplt.data: New file.
3342 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
3344         [BZ #18731]
3345         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
3346         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3347         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3349 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
3351         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
3353 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
3355         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
3356         directly in terms of __sync_fetch_and_add and delete (int) cast.
3358 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
3360         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
3361         the -D_ASM_IA64_CURRENT_H flag.
3363 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
3365         [BZ #18641]
3366         * pwd/pwd.h (putpwent): Delete __nonnull markings.
3368 2015-07-27  Andreas Schwab  <schwab@suse.de>
3370         * conform/conformtest.pl (checknamespace): Filter out string
3371         literals while tokenizing.
3373 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
3375         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3376         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
3377         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3379 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
3381         * nptl/tst-join7mod.c: Add #include <string.h>.
3383 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
3385         * sysdeps/nios2/libm-test-ulps: Update.
3387 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
3389         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
3390         Fix order of arguments to the rt_sigprocmask syscall.
3391         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
3392         Likewise.
3394 2015-07-24  Roland McGrath  <roland@hack.frob.com>
3396         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
3398 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3400         [BZ #18457]
3401         * nptl/Makefile (tests): New test case tst-join7.
3402         (modules-names): New test case module tst-join7mod.
3403         * nptl/tst-join7.c: New file.
3404         * nptl/tst-join7mod.c: New file.
3405         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
3406         all translation units in libc.so, libpthread.so and rtld.
3408 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3412 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
3414         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
3415         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3416         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3417         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3418         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3419         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3420         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3421         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3422         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3423         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3424         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3425         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3426         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
3427         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
3428         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
3429         implementation.
3431 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3433         [BZ #17711]
3434         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3435         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
3436         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3437         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3438         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
3439         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3441 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3443         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
3444         instead of just saying load lock in the comments.
3446 2015-07-23  Roland McGrath  <roland@hack.frob.com>
3448         * sysdeps/unix/Subdirs: Moved ...
3449         * sysdeps/posix/Subdirs: ... here.
3450         * login/pty.h (struct termios, struct winsize): Add forward decls.
3451         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
3452         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
3453         * sysdeps/arm/nacl/libc.abilist: Updated.
3454         * sysdeps/nacl/libutil.abilist: New file.
3456         * bits/signum.h: Update comments to mention 1003.1-2013 too.
3457         (SIGWINCH): New macro.
3459         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
3460         * sysdeps/arm/nacl/libc.abilist: Add it.
3462 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
3464         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
3466 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
3468         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3469         Swap __glibc_reserved0 and sa_flags order.
3471 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3473         [BZ #18657]
3474         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
3475         are pending TLS destructor calls.
3476         * include/link.h (struct link_map): Add concurrency note for
3477         L_TLS_DTOR_COUNT.
3478         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
3479         Don't touch the link map flag.  Atomically increment
3480         l_tls_dtor_count.
3481         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
3482         Avoid taking the load lock and don't touch the link map flag.
3483         * stdlib/tst-tls-atexit-nodelete.c: New test case.
3484         * stdlib/Makefile (tests): Use it.
3485         * stdlib/tst-tls-atexit.c (do_test): dlopen
3486         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
3487         to allow tst-tls-atexit-nodelete test case to use it.
3489 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
3491         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
3492         to bits/types.h.
3493         (msgqnum_t): New typedef.
3494         (msglen_t): Likewise.
3495         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
3496         and msg_qbytes type to msglen_t.
3498 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
3500         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
3501         pad0 to __glibc_reserved0.
3502         (struct stat64): Likewise.
3504 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
3506         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3507         Change sa_flags from a long to an int and add __glibc_reserved0 before
3508         it for padding.
3510 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
3512         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
3513         anonymous by deleting "siginfo" name.
3515 2015-07-21  Roland McGrath  <roland@hack.frob.com>
3517         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
3518         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
3519         rather than __nacl_irt_filename.
3520         * sysdeps/nacl/xstat.c (__xstat): Likewise.
3522         * NEWS: New item for arm-nacl port.
3523         * sysdeps/arm/nacl/libc.abilist: New file.
3524         * sysdeps/nacl/ld.abilist: New file.
3525         * sysdeps/nacl/libBrokenLocale.abilist: New file.
3526         * sysdeps/nacl/libanl.abilist: New file.
3527         * sysdeps/nacl/libcrypt.abilist: New file.
3528         * sysdeps/nacl/libdl.abilist: New file.
3529         * sysdeps/nacl/libm.abilist: New file.
3530         * sysdeps/nacl/libpthread.abilist: New file.
3531         * sysdeps/nacl/libresolv.abilist: New file.
3532         * sysdeps/nacl/librt.abilist: New file.
3534 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
3536         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
3537         __startcontext to initialize the new context.
3538         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
3539         up CFI directive to forbid further backtracing.
3541 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
3543         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
3544         reference.
3545         * charmaps/ANSI_X3.4-1968: Likewise.
3546         * charmaps/BS_4730: Likewise.
3547         * charmaps/BS_VIEWDATA: Likewise.
3548         * charmaps/CP1250: Likewise.
3549         * charmaps/CP1251: Likewise.
3550         * charmaps/CP1252: Likewise.
3551         * charmaps/CP1253: Likewise.
3552         * charmaps/CP1254: Likewise.
3553         * charmaps/CP1255: Likewise.
3554         * charmaps/CP1256: Likewise.
3555         * charmaps/CSN_369103: Likewise.
3556         * charmaps/EBCDIC-DK-NO: Likewise.
3557         * charmaps/GB_1988-80: Likewise.
3558         * charmaps/GREEK-CCITT: Likewise.
3559         * charmaps/GREEK7: Likewise.
3560         * charmaps/INIS-8: Likewise.
3561         * charmaps/ISIRI-3342: Likewise.
3562         * charmaps/ISO_2033-1983: Likewise.
3563         * charmaps/ISO_5427-EXT: Likewise.
3564         * locales/POSIX: Likewise.
3565         * locales/ar_SA: Likewise.
3566         * locales/be_BY: Likewise.
3567         * locales/be_BY@latin: Likewise.
3568         * locales/ca_ES: Likewise.
3569         * locales/cs_CZ: Likewise.
3570         * locales/da_DK: Likewise.
3571         * locales/de_BE: Likewise.
3572         * locales/de_CH: Likewise.
3573         * locales/de_LU: Likewise.
3574         * locales/en_AU: Likewise.
3575         * locales/en_BW: Likewise.
3576         * locales/en_CA: Likewise.
3577         * locales/en_DK: Likewise.
3578         * locales/en_GB: Likewise.
3579         * locales/en_IE: Likewise.
3580         * locales/en_NZ: Likewise.
3581         * locales/en_ZA: Likewise.
3582         * locales/en_ZW: Likewise.
3583         * locales/es_AR: Likewise.
3584         * locales/es_BO: Likewise.
3585         * locales/es_CL: Likewise.
3586         * locales/es_CO: Likewise.
3587         * locales/es_DO: Likewise.
3588         * locales/es_EC: Likewise.
3589         * locales/es_ES: Likewise.
3590         * locales/es_HN: Likewise.
3591         * locales/es_MX: Likewise.
3592         * locales/es_PA: Likewise.
3593         * locales/es_PE: Likewise.
3594         * locales/es_PY: Likewise.
3595         * locales/es_SV: Likewise.
3596         * locales/es_US: Likewise.
3597         * locales/es_UY: Likewise.
3598         * locales/es_VE: Likewise.
3599         * locales/et_EE: Likewise.
3600         * locales/fa_IR: Likewise.
3601         * locales/fo_FO: Likewise.
3602         * locales/fr_CA: Likewise.
3603         * locales/fr_CH: Likewise.
3604         * locales/gv_GB: Likewise.
3605         * locales/he_IL: Likewise.
3606         * locales/hr_HR: Likewise.
3607         * locales/id_ID: Likewise.
3608         * locales/is_IS: Likewise.
3609         * locales/it_CH: Likewise.
3610         * locales/iw_IL: Likewise.
3611         * locales/kl_GL: Likewise.
3612         * locales/ko_KR: Likewise.
3613         * locales/kw_GB: Likewise.
3614         * locales/lg_UG: Likewise.
3615         * locales/lt_LT: Likewise.
3616         * locales/lv_LV: Likewise.
3617         * locales/mi_NZ: Likewise.
3618         * locales/nhn_MX: Likewise.
3619         * locales/nl_BE: Likewise.
3620         * locales/pl_PL: Likewise.
3621         * locales/sk_SK: Likewise.
3622         * locales/sl_SI: Likewise.
3623         * locales/sv_FI: Likewise.
3624         * locales/tl_PH: Likewise.
3625         * locales/tr_TR: Likewise.
3626         * locales/vi_VN: Likewise.
3628 2015-07-21  Khem Raj  <raj.khem@gmail.com>
3630         [BZ #17475]
3631         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
3632         of tu_IN and bh_IN.
3634 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
3636         [BZ #18694]
3637         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
3638         bits/wordsize.h.
3639         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
3641 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3643         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
3644         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
3645         (spawn_thread): New function.
3646         (load): Rename to reg_dtor_and_close.  Move dlopen to...
3647         (do_test): ... here.  Use IS_LOADED to test for its
3648         availability.
3650 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
3652         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3654 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
3656         [BZ #18696]
3657         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
3658         si_addr_bnd.
3659         (si_lower): New.
3660         (si_upper): Likewise.
3662 2015-07-16  David S. Miller  <davem@davemloft.net>
3664         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
3666 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3668         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
3669         buffer.
3670         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
3671         fail output information.
3673 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3675         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
3676         and strstr-ppc64..
3677         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3678         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
3679         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
3680         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
3681         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
3683 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
3685         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3686         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3687         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3688         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3690 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
3692         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3693         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
3694         rtld_hidden_proto.
3695         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
3697 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3699         * tst-nodelete-opened.c (do_test): Add comment to clarify how
3700         the test can fail.
3702         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
3704         [BZ #18676]
3705         * elf/tst-nodelete-opened.c: New test case.
3706         * elf/tst-nodelete-opened-lib.c: New test case module.
3707         * elf/Makefile (tests, modules-names): Use them.
3708         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
3709         early.
3711 2015-07-15  David S. Miller  <davem@davemloft.net>
3713         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
3714         futex-intenal.h
3715         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
3716         * sysdeps/sparc/sparc64/Makefile: Likewise.
3717         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3718         Remove space from macro define.
3719         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
3721 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
3723         [BZ #17475]
3724         * locale/iso-639.def: Update Bhili and Tulu language codes as
3725         per iso639-3.
3727 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
3729         * elf/tst-leaks1.c (main): Converted to ...
3730         (do_test): ... this.
3731         (TEST_FUNCTION): New macro.
3732         Include test-skeleton.c.
3733         * localedata/tst-langinfo.c (main): Converted to ...
3734         (do_test): ... this.
3735         (TEST_FUNCTION): New macro.
3736         Include test-skeleton.c.
3737         * math/test-fpucw.c (main): Converted to ...
3738         (do_test): ... this.
3739         (TEST_FUNCTION): New macro.
3740         Include test-skeleton.c.
3741         * math/test-tgmath.c (main): Converted to ...
3742         (do_test): ... this.
3743         (TEST_FUNCTION): New macro.
3744         Include test-skeleton.c.
3745         * math/test-tgmath2.c (main): Converted to ...
3746         (do_test): ... this.
3747         (TEST_FUNCTION): New macro.
3748         Include test-skeleton.c.
3749         * setjmp/tst-setjmp.c (main): Converted to ...
3750         (do_test): ... this.
3751         (TEST_FUNCTION): New macro.
3752         Include test-skeleton.c.
3753         * stdio-common/tst-sscanf.c (main): Converted to ...
3754         (do_test): ... this.
3755         (TEST_FUNCTION): New macro.
3756         Include test-skeleton.c.
3757         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
3758         (do_test): ... this.
3759         (TEST_FUNCTION): New macro.
3760         Include test-skeleton.c.
3762         * elf/tst-audit9.c (main): Converted to ...
3763         (do_test): ... this.
3764         (TEST_FUNCTION): New macro.
3765         Include test-skeleton.c.
3767 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
3769         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
3771 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
3773         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
3774         New variable.
3776 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
3778         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3780 2015-07-14  Roland McGrath  <roland@hack.frob.com>
3782         * sysdeps/generic/dl-fileid.h: New file.
3783         * sysdeps/posix/dl-fileid.h: New file.
3784         * sysdeps/nacl/dl-fileid.h: New file.
3785         * include/link.h: Include <dl-fileid.h>.
3786         (struct link_map): Replace l_dev and l_ino with l_file_id.
3787         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
3788         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
3789         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
3791 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3793         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
3795 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3797         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
3798         Add iff $CXX is set.
3799         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
3800         Likewise.
3801         (tst-nodelete-zmodiff): Likewise.
3802         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
3804 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3806         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
3808 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
3810         * sysdeps/aarch64/fpu/math_private.h
3811         (define math_opt_barrier): Add AArch64 version.
3812         (math_force_eval): Likewise.
3814 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
3816         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
3818 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
3820         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
3821         %ld with %jd and cast to intmax_t.
3822         (do_test_length_zero): Likewise.
3824 2015-07-10  Roland McGrath  <roland@hack.frob.com>
3826         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
3828 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
3830         * sysdeps/tile/libm-test-ulps: Regenerated.
3832         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
3833         Comment out the whole function, not just its body.
3835 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3837         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
3838         locks.
3840         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
3842 2015-07-10  Torvald Riegel  <triegel@redhat.com>
3844         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
3845         (sem_assume_only_signals_cause_futex_EINTR): Remove.
3847 2015-07-10  Torvald Riegel  <triegel@redhat.com>
3849         * sysdeps/nptl/futex-internal.h: New file.
3850         * sysdeps/nacl/futex-internal.h: New file.
3851         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
3852         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
3853         error checking.
3854         (setxid_unmark_thread): Likewise.
3855         (__nptl_setxid): Likewise.
3856         (__wait_lookup_done): Likewise.
3857         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
3858         * nptl/nptl-init.c (sighandler_setxid): Likewise.
3859         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3860         * nptl/pthread_once.c (clear_once_control): Likewise.
3861         (__pthread_once_slow): Likewise.
3862         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3863         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
3864         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
3865         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3866         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
3867         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
3868         Likewise.
3869         (__pthread_rwlock_rdlock): Likewise.
3870         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3871         Likewise.
3872         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3873         Likewise.
3874         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3875         Likewise.
3876         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
3877         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
3878         Likewise.
3879         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
3880         __ASSUME_PRIVATE_FUTEX check.
3881         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
3882         Check that shared futexes are supported.
3883         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
3884         wrappers with error checking.
3885         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
3886         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
3887         * nptl/pthread_barrierattr_setpshared.c
3888         (pthread_barrierattr_setpshared): Check that shared futexes are
3889         supported.
3890         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
3891         Likewise.
3892         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
3893         Likewise.
3894         * nptl/sem_init.c (futex_private_if_supported): Remove.
3895         (__new_sem_init): Adapt and check that shared futexes are supported.
3896         * nptl/sem_open.c (sem_open): Likewise.
3897         * nptl/sem_post.c (futex_wake): Remove.
3898         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
3899         (do_futex_wait): Use futex wrappers with error checking.
3900         * nptl/sem_wait.c: Include lowlevellock.h.
3901         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
3902         Use futex_supports_pshared.
3903         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
3904         Use futex wrappers with error checking.
3905         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
3906         Likewise.
3907         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
3908         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
3909         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
3910         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
3911         (futex_wake): Likewise.
3912         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
3913         (do_futex_wait): Use futex wrappers with error checking.
3914         (__new_sem_wait_slow): Update EINTR handling.
3915         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
3917 2015-07-09  Martin Sebor  <msebor@redhat.com>
3919         [BZ #18435]
3920         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3921         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
3922         * nptl/Makefile (test-xfail-tst-once5): Define.
3924 2015-07-09  Roland McGrath  <roland@hack.frob.com>
3926         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
3927         * elf/dl-minimal.c: For readability, reorder some definitions and
3928         introduce more page breaks.  Include <stdio.h>.
3929         (__libc_fatal): New function.
3931         * include/unistd.h: Add rtld_hidden_proto for _exit.
3932         * posix/_exit.c: Add rtld_hidden_def.
3933         * sysdeps/mach/hurd/_exit.c: Likewise.
3934         * sysdeps/nacl/_exit.c: Likewise.
3935         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
3936         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
3938 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
3940         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
3941         bndmov encoding with zero displacement.
3943 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
3944             H.J. Lu  <hongjiu.lu@intel.com>
3946         [BZ #18134]
3947         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
3948         * sysdeps/i386/configure: Regenerated.
3949         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3950         (_dl_runtime_profile): Save and restore Intel MPX return bound
3951         registers when calling _dl_call_pltexit.  Add
3952         PRESERVE_BND_REGS_PREFIX before return.
3953         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
3954         (LRV_BND1_OFFSET): Likewise.
3955         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
3956         lrv_bnd1.
3957         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
3958         typo in bndmov encoding.
3959         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
3960         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
3961         branch instructions to preserve bounds.
3963 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3966         [GLIBC_2.22]: Add fmemopen.
3968 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3970         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
3971         returns an error, also try to use host port from __mach_host_self for
3972         the __vm_wire call.
3973         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
3975 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3977         [BZ #18400]
3978         [BZ #18648]
3979         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
3980         Fix pr_uid and pr_gid members.
3981         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
3982         definition to elf_greg_t.
3984 2015-07-08  Roland McGrath  <roland@hack.frob.com>
3986         [BZ #18383]
3987         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
3988         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
3989         * sysdeps/arm/configure: Regenerated.
3990         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
3991         (test-xfail-tst-tlsalign-static): Variable removed.
3993         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
3994         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
3995         rather than explicit 'ln -s'.
3997         * resolv/rpc/netdb.h: New file.
3998         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
4000 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4002         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
4003         length buffers.
4004         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4005         test-skeleton.c.
4007         [BZ #6544]
4008         [BZ #11216]
4009         [BZ #12836]
4010         [BZ #13151]
4011         [BZ #13152]
4012         [BZ #14292]
4013         * include/stdio.h (fmemopen): Remove hidden prototype.
4014         (__fmemopen): Add new hidden prototype.
4015         * libio/Makefile: Add oldfmemopen object.
4016         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
4017         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
4018         compliance.
4019         * libio/oldfmemopen.c: New file: old fmemopen implementation for
4020         symbol compatibility.
4021         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
4022         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
4023         fmemopen.
4024         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
4025         on append and read mode.
4026         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
4027         fmemopen.
4028         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
4029         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
4030         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
4031         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
4032         Likewise.
4033         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4034         [GLIBC_2.22]: Likewise.
4035         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
4036         Likewise.
4037         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
4038         Likewise.
4039         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4040         [GLIBC_2.22]: Likewise.
4041         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4042         [GLIBC_2.22]: Likewise.
4043         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4044         [GLIBC_2.22]: Likewise.
4045         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4046         [GLIBC_2.22]: Likewise.
4047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4048         [GLIBC_2.22]: Likewise.
4049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4050         [GLIBC_2.22]: Likewise.
4051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4052         [GLIBC_2.22]: Likewise.
4053         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
4054         Likewise.
4055         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
4056         Likewise.
4057         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
4058         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4059         [GLIBC_2.22]: Likewise.
4060         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4061         [GLIBC_2.22]: Likewise.
4062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4063         [GLIBC_2.22]: Likewise.
4064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4065         [GLIBC_2.22]: Likewise.
4066         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
4067         Likewise.
4068         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
4069         Likewise.
4070         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
4071         Likewise.
4072         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
4073         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
4075 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
4077         [BZ #18643]
4078         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
4079         IPV6_PATHMTU, and IPV6_DONTFRAG.
4081 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
4083         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
4084         and _IO_UNBUFFERED.
4085         * libio/oldfileops.c: Likewise.
4086         * libio/wfileops.c: Likewise.
4088 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
4090         * nscd/selinux.c: Delete selinux/flask.h include.
4092 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
4094         [BZ #18641]
4095         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
4096         (putpwent): Likewise.
4097         (getpwnam): Likewise.
4098         (getpwent_r): Likewise.
4099         (getpwuid_r): Likewise.
4100         (getpwnam_r): Likewise.
4101         (fgetpwent_r): Likewise.
4103 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
4105         [BZ #18557]
4106         * inet/rcmd.c (__validuser2_sa): Check user first to
4107         short-circuit host check.
4109 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
4110             Mikhail Ilin  <m.ilin@samsung.com>
4112         [BZ #17833]
4113         * elf/Makefile (tests): Add tst-nodelete.
4114         (modules-names): Add tst-nodelete-uniquemod.
4115         (tst-nodelete-uniquemod.so-no-z-defs): New.
4116         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
4117         (tst-nodelete-zmod.so-no-z-defs): Likewise.
4118         ($(objpfx)tst-nodelete): Likewise.
4119         ($(objpfx)tst-nodelete.out): Likewise.
4120         (LDFLAGS-tst-nodelete): Likewise.
4121         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
4122         * elf/dl-close.c (_dl_close_worker): Add a parameter to
4123         implement forced object deletion.
4124         (_dl_close): Pass false to _dl_close_worker.
4125         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
4126         * elf/tst-nodelete.cc: New file.
4127         * elf/tst-nodeletelib.cc: Likewise.
4128         * elf/tst-znodeletelib.cc: Likewise.
4129         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
4131 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4133         [BZ #18508]
4134         * stdlib/Makefile ($(objpfx)tst-makecontext3):
4135         Depend on $(libdl).
4136         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
4137         is not called infinitely times.
4138         (backtrace_helper): New function.
4139         (trace_arg): New struct.
4140         (st1): Enlarge stack size.
4141         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4142         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
4143         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4144         Likewise.
4146 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4148         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4150 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4152         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
4153         Include sys/types.h instead of bits/types.h.
4154         Remove inclusion of bits/wordsize.h.
4156 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
4158         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
4159         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
4160         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
4161         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
4162         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
4163         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
4165 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
4167         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
4168         link-defines.sym.
4169         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
4170         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
4171         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
4172         and LR_SIZE.
4173         * sysdeps/i386/link-defines.sym: New file.
4175 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
4177         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
4178         (modules-names): Add tst-auditmod3a tst-auditmod3b.
4179         ($(objpfx)tst-audit3): New rule.
4180         ($(objpfx)tst-audit3.out): Likewise.
4181         * sysdeps/i386/tst-audit3.c: New file.
4182         * sysdeps/i386/tst-audit3.h: Likewise.
4183         * sysdeps/i386/tst-auditmod3a.c: Likewise.
4184         * sysdeps/i386/tst-auditmod3b.c: Likewise.
4186 2015-07-07  Torvald Riegel  <triegel@redhat.com>
4188         [BZ #18633]
4189         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
4190         pointer in C code.
4191         (__strcat_c): Likewise.
4192         (__strcat_g): Likewise.
4194 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
4196         [BZ #18592]
4197         * misc/sbrk.c: Set errno to ENOMEM on overflow.
4199 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
4201         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
4202         New function.  (__ieee754_sqrtf): New function.
4203         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
4204         New function.
4205         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
4206         New function.
4208 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
4210         * sysdeps/ieee754/support.c: Remove unused file.
4212 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4214         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
4215         registers instead of d ones so the layout is kernel abi compatible.
4216         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
4217         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
4218         Likewise.
4220 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4222         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4224 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
4226         [BZ #18619]
4227         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
4228         and return argument in case of subnormal argument.
4230 2015-07-01  Martin Sebor  <msebor@redhat.com>
4232         [BZ #18435]
4233         * nptl/Makefile: Add tst-once5.cc.
4234         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4235         Remove macro redefinitions.
4236         * nptl/tst-once5.cc: New test.
4238 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
4240         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4242         * sysdeps/arm/libm-test-ulps: Regenerated.
4244         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4245         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4247 2015-06-30  Torvald Riegel  <triegel@redhat.com>
4249         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
4250         lll_lock_wait_private and lll_futex_wake probes.
4252         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4253         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
4254         Likewise.
4255         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
4256         atomic_spin_nop.
4257         * sysdeps/x86_64/bits/atomic.h: Likewise.
4258         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
4259         to atomic_spin_nop and move ...
4260         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4261         ... here and ...
4262         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
4263         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4264         atomic_spin_nop instead of BUSY_WAIT_NOP.
4265         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
4266         Likewise.
4267         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
4268         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4269         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
4270         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
4271         instead of atomic_delay.
4273 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
4275         [BZ #18613]
4276         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
4277         X_ADJ not X when adjusting exponent.
4278         (__ieee754_gamma_r): Do intermediate computations in
4279         round-to-nearest then adjust overflowing and underflowing results
4280         as needed.
4281         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
4282         of X_ADJ not X when adjusting exponent.
4283         (__ieee754_gammaf_r): Do intermediate computations in
4284         round-to-nearest then adjust overflowing and underflowing results
4285         as needed.
4286         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
4287         log of X_ADJ not X when adjusting exponent.
4288         (__ieee754_gammal_r): Do intermediate computations in
4289         round-to-nearest then adjust overflowing and underflowing results
4290         as needed.  Use 1.0L not 1.0f as numerator of division.
4291         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
4292         log of X_ADJ not X when adjusting exponent.
4293         (__ieee754_gammal_r): Do intermediate computations in
4294         round-to-nearest then adjust overflowing and underflowing results
4295         as needed.  Use 1.0L not 1.0f as numerator of division.
4296         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
4297         of X_ADJ not X when adjusting exponent.
4298         (__ieee754_gammal_r): Do intermediate computations in
4299         round-to-nearest then adjust overflowing and underflowing results
4300         as needed.  Use 1.0L not 1.0f as numerator of division.
4301         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
4302         to auto-libm-test-in.
4303         (tgamma_test): Use ALL_RM_TEST.
4304         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
4305         tests of tgamma with spurious-overflow.
4306         * math/auto-libm-test-out: Regenerated.
4307         * math/gen-libm-have-vector-test.sh: Do not check for START.
4308         * sysdeps/i386/fpu/libm-test-ulps: Update.
4309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4311         [BZ #18612]
4312         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
4313         arguments, just return 0.5 times the argument, with underflow
4314         forced as needed.
4315         * math/auto-libm-test-in: Add more tests of j1.
4316         * math/auto-libm-test-out: Regenerated.
4318         [BZ #16559]
4319         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
4320         (__ieee754_j1): Force underflow exception for small results.
4321         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4322         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
4323         (__ieee754_j1f): Force underflow exception for small results.
4324         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4325         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4326         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4327         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
4328         (__ieee754_j1l): Force underflow exception for small results.
4329         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4330         * math/auto-libm-test-in: Add more tests of j1 and jn.
4331         * math/auto-libm-test-out: Regenerated.
4333         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
4334         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
4335         (PF_MPLS): Likewise.
4336         (AF_IB): Likewise.
4337         (AF_MPLS): Likewise.
4338         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
4339         value and macro.
4340         (MS_RMT_MASK): Include MS_LAZYTIME.
4342 2015-06-26  Mel Gorman  <mgorman@suse.de>
4344         [BZ #18502]
4345         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
4346         already minimal.
4348 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
4350         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
4351         (DT_MIPS_NUM): Update.
4352         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
4353         DT_MIPS_RLD_MAP_REL.
4355 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
4357         [BZ #16559]
4358         [BZ #18602]
4359         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
4360         round-to-nearest internally then recompute results that
4361         underflowed to zero in the original rounding mode.
4362         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4363         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4364         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4365         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
4366         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
4367         * sysdeps/i386/fpu/libm-test-ulps: Update.
4368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4370 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
4372         * NEWS: Fixed description of link with vector math library.
4374 2015-06-25  Andreas Schwab  <schwab@suse.de>
4376         [BZ #18549]
4377         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
4378         * libio/test-fmemopen.c (do_test): Add test for it.
4380 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
4382         [BZ #17841]
4383         * Makeconfig (no-pie-ldflag): New.
4384         (+link): Set to $(+link-pie) if default to PIE.
4385         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
4386         * config.make.in (build-pie-default): New.
4387         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
4388         is default.  AC_SUBST.
4389         * configure: Regenerated.
4390         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
4392 2015-06-24  Roland McGrath  <roland@hack.frob.com>
4394         * nptl/descr.h (struct pthread): Change type of field setxid_futex
4395         to 'unsigned int'.
4397         * resolv/gai_misc.h (struct waitlist): Change type of field
4398         counterp to 'volatile unsigned int *'.
4399         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
4400         FUTEXADDR and OLDVAL.
4401         * resolv/getaddrinfo_a.c (getaddrinfo_a):
4402         Give local variable TOTAL type 'volatile unsigned int'.
4403         (struct async_waitlist): Change type of field counter to 'unsigned int'.
4404         * resolv/gai_suspend.c (gai_suspend):
4405         Give local variable CNTR type 'unsigned int'.
4407         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
4408         counterp to 'volatile unsigned int *'.
4409         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
4410         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
4411         (aio_suspend): Give local variable CNTR type 'unsigned int'.
4412         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
4413         Give local variable TOTAL type 'volatile unsigned int'.
4414         (struct async_waitlist): Change type of field counter to 'unsigned int'.
4416 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
4418         [BZ #18383]
4419         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
4420         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
4421         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
4422         comment for i386/x86-64.
4423         (test-xfail-tst-tlsalign-extern-static): Removed.
4425 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
4427         * math/test-double.h: New file.
4428         * math/test-float.h: Likewise.
4429         * math/test-ldouble.h: Likewise.
4430         * math/test-math-inline.h: Likewise.
4431         * math/test-math-no-inline.h: Likewise.
4432         * math/test-math-scalar.h: Likewise.
4433         * math/test-math-vector.h: Likewise.
4434         * math/test-vec-loop.h: Remove file.  Contents moved into
4435         test-math-vector.h.
4436         * math/libm-test.inc (MATHCONST): Do not document macro.
4437         * math/test-double.c: Include test-double.h, test-math-no-inline.h
4438         and test-math-scalar.h.
4439         (FUNC): Remove macro.
4440         (FUNC_TEST): Likewise.
4441         (FLOAT): Likewise.
4442         (MATHCONST): Likewise.
4443         (PRINTF_EXPR): Likewise.
4444         (PRINTF_XEXPR): Likewise.
4445         (PRINTF_NEXPR): Likewise.
4446         (TEST_DOUBLE): Likewise.
4447         (TEST_MATHVEC): Likewise.
4448         (__NO_MATH_INLINES): Likewise.
4449         * math/test-float.c: Include test-float.h, test-math-no-inline.h
4450         and test-math-scalar.h.
4451         (FUNC): Remove macro.
4452         (FUNC_TEST): Likewise.
4453         (FLOAT): Likewise.
4454         (MATHCONST): Likewise.
4455         (PRINTF_EXPR): Likewise.
4456         (PRINTF_XEXPR): Likewise.
4457         (PRINTF_NEXPR): Likewise.
4458         (TEST_FLOAT): Likewise.
4459         (TEST_MATHVEC): Likewise.
4460         (__NO_MATH_INLINES): Likewise.
4461         * math/test-idouble.c: Include test-double.h, test-math-inline.h
4462         and test-math-scalar.h.
4463         (FUNC): Remove macro.
4464         (FUNC_TEST): Likewise.
4465         (FLOAT): Likewise.
4466         (MATHCONST): Likewise.
4467         (PRINTF_EXPR): Likewise.
4468         (PRINTF_XEXPR): Likewise.
4469         (PRINTF_NEXPR): Likewise.
4470         (TEST_DOUBLE): Likewise.
4471         (TEST_MATHVEC): Likewise.
4472         (TEST_INLINE): Likewise.
4473         (__NO_MATH_INLINES): Likewise.
4474         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
4475         test-math-scalar.h.
4476         (FUNC): Remove macro.
4477         (FUNC_TEST): Likewise.
4478         (FLOAT): Likewise.
4479         (MATHCONST): Likewise.
4480         (PRINTF_EXPR): Likewise.
4481         (PRINTF_XEXPR): Likewise.
4482         (PRINTF_NEXPR): Likewise.
4483         (TEST_FLOAT): Likewise.
4484         (TEST_MATHVEC): Likewise.
4485         (TEST_INLINE): Likewise.
4486         (__NO_MATH_INLINES): Likewise.
4487         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
4488         and test-math-scalar.h.
4489         (FUNC): Remove macro.
4490         (FUNC_TEST): Likewise.
4491         (FLOAT): Likewise.
4492         (MATHCONST): Likewise.
4493         (PRINTF_EXPR): Likewise.
4494         (PRINTF_XEXPR): Likewise.
4495         (PRINTF_NEXPR): Likewise.
4496         (TEST_LDOUBLE): Likewise.
4497         (TEST_MATHVEC): Likewise.
4498         (TEST_INLINE): Likewise.
4499         (__NO_MATH_INLINES): Likewise.
4500         * math/test-ldouble.c: Include test-ldouble.h,
4501         test-math-no-inline.h and test-math-scalar.h.
4502         (FUNC): Remove macro.
4503         (FUNC_TEST): Likewise.
4504         (FLOAT): Likewise.
4505         (MATHCONST): Likewise.
4506         (PRINTF_EXPR): Likewise.
4507         (PRINTF_XEXPR): Likewise.
4508         (PRINTF_NEXPR): Likewise.
4509         (TEST_LDOUBLE): Likewise.
4510         (TEST_MATHVEC): Likewise.
4511         (__NO_MATH_INLINES): Likewise.
4512         * math/test-double-vlen2.h: Include test-double.h,
4513         test-math-no-inline.h and test-math-vector.h.
4514         (FLOAT): Remove macro.
4515         (FUNC): Likewise.
4516         (MATHCONST): Likewise.
4517         (PRINTF_EXPR): Likewise.
4518         (PRINTF_XEXPR): Likewise.
4519         (PRINTF_NEXPR): Likewise.
4520         (TEST_DOUBLE): Likewise.
4521         (TEST_MATHVEC): Likewise.
4522         (__NO_MATH_INLINES): Likewise.
4523         (CNCT): Likewise.
4524         (CONCAT): Likewise.
4525         (WRAPPER_NAME): Likewise.
4526         (WRAPPER_DECL): Likewise.
4527         (WRAPPER_DECL_ff): Likewise.
4528         (WRAPPER_DECL_fFF): Likewise.
4529         (VECTOR_WRAPPER): Likewise.
4530         (VECTOR_WRAPPER_ff): Likewise.
4531         (VECTOR_WRAPPER_fFF): Likewise.
4532         (VEC_LEN): New macro.
4533         * math/test-double-vlen4.h: Include test-double.h,
4534         test-math-no-inline.h and test-math-vector.h.
4535         (FLOAT): Remove macro.
4536         (FUNC): Likewise.
4537         (MATHCONST): Likewise.
4538         (PRINTF_EXPR): Likewise.
4539         (PRINTF_XEXPR): Likewise.
4540         (PRINTF_NEXPR): Likewise.
4541         (TEST_DOUBLE): Likewise.
4542         (TEST_MATHVEC): Likewise.
4543         (__NO_MATH_INLINES): Likewise.
4544         (CNCT): Likewise.
4545         (CONCAT): Likewise.
4546         (WRAPPER_NAME): Likewise.
4547         (WRAPPER_DECL): Likewise.
4548         (WRAPPER_DECL_ff): Likewise.
4549         (WRAPPER_DECL_fFF): Likewise.
4550         (VECTOR_WRAPPER): Likewise.
4551         (VECTOR_WRAPPER_ff): Likewise.
4552         (VECTOR_WRAPPER_fFF): Likewise.
4553         (VEC_LEN): New macro.
4554         * math/test-double-vlen8.h: Include test-double.h,
4555         test-math-no-inline.h and test-math-vector.h.
4556         (FLOAT): Remove macro.
4557         (FUNC): Likewise.
4558         (MATHCONST): Likewise.
4559         (PRINTF_EXPR): Likewise.
4560         (PRINTF_XEXPR): Likewise.
4561         (PRINTF_NEXPR): Likewise.
4562         (TEST_DOUBLE): Likewise.
4563         (TEST_MATHVEC): Likewise.
4564         (__NO_MATH_INLINES): Likewise.
4565         (CNCT): Likewise.
4566         (CONCAT): Likewise.
4567         (WRAPPER_NAME): Likewise.
4568         (WRAPPER_DECL): Likewise.
4569         (WRAPPER_DECL_ff): Likewise.
4570         (WRAPPER_DECL_fFF): Likewise.
4571         (VECTOR_WRAPPER): Likewise.
4572         (VECTOR_WRAPPER_ff): Likewise.
4573         (VECTOR_WRAPPER_fFF): Likewise.
4574         (VEC_LEN): New macro.
4575         * math/test-float-vlen4.h: Include test-float.h,
4576         test-math-no-inline.h and test-math-vector.h.
4577         (FLOAT): Remove macro.
4578         (FUNC): Likewise.
4579         (MATHCONST): Likewise.
4580         (PRINTF_EXPR): Likewise.
4581         (PRINTF_XEXPR): Likewise.
4582         (PRINTF_NEXPR): Likewise.
4583         (TEST_FLOAT): Likewise.
4584         (TEST_MATHVEC): Likewise.
4585         (__NO_MATH_INLINES): Likewise.
4586         (CNCT): Likewise.
4587         (CONCAT): Likewise.
4588         (WRAPPER_NAME): Likewise.
4589         (WRAPPER_DECL): Likewise.
4590         (WRAPPER_DECL_ff): Likewise.
4591         (WRAPPER_DECL_fFF): Likewise.
4592         (VECTOR_WRAPPER): Likewise.
4593         (VECTOR_WRAPPER_ff): Likewise.
4594         (VECTOR_WRAPPER_fFF): Likewise.
4595         (VEC_LEN): New macro.
4596         * math/test-float-vlen8.h: Include test-float.h,
4597         test-math-no-inline.h and test-math-vector.h.
4598         (FLOAT): Remove macro.
4599         (FUNC): Likewise.
4600         (MATHCONST): Likewise.
4601         (PRINTF_EXPR): Likewise.
4602         (PRINTF_XEXPR): Likewise.
4603         (PRINTF_NEXPR): Likewise.
4604         (TEST_FLOAT): Likewise.
4605         (TEST_MATHVEC): Likewise.
4606         (__NO_MATH_INLINES): Likewise.
4607         (CNCT): Likewise.
4608         (CONCAT): Likewise.
4609         (WRAPPER_NAME): Likewise.
4610         (WRAPPER_DECL): Likewise.
4611         (WRAPPER_DECL_ff): Likewise.
4612         (WRAPPER_DECL_fFF): Likewise.
4613         (VECTOR_WRAPPER): Likewise.
4614         (VECTOR_WRAPPER_ff): Likewise.
4615         (VECTOR_WRAPPER_fFF): Likewise.
4616         (VEC_LEN): New macro.
4617         * math/test-float-vlen16.h: Include test-float.h,
4618         test-math-no-inline.h and test-math-vector.h.
4619         (FLOAT): Remove macro.
4620         (FUNC): Likewise.
4621         (MATHCONST): Likewise.
4622         (PRINTF_EXPR): Likewise.
4623         (PRINTF_XEXPR): Likewise.
4624         (PRINTF_NEXPR): Likewise.
4625         (TEST_FLOAT): Likewise.
4626         (TEST_MATHVEC): Likewise.
4627         (__NO_MATH_INLINES): Likewise.
4628         (CNCT): Likewise.
4629         (CONCAT): Likewise.
4630         (WRAPPER_NAME): Likewise.
4631         (WRAPPER_DECL): Likewise.
4632         (WRAPPER_DECL_ff): Likewise.
4633         (WRAPPER_DECL_fFF): Likewise.
4634         (VECTOR_WRAPPER): Likewise.
4635         (VECTOR_WRAPPER_ff): Likewise.
4636         (VECTOR_WRAPPER_fFF): Likewise.
4637         (VEC_LEN): New macro.
4638         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
4639         test-vec-loop.h.
4640         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4641         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4642         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4643         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4644         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4645         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4646         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4648 2015-06-24  Roland McGrath  <roland@hack.frob.com>
4650         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
4651         (__getlogin_r): ... this.
4653 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
4655         [BZ #18594]
4656         * math/s_ccosh.c (__ccosh): Compare with least normal value
4657         instead of comparing class with FP_SUBNORMAL.
4658         * math/s_ccoshf.c (__ccoshf): Likewise.
4659         * math/s_ccoshl.c (__ccoshl): Likewise.
4660         * math/s_cexp.c (__cexp): Likewise.
4661         * math/s_cexpf.c (__cexpf): Likewise.
4662         * math/s_cexpl.c (__cexpl): Likewise.
4663         * math/s_csin.c (__csin): Likewise.
4664         * math/s_csinf.c (__csinf): Likewise.
4665         * math/s_csinh.c (__csinh): Likewise.
4666         * math/s_csinhf.c (__csinhf): Likewise.
4667         * math/s_csinhl.c (__csinhl): Likewise.
4668         * math/s_csinl.c (__csinl): Likewise.
4669         * math/s_ctan.c (__ctan): Likewise.
4670         * math/s_ctanf.c (__ctanf): Likewise.
4671         * math/s_ctanh.c (__ctanh): Likewise.
4672         * math/s_ctanhf.c (__ctanhf): Likewise.
4673         * math/s_ctanhl.c (__ctanhl): Likewise.
4674         * math/s_ctanl.c (__ctanl): Likewise.
4675         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
4676         csin, csinh, ctan and ctanh.
4677         * math/auto-libm-test-out: Regenerated.
4678         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
4679         * sysdeps/i386/fpu/libm-test-ulps: Update.
4680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4682 2015-06-24  Roland McGrath  <roland@hack.frob.com>
4684         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
4685         return value is wrong, print the expected value too.
4687 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
4689         [BZ #18585]
4690         * elf/readlib.c (is_gdb_python_file): New.
4691         (process_file): Don't issue errors on filenames with -gdb.py
4692         suffix.
4694 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
4696         * math/auto-libm-test-in: Add more tests of csin and csinh.
4697         * math/auto-libm-test-out: Regenerated.
4698         * math/libm-test.inc (csin_test_data): Remove tests moved to
4699         auto-libm-test-in.
4700         (csinh_test_data): Likewise.
4702         [BZ #18593]
4703         * math/s_csin.c (__csin): Negate before rather than after possibly
4704         overflowing multiplication.
4705         * math/s_csinf.c (__csinf): Likewise.
4706         * math/s_csinh.c (__csinh): Likewise.
4707         * math/s_csinhf.c (__csinhf): Likewise.
4708         * math/s_csinhl.c (__csinhl): Likewise.
4709         * math/s_csinl.c (__csinl): Likewise.
4710         * math/auto-libm-test-in: Add some tests of csin and csinh.
4711         * math/auto-libm-test-out: Regenerated.
4712         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
4713         (csinh_test_data): Likewise.
4714         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4716         [BZ #18586]
4717         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
4718         underflow exception for small results.
4720 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
4722         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4723         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
4724         variable and included header.
4725         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
4726         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
4727         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
4728         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
4729         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
4730         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4731         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4732         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
4733         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
4734         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
4735         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
4736         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
4737         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
4738         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
4739         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
4740         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
4742 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
4744         [BZ #16526]
4745         [BZ #16538]
4746         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
4747         (__sin): Force underflow exception for arguments with small
4748         absolute value.
4749         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
4750         (__kernel_sinf): Force underflow exception for arguments with
4751         small absolute value.
4752         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
4753         (__kernel_sincosl): Force underflow exception for arguments with
4754         small absolute value.
4755         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
4756         (__kernel_sinl): Force underflow exception for arguments with
4757         small absolute value.
4758         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
4759         (__kernel_sincosl): Force underflow exception for arguments with
4760         small absolute value.
4761         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
4762         (__kernel_sinl): Force underflow exception for arguments with
4763         small absolute value.
4764         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
4765         (__kernel_sinl): Force underflow exception for arguments with
4766         small absolute value.
4767         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
4768         (__kernel_sinf): Force underflow exception for arguments with
4769         small absolute value.
4770         * math/auto-libm-test-in: Add more tests of sin and sincos.
4771         * math/auto-libm-test-out: Regenerated.
4773         [BZ #18245]
4774         [BZ #18583]
4775         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
4776         (__kernel_standard_l): Use feholdexcept and fesetenv around
4777         conversion to double instead of special-casing overflow and
4778         underflow.
4779         * math/libm-test.inc (fmod_test_data): Add more tests.
4780         (remainder_test_data): Likewise.
4781         (sqrt_test_data): Likewise.
4783 2015-06-23  Torvald Riegel  <triegel@redhat.com>
4785         [BZ #17403]
4786         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
4787         atomic_read_barrier, atomic_write_barrier): Define.
4788         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
4789         atomic_read_barrier, atomic_write_barrier): Define.
4791 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
4793         * math/Makefile [$(PERL) != no]
4794         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
4795         dependency on libm-test.stmp below the inclusion of Rules.
4797 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
4799         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4800         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
4801         and included header.
4802         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
4803         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
4804         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
4805         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
4806         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
4807         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
4808         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4809         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4810         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
4811         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
4812         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
4813         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
4814         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
4815         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
4816         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
4817         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
4818         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
4819         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
4820         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
4822 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
4824         [BZ #18371]
4825         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
4826         intermediate but not final result might underflow.
4827         * math/s_csqrtf.c (__csqrtf): Likewise.
4828         * math/s_csqrtl.c (__csqrtl): Likewise.
4829         * math/auto-libm-test-in: Add more tests of csqrt.
4830         * math/auto-libm-test-out: Regenerated.
4831         * sysdeps/i386/fpu/libm-test-ulps: Update.
4833         [BZ #18219]
4834         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
4835         threshold on absolute value of exponent for which scaling is used.
4836         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4837         * math/auto-libm-test-in: Add more tests of exp2.
4838         * math/auto-libm-test-out: Regenerated.
4840 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
4842         [BZ #17977]
4843         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
4844         when initializing interface list, based on the bug analysis
4845         and the patch proposed by Eric Newton.
4846         * resolv/tst-res_hconf_reorder.c: New test.
4847         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
4848         tst-res_hconf_reorder.
4849         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
4850         and $(shared-thread-library).
4851         (tst-res_hconf_reorder-ENV): New variable.
4853         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
4854         in comment.
4856 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
4858         [BZ #16353]
4859         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
4860         (__expm1): Force underflow exception for arguments with small
4861         absolute value.
4862         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
4863         (__expm1f): Force underflow exception for arguments with small
4864         absolute value.
4865         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
4866         (__expm1): Force underflow exception for arguments with small
4867         absolute value.
4868         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
4869         (__expm1f): Force underflow exception for arguments with small
4870         absolute value.
4871         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4872         Check for small arguments before calling __expm1.
4873         * math/auto-libm-test-in: Do not mark underflow exceptions as
4874         possibly missing for bug 16353.
4875         * math/auto-libm-test-out: Regenerated.
4877 2015-06-22  Andreas Schwab  <schwab@suse.de>
4879         [BZ #18513]
4880         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
4881         PTR queries.
4883 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
4885         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
4887         * string/strcoll_l.c: Remove unused struct element idxnow.
4889 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
4891         [BZ #18569]
4892         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
4893         underflow and return argument in case of subnormal argument.
4894         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4895         Likewise.
4896         * math/auto-libm-test-in: Add more tests of expm1.
4897         * math/auto-libm-test-out: Regenerated.
4899         [BZ #16361]
4900         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4901         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4902         tiny results.
4903         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4904         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4905         tiny results.
4906         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
4907         mark underflow exceptions as possibly missing for bug 16361.
4908         * math/auto-libm-test-out: Regenerated.
4910 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
4912         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
4913         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
4914         Remove variable.
4915         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4916         (test-xfail-XOPEN2K8/utmpx.h/conform).
4918         * conform/conformtest.pl ($xerrors): New variable.
4919         (note_error): New function.
4920         (compiletest): New argument $xfail.  Use not_error.
4921         (runtest): Likewise.
4922         (top level): Handle xfail- lines.  Update calls to compiletest and
4923         runtest.  Handle xfail- and optional- in headers listed with
4924         allow-header.
4925         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
4926         (O_EXEC): Likewise.
4927         (O_SEARCH): Likewise.
4928         * conform/data/stropts.h-data (ioctl): Likewise.
4929         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
4930         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
4931         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
4932         (msghdr.msg_controllen): Likewise.
4933         (cmsghdr.cmsg_len): Likewise.
4934         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
4935         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
4936         variable.
4937         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4938         (test-xfail-XPG4/stropts.h/conform): Likewise.
4939         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4940         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4941         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4942         (test-xfail-UNIX98/stropts.h/conform): Likewise.
4943         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4944         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4945         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4946         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4947         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4948         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4949         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4950         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4951         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4952         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4953         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4954         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4955         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4956         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4957         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4959 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4961         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
4962         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
4963         definitions for proper unfolding of __MATHDECL_VEC.
4965 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
4967         * benchtests/bench-strcoll.c:
4968         Include string.h.
4969         (main): Remove unused variable res.
4971 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
4973         * timezone/Makefile (%/UTC %/Universal):
4974         Generate test-result files for UTC and Universal.
4976 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
4978         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4980 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
4982         [BZ #16350]
4983         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
4984         for arguments with small absolute value.
4985         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
4986         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
4987         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
4988         (__asinh): Force underflow exception for arguments with small
4989         absolute value.
4990         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
4991         (__asinhf): Force underflow exception for arguments with small
4992         absolute value.
4993         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
4994         (__asinhl): Force underflow exception for arguments with small
4995         absolute value.
4996         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
4997         (__asinhl): Force underflow exception for arguments with small
4998         absolute value.
4999         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
5000         (__asinhl): Force underflow exception for arguments with small
5001         absolute value.
5002         * math/auto-libm-test-in: Do not mark underflow exceptions as
5003         possibly missing for bug 16350.
5004         * math/auto-libm-test-out: Regenerated.
5006         * include/bits/ipc.h: Remove file.
5007         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
5008         variable.
5009         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5010         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5011         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5012         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5013         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5014         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5015         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5016         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5017         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5019         * math/auto-libm-test-in: Remove spurious underflow allowance for
5020         tests of cexp.
5021         * math/auto-libm-test-out: Regenerated.
5023         [BZ #18558]
5024         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
5025         unconditional definition.
5026         (MCAST_BLOCK_SOURCE): Likewise.
5027         (MCAST_UNBLOCK_SOURCE): Likewise.
5028         (MCAST_LEAVE_GROUP): Likewise.
5029         (MCAST_JOIN_SOURCE_GROUP): Likewise.
5030         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5031         (MCAST_MSFILTER): Likewise.
5032         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
5033         Remove variable.
5034         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5035         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5036         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5037         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5038         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5040 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
5042         * NEWS: Mention addition of x86_64 vector sincosf.
5043         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
5044         * math/test-float-vlen4.h: Likewise.
5045         * math/test-float-vlen8.h: Likewise.
5046         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5047         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
5048         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5049         * sysdeps/x86_64/fpu/Versions: New versions added.
5050         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5051         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5052         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5053         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
5054         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5055         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
5056         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5057         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
5058         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5059         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
5060         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
5061         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
5062         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
5063         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
5064         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
5065         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
5066         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
5067         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5068         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5069         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5070         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5071         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5072         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5073         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5075         * NEWS: Mention addition of x86_64 vector sincos.
5076         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
5077         * math/math.h (__MATHDECL_VEC): New macro.
5078         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
5079         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
5080         declaration under condition.
5081         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
5082         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
5083         TEST_VEC_LOOP change.
5084         * math/test-double-vlen4.h: Likewise.
5085         * math/test-double-vlen8.h: Likewise.
5086         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
5087         * math/test-float-vlen4.h: Likewise.
5088         * math/test-float-vlen8.h: Likewise.
5089         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5090         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
5091         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5092         * sysdeps/x86_64/fpu/Versions: New versions added.
5093         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5094         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5095         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5096         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
5097         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
5098         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
5099         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
5100         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
5101         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
5102         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
5103         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
5104         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
5105         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
5106         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
5107         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
5108         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
5109         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
5110         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5111         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5112         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5113         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5114         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5115         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5116         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5118         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5119         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5120         redirections for powf.
5121         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5122         * sysdeps/x86_64/fpu/Versions: New versions added.
5123         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5124         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5125         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5126         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
5127         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
5128         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
5129         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
5130         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
5131         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
5132         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
5133         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
5134         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
5135         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
5136         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
5137         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
5138         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
5139         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
5140         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5141         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5142         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5143         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5144         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5145         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5146         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5147         * math/test-float-vlen16.h: Fixed 2 argument macro.
5148         * math/test-float-vlen4.h: Likewise.
5149         * math/test-float-vlen8.h: Likewise.
5150         * NEWS: Mention addition of x86_64 vector powf.
5152 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
5154         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5155         and redefine.
5156         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5157         and redefine.
5158         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
5159         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5160         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5162         [BZ #18553]
5163         * resource/getpriority.c (getpriority): Rename to __getpriority
5164         and define as weak alias of __getpriority.
5165         * resource/setpriority.c (setpriority): Rename to __setpriority
5166         and define as weak alias of __setpriority.
5167         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
5168         __getpriority and define as weak alias of __getpriority.
5169         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
5170         __setpriority and define as weak alias of __setpriority.
5171         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
5172         strong name.
5173         (setpriority): Use __setpriority as strong name.
5174         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
5175         __getpriority and define as weak alias of __getpriority.
5176         * include/sys/resource.h (__getpriority): Declare.  Use
5177         libc_hidden_proto.
5178         (__setpriority): Likewise.
5179         (getpriority): Don't use libc_hidden_proto.
5180         (setpriority): Likewise.
5181         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
5182         getpriority.  Call __setpriority instead of setpriority.
5183         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
5184         Remove variable.
5186         [BZ #18547]
5187         * misc/getttyent.c (getttynam): Rename to __getttynam and define
5188         as weak alias of __getttynam.  Use prototype function definition.
5189         Call __setttyent, __getttyent and __endttyent instead of
5190         setttyent, getttyent and endttyent.
5191         (getttyent): Rename to __getttyent and define as weak alias of
5192         __getttyent.  Call __setttyent instead of setttyent.  Call
5193         __fgets_unlocked instead of fgets_unlocked.
5194         (setttyent): Rename to __setttyent and define as weak alias of
5195         __setttyent.
5196         (endttyent): Rename to __endttyent and define as weak alias of
5197         __endttyent.
5198         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
5199         (__setttyent): Likewise.
5200         (__endttyent): Likewise.
5201         (getttyent): Don't use libc_hidden_proto.
5202         (setttyent): Likewise.
5203         (endttyent): Likewise.
5204         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
5205         __endttyent instead of setttyent, getttyent and endttyent.
5206         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
5207         Remove variable.
5209         [BZ #18546]
5210         * socket/recv.c (__recv): Use libc_hidden_def.
5211         * socket/socket.c (__socket): Likewise.
5212         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5213         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5214         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
5215         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
5216         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
5217         libc_hidden_def.
5218         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
5219         libc_hidden_weak.
5220         * include/sys/socket.h (__socket): Do not use attribute_hidden.
5221         Use libc_hidden_proto.
5222         (__recv): Likewise.
5223         * socket/Versions (libc): Export __recv and __socket at version
5224         GLIBC_PRIVATE.
5225         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
5226         instead of recv.
5227         (init_mq_netlink): Call __socket instead of socket.
5228         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
5229         Remove variable.
5231         [BZ #18545]
5232         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
5233         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
5234         hidden_weak.
5235         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
5236         define as alias of __mq_timedsend.  Use hidden_weak.
5237         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
5238         __mq_timedsend as strong name.
5239         (mq_timedreceive): Use __mq_timedreceive as strong name.
5240         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
5241         (__mq_timedreceive): Likewise.
5242         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
5243         __mq_timedreceive instead of mq_timedreceive.
5244         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
5245         instead of mq_timedsend.
5246         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
5247         Remove variable.
5249         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
5250         hidden_def and hidden_weak instead of libc_hidden_def and
5251         libc_hidden_weak.
5252         (top level): Refer to hidden_def in comment.
5253         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
5254         macro.  Use it instead of libc_hidden_def.
5255         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
5256         specify __GI_* name explicitly.
5257         (mq_timedreceive): Likewise.
5258         (mq_setattr): Likewise.
5260         [BZ #18544]
5261         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
5262         __pthread_barrier_init and define as weak alias of
5263         __pthread_barrier_init.
5264         * sysdeps/sparc/nptl/pthread_barrier_init.c
5265         (pthread_barrier_init): Likewise.
5266         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
5267         __pthread_barrier_wait and define as weak alias of
5268         __pthread_barrier_wait.
5269         * sysdeps/sparc/nptl/pthread_barrier_wait.c
5270         (pthread_barrier_wait): Likewise.
5271         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5272         (pthread_barrier_wait): Likewise.
5273         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
5274         (pthread_barrier_wait): Likewise.
5275         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
5276         (pthread_barrier_wait): Likewise.
5277         * nptl/Versions (libpthread): Export __pthread_barrier_init and
5278         __pthread_barrier_wait at version GLIBC_PRIVATE.
5279         * include/pthread.h (__pthread_barrier_init): Declare.
5280         (__pthread_barrier_wait): Likewise.
5281         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
5282         Call __pthread_barrier_wait instead of pthread_barrier_wait.
5283         (helper_thread): Likewise.
5284         (init_mq_netlink): Call __pthread_barrier_init instead of
5285         pthread_barrier_init.
5287         [BZ #18542]
5288         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
5289         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
5290         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
5291         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
5292         vswscanf.
5293         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
5294         Remove variable.
5296         [BZ #18540]
5297         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
5298         strong alias of _IO_fflush.  Use libc_hidden_def.
5299         * libio/iofflush_u.c (fflush_unlocked): Rename to
5300         __fflush_unlocked and define as weak alias of __fflush_unlocked.
5301         Use libc_hidden_weak.
5302         * include/stdio.h (__fflush_unlocked): Declare.  Use
5303         libc_hidden_proto.
5304         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
5305         fflush_unlocked.
5306         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
5307         Remove variable.
5309         [BZ #18539]
5310         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
5311         define as weak alias of __addseverity.
5312         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
5313         Remove variable.
5314         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5315         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5316         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5318         [BZ #18536]
5319         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
5320         (__tfind): Likewise.
5321         (__tdelete): Likewise.
5322         (__twalk): Likewise.
5323         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
5324         __twalk to GLIBC_PRIVATE.
5325         * include/search.h (__tsearch): Use libc_hidden_proto.
5326         (__tfind): Likewise.
5327         (__tdelete): Likewise.
5328         (__twalk): Likewise.
5329         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
5330         Call __tdelete instead of tdelete.
5331         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
5332         tfind.  Call __tsearch instead of tsearch.
5333         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
5334         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
5335         Remove variable.
5336         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5338         [BZ #18534]
5339         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
5340         (dprintf): Define as a weak alias of __dprintf, not a strong
5341         alias.
5342         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
5343         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
5344         dprintf.
5345         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
5346         Remove variable.
5347         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5348         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5350         [BZ #18533]
5351         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
5352         not a strong alias.
5353         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
5354         Remove variable.
5356         [BZ #18532]
5357         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
5358         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
5359         (in6addr_loopback): Rename to __in6addr_loopback and define as
5360         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
5361         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
5362         libc_hidden_proto.
5363         (__in6addr_any): Likewise.
5364         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
5365         in6addr_any.
5366         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
5367         variable.
5368         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5370 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
5372         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
5373         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
5374         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5375         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5376         redirections for pow.
5377         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5378         * sysdeps/x86_64/fpu/Versions: New versions added.
5379         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5380         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5381         build of SSE, AVX2 and AVX512 IFUNC versions.
5382         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
5383         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
5384         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
5385         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
5386         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
5387         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
5388         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
5389         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
5390         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
5391         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
5392         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
5393         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
5394         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
5395         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
5396         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5397         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5398         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5399         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5400         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5401         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5402         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5403         * NEWS: Mention addition of x86_64 vector pow.
5405         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5406         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5407         redirections for expf.
5408         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5409         * sysdeps/x86_64/fpu/Versions: New versions added.
5410         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5411         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5412         build of SSE, AVX2 and AVX512 IFUNC versions.
5413         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
5414         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
5415         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
5416         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
5417         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
5418         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
5419         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
5420         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
5421         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
5422         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
5423         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
5424         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
5425         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
5426         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5427         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5428         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5429         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5430         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5431         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5432         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5433         * NEWS: Mention addition of x86_64 vector expf.
5435         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
5436         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
5437         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5438         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5439         redirections for exp.
5440         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5441         * sysdeps/x86_64/fpu/Versions: New versions added.
5442         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5443         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5444         build of SSE, AVX2 and AVX512 IFUNC versions.
5445         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
5446         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
5447         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
5448         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
5449         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
5450         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
5451         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
5452         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
5453         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
5454         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
5455         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
5456         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
5457         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
5458         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5459         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5460         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5461         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5462         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5463         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5464         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5465         * NEWS: Mention addition of x86_64 vector exp.
5467         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5468         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5469         redirections for logf.
5470         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5471         * sysdeps/x86_64/fpu/Versions: New versions added.
5472         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5473         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5474         build of SSE, AVX2 and AVX512 IFUNC versions.
5475         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
5476         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
5477         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
5478         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
5479         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
5480         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
5481         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
5482         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
5483         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
5484         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
5485         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
5486         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
5487         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
5488         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5489         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5490         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5491         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5492         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5493         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5494         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5495         * NEWS: Mention addition of x86_64 vector logf.
5497         * bits/libm-simd-decl-stubs.h: Added stubs for log.
5498         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
5499         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5500         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5501         redirections for log.
5502         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5503         * sysdeps/x86_64/fpu/Versions: New versions added.
5504         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5505         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5506         build of SSE, AVX2 and AVX512 IFUNC versions.
5507         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
5508         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
5509         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
5510         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
5511         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
5512         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
5513         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
5514         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
5515         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
5516         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
5517         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
5518         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
5519         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
5520         test.
5521         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5522         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5523         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5524         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5525         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5526         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5527         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5528         * NEWS: Mention addition of x86_64 vector log.
5530 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5532         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
5533         cfi_adjust_cfa_offset argument.
5534         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
5535         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
5537         [BZ #18034]
5538         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
5539         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
5540         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
5541         ordering using ldar.
5542         (_dl_tlsdesc_dynamic): Likewise.
5543         (_dl_tlsdesc_return_lazy): Likewise.
5544         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
5545         relaxed atomics instead of volatile and synchronize with release store.
5546         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
5547         volatile.
5548         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5550 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
5552         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5553         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
5554         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5555         * sysdeps/x86_64/fpu/Versions: New versions added.
5556         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5557         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5558         build of SSE, AVX2 and AVX512 IFUNC versions.
5559         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
5560         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
5561         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
5562         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
5563         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
5564         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
5565         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
5566         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
5567         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
5568         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
5569         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
5570         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
5571         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
5572         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5573         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5574         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5575         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5576         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5577         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5578         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5579         * NEWS: Mention addition of x86_64 vector sinf.
5581 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
5583         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
5584         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
5585         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
5586         Remove variable.
5587         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5588         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5590 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
5592         [BZ #18530]
5593         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
5594         strong alias of _IO_fputs.  Use libc_hidden_def.
5595         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
5596         and define as weak alias of __fputs_unlocked.  Use
5597         libc_hidden_weak.
5598         * include/stdio.h (__fputs_unlocked): Declare.  Use
5599         libc_hidden_proto.
5600         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
5601         fputs_unlocked.
5603         [BZ #18529]
5604         * resolv/netdb.h [__USE_POSIX]: Change condition to
5605         [__USE_XOPEN2K].
5606         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
5607         not expect.
5608         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
5609         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
5610         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
5611         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
5612         [XPG4 || UNIX98] (AI_ALL): Likewise.
5613         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
5614         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
5615         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
5616         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
5617         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
5618         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
5619         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
5620         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
5621         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
5622         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
5623         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
5624         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
5625         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
5626         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
5627         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
5628         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5629         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5630         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
5631         [XPG4 || UNIX98] (gai_strerror): Likewise.
5632         [XPG4 || UNIX98] (getaddrinfo): Likewise.
5633         [XPG4 || UNIX98] (getnameinfo): Likewise.
5635         [BZ #18528]
5636         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
5637         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
5638         __USE_XOPEN2K8].
5639         (getgrent): Likewise.
5640         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
5641         expect.
5642         [XPG3 || POSIX2008] (endgrent): Likewise.
5643         [XPG3] (setgrent): Likewise.
5644         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
5645         variable.
5646         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5648         [BZ #18527]
5649         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
5650         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
5651         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
5652         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
5653         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
5654         * include/unistd.h (__getlogin_r): Declare.  Use
5655         libc_hidden_proto.
5656         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
5657         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
5658         variable.
5659         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5660         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5661         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5663 2015-06-12  Martin Sebor  <msebor@redhat.com>
5665         [BZ #18512]
5666         * Makerules (check-install-supported): New target.
5667         (install): Add check-install-supported as a dependency.
5668         * manual/install.texi (Installing the C Library): Document
5669         that overriding prefix and exec_prefix is not supported.
5670         Mention DESTDIR.
5671         * INSTALL: Regenerate from the above.
5673 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
5675         [BZ #18519]
5676         * posix/Versions (libc): Export __libc_pread at version
5677         GLIBC_PRIVATE.
5678         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
5679         instead of pread.
5680         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
5681         variable.
5683         [BZ #18522]
5684         * misc/efgcvt_r.c
5685         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
5686         (cvt_symbol): Use weak_alias instead of strong_alias.
5687         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
5688         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
5689         Remove variable.
5690         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5691         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5693         [BZ #18520]
5694         * inet/herrno.c (h_errno): Rename to __h_errno.
5695         (__libc_h_errno): Define as alias of __h_errno not h_errno.
5696         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
5697         to __h_errno instead of h_errno.
5698         * nptl/herrno.c (h_errno): Rename to __h_errno.
5699         (__h_errno_location): Refer to __h_errno not h_errno.
5700         * resolv/Versions (h_errno): Rename to __h_errno.
5701         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
5702         Remove variable.
5703         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5705 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
5707         * configure.ac: More strict check for AVX512 assembler support.
5708         * configure: Regenerated.
5710         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
5711         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
5712         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5713         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
5714         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5715         * sysdeps/x86_64/fpu/Versions: New versions added.
5716         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5717         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5718         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5719         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
5720         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
5721         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
5722         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
5723         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
5724         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
5725         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
5726         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
5727         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
5728         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
5729         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
5730         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
5731         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
5732         test.
5733         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5734         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5735         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5736         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5737         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5738         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5739         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5740         * NEWS: Mention addition of x86_64 vector sin.
5742 2015-06-11  Florian Weimer  <fweimer@redhat.com>
5744         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
5745         comment.
5747 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
5749         [BZ #18479]
5750         * nptl/pt-interp.c: New file.
5751         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
5752         Add pt-interp.
5753         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
5754         $(common-objpfx)runtime-linker.h.
5756 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
5758         * Makeconfig (+interp): Remove unused variable.
5759         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
5760         only.  Depend on $(common-objpfx)runtime-linker.h instead of
5761         $(elf-objpfx)runtime-linker.h.
5762         ($(elf-objpfx)runtime-linker.h): Rename to
5763         $(common-objpfx)runtime-linker.h and move ...
5764         * Makerules [$(build-shared) = yes]: ... here.
5765         * elf/interp.c: Include <runtime-linker.h> instead of
5766         <elf/runtime-linker.h>.
5768 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5770         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
5771         (__gettimeofday_syscall): Remove vsyscall fallback.
5772         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
5773         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
5774         Add syscall fallback function.
5775         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
5776         if vDSO is not present.
5777         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
5778         fallback function.
5779         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
5780         present.
5781         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
5782         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5784 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
5786         [BZ #18497]
5787         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
5788         of wcscmp.
5789         (wcscmp): Define as weak alias of WCSCMP.
5790         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
5791         wcscoll.
5792         (USE_HIDDEN_DEF): Define.
5793         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
5794         __wcscoll.  Don't use libc_hidden_weak.
5795         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
5796         wcscmp.
5797         * sysdeps/i386/i686/multiarch/wcscmp-c.c
5798         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
5799         __GI_wcscmp.
5800         (weak_alias): Undefine and redefine.
5801         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
5802         __wcscmp and define as weak alias of __wcscmp.
5803         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
5804         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
5805         (__wcscoll): Likewise.
5806         (wcscmp): Don't use libc_hidden_proto.
5807         (wcscoll): Likewise.
5808         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
5809         wcscoll.
5810         * posix/regexec.c (check_node_accept_bytes): Likewise.
5811         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
5812         variable.
5813         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5814         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5816         [BZ #18507]
5817         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
5818         __fstatvfs and define as weak alias of __fstatvfs.  Use
5819         libc_hidden_weak.
5820         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
5821         and define as weak alias of __statvfs.  Use libc_hidden_weak.
5822         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
5823         Define as alias of __fstatvfs, not fstatvfs.
5824         (fstatvfs64): Likewise.
5825         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
5826         Define as alias of __statvfs, not statvfs.
5827         (statvfs64): Likewise.
5828         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
5829         Remove variable.
5831 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5834         (HAVE_GETCPU_VSYSCALL): Define.
5835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5836         (HAVE_GETCPU_VSYSCALL): Likewise.
5837         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
5838         * sysdeps/unix/sysv/linux/sched_getcpu.c
5839         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
5840         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
5841         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
5842         prototype.
5843         * sysdeps/unix/sysv/linux/x86_64/init-first.c
5844         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
5845         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
5846         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
5847         Define.
5848         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
5849         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5850         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
5851         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5853 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
5855         * sysdeps/x86_64/fpu/Makefile: New file.
5856         * sysdeps/x86_64/fpu/Versions: New file.
5857         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
5858         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
5859         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
5860         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
5861         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
5862         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
5863         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
5864         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
5865         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
5866         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
5867         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
5868         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
5869         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
5870         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5871         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5872         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
5873         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
5874         * sysdeps/x86_64/configure.ac: Options for libmvec build.
5875         * sysdeps/x86_64/configure: Regenerated.
5876         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
5877         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
5878         * manual/install.texi (Configuring and compiling): Document
5879         --disable-mathvec.
5880         * INSTALL: Regenerated.
5881         * NEWS: Mention addition of libmvec and x86_64 vector cos.
5883         * math/Makefile: Added rules for vector tests.
5884         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
5885         declaration under condition.
5886         * math/test-double-vlen2.h: New file.
5887         * math/test-double-vlen4.h: New file.
5888         * math/test-double-vlen8.h: New file.
5889         * math/test-vec-loop.h: Added initialization macro.
5890         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
5891         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
5892         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
5893         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
5894         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
5895         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
5896         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
5897         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
5898         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
5899         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
5900         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
5902         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5903         * sysdeps/x86_64/fpu/Versions: New versions added.
5904         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
5905         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
5906         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
5907         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
5908         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
5909         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
5910         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
5911         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
5912         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
5913         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
5914         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
5915         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
5916         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
5917         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5918         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5919         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5920         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
5921         * NEWS: Mention addition of x86_64 vector cosf.
5923         * math/Makefile: Added CFLAGS for new tests.
5924         * math/test-float-vlen16.h: New file.
5925         * math/test-float-vlen4.h: New file.
5926         * math/test-float-vlen8.h: New file.
5927         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
5928         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
5929         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5930         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
5931         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
5932         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
5933         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
5934         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
5935         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
5936         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
5937         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
5939 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
5941         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
5942         * locale/programs/ld-ctype.c: Likewise.
5944 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
5946         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
5947         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
5948         bit_ZMM16_31_state): New macro.
5949         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5950         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
5952 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
5954         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
5956 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
5958         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
5960 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
5962         [BZ #18498]
5963         * libio/memstream.c (open_memstream): Rename to __open_memstream
5964         and define as weak alias of __open_memstream.
5965         * include/stdio.h (__open_memstream): Declare.  Use
5966         libc_hidden_proto.
5967         (open_memstream): Don't use libc_hidden_proto.
5968         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
5969         open_memstream.
5970         * posix/getopt.c (_getopt_internal_r): Likewise.
5971         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
5972         variable.
5973         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5974         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5975         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5977         [BZ #18496]
5978         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
5979         instead of wcrtomb.
5981         [BZ #18483]
5982         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
5983         [__USE_XOPEN2K8].  Remove redundant #endif.
5984         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
5985         Remove redundant #if.
5986         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
5987         Remove variable.
5988         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5989         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5991         [BZ #18495]
5992         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
5993         (__iswlower): Likewise.
5994         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
5995         (__iswlower): Likewise.
5996         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
5997         instead of towlower.
5998         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
5999         instead of iswlower.  Call __towupper instead of towupper.
6000         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
6001         instead of iswalnum.
6003 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6005         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
6006         errors to stderr.
6008 2015-06-05  Florian Weimer  <fweimer@redhat.com>
6010         [BZ #15661]
6011         [BZ #17322]
6012         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6013         Check for overflow properly.  Check for O_APPEND.  Ignore large
6014         file system block sizes.  Add comments about problems.
6015         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
6016         * manual/filesys.texi (Storage Allocation): New node.
6018 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6020         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
6021         cancellable syscalls.
6022         (SYS_ify): Add guard to no redefine it.
6023         (INLINE_SYSCALL): Likewise.
6024         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
6025         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
6026         SYSCALL_CANCEL instead.
6027         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
6028         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6029         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6030         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6031         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6032         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
6033         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
6034         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
6035         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6036         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6037         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
6038         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
6039         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
6040         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
6041         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
6042         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6043         Likewise.
6044         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6045         (__libc_pread64): Likewise.
6046         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
6047         (__libc_preadv): Likewise.
6048         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
6049         (__libc_readv64): Likewise.
6050         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6051         (__libc_pwrite): Likewise.
6052         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6053         (__libc_pwrite64): Likewise.
6054         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
6055         (__libc_pwritev): Likewise.
6056         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
6057         (__libc_pwritev64): Likewise.
6058         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
6059         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6060         (sync_file_range): Likewise.
6061         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
6062         Likewise.
6063         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
6064         Likewise.
6065         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6066         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6067         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6068         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6069         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6070         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6071         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6072         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
6073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6074         Likewise.
6075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6076         (__libc_read64): Likewise.
6077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
6078         Likewise.
6079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
6080         Likewise.
6081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
6082         Likewise.
6083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
6084         Likewise.
6085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6086         (__libc_pread64): Likewise.
6087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
6088         Likewise.
6089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6090         (__libc_pwrite64): Likewise.
6091         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
6092         (sync_file_range): Likewise.
6093         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
6094         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6095         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6096         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
6097         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
6098         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6099         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6100         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
6101         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
6102         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6103         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6104         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6105         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6106         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6107         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
6108         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6109         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6110         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6111         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6112         Likewise.
6113         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
6114         Likewise.
6115         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
6116         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
6117         Likewise.
6118         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
6119         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
6120         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
6121         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
6122         Likewise.
6123         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
6124         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
6125         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
6126         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
6127         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
6129 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
6131         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
6132         Include dl-vdso.
6133         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
6134         Use VDSO routines for gettimeofday, clock_gettime if
6135         available.
6136         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
6137         Declare VDSO symbols.
6138         * sysdeps/unix/sysv/linux/arm/sysdep.h:
6139         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
6140         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6141         * sysdeps/unix/sysv/linux/arm/Versions: Add
6142         __vdso_clock_gettime.
6144 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6146         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
6147         be an inline implementation regardless of library is built within.
6148         (open_not_cancel_2): Likewise.
6149         (__read_nocancel): Likewise.
6150         (__write_nocancel): Likewise.
6151         (openat_not_cancel): Likewise.
6152         (openat_not_cancel_3): Likewise.
6153         (openat64_not_cancel): Likewise.
6154         (openat64_not_cancel_3): Likewise.
6155         (__close_nocancel): Likewise.
6156         (pause_not_cancel): Likewise.
6157         (nanosleep_not_cancel): Likewise.
6158         (sigsuspend_not_cancel): Likewise.
6160 2015-06-04  Torvald Riegel  <triegel@redhat.com>
6162         [BZ #14958]
6163         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
6164         wake-up.
6165         (__pthread_rwlock_rdlock_slow): Likewise.
6166         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6167         Likewise.
6168         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6169         Likewise.
6170         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
6171         * nptl/tst-rwlock16.c: New file.
6172         * nptl/Makefile (tests): Add new test.
6174 2015-06-04  Torvald Riegel  <triegel@redhat.com>
6176         [BZ #18324]
6177         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
6178         missing wake-up of readers.
6179         * nptl/tst-rwlock15.c: New file.
6180         * nptl/Makefile (tests): Add new test.
6182 2015-06-03  Roland McGrath  <roland@hack.frob.com>
6184         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
6185         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
6186         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
6187         and __nacl_supply_interface_rtld.
6188         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
6189         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
6190         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
6191         Add __nacl_supply_interface_rtld.
6192         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
6194 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
6196         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
6197         isfinite.
6198         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6199         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
6201 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
6203         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
6204         __signbit* with standard C99 macros.
6205         * math/e_exp10l.c: Likewise.
6206         * math/e_exp2l.c: Likewise.
6207         * math/e_scalb.c: Likewise.
6208         * math/e_scalbf.c: Likewise.
6209         * math/e_scalbl.c: Likewise.
6210         * math/s_ldexp.c: Likewise.
6211         * math/s_ldexpf.c: Likewise.
6212         * math/s_ldexpl.c: Likewise.
6213         * math/w_atan2.c: Likewise.
6214         * math/w_atan2f.c: Likewise.
6215         * math/w_atan2l.c: Likewise.
6216         * math/w_cosh.c: Likewise.
6217         * math/w_coshf.c: Likewise.
6218         * math/w_coshl.c: Likewise.
6219         * math/w_exp10.c: Likewise.
6220         * math/w_exp10f.c: Likewise.
6221         * math/w_exp10l.c: Likewise.
6222         * math/w_exp2.c: Likewise.
6223         * math/w_exp2f.c: Likewise.
6224         * math/w_exp2l.c: Likewise.
6225         * math/w_fmod.c: Likewise.
6226         * math/w_fmodf.c: Likewise.
6227         * math/w_fmodl.c: Likewise.
6228         * math/w_hypot.c: Likewise.
6229         * math/w_hypotf.c: Likewise.
6230         * math/w_hypotl.c: Likewise.
6231         * math/w_jnl.c: Likewise.
6232         * math/w_lgamma.c: Likewise.
6233         * math/w_lgamma_r.c: Likewise.
6234         * math/w_lgammaf.c: Likewise.
6235         * math/w_lgammaf_r.c: Likewise.
6236         * math/w_lgammal.c: Likewise.
6237         * math/w_lgammal_r.c: Likewise.
6238         * math/w_pow.c: Likewise.
6239         * math/w_powf.c: Likewise.
6240         * math/w_powl.c: Likewise.
6241         * math/w_remainder.c: Likewise.
6242         * math/w_remainderf.c: Likewise.
6243         * math/w_remainderl.c: Likewise.
6244         * math/w_scalb.c: Likewise.
6245         * math/w_scalbf.c: Likewise.
6246         * math/w_scalbl.c: Likewise.
6247         * math/w_scalbln.c: Likewise.
6248         * math/w_scalblnf.c: Likewise.
6249         * math/w_scalblnl.c: Likewise.
6250         * math/w_sinh.c: Likewise.
6251         * math/w_sinhf.c: Likewise.
6252         * math/w_sinhl.c: Likewise.
6253         * math/w_tgamma.c: Likewise.
6254         * math/w_tgammaf.c: Likewise.
6255         * math/w_tgammal.c: Likewise.
6256         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6257         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
6258         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6259         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6260         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6261         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6262         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6263         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6264         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6265         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6266         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6267         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6268         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6269         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6270         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6271         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6272         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6273         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6274         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6275         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6276         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6277         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6278         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6279         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6280         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6281         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6282         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
6283         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6284         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6285         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6286         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
6287         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
6288         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
6289         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
6290         * stdio-common/printf_fp.c: Likewise.
6291         * stdio-common/printf_fphex.c: Likewise.
6292         * stdio-common/printf_size.c: Likewise.
6294 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
6296         [BZ #18470]
6297         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
6298         strnlen.
6299         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
6300         Remove variable.
6301         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6302         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6303         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6304         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6305         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6306         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6307         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6308         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6309         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6310         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6312         [BZ #18468]
6313         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
6314         weak alias of __wmemchr.  Use libc_hidden_weak.
6315         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
6316         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
6317         instead of wmemchr.
6319 2015-06-02  Roland McGrath  <roland@hack.frob.com>
6321         [BZ #18383]
6322         * elf/tst-tlsalign-extern.c: New file.
6323         * elf/tst-tlsalign-extern-static.c: New file.
6324         * elf/tst-tlsalign-vars.c: New file.
6325         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
6326         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
6327         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
6328         ($(objpfx)tst-tlsalign-extern-static): Likewise.
6329         (test-xfail-tst-tlsalign-extern-static): New variable.
6331 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
6333         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
6334         Use variable name _sc_err instead of err.
6335         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
6336         instead of ret.
6337         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
6338         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
6339         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
6340         (INLINE_SYSCALL): Likewise.
6342         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
6343         * include/string.h (__strnlen): Use libc_hidden_proto.
6344         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
6345         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
6346         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
6347         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
6348         (libc_hidden_def): Undefine and redefine.
6349         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
6350         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
6351         __GI_strnlen.
6352         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
6353         libc_hidden_def.
6354         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
6356         [BZ #18469]
6357         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
6358         weak alias of __towlower.  Use libc_hidden_weak.
6359         (towupper): Rename to __towupper and define as weak alias of
6360         __towupper.  Use libc_hidden_weak.
6361         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
6362         (__towupper): Likewise.
6363         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
6364         __towlower instead of towlower.
6366 2015-06-02  Roland McGrath  <roland@hack.frob.com>
6368         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
6369         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
6371 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6373         * sysdeps/aarch64/libm-test-ulps: Update.
6375 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6377         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
6378         Define.
6379         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6380         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6381         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6382         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6383         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
6384         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
6385         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
6387 2015-06-01  Martin Sebor  <msebor@redhat.com>
6389         [BZ #18116]
6390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6391         (__setcontext): Use extended four-operand version of mtsf whenever
6392         possible.
6393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6394         (__novec_swapcontext): Likewise.
6396 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6398         * benchtests/scripts/compare_bench.py: New file.
6399         * benchtests/scripts/import_bench.py (mean): New function.
6400         (split_list): Likewise.
6401         (do_for_all_timings): Likewise.
6402         (compress_timings): Likewise.
6404         * benchtests/scripts/import_bench.py: New file.
6405         * benchtests/scripts/validate_benchout.py: Import import_bench
6406         instead of jsonschema.
6407         (validate_bench): Remove function.
6408         (main): Use import_bench.
6410 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
6412         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
6413         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
6415 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6419 2015-05-28  Roland McGrath  <roland@hack.frob.com>
6421         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
6422         set THREAD_SELF->tid to a magic value and futex-wake it.
6423         Pass its address to the thread_exit system call.
6424         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
6425         bit is clear.
6426         * sysdeps/nacl/lowlevellock.h: New file.
6427         * sysdeps/nacl/lll_timedwait_tid.c: New file.
6429         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
6430         Add TIMEOUT to current time, don't subtract it.
6432 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
6434         [BZ #2981]
6435         [BZ #18422]
6436         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
6437         ($(objpfx)tst-audit2.out): Also depend on
6438         $(objpfx)tst-auditmod9b.so.
6439         * elf/tst-audit2.c: Include <dlfcn.h>.
6440         (calloc_called): New.
6441         (calloc): Allow to be called more than once.
6442         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
6444 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
6446         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
6447         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
6449 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
6451         * stdlib/monetary.h: Fix comment.
6453 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
6455         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
6456         Avoid using variables in #defines that might cause shadowing.
6457         (INTERNAL_VSYSCALL_CALL): Likewise.
6459 2015-05-26  Roland McGrath  <roland@hack.frob.com>
6461         * sysdeps/nacl/lll_timedlock_wait.c: New file.
6463         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
6464         * nptl/lll_timedlock_wait.c: ... to this new file.
6465         * nptl/Makefile (libpthread-routines): Add it.
6466         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
6467         * nptl/lll_timedwait_tid.c: ... to this new file.
6468         * nptl/Makefile (libpthread-routines): Add it.
6469         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
6470         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
6471         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
6472         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
6473         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
6474         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
6475         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
6476         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
6477         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
6478         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
6480 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6482         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
6483         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6484         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6485         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
6486         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6487         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6488         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6489         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6490         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6491         * sysdeps/unix/sysv/linux/tile/sysdep.h
6492         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6493         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
6494         using vDSO syscall macro.
6496 2015-05-26  Andriy Rysin  <arysin@gmail.com>
6498         [BZ #17293]
6499         * uk_UA: Fix sorting order for Ukrainian locale
6501 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
6503         * stdlib/monetary.h: Fix comment.
6505 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6507         [BZ #18234]
6508         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
6509         st_mtim and st_ctim members.
6510         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
6511         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
6512         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
6513         (struct stat64): Likewise.
6514         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
6515         (struct stat64): Likewise.
6516         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
6517         (struct stat64): Likewise.
6519 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6521         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
6522         Define and include sysdep-vdso.h.
6523         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
6524         Likewise.
6525         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
6526         Likewise.
6527         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
6528         Define with VDSO_SYMBOL and use PTR_MANGLE.
6529         (__vdso_clock_gettime): Likewise.
6530         (__vdso_clock_getres): Likewise.
6531         (_libc_vdso_platform_setup): Likewise.
6532         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6533         Likewise.
6534         (_libc_vdso_platform_setup): Likewise.
6535         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
6536         Likewise.
6537         (__vdso_clock_gettime): Likewise.
6538         (__vdso_clock_getres): Likewise.
6539         (__vdso_get_tbfreq): Likewise.
6540         (__vdso_getcpu): Likewise.
6541         (__vdso_time): Likewise.
6542         (__vdso_sigtramp_rt64): Likewise.
6543         (__vdso_signtramp32): Likewise.
6544         (__vdso_sigtramp_rt32): Likewise.
6545         (_libc_vdso_platform_setup): Likewise.
6546         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
6547         Likewise.
6548         (__vdso_clock_gettime): Likewise.
6549         (__vdso_clock_getres): Likewise.
6550         (_libc_vdso_platform_setup): Likewise.
6551         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
6552         Likewise.
6553         (__vdso_clock_gettime): Likewise.
6554         (_libc_vdso_platform_setup): Likewise.
6555         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6556         Likewise.
6557         (__vdso_getcpu): Likewise.
6558         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
6559         Use VDSO_SYMBOL macro to define.
6560         (__vdso_clock_gettime): Likewise.
6561         (__vdso_clock_getres): Likewise.
6562         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
6563         Likewise.
6564         (__vdso_clock_gettime): Likewise.
6565         (__vdso_clock_getres): Likewise.
6566         (__vdso_get_tbfreq): Likewise.
6567         (__vdso_getcpu): Likewise.
6568         (__vdso_time): Likewise.
6569         (__vdso_sigtramp_rt64): Likewise.
6570         (__vdso_signtramp32): Likewise.
6571         (__vdso_sigtramp_rt32): Likewise.
6572         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
6573         Likewise.
6574         (__vdso_clock_gettime): Likewise.
6575         (__vdso_clock_getres): Likewise.
6576         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
6577         Likewise.
6578         (__vdso_clock_gettime): Likewise.
6579         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6580         Likewise.
6581         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
6582         macro.
6583         (INTERNAL_VSYSCALL): Likewise.
6584         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
6585         Remove macro.
6586         (INTERNAL_VSYSCALL): Likewise.
6587         (INTERNAL_VSYSCALL_NCS): Likewise.
6588         (INTERNAL_VSYSCALL_CALL): New macro.
6589         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6590         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
6591         Likewise.
6592         (INTERNAL_VSYSCALL): Likewise.
6593         (INTERNAL_VSYSCALL_NCS): Likewise.
6594         (INTERNAL_VSYSCALL_CALL): New macro.
6595         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6597         (INLINE_VSYSCALL): Remove macro.
6598         (INTERNAL_VSYSCALL): Remove macro.
6599         (INTERNAL_VSYSCALL_NCS): Remove macro.
6600         (INTERNAL_VSYSCALL_CALL): New macro.
6601         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
6602         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
6603         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6604         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
6605         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6607         (INLINE_VSYSCALL): Remove macro.
6608         (INTERNAL_VSYSCALL): Likewise.
6609         (INTERNAL_VSYSCALL_NCS): Likewise.
6610         (INTERNAL_VSYSCALL_CALL): New macro.
6611         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
6612         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
6613         PTR_DEMANGLE on vDSO pointer.
6614         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6615         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
6616         macro.
6617         (INTERNAL_SYSCALL): Likewise.
6618         (INTERNAL_VSYSCALL_NCS): Remove macro.
6619         (INTERNAL_VSYSCALL_CALL): New macro.
6620         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
6621         Remove macro.
6622         (INTERNAL_VSYSCALL): Likewise.
6623         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
6624         sysdep-vdso.h instead of libc-vdso.h.
6625         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
6626         definition.
6627         (INLINE_VSYSCALL): Likewise.
6628         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
6629         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
6630         definition.
6631         (INLINE_VSYSCALL): Likewise.
6632         (INTERNAL_VSYSCALL): Likewise.
6633         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6634         * sysdeps/unix/sysv/linux/timespec_get.c
6635         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6636         (timespec_get): Use ANSI prototype.
6637         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
6638         and definition for Linux.
6640 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
6642         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
6643         * include/libc-symbols.h: libmvec_hidden_* macro series added.
6645 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
6647         [BZ #2981]
6648         [BZ #18410]
6649         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
6650         for missing DT_PLTRELSZ.
6652 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
6654         Remove obsolete aliases that broke 'locale -a'
6655         [BZ #18412]
6656         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
6657         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
6658         breaking some applications that use 'locale -a' output.
6659         Change the encoding of this file from Latin-1 to ASCII to avoid
6660         other potential problems with people grepping this file.
6662 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6664         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
6665         -fasynchronous-unwind-tables.
6666         (CFLAGS-sendto.c): Likewise.
6667         (CFLAGS-sendmsg.c): Likewise.
6668         (CFLAGS-connect.c): Likewise.
6669         (CFLAGS-recvmsg.c): Likewise.
6670         (CFLAGS-recvfrom.c): Likewise.
6671         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
6672         (SOCKETCALL): New macro: non-cancellable socketcall.
6673         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
6674         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
6675         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
6676         * sysdeps/unix/sysv/linux/accept.c: New file.
6677         * sysdeps/unix/sysv/linux/bind.c: Likewise.
6678         * sysdeps/unix/sysv/linux/connect.c: Likewise.
6679         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
6680         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
6681         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
6682         * sysdeps/unix/sysv/linux/listen.c: Likewise.
6683         * sysdeps/unix/sysv/linux/recv.c: Likewise.
6684         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
6685         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6686         * sysdeps/unix/sysv/linux/send.c: Likewise.
6687         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6688         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
6689         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
6690         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
6691         * sysdeps/unix/sysv/linux/socket.c: Likewise.
6692         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
6693         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
6694         prototype.
6695         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
6696         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6697         instead of __internal_xxx function.
6698         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
6699         prototype.
6700         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
6701         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6702         instead of __internal_xxx function.
6703         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
6704         prototype.
6705         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
6706         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6707         instead of __internal_xxx function.
6708         * sysdeps/unix/sysv/linux/accept.S: Remove file.
6709         * sysdeps/unix/sysv/linux/bind.S: Likewise.
6710         * sysdeps/unix/sysv/linux/connect.S: Likewise.
6711         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
6712         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
6713         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
6714         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
6715         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
6716         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
6717         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
6718         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
6719         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6720         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
6721         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
6722         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
6723         * sysdeps/unix/sysv/linux/listen.S: Likewise.
6724         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
6725         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
6726         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
6727         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
6728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
6729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
6730         * sysdeps/unix/sysv/linux/recv.S: Likewise.
6731         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
6732         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
6733         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
6734         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6735         * sysdeps/unix/sysv/linux/send.S: Likewise.
6736         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
6737         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
6738         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
6739         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
6740         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
6741         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
6742         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
6743         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
6744         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
6745         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
6746         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
6747         socketcall is implemented in GLIBC.
6749 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
6751         * soft-fp/fmadf4.c: Include <libc-internal.h>.
6752         (__fma): Ignore uninitialized warnings around packing.
6753         * soft-fp/fmasf4.c: Include <libc-internal.h>.
6754         (__fmaf): Ignore uninitialized warnings around packing.
6755         * soft-fp/fmatf4.c: Include <libc-internal.h>.
6756         (__fmal): Ignore uninitialized warnings around packing.
6758         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
6759         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6760         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
6761         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6763         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
6764         switch statement into default case.
6765         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
6767         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
6768         a conditional in forcing "inexact".
6769         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6770         Likewise.
6772 2015-05-22  Roland McGrath  <roland@hack.frob.com>
6774         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6775         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
6776         for each INTERNAL_SYSCALL use.
6778 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
6780         [BZ #438]
6781         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
6782         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
6783         variable.
6785         [BZ #18444]
6786         * string/basename.c (basename): Rename to __basename and define as
6787         weak alias of __basename.  Use libc_hidden_weak.
6788         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
6789         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
6790         __basename instead of basename.
6791         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
6792         Remove variable.
6793         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6795 2015-05-18  Florian Weimer  <fweimer@redhat.com>
6797         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
6798         (_IO_JUMPS_FILE_plus): New.
6799         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
6800         _IO_CAST_FIELD_ACCESS.
6801         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
6802         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
6803         * libio/freopen.c (freopen): Likewise.
6804         * libio/freopen64.c (freopen64): Likewise.
6805         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
6806         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
6807         * libio/iofwide.c (_IO_fwide): Likewise.
6808         * libio/memstream.c (open_memstream): Likewise.
6809         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6810         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6811         * libio/oldiopopen.c (_IO_old_popen): Likewise.
6813 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
6815         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
6816         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
6817         NADJ.
6818         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
6819         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
6820         NADJ.
6821         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
6822         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
6823         NADJ.
6825         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
6826         (p == 4) case.
6828         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
6829         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
6830         Remove variable.
6831         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6832         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6833         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6835 2015-05-21  Florian Weimer  <fweimer@redhat.com>
6837         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
6838         Adjust jump table label generation macros.
6840 2015-05-21  Florian Weimer  <fweimer@redhat.com>
6842         * stdio-common/vfprintf.c (vfprintf): Move local variables
6843         args_malloced, specs, specs_malloced, and the code after
6844         do_positional to the printf_positional function.
6845         (printf_positional): New function.
6847 2015-05-21  Florian Weimer  <fweimer@redhat.com>
6849         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
6850         function.
6851         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
6852         STEP4_TABLE, process_arg): Move macro definitions
6853         out of the vfprintf function.  (Cosmetic change only.)
6855 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
6857         * benchtests/Makefile (stdio-common-bench): Define.
6858         (benchset): Add stdio-common-bench.
6859         * sprintf-inputs: New file.
6860         * sprintf-source.c: New file.
6862 2015-05-21  Andreas Schwab  <schwab@suse.de>
6864         [BZ #13028]
6865         [BZ #17053]
6866         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
6867         of struct __res_state.
6868         * resolv/res_send.c (__libc_res_nsend): Likewise.
6869         (get_nsaddr): New function.
6870         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
6871         statp directly.
6873 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
6875         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
6876         -D_POSIX_C_SOURCE=199506L.
6878         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
6880         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
6881         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
6882         Do not mention otherwise.
6883         [POSIX] (_XOPEN_VERSION): Do not expect.
6884         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
6885         [POSIX] (_POSIX2_C_BIND): Likewise.
6886         [POSIX] (_POSIX2_VERSION): Likewise.
6887         [POSIX] (_XOPEN_XPG2): Likewise.
6888         [POSIX] (_XOPEN_XPG3): Likewise.
6889         [POSIX] (_XOPEN_XPG4): Likewise.
6890         [POSIX] (_XOPEN_UNIX): Likewise.
6891         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
6892         [POSIX] (_POSIX_BARRIERS): Likewise.
6893         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
6894         [POSIX] (_POSIX_CPUTIME): Likewise.
6895         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
6896         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
6897         [POSIX] (_POSIX_SHELL): Likewise.
6898         [POSIX] (_POSIX_SPAWN): Likewise.
6899         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
6900         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
6901         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
6902         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
6903         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
6904         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
6905         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
6906         [POSIX] (_XBS5_LP64_OFF64): Likewise.
6907         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
6908         [POSIX] (_POSIX_TIMEOUTS): Likewise.
6909         [POSIX] (_POSIX2_PBS): Likewise.
6910         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
6911         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
6912         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
6913         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
6914         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
6915         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
6916         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
6917         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
6918         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
6919         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
6920         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
6921         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
6922         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
6923         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
6924         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
6925         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
6926         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
6927         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
6928         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
6929         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
6930         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
6931         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
6932         [POSIX] (_SC_2_C_BIND): Likewise.
6933         [POSIX] (_SC_2_C_VERSION): Likewise.
6934         [POSIX] (_SC_2_PBS): Likewise.
6935         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
6936         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
6937         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
6938         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
6939         [POSIX] (_SC_2_PBS_TRACK): Likewise.
6940         [POSIX] (_SC_ATEXIT_MAX): Likewise.
6941         [POSIX] (_SC_BARRIERS): Likewise.
6942         [POSIX] (_SC_BASE): Likewise.
6943         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
6944         [POSIX] (_SC_DEVICE_IO): Likewise.
6945         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
6946         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
6947         [POSIX] (_SC_FD_MGMT): Likewise.
6948         [POSIX] (_SC_FIFO): Likewise.
6949         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
6950         [POSIX] (_SC_FILE_LOCKING): Likewise.
6951         [POSIX] (_SC_FILE_SYSTEM): Likewise.
6952         [POSIX] (_SC_IOV_MAX): Likewise.
6953         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
6954         [POSIX] (_SC_NETWORKING): Likewise.
6955         [POSIX] (_SC_PAGE_SIZE): Likewise.
6956         [POSIX] (_SC_PASS_MAX): Likewise.
6957         [POSIX] (_SC_PIPE): Likewise.
6958         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
6959         [POSIX] (_SC_REGEXP): Likewise.
6960         [POSIX] (_SC_SHELL): Likewise.
6961         [POSIX] (_SC_SIGNALS): Likewise.
6962         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
6963         [POSIX] (_SC_SPIN_LOCKS): Likewise.
6964         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
6965         [POSIX] (_SC_USER_GROUPS): Likewise.
6966         [POSIX] (_SC_USER_GROUPS_R): Likewise.
6967         [POSIX] (_SC_STREAMS): Likewise.
6968         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
6969         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
6970         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
6971         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
6972         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
6973         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
6974         [POSIX] (_PC_FILESIZEBITS): Likewise.
6975         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
6976         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
6977         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
6978         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
6979         [POSIX] (uid_t): Likewise.
6980         [POSIX] (gid_t): Likewise.
6981         [POSIX] (off_t): Likewise.
6982         [POSIX] (pid_t): Likewise.
6983         [POSIX] (cuserid): Allow.
6984         (_SC_2_CHAR_TERM): Require constant.
6985         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
6986         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
6987         variable.
6989 2015-05-20  Roland McGrath  <roland@hack.frob.com>
6991         * sysdeps/nacl/pthread-pids.h: New file.
6992         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
6993         (create_thread): Use __nacl_get_tid to initialize PD->tid.
6995         * nptl/pthread-pids.h: New file.
6996         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
6997         * nptl/nptl-init.c: Include <pthread-pids.h>.
6998         (__pthread_initialize_minimal_internal):
6999         Call __pthread_initialize_pids instead of set_tid_address syscall.
7001         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
7002         * sysdeps/posix/usleep.c: ... here.
7004 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7006         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
7007         call_pselect6 object.
7008         [$(subdir) = io]: Remove call_sync_file_range object.
7009         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
7010         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
7011         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
7012         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
7014 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
7016         * math/s_cproj.c: Add include "math_private.h".
7017         * math/s_cprojf.c: Likewise.
7018         * math/s_cprojl.c: Likewise.
7020 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
7022         [BZ #18244]
7023         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
7024         high mantissa bit when testing whether P is a NaN.
7025         * math/libm-test.inc (remainder_test_data): Add more tests.
7026         (remquo_test_data): Likewise.
7028         [BZ #18049]
7029         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
7030         below -32, return the argument, with underflow if subnormal.
7031         * math/auto-libm-test-in: Add more tests of atanh.
7032         * math/auto-libm-test-out: Regenerated.
7034 2015-05-19  Roland McGrath  <roland@hack.frob.com>
7036         [BZ #18434]
7037         * nptl/tst-sem15.c: New file.
7038         * nptl/Makefile (tests): Add it.
7039         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
7040         s/<</>>/ to fix typo in EOVERFLOW check.
7041         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
7043 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7045         * manual/strings.texi (envz_remove): Fix typo in safety
7046         annotations.
7048 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
7049             Steve Ellcey  <sellcey@imgtec.com>
7051         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
7052         in order to avoid strict alias warnings.
7053         (iruserok_af): Ditto for ra.
7055 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
7057         [BZ #17581]
7058         * malloc/hooks.c
7059         (magicbyte): Convert to a function and avoid returning 0x01.
7060         (mem2mem_check): Avoid using a length byte equal to the magic byte.
7061         (mem2chunk_check): Fix unsigned comparisons to zero.
7062         Hoist defs of sz and magic.
7064 2015-05-19  Richard Henderson  <rth@redhat.com>
7066         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
7068         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7070 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7072         [BZ #16159]
7073         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
7074         * malloc/arena.c (arena_lock): Check if arena is corrupt.
7075         (reused_arena): Find a non-corrupt arena.
7076         (heap_trim): Pass arena to unlink.
7077         * malloc/hooks.c (malloc_check_get_size): Pass arena to
7078         malloc_printerr.
7079         (top_check): Likewise.
7080         (free_check): Likewise.
7081         (realloc_check): Likewise.
7082         * malloc/malloc.c (malloc_printerr): Add arena argument.
7083         (unlink): Likewise.
7084         (munmap_chunk): Adjust.
7085         (ARENA_CORRUPTION_BIT): New macro.
7086         (arena_is_corrupt): Likewise.
7087         (set_arena_corrupt): Likewise.
7088         (sysmalloc): Use mmap if there are no usable arenas.
7089         (_int_malloc): Likewise.
7090         (__libc_malloc): Don't fail if arena_get returns NULL.
7091         (_mid_memalign): Likewise.
7092         (__libc_calloc): Likewise.
7093         (__libc_realloc): Adjust for additional argument to
7094         malloc_printerr.
7095         (_int_free): Likewise.
7096         (malloc_consolidate): Likewise.
7097         (_int_realloc): Likewise.
7098         (_int_memalign): Don't touch corrupt arenas.
7099         * malloc/tst-malloc-backtrace.c: New test case.
7101         * Makefile (summarize-tests): Fix return value on success.
7103         * manual/string.texi (Envz Functions): Add envz_remove.
7105 2015-05-18  Roland McGrath  <roland@hack.frob.com>
7107         * sysdeps/posix/opendir.c: Include <stdbool.h>.
7108         (invalid_name): New function, broken out of ...
7109         (__opendirat): ... here.  Call it.
7110         (need_isdir_precheck): New function, broken out of ...
7111         (__opendirat): ... here.  Call it.
7112         Use __fxstatat64, not __xstatat64.
7113         (opendir_oflags): New function, broken out of ...
7114         (__opendirat): ... here.  Call it.
7115         (opendir_tail): New function, broken out of ...
7116         (__opendirat): ... here.  Call it.
7117         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
7118         opendir_tail, rather than punting to __opendirat.
7119         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
7121 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7123         * .gitignore: Ignore generated *.pyc.
7125 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
7127         * include/stdio.h: Define __need_wint_t.
7128         * test-skeleton.c: Avoid `for' loop initial declaration.
7129         * nptl/tst-initializers1.c: Use test-skeleton.c.
7131 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7133         [BZ #18418]
7134         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
7136 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
7138         [BZ #16352]
7139         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
7140         (__ieee754_atanh): Force underflow exception for results with
7141         small absolute value.
7142         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
7143         (__ieee754_atanhf): Force underflow exception for results with
7144         small absolute value.
7145         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
7146         (__ieee754_atanh): Force underflow exception for results with
7147         small absolute value.
7148         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
7149         (__ieee754_atanhf): Force underflow exception for results with
7150         small absolute value.
7151         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
7152         (__ieee754_atanhl): Force underflow exception for results with
7153         small absolute value.
7154         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
7155         (__ieee754_atanhl): Force underflow exception for results with
7156         small absolute value.
7157         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
7158         (__ieee754_atanhl): Force underflow exception for results with
7159         small absolute value.
7160         * math/auto-libm-test-in: Do not allow missing underflow
7161         exceptions from atanh.
7162         * math/auto-libm-test-out: Regenerated.
7164         [BZ #18221]
7165         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
7166         2**-28 as threshold for returning x or +/- 1/x.
7167         * math/auto-libm-test-in: Add more tests of tan.
7168         * math/auto-libm-test-out: Regenerated.
7170         [BZ #18220]
7171         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7172         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
7173         * math/auto-libm-test-in: Add another test of lgamma.
7174         * math/auto-libm-test-out: Regenerated.
7176 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
7178         * stdio-common/printf_fp.c (___printf_fp): Use abs.
7179         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
7180         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
7181         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
7182         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
7183         (ADD2A): Use fabs.  (SUB2A): Use fabs.
7184         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
7185         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
7186         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
7187         (log1): Use fabs.  (my_log2): Use fabs.
7188         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
7189         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
7190         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
7191         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
7192         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
7193         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
7194         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
7195         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
7196         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
7197         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
7198         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
7200 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
7202         [BZ #18217]
7203         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
7204         as threshold for returning 1 - x.
7205         * math/auto-libm-test-in: Add more tests of erfc.
7206         * math/auto-libm-test-out: Regenerated.
7208 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
7210         [BZ #18196]
7211         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
7212         threshold for large arguments.
7213         * math/auto-libm-test-in: Add another test of atan.
7214         * math/auto-libm-test-out: Regenerated.
7216         [BZ #16339]
7217         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
7218         (__log1p): Force underflow exception for results with small
7219         absolute value.
7220         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
7221         (__log1pf): Force underflow exception for results with small
7222         absolute value.
7223         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
7224         (__log1p): Force underflow exception for results with small
7225         absolute value.
7226         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
7227         (__log1pf): Force underflow exception for results with small
7228         absolute value.
7229         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
7230         (__log1pl): Force underflow exception for results with small
7231         absolute value.
7232         * math/auto-libm-test-in: Do not allow missing underflow
7233         exceptions from log1p.
7234         * math/auto-libm-test-out: Regenerated.
7236 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
7237             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7239         [BZ #16704]
7240         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
7242 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
7244         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
7245         (libmvec): New variable.
7246         * configure.ac: Added option for mathvec build.
7247         * configure: Regenerated.
7248         * mathvec/Depend: New file.
7249         * mathvec/Makefile: New file.
7250         * shlib-versions: Added libmvec.
7251         * math/Makefile: Added rule for libm.so installation.
7253         * bits/math-vector.h: New file.
7254         * bits/libm-simd-decl-stubs.h: New header.
7255         * math/Makefile (headers): Added new header
7256         libm-simd-decl-stubs.h.
7257         * math/math.h (__MATHCALL_VEC): New macro.
7259         * math/gen-libm-have-vector-test.sh: Script generates series of macros
7260         for conditions in testing functions.
7261         * math/Makefile: Added call of libm-have-vector-test.sh.
7262         * math/libm-test.inc (HAVE_VECTOR): New macros.
7264         * math/libm-test.inc: START refactored.
7265         * math/test-double.c (TEST_MATHVEC): Add define.
7266         * math/test-float.c: Likewise.
7267         * math/test-idouble.c: Likewise.
7268         * math/test-ifloat.c: Likewise.
7269         * math/test-ildoubl.c: Likewise.
7270         * math/test-ldouble.c: Likewise.
7271         * sysdeps/generic/math-tests-arch.h
7272         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
7273         architecture check.
7275         * math/test-double.c (FUNC_TEST): New macro.
7276         * math/test-float.c: Likewise.
7277         * math/test-idouble.c: Likewise.
7278         * math/test-ifloat.c: Likewise.
7279         * math/test-ildoubl.c: Likewise.
7280         * math/test-ldouble.c: Likewise.
7281         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
7283 2015-05-13  Roland McGrath  <roland@hack.frob.com>
7285         * sysdeps/nacl/fdopendir.c: New file.
7287         * dirent/scandir-tail.c: New file.
7288         * dirent/scandir64-tail.c: New file.
7289         * dirent/Makefile (routines): Add them.
7290         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
7291         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
7292         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
7293         [!SCANDIR] (SCANDIR_TAIL): New macro.
7294         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
7295         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
7296         (SCANDIRAT): Macro removed.
7297         (SCANDIR_TAIL): New macro.
7298         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
7299         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
7300         (SCANDIRAT): Just call __opendirat and __scandir_tail.
7301         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
7302         (READDIR): Macro removed.
7303         (SCANDIR_TAIL): New macro.
7304         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
7305         (SCANDIR_TAIL): New macro.
7307         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
7308         * dirent/scandir-cancel.c: ... to this new file.
7309         * dirent/Makefile (routines): Add it.
7310         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
7311         * sysdeps/unix/sysv/linux/i386/scandir64.c
7312         (SKIP_SCANDIR_CANCEL): Macro removed.
7313         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
7315         * dirent/tst-scandir.c: New file.
7316         * dirent/tst-scandir64.c: New file.
7317         * dirent/Makefile (tests): Add them.
7319 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7321         [BZ #18409]
7322         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
7324 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7326         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
7327         list.
7329 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
7331         * benchtests/bench-strcoll.c: New benchmark.
7332         * benchtests/Makefile: Generate locales and run benchmark.
7333         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
7334         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7335         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
7336         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
7337         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
7338         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
7339         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
7340         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
7341         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
7342         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
7343         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
7344         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
7345         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
7346         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
7347         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
7348         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
7349         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
7350         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
7351         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
7352         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
7353         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
7354         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
7355         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
7356         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
7358 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
7360         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
7361         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7363 2015-05-12  Roland McGrath  <roland@hack.frob.com>
7365         * posix/uname-values.h: New file.
7366         * posix/uname.c: Include that instead of <config-name.h>.
7367         * sysdeps/nacl/uname-values.h: New file.
7368         * sysdeps/arm/nacl/uname-values.h: New file.
7370 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
7372         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
7373         splitting into fields.
7375 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
7377         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
7378         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
7379         * locale/localeinfo.h: Add enum collation_encoding_type.
7380         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
7381         * programs/ld-collate.c (collate_output): Add encoding type info.
7382         * string/strcoll_l.c (STRDIFF): New function.
7383         * (STRCOLL): Use STRDIFF to skip over equal prefix.
7384         * wcsmbs/wcscoll_l.c: Define STRDIFF.
7386 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
7388         [BZ #18397]
7389         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
7390         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
7391         <fpu_control.h> instead of <math/fpu_control.c>.
7392         * sysdeps/mips/mips32/fpu/Makefile: New file.
7394 2015-05-11  Andreas Schwab  <schwab@suse.de>
7396         [BZ #18007]
7397         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
7398         nss_endgrent.
7399         (_nss_compat_endgrent): Call nss_endgrent.
7400         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
7401         nss_endpwent.
7402         (_nss_compat_endpwent): Call nss_endpwent.
7403         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
7404         needent, call nss_setspent only if non-zero.
7405         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
7406         (internal_endspent): Don't call nss_endspent.
7407         (_nss_compat_endspent): Call nss_endspent.
7408         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
7409         Remove.  All uses removed.
7410         (internal_setent): Remove parameter stayopen, add parameter
7411         stream.  Use it instead of global variable.
7412         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
7413         (internal_endent, internal_getent): Add parameter stream.  Use it
7414         instead of global variable.
7415         (CONCAT(_nss_files_end,ENTNAME))
7416         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
7417         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
7418         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
7419         uses removed.
7420         (internal_setent, internal_endent): Add parameter stream.  Use it
7421         instead of global variable.
7422         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
7423         stream.
7424         (get_next_alias): Add parameter stream.
7425         (_nss_files_getaliasent_r): Pass global stream.
7426         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
7427         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
7428         (_nss_files_gethostbyname4_r): Pass local stream to
7429         internal_setent, internal_getent and internal_endent.  Remove
7430         locking.
7432 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7434         * tst-strfmon1.c (tests): Update expected currency symbol.
7436 2015-05-08  Roland McGrath  <roland@hack.frob.com>
7438         * sysdeps/nacl/gethostname.c: New file.
7440 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
7442         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
7443         and sinh.
7444         * math/auto-libm-test-out: Regenerated.
7445         * sysdeps/i386/fpu/libm-test-ulps: Update.
7446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7448 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
7450         [BZ #18125]
7451         * stdlib/tst-setcontext3.c: New file.
7452         * stdlib/tst-setcontext3.sh: New file.
7453         * stdlib/Makefile (tests): Add tst-setcontext3.
7454         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
7455         to verify test program created output file.
7456         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
7457         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
7458         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
7459         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
7461 2015-05-06  Roland McGrath  <roland@hack.frob.com>
7463         [BZ #18383]
7464         * elf/tst-tlsalign.c: New file.
7465         * elf/tst-tlsalign-static.c: New file.
7466         * elf/tst-tlsalign-lib.c: New file.
7467         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
7468         (tests-static): Add tst-tlsalign-static.
7469         (modules-names): Add tst-tlsalign-lib.
7470         (test-xfail-tst-tlsalign): New variable.
7471         (test-xfail-tst-tlsalign-static): New variable.
7473         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
7474         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
7476 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
7478         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
7479         csqrt, erfc, sin and sincos.
7480         * math/auto-libm-test-out: Regenerated.
7481         * sysdeps/i386/fpu/libm-test-ulps: Update.
7482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7484 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7486         * sysdeps/aarch64/libm-test-ulps: Update.
7488 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
7490         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
7491         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
7492         * math/auto-libm-test-out: Regenerated.
7493         * sysdeps/i386/fpu/libm-test-ulps: Update.
7494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7496 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
7498         [BZ #18265]
7499         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
7500         (wcsncpy): Likewise.
7502 2015-05-05  Florian Weimer  <fweimer@redhat.com>
7504         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7505         Assume __ASSUME_FALLOCATE is always true.
7506         * sysdeps/unix/sysv/linux/posix_fallocate64.c
7507         (__posix_fallocate64_l64): Likweise.
7508         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
7509         (posix_fallocate): Likewise.
7510         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
7511         (__posix_fallocate64_l64): Likewise.
7512         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7513         [!__ASSUME_FALLOCATE]: Add comment.
7515 2015-05-05  Florian Weimer  <fweimer@redhat.com>
7517         * sysdeps/unix/sysv/linux/i386/Makefile
7518         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
7519         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
7520         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
7521         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7522         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7523         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
7524         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
7526 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
7528         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
7529         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
7530         tgamma.
7531         * math/auto-libm-test-out: Regenerated.
7532         * sysdeps/i386/fpu/libm-test-ulps: Update.
7533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7535 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
7537         * math/auto-libm-test-in: Add more tests of tgamma.
7538         * math/auto-libm-test-out: Regenerated.
7539         * sysdeps/i386/fpu/libm-test-ulps: Update.
7540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7542         * math/auto-libm-test-in: Add more tests of tanh.
7543         * math/auto-libm-test-out: Regenerated.
7544         * sysdeps/i386/fpu/libm-test-ulps: Update.
7545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7547         * math/auto-libm-test-in: Add more tests of tan.
7548         * math/auto-libm-test-out: Regenerated.
7549         * sysdeps/i386/fpu/libm-test-ulps: Update.
7550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7552         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
7553         * math/auto-libm-test-out: Regenerated.
7554         * sysdeps/i386/fpu/libm-test-ulps: Update.
7555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7557         * math/auto-libm-test-in: Add another test of pow.
7558         * math/auto-libm-test-out: Regenerated.
7559         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7561         * math/auto-libm-test-in: Add more tests of lgamma.
7562         * math/auto-libm-test-out: Regenerated.
7563         * sysdeps/i386/fpu/libm-test-ulps: Update.
7564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7566         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
7567         log1p.
7568         * math/auto-libm-test-out: Regenerated.
7569         * sysdeps/i386/fpu/libm-test-ulps: Update.
7570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7572 2015-05-01  Mark Wielaard  <mjw@redhat.com>
7574         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
7575         Elf64_Chdr structs and ELFCOMPRESS constants.
7577 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
7579         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
7580         expm1.
7581         * math/auto-libm-test-out: Regenerated.
7582         * sysdeps/i386/fpu/libm-test-ulps: Update.
7583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7585         * math/auto-libm-test-in: Add more tests of erf and erfc.
7586         * math/auto-libm-test-out: Regenerated.
7587         * sysdeps/i386/fpu/libm-test-ulps: Update.
7588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7590 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7592         * config.h.in (HAVE_AARCH64_BE): Add.
7594 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
7596         * math/auto-libm-test-in: Add more tests of csqrt.
7597         * math/auto-libm-test-out: Regenerated.
7598         * sysdeps/i386/fpu/libm-test-ulps: Update.
7599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7601         * math/auto-libm-test-in: Add more tests of cosh and sinh.
7602         * math/auto-libm-test-out: Regenerated.
7603         * sysdeps/i386/fpu/libm-test-ulps: Update.
7604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7606         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
7608 2015-04-29  Roland McGrath  <roland@hack.frob.com>
7610         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
7611         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
7613         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
7614         (euidaccess, eaccess): Define as weak aliases.
7616         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
7617         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
7618         but __suseconds_t is often 'long int' so some sources assume that
7619         type is being used (e.g. they use %ld to print tv_usec).
7621 2015-04-29  Florian Weimer  <fweimer@redhat.com>
7623         [BZ #18007]
7624         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
7625         (CVE-2014-8121)
7626         * nss/tst-nss-getpwent.c: New file.
7627         * nss/Makefile (tests): Add new test.
7629 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
7631         [BZ #18346]
7632         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
7633         exponents less than 48 as cases where high part of mantissa needs
7634         examining to determine whether argument is integral.
7635         * math/libm-test.inc (round_test_data): Add more tests.
7637 2015-04-28  Mark Wielaard  <mjw@redhat.com>
7639         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
7641 2015-04-27  David S. Miller  <davem@davemloft.net>
7643         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
7644         __tls_get_addr.
7645         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7647 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
7649         [BZ#18333]
7650         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
7652 2015-04-27  Florian Weimer  <fweimer@redhat.com>
7654         [BZ#18333]
7655         * time/tzset.c (parse_tzname): Return error on memory allocation
7656         failure.
7657         * test-skeleton.c (struct temp_name_list): Change type of name
7658         member to non-const.
7659         (add_temp_file): Create a copy of the file name.
7660         (delete_temp_files): Deallocate memory.
7661         (create_temp_file): Add comment.
7663 2015-04-24  Florian Weimer  <fweimer@redhat.com>
7665         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
7666         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
7668 2015-04-24  Roland McGrath  <roland@hack.frob.com>
7670         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
7671         * sysdeps/arm/configure: Regenerated.
7673 2015-04-24  Florian Weimer  <fweimer@redhat.com>
7675         [BZ #17715]
7676         * time/tzfile.c (__tzfile_read): Check for large values of
7677         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
7678         * time/tzset.c (__tzstring_len): New function, based on the old
7679         __tzstring function.
7680         (__tzstring): Call __tzstring_len.
7681         (parse_tzname): New helper function extracted from
7682         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
7683         the input string.
7684         (parse_offset): New helper function extracted from
7685         __tzset_parse_tz.  Replace switch with fallthrough with
7686         initialization before sscanf.
7687         (parse_rule): Likewise.
7688         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
7689         new-style function definition.
7690         * timezone/Makefile (tests): Add tst-tzset.
7691         (tst-tzset.out): Dependencies on time zone files.
7692         (tst-tzset-ENV): Set TZDIR.
7693         (testdata/XT%): Copy crafted time zone files.
7694         * timezone/README: Mention crafted time zone files.
7695         * timezone/testdata/XT1, timezone/testdata/XT2,
7696         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
7697         files.
7698         * timezone/tst-tzset.c: New test.
7700 2015-04-24  Florian Weimer  <fweimer@redhat.com>
7702         * Makeconfig (+gccwarn): Remove -Winline.
7704 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7706         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
7708 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7710         * NEWS: Mention sysconf() cache information support for s390.
7711         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
7713 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
7715         * math/k_casinh.c (__kernel_casinh): Use __copysign.
7716         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
7717         (__nearbyint): Likewise.
7718         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
7719         (copysignl): Likewise.
7721 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
7723         [BZ #18287]
7724         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
7725         based on padding.  (CVE-2015-1781)
7727 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7729         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
7730         libc-vdso.h.
7731         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
7732         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
7733         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
7734         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7735         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7736         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
7737         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
7738         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7739         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7740         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
7741         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7742         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7743         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7744         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
7745         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7746         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
7747         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
7748         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
7749         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
7750         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
7751         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
7752         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
7753         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
7755 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
7757         * stdlib/setenv.c (__add_to_environ):
7758         Dump core quickly if setenv (..., NULL, ...) is called.
7759         This time, do it the right way, and pacify GCC with a pragma.
7761 2015-04-17  Roland McGrath  <roland@hack.frob.com>
7763         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
7764         IMAP->l_prev cannot be null, and #if out the code for the contrary
7765         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
7766         believe that NS (&_dl_ns[NSID]) could point outside the array.
7768         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
7769         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
7770         before using NSID as an index.
7772 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
7774         [BZ #17825]
7775         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
7776         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
7777         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7779 2015-04-17  Roland McGrath  <roland@hack.frob.com>
7781         Add preliminary port to Google Native Client on ARM.
7782         * abi-tags (.*-.*-nacl.*): New entry.
7783         * sysdeps/arm/nacl: New directory.
7784         * sysdeps/nacl: New directory.
7786 2015-04-16  David S. Miller  <davem@davemloft.net>
7788         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
7789         lowlevellock-futex.h
7791 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
7793         * sysdeps/tile/configure.ac: New file.
7794         * sysdeps/tile/configure: Regenerated.
7796 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7798         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
7799         conditionals for weak_alias and libc_hidden_weak.
7800         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
7801         libc_hidden_weak and weak_alias.
7802         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
7803         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
7804         and weak_alias for static one.
7806 2015-04-15  David S. Miller  <davem@davemloft.net>
7808         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7810 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7812         [BZ #18206]
7813         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
7814           Use signed comparision instead of substraction to avoid
7815           overflow bug.
7816         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
7817           Take the sign of ret.
7818         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
7819           Do not expect precise return values. Only the sign matters.
7820         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
7821         * wcsmbs/test-wcsncmp.c: New File.
7822         * string/test-strncmp.c: Add wcsncmp support.
7824 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7826         [BZ #6792]
7827         * math/w_log1p.c: New file.
7828         * math/w_log1pf.c: Likewise.
7829         * math/w_log1pl.c: Likewise.
7830         * math/Makefile (libm-calls): Add w_log1p.
7831         * math/s_log1pl.c (log1pl): Remove weak_alias.
7832         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
7833         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
7834         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
7835         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
7836         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
7837         [NO_LONG_DOUBLE] (log1pl): Likewise.
7838         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
7839         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
7840         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
7841         (log1p): Remove long_double_symbol.
7842         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
7843         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
7844         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
7845         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
7846         remove weak_alias for corresponding log1p function.
7847         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
7848         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
7849         * sysdeps/ia64/fpu/w_log1p.c: New file.
7850         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
7851         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
7852         * math/libm-test.inc (log1p_test_data): Add errno expectations.
7854 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
7856         [BZ #18247]
7857         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
7858         decimal exponent by 1.
7859         * stdlib/tst-strtod-round-data: Add more tests.
7860         * stdlib/tst-strtod-round.c (tests): Regenerated.
7862 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
7864         * math/auto-libm-test-in: Add more tests of clog and clog10.
7865         * math/auto-libm-test-out: Regenerated.
7866         * sysdeps/i386/fpu/libm-test-ulps: Update.
7867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7869 2015-04-09  Roland McGrath  <roland@hack.frob.com>
7871         * Makeconfig (module-cppflags): Exclude all .v.i files.
7872         (skip-module-cppflags): Variable removed.
7874         * configure.ac (libc_config_ok): Initialize before reading
7875         preconfigure scripts, not after.
7876         * configure: Regenerated.
7878         * test-skeleton.c (TIMEOUT): Move #define to top level.
7879         (main): Grok environment variable TEST_DIRECT.  If set, print
7880         test expectation details into that file and then behave as if
7881         given --direct.
7883 2015-04-09  Florian Weimer  <fweimer@redhat.com>
7885         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
7886         warning on 32-bit.
7888 2015-04-08  David S. Miller  <davem@davemloft.net>
7890         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7892 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
7894         * math/auto-libm-test-in: Add more tests of atanh.
7895         * math/auto-libm-test-out: Regenerated.
7896         * sysdeps/i386/fpu/libm-test-ulps: Update.
7897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7899         * math/auto-libm-test-in: Add more tests of atan.
7900         * math/auto-libm-test-out: Regenerated.
7901         * sysdeps/i386/fpu/libm-test-ulps: Update.
7902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7904 2015-04-08  Florian Weimer  <fweimer@redhat.com>
7906         * elf/pldd.c (main): Rewrite to use struct
7907         scratch_buffer instead of extend_alloca.
7908         * elf/pldd-xx.c (find_maps): Likewise.
7909         * grp/initgroups.c: Include <scratch_buffer.h> instead of
7910         <alloca.h>.
7911         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
7912         scratch_buffer instead of extend_alloca.
7913         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
7914         grp/compat-initgroups.c.
7915         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
7916         Rewrite to use struct scratch_buffer instead of extend_alloca.
7917         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
7918         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7920 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
7922         * math/auto-libm-test-in: Add more tests of cbrt.
7923         * math/auto-libm-test-out: Regenerated.
7924         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7926         * math/auto-libm-test-in: Add more tests of cabs.
7927         * math/auto-libm-test-out: Regenerated.
7928         * sysdeps/i386/fpu/libm-test-ulps: Update.
7929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7931         [BZ #18210]
7932         [BZ #18211]
7933         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
7934         (__ieee754_atan2): Set FE_TONEAREST mode for internal
7935         computations.
7936         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
7937         clog10.
7938         * math/auto-libm-test-out: Regenerated.
7939         * sysdeps/i386/fpu/libm-test-ulps: Update.
7940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7942         [BZ #18197]
7943         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
7944         (atan): Set FE_TONEAREST mode for internal computations.
7945         * math/auto-libm-test-in: Add more tests of atan.
7946         * math/auto-libm-test-out: Regenerated.
7948 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
7950         [BZ #17930]
7951         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
7953 2015-04-07  Florian Weimer  <fweimer@redhat.com>
7955         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
7957 2015-04-07  Florian Weimer  <fweimer@redhat.com>
7959         * include/scratch_buffer.h: New file.
7960         * malloc/scratch_buffer_grow.c: Likewise.
7961         * malloc/scratch_buffer_grow_preserve.c: Likewise.
7962         * malloc/scratch_buffer_set_array_size.c: Likewise.
7963         * malloc/tst-scratch_buffer.c: Likewise.
7964         * malloc/Makefile (routines): Add scratch_buffer_grow.
7965         (tests): Add test case.
7966         * malloc/Versions (GLIBC_PRIVATE): Export
7967         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
7968         __libc_scratch_buffer_set_array_size.
7970 2015-04-06  Richard Henderson  <rth@redhat.com>
7972         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
7973         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7975         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
7976         unsigned int before printing.
7978 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7980         [BZ #17596]
7981         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
7982         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7984 2015-04-02  Florian Weimer  <fweimer@redhat.com>
7986         * include/libc-internal.h (libc_max_align_t): Define.
7988 2015-04-02  Andreas Schwab  <schwab@suse.de>
7990         [BZ #16850]
7991         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
7993 2015-04-02  Mel Gorman  <mgorman@suse.de>
7995         [BZ #17195]
7996         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
7997         as well as the main arena.
7999 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
8001         [BZ #18185]
8002         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
8003         sharing L2 cache to 2 for Silvermont/Knights Landing.
8005 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
8007         [BZ #17711]
8008         * config.make.in (have-protected-data): New.
8009         * configure.ac: Check linker support for protected data symbol.
8010         * configure: Regenerated.
8011         * elf/Makefile (modules-names): Add tst-protected1moda and
8012         tst-protected1modb if $(have-protected-data) is yes.
8013         (tests): Add tst-protected1a and tst-protected1b if
8014         $(have-protected-data) is yes.
8015         ($(objpfx)tst-protected1a): New.
8016         ($(objpfx)tst-protected1b): Likewise.
8017         (tst-protected1modb.so-no-z-defs): Likewise.
8018         * elf/tst-protected1a.c: New file.
8019         * elf/tst-protected1b.c: Likewise.
8020         * elf/tst-protected1mod.h: Likewise.
8021         * elf/tst-protected1moda.c: Likewise.
8022         * elf/tst-protected1modb.c: Likewise.
8024 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
8026         [BZ #17711]
8027         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
8028         indicates it is called from do_lookup_x on relocation against
8029         protected data, skip the data definion in the executable from
8030         copy reloc.
8031         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
8032         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
8033         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
8034         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
8035         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
8036         otherwise to 0.
8037         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8038         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
8039         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
8040         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8041         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
8042         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
8044 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
8046         * sysdeps/nptl/pthread.h: Remove duplicate definition of
8047         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
8049 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
8051         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
8052         THREAD_SETMEM_NC.
8053         * sysdeps/x86_64/nptl/tls.h: Ditto.
8055 2015-03-27  Roland McGrath  <roland@hack.frob.com>
8057         * dlfcn/tststatic.c (main): Converted to ...
8058         (do_test): ... this.
8059         (TEST_FUNCTION): New macro.
8060         Include test-skeleton.c.
8062 2015-03-26  Alan Modra  <amodra@gmail.com>
8064         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
8065         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
8066         zero for undefined weak.
8067         (elf_machine_plt_conflict): Similarly.
8069 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
8071         * math/auto-libm-test-in: Add more tests of acosh, asinh and
8072         atanh.
8073         * math/auto-libm-test-out: Regenerated.
8074         * sysdeps/i386/fpu/libm-test-ulps: Update.
8075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8077         * math/auto-libm-test-in: Add another test of asin.
8078         * math/auto-libm-test-out: Regenerated.
8079         * sysdeps/i386/fpu/libm-test-ulps: Update.
8080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8082         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
8083         Remove macro.
8084         (LLL_EBX_REG): Likewise.
8085         (LLL_ENTER_KERNEL): Likewise.
8087         * math/auto-libm-test-in: Add more tests of asin.
8088         * math/auto-libm-test-out: Regenerated.
8089         * sysdeps/i386/fpu/libm-test-ulps: Update.
8090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8092         [BZ #18138]
8093         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
8094         libc_do_syscall_args): New structure.
8095         (INTERNAL_SYSCALL_MAIN_0): New macro.
8096         (INTERNAL_SYSCALL_MAIN_1): Likewise.
8097         (INTERNAL_SYSCALL_MAIN_2): Likewise.
8098         (INTERNAL_SYSCALL_MAIN_3): Likewise.
8099         (INTERNAL_SYSCALL_MAIN_4): Likewise.
8100         (INTERNAL_SYSCALL_MAIN_5): Likewise.
8101         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
8102         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
8103         Replace conditional definitions by conditional definitions of ....
8104         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
8105         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
8106         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
8107         (libpthread-sysdep_routines): Add libc-do-syscall.
8108         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
8109         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
8110         to __NR_futex not 240.
8112 2015-03-25  Alan Modra  <amodra@gmail.com>
8114         * NEWS: Advertise TLS optimization.
8115         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
8116         (DT_PPC_NUM): Increment.
8117         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
8118         (CHECK_STATIC_TLS): Use here.
8119         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
8120         TLS descriptors.
8121         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8122         * sysdeps/powerpc/dl-tls.c: New file.
8123         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
8124         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
8125         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
8126         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
8127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
8128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8131 2015-03-25  Alan Modra  <amodra@gmail.com>
8133         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
8134         for overlapping .opd entries" to "support...".
8135         * sysdeps/powerpc/powerpc64/configure: Regenerate
8137 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
8139         * math/auto-libm-test-in: Add more tests of acos.
8140         * math/auto-libm-test-out: Regenerated.
8141         * sysdeps/i386/fpu/libm-test-ulps: Update.
8142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8144         * math/auto-libm-test-in: Add more tests of expm1.
8145         * math/auto-libm-test-out: Regenerated.
8146         * sysdeps/i386/fpu/libm-test-ulps: Update.
8147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8149 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
8151         * math/auto-libm-test-in: Add more tests of cosh and sinh.
8152         * math/auto-libm-test-out: Regenerated.
8153         * sysdeps/i386/fpu/libm-test-ulps: Update.
8154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8156         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8159         * math/auto-libm-test-in: Add more tests of log2.
8160         * math/auto-libm-test-out: Regenerated.
8161         * sysdeps/i386/fpu/libm-test-ulps: Update.
8162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8164 2015-03-23  Roland McGrath  <roland@hack.frob.com>
8166         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
8167         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
8168         _IO_IS_APPENDING bit in READ_WRITE instead.
8170 2015-03-23  Florian Weimer  <fweimer@redhat.com>
8172         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8173         (__determine_cpumask_size): Replace extend_alloca with a
8174         variable-length array.  Do not treat res == 0 as an error.
8176 2015-03-23  Florian Weimer  <fweimer@redhat.com>
8178         [BZ #18100]
8179         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
8180         and integer overflow.
8181         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
8182         (main): Add integer overflow tests.
8183         * manual/pattern.texi (Calling Wordexp): Document additional use
8184         for WRDE_SYNTAX.
8186 2015-03-23  Alan Modra  <amodra@gmail.com>
8188         * config.h.in: Remove HAVE_ASM_PPC_REL16.
8189         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
8190         and false branch of conditional.
8191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8192         Likewise.
8194 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
8196         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
8197         libc-modules.h
8198         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
8199         unused declaration of _hurd_intr_rpc_msg_in_trap.
8200         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
8201         defined instead of whether it is non-zero.
8202         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
8203         input constraint instead of both input and output constraint.  Use ecx
8204         clobber instead of %ecx.
8205         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
8206         mutex_unlock): Use a statement expression instead of an expression list.
8207         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
8208         type to vm_size_t instead of vm_address_t.
8209         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
8210         defined instead of whether it is non-zero.
8211         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
8212         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
8213         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
8214         comparisons with mapaddr.
8215         * nscd/nscd-client.h: Include <time.h>.
8216         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
8217         9th parameter to __vm_region instead of int.
8218         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
8219         * scripts/check-local-headers.sh (exclude): Add device/,
8220         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
8221         cthreads.h.
8223 2015-03-19  Roland McGrath  <roland@hack.frob.com>
8225         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
8226         to account for alignment padding.
8227         * sysdeps/arm/memmove.S: Likewise.
8229 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
8231         * sysdeps/unix/sysv/linux/generic/README: New file.
8233 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
8235         [BZ #18138]
8236         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
8237         (futex_abstimed_wait)
8238         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
8239         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
8240         of lll_futex_timed_wait.
8242 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
8244         [BZ #17542]
8245         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
8247 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
8249         [BZ #17090]
8250         [BZ #17620]
8251         [BZ #17621]
8252         [BZ #17628]
8253         * NEWS: Update.
8254         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
8255         entries with Static TLS too.  Skip entries past the end of the
8256         allocated DTV, from Alan Modra.
8257         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
8258         Static TLS DTV entry set up from...
8259         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
8260         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
8261         * nptl/allocatestack.c (init_one_static_tls): ... and here...
8262         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
8263         for Static TLS.
8264         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
8265         that the slot we find is associated with the given map before
8266         using its generation count.
8267         * nptl_db/db_info.c: Include ldsodefs.h.
8268         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
8269         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
8270         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
8271         (link_map::l_tls_offset): New struct field.
8272         (dtv_t::counter): Likewise.
8273         (rtld_global): New struct.
8274         (_rtld_global): New rtld variable.
8275         (dl_tls_dtv_slotinfo_list): New rtld global field.
8276         (dtv_slotinfo_list): New struct.
8277         (dtv_slotinfo): Likewise.
8278         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
8279         (td_lookup): Rename to...
8280         (td_mod_lookup): ... this.  Use new mod parameter instead of
8281         LIBPTHREAD_SO.
8282         * nptl_db/td_thr_tlsbase.c: Include link.h.
8283         (dtv_slotinfo_list, dtv_slotinfo): New functions.
8284         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
8285         addresses even if the DTV is out of date or missing them.
8286         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
8287         index zero-length arrays.
8288         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
8289         (td_lookup): Make it a macro implemented in terms of...
8290         (td_mod_lookup): ... this declaration.
8291         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
8292         (DB_MAIN_VARIABLE): Likewise.
8294 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8296         [BZ #18134]
8297         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8299 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
8301         * stdlib/setenv.c (__add_to_environ): Revert previous change.
8303 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
8305         [BZ #18128]
8306         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
8307         (atomic_add, atomic_increment_and_test)
8308         (atomic_decrement_and_test): Fix 64-bit arithmetic.
8310 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
8312         * stdlib/setenv.c (__add_to_environ):
8313         Dump core quickly if setenv (..., NULL, ...) is called.
8315 2015-03-13  Roland McGrath  <roland@hack.frob.com>
8317         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
8318         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
8319         all the necessary asm magic in one place.
8320         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
8321         using those.
8323 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
8325         [BZ #14906]
8326         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
8327         traced file mtime. Use consistent log message.
8328         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
8329         (register_traced_file): Call install_watches. Always set mtime.
8330         (invalidate_cache): Iterate over all trace files. Call install_watches.
8331         (inotify_check_files): Don't inline. Handle watching parent
8332         directories and configuration file movement in and out.
8333         (handle_inotify_events): New function.
8334         (main_loop_poll): Call handle_inotify_events.
8335         (main_loop_epoll): Likewise.
8336         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
8337         (struct traced_file): Use array of inotify fds. Add parent directory,
8338         and basename.
8339         (struct database_dyn): Remove unused file_mtime.
8340         (init_traced_file): New inline function.
8341         (define_traced_file): New macro.
8342         * nss/nss_db/db-init.c: Use define_traced_file.
8343         (_nss_db_init): Use init_traced_file.
8344         * nss/nss_files/files-init.c: Use define_traced_file.
8345         (_nss_files_init): Use init_traced_file.
8347 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
8349         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
8350         [_LIBC]: Do not include <stdlib.h>.
8351         [!_LIBC] (abort): Remove declaration.
8352         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
8353         _FP_STATIC_ASSERT instead of conditionally calling abort.
8354         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
8355         (_FP_EXTEND_CNAN): Likewise.
8356         (FP_TRUNC): Likewise.
8357         (__FP_CLZ): Likewise.
8358         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
8360 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
8362         * manual/string.texi (XPG basename): Fix prototype.
8364 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8366         [BZ #18080]
8367         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
8368         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8369         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
8370         (__setcontext): Likewise.
8371         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
8372         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8373         Call rt_sigprocmask syscall one time to set new signal mask
8374         and retrieve the current signal mask instead of two calls.
8375         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
8376         (__swapcontext): Likewise.
8377         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
8378         * stdlib/tst-setcontext2.c: New file.
8380 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8382         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8384 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
8386         [BZ #18093]
8387         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
8388         the wrong size.
8390 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8392         [BZ #18043]
8393         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
8395 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8397         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
8398         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
8399         Remove define.
8400         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
8401         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
8402         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
8403         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
8404         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
8405         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
8406         define.
8407         * nptl_db/td_symbol_list.c (td_lookup): Remove
8408         HAVE_ASM_GLOBAL_DOT_NAME code.
8409         * sysdeps/powerpc/powerpc64/configure.ac: Remove
8410         HAVE_ASM_GLOBAL_DOT_NAME check.
8411         * sysdeps/powerpc/powerpc64/configure: Regenerate.
8412         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
8413         (DOT_LABEL): Remove define.
8414         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
8415         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
8416         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
8417         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
8418         (__TLS_GET_ADDR): Likewise.
8419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
8420         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
8422 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
8424         [BZ #18111]
8425         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
8426         (_FPU_SETCW): Initialize cw from fpsr before storing.
8427         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
8428         (fesetexceptflag): Rewrite using fpu_control.h.
8429         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
8431 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
8433         [BZ #18110]
8434         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
8435         asms.
8436         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8438 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
8440         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
8441         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
8442         abort.
8443         (_FP_FMA): Likewise.
8444         (_FP_DIV): Likewise.
8446 2015-03-10  Roland McGrath  <roland@hack.frob.com>
8448         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
8449         with 0 in that case.
8450         * Makefile (summarize-tests): New canned sequence, factored out of
8451         commands for targets tests and xtests.  Display summary lines that
8452         don't start with PASS: or XFAIL: rather than ones that do start with
8453         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
8454         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
8455         do start with ERROR: or FAIL:.
8456         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
8457         (except for [$(build-shared) = yes]).
8458         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
8459         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
8460         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
8461         * nptl/Makefile: Revert 2015-03-04 changes.
8462         [$(CXX) empty] (tests-unsupported): New variable.
8463         * debug/Makefile: Likewise.
8465         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
8466         gnulib file.  Replace __attribute with __attribute__ throughout.
8468 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
8470         * sysdeps/hppa/fpu/libm-test-ulps: Update.
8472 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
8474         [BZ #18104]
8475         * math/auto-libm-test-in: Add another test of pow.
8476         * math/auto-libm-test-out: Regenerated.
8478 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8480         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
8481         $(config-cflags-nofma).
8483 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
8485         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
8486         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
8487         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
8488         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
8489         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
8490         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
8491         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
8492         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
8493         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
8494         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
8495         Add comment on closing #endif.
8497 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
8499         * posix/wordexp.c (CHAR_IN_SET): New macro.
8500         (parse_param): Use it.
8502 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8504         * sysdeps/powerpc/fpu/libm-test-ulps: update.
8506 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
8508         [BZ #18043]
8509         * posix/wordexp.c (parse_param): Fix buffer overflow.
8510         * posix/wordexp-test.c (test_case): Add test case.
8512 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
8514         [BZ #18042]
8515         * posix/wordexp.c (parse_backtick): Fix off-by-one.
8516         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
8518 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
8520         [BZ #18043]
8521         * posix/wordexp-test.c (test_case): Add test for BZ #18043
8522         (do_bz18043): Delete.
8523         (at_page_end): New.
8524         (testit): Refactor to have words at the edge of unreadable page.
8526 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8528         [BZ #16734]
8529         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
8530         Cleanup read-only streams as well.
8531         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
8533 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8535         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
8536         <bits/libc-lockP.h>
8538 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
8540         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
8541         on [__KERNEL__].
8542         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
8543         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
8544         * soft-fp/op-common.h (_FP_DECL): Likewise.
8546 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8548         * elf/ifuncdep2.c (global): Replace
8549         __attribute__((visibility("protected"))) with
8550         asm (".protected global").
8551         * elf/ifuncmod1.c (global): Likewise.
8552         * elf/ifuncmod5.c (global): Likewise.
8554 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
8556         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
8557         <asm/sfp-machine.h> instead of <sfp-machine.h>.
8559 2015-03-06  Roland McGrath  <roland@hack.frob.com>
8561         * manual/install.texi (Configuring and compiling):
8562         Document test-wrapper-env-only.
8563         * INSTALL: Regenerated.
8565 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8567         [BZ #18043]
8568         * posix/wordexp.c (parse_param): Fix buffer overflow.
8569         * posix/wordexp-test.c (do_bz18043): Add test case.
8571 2015-03-06  Vincent Bernat  <vincent@bernat.im>
8573         * time/tst-strptime2.c (do_test): Ensure failing tests are
8574         reported correctly.
8575         * time/tst-strptime3.c (do_test): Likewise.
8577 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
8579         Fix aio_error thread-safety.
8580         * sysdeps/pthread/aio_error.c: New file
8581         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
8582         synchronization.
8584 2015-03-06  Florian Weimer  <fweimer@redhat.com>
8586         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
8587         (group_number, vfprintf): Use it.
8588         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
8589         (JUMP, REF): Use it.
8590         (WORK_BUFFER_SIZE): New enum constant.
8591         (process_arg, vfprintf): Use it.
8593 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
8595         * manual/errno.texi (Error Messages): Complete example function
8596         by adding missing #define.
8597         (program_invocation_name): Add statement indicating GNU
8598         extension and reference which header file declares the variable.
8599         (program_invocation_short_name): Likewise.
8601 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
8603         * manual/errno.texi (Error Messages): Delete strerror ISO C89
8604         compatibility note.
8606 2015-03-05  Roland McGrath  <roland@hack.frob.com>
8608         * Makeconfig (test-wrapper-env-only): New variable.
8609         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
8610         then use that with $(test-wrapper-env-only) rather than using
8611         $(test-wrapper-env) $(run-program-env) $($*-ENV).
8613 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
8615         [BZ #18082]
8616         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
8617         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
8618         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
8619         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
8620         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
8621         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
8622         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
8623         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
8624         Likewise.
8625         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
8626         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
8627         Likewise.
8628         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
8629         Likewise.
8630         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
8631         Likewise.
8632         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
8633         Likewise.
8634         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
8635         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
8636         Likewise.
8637         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
8638         Likewise.
8639         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
8640         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
8642 2015-03-04  Roland McGrath  <roland@hack.frob.com>
8644         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
8645         (ETH_ALEN): New macro.
8646         (struct ether_addr): Use it for length of ether_addr_octet.
8648         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
8649         (setdb): Don't call __nss_configure_lookup for "rpc".
8650         (do_test): Don't call test_rpc.
8651         (output_rpcent, test_rpc): Functions moved ...
8652         * sunrpc/test-rpcent.c: ... to this new file.
8653         * sunrpc/Makefile (tests): Add it.
8655         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
8656         __xpg_sigpause.
8657         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
8658         * nptl/tst-signal6.c: Likewise.
8659         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
8660         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
8662         * configure.ac (libc_cv_cxx_link_ok): New check.
8663         Reset CXX to empty if it fails to link.
8664         * configure: Regenerated.
8665         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
8666         bug-atexit3-lib only if $(CXX) is nonempty.
8667         * nptl/Makefile (tests): Likewise for tst-cancel24.
8668         (tests, tests-static): Likewise for tst-cancel24-static.
8669         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
8670         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
8671         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
8672         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
8674 2015-03-04  Andreas Schwab  <schwab@suse.de>
8676         [BZ #17631]
8677         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
8678         for non-GCC compilers.
8679         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8680         Likewise.
8682 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8684         [BZ #17776]
8685         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
8686         integer before bitwise and assembly operations.
8687         (feclearexcept): Likewise.
8688         * math/test-fenvinline.c: New file.
8689         * math/Makefile: Add test-fenvinline test.
8691 2015-03-03  Alan Modra  <amodra@gmail.com>
8693         [BZ #16512]
8694         * scripts/localplt.awk: Strip off symbol version.
8695         * NEWS: Mention bug fix.
8697 2015-03-02  Roland McGrath  <roland@hack.frob.com>
8699         * sysdeps/pthread/timer_routines.c
8700         (timer_free_list, thread_free_list, thread_active_list): Make static.
8702 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
8704         [BZ #17779]
8705         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8706         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8707         Undefine.
8708         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8709         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8710         Likewise.
8711         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8712         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8713         Likewise.
8715 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
8717         [BZ #18036]
8718         * posix/fnmatch_loop.c (END): Detect invalid pattern.
8719         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
8721 2015-03-02  Andreas Schwab  <schwab@suse.de>
8723         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
8724         variable name.
8726 2015-03-02  Florian Weimer  <fweimer@redhat.com>
8728         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
8729         Return error status.
8731 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
8733         [BZ #15969]
8734         * locale/findlocale.c (_nl_find_locale): Introduce const
8735         version of loc_name and drop unsafe type casts.
8737 2015-02-27  Roland McGrath  <roland@hack.frob.com>
8739         * dlfcn/tststatic2.c (main): Converted to ...
8740         (do_test): ... this.
8741         (TEST_FUNCTION): New macro.
8742         Include test-skeleton.c.
8744 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
8746         [BZ #17711]
8747         * elf/Makefile (tests): Add vismain only if PIE is enabled.
8748         (tests-pie): Add vismain.
8749         (CFLAGS-vismain.c): New.
8750         * elf/vismain.c: Add comments for PIE requirement.
8752 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
8754         [BZ #18046]
8755         [BZ #18047]
8756         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
8757         0x1p-56L as threshold for just returning the argument.
8758         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
8759         0x1p-32L as threshold for just returning the argument.
8760         * math/auto-libm-test-in: Add more tests of atanh.
8761         * math/auto-libm-test-out: Regenerated.
8762         * sysdeps/i386/fpu/libm-test-ulps: Update.
8763         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
8765 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
8767         * string/bcopy.c (bcopy): Call memmove for performance.
8769 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
8771         * string/bzero.c (__bzero): Call memset for performance.
8773 2015-02-27  John David Anglin  <dave.anglin@bell.net>
8775         [BZ #18068]
8776         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
8777         to 00100000.
8779 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
8781         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
8783 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
8785         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
8786         (__kernel_standard): Use CSTR macro when setting exc.name.
8787         * sysdeps/ieee754/Makefile [$(subdir) = math]
8788         (CFLAGS-k_standard.c): Remove variable.
8790         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
8791         setting p and q from "else if" to "else".
8792         (qzero): Likewise.
8793         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
8794         (qone): Likewise.
8795         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
8796         (qzerof): Likewise.
8797         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
8798         (qonef): Likewise.
8799         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
8800         (qzero): Likewise.
8801         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
8802         (qone): Likewise.
8804         [BZ #18038]
8805         [BZ #18039]
8806         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
8807         return pi/2 for arguments below 0x1p-113L.
8808         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
8809         return pi/2 for arguments below 0x1p-106L.
8810         * math/auto-libm-test-in: Add more tests of acos.
8811         * math/auto-libm-test-out: Regenerated.
8813         [BZ #16351]
8814         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
8815         (MO): New macro.
8816         (__ieee754_asin): Force underflow exception for results with small
8817         absolute value.
8818         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
8819         (MO): New macro.
8820         (__ieee754_asinf): Force underflow exception for results with
8821         small absolute value.
8822         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
8823         (__ieee754_asin): Force underflow exception for results with small
8824         absolute value.
8825         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
8826         (__ieee754_asinf): Force underflow exception for results with
8827         small absolute value.
8828         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
8829         (__ieee754_asinl): Force underflow exception for results with
8830         small absolute value.
8831         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
8832         (__ieee754_asinl): Force underflow exception for results with
8833         small absolute value.
8834         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
8835         (__ieee754_asinl): Force underflow exception for results with
8836         small absolute value.
8837         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8838         Include <math.h>.
8839         * math/auto-libm-test-in: Do not mark underflow exceptions as
8840         possibly missing for bug 16351.
8841         * math/auto-libm-test-out: Regenerated.
8843         [BZ #18030]
8844         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
8845         of power of 2 down when low part has opposite sign.
8846         * math/libm-test.inc (logb_test_data): Add more tests.
8848 2015-02-26  Andreas Schwab  <schwab@suse.de>
8850         [BZ #18032]
8851         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
8852         over collating symbol inside a bracket expression.  Minor cleanup.
8853         * posix/tst-fnmatch3.c (do_test): Add test case.
8855 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
8857         [BZ #18029]
8858         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
8859         Adjust exponent of power of 2 down when low part has opposite
8860         sign.
8861         * math/libm-test.inc (ilogb_test_data): Add more tests.
8863 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
8865         [BZ #15969]
8866         * locale/findlocale.c (_nl_find_locale): Fix constness error in
8867         the previous change.
8869         [BZ #15969]
8870         * locale/findlocale.c (_nl_find_locale): Retry archive search
8871         after alias expansion.
8873 2015-02-25  Roland McGrath  <roland@hack.frob.com>
8875         * iconv/tst-iconv3.c (main): Converted to ...
8876         (do_test): ... this.
8877         (TEST_FUNCTION): New macro.
8878         Include test-skeleton.c.
8880         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
8881         (convert): Make function static.
8882         (test_unalign): Likewise.  Add const to argument pointee types.
8883         (main): Replace with static function do_test.
8884         Print "Succeeded." only if RET is zero.
8885         (TEST_FUNCTION): New macro.
8886         Include test-skeleton.c.
8888         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
8889         returns a null pointer.
8891 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8893         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
8894         to __memcpy_ppc only for static builds.
8896 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
8898         [BZ #18020]
8899         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
8900         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
8901         * math/auto-libm-test-in: Add more tests of asinh.
8902         * math/auto-libm-test-out: Regenerated.
8903         * sysdeps/i386/fpu/libm-test-ulps: Update.
8904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8906 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
8908         [BZ #15850]
8909         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
8910         and ip6_mtuinfo definitions here.
8911         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
8912         in this define too.  Update comment.
8914 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
8916         * elf/sprof.c (load_shobj): Tweak error message to match others.
8918 2015-02-24  Kevin Easton  <kevin@guarana.org>
8920         [BZ #16145] (partial fix)
8921         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
8922         to reduce lock contention.
8924 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
8926         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
8927         (struct timex): Update time comment.
8928         (ADJ_SETOFFSET): Define.
8930 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
8932         [BZ #18019]
8933         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8934         2**56 not 2**28 as threshold for log (2x) formula.
8935         * math/auto-libm-test-in: Add more tests of acosh.
8936         * math/auto-libm-test-out: Regenerated.
8937         * sysdeps/i386/fpu/libm-test-ulps: Update.
8938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8940 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
8942         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
8943         parenthesis around the buf assignment.
8944         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
8946 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
8948         [BZ #16783]
8949         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
8950         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
8951         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
8952         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8953         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8954         * math/libm-test.inc (scalb_test_data): Add more tests.
8956 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8958         [BZ #17916]
8959         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
8960         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
8962 2015-02-24  Eric Rannaud  <e@nanocritical.com>
8964         [BZ #17523]
8965         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
8966         * io/bits/fcntl2.h (open): Use it.
8967         (openat): Likewise.
8968         * io/open.c (__libc_open): Likewise.
8969         * io/open64.c (__libc_open64): Likewise.
8970         * io/open64_2.c (__open64_2): Likewise.
8971         * io/open_2.c (__open_2): Likewise.
8972         * io/openat.c (__openat): Likewise.
8973         * io/openat64.c (__openat64): Likewise.
8974         * io/openat64_2.c (__openat64_2): Likewise.
8975         * io/openat_2.c (__openat_2): Likewise.
8976         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
8977         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8978         * sysdeps/posix/open64.c (__libc_open64): Likewise.
8979         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8980         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8981         (__open_nocancel): Likewise.
8982         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8983         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8984         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
8986 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8988         [BZ #14841]
8989         * resolv/gethnamaddr.c (getanswer): Skip logging if
8990         RES_USE_DNSSEC is set.
8991         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8993 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
8995         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
8997 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
8999         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9000         201304L, for Unicode 7.
9002 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
9004         [BZ #17836]
9005         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
9006         shared library.  Add gmon-start.os otherwise.
9007         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
9008         $(objpfx)gmon-start.os if builing shared library.
9009         ($(objpfx)g$(static-start-installed-name)): Likewise.
9011 2015-02-23  Andreas Schwab  <schwab@suse.de>
9013         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
9015 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
9017         [BZ #17269]
9018         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
9019         (enlarge_userbuf): Likewise.
9021 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
9023         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
9024         * math/atest-exp.c (TIMEOUT): Adjust to 200.
9025         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
9026         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
9028 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
9030         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
9031         expression inside statement expression.
9033 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9035         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
9036         <sysdeps/nptl/lowlevellock.h> and remove macros and
9037         functions that are now defined there.
9038         (SYS_futex): Remove.
9039         (lll_compare_and_swap): Remove.
9040         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
9042 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
9044         [BZ #17999]
9045         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
9046         instead of scandirat.
9047         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
9048         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
9049         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
9050         __scandirat.
9051         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
9052         (__scandirat): Declare.  Use libc_hidden_proto.
9053         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
9054         Remove variable.
9055         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9057 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
9059         [BZ #15319]
9060         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
9061         (MO): New macro.
9062         (__ieee754_atan2): For results with small absolute value, force
9063         underflow exception and remove excess range and precision from
9064         return value.
9065         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
9066         (MO): New macro.
9067         (__ieee754_atan2f): For results with small absolute value, force
9068         underflow exception and remove excess range and precision from
9069         return value.
9070         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
9071         (MO): New macro.
9072         (__atan): For results with small absolute value, force underflow
9073         exception and remove excess range and precision from return value.
9074         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
9075         (MO): New macro.
9076         (__atanf): For results with small absolute value, force underflow
9077         exception and remove excess range and precision from return value.
9078         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
9079         <math.h>.
9080         (__ieee754_atan2): Force underflow exception for results with
9081         small absolute value.
9082         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
9083         <math_private.h>.
9084         (atan): Force underflow exception for results with small absolute
9085         value.
9086         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
9087         (__atanf): Force underflow exception for results with small
9088         absolute value.
9089         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
9090         <math.h>.
9091         (__atanl): Force underflow exception for results with small
9092         absolute value.
9093         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
9094         (__atanl): Force underflow exception for results with small
9095         absolute value.
9096         * sysdeps/x86/fpu/bits/mathinline.h
9097         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
9098         (__ieee754_atan2): Only define inline for long double.
9099         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9100         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
9101         * math/auto-libm-test-in: Do not mark underflow exceptions as
9102         possibly missing for bug 15319.  Add more tests of atan2.
9103         * math/auto-libm-test-out: Regenerated.
9104         * math/libm-test.inc (casin_test_data): Do not mark underflow
9105         exceptions as possibly missing for bug 15319.
9106         (casinh_test_data): Likewise.
9107         * sysdeps/i386/fpu/libm-test-ulps: Update.
9109 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
9111         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
9112         * sysdeps/mips/bits/endian.h: Fix comments.
9114 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
9116         [BZ #17996]
9117         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
9118         (hdestroy_r): Likewise.
9119         (hsearch_r): Likewise.
9120         (__hcreate_r): Declare and use libc_hidden_proto.
9121         (__hdestroy_r): Likewise.
9122         (__hsearch_r): Likewise.
9123         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
9124         (hcreate): Call __hcreate_r instead of hcreate_r.
9125         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
9126         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
9127         as weak alias of __hcreate_r.
9128         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
9129         __hdestroy_r.
9130         (hsearch_r): Rename to __hsearch_r and define as weak alias of
9131         __hsearch_r.
9132         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
9133         Remove variable.
9134         (test-xfail-XPG4/search.h/linknamespace): Likewise.
9135         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9136         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9137         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9139 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9141         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
9142         arena_lock into a single arena_get.
9144 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
9146         * dl-reloc.c: Inlucde libc-internal.h.
9147         (_dl_try_allocate_static_tls): Call ALIGN_UP.
9148         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
9149         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
9150         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
9151         (grow_heap): Likewise.
9152         * malloc/malloc.c: Include libc-internal.h.
9153         (do_check_malloc): Call powerof2.
9154         (sysmalloc): Use pagesize. Call ALIGN_UP.
9155         (systrim): Use pagesize.
9156         (mremap_chunk): Use pagesize. Call ALIGN_UP.
9157         (__libc_valloc): Use pagesize.
9158         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
9160 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
9162         [BZ #17991]
9163         * include/sys/resource.h (__getrlimit64): Declare.  Use
9164         libc_hidden_proto.
9165         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
9166         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
9167         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
9168         getrlimit64.
9169         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
9170         __getrlimit64.
9171         [!getrlimit64] (getrlimit64): Define as weak alias of
9172         __getrlimit64.  Use libc_hidden_weak.
9173         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
9174         using __getrlimit64 not __new_getrlimit64.
9175         (__GI_getrlimit64): Likewise.
9176         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
9177         Likewise.
9178         (__GI_getrlimit64): Likewise.
9179         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
9180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
9181         (getrlimit): Add __getrlimit64 alias.
9182         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
9183         Likewise.
9184         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
9185         Remove variable.
9186         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9187         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9189 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
9191         * libio/fileops.c: Add missing sys/mman.h
9192         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
9194 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
9196         * manual/math.texi (Errors in Math Functions): Clarify goals
9197         regarding inexact and underflow exceptions.
9199 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
9201         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
9202         * sysdeps/mips/memset.S: Ditto.
9204 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
9206         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
9208 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9210         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
9211         (__v1longjmp): Remove versioned symbol.
9212         (__v1siglongjmp): Remove alias and versioned symbol.
9213         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
9214         (__v2siglongjmp): Likewise.
9216 2015-02-16  Torvald Riegel  <triegel@redhat.com>
9218         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
9220 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
9222         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
9224 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
9226         [BZ #17987]
9227         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
9228         zero result does not depend on the sign resulting from
9229         subtraction.
9230         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9231         Likewise.
9232         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9233         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9234         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9235         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9236         * math/libm-test.inc (remquo_test_data): Add more tests.
9238 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
9240         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
9241         Problem reported by J William Piggott.
9243 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
9245         [BZ #17978]
9246         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
9247         products 4 * y and 2 * y where those would overflow.
9248         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9249         Likewise.
9250         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9251         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9252         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9253         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9254         * math/libm-test.inc (remquo_test_data): Add more tests.
9256         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
9258         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
9259         [defined _COMPILING_NEWLIB].
9260         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
9261         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
9263         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
9264         [!defined __mips_isa_rev || __mips_isa_rev < 6].
9266 2015-02-16  Torvald Riegel  <triegel@redhat.com>
9268         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
9269         acquired.
9271 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
9273         [BZ #17792]
9274         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
9275         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
9276         HOST_STACK_END_ADDR): Likewise.
9278 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
9280         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
9281         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
9282         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
9284 2015-02-13  Roland McGrath  <roland@hack.frob.com>
9286         * sysdeps/generic/c++-types.data: New file.
9287         * sysdeps/generic/ld.abilist: New file.
9288         * sysdeps/generic/libBrokenLocale.abilist: New file.
9289         * sysdeps/generic/libanl.abilist: New file.
9290         * sysdeps/generic/libc.abilist: New file.
9291         * sysdeps/generic/libcrypt.abilist: New file.
9292         * sysdeps/generic/libdl.abilist: New file.
9293         * sysdeps/generic/libm.abilist: New file.
9294         * sysdeps/generic/libpthread.abilist: New file.
9295         * sysdeps/generic/libresolv.abilist: New file.
9296         * sysdeps/generic/librt.abilist: New file.
9298 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
9300         [BZ #17569]
9301         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9302         Compute absolute value of x as modified by fmod, not original
9303         value of x.
9304         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
9305         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
9306         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
9307         RUN_TEST_ffI_f1_mod8.
9308         (remquo_test_data): Add more tests.
9310 2015-02-13  Roland McGrath  <roland@hack.frob.com>
9312         * sysdeps/init_array/pt-crti.S: New file.
9314 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
9316         [BZ #17967]
9317         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
9318         __builtin_fmaf instead of relying on contraction of a * b + c.
9320 2015-02-12  J William Piggott  <elseifthen@gmx.com>
9322         [BZ #17969]
9323         * manual/time.texi: correct the zoneinfo path in the TZ Variable
9324         node.
9326 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
9328         [BZ #17964]
9329         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
9330         __builtin_fma instead of relying on contraction of a * b + c.
9332 2015-02-12  Roland McGrath  <roland@hack.frob.com>
9334         * Makeconfig (ASFLAGS): Add -Werror=undef.
9335         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
9336         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
9337         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
9339         * Makeconfig (after-link): New variable.
9340         (+link-pie, +link-pie-tests): Use it.
9341         (+link-static, +link-static-tests): Likewise.
9342         (+link, +link-tests): Likewise.
9343         * Makerules (build-module, build-module-asneeded): Likewise.
9344         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
9345         Likewise.
9346         * elf/Makefile ($(objpfx)ld.so): Likewise.
9348 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
9350         [BZ #17965]
9351         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
9352         both struct timeval and struct timespec.
9354 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
9356         [BZ #16560]
9357         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9358         and redefine.
9359         (__ieee754_exp2l): Do not multiply small fractional parts by
9360         M_LN2l.
9361         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
9362         small argument.
9363         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9364         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9365         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
9366         * math/auto-libm-test-in: Add more tests of exp2.
9367         * math/auto-libm-test-out: Regenerated.
9369 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9371         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
9372         unaligned path.
9374 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9376         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
9377         little endian.
9379 2015-02-12  Andreas Schwab  <schwab@suse.de>
9381         [BZ #15790]
9382         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9383         Filter out elision flags from value returned in kind.
9384         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
9385         * nptl/tst-pthread-mutexattr.c: New file.
9387 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9389         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
9390         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
9391         into gnu-gnu, and update comment to refer to abi-tags.
9393 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
9395         [BZ #15467]
9396         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
9397         (__sincos): Set errno to EDOM for infinite argument.
9398         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
9399         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
9400         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
9401         (__sincosl): Set errno to EDOM for infinite argument.
9402         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
9403         (__sincosl): Set errno to EDOM for infinite argument.
9404         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
9405         (__sincosl): Set errno to EDOM for infinite argument.
9406         * math/libm-test.inc (sincos_test_data): Test errno setting.
9408 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
9410         * string/strxfrm_l.c: Remove #define STRCMP.
9411         * string/strcoll_l.c: Remove #define STRLEN.
9412         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
9413         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
9415 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
9417         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
9418         * sysdeps/mips/mips32/sfp-machine.h: ... here.
9419         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
9420         * sysdeps/mips/mips64/Makefile: ... here.
9421         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
9422         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
9423         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
9424         * sysdeps/mips/mips64/sfp-machine.h: ... here.
9425         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
9426         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
9427         * sysdeps/mips/mips64/n64/Implies: Likewise.
9429 2015-02-10  Roland McGrath  <roland@hack.frob.com>
9431         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
9432         <sys/time.h>, <string.h>, and <errno.h>.
9433         (dest_offset, dest_address, value, zero): Remove unused variables.
9434         (ldouble): Remove typedef.
9435         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
9436         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
9437         1).  Fix code style.
9438         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
9439         (check): Function removed.
9440         (CHECK): New macro.
9441         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
9442         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
9443         Don't call set_sigaction_FP and remove_sigaction_FP here.
9444         (ldouble_test): Just use 'long double' as macro argument, no need for
9445         the 'ldouble' typedef.
9446         (do_test): Set up SIGFPE handler at start, using plain signal rather
9447         than sigaction.  Fix code style.
9449 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
9451         [BZ #17949]
9452         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
9453         jump label.
9455 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
9457         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
9458         * sysdeps/powerpc/powerpc32/configure: Regenerated.
9460         * sysdeps/powerpc/configure.ac: Remove file.
9461         * sysdeps/powerpc/configure: Likewise.
9463         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9464         [sysdep_routines]: Remove wordcopy-power6 object.
9465         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9466         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
9467         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
9468         (__memmove_ppc32): Likewise.
9469         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
9470         file.
9471         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
9472         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
9473         Remove preprocessor.
9475         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9476         [sysdep_routines]: Remove wide chars objects.
9477         [wcsmbs]: New rule for wide char objects.
9479         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9480         Remove wordcopy-power6 obejct.
9481         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
9482         Use local call for wordcopy and memcpy symbols.
9483         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
9484         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
9485         implementation for loader.
9486         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
9488         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9489         Remove wordcopy-power7 object.
9490         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
9491         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
9492         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
9493         (_wordcopy_fwd_dest_aligned): Likewise.
9494         (_wordcopy_bwd_aligned): Likewise.
9495         (_wordcopy_bwd_dest_aligned): Likewise.
9497         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
9498         Rewrite to call __memmove_ppc instead of include default
9499         implementation.
9501         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9502         Remove wide chars objects.
9503         [wcsmbs]: New rule for wide char objects.
9505 2015-02-09  Andreas Schwab  <schwab@suse.de>
9507         [BZ #17912]
9508         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9509         in terms of __O_DIRECTORY.
9511 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9513         * time/getdate.c: Include <stdbool.h>.
9514         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
9515         call PTR_MANGLE.
9516         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
9517         PTR_DEMANGLE.
9519 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
9521         Add ersatz _Static_assert on older C hosts
9522         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
9523         pre-C11 C platform that is not known to support _Static_assert.
9525 2015-02-07  Richard Braun  <rbraun@sceen.net>
9527         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
9528         sigstate.
9529         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
9531 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9533         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
9534         priority against unexistent AIO_PRIO_DELTA_MAX.
9535         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
9536         instead of int.
9537         * misc/fchflags.c (fchflags): Likewise.
9538         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
9539         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
9540         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
9541         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
9542         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
9543         Declare macros.
9544         [__USE_MISC] (chflags, fchflags): Declare functions.
9545         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
9546         EINVAL when nfds is greater than FD_SETSIZE.
9547         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
9548         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
9549         45.
9550         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
9551         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
9552         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
9553         MACH_RCV_TIMED_OUT.
9554         * hurd/hurd/signal.h (_hurd_self_sigstate,
9555         _hurd_critical_section_lock, _hurd_critical_section_unlock):
9556         Explicit casts from void *.
9557         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
9558         * abi-tags: Rename gnu-gnu os into gnu.
9560         [BZ #4719]
9561         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
9562         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
9563         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
9564         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
9565         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
9566         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
9568         [BZ #17944]
9569         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
9570         duplicates ADDR->sun_path with sockaddr LEN limitation.
9571         * sysdeps/mach/hurd/connect.c: Include <string.h>
9572         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
9573         * sysdeps/mach/hurd/sendmsg.c: Likewise.
9574         * sysdeps/mach/hurd/sendto.c: Likewise.
9575         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
9576         implementing it by hand.
9578 2015-02-06  Roland McGrath  <roland@hack.frob.com>
9580         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
9581         Use sfi_breg on ldr.
9582         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
9583         Likewise.
9585         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
9586         it's defined.
9587         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
9588         Test SIGSETXID only if it's defined.
9590         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
9592         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
9593         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
9595         * nptl/tst-align2.c: Moved ...
9596         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
9597         * nptl/Makefile (tests): Remove tst-align2.
9598         * sysdeps/unix/sysv/linux/Makefile
9599         [$(subdir) = nptl] (tests): Add tst-align-clone.
9600         * nptl/tst-getpid1.c: Moved ...
9601         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
9602         * nptl/tst-getpid2.c: Moved ...
9603         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
9604         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
9605         * sysdeps/unix/sysv/linux/Makefile
9606         [$(subdir) = nptl] (tests): ... here.
9607         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
9608         * sysdeps/unix/sysv/linux/Makefile
9609         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
9611         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
9612         Drop trailing \n from perror argument.  Use return rather than exit.
9614         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
9615         on [SA_SIGINFO].
9616         * nptl/tst-cancel21.c (do_test): Likewise.
9617         * debug/tst-backtrace6.c: Include <signal.h> first thing.
9618         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
9619         [!SA_SIGINFO]: Make it a stub test.
9621         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
9622         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
9624         * posix/tst-getlogin.c: Move to ...
9625         * login/tst-getlogin.c: ... here.
9626         * posix/Makefile (tests): Move tst-getlogin to ...
9627         * login/Makefile (tests): ... here.
9629         * libio/tst-atime.c (do_test): Move local variables SV and E
9630         inside [ST_NOATIME] conditional.
9632         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
9634         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
9636         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
9637         (wait_code): New function replaces macro.
9638         Call nanosleep rather than syscall.
9640         * nptl/pt-system.c: Rewritten.  Put everything under
9641         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9642         Use IFUNC to redirect when possible.
9644         * nptl/pt-longjmp.c: Rewritten.  Put everything under
9645         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9646         Use IFUNC to redirect when possible.
9648         * nptl/pt-fork.c: Rewritten.  Put everything under
9649         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9650         Use IFUNC to redirect when possible.
9651         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
9653         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
9654         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
9655         unconditionally nowadays.  This included the only reference to
9656         __vdso_clock_gettime that appears outside libc proper.
9657         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
9658         Remove version set (containing only __vdso_clock_gettime).
9659         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9660         Add attribute_hidden.
9661         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9662         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
9663         libc_hidden_data_def.
9664         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9665         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9667         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
9668         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
9669         setrpcent, and getrpcport to ...
9670         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
9671         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
9672         getrpcbynumber_r, and getrpcent_r to ...
9673         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
9674         * inet/getrpcbyname.c: Moved ...
9675         * sunrpc/getrpcbyname.c: ... here.
9676         * inet/getrpcbyname_r.c: Moved ...
9677         * sunrpc/getrpcbyname_r.c: ... here.
9678         * inet/getrpcbynumber.c: Moved ...
9679         * sunrpc/getrpcbynumber.c: ... here.
9680         * inet/getrpcbynumber_r.c: Moved ...
9681         * sunrpc/getrpcbynumber_r.c: ... here.
9682         * inet/getrpcent.c: Moved ...
9683         * sunrpc/getrpcent.c: ... here.
9684         * inet/getrpcent_r.c: Moved ...
9685         * sunrpc/getrpcent_r.c: ... here.
9686         * inet/Makefile (routines): Move those to ...
9687         * sunrpc/Makefile (routines): ... here.
9688         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
9689         the $(subdirs) list.
9690         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
9691         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
9692         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
9693         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
9695         * elf/Makefile (routines): Include $(all-dl-routines), not just
9696         $(dl-routines).
9697         (rtld-routines): Likewise.  Use = rather than :=.
9698         * sysdeps/aarch64/Makefile [$(subdir) = elf]
9699         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
9700         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
9701         * sysdeps/arm/Makefile: Likewise.
9702         * sysdeps/i386/Makefile: Likewise.
9703         * sysdeps/x86_64/Makefile: Likewise.
9704         * sysdeps/hppa/Makefile [$(subdir) = elf]
9705         (sysdep_routines, sysdep-rtld-routines): Don't add
9706         $(sysdep-dl-routines) to these.
9707         * sysdeps/ia64/Makefile: Likewise.
9708         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
9709         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
9710         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
9711         Don't add dl-static to these; sysdep-dl-routines alone is enough.
9712         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
9713         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
9714         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
9715         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
9716         * sysdeps/powerpc/Makefile [$(subdir) = elf]
9717         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
9718         these; sysdep-dl-routines alone is enough.
9720 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
9722         [BZ #17932]
9723         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
9724         where multiplication results in zero and third argument is finite
9725         and nonzero.
9726         * math/auto-libm-test-in: Add more tests of fma.
9727         * math/auto-libm-test-out: Regenerated.
9729         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
9730         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
9731         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
9732         (_FP_CMP_EQ): Likewise.
9733         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
9735         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
9736         extra argument CHECK_NAN.  Redefine as wrapper around
9737         _FP_EXTEND_CNAN.
9739 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
9741         * version.h (RELEASE): Set to "stable".
9742         (VERSION): Set to "2.21"
9743         * include/features.h (__GLIBC_MINOR__): Set to 21.
9745         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
9747 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9748             Paul Eggert  <eggert@cs.ucla.edu>
9750         [BZ #16618]
9751         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
9752         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
9753         size in bytes. Store needed elements in wpmax. Use needed size
9754         in bytes for extend_alloca.
9756 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
9758         * manual/install.texi: Latest tested versions are GCC 4.9.2,
9759         binutls 2.25, and texinfo 5.2.
9760         * INSTALL: Regenerate.
9761         * sysdeps/nios2/configure: Regenerate.
9762         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
9763         * manual/contrib.texi: Update.
9764         * po/be.po: Update.
9765         * po/bg.po: Update.
9766         * po/ca.po: Update.
9767         * po/cs.po: Update.
9768         * po/da.po: Update.
9769         * po/de.po: Update.
9770         * po/el.po: Update.
9771         * po/eo.po: Update.
9772         * po/es.po: Update.
9773         * po/fi.po: Update.
9774         * po/fr.po: Update.
9775         * po/gl.po: Update.
9776         * po/hr.po: Update.
9777         * po/hu.po: Update.
9778         * po/ia.po: Update.
9779         * po/id.po: Update.
9780         * po/it.po: Update.
9781         * po/ja.po: Update.
9782         * po/ko.po: Update.
9783         * po/lt.po: Update.
9784         * po/nb.po: Update.
9785         * po/nl.po: Update.
9786         * po/pl.po: Update.
9787         * po/pt_BR.po: Update.
9788         * po/ru.po: Update.
9789         * po/rw.po: Update.
9790         * po/sk.po: Update.
9791         * po/sl.po: Update.
9792         * po/sv.po: Update.
9793         * po/tr.po: Update.
9794         * po/uk.po: Update.
9795         * po/vi.po: Update.
9796         * po/zh_CN.po: Update.
9797         * po/zh_TW.po: Update.
9799         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
9800         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
9801         * sysdeps/hppa/dl-irel.h: Remove #warning.
9802         * sysdeps/hppa/entry.h: Provide prototype for
9803         __canonicalize_funcptr_for_compare and cast argument.
9804         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
9805         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
9806         * sysdeps/hppa/sotruss-lib.c: New file.
9807         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
9808         (atomic_compare_and_exchange_val_acq): Use __typeof__.
9809         (atomic_compare_and_exchange_bool_acq): Likewise.
9810         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
9811         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
9813         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
9814         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
9815         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
9817 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
9819         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
9820         called function in non-PIC case.
9822 2015-01-31  David S. Miller  <davem@davemloft.net>
9824         * sysdeps/sparc/sparc32/bits/atomic.h
9825         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
9826         unlock not after it.
9827         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
9828         volatile register usage warnings from the compiler.
9830         * sysdeps/sparc/nptl/sem_init.c: Delete.
9831         * sysdeps/sparc/nptl/sem_post.c: Delete.
9832         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
9833         * sysdeps/sparc/nptl/sem_wait.c: Delete.
9834         * sysdeps/sparc/sparc32/sem_init.c: New file.
9835         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
9836         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
9837         padding explicitly initialized.
9838         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
9839         padding for in-semaphore spinlock.
9840         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
9841         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
9842         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
9843         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
9844         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
9845         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
9846         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
9847         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
9848         version.
9849         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
9850         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
9852 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
9854         [BZ #17801]
9855         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9856         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
9857         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
9858         New.
9859         (index_AVX_Fast_Unaligned_Load): Likewise.
9860         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
9861         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
9862         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
9863         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
9864         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
9865         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
9866         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
9867         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
9868         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
9870 2015-01-29  Andreas Schwab  <schwab@suse.de>
9872         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
9874 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
9876         [BZ #17892]
9877         * nscd/nscd_stat.c (send_stats): Initialize DATA.
9879 2015-01-28  Martin Sebor  <msebor@redhat.com>
9881         * math/README.libm-test: Clarify. Add "How to read the test output."
9883 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
9885         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
9886         Define to 0.
9888 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
9890         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
9891         (__HAVE_64B_ATOMICS): Define to 0.
9893 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
9895         [BZ #17885]
9896         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
9897         value to set as new flag.
9899         [BZ #16576]
9900         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
9901         and use _ARCH_PPCSQ instead.
9902         (__ieee754_sqrt): Likewise.
9903         (__ieee754_sqrtf): Likewise.
9904         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
9905         _ARCH_PPCSQ is defined.
9906         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
9907         fsqrt instruction.
9908         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
9909         _ARCH_PPCSQ is defined.
9910         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
9911         fsqrts instruction.
9912         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
9914 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9916         * iconv/loop.c: Suppress array out of bound warning caused by GCC
9917         bug (GCC BZ #64739).
9919 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
9921         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
9922         Mark _retval as used.
9923         (lll_futex_wake_unlock): Likewise.
9924         (lll_futex_timed_wait_requeue_pi): Likewise.
9926         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9927         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
9928         register variables.
9930         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
9931         libm_hidden_def.
9933         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
9934         (__bswap_64): Mark as __always_inline.
9936 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
9938         [BZ #15378]
9939         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
9940         when none of the search directories exist.
9942 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
9944         [BZ #17869]
9945         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
9946         power8 in .machine directive.
9948         [BZ #17868]
9949         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
9950         set dependency from opd value.
9952 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
9954         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9955         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
9956         architecture.
9958 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
9960         [BZ #17870]
9961         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
9962         with uint64_t.
9963         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
9964         (uint64_t) 1.
9965         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
9966         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
9967         Replace 1UL with (uint64_t) 1.
9968         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
9969         int with uint64_t.
9971 2015-01-23  Roland McGrath  <roland@hack.frob.com>
9973         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
9974         (if_freenameindex): Likewise.
9976         * resource/getrlimit64.c: Add missing libc_hidden_def.
9978 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
9980         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
9981         __label__.
9982         (_FP_FMA): Likewise.
9983         (_FP_TO_INT_ROUND): Likewise.
9984         (_FP_FROM_INT): Likewise.
9986 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9988         [BZ #16418]
9989         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
9990         Make code racy and cancel safe.
9992 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
9994         * sysdeps/arm/unwind-resume.h: Fix copyright year.
9995         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
9996         attribution.
9998         * pwd/tst-getpw.c: Rewrite.
10000         [BZ #17702]
10001         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
10002         (modules-names): Add moddummy1 and moddummy2.
10003         ($(objpfx)tst-rec-dlopen): Define.
10004         * dlfcn/moddummy1.c: New file.
10005         * dlfcn/moddummy2.c: New file.
10006         * dlfcn/tst-rec-dlopen.c: New file.
10007         * elf/dl-cache.c (_dl_load_cache_lookup):
10008         Return char*. Copy result with alloca/strcpy/strdup.
10009         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
10010         returns char*. Free cached. If not saving realname
10011         free cached.
10012         * elf/dl-open.c (dl_open_worker): Do not assert that
10013         _r_debug->r_state is RT_CONSISTENT.
10014         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
10015         returns char*.
10017 2015-01-21  Torvald Riegel  <triegel@redhat.com>
10018             Carlos O'Donell  <carlos@redhat.com>
10020         [BZ #12674]
10021         * nptl/sem_waitcommon.c: New file.
10022         * nptl/sem_wait.c: Include sem_waitcommon.c.
10023         (__sem_wait_cleanup, do_futex_wait): Remove.
10024         (__new_sem_wait): Adapt.
10025         (__new_sem_trywait): New function.
10026         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
10027         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
10028         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
10029         (sem_timedwait): Adapt.
10030         * nptl/sem_post.c (__new_sem_post): Adapt.
10031         (futex_wake): New function.
10032         (__old_sem_post): Add release MO fence.
10033         * nptl/sem_open.c (sem_open): Adapt.
10034         * nptl/sem_init.c (__new_sem_init): Adapt.
10035         (futex_private_if_supported): New function.
10036         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
10037         (__old_sem_getvalue): Add using previous code.
10038         * sysdeps/nptl/internaltypes.h: Adapt.
10039         * nptl/tst-sem13.c (do_test): Adapt.
10040         * nptl/tst-sem11.c (main): Adapt.
10041         * nptl/sem_trywait.c: Remove.
10042         * nptl/DESIGN-sem.txt: Remove.
10043         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
10044         (gen-as-const-headers): Remove structsem.sym.
10045         * nptl/structsem.sym: Remove.
10046         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
10047         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
10048         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
10049         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
10050         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
10051         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
10052         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
10053         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
10054         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
10055         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
10056         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
10057         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
10058         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
10059         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
10060         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
10061         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
10062         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
10063         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
10064         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
10065         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
10066         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
10067         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
10069 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
10071         * INSTALL: Regenerated.
10073         * po/libc.pot: Regenerated.
10075 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
10076             Sandra Loosemore  <sandra@codesourcery.com>
10077             Andrew Jenner  <andrew@codesourcery.com>
10078             Joseph Myers  <joseph@codesourcery.com>
10079             Nathan Sidwell  <nathan@codesourcery.com>
10081         * NEWS: Mention new Nios II port.
10082         * sysdeps/nios2/Implies: New file.
10083         * sysdeps/nios2/Makefile: New file.
10084         * sysdeps/nios2/Subdirs: New file.
10085         * sysdeps/nios2/Versions: New file.
10086         * sysdeps/nios2/__longjmp.S: New file.
10087         * sysdeps/nios2/abort-instr.h: New file.
10088         * sysdeps/nios2/backtrace.c: New file.
10089         * sysdeps/nios2/bits/endian.h: New file.
10090         * sysdeps/nios2/bits/fenv.h: New file.
10091         * sysdeps/nios2/bits/link.h: New file.
10092         * sysdeps/nios2/bits/setjmp.h: New file.
10093         * sysdeps/nios2/bsd-_setjmp.S: New file.
10094         * sysdeps/nios2/bsd-setjmp.S: New file.
10095         * sysdeps/nios2/configure: New generated file.
10096         * sysdeps/nios2/configure.ac: New file.
10097         * sysdeps/nios2/crti.S: New file.
10098         * sysdeps/nios2/crtn.S: New file.
10099         * sysdeps/nios2/dl-init.c: New file.
10100         * sysdeps/nios2/dl-machine.h: New file.
10101         * sysdeps/nios2/dl-sysdep.h: New file.
10102         * sysdeps/nios2/dl-tls.h: New file.
10103         * sysdeps/nios2/dl-trampoline.S: New file.
10104         * sysdeps/nios2/gccframe.h: New file.
10105         * sysdeps/nios2/gmp-mparam.h: New file.
10106         * sysdeps/nios2/jmpbuf-offsets.h: New file.
10107         * sysdeps/nios2/jmpbuf-unwind.h: New file.
10108         * sysdeps/nios2/ldsodefs.h: New file.
10109         * sysdeps/nios2/libc-tls.c: New file.
10110         * sysdeps/nios2/libm-test-ulps: New file.
10111         * sysdeps/nios2/machine-gmon.h: New file.
10112         * sysdeps/nios2/math-tests.h: New file.
10113         * sysdeps/nios2/math_private.h: New file.
10114         * sysdeps/nios2/memusage.h: New file.
10115         * sysdeps/nios2/nptl/Makefile: New file.
10116         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
10117         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
10118         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
10119         * sysdeps/nios2/nptl/pthreaddef.h: New file.
10120         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
10121         * sysdeps/nios2/nptl/tls.h: New file.
10122         * sysdeps/nios2/preconfigure: New file.
10123         * sysdeps/nios2/s_fma.c: New file.
10124         * sysdeps/nios2/s_fmaf.c: New file.
10125         * sysdeps/nios2/setjmp.S: New file.
10126         * sysdeps/nios2/sfp-machine.h: New file.
10127         * sysdeps/nios2/sotruss-lib.c: New file.
10128         * sysdeps/nios2/stackguard-macros.h: New file.
10129         * sysdeps/nios2/stackinfo.h: New file.
10130         * sysdeps/nios2/start.S: New file.
10131         * sysdeps/nios2/sysdep.h: New file.
10132         * sysdeps/nios2/tls-macros.h: New file.
10133         * sysdeps/nios2/tst-audit.h: New file.
10134         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
10135         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
10136         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
10137         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
10138         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
10139         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
10140         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
10141         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
10142         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
10143         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
10144         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
10145         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
10146         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
10147         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
10148         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
10149         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
10150         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
10151         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
10152         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
10153         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
10154         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
10155         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
10156         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
10157         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
10158         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
10159         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
10160         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
10161         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
10162         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
10163         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
10164         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
10165         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
10166         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
10167         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
10168         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
10169         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
10170         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
10171         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
10172         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
10173         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
10174         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
10175         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
10176         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
10177         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
10179 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10181         [BZ #17844]
10182         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
10183         (getutent): Use weak_alias in non SHARED case
10184         and default_symbol_version in SHARED case.
10185         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
10186         (getutent_r, pututline): Likewise.
10187         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
10188         (getutid): Likewise.
10189         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
10190         (getutid_r): Likewise.
10191         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
10192         (getutline): Likewise.
10193         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
10194         (getutline_r): Likewise.
10195         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
10196         (updwtmp): Likewise.
10198 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10200         [BZ #17848]
10201         * sysdeps/s390/s390-32/memcmp.S
10202         (memcmp_g5): Rename to __memcmp_g5.
10203         * sysdeps/s390/s390-32/memcpy.S
10204         (memcpy_g5): Rename to __memcpy_g5.
10205         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10206         (memcpy_mvcle) Rename to __memcpy_mvcle.
10207         * sysdeps/s390/s390-32/memset.S
10208         (memset_g5): Rename to __memset_g5.
10209         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10210         (IFUNC_RESOLVE): Prefix ifunc-resolve function
10211         and use prefixed functions.
10212         * sysdeps/s390/s390-32/multiarch/memcmp.S
10213         (memcmp_z196): Rename to __memcmp_z196.
10214         (memcmp_z10): Rename to __memcmp_z10.
10215         (memcmp): Set alias to __memcmp_g5.
10216         (bcmp): Set alias to __memcmp_g5.
10217         * sysdeps/s390/s390-32/multiarch/memcpy.S
10218         (memcpy_z196): Rename to __memcpy_z196.
10219         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10220         (memcpy_z10): Rename to __memcpy_z10.
10221         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10222         (memcpy): Set alias to __memcpy_g5.
10223         * sysdeps/s390/s390-32/multiarch/memset.S
10224         (memset_z196): Rename to __memset_z196.
10225         Jump to __memset_mvcle instead of memset_mvcle.
10226         (memset_z10): Rename to __memset_z10.
10227         Jump to __memset_mvcle instead of memset_mvcle.
10228         (memset_mvcle) Rename to __memset_mvcle.
10229         (memset): Set alias to __memset_g5.
10230         * sysdeps/s390/s390-64/memcmp.S
10231         (memcmp_z900): Rename to __memcmp_z900.
10232         * sysdeps/s390/s390-64/memcpy.S
10233         (memcpy_z900): Rename to __memcpy_z900.
10234         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10235         (memcpy_mvcle) Rename to __memcpy_mvcle.
10236         * sysdeps/s390/s390-64/memset.S
10237         (memset_z900): Rename to __memset_z900.
10238         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
10239         (IFUNC_RESOLVE): Prefix ifunc-resolve function
10240         and use prefixed functions.
10241         * sysdeps/s390/s390-64/multiarch/memcmp.S
10242         (memcmp_z196): Rename to __memcmp_z196.
10243         (memcmp_z10): Rename to __memcmp_z10.
10244         (memcmp): Set alias to __memcmp_z900.
10245         (bcmp): Set alias to __memcmp_z900.
10246         * sysdeps/s390/s390-64/multiarch/memcpy.S
10247         (memcpy_z196): Rename to __memcpy_z196.
10248         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10249         (memcpy_z10): Rename to __memcpy_z10.
10250         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10251         (memcpy): Set alias to __memcpy_z900.
10252         * sysdeps/s390/s390-64/multiarch/memset.S
10253         (memset_z196): Rename to __memset_z196.
10254         Jump to __memset_mvcle instead of memset_mvcle.
10255         (memset_z10): Rename to __memset_z10.
10256         Jump to __memset_mvcle instead of memset_mvcle.
10257         (memset_mvcle) Rename to __memset_mvcle.
10258         (memset): Set alias to __memset_z900.
10260 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
10262         [BZ #17748]
10263         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
10264         __fesetenv instead of fesetenv.
10266 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10268         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
10269         macro.
10271 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10273         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
10274         regression on LE.
10276         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
10277         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
10278         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10279         strncmp-power8 object.
10280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10281         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
10282         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
10283         * NEWS: Update.
10285 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10286             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10288         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
10289         trailing byte check.
10291 2015-01-13  David S. Miller  <davem@davemloft.net>
10293         * include/signal.h (__sigreturn): Guard with __USE_MISC.
10295 2015-01-13  Roland McGrath  <roland@hack.frob.com>
10297         * login/logout.c (logout): Use memset rather than bzero.
10298         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
10299         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
10300         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
10301         (_gethtbyaddr): Likewise.
10302         * locale/programs/simple-hash.c (bcopy): Macro removed.
10304 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10306         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10307         Add strcmp-power8 object.
10308         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10309         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
10310         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
10311         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
10312         __strcmp_power8 implementation.
10313         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
10314         * NEWS: Update.
10316         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10317         Add strncpy-power8 and stpncpy-power8 objects.
10318         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10319         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
10320         implementations.
10321         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
10322         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
10323         __stpncpy_power8 implementation.
10324         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
10325         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
10326         __strncpy_power8 implementation.
10327         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
10328         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
10329         * NEWS: Update.
10331         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
10332         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
10333         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
10335         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10336         strncat-power8 object.
10337         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
10338         __strcat_power8 implementation.
10339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10340         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
10341         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
10342         optimized strcat for power8.
10344         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10345         strcpy-power8 and stpcpy-power8 objects.
10346         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10347         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
10348         implementations.
10349         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
10350         multiarch stpcpy implementation for POWER8.
10351         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
10352         multiarch strcpy implementation for POWER8.
10353         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
10354         __strcpy_power8 function.
10355         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
10356         stpcpy for POWER8.
10357         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
10358         strcpy for POWER8.
10359         * NEWS: Update.
10361 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
10363         [BZ #16009]
10364         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
10365         weights and rules. Use do_xfrm_cached if data fits in cache,
10366         do_xfrm otherwise.  Moved former main loop to...
10367         * (do_xfrm_cached): New function.
10368         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
10369         find_idx, find_position and stack_push.
10370         * (find_idx): New function.
10371         * (find_position): Likewise.
10372         * localedata/sort-test.sh: Added test run for do_xfrm.
10373         * localedata/xfrm-test.c (main): Added command line option
10374         -nocache to run the test with strings that are too large for
10375         the STRXFRM cache.
10377 2015-01-13  Torvald Riegel  <triegel@redhat.com>
10379         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
10380         variable to lll_futex_wake call, not the value itself.
10382 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
10384         [BZ #17803]
10385         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
10386         twom64.  Adjust value to 0x1p-64L.
10387         (__scalblnl): Only return standard underflowing result for K <=
10388         -64 not K <= -63; adjust exponent for underflowing result by 64
10389         not 63.
10390         * math/libm-test.inc (scalbn_test_data): Add more tests.
10391         (scalbln_test_data): Likewise.
10393         [BZ #17834]
10394         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
10395         0x1p63L.
10396         (__scalblnl): Get new exponent of adjusted subnormal value from ES
10397         not HX.
10398         * math/libm-test.inc (scalbn_test_data): Add more tests.
10399         (scalbln_test_data): Likewise.
10401 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10402             Stefani Seibold  <stefani@seibold.net>
10404         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
10405         (sysdep_routines): Add dl-vdso here, ...
10406         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
10407         (sysdep_routines): ... not here.
10408         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
10409         fallback when vDSO is not presented.
10410         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
10411         Define with libc_hidden_proto/libc_hidden_data_def definitions.
10412         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
10413         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
10414         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
10415         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
10416         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
10417         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
10418         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
10419         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
10420         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
10421         fallback configurable symbol when vDSO is not available.
10422         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
10423         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
10424         be able to redefine fallback symbol when vDSO is not available.
10425         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
10426         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
10428 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10430         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
10431         (TLS_INIT_TP): Add tm_capable initialization.
10432         (TLS_DEFINE_INIT_TP): Likewise.
10433         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
10434         TCB.
10435         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
10436         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
10437         calculation.
10438         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
10439         transactoion is lock elision is built and TCB tm_capable is set.
10440         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
10441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10442         (INTERNAL_SYSCALL_NCS): Likewise.
10443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10444         (INTERNAL_SYSCALL_NCS): Likewise.
10445         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
10447         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
10448         for powerpc.
10449         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10450         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
10451         and remove it for 32 bits case.
10452         [pthread_rwlock_t] (__rwelision): New field for lock elision.
10453         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
10454         initialization.
10455         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
10456         Disable lock elision with rdlocks if elision is not available.
10458         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
10459         (sysdep_routines): Add lock elision objects.
10460         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10461         [pthread_mutex_t] (__spins): Rework to add lock elision field.
10462         [pthread_mutex_t] (__elision): Add field.
10463         [__PTHREAD_SPINS]: Adjust to init lock elision field.
10464         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
10465         elision definitions for powerpc.
10466         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
10467         implementation of lock elision for powerpc.
10468         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
10469         implementation of timed lock elision for powerpc.
10470         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
10471         implementation of trylock with lock elision for powerpc.
10472         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
10473         implementaion of unlock for lock elision for powerpc.
10474         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
10475         automatic enable lock elision for mutexes.
10476         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
10477         transaction execution definitions for powerpc.
10478         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
10479         definitions.
10480         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
10481         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
10482         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
10483         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
10484         * NEWS: Update.
10486 2015-01-09  Roland McGrath  <roland@hack.frob.com>
10488         * sysdeps/posix/shm-directory.c: Use <> rather than ""
10489         for #include of <shm-directory.h>.
10491 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
10493         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
10494         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
10496 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
10498         [BZ #17791]
10499         * NEWS: Mention bug fix.
10500         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
10501         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
10502         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
10504 2015-01-09  Torvald Riegel <triegel@redhat.com>
10506         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
10508 2015-01-09  Torvald Riegel <triegel@redhat.com>
10510         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
10512 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
10514         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
10515         pointer and cast to uintptr_t.
10517 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
10519         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
10520         removed.
10521         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
10523 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
10525         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
10526         of 0.
10528 2015-01-08  Roland McGrath  <roland@hack.frob.com>
10530         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
10531         <nptl/pthreadP.h> instead.
10532         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
10534         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
10535         already defined.
10536         [__SIGRTMIN] (init): Function removed.
10537         [__SIGRTMIN] (initialized): Variable removed.
10538         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
10539         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
10540         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
10541         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
10542         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
10543         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
10544         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
10545         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
10546         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
10547         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
10548         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
10549         * sysdeps/nptl/allocrtsig.c: New file.
10550         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
10551         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
10552         * sysdeps/generic/testrtsig.h: File removed.
10554         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
10555         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
10557         * nptl/nptl-init.c (pthread_functions): Conditionalize
10558         .ptr__nptl_setxid initialization on [SIGSETXID].
10560         * sysdeps/nptl/sys/procfs.h: New file.
10561         * nptl_db/Makefile (headers): Add it.
10562         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
10564         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
10565         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
10566         * nptl/pthread_attr_setaffinity.c: Include it.
10567         * nptl/pthread_setattr_default_np.c: Likewise.
10568         * nptl/check-cpuset.h: New file.
10570 2015-01-08  Richard Henderson  <rth@redhat.com>
10572         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
10573         (CFLAGS-tst-execstack-prog.c): Likewise.
10574         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
10576 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
10577             Sandra Loosemore  <sandra@codesourcery.com>
10578             Andrew Jenner  <andrew@codesourcery.com>
10579             Joseph Myers  <joseph@codesourcery.com>
10580             Nathan Sidwell  <nathan@codesourcery.com>
10582         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
10583         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
10584         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
10585         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
10586         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
10587         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
10588         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
10589         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
10590         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
10591         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
10592         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
10593         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
10594         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
10595         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
10596         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
10597         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
10598         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
10600 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10602         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
10603         timespec struct member in syscall macro.
10604         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10605         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
10606         first timeval struct member in syscall macro.
10607         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
10609 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
10611         [BZ #17748]
10612         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
10613         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
10614         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
10615         __feupdateenv and define as weak alias of __feupdateenv.  Use
10616         libm_hidden_weak.
10617         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
10618         libm_hidden_def.
10619         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
10620         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
10621         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10622         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
10623         libm_hidden_def.
10624         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
10625         __feupdateenv and define as weak alias of __feupdateenv.  Use
10626         libm_hidden_weak.
10627         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
10628         libm_hidden_def.
10629         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
10630         __feupdateenv and define as weak alias of __feupdateenv.  Use
10631         libm_hidden_weak.
10632         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
10633         libm_hidden_def.
10634         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10635         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10636         (__feupdateenv): Likewise.
10637         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
10638         __feupdateenv and define as weak alias of __feupdateenv.  Use
10639         libm_hidden_weak.
10640         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10641         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
10642         libm_hidden_def.
10643         * sysdeps/tile/math_private.h (__feupdateenv): New inline
10644         function.
10645         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
10646         libm_hidden_def.
10647         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
10648         __feupdateenv instead of feupdateenv.
10649         (default_libc_feupdateenv_test): Likewise.
10650         (libc_feresetround_ctx): Likewise.
10652 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10654         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
10655         prototype.
10657 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
10659         * posix/regcomp.c (parse_bracket_exp): Initialize type to
10660         COLL_SYM in a couple of places to avoid uninitialized variable
10661         wanings on tilegx gcc 4.8.2.
10663 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
10665         * sysdeps/aarch64/strcpy.S: New file.
10666         * sysdeps/aarch64/stpcpy.S: New file.
10667         * NEWS: Updated.
10669 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
10671         * sysdeps/aarch64/strrchr.S: New file.
10672         * NEWS: Updated.
10674 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
10676         [BZ #17658]
10677         * stdlib/setenv.c: Fix memory leak when setting large,
10678         duplicate string.
10680 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
10682         [BZ #17273]
10683         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
10684         and tabs from buffer before parsing fstab entry.
10685         * misc/tst-mntent.c (main): Add test for mount entry with
10686         trailing spaces and tabs.
10688 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
10690         [BZ #17748]
10691         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
10692         * math/fesetround.c (fesetround): Rename to __fesetround and
10693         define as weak alias of __fesetround.  Use libm_hidden_weak.
10694         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
10695         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
10696         * sysdeps/arm/fesetround.c (fesetround): Likewise.
10697         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
10698         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
10699         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
10700         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
10701         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
10702         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
10703         __fesetround_inline.
10704         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
10705         __fesetround_inline instead of __fesetround.
10706         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
10707         __fesetround and define as weak alias of __fesetround.  Use
10708         libm_hidden_weak.  Call __fesetround_inline instead of
10709         __fesetround.
10710         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
10711         __fesetround and define as weak alias of __fesetround.  Use
10712         libm_hidden_weak.
10713         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
10714         Likewise.
10715         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
10716         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10717         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
10718         * sysdeps/tile/math_private.h (__fesetround): New inline function.
10719         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
10720         __fesetround and define as weak alias of __fesetround.  Use
10721         libm_hidden_weak.
10722         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
10723         __fesetround instead of fesetround.
10724         (default_libc_feholdexcept_setround): Likewise.
10725         (libc_feholdsetround_ctx): Likewise.
10726         (libc_feholdsetround_noex_ctx): Likewise.
10728         [BZ #17748]
10729         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
10730         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
10731         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10732         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
10733         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10734         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
10735         define as weak alias of __fesetenv.  Use libm_hidden_weak.
10736         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
10737         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10738         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10739         define as weak alias of __fesetenv.  Use libm_hidden_weak.
10740         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10741         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10742         define as weak alias of __fesetenv.  Use libm_hidden_weak.
10743         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
10744         libm_hidden_def.
10745         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
10746         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
10747         Likewise.
10748         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10749         define as weak alias of __fesetenv.  Use libm_hidden_weak.
10750         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10751         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10752         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
10753         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10754         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
10755         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
10756         __fesetenv instead of fesetenv.
10757         (libc_feresetround_noex_ctx): Likewise.
10758         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10759         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10760         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
10761         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10762         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10763         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10764         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10765         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10766         (__feupdateenv): Likewise.
10767         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10768         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10769         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10770         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
10772 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
10774         [BZ #17806]
10775         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
10776         addresses have been freed.
10778 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
10780         * resolv/res_init.c (__res_vinit): Improve comments about nserv
10781         and nservall.
10783 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
10785         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
10786         Clean up check_pf allocation pattern. addresses
10788 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10790         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
10791         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
10792         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
10793         * nptl/pthread_exit.c (__pthread_exit): Likewise.
10794         * nptl/pthread_join.c (pthread_join): Likewise.
10795         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
10796         * sysdeps/posix/waitid.c (__waitid): Likewise.
10797         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10798         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10799         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10800         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10801         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10802         Likewise.
10803         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10804         (__libc_pread64): Likewise.
10805         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10806         (__libc_pwrite): Likewise.
10807         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10808         (__libc_pwrite64): Likewsie.
10809         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10810         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10811         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10812         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10813         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10814         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10815         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10817         Likewise.
10818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10819         (__libc_pread64): Likewise.
10820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
10821         Likewise.
10822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10823         (__libc_pwrite64): Likewise.
10824         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10825         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10826         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
10827         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10828         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10829         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10830         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
10831         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10832         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10833         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10834         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
10835         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10836         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10837         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
10838         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10839         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10840         Likewise.
10842 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
10844         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
10845         (CFLAGS-test-double.c): Likewise.
10846         (CFLAGS-test-ldouble.c): Likewise.
10847         (CPPFLAGS-test-ifloat.c): Likewise.
10848         (CPPFLAGS-test-idouble.c): Likewise.
10849         (CPPFLAGS-test-ildoubl.c): Likewise.
10850         (CFLAGS-test-test-fenv.c): Remove variable.
10851         (CFLAGS-test-misc.c): Likewise.
10853 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
10855         [BZ #17797]
10856         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
10857         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
10858         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
10859         CLOCKS_PER_SEC == 1000000.
10860         * time/clocktest.c (main): Replace %ld with %jd and cast to
10861         intmax_t.
10863 2015-01-05  Roland McGrath  <roland@hack.frob.com>
10865         * sysdeps/generic/unwind-resume.h: New file.
10866         * sysdeps/gnu/unwind-resume.c: Include it.
10867         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
10868         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
10869         argument list.
10870         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
10871         global rather than static.
10872         (_Unwind_Resume): Update user.
10873         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
10874         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
10875         rather than static.  Add __attribute__ ((cold)).
10876         (_Unwind_Resume, __gcc_personality_v0): Update callers.
10877         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
10878         * sysdeps/arm/arm-unwind-resume.S: New file.
10879         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
10880         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
10881         * sysdeps/arm/Makefile [$(subdir) = csu]
10882         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
10883         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10884         Add rt-arm-unwind-resume.
10885         [$(subdir) = nptl]
10886         (libpthread-sysdep_routines, libpthread-shared-only-routines):
10887         Add pt-arm-unwind-resume.
10888         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
10889         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
10891 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
10893         [BZ #17748]
10894         * include/fenv.h (__feholdexcept): Declare.  Use
10895         libm_hidden_proto.
10896         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
10897         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
10898         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10899         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
10900         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
10901         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
10902         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
10903         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10904         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
10905         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
10906         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10907         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
10908         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
10909         (feholdexcept): Likewise.
10910         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10911         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10912         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10913         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10914         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
10915         __feholdexcept instead of feholdexcept.
10916         (default_libc_feholdexcept_setround): Likewise.
10918 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
10920         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
10921         to avoid using stl/str to align destination.
10923 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
10925         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
10927 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
10929         [BZ #17796]
10930         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
10931         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
10932         Define as weak alias not strong alias.
10934 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
10936         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
10937         bltzal with addiupc.
10938         (RTLD_START): Ditto.
10940 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
10942         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
10943         for __vdso_* functions in declarations.
10944         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
10945         definitions.
10946         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
10947         INTERNAL_VSYSCALL): Use struct return types to check for error.
10949         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
10950         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
10951         function with cast from llround().
10952         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
10953         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10954         Define.
10956 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
10958         [BZ #17793]
10959         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
10960         Define as weak alias not strong alias.
10962         [BZ #17635]
10963         * ctype/ctype-c99.c: New file.  isblank implementation moved from
10964         ...
10965         * ctype/ctype-extn.c: ... here.
10966         (__isblank_l): Move to ...
10967         * ctype/ctype-c99_l.c: ... here.  New file.
10968         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
10969         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
10970         Remove variable.
10971         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10972         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10973         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10974         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10975         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10977         [BZ #17777]
10978         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
10979         (posix_fadvise64): Define as weak alias not strong alias.
10980         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10981         (posix_fallocate64): Likewise.
10982         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
10983         Remove variable.
10984         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10985         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10986         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10987         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10988         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10990 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
10992         [BZ #16191]
10993         * NEWS: Mention bug fix.
10994         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
10995         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
10996         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
10997         (HOST_STACK_END_ADDR): Likewise.
10999 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
11001         [BZ #17748]
11002         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
11003         * math/fegetround.c (fegetround): Rename to __fegetround and
11004         define as weak alias of __fegetround.  Use libm_hidden_weak.
11005         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
11006         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
11007         * sysdeps/arm/fegetround.c (fegetround): Likewise.
11008         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
11009         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11010         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
11011         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
11012         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
11013         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11014         Undefine after rather than before function definition; use
11015         parentheses around function name in definition.
11016         (__fegetround): Also undefine macro after function definition.
11017         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
11018         __fegetround and define as weak alias of __fegetround.  Use
11019         libm_hidden_weak.  Do not undefine as macro.
11020         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11021         Likewise.
11022         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
11023         __fegetround and define as weak alias of __fegetround.  Use
11024         libm_hidden_weak.
11025         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11026         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11027         * sysdeps/tile/math_private.h (__fegetround): New inline function.
11028         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
11029         __fegetround and define as weak alias of __fegetround.  Use
11030         libm_hidden_weak.
11031         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
11032         __fegetround instead of fegetround.
11034         [BZ #17782]
11035         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
11036         Condition macro definition on [__USE_MISC].
11038         [BZ #17781]
11039         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
11040         (struct sigaction): Change type of sa_flags field to int.
11042         [BZ #17780]
11043         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
11044         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
11045         __glibc_reserved0.
11047         * nptl/version.c (banner): Use single year in copyright notice.
11049         * NEWS: Update copyright dates.
11050         * catgets/gencat.c (print_version): Likewise.
11051         * csu/version.c (banner): Likewise.
11052         * debug/catchsegv.sh: Likewise.
11053         * debug/pcprofiledump.c (print_version): Likewise.
11054         * debug/xtrace.sh (do_version): Likewise.
11055         * elf/ldconfig.c (print_version): Likewise.
11056         * elf/ldd.bash.in: Likewise.
11057         * elf/pldd.c (print_version): Likewise.
11058         * elf/sotruss.sh: Likewise.
11059         * elf/sprof.c (print_version): Likewise.
11060         * iconv/iconv_prog.c (print_version): Likewise.
11061         * iconv/iconvconfig.c (print_version): Likewise.
11062         * locale/programs/locale.c (print_version): Likewise.
11063         * locale/programs/localedef.c (print_version): Likewise.
11064         * login/programs/pt_chown.c (print_version): Likewise.
11065         * malloc/memusage.sh (do_version): Likewise.
11066         * malloc/memusagestat.c (print_version): Likewise.
11067         * malloc/mtrace.pl: Likewise.
11068         * manual/libc.texinfo: Likewise.
11069         * nptl/version.c (banner): Likewise.
11070         * nscd/nscd.c (print_version): Likewise.
11071         * nss/getent.c (print_version): Likewise.
11072         * nss/makedb.c (print_version): Likewise.
11073         * posix/getconf.c (main): Likewise.
11074         * scripts/test-installation.pl: Likewise.
11075         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11077 2015-01-02  Will Newton  <will.newton@linaro.org>
11079         * sysdeps/arm/armv7/configure: Removed.
11080         * sysdeps/arm/armv7/configure.ac: Likewise.
11082 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
11084         * All files with FSF copyright notices: Update copyright dates
11085         using scripts/update-copyrights.
11086         * intl/plural.c: Regenerated.
11087         * locale/programs/charmap-kw.h: Likewise.
11088         * locale/programs/locfile-kw.h: Likewise.
11090 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11092         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
11094 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
11096         [BZ #17748]
11097         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
11098         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
11099         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11100         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
11101         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11102         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
11103         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11104         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
11105         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11106         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11107         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11108         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11109         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11110         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11111         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
11112         libm_hidden_def.
11113         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
11114         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
11115         Likewise.
11116         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11117         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11118         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11119         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11120         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
11121         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11122         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
11123         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
11124         __fegetenv instead of fegetenv.
11125         (libc_feholdsetround_noex_ctx): Likewise.
11127 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
11129         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
11130         (Elf_MIPS_ABIFlags_v0): New structure.
11131         (EF_MIPS_FP64): Define.
11132         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
11133         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
11134         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
11135         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
11136         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
11137         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
11138         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
11139         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
11140         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
11141         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
11142         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
11143         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
11144         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
11145         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
11146         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
11147         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
11148         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
11149         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
11150         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
11151         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
11152         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
11153         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
11154         field.
11155         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
11156         EF_MIPS_FP64.
11157         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
11158         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
11159         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
11160         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
11161         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
11162         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
11163         * sysdeps/mips/tst-abi-interlink.c: Likewise.
11164         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
11165         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
11166         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
11167         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
11168         record the current FP ABI extension.
11169         (mips-mode-switch): Define to show if kernel headers support mode
11170         switching.
11171         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11172         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
11173         supported SYSV ABI version to 3.
11174         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
11175         feature.
11177 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11178             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11180         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
11181         path.
11182         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
11184 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
11186         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
11187         __fegetround and redefine to call __fegetround.  Remove condition
11188         on [!__NO_MATH_INLINES].
11189         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
11190         function.
11191         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
11192         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11193         Remove macro.
11194         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
11195         instead of <fenv_libc.h>.
11196         (__llrintl): Call fegetround instead of __fegetround.
11197         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
11198         instead of <fenv_libc.h>.
11199         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11200         (__lrintl): Call fegetround instead of __fegetround.
11201         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
11202         instead of <fenv_libc.h>.
11203         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11204         (__rintl): Call fegetround instead of __fegetround.
11206 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11208         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
11209         arrays.
11211 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
11213         [BZ #17775]
11214         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
11215         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
11216         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
11218 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
11220         * sysdeps/i386/tls-macros.h: Include <features.h>.
11221         (TLS_LE): Use non-PIC version for GCC >= 5.0.
11222         (TLS_IE): Likewise.
11223         (TLS_LD): Likewise.
11224         (TLS_GD): Likewise.
11225         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
11226         define for GCC >= 5.0.
11228 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
11230         * math/test-fenv.c (test_single_exception, set_single_exc,
11231         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
11232         feexcp_mask_test, feenable_test, fe_single_test): Add
11233         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
11234         case where they are not used.
11235         * math/libm-test.inc: Likewise.
11236         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
11237         unused in the absence of FP rounding/exception support.
11238         * stdio-common/tst-printf-round.c: Likewise.
11239         * stdlib/tst-strtod-round.c: Likewise.
11240         * stdlib/tst-strtod-underflow.c: Likewise.
11242 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
11244         [BZ #17723]
11245         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
11246         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
11247         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11248         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
11249         libm_hidden_weak.
11250         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
11251         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11252         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
11253         libm_hidden_def.
11254         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11255         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
11256         libm_hidden_weak.
11257         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
11258         Likewise.
11259         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
11260         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11261         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
11262         libm_hidden_weak.
11263         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11264         libm_hidden_def.
11265         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11266         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
11267         (__feraiseexcept): Likewise.
11268         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11269         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
11270         libm_hidden_weak.
11271         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11272         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11273         libm_hidden_def.
11274         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
11275         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
11276         Use libm_hidden_def.
11277         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
11278         libm_hidden_def.
11279         (feraiseexcept): Define as weak not strong alias.  Use
11280         libm_hidden_weak.
11281         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
11282         New inline function.  Factored out of ...
11283         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
11284         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
11285         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
11286         feraiseexcept.
11287         * math/w_acos.c (__acos): Likewise.
11288         * math/w_asin.c (__asin): Likewise.
11289         * math/w_ilogb.c (__ilogb): Likewise.
11290         * math/w_j0.c (y0): Likewise.
11291         * math/w_j1.c (y1): Likewise.
11292         * math/w_jn.c (yn): Likewise.
11293         * math/w_log.c (__log): Likewise.
11294         * math/w_log10.c (__log10): Likewise.
11295         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
11296         * sysdeps/aarch64/fpu/math_private.h
11297         (libc_feupdateenv_test_aarch64): Likewise.
11298         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11299         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
11300         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
11301         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11302         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11303         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11304         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
11305         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11306         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11307         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11309 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
11311         [BZ #17732]
11312         * io/test-utime.c (main): Replace %ld with %jd and cast to
11313         intmax_t.
11314         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
11315         * nptl/tst-mutex5.c: Include <stdint.h>.
11316         (do_test): Replace %ld with %jd and cast to intmax_t.
11317         * posix/tst-regex.c (run_test): Likewise.
11318         (run_test_backwards): Likewise.
11319         * rt/tst-clock.c: Include <stdint.h>.
11320         (clock_test): Replace %ld with %jd and cast to intmax_t.
11321         * rt/tst-cpuclock1.c: Include <stdint.h>.
11322         (do_test): Replace %lu with %ju and cast to uintmax_t.
11323         * rt/tst-cpuclock2.c: Include <stdint.h>.
11324         (do_test): Replace %lu with %ju and cast to uintmax_t.
11325         * rt/tst-mqueue1.c: Include <stdint.h>.
11326         (check_attrs): Replace %ld with %jd and cast to intmax_t.
11327         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
11328         intmax_t.
11329         * rt/tst-mqueue4.c (do_test): Likewise.
11330         * rt/tst-timer4.c: Include <stdint.h>.
11331         (check_ts): Replace %ld with %jd and cast to intmax_t.
11332         (do_test): Likewise.
11333         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
11334         and cast to intmax_t.
11335         * sysdeps/pthread/tst-timer.c (main): Likewise.
11336         * time/clocktest.c (main): Likewise.
11337         * time/tst-posixtz.c (do_test): Likewise.
11338         * timezone/tst-timezone.c (main): Likewise.
11340 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
11341             H.J. Lu  <hongjiu.lu@intel.com>
11343         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
11344         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
11345         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
11346         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
11347         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
11348         version if bit_Fast_Unaligned_Load is set.
11349         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11350         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11351         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11352         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11353         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11354         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11355         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11356         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
11357         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
11358         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
11359         to 4.
11360         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
11361         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
11362         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
11363         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
11365 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
11367         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
11368         instead of #if to avoid a Wundef warning.
11369         * stdlib/tst-limits.c (do_test): Likewise.
11371         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
11372         parallel other exception macros.
11373         (fegetenv): Convert from macro to extern inline so that it applies
11374         retroactively to inline functions already seen by the compiler.
11375         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
11377         * posix/Makefile (before-compile): Use $(objpfx) for
11378         posix-conf-vars-def.h.
11380 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11382         * posix/getconf.c (main): Use size_t for type of I.
11383         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
11384         NSPEC.
11386         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
11387         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
11388         * posix/posix-envs.def: Likewise.
11389         * sysdeps/posix/sysconf.c: Likewise.
11390         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
11391         (specs): Remove array.
11392         * scripts/gen-posix-conf-vars.awk: Support generation of specs
11393         array.
11395         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
11396         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
11397         (__sysconf): Use CONF_IS_* macros.
11399         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
11400         ($(objpfx)posix-conf-vars-def.h): New target.
11401         * posix/posix-conf-vars.list: New file.
11402         * posix/posix-conf-vars.h: New file.
11403         * posix/confstr.c: Include posix-conf-vars.h.
11404         (confstr): Use CONF_IS_* macros.
11405         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
11406         CONF_IS_* macros.
11407         * scripts/gen-posix-conf-vars.awk: New file.
11409 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
11411         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
11412         fegetround): Add no-op macros to avoid linknamespace issues.
11414         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
11415         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
11417         * sysdeps/unix/sysv/linux/tile/sysdep.h
11418         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
11419         assembly-specific section to avoid a redefinition warning.
11421         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
11422         long before casting to pointer to avoid a cast warning.
11424 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
11426         * sysdeps/tile/tilegx/Implies: New file.
11428 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
11430         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
11432 2014-12-23  Florian Weimer  <fweimer@redhat.com>
11434         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
11436 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
11438         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
11439         not define.
11440         * sysdeps/unix/sysv/linux/utimes.c: Do not include
11441         <kernel-features.h>.
11442         (__utimes) [__NR_utimes]: Make code unconditional.
11443         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
11444         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11445         (__ASSUME_UTIMES): Do not undefine.
11446         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11447         (__ASSUME_UTIMES): Likewise.
11448         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11449         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
11450         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
11451         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
11453 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
11455         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
11457 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
11459         [BZ #17747]
11460         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
11461         alias to weak alias for j0l, y0l.
11462         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
11463         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
11465         [BZ #17746]
11466         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
11467         conversion.
11469 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
11471         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
11472         to zero if not already defined.
11474 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
11476         [BZ #17724]
11477         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
11478         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
11479         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
11480         (char *) casts added.
11481         * sysdeps/ieee754/k_standardf.c: New file.
11482         * sysdeps/ieee754/k_standardl.c: Likewise.
11483         * math/Makefile (libm-support): Remove k_standard.
11484         (libm-calls): Add k_standard.
11486 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
11488         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11489         Optimize to avoid an unnecessary FPCR read.
11491 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
11493         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
11494         Optimize to reduce FPCR/FPSR accesses.
11496 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
11498         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
11499         Call libc_fetestexcept_aarch64.
11501 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
11503         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
11504         Call libc_fesetround_aarch64.
11506 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
11508         [BZ #17733]
11509         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
11510         (__bind): Do not define as weak alias.
11511         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
11512         define.
11513         (__getsockname): Do not define as weak alias.
11515 2014-12-22  Will Newton  <will.newton@linaro.org>
11517         * manual/install.texi: Document that we require bison 2.7
11518         or above.
11519         * INSTALL: Regenerate.
11520         * configure.ac: Use AC_CHECK_PROG_VER instead of
11521         AC_PATH_PROG when checking for bison and check for
11522         version 2.7 or above.
11523         * configure: Regenerate.
11525 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
11527         [BZ #17745]
11528         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
11529         * sysdeps/tile/ffsll.c (ffsll): To here.
11531         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
11533 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
11535         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
11536         if not defined.
11537         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
11538         definition.
11539         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11540         hidden ___tls_get_addr.
11541         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11542         hidden __tls_get_addr.
11543         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
11544         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
11545         Likewise.
11547 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
11549         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
11550         _dl_init call.
11552 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
11554         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
11555         from "call _dl_init@PLT".
11556         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
11558 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
11560         * manual/search.texi: (Array Sort Function): Clarify stable sorting
11561         guarantees.
11563 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
11565         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
11567 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
11569         [BZ #17744]
11570         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
11571         strnlen.
11573 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
11575         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
11576         of multu on MIPSr6.
11577         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
11578         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
11579         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
11580         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
11581         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
11583 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
11585         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
11586         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
11587         (PTR_SUBU): Use subu for mips32r6/mips64r6.
11588         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
11589         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
11590         mips32r6/mips64r6.
11591         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
11593 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
11595         * string/strncat.c (STRNCAT): Simplify implementation.
11597 2014-12-19  David S. Miller  <davem@davemloft.net>
11599         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
11600         access the quad as both a long double and as a series of 4 words.
11602         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
11603         link_map->l_info array access.
11605 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
11607         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
11609         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
11610         * math/atest-exp2.c (TIMEOUT): Likewise.
11611         * math/atest-sincos.c (TIMEOUT): Likewise.
11613 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
11615         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
11616         -Wno-error with -fno-builtin-lround.
11618 2014-12-19  Torvald Riegel  <triegel@redhat.com>
11620         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
11621         Contains futex constants and functions moved over from ...
11622         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
11623         <lowlevellock-futex.h>.
11624         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11625         (lll_timedwait_tid): Add comments and parentheses around macro
11626         arguments.
11628 2014-12-19  Torvald Riegel  <triegel@redhat.com>
11630         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
11631         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
11632         (__lll_private_flag): Remove.
11633         (lll_futex_wait): Likewise.
11634         (lll_futex_timed_wait): Likewise.
11635         (lll_futex_wake): Likewise.
11636         (lll_futex_requeue): Likewise.
11637         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11638         (__lll_timedwait_tid): Spell out argument names.
11639         (lll_timedwait_tid): Add comments and parentheses around macro
11640         arguments.
11641         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
11642         LLL_SHARED and LLL_PRIVATE usable from assembly code.
11644 2014-12-19  Torvald Riegel  <triegel@redhat.com>
11646         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
11647         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11648         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11649         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
11650         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
11651         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
11652         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
11653         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
11654         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
11655         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
11656         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
11657         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
11658         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
11659         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
11660         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
11661         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
11662         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
11663         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
11664         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
11666 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
11668         * sysdeps/x86_64/x32/Makefile: New file.
11670 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
11672         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
11673         1L with (mp_limb_t) 1.
11675 2014-12-17  Roland McGrath  <roland@hack.frob.com>
11677         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
11678         * nptl/libc_pthread_init.c: ... here.
11679         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
11680         * nptl/register-atfork.c: ... here.
11682         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
11683         Use pthread_sigmask rather than INTERNAL_SYSCALL.
11684         Use assert_perror to check its return value.
11685         (__gai_create_helper_thread): Likewise.
11687         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
11689         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
11691 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
11693         [BZ #17725]
11694         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
11695         __profil_counter.
11696         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
11697         Likewise.
11698         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
11699         Likewise.
11700         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
11701         Likewise.
11702         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
11703         (profil_counter): Likewise.
11704         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
11705         (profil_counter): Likewise.
11706         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
11707         Likewise.
11708         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
11709         Likewise.
11710         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
11711         (profil_counter): Likewise.
11712         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
11713         Likewise.
11714         [!__profil_counter] (profil_counter): Define as weak alias of
11715         __profil_counter.
11716         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
11717         (profil_counter): Rename to __profil_counter.
11718         [!__profil_counter] (profil_counter): Define as weak alias of
11719         __profil_counter.
11720         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
11721         (profil_counter): Rename to __profil_counter.
11722         [!__profil_counter] (profil_counter): Define as weak alias of
11723         __profil_counter.
11724         * sysdeps/posix/profil.c: Update comment referring to
11725         profil_counter.
11726         (__profil): Use __profil_counter instead of profil_counter.
11727         * sysdeps/posix/sprofil.c (profil_counter): Rename to
11728         __profil_counter.  Use __profil_counter_ushort and
11729         __profil_counter_uint in definitions.
11730         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
11731         instead of profil_counter_uint and profil_counter_ushort.
11733         [BZ #17722]
11734         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
11735         define as weak alias of __inet_makeaddr.
11736         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
11737         as weak alias of __inet_addr.
11738         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
11739         as weak alias of __inet_pton.  Use libc_hidden_weak.
11740         * include/arpa/inet.h (__inet_pton): Declare.  Use
11741         libc_hidden_proto.
11742         (inet_makeaddr): Don't use libc_hidden_proto.
11743         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
11744         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
11745         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
11746         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
11747         Remove variable.
11748         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11749         (test-xfail-POSIX/time.h/linknamespace): Likewise.
11751 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
11753         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
11755 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
11757         * stdio-common/bug-vfprintf-nargs.c (do_test):
11758         Cast value to intptr_t to avoid format warning
11759         for usage with PRIdPTR printing macro.
11761 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
11763         * libio/tst-widetext.c (do_test):
11764         Use format type %td instead of %Zd for ptrdiff_t
11765         in order to avoid format warning.
11767 2014-12-17  Andreas Schwab  <schwab@suse.de>
11769         * nscd/mem.c (gc): Add size_t cast to match printf format.
11771 2014-12-16  Roland McGrath  <roland@hack.frob.com>
11773         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
11774         (init): Apply PTR_MANGLE to pointers before storing them.
11775         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
11776         before using them.
11778 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
11780         [BZ #17719]
11781         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
11782         define as weak alias of __memrchr.
11783         (__memrchr): Do not define as strong alias of memrchr.
11784         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
11785         Remove variable.
11786         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11787         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11788         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11790         [BZ #17717]
11791         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
11792         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
11793         (if_indextoname): Rename to __if_indextoname and define as weak
11794         alias of __if_indextoname.  Use libc_hidden_weak.
11795         (if_freenameindex): Rename to __if_freenameindex and define as
11796         weak alias of __if_freenameindex.
11797         (if_nameindex): Rename to __if_nameindex and define as weak alias
11798         of __if_nameindex.
11799         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
11800         __if_nametoindex and define as weak alias of __if_nametoindex.
11801         Use libc_hidden_weak.
11802         (if_freenameindex): Rename to __if_freenameindex and define as
11803         weak alias of __if_freenameindex.
11804         (if_nameindex): Rename to __if_nameindex and define as weak alias
11805         of __if_nameindex.
11806         (if_indextoname): Rename to __if_indextoname and define as weak
11807         alias of __if_indextoname.  Use libc_hidden_weak.
11808         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
11809         __if_nametoindex and define as weak alias of __if_nametoindex.
11810         Use libc_hidden_weak.
11811         (if_freenameindex): Rename to __if_freenameindex and define as
11812         weak alias of __if_freenameindex.  Use libc_hidden_weak.
11813         (if_nameindex_netlink): Use __if_freenameindex instead of
11814         if_freenameindex.
11815         (if_nameindex): Rename to __if_nameindex and define as weak alias
11816         of __if_nameindex.  Use libc_hidden_weak.
11817         (if_indextoname): Rename to __if_indextoname and define as weak
11818         alias of __if_indextoname.  Use libc_hidden_weak.
11819         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
11820         libc_hidden_proto.
11821         [!_ISOMAC] (__if_freenameindex): Likewise.
11822         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
11823         if_nametoindex.
11824         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
11825         variable.
11826         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11827         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11828         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11829         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11830         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11831         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11832         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11834         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
11835         Remove variable.
11836         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11837         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11839 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11841         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
11842         subscript above bounds'
11844         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
11845         bounds.
11847 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
11849         * libio/tst-fopenloc.c: Use test-skeleton.c.
11851         * stdlib/tst-bsearch.c: Use test-skeleton.c.
11852         (entry): Rename to ITEM.
11853         (do_test, comp): Adjust.
11855         * stdio-common/tst-fseek.c: Use test-skeleton.c.
11857 2014-12-16  Torvald Riegel  <triegel@redhat.com>
11859         * string/tester.c: Include <libc-internal.h>.
11860         (test_memset): Ignore -Wmemset-transposed-args.
11862 2014-12-16  Torvald Riegel  <triegel@redhat.com>
11864         * misc/tst-mntent2.c (do_test): Fix warning.
11866 2014-12-16  Torvald Riegel  <triegel@redhat.com>
11868         * elf/tst-unique4lib.cc(a): Mark as used.
11870 2014-12-16  Florian Weimer  <fweimer@redhat.com>
11872         [BZ #17630]
11873         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
11874         names.
11876 2014-12-16  Allan McRae  <allan@archlinux.org>
11878         * stdio-common/Makefile (tests): Re-add bug26.
11880 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
11882         [BZ #17657]
11883         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
11884         static array.
11886 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
11888         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
11889         (__lll_lock_wait): Likewise.
11890         (__lll_timedlock_wait): Likewise.
11891         (__lll_timedwait_tid): Likewise.
11892         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
11893         (__lll_robust_timedlock_wait): Likewise.
11894         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
11895         (lll_cond_trylock): Likewise.
11896         (__lll_lock): Likewise.
11897         (__lll_robust_lock): Likewise.
11898         (__lll_cond_lock): Likewise.
11899         (lll_robust_cond_lock): Likewise.
11900         (__lll_timedlock): Likewise.
11901         (__lll_robust_timedlock): Likewise.
11902         (__lll_unlock): Likewise.
11903         (__lll_robust_unlock): Likewise.
11904         (lll_wait_tid): Likewise.
11905         (lll_timedwait_tid): Likewise.
11907 2014-12-15  Torvald Riegel  <triegel@redhat.com>
11909         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
11911 2014-12-15  Torvald Riegel  <triegel@redhat.com>
11913         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
11915 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
11917         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
11918         * stdio-common/tst-sprintf.c: Likewise.
11920 2014-12-15  Torvald Riegel  <triegel@redhat.com>
11922         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
11924 2014-12-15  Jeff Law  <law@redhat.com>
11926         [BZ #16617]
11927         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
11928         on the heap.  (CVE-2012-3406)
11929         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
11930         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
11931         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
11933 2014-12-15  Will Newton  <will.newton@linaro.org>
11935         * manual/install.texi: Bump required version of texinfo
11936         to 4.7 from 4.5.
11937         * INSTALL: Regenerated.
11938         * configure.ac: Check for makeinfo version 4.7 and above.
11939         * configure: Regenerated.
11941 2014-12-12  Roland McGrath  <roland@hack.frob.com>
11943         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
11944         PREFIX, string constant to insert between directory and name.
11945         * sysdeps/posix/shm_open.c: Update caller.
11946         * sysdeps/posix/shm_unlink.c: Likewise.
11947         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
11948         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
11949         (SEM_SHM_PREFIX): New macro.
11950         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
11951         [$(have-thread-library) = no].
11952         * nptl/Makefile (libpthread-routines): Add shm-directory.
11953         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
11954         * sysdeps/nptl/shm-directory.h: New file.
11955         * sysdeps/posix/shm-directory.c
11956         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
11957         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11958         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
11959         INTERNAL_SYSCALL.
11960         (__where_is_shmfs): Function removed.
11961         (mountpoint, defaultmount, defaultdir, __namedsem_once):
11962         Variables removed.
11963         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
11964         Use SHM_GET_NAME.
11965         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
11967         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
11968         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
11969         unconditional for use inside libpthread.
11970         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
11972 2014-12-12  Roland McGrath  <roland@hack.frob.com>
11974         * nptl/pthread_getaffinity.c: New file.
11975         * nptl/pthread_setaffinity.c: New file.
11976         * nptl/pthread_getname.c: New file.
11977         * nptl/pthread_setname.c: New file.
11979         * nptl/pthread_create.c (START_THREAD_DEFN)
11980         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
11982 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11983             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11985         * resolv/res_send.c (send_vc): Disable warning resplen may
11986         be used uninitialized.
11988 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11990         * nptl/tst-mutex6.c
11991         (ATTR_NULL): New define checks ATTR against NULL.
11992         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
11993         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
11995 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
11997         [BZ #17581]
11998         * malloc/hooks.c
11999         (mem2mem_check): Revert my previous change.
12000         (malloc_check_get_size): Revert my previous change.
12001         (mem2chunk_check): Revert my previous change.
12003 2014-12-11  Roland McGrath  <roland@hack.frob.com>
12005         * sysdeps/posix/shm-directory.c: New file.
12006         * sysdeps/posix/shm-directory.h: New file.
12007         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
12008         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
12009         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
12010         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
12011         Transmute EPERM to EACCES.
12012         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
12013         from ...
12014         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
12015         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
12017 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12019         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
12020         pointer and cast to uintptr_t.
12021         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
12022         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
12023         Add cast to avoid warning.
12024         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
12026 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
12028         * nptl/semaphore.h: Move to ...
12029         * sysdeps/pthread/semaphore.h: ... here.
12030         * Makefile (installed-headers): Change nptl/semaphore.h to
12031         sysdeps/pthread/semaphore.h.
12033 2014-12-11  Roland McGrath  <roland@hack.frob.com>
12035         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
12036         generated error format strings.
12038         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
12039         -Wformat-extra-args warnings for scanf formats.
12040         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
12041         test of zero-length format (duh).
12042         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
12043         corner-case scanf format test.
12044         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
12045         generated fprintf format string.
12046         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
12047         corner-case sprintf format tests.
12048         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
12049         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
12050         -Wformat-extra-args warnings throughout.
12051         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
12052         (CFLAGS-scanf4.c): Likewise.
12053         (CFLAGS-scanf7.c): Likewise.
12054         (CFLAGS-tst-sprintf.c): Likewise.
12055         (CFLAGS-tst-printf.c): Likewise.
12056         (CFLAGS-tst-printfsz.c): Likewise.
12058 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
12060         * include/cpio.h: New file.
12061         * include/fmtmsg.h: Likewise.
12063         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
12064         corresponding format argument to size_t.
12065         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
12066         arguments.
12067         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
12068         corresponding format argument to size_t.
12069         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
12070         arguments.
12071         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
12072         corresponding format argument to size_t.
12073         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
12074         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
12075         (CFLAGS-tst-mbswcs2.c): Likewise.
12076         (CFLAGS-tst-mbswcs3.c): Likewise.
12077         (CFLAGS-tst-mbswcs4.c): Likewise.
12078         (CFLAGS-tst-mbswcs5.c): Likewise.
12079         (CFLAGS-tst-trans.c): Likewise
12081 2014-12-11  Roland McGrath  <roland@hack.frob.com>
12083         * posix/regexbug1.c (main): Use "%s" format with regerror results,
12084         rather than assuming they won't contain any '%'s.
12086 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
12088         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
12089         inhibit_loop_to_libcall to avoid recursive calls.
12090         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
12091         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
12093 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
12095         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
12096         prototype.
12098 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
12100         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
12101         integer value instead of boolean.
12103 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
12105         * malloc/malloc.c: Fix powerof2 check.
12107 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12109         * locale/programs/locfile.h (maybe_swap_uint32):
12110         Remove inline and add unused attribute.
12112 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12114         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12115         Truncating assembler expression to a .long expression.
12117 2014-12-11  Andreas Schwab  <schwab@suse.de>
12119         * elf/rtld.c (struct map_args): Constify str member.
12120         (do_preload): Constify fname argument.
12122 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12124         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
12125         constants definition.
12127 2014-12-11  Andreas Schwab  <schwab@suse.de>
12129         [BZ #16657]
12130         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
12131         FORCE_ELISION instead of DO_ELISION.
12132         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
12133         Remove.
12134         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
12135         Likewise.
12137         * iconvdata/gconv-modules: Remove duplicate entry.
12139 2014-12-11  Will Newton  <will.newton@linaro.org>
12141         Merge gettext 0.19.3 into intl/.
12143         This involves a number of cosmetic changes to comments
12144         and ANSI function definitions and prototypes throughout
12145         all the files. The gettext copyright header is used but
12146         with the date ranges taken from the glibc copy.
12148         * NEWS: Add gettext merge to 2.21.
12149         * intl/bindtextdom.c: Switch to gettext copyright.
12150         Use ANSI definitions and prototypes.
12151         Use gl_* locking primitives rather than __libc_* ones.
12152         Use __builtin_expect rather than __glibc_likely/unlikely.
12153         * intl/dcgettext.c: Switch to gettext copyright.
12154         Use ANSI definitions and prototypes.
12155         * intl/dcigettext.c: Switch to gettext copyright.
12156         Use ANSI definitions and prototypes.
12157         (INTDIV0_RAISES_SIGFPE): New define.
12158         Use gl_* locking primitives rather than __libc_* ones.
12159         Include eval-plural.h instead of plural-eval.c.
12160         Use __builtin_expect rather than __glibc_likely/unlikely.
12161         * intl/dcngettext.c: Switch to gettext copyright.
12162         Use ANSI definitions and prototypes.
12163         * intl/dgettext.c: Likewise.
12164         * intl/dngettext.c: Likewise.
12165         * intl/plural-eval.c: Renamed to...
12166         * intl/eval-plural.h: ...this.
12167         * intl/explodename.c: Switch to gettext copyright.
12168         Use ANSI definitions and prototypes.
12169         (_nl_explode_name): Use strchr instead of __rawmemchr.
12170         * intl/finddomain.c: Switch to gettext copyright.
12171         Use ANSI definitions and prototypes.
12172         Use gl_* locking primitives rather than __libc_* ones.
12173         (_nl_find_domain): Use malloc rather than alloca for
12174         allocation of temporary locale name.
12175         * intl/gettext.c: Switch to gettext copyright.
12176         Use ANSI definitions and prototypes.
12177         * intl/gettextP.h: Switch to gettext copyright.
12178         Use ANSI definitions and prototypes.
12179         Use gl_* locking primitives rather than __libc_* ones.
12180         * intl/gmo.h: Switch to gettext copyright.
12181         (struct sysdep_string): Move struct segment_pair outside of
12182         struct definition.
12183         * intl/hash-string.c: Use ANSI definitions and prototypes.
12184         * intl/hash-string.h: Switch to gettext copyright.
12185         Use ANSI definitions and prototypes.
12186         * intl/l10nflist.c: Switch to gettext copyright.
12187         Use ANSI definitions and prototypes.
12188         (_nl_normalize_codeset): Avoid integer overflow.
12189         * intl/loadinfo.h: Switch to gettext copyright.
12190         Use ANSI definitions and prototypes.
12191         (LIBINTL_DLL_EXPORTED): New define.
12192         (PATH_SEPARATOR): New define.
12193         * intl/loadmsgcat.c: Switch to gettext copyright.
12194         * intl/localealias.c: Switch to gettext copyright.
12195         Use ANSI definitions and prototypes.
12196         (_nl_expand_alias): Use PATH_SEPARATOR.
12197         * intl/ngettext.c: Switch to gettext copyright.
12198         Use ANSI definitions and prototypes.
12199         * intl/plural-exp.c: Likewise.
12200         * intl/plural-exp.h: Switch to gettext copyright.
12201         Use ANSI definitions and prototypes.
12202         (struct expression): Move definition of enum operator outside
12203         of struct definition.
12204         * intl/plural.c: Regenerate.
12205         * intl/plural.y: Switch to gettext copyright.
12206         Use ANSI definitions and prototypes.
12207         Port to bison 3.0.
12208         * intl/textdomain.c: Switch to gettext copyright.
12209         Use ANSI definitions and prototypes.
12210         Use gl_* locking primitives rather than __libc_* ones.
12212 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
12214         * debug/warning-nop.c: Add used atrribute.
12216 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
12218         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
12220         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
12221         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
12222         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
12224 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
12225             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12227         [BZ #17634]
12228         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
12229         Undefine after defining function.  Define as weak alias of
12230         __wcschr.  Use libc_hidden_weak.
12231         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
12232         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
12233         (libc_hidden_def): Also define __GI___wcschr alias.
12234         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
12235         __wcschr and define as weak alias of __wcschr.
12236         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
12237         __wcschr.
12238         [!WCSCHR] (DEFAULT_WCSCHR): Define.
12239         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
12240         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
12241         libc_hidden_weak.  Do not use libc_hidden_def.
12242         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
12243         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
12244         __GI___wcschr alias.
12245         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
12246         [IS_IN (libc)] (wcschr): Define as macro expanding to
12247         __redirect_wcschr.
12248         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
12249         [IS_IN (libc)] (__wcschr_power6): Likewise.
12250         [IS_IN (libc)] (__wcschr_power7): Likewise.
12251         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
12252         instead of wcschr.
12253         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
12254         __libc_wcschr.
12255         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
12256         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
12257         __wcschr and define as weak alias of __wcschr.  Use
12258         libc_hidden_builtin_def.
12259         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
12260         as weak alias of __wcschr.  Use libc_hidden_weak.
12261         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
12262         wcschr.
12263         * time/era.c (_nl_init_era_entries): Likewise.
12264         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
12265         variable.
12266         (test-xfail-XPG3/time.h/linknamespace): Likewise.
12267         (test-xfail-XPG4/time.h/linknamespace): Likewise.
12269 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
12271         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
12272         format for long int variable.
12274 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
12276         [BZ #10672]
12277         * manual/search.texi: (Array Sort Function): Remove claim how to make
12278         qsort stable.
12280 2014-12-10  Andreas Schwab  <schwab@suse.de>
12282         [BZ #12847]
12283         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
12284         user-controlled locks.
12286 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
12288         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
12289         register.
12291 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
12293         * configure.ac (--disable-werror): New configure option.
12294         (enable_werror): New AC_SUBST.
12295         * configure: Regenerated.
12296         * config.make.in (enable-werror): New variable.
12297         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
12298         -Wno-error=undef.
12299         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
12300         * manual/install.texi (Configuring and compiling): Document
12301         --disable-werror.
12302         * INSTALL: Regenerated.
12303         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
12304         (CFLAGS-tst-chk2.c): Likewise.
12305         (CFLAGS-tst-chk3.c): Likewise.
12306         (CFLAGS-tst-chk4.cc): Likewise.
12307         (CFLAGS-tst-chk5.cc): Likewise.
12308         (CFLAGS-tst-chk6.cc): Likewise.
12309         (CFLAGS-tst-lfschk1.c): Likewise.
12310         (CFLAGS-tst-lfschk2.c): Likewise.
12311         (CFLAGS-tst-lfschk3.c): Likewise.
12312         (CFLAGS-tst-lfschk4.cc): Likewise.
12313         (CFLAGS-tst-lfschk5.cc): Likewise.
12314         (CFLAGS-tst-lfschk6.cc): Likewise.
12316         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
12317         (main): Disable -Wdeprecated-declarations around calls to
12318         register_printf_function.
12320         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
12321         (do_test): Disable -Wdiv-by-zero around some calls to
12322         fwrite_unlocked and fread_unlocked.
12324         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
12325         (DIAG_POP_NEEDS_COMMENT): Likewise.
12326         (_DIAG_STR1): Likewise.
12327         (_DIAG_STR): Likewise.
12328         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
12329         * stdio-common/bug21.c: Include <libc-internal.h>.
12330         (do_test): Disable -Wformat around call to sscanf.
12331         * stdio-common/scanf14.c: Include <libc-internal.h>.
12332         (main): Disable -Wformat around some calls to scanf functions.
12334 2014-12-09  Torvald Riegel  <triegel@redhat.com>
12336         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
12338 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12340         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
12341         stack variable alignment.
12343 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
12345         [BZ #17682]
12346         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
12347         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
12348         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
12349         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
12350         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
12351         __getrlimit instead of getrlimit.
12352         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
12353         __gettimeofday instead of gettimeofday.
12354         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12355         Likewise.
12356         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12357         Likewise.
12358         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12359         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
12360         Remove variable.
12361         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12362         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12364 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12366         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
12367         for wide-character tests.
12369 2014-12-04  Roland McGrath  <roland@hack.frob.com>
12371         * io/openat64.c: #include <libc-internal.h>
12372         (__openat64): Prototypify.  Use ignore_value on MODE.
12373         * io/openat.c: Likewise.
12374         * misc/reboot.c: #include <libc-internal.h>
12375         (reboot): Prototypify.  Use ignore_value on HOWTO.
12376         * misc/ptrace.c: #include <libc-internal.h>
12377         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
12379 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
12381         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
12382         XPG4, UNIX98 and XOPEN2K.
12383         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
12384         Remove variable.
12385         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12387 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12389         * libio/fileops.c: Use ISO C style for function definitions.
12390         * libio/iofopen.c: Likewise.
12391         * libio/wfileops.c: Likewise.
12393         [BZ #17653]
12394         * libio/fileops.c (_IO_new_file_underflow): Unset cached
12395         offset on EOF.
12396         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
12397         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
12398         (fgets_func): Function pointer to fgets and fgetws.
12399         (do_ftell_test): Add test to verify ftell value after read
12400         EOF.
12401         (do_test): Set fgets_func.
12403         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
12404         O_TRUNC flag for w and w+ modes.
12405         (do_rewind_test): Likewise.
12406         (do_ftell_test): Likewise.
12407         (do_write_test): Likewise.
12409         [BZ #17647]
12410         * libio/fileops.c (do_ftell): Seek only when there are
12411         unflushed writes.
12412         * libio/wfileops.c (do_ftell_wide): Likewise.
12413         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
12414         test case.
12415         (do_one_test): Call it.
12417 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
12419         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
12420         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
12421         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
12422         Remove variable.
12423         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12424         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12425         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12427 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
12429         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
12430         Remove variable.
12431         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12433         [BZ #17668]
12434         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
12435         as weak alias of __getifaddrs.  Use libc_hidden_weak.
12436         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12437         __freeifaddrs.  Use libc_hidden_weak.
12438         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
12439         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
12440         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12441         __freeifaddrs.  Use libc_hidden_weak.
12442         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
12443         __getifaddrs and define as weak alias of __getifaddrs.  Use
12444         libc_hidden_weak.
12445         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12446         __freeifaddrs.  Use libc_hidden_weak.
12447         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
12448         Remove variable.
12449         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12450         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12452 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
12454         [BZ #17601]
12455         * sysdeps/mips/start.S (__start): Use indirect jump to call
12456         __libc_start_main.
12458 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
12460         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
12462         * nptl/tst-mutex1.c: Include <stdbool.h>.
12463         [!ATTR] (ATTR_NULL): New macro.
12464         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
12465         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
12466         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
12468         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
12469         to char *.
12471         [BZ #17665]
12472         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
12473         Change conditional to [__USE_MISC].
12475         [BZ #17664]
12476         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
12477         fgets_unlocked.
12478         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
12479         __fgets_unlocked.
12480         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
12481         fgets_unlocked.
12482         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
12483         Remove variable.
12484         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12485         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12486         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12487         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12488         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12489         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12490         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12491         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12492         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12494         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
12496 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12498         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12499         Remove strpbrk objects.
12500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12501         (__libc_ifunc_impl_list): Remove strpbrk implementation.
12502         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
12503         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
12504         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
12505         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
12507         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12508         Remove strcspn objects.
12509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12510         (__libc_ifunc_impl_list): Remove strcspn implementation.
12511         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
12512         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
12513         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
12514         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
12516         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12517         Remove strspn objetcs.
12518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12519         (__libc_ifunc_impl_list): Remove strspn implementation.
12520         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
12521         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12522         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
12523         * sysdeps/powerpc/powerpc64/strspn.S: New file.
12525 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
12527         [BZ #17581]
12528         * malloc/hooks.c
12529         (mem2mem_check): Add a terminator to the chain of checking blocks.
12530         (malloc_check_get_size): Use it here.
12531         (mem2chunk_check): Ditto.
12533 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12535         * sysdeps/powerpc/powerpc64/strtok.S: New file.
12536         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
12538 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
12540         * bits/ioctl-types.h: Indent preprocessor directives correctly.
12542         * nptl/nptl-init.c: Include libc-internal.h.
12543         (__pthread_initialize_minimal_internal): Use ROUND_UP.
12545         * elf/ldconfig.c (search_dir): Expand comment.
12547 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
12549         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
12550         variable.
12551         (linknamespace-symlist-stdlibs-tests): Likewise.
12552         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
12553         instead of $(objpfx)symlist-stdlibs.
12554         (linknamespace-libs-isoc): New variable.
12555         (linknamespace-libs): Use $(linknamespace-libs-isoc).
12556         (linknamespace-libs-ISO): New variable.
12557         (linknamespace-libs-ISO99): Likewise.
12558         (linknamespace-libs-ISO11): Likewise.
12559         (linknamespace-libs-XPG3): Likewise.
12560         (linknamespace-libs-XPG4): Likewise.
12561         (linknamespace-libs-POSIX): Likewise.
12562         (linknamespace-libs-UNIX98): Likewise.
12563         (linknamespace-libs-XOPEN2K): Likewise.
12564         (linknamespace-libs-POSIX2008): Likewise.
12565         (linknamespace-libs-XOPEN2K8): Likewise.
12566         ($(objpfx)symlist-stdlibs): Replace by
12567         $(linknamespace-symlist-stdlibs-tests).  Use
12568         $(linknamespace-libs-$*) as set of libraries.
12569         ($(linknamespace-header-tests)): Update dependencies.  Use
12570         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
12571         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
12572         * conform/linknamespace.pl: Remove comment about considering
12573         definitions of symbols from irrelevant libraries.
12575 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
12577         [BZ #13862]
12578         * elf/dl-tls.c: Include <atomic.h>.
12579         (oom): Remove #ifdef SHARED/#endif.
12580         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
12581         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
12582         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
12583         big enough.
12584         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
12585         * nptl/Makefile (tests): Add tst-stack4.
12586         (modules-names): Add tst-stack4mod.
12587         ($(objpfx)tst-stack4): New.
12588         (tst-stack4mod.sos): Likewise.
12589         ($(objpfx)tst-stack4.out): Likewise.
12590         ($(tst-stack4mod.sos)): Likewise.
12591         (clean): Likewise.
12592         * nptl/tst-stack4.c: New file.
12593         * nptl/tst-stack4mod.c: Likewise.
12595 2014-11-27  J. Brown  <jb999@gmx.de>
12597         * sysdeps/x86/bits/string.h: Add recent CPUs.
12599 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
12601         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
12602         sigblock.
12604         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
12605         feof.
12607         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
12608         variable.
12610 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
12612         * nscd/connections.c: Include libc-internal.h because of macro
12613         usage ignore_value.
12615 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12617         * string/bits/string3.h (__warn_memset_zero_len): Don't
12618         declare for gcc newer than 5.0.
12619         (memset): Don't test for zero-length __LEN for gcc newer than
12620         5.0.
12622 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
12624         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
12625         size_t for %zu format.
12627         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
12628         difference, not %ju.
12630 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
12632         * include/libc-internal.h (ignore_value): New macro.
12633         * nscd/connections.c (restart): Wrap calls to setuid and setgid
12634         with ignore_value.
12636         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
12637         definition.
12639         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
12640         pthread_cleanup_push to void *.
12642         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
12643         Undefine.
12645         [BZ #16619]
12646         [BZ #16740]
12647         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
12648         instead of 1L << 52.
12650         * libio/bug-rewind.c (do_test): Check fwscanf return values.
12651         * libio/bug-rewind2.c (do_test): Likewise.
12653         * debug/test-stpcpy_chk-ifunc.c: Remove file.
12654         * debug/test-strcpy_chk-ifunc.c: Likewise.
12655         * wcsmbs/test-wcschr-ifunc.c: Likewise.
12656         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12657         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12658         * wcsmbs/test-wcslen-ifunc.c: Likewise.
12659         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12660         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12661         * Rules [$(multi-arch) = no] (tests): Do not filter out
12662         $(tests-ifunc).
12663         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
12664         * debug/Makefile (tests-ifunc): Remove variable.
12665         (tests): Do not add $(tests-ifunc).
12666         * wcsmbs/Makefile (tests-ifunc): Remove variable.
12667         (tests): Do not add $(tests-ifunc).
12668         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
12669         [TEST_IFUNC]: Remove conditionals.
12670         * string/test-string.h (TEST_IFUNC): Remove macro.
12671         [TEST_IFUNC]: Remove conditionals.
12673         * string/test-strchr.c [!WIDE] (L): New macro.
12674         [WIDE] (L): Likewise.
12675         (check1): Use CHAR instead of char.  Use L on string and character
12676         constants.
12678 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
12680         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
12681         tests.
12682         * sysdeps/powerpc/bits/atomic.h
12683         (__arch_atomic_exchange_and_add_32_acq): Add definition.
12684         (__arch_atomic_exchange_and_add_32_rel): Likewise.
12685         (atomic_exchange_and_add_acq): Likewise.
12686         (atomic_exchange_and_add_rel): Likewise.
12687         * sysdeps/powerpc/powerpc32/bits/atomic.h
12688         (__arch_atomic_exchange_and_add_64_acq): Add definition.
12689         (__arch_atomic_exchange_and_add_64_rel): Likewise.
12690         * sysdeps/powerpc/powerpc64/bits/atomic.h
12691         (__arch_atomic_exchange_and_add_64_acq): Add definition.
12692         (__arch_atomic_exchange_and_add_64_rel): Likewise.
12694 2014-11-26  Torvald Riegel  <triegel@redhat.com>
12696         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
12697         Change synchronization of __sched_fifo_min_prio and
12698         __sched_fifo_max_prio.
12699         * nptl/pthread_mutexattr_getprioceiling.c
12700         (pthread_mutexattr_getprioceiling): Likewise.
12701         * nptl/pthread_mutexattr_setprioceiling.c
12702         (pthread_mutexattr_setprioceiling): Likewise.
12703         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
12704         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
12705         Likewise.
12707 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
12709         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
12710         void.
12712 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
12714         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
12715         third argument const.
12717 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
12719         fnmatch: work around GCC compiler warning bug with uninit var
12720         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
12721         This works around a bug with x86-64 GCC 4.9.2 and earlier
12722         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
12723         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
12724         used uninitialized in this function [-Wmaybe-uninitialized]".
12726 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
12728         * posix/bug-regex31.c (main): Return RES not 0.
12730 2014-11-25  Anton Blanchard <anton@samba.org>
12732         * sysdeps/powerpc/bits/atomic.h
12733         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
12735 2014-11-24  Sterling Augustine  <saugustine@google.com>
12737         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
12739 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
12741         [BZ #17608]
12742         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
12744 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
12746         [BZ #17633]
12747         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
12748         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
12749         variable.
12750         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12751         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12753 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
12755         * string/strncpy.c (strncpy): Improve performance by using memset.
12757 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
12759         * string/strcpy.c (strcpy):
12760         Improve performance by using strlen and memcpy.
12762 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
12764         * string/strcoll_l.c (get_next_seq): __always_inline.
12765         * string/strcoll_l.c (do_compare): __always_inline.
12767 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12769         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
12770         defined.
12771         * include/mqueue.h: Likewise.
12772         * include/stdlib.h: Likewise.
12774         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
12775         (get_null_defines): Adjust.
12776         * sunrpc/Makefile: Adjust comment.
12777         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
12778         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
12779         (CFLAGS-interp.c): Likewise.
12780         (CFLAGS-ldconfig.c): Likewise.
12781         (CPPFLAGS-.os): Likewise.
12782         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12783         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12784         * extra-modules.mk (extra-modules.mk): Likewise.
12785         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
12786         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
12787         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
12788         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
12789         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
12790         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
12791         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
12792         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
12793         * iconvdata/Makefile (CPPFLAGS): Likewise.
12794         (cpp-srcs-left): Add libof for all iconvdata routines.
12795         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
12796         * include/assert.h: Likewise.
12797         * include/ctype.h: Likewise.
12798         * include/errno.h: Likewise.
12799         * include/libc-symbols.h: Likewise.
12800         * include/math.h: Likewise.
12801         * include/netdb.h: Likewise.
12802         * include/resolv.h: Likewise.
12803         * include/stdio.h: Likewise.
12804         * include/stdlib.h: Likewise.
12805         * include/string.h: Likewise.
12806         * include/sys/stat.h: Likewise.
12807         * include/wctype.h: Likewise.
12808         * intl/l10nflist.c: Likewise.
12809         * libidn/idn-stub.c: Likewise.
12810         * libio/libioP.h: Likewise.
12811         * nptl/libc_multiple_threads.c: Likewise.
12812         * nptl/pthreadP.h: Likewise.
12813         * posix/regex_internal.h: Likewise.
12814         * resolv/res_hconf.c: Likewise.
12815         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
12816         * sysdeps/arm/memmove.S: Likewise.
12817         * sysdeps/arm/sysdep.h: Likewise.
12818         * sysdeps/generic/_itoa.h: Likewise.
12819         * sysdeps/generic/symbol-hacks.h: Likewise.
12820         * sysdeps/gnu/errlist.awk: Likewise.
12821         * sysdeps/gnu/errlist.c: Likewise.
12822         * sysdeps/i386/i586/memcpy.S: Likewise.
12823         * sysdeps/i386/i586/memset.S: Likewise.
12824         * sysdeps/i386/i686/memcpy.S: Likewise.
12825         * sysdeps/i386/i686/memmove.S: Likewise.
12826         * sysdeps/i386/i686/mempcpy.S: Likewise.
12827         * sysdeps/i386/i686/memset.S: Likewise.
12828         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12829         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12830         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
12831         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
12832         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12833         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12834         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
12835         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12836         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12837         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12838         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12839         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12840         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12841         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12842         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12843         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12844         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
12845         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
12846         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
12847         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12848         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12849         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12850         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12851         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12852         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12853         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12854         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
12855         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12856         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
12857         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12858         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12859         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12860         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12861         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12862         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12863         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12864         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12865         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12866         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12867         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12868         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12869         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12870         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12871         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12872         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12873         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12874         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
12875         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
12876         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12877         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12878         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12879         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
12880         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
12881         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12882         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12883         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
12884         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12885         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
12886         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
12887         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12888         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12889         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12890         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
12891         * sysdeps/nptl/bits/libc-lock.h: Likewise.
12892         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12893         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
12894         * sysdeps/posix/closedir.c: Likewise.
12895         * sysdeps/posix/opendir.c: Likewise.
12896         * sysdeps/posix/readdir.c: Likewise.
12897         * sysdeps/posix/rewinddir.c: Likewise.
12898         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
12899         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
12900         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12901         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12902         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12903         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
12904         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
12905         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
12906         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12907         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
12908         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12909         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12910         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12911         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
12912         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
12913         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
12914         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12915         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12916         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
12917         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
12918         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12919         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
12920         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
12921         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12922         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
12923         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
12924         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
12925         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12926         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12927         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
12928         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
12929         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
12930         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
12931         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
12932         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
12933         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
12934         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12935         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12936         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
12937         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
12938         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
12939         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
12940         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12941         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
12942         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
12943         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
12944         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
12945         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12946         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
12947         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
12948         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
12949         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12950         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12951         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12952         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12953         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
12954         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
12955         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12956         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12957         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
12958         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
12959         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12960         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12961         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12962         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
12963         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
12964         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
12965         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
12966         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
12967         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
12968         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
12969         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12970         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
12971         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12972         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12973         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
12974         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
12975         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12976         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12977         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
12978         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12979         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12980         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
12981         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
12982         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12983         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
12984         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
12985         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12986         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12987         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12988         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
12989         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
12990         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
12991         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12992         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12993         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
12994         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12995         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12996         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
12997         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
12998         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12999         * sysdeps/unix/alpha/sysdep.S: Likewise.
13000         * sysdeps/unix/alpha/sysdep.h: Likewise.
13001         * sysdeps/unix/make-syscalls.sh: Likewise.
13002         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13003         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13004         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13005         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13006         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13007         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13008         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
13009         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13010         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13011         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
13012         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13013         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13014         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13015         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13016         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13017         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13018         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13019         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13020         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13021         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13022         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13023         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13024         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13025         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13026         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13027         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13028         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13031         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
13032         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13033         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13034         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13035         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13036         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13037         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13038         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13039         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13040         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13041         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
13042         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13043         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13044         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13045         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13046         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13047         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13048         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13049         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13050         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13051         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13052         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13053         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13054         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13055         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13056         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13057         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13058         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13059         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13060         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
13061         * sysdeps/x86_64/memcpy.S: Likewise.
13062         * sysdeps/x86_64/memmove.c: Likewise.
13063         * sysdeps/x86_64/memset.S: Likewise.
13064         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
13065         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13066         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13067         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
13068         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13069         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13070         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13071         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13072         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13073         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13074         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13075         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13076         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
13077         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13078         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13079         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
13080         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13081         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13082         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13083         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13084         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
13085         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13086         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13087         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13088         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13089         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13090         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13091         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
13092         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13093         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13094         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
13095         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13096         * sysdeps/x86_64/strcmp.S: Likewise.
13098         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
13100         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
13101         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
13102         * elf/rtld-Rules: Likewise.
13103         * elf/setup-vdso.h: Likewise.
13104         * include/assert.h: Likewise.
13105         * include/bits/stdlib-float.h: Likewise.
13106         * include/errno.h: Likewise.
13107         * include/sys/stat.h: Likewise.
13108         * include/unistd.h: Likewise.
13109         * sysdeps/aarch64/setjmp.S: Likewise.
13110         * sysdeps/alpha/setjmp.S: Likewise.
13111         * sysdeps/arm/__longjmp.S: Likewise.
13112         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
13113         * sysdeps/arm/setjmp.S: Likewise.
13114         * sysdeps/arm/sysdep.h: Likewise.
13115         * sysdeps/generic/_itoa.h: Likewise.
13116         * sysdeps/generic/dl-sysdep.h: Likewise.
13117         * sysdeps/generic/ldsodefs.h: Likewise.
13118         * sysdeps/i386/dl-tls.h: Likewise.
13119         * sysdeps/i386/setjmp.S: Likewise.
13120         * sysdeps/m68k/setjmp.c: Likewise.
13121         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
13122         * sysdeps/mach/hurd/opendir.c: Likewise.
13123         * sysdeps/posix/getcwd.c: Likewise.
13124         * sysdeps/posix/opendir.c: Likewise.
13125         * sysdeps/posix/profil.c: Likewise.
13126         * sysdeps/powerpc/dl-procinfo.h: Likewise.
13127         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13128         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13129         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13130         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13131         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
13132         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13133         * sysdeps/s390/dl-tls.h: Likewise.
13134         * sysdeps/s390/s390-32/setjmp.S: Likewise.
13135         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13136         * sysdeps/sh/sh3/setjmp.S: Likewise.
13137         * sysdeps/sh/sh4/setjmp.S: Likewise.
13138         * sysdeps/unix/alpha/sysdep.h: Likewise.
13139         * sysdeps/unix/arm/sysdep.S: Likewise.
13140         * sysdeps/unix/i386/sysdep.S: Likewise.
13141         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13142         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13143         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13144         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13145         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13146         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13147         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13148         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13149         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13150         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13151         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13152         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13153         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13156         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13157         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13158         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13159         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13160         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13161         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13162         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13163         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13164         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13165         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13166         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13167         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13168         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13169         * sysdeps/x86_64/setjmp.S: Likewise.
13171         * include/math.h: Use IS_IN instead of IS_IN_libm.
13172         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
13173         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13174         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13175         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13176         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13177         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13178         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13179         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13180         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13181         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13182         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
13183         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
13184         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
13185         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
13186         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
13187         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
13188         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
13189         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
13190         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
13191         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
13192         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
13193         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
13194         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
13195         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
13196         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
13197         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13198         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
13199         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
13200         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
13201         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
13202         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
13203         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13204         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
13206         Likewise.
13207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
13208         Likewise.
13209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
13210         Likewise.
13211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
13212         Likewise.
13213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
13214         Likewise.
13215         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13216         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
13217         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13218         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13219         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13220         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
13222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
13226         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
13227         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
13228         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13229         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13230         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13231         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13232         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13233         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13234         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13235         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
13236         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
13237         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
13238         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
13239         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
13240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13241         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
13243         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
13244         * nptl/pthreadP.h: Likewise.
13245         * nptl_db/structs.def: Likewise.
13246         * sysdeps/arm/sysdep.h: Likewise.
13247         * sysdeps/nptl/bits/libc-lock.h: Likewise.
13248         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13249         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
13250         * sysdeps/unix/alpha/sysdep.h: Likewise.
13251         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13252         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13253         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13254         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13255         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13256         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13257         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13258         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13259         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13260         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13261         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13262         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13263         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13264         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13267         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13268         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13269         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13270         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13271         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13272         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13273         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13274         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13275         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13276         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13278         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
13279         * nptl/pthreadP.h: Likewise.
13280         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13281         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13282         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13283         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13284         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13285         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13286         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13287         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13288         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13289         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13290         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13291         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13293         Likewise.
13294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13295         Likewise.
13296         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13297         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13298         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13299         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13300         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13301         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13302         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13303         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13305         * dlfcn/dladdr.c: Use IS_IN.
13306         * dlfcn/dladdr1.c: Likewise.
13307         * dlfcn/dlclose.c: Likewise.
13308         * dlfcn/dlerror.c: Likewise.
13309         * dlfcn/dlinfo.c: Likewise.
13310         * dlfcn/dlmopen.c: Likewise.
13311         * dlfcn/dlopen.c: Likewise.
13312         * dlfcn/dlsym.c: Likewise.
13313         * dlfcn/dlvsym.c: Likewise.
13315         * include/ifaddrs.h: Use IS_IN.
13316         * inet/check_pf.c: Likewise.
13317         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13318         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
13320         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
13321         IS_IN_ldconfig.
13322         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
13323         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
13325         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
13326         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
13327         IS_IN (libc).
13329         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
13331         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
13332         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13333         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13334         * include/libc-symbols.h (IS_IN_LIB): New macro.
13335         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
13336         * include/netdb.h: Likewise.
13337         * include/stap-probe.h: Remove all uses of IN_LIB.
13339         * Makeconfig (module-cppflags-real): Define MODULE_NAME
13340         instead of IN_MODULE.
13341         * include/libc-symbols.h (IN_MODULE): Define using
13342         MODULE_NAME.
13343         (PASTE_NAME, PASTE_NAME1): New macros.
13344         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
13345         of IN_LIB.
13346         (STAP_PROBE_ASM): Likewise.
13348 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13350         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
13351         __mach_init in dlopened libc.
13353 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
13355         * sysdeps/arm/preconfigure.ac: Delete EABI check.
13356         * sysdeps/arm/preconfigure: Regenerate.
13358 2014-11-21  Roland McGrath  <roland@hack.frob.com>
13360         * nptl/pthread_create.c (__pthread_create_2_1): Set
13361         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
13362         when copying values from IATTR into PD.
13364 2014-11-21  Will Newton  <will.newton@linaro.org>
13365             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
13367         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
13368         Refactor inline-asm.  Also add comment.
13370         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
13371         ElfW macro instead of hardcoded Elf64 types.
13372         (la_aarch64_gnu_pltenter): Likewise.
13373         * sysdeps/aarch64/dl-machine.h
13374         (elf_machine_runtime_setup): Use ElfW(Addr).
13376         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
13377         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
13378         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
13379         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
13380         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
13381         (R_AARCH64_TLS_DTPMOD64): Rename to ..
13382         (R_AARCH64_TLS_DTPMOD): This.
13383         (R_AARCH64_TLS_DTPREL64): Rename to ...
13384         (R_AARCH64_TLS_DTPREL): This.
13385         (R_AARCH64_TLS_TPREL64): Rename to ...
13386         (R_AARCH64_TLS_TPREL): This.
13387         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
13388         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
13389         R_AARCH64_TLS_TPREL64.
13390         (elf_machine_rela): Likewise.
13392 2014-11-21  Torvald Riegel  <triegel@redhat.com>
13394         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
13395         by setting it to 0.  64b atomics are not supported currently.
13397 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
13399         [BZ #16469]
13400         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
13401         search domain names.
13403 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
13405         [BZ #16469]
13406         * NEWS: Update.
13407         * resolv/res_query.c (__libc_res_nquerydomain): Retain
13408         trailing dot.
13409         * posix/tst-getaddrinfo5.c: New.
13410         * posix/Makefile (tests): Add it.
13412 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
13414         [BZ #14498]
13415         * NEWS: Fixed.
13416         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
13417         after parsing line but before break_if_match.
13418         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
13419         if there is a protocol mismatch.
13421 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
13423         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
13424         because the potential race is on the user-supplied stream.
13426 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
13428         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
13429         string literal if not passed a buffer.
13430         * manual/job.texi (ctermid): Update reasoning, note deviation
13431         from posix, suggest mtasurace when not passed a buffer, for
13432         future non-preliminary safety notes.
13434 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
13436         * manual/users.texi (cuserid): Fix MT-Safety note for the case
13437         of not passing it a buffer.
13438         Reported by Peng Haitao.
13440 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
13442         * manual/Makefile ($(objpfx)stamp-summary): Require
13443         check-safety.sh to pass.
13444         * manual/check-safety.sh: Wish for verification that every
13445         @deftypefn and @deftypefun is followed by a @safety remark.
13447 2014-11-20  Roland McGrath  <roland@hack.frob.com>
13449         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
13451         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
13452         PTHREAD_CANCEL_ASYNCHRONOUS.
13453         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
13454         send SIGCANCEL.
13456         * nptl/default-sched.h: New file.
13457         * sysdeps/unix/sysv/linux/default-sched.h: New file.
13458         * nptl/pthread_create.c: Include it.
13459         (__pthread_create_2_1): Use collect_default_sched instead of making
13460         Linux syscalls here directly.
13462 2014-11-20  Torvald Riegel  <triegel@redhat.com>
13464         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
13465         __pthread_once): Use C11 atomics.
13467 2014-11-20  Torvald Riegel  <triegel@redhat.com>
13469         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
13471 2014-11-20  Torvald Riegel  <triegel@redhat.com>
13473         * include/atomic.h (__atomic_link_error, __atomic_check_size,
13474         atomic_thread_fence_acquire, atomic_thread_fence_release,
13475         atomic_thread_fence_seq_cst, atomic_load_relaxed,
13476         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
13477         atomic_compare_exchange_weak_relaxed,
13478         atomic_compare_exchange_weak_acquire,
13479         atomic_compare_exchange_weak_release,
13480         atomic_exchange_acquire, atomic_exchange_release,
13481         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
13482         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
13483         atomic_fetch_and_acquire,
13484         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
13486 2014-11-20  Torvald Riegel  <triegel@redhat.com>
13488         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
13489         USE_ATOMIC_COMPILER_BUILTINS): Define.
13490         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
13491         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13492         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
13493         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13494         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
13495         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13496         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
13497         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13498         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
13499         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13500         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
13501         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13502         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
13503         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13504         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
13505         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13506         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13507         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13508         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13509         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13510         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
13511         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13512         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13513         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13514         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
13515         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13516         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13517         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13518         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
13519         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13520         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
13521         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13522         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
13523         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13524         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
13525         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13526         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
13527         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13528         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
13529         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13531 2014-11-19  Roland McGrath  <roland@hack.frob.com>
13533         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
13534         the sched_priority value here.  It was already checked when the user
13535         called pthread_attr_setschedparam.
13537         * nptl/tst-bad-schedattr.c: New file.
13538         * nptl/Makefile (tests): Add it.
13540 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
13541             Florian Weimer  <fweimer@redhat.com>
13542             Joseph Myers  <joseph@codesourcery.com>
13543             Adam Conrad  <adconrad@0c3.net>
13544             Andreas Schwab  <schwab@suse.de>
13545             Brooks  <bmoses@google.com>
13547         [BZ #17625]
13548         * wordexp-test.c (__dso_handle): Add prototype.
13549         (__register_atfork): Likewise.
13550         (__app_register_atfork): New function.
13551         (registered_forks): New global.
13552         (register_fork): New function.
13553         (test_case): Add 3 new tests for WRDE_CMDSUB.
13554         (main): Call __app_register_atfork.
13555         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
13556         fork count is non-zero fail the test.
13557         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
13558         is set.
13559         (parse_dollars): Remove check for WRDE_NOCMD.
13560         (parse_dquote): Likewise.
13562 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13564         * Makeconfig (built-modules): List non-library modules to be
13565         built.
13566         (module-cppflags): Include libc-modules.h for
13567         everything except shlib-versions.v.i.
13568         (CPPFLAGS): Use it.
13569         (before-compile): Add libc-modules.h.
13570         ($(common-objpfx)libc-modules.h,
13571         $(common-objpfx)libc-modules.stmp): New targets.
13572         (common-generated): Add libc-modules.h and libc-modules.stmp.
13573         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
13574         * include/libc-symbols.h: Don't include libc-modules.h.
13575         * include/libc-modules.h: Remove file.
13576         * scripts/gen-libc-modules.awk: New script to generate
13577         libc-modules.h.
13578         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
13579         Depend on libc-modules.stmp.
13581         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
13583         * Makeconfig (in-module): Get value of libof set for the
13584         translation unit.
13585         (CPPFLAGS): Use $(in-module).
13586         * Makerules: Don't suffix routine names for nonlib.
13587         * include/libc-modules.h: New file.
13588         * include/libc-symbols.h: Include libc-modules.h
13589         (IS_IN): New macro to replace IS_IN_* macros.
13590         * elf/Makefile: Set libof-* for each routine.
13591         * elf/rtld-Rules: Likewise.
13592         * extra-modules.mk: Likewise.
13593         * iconv/Makefile: Likewise.
13594         * iconvdata/Makefile: Likewise.
13595         * locale/Makefile: Likewise.
13596         * malloc/Makefile: Likewise.
13597         * nss/Makefile: Likewise.
13598         * sysdeps/gnu/Makefile: Likewise.
13599         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
13600         * sysdeps/unix/sysv/linux/Makefile: Likewise.
13601         * sysdeps/s390/s390-64/Makefile: Likewise.
13602         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
13603         CPPFLAGS for nscd instead of nonlib.
13605 2014-11-18  Roland McGrath  <roland@hack.frob.com>
13607         * nptl/createthread.c: New file.
13609         * nptl/createthread.c: Moved ...
13610         * sysdeps/unix/sysv/linux/createthread.c: ... here.
13612         * nptl/createthread.c: Add proper top-line comment.
13613         (do_clone): Folded into ...
13614         (create_thread): ... here.  Take new arguments STOPPED_START and
13615         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
13616         increment __nptl_threads, do event-reporting logic, do
13617         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
13618         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
13619         resource cleanup if sched_setaffinity or sched_setscheduler fails,
13620         just send SIGCANCEL.
13621         * nptl/pthread_create.c: Forward-declare create_thread before
13622         including createthread.c.
13623         (start_thread): Use new macro START_THREAD_DEFN to replace defining
13624         declaration, and new macro START_THREAD_SELF to replace argument.
13625         Remove return statement.
13626         (report_thread_creation): New function.
13627         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
13628         synchronization logic, and __nptl_nthreads increment here, around
13629         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
13630         PD->parent_cancelhandling here, before create_thread.  When
13631         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
13632         __deallocate_stack, and ENOMEM translation here.
13634 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
13636         [BZ #17616]
13637         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
13638         (mptwo): Rename to __mptwo.
13639         (__inv): Use __mptwo instead of mptwo.
13640         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
13641         (mptwo): Rename to __mptwo.
13642         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
13643         of mpone and __mptwo instead of mptwo.
13644         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
13645         instead of mpone.
13646         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13647         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
13648         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
13649         of mpone and __mptwo instead of mptwo.
13650         (__mpranred): Use __mpone instead of mpone.
13651         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
13652         variable.
13653         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13654         (test-xfail-ISO99/math.h/linknamespace): Likewise.
13655         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13656         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13657         (test-xfail-ISO11/math.h/linknamespace): Likewise.
13658         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13659         (test-xfail-XPG3/math.h/linknamespace): Likewise.
13660         (test-xfail-XPG4/math.h/linknamespace): Likewise.
13661         (test-xfail-POSIX/math.h/linknamespace): Likewise.
13662         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13663         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13664         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13665         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13666         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13667         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13668         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13669         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13670         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13671         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13673 2014-11-18  Tom de Vries  <tom@codesoucery.com>
13675         * manual/signal.texi (Primitives Interrupted by Signals): In section,
13676         replace BSD Handler xref with BSD Signal Handling.
13678 2014-11-17  Richard Henderson  <rth@redhat.com>
13680         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
13681         (_FP_PACK_RAW_2): Remove.
13682         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
13683         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
13684         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
13685         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
13686         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
13687         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
13688         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
13689         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
13690         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
13691         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
13692         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
13693         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
13694         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
13695         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
13696         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
13697         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
13699 2014-11-14  Roland McGrath  <roland@hack.frob.com>
13701         * signal/signal.h [__USE_MISC]
13702         (struct sigvec): Remove type.
13703         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
13704         (sigvec): Remove declaration.
13705         * sysdeps/posix/sigvec.c: Moved ...
13706         * signal/sigvec.c: ... here, replacing old file.
13707         (struct sigvec): New type, copied from old signal.h definition.
13708         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
13709         (__sigvec): Convert definition to prototype.
13710         (sigvec): Replace weak_alias with compat_symbol.
13711         * signal/Versions (libc: GLIBC_2.21): New version set.
13712         * include/signal.h: Remove __sigvec declaration.
13713         * sysdeps/unix/bsd/sigvec.c: Remove file.
13714         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
13715         * manual/signal.texi (BSD Handler): Remove subsection.
13716         Move siginterrupt up to ...
13717         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
13718         (Blocking in BSD): Fold subsection into its parent.
13719         * NEWS: Mention sigvec removal.
13721 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
13723         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
13724         (DLA_FMS): Make definition conditional only on [__FMA4__].
13725         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
13726         definition.
13728         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
13729         Make definition conditional only on [PROF].
13730         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
13731         definition.
13732         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
13733         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
13735         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
13736         !__GNUC__].
13737         * include/signal.h (__sigpause): Move declaration above call to
13738         libc_hidden_proto.
13739         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
13740         variable.
13741         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13742         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13744 2014-11-14  David S. Miller  <davem@davemloft.net>
13746         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
13747         Define before including <string/memcpy.c> and <string/mempcpy.c>.
13749 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
13751         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
13752         * configure: Regenerated.
13753         * manual/install.texi (Tools for Compilation): Document a
13754         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
13755         compiler verified to work.
13756         * INSTALL: Regenerated.
13758         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
13759         redeclare with asm name.
13760         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
13761         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
13762         including <string.h>.
13763         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13764         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
13765         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13766         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
13767         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13768         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13769         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13771 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
13773         * stdlib/strtol.c (__strtol): Use prototype definition.
13775         [BZ #17594]
13776         * stdlib/strtol.c (SYM__): New macro.
13777         (SYM__1): Likewise.
13778         (__strtol): Likewise.
13779         (strtol): Rename to __strtol and define as weak alias of
13780         __strtol.  Use libc_hidden_weak.
13782 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13784         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
13785         Use numbered labels in inline assembly.
13787 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13789         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
13790         Add setjmp LIBC_PROBE.
13791         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
13792         Likewise.
13793         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
13794         Add longjmp, longjmp_target LIBC_PROBE.
13795         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
13796         Likewise.
13798 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13800         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13801         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
13802         to get rid of unused variable warning.
13804 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13806         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
13807         Check for unwind_backtrace ==  NULL only in SHARED case.
13808         (__backchain_backtrace): Compile only in SHARED case.
13809         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
13810         Likewise.
13811         (__backchain_backtrace): Declare as static.
13813 2014-11-12  Roland McGrath  <roland@hack.frob.com>
13815         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
13816         (__libc_multiple_threads_ptr): Variable moved ...
13817         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
13819 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
13821         * conform/GlibcConform.pm: New file.
13822         * conform/conformtest.pl: Use GlibcConform module.
13823         * conform/linknamespace.pl: New file.
13824         * conform/list-header-symbols.pl: Likewise.
13825         * conform/Makefile (linknamespace-symlists-base): New variable.
13826         (linknamespace-symlists-tests): Likewise.
13827         (linknamespace-header-base): Likewise.
13828         (linknamespace-header-tests): Likewise.
13829         (tests-special): Add new tests.
13830         ($(linknamespace-symlists-tests)): New rule.
13831         (linknamespace-libs): New variable.
13832         ($(objpfx)symlist-stdlibs): New rule.
13833         ($(linknamespace-header-tests)): Likewise.
13834         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
13835         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
13836         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
13837         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
13838         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
13839         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
13840         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
13841         (test-xfail-ISO/math.h/linknamespace): Likewise.
13842         (test-xfail-ISO/signal.h/linknamespace): Likewise.
13843         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
13844         (test-xfail-ISO/time.h/linknamespace): Likewise.
13845         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13846         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
13847         (test-xfail-ISO99/math.h/linknamespace): Likewise.
13848         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13849         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13850         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13851         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13852         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13853         (test-xfail-ISO11/math.h/linknamespace): Likewise.
13854         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13855         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13856         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13857         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13858         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
13859         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
13860         (test-xfail-XPG3/math.h/linknamespace): Likewise.
13861         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
13862         (test-xfail-XPG3/search.h/linknamespace): Likewise.
13863         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
13864         (test-xfail-XPG3/time.h/linknamespace): Likewise.
13865         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
13866         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13867         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13868         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
13869         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13870         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13871         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
13872         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
13873         (test-xfail-XPG4/math.h/linknamespace): Likewise.
13874         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
13875         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
13876         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13877         (test-xfail-XPG4/search.h/linknamespace): Likewise.
13878         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13879         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
13880         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
13881         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
13882         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
13883         (test-xfail-XPG4/time.h/linknamespace): Likewise.
13884         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
13885         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13886         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
13887         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13888         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13889         (test-xfail-POSIX/math.h/linknamespace): Likewise.
13890         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
13891         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
13892         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13893         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
13894         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
13895         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13896         (test-xfail-POSIX/time.h/linknamespace): Likewise.
13897         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
13898         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13899         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
13900         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13901         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13902         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13903         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13904         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
13905         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
13906         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13907         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
13908         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13909         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
13910         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
13911         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
13912         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
13913         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13914         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
13915         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13916         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13917         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13918         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13919         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13920         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
13921         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
13922         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
13923         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13924         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
13925         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13926         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
13927         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13928         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13929         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13930         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
13931         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
13932         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13933         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13934         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
13935         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
13936         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
13937         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13938         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13939         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13940         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
13941         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
13942         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
13943         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13944         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13945         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13946         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13947         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13948         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13949         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13950         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13951         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13952         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13953         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
13954         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13955         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13956         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
13957         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13958         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13959         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13960         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13961         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13962         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13963         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13964         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13965         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13966         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13967         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13968         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13969         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13970         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13971         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
13972         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13973         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13974         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13975         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13976         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13977         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
13978         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13979         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13980         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13981         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13982         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13983         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13984         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13985         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13986         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13987         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
13988         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13989         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13990         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13991         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
13992         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13993         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13994         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13996         [BZ #17589]
13997         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
13998         of fgets_unlocked.
14000         [BZ #17585]
14001         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
14002         (memmem): Rename to __memmem and define as weak alias of
14003         __memmem.  Use libc_hidden_weak.
14004         (__memmem): Use libc_hidden_def.
14005         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
14006         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
14007         memmem.
14009         [BZ #17582]
14010         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
14011         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
14012         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
14013         and define as weak alias of __fgets_unlocked.  Use
14014         libc_hidden_weak.
14015         (__fgets_unlocked): Use libc_hidden_def.
14016         * include/stdio.h (__fgets_unlocked): Declare.  Use
14017         libc_hidden_proto.
14018         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
14019         __fgets_unlocked instead of fgets_unlocked.
14020         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
14021         (GET_NPROCS_CONF_PARSER): Likewise.
14022         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
14023         (GET_NPROCS_CONF_PARSER): Likewise.
14025         [BZ #17574]
14026         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
14027         weak alias of __wmemset.  Use libc_hidden_weak.
14028         (__wmemset): Use libc_hidden_def.
14029         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
14030         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
14031         of wmemset.
14033         [BZ #17573]
14034         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
14035         with asm name __mempcpy.
14036         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
14038         [BZ #17572]
14039         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
14040         and define as weak alias of __rawmemchr.
14041         (__rawmemchr): Do not define as strong alias of rawmemchr.
14043         [BZ #17571]
14044         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
14045         alias of __qsort_r.
14046         (qsort): Call __qsort_r instead of qsort_r.
14047         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
14048         (__qsort_r): Declare.  Call libc_hidden_proto.
14049         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
14050         instead of qsort_r.
14051         * nscd/gai.c (__qsort_r): Define to qsort_r.
14052         * posix/tst-rfc3484.c (__qsort_r): Likewise.
14053         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
14054         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
14056         [BZ #17570]
14057         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
14058         define as weak alias of __malloc_info.
14060         [BZ #17584]
14061         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
14062         as weak alias of __rewinddir.  Don't use libc_hidden_def.
14063         (__rewinddir): Use libc_hidden_def.
14064         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
14065         as weak alias of __rewinddir.  Don't use libc_hidden_def.
14066         (__rewinddir): Use libc_hidden_def.
14067         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
14068         weak alias of __rewinddir.  Don't use libc_hidden_def.
14069         (__rewinddir): Use libc_hidden_def.
14070         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
14071         (__rewinddir): Use libc_hidden_proto.
14072         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
14073         rewinddir.
14074         (__getcwd): Use __rewinddir instead of rewinddir.
14076         [BZ #17583]
14077         * libio/fileno.c (fileno): Rename to __fileno and define as weak
14078         alias of __fileno.  Use libc_hidden_weak.
14079         (__fileno): Use libc_hidden_def.
14080         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
14081         * libio/ftello.c (ftello): Rename to __ftello and define as weak
14082         alias of __ftello.
14083         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
14084         __ftello.
14085         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
14086         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
14087         libc_hidden_def.
14088         (fread_unlocked): Don't use libc_hidden_ver.
14089         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
14090         and define as weak alias of __fread_unlocked.  Don't use
14091         libc_hidden_def.
14092         (__fread_unlocked): Use libc_hidden_def.
14093         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
14094         (ftello): Don't use libc_hidden_proto.
14095         (__ftello): Declare.  Use libc_hidden_proto.
14096         (fread_unlocked): Don't use libc_hidden_proto.
14097         (__fread_unlocked): Declare.  Use libc_hidden_proto.
14098         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
14099         and __ftello instead of fileno, fread_unlocked and ftello.
14101 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14103         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
14104         GOT12.
14105         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
14106         Likewise.
14107         (_dl_start_user): Likewise.
14108         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
14110 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
14111             Siddhesh Poyarekar  <siddhesh@redhat.com>
14113         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
14114         Move argv and envp down instead of moving argc up.
14115         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
14117 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
14119         [BZ #17506]
14120         * test-skeleton.c (main): Return successful if one of
14121         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
14122         * string/tst-strcoll-overflow.c: Define expected status.
14124 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
14126         [BZ #17475]
14127         * locale/iso-639.def: Define Bhili and Tulu language codes.
14129 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
14131         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
14133 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
14135         [BZ #17555]
14136         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
14138 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
14140         * configure.ac: Updated check of minimal required version to
14141         2.22.
14142         * manual/install.texi (Tools for Compilation): Updated version
14143         number.
14144         * configure: Regenerated.
14145         * INSTALL: Likewise.
14147 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
14149         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
14150         __tls_get_addr.
14152 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
14154         * include/sys/wait.h (__libc_waitpid): Remove declaration.
14155         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
14156         (__waitpid): Don't define as alias.  Use libc_hidden_def not
14157         libc_hidden_weak.
14158         (waitpid): Define as alias of __waitpid.
14159         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
14160         __waitpid.
14161         (__waitpid): Don't define as alias.  Use libc_hidden_def not
14162         libc_hidden_weak.
14163         (waitpid): Define as alias of __waitpid.
14164         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
14165         __libc_waitpid alias.
14166         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
14167         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
14168         Likewise.
14169         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
14170         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
14171         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
14172         alias.
14173         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
14174         __waitpid.
14175         (__waitpid): Don't define as alias.  Use libc_hidden_def not
14176         libc_hidden_weak.
14177         (waitpid): Define as alias of __waitpid.
14179 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
14181         * manual/llio.texi: Add comment that write safety has been
14182         fixed in Linux.
14184         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
14185         (localplt-build-dso): Add elf/ld.so.
14186         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
14187         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
14188         and free for ld.so.
14189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
14190         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
14191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
14192         Likewise.
14193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14194         Likewise.
14195         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
14196         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
14197         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
14198         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
14199         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
14200         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
14201         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
14202         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
14203         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
14204         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
14205         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14207 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
14209         [BZ #14132]
14210         * include/libc-symbols.h (INTUSE): Remove macro.
14211         (INTDEF): Likewise.
14212         (INTVARDEF): Likewise.
14213         (_INTVARDEF): Likewise.
14214         (INTDEF2): Likewise.
14215         (INTVARDEF2): Likewise.
14216         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
14217         rtld_hidden_def instead of INTVARDEF.
14218         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
14219         (_dl_starting_up_internal): Remove declaration.
14220         (_dl_starting_up): Use rtld_hidden_proto.
14221         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
14222         declaration.
14223         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
14224         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
14225         _dl_starting_up.
14226         * elf/dl-writev.h (_dl_writev): Likewise.
14227         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
14228         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
14229         _dl_starting_up_internal.
14231 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14233         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14234         test-skeleton.c.
14236 2014-11-05  Will Newton  <will.newton@linaro.org>
14238         * benchtests/Makefile: (bench-malloc): Add malloc thread
14239         scalability benchmark.
14240         * benchtests/bench-malloc-threads.c: New file.
14242 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
14244         * sysdeps/aarch64/strchrnul.S: New file.
14246 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14248         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
14249         definition.
14250         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14251         Likwise.
14252         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14253         Likewise.
14254         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14255         Likewise.
14256         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14257         Likewise.
14258         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14259         Likewise.
14261 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
14263         * catgets/test-gencat.c: Use test-skeleton.c.
14264         * catgets/tst-catgets.c: Likewise.
14265         * csu/tst-empty.c: Likewise.
14266         * elf/tst-audit2.c: Likewise.
14267         * elf/tst-global1.c: Likewise.
14268         * elf/tst-pathopt.c: Likewise.
14269         * elf/tst-piemod1.c: Likewise.
14270         * elf/tst-tls10.c: Likewise.
14271         * elf/tst-tls11.c: Likewise.
14272         * elf/tst-tls12.c: Likewise.
14273         * gnulib/tst-gcc.c: Likewise.
14274         * iconvdata/tst-e2big.c: Likewise.
14275         * iconvdata/tst-loading.c: Likewise.
14276         * iconv/tst-iconv1.c: Likewise.
14277         * iconv/tst-iconv2.c: Likewise.
14278         * inet/test-inet6_opt.c: Likewise.
14279         * inet/tst-gethnm.c: Likewise.
14280         * inet/tst-network.c: Likewise.
14281         * inet/tst-ntoa.c: Likewise.
14282         * intl/tst-codeset.c: Likewise.
14283         * intl/tst-gettext2.c: Likewise.
14284         * intl/tst-gettext3.c: Likewise.
14285         * intl/tst-ngettext.c: Likewise.
14286         * intl/tst-translit.c: Likewise.
14287         * io/test-stat.c: Likewise.
14288         * libio/test-fmemopen.c: Likewise.
14289         * libio/tst-freopen.c: Likewise.
14290         * libio/tst-sscanf.c: Likewise.
14291         * libio/tst-ungetwc1.c: Likewise.
14292         * libio/tst-ungetwc2.c: Likewise.
14293         * libio/tst-widetext.c: Likewise.
14294         * localedata/tst-ctype.c: Likewise.
14295         * localedata/tst-digits.c: Likewise.
14296         * localedata/tst-leaks.c: Likewise.
14297         * localedata/tst-mbswcs1.c: Likewise.
14298         * localedata/tst-mbswcs2.c: Likewise.
14299         * localedata/tst-mbswcs3.c: Likewise.
14300         * localedata/tst-mbswcs4.c: Likewise.
14301         * localedata/tst-mbswcs5.c: Likewise.
14302         * localedata/tst-setlocale.c: Likewise.
14303         * localedata/tst-trans.c: Likewise.
14304         * localedata/tst-wctype.c: Likewise.
14305         * localedata/tst-xlocale1.c: Likewise.
14306         * login/tst-grantpt.c: Likewise.
14307         * malloc/tst-calloc.c: Likewise.
14308         * malloc/tst-malloc.c: Likewise.
14309         * malloc/tst-mallocstate.c: Likewise.
14310         * malloc/tst-mcheck.c: Likewise.
14311         * malloc/tst-mtrace.c: Likewise.
14312         * malloc/tst-obstack.c: Likewise.
14313         * math/atest-exp2.c: Likewise.
14314         * math/atest-exp.c: Likewise.
14315         * math/atest-sincos.c: Likewise.
14316         * math/test-matherr.c: Likewise.
14317         * math/test-misc.c: Likewise.
14318         * math/test-powl.c: Likewise.
14319         * math/tst-definitions.c: Likewise.
14320         * misc/tst-dirname.c: Likewise.
14321         * misc/tst-efgcvt.c: Likewise.
14322         * misc/tst-fdset.c: Likewise.
14323         * misc/tst-hsearch.c: Likewise.
14324         * misc/tst-mntent2.c: Likewise.
14325         * nptl/tst-sem7.c: Likewise.
14326         * nptl/tst-sem8.c: Likewise.
14327         * nptl/tst-sem9.c: Likewise.
14328         * nss/test-netdb.c: Likewise.
14329         * posix/tst-fnmatch.c: Likewise.
14330         * posix/tst-getlogin.c: Likewise.
14331         * posix/tst-gnuglob.c: Likewise.
14332         * posix/tst-mmap.c: Likewise.
14333         * pwd/tst-getpw.c: Likewise.
14334         * resolv/tst-inet_ntop.c: Likewise.
14335         * rt/tst-timer.c: Likewise.
14336         * stdio-common/test-fseek.c: Likewise.
14337         * stdio-common/test-popen.c: Likewise.
14338         * stdio-common/test-vfprintf.c: Likewise.
14339         * stdio-common/tst-cookie.c: Likewise.
14340         * stdio-common/tst-fileno.c: Likewise.
14341         * stdio-common/tst-gets.c: Likewise.
14342         * stdio-common/tst-obprintf.c: Likewise.
14343         * stdio-common/tst-perror.c: Likewise.
14344         * stdio-common/tst-sprintf2.c: Likewise.
14345         * stdio-common/tst-sprintf3.c: Likewise.
14346         * stdio-common/tst-sprintf.c: Likewise.
14347         * stdio-common/tst-swprintf.c: Likewise.
14348         * stdio-common/tst-tmpnam.c: Likewise.
14349         * stdio-common/tst-unbputc.c: Likewise.
14350         * stdio-common/tst-wc-printf.c: Likewise.
14351         * stdlib/tst-environ.c: Likewise.
14352         * stdlib/tst-fmtmsg.c: Likewise.
14353         * stdlib/tst-limits.c: Likewise.
14354         * stdlib/tst-rand48-2.c: Likewise.
14355         * stdlib/tst-rand48.c: Likewise.
14356         * stdlib/tst-random2.c: Likewise.
14357         * stdlib/tst-random.c: Likewise.
14358         * stdlib/tst-strtol.c: Likewise.
14359         * stdlib/tst-strtoll.c: Likewise.
14360         * stdlib/tst-tls-atexit.c: Likewise.
14361         * stdlib/tst-xpg-basename.c: Likewise.
14362         * string/test-ffs.c: Likewise.
14363         * string/tst-bswap.c: Likewise.
14364         * string/tst-inlcall.c: Likewise.
14365         * string/tst-strtok.c: Likewise.
14366         * string/tst-strxfrm.c: Likewise.
14367         * sysdeps/x86_64/tst-audit10.c: Likewise.
14368         * sysdeps/x86_64/tst-audit3.c: Likewise.
14369         * sysdeps/x86_64/tst-audit4.c: Likewise.
14370         * sysdeps/x86_64/tst-audit5.c: Likewise.
14371         * time/tst-ftime_l.c: Likewise.
14372         * time/tst-getdate.c: Likewise.
14373         * time/tst-mktime3.c: Likewise.
14374         * time/tst-mktime.c: Likewise.
14375         * time/tst-posixtz.c: Likewise.
14376         * time/tst-strptime2.c: Likewise.
14377         * time/tst-strptime3.c: Likewise.
14378         * wcsmbs/tst-btowc.c: Likewise.
14379         * wcsmbs/tst-mbrtowc.c: Likewise.
14380         * wcsmbs/tst-mbsrtowcs.c: Likewise.
14381         * wcsmbs/tst-wchar-h.c: Likewise.
14382         * wcsmbs/tst-wcpncpy.c: Likewise.
14383         * wcsmbs/tst-wcrtomb.c: Likewise.
14384         * wcsmbs/tst-wcsnlen.c: Likewise.
14385         * wcsmbs/tst-wcstof.c: Likewise.
14387 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
14389         [BZ #14132]
14390         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
14391         INTDEF.
14392         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
14393         declaration.
14394         (_dl_mcount): Use rtld_hidden_proto.
14395         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
14396         _dl_mcount.
14397         * elf/rtld.c (_rtld_global_ro): Likewise.
14399         [BZ #14132]
14400         * elf/dl-init.c (_dl_init): Don't use INTDEF.
14401         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
14402         of _dl_init_internal.
14403         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
14404         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
14405         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
14406         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
14407         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
14408         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
14409         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
14410         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
14411         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
14412         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
14413         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
14414         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
14415         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14416         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14417         * sysdeps/tile/dl-start.S (_start): Likewise.
14418         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
14419         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
14421         [BZ #14132]
14422         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
14423         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
14424         (rtld_progname): Make macro definition unconditional.
14425         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
14426         INTDEF.
14427         (dlmopen_doit): Do not use INTUSE with _dl_argv.
14428         (dl_main): Likewise.
14429         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14430         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
14431         instead of _dl_argv_internal.
14432         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14433         __GI__dl_argv instead of INTUSE(_dl_argv).
14434         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
14435         __GI__dl_argv instead of _dl_argv_internal.
14437         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
14438         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
14439         macro.
14440         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
14441         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
14442         New macro.
14443         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
14444         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
14445         macro.
14446         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
14447         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
14449 2014-11-04  Andreas Schwab  <schwab@suse.de>
14451         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
14453 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14455         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
14456         mtvsrd instruction in binary form.
14458 2014-11-03  Andreas Schwab  <schwab@suse.de>
14460         [BZ #17522]
14461         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
14462         for less than MB_LEN_MAX use a local buffer of that size.
14463         * libio/tst-fputws.c: New file.
14464         * libio/Makefile (tests): Add tst-fputws.
14466 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
14468         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
14469         the size of the fpu_fr.fpu_dregs[] array.
14471 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
14473         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
14474         (__nanosleep): Do not define as alias.
14475         (nanosleep): Define as alias of __nanosleep.
14476         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
14477         __libc_nanosleep name.
14479 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
14481         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
14482         install.texi in comment.
14484 2014-10-31  Torvald Riegel  <triegel@redhat.com>
14486         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
14487         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
14488         ... add here and use lwsync or sync ...
14489         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
14490         ... and add here using lwsync.
14492 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
14494         * elf/dl-machine-reject-phdr.h: New file.
14495         * elf/dl-load.c: #include that.
14496         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
14497         if that returned true.
14499 2014-10-31  Roland McGrath  <roland@hack.frob.com>
14501         [BZ #17496]
14502         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
14503         gen-as-const-headers chunk.  Add a big scare comment after the last
14504         safe place to touch before-compile.
14506 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
14508         * manual/install.texi (Tools for Compilation): Update autoconf
14509         version requirements.
14510         * INSTALL: Regenerated.
14512         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
14513         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
14514         (__libc_pselect): Likewise.
14516         [BZ #14138]
14517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
14518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14522 2014-10-31  Torvald Riegel  <triegel@redhat.com>
14524         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
14525         correct barrier instruction.
14526         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
14527         Likewise.
14528         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
14529         Likewise.
14531 2014-10-30  Roland McGrath  <roland@hack.frob.com>
14533         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
14534         after defining inlines.  Instead, just use parens to defeat macro
14535         expansion of __isctype in its declaration.
14537 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
14539         * include/sys/uio.h (__libc_readv): Remove declaration.
14540         (__libc_writev): Likewise.
14541         * misc/readv.c (__libc_readv): Rename to __readv.
14542         (__readv): Do not define as alias.
14543         (readv): Define as alias of __readv.
14544         * misc/writev.c (__libc_writev): Rename to __writev.
14545         (__writev): Do not define as alias.
14546         (writev): Define as alias of __writev.
14547         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
14548         (__readv): Do not define as alias.
14549         (readv): Define unconditionally as alias of __readv.
14550         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
14551         (__writev): Do not define as alias.
14552         (writev): Define unconditionally as alias of __writev.
14553         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
14554         name.
14555         (writev): Do not define __libc_writev name.
14557 2014-10-30  Roland McGrath  <roland@hack.frob.com>
14559         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
14560         (convert_charseq): New function, broken out of ...
14561         (use_from_charmap): ... here.  Call it.
14562         (use_to_charmap): Use convert_charseq and free instead of duplicating
14563         its code with a variable-length stack struct.
14565 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
14567         * include/fcntl.h (__libc_creat): Remove declaration.
14568         * io/creat.c (__libc_creat): Rename to creat.
14569         (creat): Do not define as alias.
14570         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
14571         of creat instead of __libc_creat.
14572         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
14573         to creat.
14574         (creat): Do not define as alias.
14575         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
14576         __libc_creat.
14577         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
14578         __libc_creat name.
14579         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
14580         Likewise.
14582 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
14584         * manual/llio.texi: Add comments discussing why write() may be
14585         considered MT-unsafe on Linux.
14587 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
14589         * dl-load.c (local_strdup): Remove.
14590         (expand_dynamic_string_token): Use __strdup.
14591         (decompose_rpath): Likewise.
14592         (_dl_map_object): Likewise.
14594 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
14596         [BZ #14132]
14597         * sysdeps/generic/unwind-dw2-fde.c
14598         (__register_frame_info_bases_internal): Do not declare.
14599         (__register_frame_info_table_bases_internal): Likewise.
14600         (__deregister_frame_info_bases_internal): Likewise.
14601         (__register_frame_info_bases): Declare and use hidden_proto before
14602         definition.  Use hidden_def instead of INTDEF.
14603         (__register_frame_info_table_bases): Likewise.
14604         (__deregister_frame_info_bases): Likewise.
14605         (__register_frame_info): Do not use INTUSE.
14606         (__register_frame): Likewise.
14607         (__register_frame_info_table): Likewise.
14608         (__register_frame_table): Likewise.
14609         (__deregister_frame_info): Likewise.
14610         (__deregister_frame): Likewise.
14612 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
14614         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14615         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
14616         not undefine.
14617         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
14618         Likewise.
14619         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
14620         Likewise.
14622 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
14624         [BZ #14138]
14625         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
14626         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
14627         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
14628         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
14629         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
14630         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
14631         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
14632         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
14633         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
14634         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
14635         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
14636         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
14637         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
14638         syscall.
14639         (setfsuid): Likewise.
14640         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
14641         (setfsuid): Likewise.
14642         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
14643         (setfsuid): Likewise.
14644         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
14645         Likewise.
14646         (setfsuid): Likewise.
14647         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
14648         (setfsuid): Likewise.
14649         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
14650         Likewise.
14651         (setfsuid): Likewise.
14653 2014-10-27  Andreas Schwab  <schwab@suse.de>
14655         [BZ #17501]
14656         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
14657         check for Slow_SSE4_2 feature bit.
14658         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
14659         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14660         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
14661         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
14663 2014-10-24  Roland McGrath  <roland@hack.frob.com>
14665         * configure.ac: Validate compiler version with a empirical test of
14666         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
14667         $CC -v output.
14668         * configure: Regenerated.
14670         * inet/htons.c (htons): Prototypify.
14671         * inet/htonl.c (htonl): Likewise.
14673 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
14675         * string/strncat.c (strncat): Improve performance by using strlen.
14677 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
14679         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
14681 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
14683         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
14684         Call libc_fetestexcept_aarch64.
14686 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
14688         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
14689         Call libc_feholdexcept_aarch64.
14691 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
14693         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
14694         Call get_rounding_mode.
14696 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
14698         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14699         Simplify logic.
14701 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
14703         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
14704         Simplify logic.
14706 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
14708         [BZ #14138]
14709         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
14710         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
14711         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
14712         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
14713         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
14714         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
14715         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
14716         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
14717         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
14718         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
14719         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14720         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
14721         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
14722         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
14723         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
14724         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
14725         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
14726         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
14727         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
14728         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
14729         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
14730         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
14731         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
14732         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
14733         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
14734         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
14735         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
14736         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
14737         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
14738         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
14739         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
14740         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
14741         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
14742         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
14743         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
14744         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
14745         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
14746         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
14747         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
14748         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
14749         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
14750         syscall.
14751         (geteuid): Likewise.
14752         (getgid): Likewise.
14753         (getuid): Likewise.
14754         (getresgid): Likewise.
14755         (getresuid): Likewise.
14756         (getgroups): Likewise.
14757         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
14758         (geteuid): Likewise.
14759         (getgid): Likewise.
14760         (getuid): Likewise.
14761         (getresgid): Likewise.
14762         (getresuid): Likewise.
14763         (getgroups): Likewise.
14764         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
14765         (geteuid): Likewise.
14766         (getgid): Likewise.
14767         (getuid): Likewise.
14768         (getresgid): Likewise.
14769         (getresuid): Likewise.
14770         (getgroups): Likewise.
14771         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
14772         Likewise.
14773         (geteuid): Likewise.
14774         (getgid): Likewise.
14775         (getuid): Likewise.
14776         (getresgid): Likewise.
14777         (getresuid): Likewise.
14778         (getgroups): Likewise.
14779         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
14780         (geteuid): Likewise.
14781         (getgid): Likewise.
14782         (getuid): Likewise.
14783         (getresgid): Likewise.
14784         (getresuid): Likewise.
14785         (getgroups): Likewise.
14786         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
14787         Likewise.
14788         (geteuid): Likewise.
14789         (getgid): Likewise.
14790         (getuid): Likewise.
14791         (getgroups): Likewise.
14793         [BZ #14138]
14794         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
14795         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
14796         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
14797         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14798         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
14799         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
14800         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
14801         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
14802         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
14803         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
14804         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
14805         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
14806         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
14807         __chown.
14808         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
14809         (lchown): Likewise.
14810         (fchown): Likewise.
14811         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
14812         Likewise.
14813         (lchown): Likewise.
14814         (fchown): Likewise.
14815         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
14816         (lchown): Likewise.
14817         (fchown): Likewise.
14818         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
14819         Likewise.
14820         (lchown): Likewise.
14821         (fchown): Likewise.
14823 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
14825         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
14826         Simplify logic.
14828 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
14830         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14831         Cleanup logic.
14833 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
14835         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14836         Remove unused include.
14838 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
14840         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
14841         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
14842         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
14843         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
14845 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
14846             Helge Deller <deller@gmx.de>
14848         [BZ #17508]
14849         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
14850         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
14851         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
14853 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
14855         [BZ #14132]
14856         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
14857         Remove macro definition.
14858         (__ashrdi3_v_glibc20): Likewise.
14859         (__lshrdi3_v_glibc20): Likewise.
14860         (__cmpdi2_v_glibc20): Likewise.
14861         (__ucmpdi2_v_glibc20): Likewise.
14862         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
14863         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14864         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14865         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14866         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14867         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
14869 2014-10-22  Roland McGrath  <roland@hack.frob.com>
14871         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
14872         old GNU extension [0] syntax.
14873         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
14874         alloca rather than an array member with variable length.
14875         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
14876         * nscd/nscd.c (invalidate_db): New function, broken out of ...
14877         (parse_opt): ... here.  Likewise use alloca there.
14878         Validate the -i argument before checking for rootness.
14879         (send_shutdown): New function, broken out of ...
14880         (parse_opt): ... here.
14882 2014-10-22  Roland McGrath  <roland@hack.frob.com>
14884         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
14885         macro to get at the _rt_local_ro field.
14886         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
14887         ([PIC] case) or _dl_hwcap ([!PIC] case).
14888         * sysdeps/arm/setjmp.S: Likewise.
14890         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
14891         * sysdeps/arm/configure.ac: New check to define it.
14892         * sysdeps/arm/configure: Regenerated.
14893         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
14894         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
14895         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
14896         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
14897         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
14898         Use move/movt pair instead of a load.
14899         (LDST_GLOBAL): Macro removed.
14900         (LDR_GLOBAL): New macro replaces it.
14901         (LDR_HIDDEN): New macro.
14902         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
14903         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
14905         * setjmp/tst-setjmp-static.c: New file.
14906         * setjmp/Makefile (tests): Add it.
14907         (tests-static): New variable.
14909 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
14911         [BZ #17485]
14912         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
14914 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
14916         [BZ #14132]
14917         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
14919 2014-10-21  Roland McGrath  <roland@hack.frob.com>
14921         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
14923 2014-10-20  Roland McGrath  <roland@hack.frob.com>
14925         * io/fts.c (dirent_not_directory): New function.
14926         (fts_build): Call it.
14928 2014-10-20  Roland McGrath  <roland@hack.frob.com>
14930         * nptl/version.c (__nptl_main): Use normal __write rather than
14931         INTERNAL_SYSCALL.
14932         (banner): Update copyright years.
14934         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
14935         gettimeofday.
14936         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14937         * nptl/pthread_cond_timedwait.c: Likewise.
14938         * nptl/pthread_mutex_timedlock.c: Likewise.
14939         * nptl/sem_timedwait.c: Likewise.
14941         * sysdeps/nptl/bits/libc-lock.h
14942         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14943         (__libc_lock_init_recursive): Return void, not 0.
14944         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
14945         (__libc_rwlock_init): Likewise.
14946         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
14948 2014-10-20  Torvald Riegel  <triegel@redhat.com>
14950         [BZ #15215]
14951         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
14952         (__pthread_once_slow): ... here.
14953         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
14954         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
14956 2014-10-20  Torvald Riegel  <triegel@redhat.com>
14958         [BZ #15215]
14959         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
14960         __PTHREAD_ONCE_FORK_GEN_INCR): New.
14961         * sysdeps/nptl/fork.c (__libc_fork): Use them.
14962         * nptl/pthread_once.c (__pthread_once): Likewise.
14963         Update comments.
14965 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
14967         [BZ #14138]
14968         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
14969         name.
14970         (writev): Use __libc_writev as strong name.
14971         * sysdeps/unix/sysv/linux/readv.c: Remove file.
14972         * sysdeps/unix/sysv/linux/writev.c: Likewise.
14974 2014-10-17  Roland McGrath  <roland@hack.frob.com>
14976         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
14978         * sysdeps/i386/nptl/tls.h
14979         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
14980         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
14981         New macros.
14982         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
14983         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
14984         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
14985         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
14986         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
14987         Call CHECK_THREAD_SYSINFO instead of doing an assert.
14989         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14990         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
14991         on [__NR_futex].
14992         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
14993         broken out of ...
14994         (__pthread_mutex_init): ... here.  Call it.
14995         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
14996         Conditionalize PI cases on [__NR_futex].
14997         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
14998         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
14999         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15001         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
15002         conditional on [SIGSETXID].
15003         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
15004         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
15005         is defined.  Likewise for SIGSETXID.
15006         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
15007         Conditionalize definitions on [SIGSETXID].
15008         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
15009         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
15010         unblocking on [SIGCANCEL].
15012         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
15013         [__NR_set_robust_list].
15015 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15017         * string/strcoll_l.c (get_next_seq): Fix up formatting.
15018         (do_compare): Likewise.
15020 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
15022         [BZ #15884]
15023         * string/strcoll_l.c: Don't include stdio.h.
15024         (coll_seq): Remove members idxarr and rulearr.
15025         (get_next_seq_cached): Remove function.
15026         (get_next_seq): Likewise.
15027         (get_next_seq_nocache): Rename to get_next_seq.
15028         (do_compare): Remove function.
15029         (do_compare_nocache): Rename to do_compare.
15030         (STRCOLL): Remove weight and rules cache.
15032 2014-10-16  Roland McGrath  <roland@hack.frob.com>
15034         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
15035         * sysdeps/arm/sfp-machine.h: ... to here.
15036         * sysdeps/arm/Implies: Remove arm/soft-fp.
15038 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
15040         * conform/data/sys/utsname.h-data (*_t): Allow.
15041         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
15042         [POSIX] (WEXITED): Do not expect constant.
15043         [POSIX] (WSTOPPED): Likewise.
15044         [POSIX] (WNOHANG): Likewise.
15045         [POSIX] (WNOWAIT): Likewise.
15046         [POSIX] (siginfo_t): Do not expect type or elements.
15047         [POSIX] (pid_t): Do not expect type.
15048         [POSIX] (signal.h): Do not allow header.
15049         [POSIX] (sys/resource.h): Likewise.
15050         [POSIX] (si_*): Do not allow pattern.
15051         [POSIX] (W*): Likewise.
15052         [POSIX] (P_*): Likewise.
15053         [POSIX] (BUS_*): Likewise.
15054         [POSIX] (CLD_*): Likewise.
15055         [POSIX] (FPE_*): Likewise.
15056         [POSIX] (ILL_*): Likewise.
15057         [POSIX] (POLL_*): Likewise.
15058         [POSIX] (SEGV_*): Likewise.
15059         [POSIX] (SI_*): Likewise.
15060         [POSIX] (TRAP_*): Likewise.
15061         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
15062         variable.
15064 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
15066         [BZ #12926]
15067         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
15068         infinite loop when __recvmsg returns 0.
15070 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
15072         * CANCEL-FCT-WAIVE: Remove file.
15073         * CANCEL-FILE-WAIVE: Likewise.
15075         [BZ #14132]
15076         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
15077         instead of INTVARDEF.
15078         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15079         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
15080         rtld_hidden_data_def instead of INTVARDEF.
15081         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15082         * elf/dl-deps.c (expand_dst): Likewise.
15083         * elf/dl-load.c (_dl_dst_count): Likewise.
15084         (_dl_dst_substitute): Likewise.
15085         (decompose_rpath): Likewise.
15086         (_dl_init_paths): Likewise.
15087         (open_path): Likewise.
15088         (_dl_map_object): Likewise.
15089         * elf/rtld.c (dl_main): Likewise.
15090         (process_dl_audit): Likewise.
15091         (process_envvars): Likewise.
15092         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
15093         Remove declaration.
15094         (__libc_enable_secure): Use rtld_hidden_proto.
15096 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15098         * elf/dl-load.c
15099         (add_path): New function broken out of _dl_rtld_di_serinfo.
15100         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
15102 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
15104         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
15105         parentheses around macro arguments.
15106         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
15107         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
15108         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
15109         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
15110         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
15111         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15112         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15113         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
15114         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
15115         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
15116         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
15117         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
15118         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
15119         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
15120         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
15121         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
15122         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
15123         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
15124         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
15125         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
15126         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
15127         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
15128         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
15129         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15130         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15131         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
15132         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
15133         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
15134         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
15135         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
15136         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
15137         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
15138         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
15139         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
15140         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
15141         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
15142         Likewise.
15143         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
15144         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15145         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15146         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
15147         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
15148         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
15149         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
15150         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
15151         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
15152         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
15153         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
15154         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
15155         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
15156         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
15157         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
15158         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15159         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15160         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
15161         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
15162         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
15163         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
15164         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
15165         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
15166         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
15167         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
15168         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
15169         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
15170         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
15171         (_FP_FRAC_SRS_1): Likewise.
15172         (_FP_FRAC_CLZ_1): Likewise.
15173         (_FP_MUL_MEAT_1_imm): Likewise.
15174         (_FP_MUL_MEAT_1_wide): Likewise.
15175         (_FP_MUL_MEAT_1_hard): Likewise.
15176         (_FP_SQRT_MEAT_1): Likewise.
15177         (_FP_FRAC_ASSEMBLE_1): Likewise.
15178         (_FP_FRAC_DISASSEMBLE_1): Likewise.
15179         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
15180         (__FP_CLZ_2): Likewise.
15181         (_FP_MUL_MEAT_2_wide): Likewise.
15182         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15183         (_FP_MUL_MEAT_2_gmp): Likewise.
15184         (_FP_MUL_MEAT_2_120_240_double): Likewise.
15185         (_FP_SQRT_MEAT_2): Likewise.
15186         (_FP_FRAC_ASSEMBLE_2): Likewise.
15187         (_FP_FRAC_DISASSEMBLE_2): Likewise.
15188         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
15189         (_FP_FRAC_CLZ_4): Likewise.
15190         (_FP_MUL_MEAT_4_wide): Likewise.
15191         (_FP_MUL_MEAT_4_gmp): Likewise.
15192         (_FP_SQRT_MEAT_4): Likewise.
15193         (_FP_FRAC_ASSEMBLE_4): Likewise.
15194         (_FP_FRAC_DISASSEMBLE_4): Likewise.
15195         * soft-fp/op-common.h (_FP_CMP): Likewise.
15196         (_FP_CMP_EQ): Likewise.
15197         (_FP_CMP_UNORD): Likewise.
15198         (_FP_TO_INT): Likewise.
15199         (_FP_FROM_INT): Likewise.
15200         [!__FP_CLZ] (__FP_CLZ): Likewise.
15201         (_FP_DIV_HELP_imm): Likewise.
15202         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
15203         Likewise.
15204         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
15205         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
15206         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
15207         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
15208         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
15209         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15210         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15211         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
15212         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
15213         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
15214         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
15215         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
15216         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
15217         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
15218         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
15219         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
15220         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
15221         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
15222         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
15223         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
15224         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
15225         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
15226         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
15227         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15228         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15229         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
15230         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
15231         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
15232         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
15233         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
15234         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
15235         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
15236         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
15237         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
15238         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
15239         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
15240         (FP_UNPACK_RAW_SP): Likewise.
15241         (FP_PACK_RAW_S): Likewise.
15242         (FP_PACK_RAW_SP): Likewise.
15243         (FP_UNPACK_S): Likewise.
15244         (FP_UNPACK_SP): Likewise.
15245         (FP_UNPACK_SEMIRAW_S): Likewise.
15246         (FP_UNPACK_SEMIRAW_SP): Likewise.
15247         (FP_PACK_S): Likewise.
15248         (FP_PACK_SP): Likewise.
15249         (FP_PACK_SEMIRAW_S): Likewise.
15250         (FP_PACK_SEMIRAW_SP): Likewise.
15251         (_FP_SQRT_MEAT_S): Likewise.
15252         (FP_CMP_S): Likewise.
15253         (FP_CMP_EQ_S): Likewise.
15254         (FP_CMP_UNORD_S): Likewise.
15255         (FP_TO_INT_S): Likewise.
15256         (FP_FROM_INT_S): Likewise.
15258         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
15260         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
15261         (FP_EX_INVALID_IMZ): Likewise.
15262         (FP_EX_INVALID_IMZ_FMA): Likewise.
15263         (FP_EX_INVALID_ISI): Likewise.
15264         (FP_EX_INVALID_ZDZ): Likewise.
15265         (FP_EX_INVALID_IDI): Likewise.
15266         (FP_EX_INVALID_SQRT): Likewise.
15267         (FP_EX_INVALID_CVI): Likewise.
15268         (FP_EX_INVALID_VC): Likewise.
15269         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
15270         "invalid" exceptions.
15271         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
15272         (_FP_ADD_INTERNAL): Likewise.
15273         (_FP_MUL): Likewise.
15274         (_FP_FMA): Likewise.
15275         (_FP_DIV): Likewise.
15276         (_FP_CMP_CHECK_NAN): Likewise.
15277         (_FP_SQRT): Likewise.
15278         (_FP_TO_INT): Likewise.
15279         (FP_EXTEND): Likewise.
15281 2014-10-09  Allan McRae  <allan@archlinux.org>
15283         * po/fr.po: Update French translation from translation project.
15285 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
15287         [BZ #14132]
15288         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
15289         of INTDEF.
15290         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
15291         (__cxa_atexit): Use libc_hidden_proto.
15292         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
15294         [BZ #14132]
15295         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
15296         declaration.
15297         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
15298         [!_ISOMAC] (__iswspace_l_internal): Likewise.
15299         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
15300         [!_ISOMAC] (__iswctype_internal): Likewise.
15301         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
15302         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
15303         alias.
15304         (fcntl): Remove __fcntl_internal alias.
15305         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
15306         __connect_internal alias.
15307         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
15308         Likewise.
15310         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
15311         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
15312         FP_DENORM_ZERO.
15313         (_FP_CHECK_FLUSH_ZERO): New macro.
15314         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
15315         (_FP_CMP): Likewise.
15316         (_FP_CMP_EQ): Likewise.
15317         (_FP_TO_INT): Do not set inexact for subnormal arguments if
15318         FP_DENORM_ZERO.
15319         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
15320         (FP_TRUNC): Likewise.
15322         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
15323         treated as invalid conversion, not as normal exponent.
15325         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
15326         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
15327         (_FP_CMP_EQ): Likewise.
15328         (_FP_CMP_UNORD): Likewise.
15329         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
15330         (FP_CMP_EQ_D): Likewise.
15331         (FP_CMP_UNORD_D): Likewise.
15332         * soft-fp/extended.h (FP_CMP_E): Likewise.
15333         (FP_CMP_EQ_E): Likewise.
15334         (FP_CMP_UNORD_E): Likewise.
15335         * soft-fp/quad.h (FP_CMP_Q): Likewise.
15336         (FP_CMP_EQ_Q): Likewise.
15337         (FP_CMP_UNORD_Q): Likewise.
15338         * soft-fp/single.h (FP_CMP_S): Likewise.
15339         (FP_CMP_EQ_S): Likewise.
15340         (FP_CMP_UNORD_S): Likewise.
15341         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
15342         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
15343         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
15344         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
15345         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
15346         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
15347         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
15348         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
15349         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
15350         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
15351         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
15352         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
15353         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
15354         to FP_CMP_Q.
15355         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
15356         FP_CMP_Q.
15357         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
15358         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
15359         FP_CMP_EQ_Q.
15360         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
15361         FP_CMP_Q.
15362         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
15363         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
15364         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
15365         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
15366         FP_CMP_EQ_Q.
15367         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
15368         FP_CMP_Q.
15369         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
15370         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
15371         FP_CMP_EQ_Q.
15372         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
15373         FP_CMP_Q.
15374         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
15375         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
15376         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
15377         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
15378         FP_CMP_EQ_Q.
15380         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
15381         a subnormal result, set the underflow exception if trapping on
15382         underflow is enabled.
15383         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
15384         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
15385         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
15386         redefine to 0.
15387         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
15388         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15389         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15390         * soft-fp/extendxftf2.c (__extendxftf2): Use
15391         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
15393         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
15394         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
15395         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15396         FP_HANDLE_EXCEPTIONS.
15397         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
15398         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15399         FP_HANDLE_EXCEPTIONS.
15400         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
15401         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15402         FP_HANDLE_EXCEPTIONS.
15403         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
15404         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15405         FP_HANDLE_EXCEPTIONS.
15407 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
15409         [BZ #14132]
15410         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
15411         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
15412         use INTUSE.
15413         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
15414         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
15415         Remove alias.
15416         (__adjtimex): Define using libc_hidden_ver.
15417         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
15418         Remove declaration.
15419         (ntp_gettime): Call __adjtimex directly.
15420         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
15421         Remove declaration.
15422         (ntp_gettimex): Call __adjtimex directly.
15423         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
15424         __adjtimex_internal alias.
15426 2014-10-08  Roland McGrath  <roland@hack.frob.com>
15428         [BZ #17460]
15429         * nscd/nscd.c (more_help): Rewrite list of tables collection
15430         using xstrdup and asprintf.
15432         * nscd/nscd_conf.c: Remove local xstrdup declaration.
15434 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15435             Roland McGrath  <roland@hack.frob.com>
15437         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
15438         (do_lookup_unique): ... local function 'enter' here; update callers.
15440 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
15442         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
15443         compat_symbol calls on [SHARED].
15444         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
15445         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
15446         Remove.
15447         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15448         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
15449         (oldsetrlimit): Remove.
15450         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15452         (lchown): New syscall entry.
15453         (oldsetrlimit): Remove.
15454         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15455         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
15456         (oldsetrlimit): Remove.
15457         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15459         [BZ #14138]
15460         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
15461         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
15462         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
15463         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
15464         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15465         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
15466         (fchown): Likewise.
15467         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
15468         (fchown): Likewise.
15469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
15470         Likewise.
15472 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15474         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
15475         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
15476         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
15477         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
15478         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
15479         Likewise.
15480         (__old_sem_post): Likewise.
15482 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
15484         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
15485         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
15486         HAVE_CLOCK_GETTIME_VSYSCALL macros.
15487         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
15488         Use INLINE_VSYSCALL macro.
15489         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
15490         __vdso_clock_gettime.
15491         * sysdeps/unix/sysv/linux/tile/init-first.c
15492         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
15493         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
15494         __vdso_clock_gettime.
15496         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
15497         to set up frame more cleanly.
15499         * sysdeps/tile/memcmp.c: New file.
15501         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
15503         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
15504         * sysdeps/tile/tilegx/strcasestr.c: New file.
15505         * sysdeps/tile/tilegx/strnlen.c: New file.
15506         * sysdeps/tile/tilegx/strstr.c: New file.
15508         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
15510 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
15512         * nptl/tst-setuid3.c: Write errors to stdout.
15514 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15516         * elf/dl-deps.c
15517         (preload): New functions broken out of _dl_map_object_deps.
15518         (_dl_map_object_deps):  Remove a nested function. Update call sites.
15520 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
15522         [BZ #14138]
15523         * sysdeps/unix/sysv/linux/execve.c: Remove file.
15524         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
15526 2014-10-01  Steve Ellcey  <sellcey@mips.com>
15528         * sysdeps/mips/strcmp.S: New.
15530 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
15532         [BZ #14138]
15533         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
15534         (linkat): Likewise.
15535         (mkdirat): Likewise.
15536         (readlinkat): Likewise.
15537         (renameat): Likewise.
15538         (symlinkat): Likewise.
15539         (unlinkat): Likewise.
15540         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
15541         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
15542         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
15543         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
15544         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15545         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
15546         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
15548 2014-09-30  Will Newton  <will.newton@linaro.org>
15550         * math/math.h: Define long double math functions if
15551         _LIBC_TEST is defined.
15552         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
15554         * localedata/Makefile: Move assignment to tests-special
15555         into an ifdef testing run-built-tests.
15556         * timezone/Makefile: Likewise.
15558 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
15560         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
15561         with $(BASH) not $(SHELL).
15563 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
15564             Matthew LeGendre  <legendre1@llnl.gov>
15566         [BZ #17411]
15567         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
15568         l_reloc_result.
15570 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15572         * stdio-common/printf_fp.c
15573         (hack_digit): New function, broken out of ...
15574         (__printf_fp): ... local function here.  Update call sites.
15575         hack_digit now takes an additional parameter that is a pointer
15576         to a struct of the referenced locals.  Those locals moved inside
15577         the struct and references updated.
15579 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
15581         * aclocal.m4: Require autoconf 2.69.
15582         * configure: Regenerated.
15583         * sysdeps/aarch64/configure: Likewise.
15584         * sysdeps/alpha/configure: Likewise.
15585         * sysdeps/arm/armv7/configure: Likewise.
15586         * sysdeps/arm/configure: Likewise.
15587         * sysdeps/ia64/configure: Likewise.
15588         * sysdeps/mach/configure: Likewise.
15589         * sysdeps/mips/configure: Likewise.
15590         * sysdeps/s390/configure: Likewise.
15591         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
15592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
15594         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
15595         file.
15596         * sysdeps/ia64/configure.ac: Likewise.
15598 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
15600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
15601         specify symbol version for ld.so.  Do not include entry for
15602         libpthread.
15603         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15604         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15605         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15607         [BZ #14171]
15608         * Makeconfig [$(build-shared) = yes]
15609         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
15610         makefiles.
15611         [$(build-shared) = yes && $(soversions.mk-done) = t]
15612         ($(common-objpfx)gnu/lib-names.h): Remove rule.
15613         [$(build-shared) = yes && $(soversions.mk-done) = t]
15614         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
15615         to Makerules.
15616         [$(build-shared) = yes && $(soversions.mk-done) = t]
15617         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
15618         here.
15619         [$(build-shared) = yes && $(soversions.mk-done) = t]
15620         (common-generated): Don't append gnu/lib-names.h and
15621         gnu/lib-names.stmp here.
15622         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
15623         (lib-names-h-abi): New variable.
15624         [$(build-shared) = yes && $(soversions.mk-done) = t]
15625         (lib-names-stmp-abi): Likewise.
15626         [$(build-shared) = yes && $(soversions.mk-done) = t &&
15627         abi-variants] (before-compile): Append
15628         $(common-objpfx)$(lib-names-h-abi).
15629         [$(build-shared) = yes && $(soversions.mk-done) = t &&
15630         abi-variants] (common-generated): Append gnu/lib-names.h.
15631         [$(build-shared) = yes && $(soversions.mk-done) = t &&
15632         abi-variants] (install-others-nosubdir): Depend on
15633         $(inst_includedir)/$(lib-names-h-abi).
15634         [$(build-shared) = yes && $(soversions.mk-done) = t &&
15635         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
15636         [$(build-shared) = yes && $(soversions.mk-done) = t]
15637         ($(common-objpfx)$(lib-names-h-abi)): New rule.
15638         [$(build-shared) = yes && $(soversions.mk-done) = t]
15639         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
15640         [$(build-shared) = yes && $(soversions.mk-done) = t]
15641         (common-generated): Append $(lib-names-h-abi) and
15642         $(lib-names-stmp-abi).
15643         * scripts/lib-names.awk: Do not handle multi being set.
15644         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
15645         Remove variable.
15646         (abi-lp64_be-ld-soname): Likewise.
15647         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
15648         Likewise.
15649         (abi-hard-ld-soname): Likewise.
15650         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
15651         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
15652         Remove variable.
15653         (abi-o32_hard-ld-soname): Likewise.
15654         (abi-o32_soft_2008-ld-soname): Likewise.
15655         (abi-o32_hard_2008-ld-soname): Likewise.
15656         (abi-n32_soft-ld-soname): Likewise.
15657         (abi-n32_hard-ld-soname): Likewise.
15658         (abi-n32_soft_2008-ld-soname): Likewise.
15659         (abi-n32_hard_2008-ld-soname): Likewise.
15660         (abi-n64_soft-ld-soname): Likewise.
15661         (abi-n64_hard-ld-soname): Likewise.
15662         (abi-n64_soft_2008-ld-soname): Likewise.
15663         (abi-n64_hard_2008-ld-soname): Likewise.
15664         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
15665         Likewise.
15666         (abi-64-v2-ld-soname): Likewise.
15667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
15668         ld.so entries.
15669         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
15670         variable.
15671         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
15672         entry.
15673         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
15674         variable.
15675         (abi-64-ld-soname): Likewise.
15676         (abi-x32-ld-soname): Likewise.
15677         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
15678         entry.
15679         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15681 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
15683         [BZ #14138]
15684         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
15685         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
15686         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
15687         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
15688         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
15689         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
15690         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
15691         syscall entry for GLIBC_2.2 symbol version.
15692         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
15693         Likewise.
15694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15695         (setrlimit): Likewise.
15696         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
15697         Likewise.
15699 2014-09-23  Will Newton  <will.newton@linaro.org>
15701         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
15702         _LINUX_ARM_SYSDEP_H include guard too.
15703         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
15704         define.
15706 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15708         * sysdeps/unix/sysv/linux/eventfd.c:
15709         Make first argument unsigned.
15710         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
15711         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
15713 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
15715         * socket/recvmmsg.c (recvmmsg): Drop const argument.
15716         * socket/sys/socket.h: Likewise
15717         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
15719 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15721         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
15723 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
15725         * time/tst-ftime.c: New test.
15726         * time/Makefile (tests): Add tst-ftime.
15728 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
15730         * soft-fp/extended.h: Fix comment formatting.
15731         * soft-fp/op-1.h: Likewise.
15732         * soft-fp/op-2.h: Likewise.
15733         * soft-fp/op-4.h: Likewise.
15734         * soft-fp/op-8.h: Likewise.
15735         * soft-fp/op-common.h: Likewise.
15736         * soft-fp/soft-fp.h: Likewise.
15738         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
15740 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
15742         [BZ #6652]
15743         * Makeconfig (soversions-default-setname): Remove variable.
15744         ($(common-objpfx)soversions.i): Don't pass default_setname to
15745         soversions.awk.
15746         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
15747         oldest_abi to abi-versions.awk.
15748         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
15749         * config.make.in (oldest-abi): Remove variable.
15750         * configure.ac (--enable-oldest-abi): Remove configure option.
15751         * configure: Regenerated.
15752         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
15753         text.
15754         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
15755         * scripts/soversions.awk: Do not handle default_setname variable.
15756         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
15757         variable.
15758         * sysdeps/mach/hurd/configure: Regenerated.
15759         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
15760         variable.
15761         * sysdeps/unix/sysv/linux/configure: Regenerated.
15763 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15765         * elf/Makefile (CFLAGS-interp.c): Remove.
15766         ($(elf-objpfx)runtime-linker.h): Generate header with linker
15767         path string.
15768         * elf/interp.c: Include generated runtime-linker.h
15770         * Makerules (lib%.so): Don't include $(+interp) in
15771         prerequisites.
15772         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
15773         * dlfcn/eval.c: Remove file.
15775         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
15776         macros.
15778         [BZ #17266]
15779         * misc/sys/cdefs.h: Define __extern_always_inline for clang
15780         4.2 and newer.
15782         [BZ #17370]
15783         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
15785 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15786             Jakub Jelinek  <jakub@redhat.com>
15788         [BZ #17266]
15789         * libio/stdio.h: Check definition of __fortify_function
15790         instead of __extern_always_inline to include bits/stdio2.h.
15791         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
15792         check if __extern_always_inline is defined.
15793         [__USE_MISC || __USE_XOPEN]: Likewise.
15794         [__USE_ISOC99] Likewise.
15795         * misc/sys/cdefs.h (__fortify_function): Define only if
15796         __extern_always_inline is defined.
15797         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
15798         __extern_always_inline and __extern_inline only for g++-4.3
15799         and newer or a compatible gcc.
15801 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
15803         [BZ #17371]
15804         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15805         last change to handle zero prefix length.
15807 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15809         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
15810         _SC_REGEX_VERSION.
15812         * posix/getconf.c (vars): Add _POSIX_IPV6 and
15813         _POSIX_RAW_SOCKETS.
15815 2014-09-13  Allan McRae  <allan@archlinux.org>
15817         * po/ru.po: Update Russian translation from translation project.
15819 2014-09-12  Roland McGrath  <roland@hack.frob.com>
15821         * locale/programs/locale.c (show_locale_vars): Inline local function
15822         into its sole call site.  Clean up some style nits.
15823         (print_item): New function, broken out of ...
15824         (show_info): ... local function here.  Clean up style nits.
15826         * locale/programs/ld-ctype.c (set_one_default): New function, broken
15827         out of ...
15828         (set_class_defaults): ... local function set_default here.
15829         Define set_default as a macro locally to pass constant parameters.
15830         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
15831         rather than a shared local.
15833         * stdlib/rpmatch.c (try): New function, broken out of ...
15834         (rpmatch): ... local function here.  Also, prototypify definition.
15836 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
15838         * scripts/soversions.awk: Do not handle configuration names.
15839         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
15840         vendor and os variables to soversions.awk.
15841         * configure.ac: Do not modify gnu-* host_os.
15842         * configure: Regenerated
15843         * shlib-versions: Remove first column with configuration names.
15844         * nptl/shlib-versions: Likewise.
15845         * nptl_db/shlib-versions: Likewise.
15846         * sysdeps/hppa/shlib-versions: Likewise.
15847         * sysdeps/m68k/shlib-versions: Likewise.
15848         * sysdeps/mach/hurd/shlib-versions: Likewise.
15849         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
15850         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
15851         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
15852         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
15853         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
15854         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
15855         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
15856         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
15857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15858         Likewise.
15859         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15860         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15861         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15862         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15863         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15864         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
15865         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15866         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15869         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
15870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15871         Regenerated.
15872         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
15873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15874         Condition symbol version definitions on [HAVE_ELFV2_ABI].
15876         * shlib-versions: Remove OS-specific entries.  Moved to files in
15877         sysdeps.
15878         * sysdeps/mach/hurd/shlib-versions: New file.
15879         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15881         * nptl/shlib-versions: Remove architecture-specific entries.
15882         Moved to files in sysdeps.
15883         * shlib-versions: Likewise.
15884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
15885         file.
15886         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15887         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15888         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15889         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15891         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
15892         (UDP_NO_CHECK6_RX): Likewise.
15894 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15896         * sysdeps/posix/sysconf.c (__sysconf): Spell
15897         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
15899 2014-08-12  Florian Weimer  <fweimer@redhat.com>
15901         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
15902         loading.
15903         * iconv/Versions (__gconv_transliterate): Export for use from
15904         gconv modules.
15905         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
15906         (struct __gconv_trans_data, __gconv_trans_fct,
15907         __gconv_trans_context_fct, __gconv_trans_query_fct,
15908         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
15909         definitions.
15910         (struct __gconv_step_data): Remove __trans member.
15911         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
15912         longer hidden.  Remove unused trans_data argument.
15913         * iconv/gconv_int.h (struct trans_struct): Remove definition.
15914         (__gconv_translit_find): Remove declaration.
15915         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
15916         prototype.
15917         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
15918         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
15919         trans_data argument.  Add hidden definition.
15920         (__gconv_translit_find): Remove.
15921         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
15922         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
15923         * iconv/skeleton.c: Remove transliteration initialization.
15924         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
15925         __gconv_step_data initialization.
15926         * libio/iofwide.c (__libio_translit_): Remove.
15927         (_IO_fwide): Adjust struct __gconv_step_data initialization.
15928         * wcsmbs/btowc.c (__btowc): Likewise.
15929         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15930         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15931         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15932         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15933         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
15934         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15935         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15936         * wcsmbs/wctob.c (wctob): Likewise.
15938 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15940         [BZ #16194]
15941         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
15942         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
15943         register usage.
15944         * sysdeps/x86/Makefile: Adjust.
15946 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15947             Roland McGrath  <roland@hack.frob.com>
15949         * locale/weight.h: Add include guard.
15950         (findidx): Make static rather than auto; take new parameters
15951         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
15952         * locale/weightwc.h: Likewise.
15953         * posix/fnmatch_loop.c
15954         (FCT): Change type of EXTRA from int32_t to wint_t.
15955         Don't include either header inside the function.
15956         Call FINDIDX rather than findidx, and pass new arguments.
15957         #undef FINDIDX at the end of the file.
15958         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
15959         FINDIDX before including fnmatch_loop.c for the non-wide version.
15960         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
15961         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
15962         for the wide version.
15963         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
15964         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
15965         Pass new arguments to findidx.
15966         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
15967         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
15968         Don't #include it inside the function.  Pass new arguments to findidx.
15969         * posix/regex_internal.h
15970         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
15971         (re_string_elem_size_at): Don't #include it inside the function.
15972         Pass new arguments to findidx.
15973         * string/strcoll_l.c: #include WEIGHT_H at top level.
15974         (get_next_seq): Don't #include it inside the function.
15975         Pass new arguments to findidx.
15976         (get_next_seq_nocache): Likewise.
15977         * string/strxfrm_l.c: #include WEIGHT_H at top level.
15978         (STRXFRM): Don't #include it inside the function.
15979         Pass new arguments to findidx.
15981 2014-09-11  Florian Weimer  <fweimer@redhat.com>
15983         [BZ #17344]
15984         * malloc/malloc.c (unlink): Turn asserts into a call to
15985         malloc_printerr.
15987 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
15989         [BZ #17370]
15990         * libio/wfileops (do_ftell_wide): Free OUT.
15992 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
15994         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
15996 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15998         [BZ #17363]
15999         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
16000         group if the current group is empty.
16002 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16004         * benchtests/bench-memset.c (test_main): Add more test from size
16005         from 32 to 512 bytes.
16006         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16007         Add POWER8 memset object.
16008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16009         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
16010         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
16011         implementation.
16012         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
16013         Likewise.
16014         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
16015         multiarch POWER8 memset optimization.
16016         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
16017         POWER8 memset optimization.
16019         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16020         Remove bzero multiarch objects.
16021         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
16022         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
16023         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
16024         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
16025         Remove define.
16026         [__bzero]: Redefine to specific name.
16027         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
16028         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
16029         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
16030         define.
16031         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16032         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16034 2014-09-10  Florian Weimer  <fweimer@redhat.com>
16036         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
16037         warnings into errors.
16039         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
16040         __cxa_thread_atexit_impl prototype.
16042 2014-09-09  Steve Ellcey  <sellcey@mips.com>
16044         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
16045         Fix capitalization of error message.
16047 2014-09-09  Steve Ellcey  <sellcey@mips.com>
16049         * sysdeps/mips/preconfigure: Modify ABI tests.
16051 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
16053         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
16055 2014-09-07  Roland McGrath  <roland@hack.frob.com>
16056             Carlos O'Donell  <carlos@systemhalted.org>
16058         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
16059         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
16060         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
16061         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
16062         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
16063         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
16064         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
16065         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
16066         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
16067         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
16068         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
16069         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
16070         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
16071         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
16072         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
16073         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
16074         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
16075         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
16076         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
16077         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
16078         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
16079         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
16080         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
16081         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
16082         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
16083         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
16084         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
16085         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
16086         Deconditionalize the code that was previously under [RESET_PID].
16087         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
16088         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
16089         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
16090         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
16091         include sysdep.h.
16093 2014-09-08  Allan McRae  <allan@archlinux.org>
16095         * version.h (RELEASE): Set to "development".
16096         (VERSION): Set to "2.20.90"
16098 2014-09-07  Allan McRae  <allan@archlinux.org
16100         * version.h (RELEASE): Set to "stable".
16101         (VERSION): Set to "2.20"
16102         * include/features.h (__GLIBC_MINOR__): Set to 20.
16104         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
16105         Liebler.
16107         * po/ko.po: Update Korean translation from translation project.
16109 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
16111         [BZ #17354]
16112         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
16113         macro for handling signed relocations.
16115 2014-09-03  Florian Weimer  <fweimer@redhat.com>
16117         [BZ #17325]
16118         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
16119         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
16120         assert.
16121         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
16122         * iconvdata/ibm935.c (BODY): Likewise.
16123         * iconvdata/ibm937.c (BODY): Likewise.
16124         * iconvdata/ibm939.c (BODY): Likewise.
16125         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
16126         assert.
16127         * iconvdata/Makefile (iconv-test.out): Pass module list to test
16128         script.
16129         * iconvdata/run-iconv-test.sh: New test loop for checking for
16130         decoder crashers.
16132 2014-09-02  Khem Raj  <raj.khem@gmail.com>
16134         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
16135         libm_hidden_ver.
16137 2014-09-01  Allan McRae  <allan@archlinux.org>
16139         * po/eo.po: Update Esperanto translation from translation project.
16141         * po/ca.po: Update Catalan translation from translation project.
16143 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16145         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
16146         __proc_dostop call.
16148 2014-08-27  Mark Wielaard  <mjw@redhat.com>
16150         [BZ #17319]
16151         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
16152         to call set_thread_area instead of hand written asm.
16153         (__NR_set_thread_area): Removed define.
16154         (TLS_FLAG_WRITABLE): Likewise.
16155         (__ASSUME_SET_THREAD_AREA): Remove check.
16156         (TLS_EBX_ARG): Remove define.
16157         (TLS_LOAD_EBX): Likewise.
16159 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16161         Simplify atomicity of socket creation in bind.
16163         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
16164         looking up the name after linking the file.
16166 2014-08-27  Allan McRae  <allan@archlinux.org>
16168         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16170 2014-08-26  Florian Weimer  <fweimer@redhat.com>
16172         [BZ #17187]
16173         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
16174         trans_compare, open_translit, __gconv_translit_find):
16175         Remove module loading code.
16177 2014-08-26  Allan McRae  <allan@archlinux.org>
16179         * po/vi.po: Update Vietnamese translation from translation project.
16181         * po/uk.po: Update Ukrainian translation from translation project.
16183         * po/fr.po: Update French translation from translation project.
16185         * po/ru.po: Update Russian translation from translation project.
16187         * po/pl.po: Update Polish translation from translation project.
16189         * po/cs.po: Update Czech translation from translation project.
16191         * po/de.po: Update German translation from translation project.
16193         * po/bg.po: Update Bulgarian translation from translation project.
16195         * po/sv.po: Update Sweedish translation from translation project.
16197         * po/nl.po: Update Dutch translation from translation project.
16199         * po/es.po: Update Spanish translation from translation project.
16201 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16203         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
16205         * catgets/Makefile (CPPFLAGS-gencat): Remove.
16206         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
16207         (CPPFLAGS-iconvconfig): Likewise.
16208         * timezone/Makefile (CPPFLAGS-zic): Likewise.
16210         * include/libc-symbols.h: Remove unnecessary check for
16211         NOT_IN_libc.
16212         * nptl/pthreadP.h: Likewise.
16213         * sysdeps/aarch64/setjmp.S: Likewise.
16214         * sysdeps/alpha/setjmp.S: Likewise.
16215         * sysdeps/arm/sysdep.h: Likewise.
16216         * sysdeps/i386/setjmp.S: Likewise.
16217         * sysdeps/m68k/setjmp.c: Likewise.
16218         * sysdeps/posix/getcwd.c: Likewise.
16219         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16220         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
16221         * sysdeps/s390/s390-32/setjmp.S: Likewise.
16222         * sysdeps/s390/s390-64/setjmp.S: Likewise.
16223         * sysdeps/sh/sh3/setjmp.S: Likewise.
16224         * sysdeps/sh/sh4/setjmp.S: Likewise.
16225         * sysdeps/unix/alpha/sysdep.h: Likewise.
16226         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16227         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16228         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
16229         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16232         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16233         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16234         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16235         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16236         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16237         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16238         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16239         * sysdeps/x86_64/setjmp.S: Likewise.
16241 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
16243         [BZ #17263]
16244         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
16245         <stdint.h>.
16246         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
16247         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
16249 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16251         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
16253         [BZ #17262]
16254         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
16255         and __x86_64__ when disabling x87 inline functions.
16257 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
16259         [BZ #17259]
16260         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
16261         asm statement with __cpuid_count.
16263 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
16265         * configure.ac: Change __ehdr_start code to dereference the struct.
16266         Run readelf on the output to look for relocations.
16267         * configure: Regenerated.
16269 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
16271         [BZ #17261]
16272         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
16273         value to 0.
16274         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
16276 2014-08-12  Roland McGrath  <roland@hack.frob.com>
16278         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
16280 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
16282         [BZ #16892]
16283         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
16284         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
16286 2014-08-12  Sean Anderson  <seanga2@gmail.com>
16288         * malloc/malloc.c: Fix typo in comment.
16290 2014-08-09  Allan McRae  <allan@archlinux.org>
16292         * Regenerate libc.po.
16294 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
16296         * intl/tst-gettext2.sh: Check every lang file for creation.
16298 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
16300         * sysdeps/aarch64/fpu/math_private.h
16301         (libc_feholdsetround_noex_aarch64_ctx): New function.
16303 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
16305         * sysdeps/arm/armv6/strcpy.S (strcpy):
16306         Fix performance issue in misaligned cases.
16308 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16310         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
16311         Move definition from termios.h.
16312         (struct termio): Likewise.
16313         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16314         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16315         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16316         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16317         Likewise.
16318         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
16319         Move definition to ioctl-types.h
16320         (struct termio): Likewise.
16321         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16322         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16323         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16324         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16325         Likewise.
16327 2014-08-05  Richard Henderson  <rth@redhat.com>
16329         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
16330         exceptions.
16331         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
16332         Add fraiseexcpt.
16333         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
16334         Use __feraiseexcept.
16335         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
16336         Protect libm symbols with IS_IN_libm.
16338         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
16340 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
16342         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
16344 2014-08-04  Will Newton  <will.newton@linaro.org>
16346         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
16347         file.
16349 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
16351         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
16352         variants for each function.
16354 2014-08-04  Roland McGrath  <roland@hack.frob.com>
16356         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
16357         appended ...
16358         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
16359         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
16360         appended ...
16361         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
16362         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
16363         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
16364         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
16365         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
16366         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
16367         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
16368         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
16369         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
16370         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
16371         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
16372         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
16373         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
16374         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
16375         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
16376         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
16377         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
16378         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
16379         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
16380         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
16381         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
16382         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
16383         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
16384         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
16385         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
16386         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
16387         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
16388         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
16389         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
16390         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
16391         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
16392         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
16393         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
16394         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
16395         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
16396         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
16397         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
16398         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
16399         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
16400         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
16401         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
16402         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
16403         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
16404         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
16405         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
16406         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
16407         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
16408         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
16409         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
16410         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
16411         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
16412         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
16413         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
16414         Update #include.
16415         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
16416         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
16418 2014-08-04  Roland McGrath  <roland@hack.frob.com>
16420         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
16421         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
16422         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
16423         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
16424         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
16425         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
16427 2014-08-04  Roland McGrath  <roland@hack.frob.com>
16429         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
16430         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
16431         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16432         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
16434 2014-08-04  Roland McGrath  <roland@hack.frob.com>
16436         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
16437         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
16438         (__libc_vfork): Define function under this name.
16439         (__vfork): Define as an alias.
16440         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
16441         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
16443 2014-08-04  Roland McGrath  <roland@hack.frob.com>
16445         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
16446         that was previously under [RESET_PID].
16447         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
16449 2014-08-04  Andreas Schwab  <schwab@suse.de>
16451         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
16453 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
16455         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
16456         (main): Likewise.
16458 2014-08-01  Roland McGrath  <roland@hack.frob.com>
16460         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
16462 2014-08-01  Richard Henderon  <rth@redhat.com>
16464         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
16465         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
16466         typo in exact zero test.
16467         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16468         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16469         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16471 2014-08-01  Roland McGrath  <roland@hack.frob.com>
16473         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
16474         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
16475         * sysdeps/arm/sysdep.h: ... here.
16476         [!__ASSEMBLER__]: Include <stdint.h>.
16478 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16480         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
16481         (HAVE_WCTYPE_H): Likewise.
16482         (HAVE_ISWCTYPE): Likewise.
16483         (ENABLE_NLS): Likewise.
16484         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
16485         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
16487         * posix/regex_internal.c: Check if DEBUG is defined and is
16488         set.
16490         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
16491         (HAVE_MBSRTOWCS): Likewise.
16492         * posix/fnmatch.c: Include string.h unconditionally.
16494 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
16496         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
16497         reversal.
16499 2014-07-31  Roland McGrath  <roland@hack.frob.com>
16501         * sysdeps/generic/safe-fatal.h: New file.
16502         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
16503         * nptl/forward.c: Include it.
16504         (__pthread_unwind): Use __safe_fatal as default action, rather
16505         than a bogus use of INTERNAL_SYSCALL that could never work.
16507         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
16508         * configure.ac (libc_cv_builtin_trap): New test.
16509         * configure: Regenerated.
16510         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
16511         (ABORT_INSTRUCTION): Define using __builtin_trap.
16513         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
16514         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
16515         * sysdeps/nptl/nptl-signals.h: New file.
16516         * nptl/pthreadP.h: Include <nptl-signals.h>.
16518 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16520         * sysdeps/s390/s390-64/utf16-utf32-z9.c
16521         (ONE_DIRECTION): Define.
16522         * sysdeps/s390/s390-64/utf8-utf16-z9.c
16523         (ONE_DIRECTION): Define.
16524         * sysdeps/s390/s390-64/utf8-utf32-z9.c
16525         (ONE_DIRECTION): Define.
16527 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16529         * sysdeps/s390/Makefile: Delete file.
16530         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
16531         * sysdeps/s390/__longjmp.c: Delete file.
16532         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
16533         Remove fields __flags and __reserved.
16534         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
16535         and add versioning.
16536         * sysdeps/s390/rtld-__longjmp.c: Delete file.
16537         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
16538         * sysdeps/s390/rtld-setjmp.S: Likewise.
16539         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
16540         * sysdeps/s390/s390-32/__longjmp.c: ... here.
16541         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
16542         * sysdeps/s390/s390-32/setjmp.S: ... here.
16543         Add versioning.
16544         (__sigsetjmp): Remove setting __flags field.
16545         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
16546         * sysdeps/s390/s390-64/__longjmp.c: ... here.
16547         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
16548         * sysdeps/s390/s390-64/setjmp.S: ... here.
16549         Add versioning.
16550         (__sigsetjmp): Remove setting __flags field.
16551         * sysdeps/s390/setjmp.S: Delete file.
16552         * sysdeps/s390/sigjmp.c: Likewise.
16553         * sysdeps/s390/v1-longjmp.c: Likewise.
16554         * sysdeps/s390/v1-setjmp.h: Likewise.
16555         * sysdeps/s390/v1-sigjmp.c: Likewise.
16556         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
16557         Remove v1-longjmp_chk.
16558         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
16559         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
16560         Include debug/longjmp_chk.c and add versioning.
16561         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
16562         Include nptl/pt-longjmp.c and add versioning.
16563         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
16564         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
16565         Include __longjmp.c.
16566         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16567         Move to ...
16568         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
16569         (__getcontext): Remove setting __flags field.
16570         Add versioning.
16571         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16572         Don't restore upper high grps.
16573         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
16574         Likewise.
16575         (__swapcontext): Remove setting uc_flags field.
16576         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
16577         Delete file.
16578         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16579         Include __longjmp.c.
16580         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16581         Move to ...
16582         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
16583         (__getcontext): Remove setting __flags field.
16584         Add versioning.
16585         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
16586         (__swapcontext): Remove setting uc_flags field.
16587         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
16588         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
16589         Remove fields uc_high_gprs and __reserved.
16590         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
16591         New file with reverted content.
16592         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
16593         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
16594         Regenerated.
16595         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
16596         Regenerated.
16598 2014-07-31  Andreas Schwab  <schwab@suse.de>
16600         * config.h.in (HAVE_IFUNC): Define to 0.
16601         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
16602         definedness.
16604 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
16606         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16607         memmove-avx-unaligned, memcpy-avx-unaligned and
16608         mempcpy-avx-unaligned.
16609         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16610         Add tests for AVX memcpy functions.
16611         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
16612         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
16613         memcpy_chk.
16614         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
16615         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
16616         memmove_chk.
16617         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
16618         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
16619         mempcpy_chk.
16620         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
16621         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
16622         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
16624 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16626         [BZ #17213]
16627         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
16628         powerpc64le.
16630 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
16632         [BZ #16839]
16633         * manual/llio.texi: Add section about open file description locks.
16634         * manual/examples/ofdlocks.c: Example of open file description
16635         lock usage.
16636         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
16637         F_OFD_SETLK, and F_OFD_SETLKW.
16639 2014-07-23  Allan McRae  <allan@archlinux.org>
16641         * po/es.po: Update Spanish translation from translation project.
16643 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
16645         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
16647 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
16649         [BZ #17078]
16650         * sysdeps/arm/dl-machine.h (elf_machine_rela)
16651         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
16652         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
16654 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
16656         [BZ #17088]
16657         * math/fesetenv.c (__fesetenv)
16658         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
16659         * math/feupdateenv.c (__feupdateenv)
16660         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
16662         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
16663         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16664         (__ASSUME_SOCKETCALL): Do not define.
16666         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
16667         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
16668         (__ASSUME_SOCKETCALL): Do not define.
16669         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
16670         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16671         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16672         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16673         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16674         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
16675         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16676         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16678         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
16679         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
16680         (__ASSUME_SOCKETCALL): Do not define.
16681         (__ASSUME_IPC64): Define unconditionally.
16682         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16683         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16684         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16685         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16686         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
16687         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16688         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
16689         Likewise.
16691         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
16692         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
16693         (__ASSUME_SOCKETCALL): Do not define.
16694         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
16695         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16696         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16697         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16698         (__ASSUME_REQUEUE_PI): Define unconditionally.
16699         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
16700         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16701         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16702         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
16703         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16704         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16706         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
16707         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
16708         (__ASSUME_SOCKETCALL): Do not define.
16709         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
16710         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16711         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16712         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
16713         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16714         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16716         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
16717         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
16718         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16719         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
16720         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16721         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
16722         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16723         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
16724         (__ASSUME_GETCPU_SYSCALL): Likewise.
16726         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
16727         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
16728         cases for individual architectures.
16729         * sysdeps/gnu/configure: Regenerated.
16730         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
16731         LIBC_SLIBDIR_RTLDDIR.
16732         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
16733         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
16734         LIBC_SLIBDIR_RTLDDIR.
16735         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
16736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
16737         LIBC_SLIBDIR_RTLDDIR.
16738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16739         Regenerated.
16740         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
16741         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
16742         file.
16743         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
16744         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
16745         file.
16746         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
16747         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
16748         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
16749         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
16751         * sysdeps/aarch64/shlib-versions: Move to ...
16752         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
16753         * sysdeps/alpha/shlib-versions: Move to ...
16754         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
16755         * sysdeps/arm/shlib-versions: Move to ...
16756         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
16757         * sysdeps/hppa/shlib-versions: Move all contents except for
16758         libgcc_s entry to ...
16759         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
16760         entry from ...
16761         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
16762         * sysdeps/ia64/shlib-versions: Move to ...
16763         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
16764         entry from ...
16765         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
16766         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
16767         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
16768         * sysdeps/microblaze/shlib-versions: Move to ...
16769         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
16770         * sysdeps/mips/shlib-versions: Move to ...
16771         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
16772         entry from ...
16773         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
16774         * sysdeps/tile/shlib-versions: Move to ...
16775         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
16776         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
16777         from ...
16778         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
16779         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
16780         entry from ...
16781         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
16783 2014-07-17  Will Newton  <will.newton@linaro.org>
16785         * sysdeps/arm/bits/atomic.h
16786         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
16787         (__arch_compare_and_exchange_bool_16_int): Likewise.
16788         (__arch_compare_and_exchange_bool_64_int): Likewise.
16790         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
16791         into an #else block.
16793 2014-07-16  Roland McGrath  <roland@hack.frob.com>
16795         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
16796         just Linux configurations.  Test empirically that the compiler sets
16797         __ARM_EABI__, rather than using the tuple to decide.
16798         * sysdeps/arm/preconfigure: Regenerated.
16799         * sysdeps/unix/sysv/linux/arm/configure: File removed.
16800         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
16801         contents appended ...
16802         * sysdeps/arm/configure.ac: ... here.
16803         * sysdeps/arm/configure: Regenerated.
16805 2014-07-15  Roland McGrath  <roland@hack.frob.com>
16807         * nptl/pthread_kill.c: New file.
16808         * nptl/pthread_sigmask.c: New file.
16809         * nptl/pthread_sigqueue.c: New file.
16811         * sysdeps/nptl/lowlevellock.h: New file.
16812         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
16813         * sysdeps/nptl/lowlevellock-futex.h: New file.
16815         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
16816         Remove dead declarations.
16818 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
16820         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
16821         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
16822         config-cflags-avx2.
16823         * sysdeps/x86_64/configure.ac: Likewise.
16824         * sysdeps/i386/configure: Regenerated.
16825         * sysdeps/x86_64/configure: Likewise.
16826         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16827         memset-avx2 only if config-cflags-avx2 is yes.
16828         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16829         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
16830         defined.
16831         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
16832         only if HAVE_AVX2_SUPPORT is defined.
16833         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16835 2014-07-14  Alan Modra  <amodra@gmail.com>
16837         [BZ #17153]
16838         * elf/elf.h (DT_PPC64_NUM): Correct value.
16839         * NEWS: Add to fixed bug list.
16841 2014-07-13  Jim Meyering  <meyering@fb.com>
16843         [BZ 17150]
16844         regex: don't deref NULL upon heap allocation failure
16845         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
16846         failure in one more place.
16847         To trigger the segfault, configure grep -with-included-regex,
16848         build it, and run these commands:
16849         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
16851 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
16853         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16855 2014-07-11  Richard Henderson  <rth@redhat.com>
16857         * sysdeps/aarch64/libm-test-ulps: Update.
16859 2014-07-10  Florian Weimer  <fweimer@redhat.com>
16861         [BZ #17135]
16862         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
16863         * nptl/allocatestack.c (__nptl_setxid_error): New function.
16864         (__nptl_setxid): Initialize error member.  Call
16865         __nptl_setxid_error.
16866         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
16867         * nptl/descr.h (struct xid_command): Add error member.
16868         * nptl/tst-setuid3.c: New file.
16869         * nptl/Makefile (tests): Add it.
16871 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16873         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
16874         New define.
16875         (__lll_trylock): Use __lll_base_trylock.
16876         (__lll_cond_trylock): Likewise.
16878 2014-07-10  Roland McGrath  <roland@hack.frob.com>
16880         * nptl/pthread_create.c (start_thread): Use atomic_or and
16881         lll_futex_wake directly rather than lll_robust_dead.
16882         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16883         (lll_robust_dead): Macro removed.
16884         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
16885         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16886         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16887         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16888         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16889         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16890         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16891         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16892         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16893         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16894         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16895         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16896         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16897         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16898         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16900         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16901         Use atomic_compare_and_exchange_val_acq directly rather than
16902         lll_robust_trylock.
16903         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16904         (__lll_robust_trylock, lll_robust_trylock): Removed.
16905         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16906         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16907         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16908         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16909         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16910         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16911         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16912         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16913         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16914         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16915         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16916         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16917         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16918         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16920 2014-07-02  Florian Weimer  <fweimer@redhat.com>
16922         * manual/locale.texi (Locale Names): New section documenting
16923         locale name syntax.  Adjust menu and node chaining accordingly.
16924         (Choosing Locale): Reference Locale Names, Locale Categories.
16925         Mention setting LC_ALL=C.  Reflect that name syntax is now
16926         documented.
16927         (Locale Categories): New section title.  Reference Locale Names.
16928         LC_ALL is an environment variable, but not a category.
16929         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
16930         description, now in Locale Name.  Reference that section.  Locale
16931         name syntax is now documented.
16933 2014-07-02  Florian Weimer  <fweimer@redhat.com>
16935         [BZ #17137]
16936         * locale/findlocale.c (name_present, valid_locale_name): New
16937         functions.
16938         (_nl_find_locale): Use the loc_name variable to store name
16939         candidates.  Call name_present and valid_locale_name to check and
16940         validate locale names.  Return an error if the locale is invalid.
16942 2014-07-02  Florian Weimer  <fweimer@redhat.com>
16944         * locale/setlocale.c (setlocale): Use strdup for allocating
16945         composite name copy.
16947 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16949         Sync up with gnulib.
16950         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
16951         [!_LIBC && ENABLE_NLS]: Include gettext.h.
16952         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
16953         and _GL_ARG_NONNULL.
16954         [USE_UNLOCKED_IO]: Include unlocked-io.h.
16955         [!_LIBC]: Include code for Windows and Cygwin.
16956         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
16957         Include prototype for int strerror_r.
16958         [!_LIBC] (is_open): New function.
16959         (flush_stdout): New function.
16960         (print_errno_message): Use it.
16961         (error): Likewise.
16962         (error_at_line): Likewise.
16963         (error_tail) Add function attribute macros.  Use
16964         __builtin_expect.
16966         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
16968         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
16970         * io/ftw.c: Include sys/param.h unconditionally.
16972         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
16974         [BZ #17125]
16975         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
16976         libc_freeres_ptr.
16977         (freecache): New function to free CACHE on exit.
16979         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
16980         initialization.
16982 2014-07-09  David S. Miller  <davem@davemloft.net>
16984         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16986         * sysdeps/sparc/nptl/internaltypes.h: Delete.
16987         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
16988         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
16989         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
16990         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
16991         * sysdeps/sparc/nptl/sem_init.c: Likewise.
16992         * sysdeps/sparc/nptl/sem_post.c: Likewise.
16993         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
16994         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
16995         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
16996         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
16997         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
16998         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
17000 2014-07-09  Andreas Schwab  <schwab@suse.de>
17002         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
17003         output.
17004         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
17005         (do_test): Likewise.
17007         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17009 2014-07-09  Will Newton  <will.newton@linaro.org>
17011         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
17012         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
17013         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
17014         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
17015         * sysdeps/hppa/start.S (_start): Likewise.
17017 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
17019         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
17021         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
17022         defined.
17024 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17026         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
17027         after checking that it is non-NULL.
17029         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
17031 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17033         * sysdeps/powerpc/memmove.c: Remove file.
17034         * sysdeps/powerpc/powerpc32/power4/memcopy.h
17035         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
17036         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
17037         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
17038         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
17039         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
17040         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
17041         string memmove instead of removed powerpc one.
17043         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17044         [weak_alias]: Fix compiler warning due trailing data.
17045         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
17046         [weak_alias]: Likewise.
17047         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
17048         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
17050         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17051         (__libc_ifunc_impl_list): Add memmove functions.
17053 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17055         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
17056         Remove code.
17057         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
17058         Likewise
17059         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
17060         Likewise
17061         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
17062         Likewise
17063         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
17064         Likewise
17065         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
17066         Likewise
17067         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
17068         Likewise
17069         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
17070         Likewise
17071         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
17072         Likewise
17073         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
17074         Likewise
17075         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
17076         Likewise
17077         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
17078         Likewise
17079         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
17080         Likewise
17081         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
17082         Likewise
17083         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
17084         Likewise
17085         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
17086         Likewise
17087         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
17088         Likewise
17090 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17092         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
17093         to avoid alignment traps in non-cacheable memory.
17094         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17096         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
17097         multiarch objects.
17098         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
17099         file: multiarch power7 memmove.
17100         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
17101         multiarch default memmove.
17102         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
17103         multiarch memove for powerpc32/power4.
17105         * string/bcopy.c: Use full path to include memmove.c.
17106         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
17107         multiarch objects.
17108         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
17109         bcopy for powerpc64.
17110         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
17111         bcopy for powerpc64.
17112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
17113         and memmove implementations.
17114         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
17115         optimized multiarch memmove for POWER7/powerpc64.
17116         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
17117         default multiarch memmove for powerpc64.
17118         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
17119         multiarch for powerpc64.
17120         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
17121         for POWER7/powerpc64.
17122         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
17123         memmove for POWER7/powerpc64.
17125         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
17126         glibc default one.
17128         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
17129         __ELF_NATIVE_CLASS equal to 64.
17131 2014-07-07  Roland McGrath  <roland@hack.frob.com>
17133         * sysdeps/nptl/lowlevellock.h: File removed.
17135         * NEWS: NPTL is no longer an add-on!
17136         * nptl/internaltypes.h: Moved ...
17137         * sysdeps/nptl/internaltypes.h: ... here.
17138         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
17139         * sysdeps/nptl/fork.c: Likewise.
17140         * sysdeps/nptl/gai_misc.h: Likewise.
17141         * sysdeps/nptl/librt-cancellation.c: Likewise.
17142         * sysdeps/nptl/jmp-unwind.c: Likewise.
17143         * sysdeps/nptl/setxid.h: Likewise.
17144         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
17145         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
17146         * sysdeps/unix/sysv/linux/arm/Implies: New file.
17147         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
17148         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
17149         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
17150         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
17151         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
17152         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
17153         * sysdeps/unix/sysv/linux/mips/Implies: New file.
17154         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
17155         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
17156         * sysdeps/unix/sysv/linux/sh/Implies: New file.
17157         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
17158         * sysdeps/unix/sysv/linux/tile/Implies: New file.
17159         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
17160         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
17161         * nptl/Makeconfig: Moved ...
17162         * sysdeps/nptl/Makeconfig: ... here.
17163         * nptl/configure: File removed.
17164         * nptl/ANNOUNCE: File removed.
17165         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
17166         * sysdeps/unix/sysv/linux/configure: Regenerated.
17168         * nptl/Makefile (routines): Add libc_pthread_init,
17169         libc_multiple_threads, register-atfork and unregister-atfork.
17170         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
17171         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
17172         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
17173         pthread-pi-defines.sym, structsem.sym.
17174         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
17175         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
17176         [$(subdir) = nptl] (tests): Add tst-setgetname.
17177         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
17178         * sysdeps/unix/sysv/linux/sigaction.c: Just include
17179         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
17180         [!LIBC_SIGACTION]: Remove aliases.
17181         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17182         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17183         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17184         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
17185         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17186         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
17187         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17188         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17189         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17190         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
17191         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
17192         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
17193         __libc_allocate_rtsig_private.
17194         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
17195         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
17196         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
17197         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
17198         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
17199         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
17200         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
17201         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
17202         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
17203         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
17204         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
17205         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
17206         * nptl/internaltypes.h: ... here.
17207         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
17208         * sysdeps/nptl/jmp-unwind.c: ... here.
17209         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
17210         * nptl/libc-lowlevellock.c: ... here.
17211         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
17212         * nptl/libc_multiple_threads.c: ... here.
17213         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
17214         * nptl/libc_pthread_init.c: ... here.
17215         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
17216         * nptl/lowlevelbarrier.sym: ... here.
17217         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
17218         * nptl/lowlevelcond.sym: ... here.
17219         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
17220         * nptl/lowlevellock.c: ... here.
17221         * nptl/lowlevellock.h: Moved ...
17222         * sysdeps/nptl/lowlevellock.h: ... here.
17223         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
17224         * nptl/lowlevelrobustlock.c: ... here.
17225         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
17226         * nptl/lowlevelrobustlock.sym: ... here.
17227         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
17228         * nptl/lowlevelrwlock.sym: ... here.
17229         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
17230         * nptl/pt-fork.c: ... here.
17231         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
17232         * nptl/pthread-pi-defines.sym: ... here.
17233         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
17234         * nptl/pthread_attr_getaffinity.c: ... here.
17235         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
17236         * nptl/pthread_attr_setaffinity.c: ... here.
17237         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
17238         * nptl/pthread_mutex_cond_lock.c: ... here.
17239         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17240         Update #include.
17241         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
17242         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
17243         * nptl/pthread_once.c: ... here, replacing old file.
17244         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
17245         * nptl/pthread_yield.c: ... here.
17246         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
17247         * nptl/register-atfork.c: ... here.
17248         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
17249         * nptl/sem_post.c: ... here.
17250         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
17251         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
17252         * nptl/sem_timedwait.c: ... here.
17253         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
17254         * nptl/sem_trywait.c: ... here.
17255         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
17256         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
17257         * nptl/sem_wait.c: ... here.
17258         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
17259         * nptl/structsem.sym: ... here.
17260         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
17261         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
17262         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
17263         * nptl/unregister-atfork.c: ... here.
17264         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
17265         * nptl/unwindbuf.sym: ... here.
17266         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
17267         * sysdeps/nptl/fork.c: ... here.
17268         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
17269         * sysdeps/nptl/fork.h: ... here.
17270         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
17271         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
17272         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
17273         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
17274         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
17275         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
17276         * sysdeps/unix/sysv/linux/getpid.c: ... here.
17277         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
17278         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
17279         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
17280         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
17281         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
17282         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
17283         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
17284         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
17285         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
17286         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
17287         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
17288         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
17289         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
17290         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
17291         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
17292         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
17293         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
17294         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
17295         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
17296         * sysdeps/unix/sysv/linux/raise.c: ... here.
17297         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
17298         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
17299         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
17300         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
17301         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
17302         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
17303         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
17304         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
17305         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
17306         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
17307         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
17308         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
17309         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
17310         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
17311         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
17313 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17315         * sysdeps/generic/memcopy.h: Add comment for
17316         MEMCPY_OK_FOR_FWD_MEMMOVE.
17318 2014-07-04  Will Newton  <will.newton@linaro.org>
17320         * string/memchr.c: Merge from gnulib.
17321         [_LIBC]: Remove conditionals.
17322         (__ptr_t): Remove define.
17323         (LONG_MAX_32_BITS): Likewise.
17324         (LONG_MAX): Likewise.
17325         (MEMCHR): Use ANSI prototype and optimize algorithm.
17327         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
17329 2014-07-03  Roland McGrath  <roland@hack.frob.com>
17331         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
17332         (lll_futex_timed_wait_bitset): Fix syscall argument count.
17334         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
17335         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
17336         in a bare environment with no <stdlib.h> installed.
17337         * sysdeps/nptl/configure: Regenerated.
17339         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
17341         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
17342         AC_EGREP_CPP for kernel header checks, so they only succeed if
17343         including <linux/version.h> actually works right.
17344         * sysdeps/unix/sysv/linux/configure: Regenerated.
17346         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
17347         value so it's not diagnosed as unused.
17349         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
17350         thing) with "ifeq ($(subdir),rt)".
17352 2014-07-03  Richard Henderson  <rth@redhat.com>
17354         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
17355         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
17356         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
17358         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
17359         (math_force_eval): New.
17361         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
17362         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
17364         * sysdeps/alpha/fpu/s_round.c: Remove file.
17365         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
17367         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
17368         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
17369         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
17370         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
17371         (_dl_start, print_statistics): Likewise.
17372         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
17373         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
17375         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17376         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17377         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17378         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17379         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17380         (HP_SMALL_TIMING_AVAIL): Define.
17381         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17382         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17383         (HP_SMALL_TIMING_AVAIL): Define.
17384         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17385         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17387         * sysdeps/aarch64/hp-timing.h: New file.
17389         * sysdeps/generic/hp-timing.h: Remove dead comment.
17390         * sysdeps/generic/hp-timing-common.h: New file.
17391         * sysdeps/alpha/hp-timing.h: Include it.
17392         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
17393         * sysdeps/i386/i686/hp-timing.h: Likewise.
17394         * sysdeps/ia64/hp-timing.h: Likewise.
17395         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17396         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17397         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17398         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17399         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
17400         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
17401         (hp_timing_t): New.
17403         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
17404         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
17405         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
17406         * elf/rtld.c (_dl_start_final): Likewise.
17407         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
17408         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17409         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17410         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17411         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17412         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17413         (HP_TIMING_DIFF_INIT): Remove.
17414         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17415         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17416         (HP_TIMING_DIFF_INIT): Remove.
17417         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17418         * sysdeps/i386/i686/hp-timing.c: Remove file.
17419         * sysdeps/x86_64/hp-timing.c: Remove file.
17420         * sysdeps/ia64/hp-timing.c: Remove file.
17421         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
17422         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
17423         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
17424         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
17426         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
17427         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
17428         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
17429         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17430         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17431         (HP_TIMING_ACCUM): Remove.
17432         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17433         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
17434         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17436         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
17437         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
17438         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
17439         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
17440         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
17441         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17442         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
17443         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17445         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
17447 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
17449         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
17451 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17453         Sync up with gettext.
17454         * intl/loadmsgcat.c: Define O_BINARY if not defined.
17455         [_MSC_VER]: Include malloc.h
17456         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
17457         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
17458         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
17459         TEMP_FAILURE_RETRY.  Cast return of alloca.
17460         [!_LIBC] Call gl_rwlock_init.
17461         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
17463 2014-07-02  Roland McGrath  <roland@hack.frob.com>
17465         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
17466         before checking its value.
17468 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17470         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
17472         * debug/memcpy_chk.c: Don't include pagecopy.h.
17473         * debug/mempcpy_chk.c: Likewise.
17474         * string/memcpy.c: Likewise.
17475         * string/memmove.c: Likewise.
17476         * sysdeps/powerpc/memmove.c: Likewise.
17477         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
17478         definition of PAGE_COPY_FWD_MAYBE here...
17479         * sysdeps/generic/pagecopy.h: ... from here.
17480         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
17482 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17483             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17485         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
17486         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
17487         optimizations.
17488         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17489         (__libc_ifunc_impl_list): Likewise.
17490         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
17491         multiarch strcat for PPC64.
17492         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
17493         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
17495 2014-07-02  Roland McGrath  <roland@hack.frob.com>
17497         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
17499 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17501         * intl/loadmsgcat.c: Remove declaration of
17502         get_sysdep_segment_value.
17503         (get_sysdep_segment_value): Use ISO C style.
17504         (_nl_load_domain): Use ISO C style.  Get rid of redundant
17505         semicolon.  Fix typo and formatting in comment.
17506         (_nl_unload_domain): Use ISO C style.
17508         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
17510 2014-07-02  Will Newton  <will.newton@linaro.org>
17512         * malloc/obstack.c: Merge from gnulib master.
17513         [HAVE_CONFIG_H]: Remove conditional code.
17514         [!_LIBC]: Include config.h.
17515         [!ELIDE_CODE]: Don't include inttypes.h, include
17516         stdint.h unconditionally.
17517         (print_and_abort): Mark as _Noreturn.
17518         (_obstack_allocated_p): Mark as __attribute_pure__.
17519         (obstack_free): Rename to __obstack_free.
17520         [!__attribute__]: Remove conditional code.
17521         * malloc/obstack.h: Merge from gnulib master.
17522         [__cplusplus]: Move conditional down.
17523         [!__attribute_pure__]: Define __attribute_pure__ here
17524         if it is not already defined.
17525         (_obstack_memory_used): Mark as __attribute_pure__.
17526         [!__obstack_free]: Define as obstack_free.
17527         [__GNUC__]: Remove check for ancient NeXT gcc.
17529 2014-07-02  Will Newton  <will.newton@linaro.org>
17530             Paul Eggert  <eggert@cs.ucla.edu>
17532         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
17534 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17536         * resolv/gethnamaddr.c: Add comment warning that the file is
17537         not maintained.
17539 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
17541         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
17542         entries.
17544         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
17545         entry for aio_cancel and aio_cancel64.
17546         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
17547         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
17548         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
17549         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
17550         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
17551         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
17552         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
17553         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
17554         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
17555         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
17556         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
17557         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
17558         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
17560 2014-07-01  Roland McGrath  <roland@hack.frob.com>
17562         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
17563         * nptl/pthread_mutex_lock.c: Likewise.
17564         * nptl/pthread_mutex_timedlock.c: Likewise.
17565         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
17567 2014-07-01  Richard henderson  <rth@redhat.com>
17569         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
17570         (__isnan, __isnanl): Remove.
17571         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
17573         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17575 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
17577         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17579 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17581         * resolv/nss_dns/dns-host.c (getanswer_r)
17582         [MULTI_PTRS_ARE_ALIASES]: Remove code.
17584 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
17586         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17587         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
17588         undefine.
17589         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
17590         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
17592 2014-07-01  Roland McGrath <roland@hack.frob.com>
17594         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
17595         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
17597         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
17598         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
17600         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
17601         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
17602         ... here.
17603         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
17604         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
17606         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
17607         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
17608         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
17609         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
17611         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
17612         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
17613         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
17614         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
17615         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
17616         Moved ...
17617         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
17618         ... here.
17619         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
17620         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
17621         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
17622         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
17623         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
17624         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
17625         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
17626         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
17627         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
17628         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
17629         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
17630         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
17631         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
17632         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
17633         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
17634         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
17635         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
17636         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
17637         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
17638         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
17639         ... here.
17640         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
17641         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
17642         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
17643         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
17644         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
17645         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
17646         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
17647         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
17649 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
17651         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
17652         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
17653         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
17654         Add sysdep.
17656 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17660 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
17662         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17663         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17665         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17667         * sysdeps/arm/libm-test-ulps: Regenerated.
17669 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
17670             Roland McGrath <roland@hack.frob.com>
17672         * test-skeleton.c (signal_handler): Kill the whole process group
17673         before killing the child individually.
17674         (main): Report any failure on `setpgid'.
17676 2014-06-30  Roland McGrath  <roland@hack.frob.com>
17678         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
17679         from _TLS_H to _ARM_NPTL_TLS_H.
17680         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
17681         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
17683 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
17685         [BZ #16539]
17686         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
17687         (__expm1l): Return argument unchanged when small but not
17688         subnormal.
17690         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
17691         include macro name.
17692         (_FP_UNPACK_RAW_1_P): Likewise.
17693         (_FP_PACK_RAW_1): Likewise.
17694         (_FP_PACK_RAW_1_P): Likewise.
17695         (_FP_MUL_MEAT_1_wide): Likewise.
17696         (_FP_MUL_MEAT_DW_1_hard): Likewise.
17697         (_FP_MUL_MEAT_1_hard): Likewise.
17698         (_FP_DIV_MEAT_1_imm): Likewise.
17699         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
17700         (_FP_DIV_MEAT_1_udiv): Likewise.
17701         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
17702         (_FP_UNPACK_RAW_2): Likewise.
17703         (_FP_UNPACK_RAW_2_P): Likewise.
17704         (_FP_PACK_RAW_2): Likewise.
17705         (_FP_PACK_RAW_2_P): Likewise.
17706         (_FP_MUL_MEAT_DW_2_wide): Likewise.
17707         (_FP_MUL_MEAT_2_wide): Likewise.
17708         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
17709         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
17710         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
17711         (_FP_MUL_MEAT_2_gmp): Likewise.
17712         (_FP_DIV_MEAT_2_udiv): Likewise.
17713         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
17714         (_FP_FRAC_SRL_4): Likewise.
17715         (_FP_FRAC_SRST_4): Likewise.
17716         (_FP_FRAC_SRS_4): Likewise.
17717         (_FP_UNPACK_RAW_4): Likewise.
17718         (_FP_UNPACK_RAW_4_P): Likewise.
17719         (_FP_PACK_RAW_4): Likewise.
17720         (_FP_PACK_RAW_4_P): Likewise.
17721         (_FP_MUL_MEAT_DW_4_wide): Likewise.
17722         (_FP_MUL_MEAT_4_wide): Likewise.
17723         (_FP_MUL_MEAT_4_gmp): Likewise.
17724         (umul_ppppmnnn): Likewise.
17725         (_FP_DIV_MEAT_4_udiv): Likewise.
17726         (__FP_FRAC_ADD_4): Likewise.
17727         (__FP_FRAC_SUB_3): Likewise.
17728         (__FP_FRAC_SUB_4): Likewise.
17729         (__FP_FRAC_DEC_3): Likewise.
17730         (__FP_FRAC_DEC_4): Likewise.
17731         (__FP_FRAC_ADDI_4): Likewise.
17732         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
17733         (_FP_FRAC_SRL_8): Likewise.
17734         (_FP_FRAC_SRS_8): Likewise.
17736         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
17737         include macro name.
17738         (FP_UNPACK_RAW_EP): Likewise.
17739         (FP_PACK_RAW_E): Likewise.
17740         (FP_PACK_RAW_EP): Likewise.
17741         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
17742         (_FP_ISSIGNAN): Likewise.
17743         (_FP_ADD_INTERNAL): Likewise.
17744         (_FP_FMA): Likewise.
17745         (_FP_CMP): Likewise.
17746         (_FP_SQRT): Likewise.
17747         (_FP_TO_INT): Likewise.
17748         (_FP_FROM_INT): Likewise.
17749         (FP_EXTEND): Likewise.
17750         (_FP_DIV_MEAT_N_loop): Likewise.
17752 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
17754         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
17755         throughout.
17757 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
17759         [BZ #17097]
17760         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
17761         result with correct sign in case of exponents that produce
17762         overflow except for X very close to 1.
17764 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
17766         mktime: merge #if/#ifdef usage from glibc
17767         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
17768         as that works with both Glibc's and Gnulib's style.
17769         See thread starting at Siddhesh Poyarekar's bug report at:
17770         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
17772 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17774         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
17775         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
17776         * sysdeps/tile/tilegx/memmove.c: Remove file.
17778 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
17780         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
17781         abi-name definition.
17782         * scripts/soversions.awk: Do not handle or generate ABI lines.
17783         * shlib-versions: Remove ABI entries.
17784         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
17785         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
17787 2014-06-27  Roland McGrath  <roland@hack.frob.com>
17789         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
17790         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
17791         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
17792         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
17793         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
17794         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
17795         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
17796         Moved ...
17797         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17798         ... here.
17799         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
17800         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
17801         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
17802         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
17803         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
17804         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
17805         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
17806         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
17807         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
17808         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
17809         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
17810         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
17811         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
17812         Moved ...
17813         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
17814         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
17815         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
17816         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
17817         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
17818         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
17819         Moved ...
17820         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
17821         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
17822         Moved ...
17823         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
17824         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
17825         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
17826         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
17827         Moved ...
17828         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
17829         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
17830         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
17831         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
17832         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
17833         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
17834         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
17835         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
17836         Moved ...
17837         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
17838         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
17839         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
17840         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
17841         Moved ...
17842         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
17843         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
17844         Moved ...
17845         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
17846         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
17847         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
17848         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
17849         Moved ...
17850         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17851         ... here.
17852         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
17853         Identical file removed.
17854         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
17855         Moved ...
17856         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
17857         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
17858         Identical file removed.
17859         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
17860         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
17861         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
17862         Moved ...
17863         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
17864         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
17865         Identical file removed.
17866         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
17867         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
17868         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
17869         Identical file removed.
17870         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
17871         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
17872         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
17873         Identical file removed.
17874         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
17875         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
17876         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
17877         Identical file removed.
17878         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
17879         Moved ...
17880         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
17881         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
17882         Identical file removed.
17883         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
17884         Moved ...
17885         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
17886         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
17887         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
17888         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
17889         Identical file removed.
17890         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
17891         Moved ...
17892         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
17893         ... here.
17894         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
17895         Identical file removed.
17896         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
17897         Moved ...
17898         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
17899         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
17900         Identical file removed.
17901         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
17902         Moved ...
17903         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
17904         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
17905         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
17906         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
17907         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
17908         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
17909         Moved ...
17910         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
17911         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
17912         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
17914         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
17915         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
17916         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
17917         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
17918         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
17920 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
17922         [BZ #17092]
17923         * nscd/nscd.c (monitor_child): Return exit status of child
17924         instead of return value from wait syscall.
17926 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
17928         * configure.ac (libc_commonpagesize): Remove variable.
17929         (libc_relro_required): Likewise.
17930         (libc_cv_z_relro): Remove configure test.
17931         * configure: Regenerated.
17932         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
17933         variable.
17934         (libc_relro_required): Likewise.
17935         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
17936         (libc_relro_required): Likewise.
17937         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
17938         (libc_relro_required): Likewise.
17939         * sysdeps/arm/preconfigure: Regenerated.
17940         * sysdeps/ia64/preconfigure: Remove file.
17941         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
17942         variable.
17943         (libc_relro_required): Likewise.
17945         [BZ #16561]
17946         [BZ #16562]
17947         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
17948         (__ieee754_yn): Set FE_TONEAREST mode internally and then
17949         recompute overflowing results in original rounding mode.
17950         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
17951         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
17952         recompute overflowing results in original rounding mode.
17953         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
17954         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17955         recompute overflowing results in original rounding mode.
17956         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
17957         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17958         recompute overflowing results in original rounding mode.
17959         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
17960         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17961         recompute overflowing results in original rounding mode.
17962         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
17963         (libc_feholdsetround_ctx): New macro.
17964         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
17965         * sysdeps/i386/fpu/libm-test-ulps: Update.
17966         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
17968 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
17970         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
17971         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
17972         corresponding .cpsetup call.
17974 2014-06-26  Roland McGrath  <roland@hack.frob.com>
17976         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
17977         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
17978         * sysdeps/arm/Makefile [$(subdir) = csu]
17979         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
17980         (static-only-routines): Add aeabi_read_tp here.
17981         (shared-only-routines): Add libc-aeabi_read_tp here.
17982         (CFLAGS-libc-start.c): Add -fexceptions here.
17983         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
17984         (sysdep_routines, static-only-routines, shared-only-routines):
17985         Don't add to these here.
17986         (CFLAGS-libc-start.c): Likewise.
17988         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
17989         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17990         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
17991         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17992         * sysdeps/arm/Makefile [$(subdir) = rt]
17993         (librt-sysdep_routines, librt-shared-only-routines):
17994         Append rt-aeabi_unwind_cpp_pr1 here.
17995         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
17996         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
17997         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
17998         (libpthread-sysdep_routines, libpthread-shared-only-routines):
17999         Append nptl-aeabi_unwind_cpp_pr1 here.
18000         (tests): Filter out tst-cleanupx4 here.
18001         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
18002         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
18003         Don't do those here.
18005 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
18007         * scripts/list-sources.sh: Do not handle ports specially.
18009 2014-06-26  Roland McGrath  <roland@hack.frob.com>
18011         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
18012         * sysdeps/arm/feupdateenv.c: Likewise.
18014         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
18016 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
18018         * manual/texinfo.tex: Update to version 2014-05-05.10 with
18019         trailing whitespace removed.
18020         * scripts/config.guess: Update to version 2014-03-23.
18021         * scripts/config.sub: Update to version 2014-05-01
18022         * scripts/install-sh: Update to version 2013-12-25.23.
18023         * scripts/move-if-change: Update from gnulib.
18025 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18027         * debug/memmove_chk.c: Remove pagecopy.h include.
18029 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
18031         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
18032         identical to gnulib mktime.
18034 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
18036         * configure.ac: Do not test for machine being rs6000.  Do not test
18037         for powerpc*-*soft.
18038         * configure: Regenerated.
18040         [BZ #11505]
18041         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
18042         test.
18043         * configure: Regenerated.
18044         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
18045         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
18046         Remove configure test.
18047         * sysdeps/arm/configure: Regenerated.
18048         * sysdeps/nptl/configure.ac: Do not check
18049         libc_cv_asm_cfi_directives.
18050         * sysdeps/nptl/configure: Regenerated.
18051         * sysdeps/x86_64/nptl/configure.ac: Remove file.
18052         * sysdeps/x86_64/nptl/configure: Remove generated file.
18053         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
18054         unconditional.
18055         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
18057 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18059         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
18060         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
18061         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
18062         it is defined.
18064         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
18065         instead of whether it is defined.
18066         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
18067         * sysdeps/hppa/dl-machine.h: Likewise.
18068         * sysdeps/ia64/dl-machine.h: Likewise.
18069         * sysdeps/m68k/dl-machine.h: Likewise.
18070         * sysdeps/microblaze/dl-machine.h: Likewise.
18071         * sysdeps/mips/dl-machine.: Likewise.
18072         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18073         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18074         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18075         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18076         * sysdeps/sh/dl-machine.h: Likewise.
18077         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18078         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18079         * sysdeps/tile/dl-machine.h: Likewise.
18080         * sysdeps/x86_64/dl-machine.h: Likewise.
18082         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
18083         code.
18084         (verify_persistent_db): Likewise.
18086 2014-06-26  Roland McGrath  <roland@hack.frob.com>
18088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
18089         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
18090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
18091         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
18092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18093         Moved ...
18094         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18095         ... here.
18096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
18097         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
18098         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
18099         Identical file removed.
18100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
18101         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
18102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
18103         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
18104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
18105         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
18106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
18107         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
18108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
18109         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
18110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18111         Moved ...
18112         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
18113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
18114         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
18115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
18116         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
18117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18118         Moved ...
18119         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
18120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
18121         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
18122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
18123         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
18124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18125         Identical file removed.
18126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
18127         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
18128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
18129         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
18130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18131         Moved ...
18132         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18133         ... here.
18134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
18135         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
18136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
18137         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
18138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
18139         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
18140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
18141         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
18142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
18143         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
18144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18145         Moved ...
18146         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
18147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
18148         Moved ...
18149         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
18150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
18151         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
18152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18153         Moved ...
18154         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
18155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
18156         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
18158         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
18159         folded into ...
18160         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
18161         * sysdeps/unix/sysv/linux/s390/Versions
18162         (libpthread: GLIBC_2.19): New version set.
18163         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
18164         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
18165         (librt: GLIBC_2.3.3): New version set.
18166         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
18167         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
18168         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
18169         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
18170         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
18171         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
18172         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
18173         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
18174         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
18175         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
18176         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
18177         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
18178         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
18179         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
18180         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
18181         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
18182         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
18183         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
18184         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
18185         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
18186         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
18187         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
18188         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
18189         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
18190         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
18191         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
18192         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
18193         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
18194         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
18195         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
18196         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
18197         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
18198         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
18199         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
18200         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
18201         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
18202         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
18203         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
18204         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
18205         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
18206         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
18207         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
18208         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
18209         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
18210         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
18212         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
18213         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
18214         (__libc_vfork): Define the function under this name.
18215         [!NOT_IN_libc] (__vfork): Make this an alias.
18216         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18217         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
18218         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
18219         (__libc_vfork): Define the function under this name.
18220         [!NOT_IN_libc] (__vfork): Make this an alias.
18221         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18222         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
18223         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
18224         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
18225         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
18226         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18228         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
18229         code that was previously under [RESET_PID].
18230         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
18231         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
18232         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
18234         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
18235         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
18236         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
18237         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
18238         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
18239         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
18240         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
18241         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
18242         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
18243         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
18244         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
18245         Moved ...
18246         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
18247         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
18248         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
18249         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
18250         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
18251         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
18252         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
18253         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
18254         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
18255         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
18256         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
18257         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
18258         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
18259         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
18260         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
18261         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
18262         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
18263         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
18264         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
18265         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
18266         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
18267         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
18268         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
18269         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
18270         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
18271         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
18272         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
18273         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
18274         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
18276 2014-06-25  Roland McGrath  <roland@hack.frob.com>
18278         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
18279         that was previously under [RESET_PID].
18280         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
18282 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
18284         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
18285         not undefine and redefine.
18286         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
18287         [O_CLOEXEC]: Make code unconditional.
18288         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
18289         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
18290         <kernel-features.h>.
18291         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
18292         conditional variable definition.
18293         (shm_open) [O_CLOEXEC]: Make code unconditional.
18294         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
18295         code.
18297         * configure.ac (USE_REGPARMS): Don't define here.
18298         * configure: Regenerated.
18299         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
18300         * sysdeps/i386/configure: Regenerated.
18302         * nptl/createthread.c: Don't include kernel-features.h.
18303         * nptl/pthread_cancel.c: Likewise.
18304         * nptl/pthread_condattr_setclock.c: Likewise.
18305         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
18306         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
18307         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
18308         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
18309         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
18310         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
18311         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18312         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
18313         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18314         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
18315         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
18316         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
18317         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
18318         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
18319         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
18320         * nscd/gai.c: Likewise.
18321         * nss/nss_db/db-open.c: Likewise.
18322         * sysdeps/generic/ldsodefs.h: Likewise.
18323         * sysdeps/sh/nptl/tls.h: Likewise.
18324         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
18325         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
18326         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
18327         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
18328         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
18329         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18330         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
18331         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18332         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18333         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18334         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18335         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18336         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
18337         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
18338         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
18339         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
18340         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18341         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
18342         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
18343         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
18344         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
18345         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
18346         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
18347         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
18348         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
18349         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
18350         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
18351         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
18352         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18353         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
18354         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
18355         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
18356         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
18357         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18358         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18359         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18360         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18361         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
18362         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
18363         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18364         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18365         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
18366         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
18367         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18368         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
18369         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
18370         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
18371         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
18372         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
18373         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
18374         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
18375         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
18376         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
18377         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18378         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
18379         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18380         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
18381         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
18382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
18384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
18385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
18386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
18387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
18388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
18389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
18390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
18393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
18394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
18395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
18396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
18402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
18403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
18404         * sysdeps/unix/sysv/linux/pread.c: Likewise.
18405         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
18406         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
18407         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
18408         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
18409         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
18410         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
18411         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
18412         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
18413         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
18414         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
18415         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
18416         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
18417         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
18418         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
18419         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
18420         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18421         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
18422         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
18423         * sysdeps/unix/sysv/linux/system.c: Likewise.
18424         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
18425         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18426         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18427         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18428         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18429         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18430         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18432         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
18433         * configure: Regenerated.
18434         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
18436         * configure.ac (base_machine): Do not set specially for particular
18437         machines here.
18438         * configure: Regenerated.
18439         * sysdeps/powerpc/preconfigure: Move machine and base_machine
18440         settings from configure.ac.
18441         * sysdeps/i386/preconfigure: New file.
18442         * sysdeps/s390/preconfigure: Likewise.
18443         * sysdeps/sh/preconfigure: Likewise.
18444         * sysdeps/sparc/preconfigure: Likewise.
18446 2014-06-25  Roland McGrath  <roland@hack.frob.com>
18448         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
18449         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
18450         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
18451         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
18452         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
18453         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
18454         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
18455         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
18456         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
18457         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
18458         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
18459         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
18460         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
18461         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
18462         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
18463         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
18464         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
18465         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
18466         * sysdeps/sparc/sparc64/Makefile: ... appended here.
18468         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
18469         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
18470         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
18471         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
18472         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
18473         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
18474         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
18475         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
18476         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
18477         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
18478         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
18479         * sysdeps/sparc/sparc32/sem_post.c: ... here.
18480         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
18481         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
18482         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
18483         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
18484         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
18485         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
18486         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
18487         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
18488         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
18489         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
18490         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
18491         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
18492         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
18493         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
18494         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
18495         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
18496         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
18497         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
18498         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
18499         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
18500         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
18501         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
18502         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
18503         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
18504         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
18505         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
18507         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
18508         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
18509         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
18510         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
18511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18512         Moved ...
18513         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18514         ... here.
18515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
18516         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
18517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
18518         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
18519         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
18520         Moved ...
18521         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
18522         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
18523         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
18524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
18525         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
18526         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
18527         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
18528         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18529         Moved ...
18530         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
18531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18532         Moved ...
18533         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
18534         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
18535         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
18536         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18537         Moved ...
18538         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
18539         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
18540         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
18541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
18542         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
18543         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
18544         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
18545         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
18546         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
18547         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18548         Moved ...
18549         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18550         ... here.
18551         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
18552         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
18553         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
18554         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
18555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
18556         Moved ...
18557         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
18558         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
18559         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
18560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
18561         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
18562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
18563         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
18564         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18565         Moved ...
18566         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
18567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18568         Moved ...
18569         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
18570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
18571         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
18572         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18573         Moved ...
18574         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
18575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
18576         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
18577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
18578         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
18580 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
18582         * timezone/checktab.awk: Update from tzcode 2014e.
18583         * timezone/private.h: Likewise.
18584         * timezone/tzfile.h: Likewise.
18585         * timezone/zdump.c: Likewise.
18586         * timezone/zic.c: Likewise.
18588         * sysdeps/unix/sysv/linux/kernel-features.h
18589         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
18590         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
18591         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
18592         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18593         Remove conditional code.
18595 2014-06-25  Will Newton  <will.newton@linaro.org>
18597         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
18598         (_dl_arm_cap_flags): Add HWCAP2 values.
18599         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
18600         (_DL_HWCAP_COUNT): Increase to 37.
18601         (_DL_HWCAP_LAST): New define.
18602         (_DL_HWCAP2_LAST): New define.
18603         (_dl_procinfo): Add support for printing
18604         AT_HWCAP2 entries.
18605         (_dl_string_hwcap): Use _dl_hwcap_string.
18607 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18611 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
18613         * README: Do not mention ports directory.
18615         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
18616         Remove macro.
18617         * sysdeps/unix/sysv/linux/futimes.c: Do not include
18618         <kernel-features.h>.
18619         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
18620         conditional variable definition.
18621         (__futimes): Update comment.
18622         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
18623         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
18625         [BZ #16560]
18626         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
18627         arguments close to 0.
18628         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
18629         Likewise.
18630         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
18631         Likewise.
18632         * math/auto-libm-test-in: Add more tests of exp10.
18633         * math/auto-libm-test-out: Regenerated.
18634         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18636         * sysdeps/unix/sysv/linux/kernel-features.h
18637         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
18638         * sysdeps/unix/sysv/linux/readv.c: Do not include
18639         <kernel-features.h>.
18640         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18641         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18642         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18643         unconditional.
18644         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18645         conditional code.
18646         * sysdeps/unix/sysv/linux/writev.c: Do not include
18647         <kernel-features.h>.
18648         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18649         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18650         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18651         unconditional.
18652         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18653         conditional code.
18655 2014-06-25  Will Newton  <will.newton@linaro.org>
18657         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
18658         comment changes throughout the file.  Remove checks
18659         for HAVE_*_H definitions that are not required.
18660         (__gen_tempname): Call abort if an unknown kind value is
18661         passed.
18663 2014-06-25  Andreas Schwab  <schwab@suse.de>
18665         [BZ #17086]
18666         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
18667         scalbln, scalblnf, scalblnl in libc.
18669 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18671         [BZ #17086]
18672         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
18673         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18674         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18676 2014-06-24  Roland McGrath  <roland@hack.frob.com>
18678         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
18679         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
18680         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
18681         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
18682         Update #include.
18683         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
18684         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
18685         Update #include.
18686         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
18687         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
18688         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
18689         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
18690         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
18691         * sysdeps/x86/bits/pthreadtypes.h: ... here.
18692         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
18693         * sysdeps/x86/bits/semaphore.h: ... here.
18694         * sysdeps/x86/nptl/elide.h: Moved ...
18695         * sysdeps/x86/elide.h: ... here.
18696         * sysdeps/x86_64/nptl/Implies: File removed.
18697         * sysdeps/i386/nptl/Implies: File removed.
18699 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
18701         [BZ #16539]
18702         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
18703         return the argument for normal arguments with exponent below -64.
18704         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18705         Likewise.
18706         * math/auto-libm-test-in: Add another test of expm1.
18707         * math/auto-libm-test-out: Regenerated.
18709         [BZ #16287]
18710         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
18711         calling __erfcl for arguments at least 16.
18712         * math/auto-libm-test-in: Add more tests of erf.
18713         * math/auto-libm-test-out: Regenerated.
18715         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
18716         individual architectures.
18717         * sysdeps/unix/sysv/linux/configure: Regenerated.
18718         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
18719         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
18720         * sysdeps/unix/sysv/linux/powerpc/configure.ac
18721         (ldd_rewrite_script): Define variable.
18722         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
18724         file.
18725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
18726         generated file.
18727         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
18728         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
18729         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
18730         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
18731         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
18732         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
18733         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
18734         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
18736 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18738         [BZ #17084]
18739         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
18740         Rename member __data.d to __data.__elision_data.
18742 2014-06-24  Wilco  <wdijkstr@arm.com>
18744         * NEWS: Add 16918 to fixed bug list.
18746 2014-06-24  Wilco  <wdijkstr@arm.com>
18748         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
18750 2014-06-24  Wilco  <wdijkstr@arm.com>
18752         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
18753         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
18754         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
18755         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
18756         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
18757         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
18758         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
18759         Use _FPU_MASK_RM.
18761 2014-06-24  Wilco  <wdijkstr@arm.com>
18763         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
18765 2014-06-24  Wilco  <wdijkstr@arm.com>
18767         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
18768         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
18769         * sysdeps/arm/fesetround.c (fesetround): Remove space.
18770         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
18772 2014-06-24  Wilco  <wdijkstr@arm.com>
18774         [BZ #16918]
18775         * sysdeps/arm/feupdateenv.c (feupdateenv):
18776         Rewrite to reduce FPSCR accesses and fix return value.
18778 2014-06-24  Wilco  <wdijkstr@arm.com>
18780         * sysdeps/arm/fclrexcpt.c (feclearexcept):
18781         Optimize to avoid unnecessary FPSCR writes.
18782         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
18783         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
18784         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
18785         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
18787 2014-06-24  Wilco  <wdijkstr@arm.com>
18789         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
18790         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
18791         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
18792         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
18793         Call libc_fetestexcept_vfp.
18794         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
18795         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
18796         __SOFTFP__ ifdef so that they can be built for softfp.
18798 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18800         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
18801         argument type signed char.
18803         * Makerules (check-abi): Dump diff of symlist if the test
18804         fails.
18806 2014-06-23  Roland McGrath  <roland@hack.frob.com>
18808         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
18809         using abort.
18811         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18812         Remove unused variable ST.
18814 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
18816         [BZ #16354]
18817         [BZ #17061]
18818         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
18819         small arguments before calling __expm1.
18820         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
18821         small arguments before calling __expm1f.
18822         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
18823         small arguments before calling __expm1l.
18824         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18825         Likewise.
18826         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
18827         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
18828         spurious underflow for some cosh tests.
18829         * math/auto-libm-test-out: Regenerated.
18830         * sysdeps/i386/fpu/libm-test-ulps: Update.
18832         [BZ #17050]
18833         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
18834         (__ieee754_y1): Set errno if return value overflows.
18835         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
18836         (__ieee754_y1f): Set errno if return value overflows.
18837         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
18838         (__ieee754_y1l): Set errno if return value overflows.
18839         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
18840         (__ieee754_y1l): Set errno if return value overflows.
18841         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
18842         * math/auto-libm-test-out: Regenerated.
18844         * math/gen-auto-libm-tests.c: Document use of
18845         ignore-zero-inf-sign.
18846         (input_flag_type): Add value flag_ignore_zero_inf_sign.
18847         (input_flags): Add ignore-zero-inf-sign.
18848         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
18849         * math/gen-libm-test.pl (generate_testfile): Handle
18850         ignore-zero-inf-sign.
18851         * math/auto-libm-test-in: Mark some cpow tests with
18852         ignore-zero-inf-sign and some with xfail-rounding.
18853         * math/auto-libm-test-out: Regenerated.
18854         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
18855         * sysdeps/i386/fpu/libm-test-ulps: Update.
18856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18858         [BZ #16315]
18859         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
18860         overflowing or underflowing operations take place with sign of
18861         result.
18862         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18863         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18864         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
18865         (__ieee754_pow): Recompute overflowing and underflowing results in
18866         original rounding mode.
18867         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
18868         (__powl_helper): Allow negative argument X and scale negated value
18869         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
18870         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
18871         overflowing or underflowing operations take place with sign of
18872         result.
18873         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
18874         Include <math.h>.
18875         * math/auto-libm-test-in: Add more tests of pow.
18876         * math/auto-libm-test-out: Regenerated.
18877         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
18878         (pow_tonearest_test_data): Remove.
18879         (pow_test_tonearest): Likewise.
18880         (pow_towardzero_test_data): Likewise.
18881         (pow_test_towardzero): Likewise.
18882         (pow_downward_test_data): Likewise.
18883         (pow_test_downward): Likewise.
18884         (pow_upward_test_data): Likewise.
18885         (pow_test_upward): Likewise.
18886         (main): Don't call removed functions.
18887         * sysdeps/i386/fpu/libm-test-ulps: Update.
18888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18890 2014-06-23  Roland McGrath  <roland@hack.frob.com>
18892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
18893         Moved ...
18894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
18895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18896         Moved ...
18897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
18898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18899         Moved ...
18900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
18901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18902         Moved ...
18903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
18904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18905         File removed.
18906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18907         File removed.
18908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
18909         File removed.
18910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
18911         File removed.
18912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
18913         File removed.
18914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
18915         File removed.
18916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
18917         File removed.
18918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18919         File removed.
18920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
18921         File removed.
18922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18923         File removed.
18924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
18925         File removed.
18926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
18927         File removed.
18928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
18929         Moved ...
18930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
18931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
18932         Moved ...
18933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18934         ... here.
18935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
18936         Moved ...
18937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
18938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
18939         Moved ...
18940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
18941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
18942         Moved ...
18943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
18944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
18945         Moved ...
18946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
18947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
18948         Moved ...
18949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
18950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
18951         Moved ...
18952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
18953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
18954         Moved ...
18955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
18956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
18957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18958         ... here.
18959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
18960         Moved ...
18961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
18962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18963         Moved ...
18964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18965         ... here.
18966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
18967         Moved ...
18968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18969         ... here.
18970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18971         Moved ...
18972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18973         ... here.
18974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18975         Moved ...
18976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
18977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18978         Moved ...
18979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
18980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
18981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
18982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18983         Moved ...
18984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18985         ... here.
18986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18987         Moved ...
18988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18989         ... here.
18990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18991         Moved ...
18992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
18993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18994         Moved ...
18995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
18996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18997         Moved ...
18998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
18999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19000         Moved ...
19001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
19002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19003         Moved ...
19004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
19005         ... here.
19006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19007         Moved ...
19008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
19009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19010         Moved ...
19011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
19012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19013         Moved ...
19014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
19015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19016         Moved ...
19017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
19018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
19019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
19020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19021         Moved ...
19022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
19023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19024         Moved ...
19025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
19026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19027         Moved ...
19028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
19029         ... here.
19030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19031         Moved ...
19032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
19033         ... here.
19034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19035         Moved ...
19036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
19037         ... here.
19038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19039         Moved ...
19040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
19041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19042         Moved ...
19043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
19044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19045         Moved ...
19046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
19047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19048         Moved ...
19049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
19050         ... here.
19051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19052         Moved ...
19053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
19054         ... here.
19055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19056         Moved ...
19057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
19058         ... here.
19059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19060         Moved ...
19061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
19062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19063         Moved ...
19064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
19066 2014-06-23  Will Newton  <will.newton@linaro.org>
19067             Wilco  <wdijkstr@arm.com>
19069         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
19070         implementation.  Include get-rounding-mode.h.
19071         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
19072         [!libc_feholdsetround_noex_ctx]: Define
19073         libc_feholdsetround_noex_ctx.
19074         [!libc_feholdsetround_noexf_ctx]: Define
19075         libc_feholdsetround_noexf_ctx.
19076         [!libc_feholdsetround_noexl_ctx]: Define
19077         libc_feholdsetround_noexl_ctx.
19078         (libc_feholdsetround_ctx): New function.
19079         (libc_feresetround_ctx): New function.
19080         (libc_feholdsetround_noex_ctx): New function.
19081         (libc_feresetround_noex_ctx): New function.
19083 2014-06-23  Roland McGrath  <roland@hack.frob.com>
19085         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
19086         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
19087         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
19088         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
19089         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
19090         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
19092         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
19093         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
19094         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
19095         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
19096         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
19097         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
19098         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
19099         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
19100         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
19101         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
19102         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
19103         Moved ...
19104         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
19105         ... here.
19106         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
19107         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
19108         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
19109         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
19110         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
19111         Moved ...
19112         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
19113         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
19114         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
19115         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
19116         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
19117         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
19118         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
19119         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
19120         Moved ...
19121         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
19122         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
19123         Moved ...
19124         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
19125         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
19126         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
19127         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
19128         Moved ...
19129         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
19130         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
19131         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
19132         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
19133         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
19134         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
19135         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
19136         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
19137         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
19138         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
19139         Moved ...
19140         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
19141         ... here.
19142         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
19143         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
19144         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
19145         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
19146         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
19147         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
19148         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
19149         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
19150         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
19151         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
19152         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
19153         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
19154         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
19155         Moved ...
19156         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
19157         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
19158         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
19159         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
19160         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
19161         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
19162         Moved ...
19163         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
19164         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
19165         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
19166         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
19167         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
19169         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
19170         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
19171         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
19172         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
19173         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
19174         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
19175         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
19176         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
19177         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
19178         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
19179         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
19180         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
19181         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
19182         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
19183         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
19184         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
19185         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
19186         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
19187         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
19188         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
19189         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
19190         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
19191         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
19192         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
19193         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
19194         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
19195         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
19196         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
19198 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
19200         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
19201         (FALLOC_FL_COLLAPSE_RANGE): New macro.
19202         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
19203         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
19204         (IPV6_PMTUDISC_INTERFACE): Likewise.
19205         (IPV6_PMTUDISC_OMIT): Likewise.
19207 2014-06-23  Andreas Schwab  <schwab@suse.de>
19209         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
19210         Remove unused errout label.
19212 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19214         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
19215         macro: hardware supports Vector Crypto instructions.
19217 2014-06-23  Will Newton  <will.newton@linaro.org>
19219         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
19220         rather than __builtin_expect.
19222         * elf/dl-lookup.c (undefined_msg): Remove variable.
19223         (_dl_lookup_symbol_x): Replace undefined_msg with string
19224         literal.
19226         * elf/dl-lookup.c (do_lookup_unique): New function.
19227         (do_lookup_x): Move STB_GNU_UNIQUE handling code
19228         to a separate function.
19230 2014-06-23  Andreas Schwab  <schwab@suse.de>
19232         [BZ #17079]
19233         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
19234         before reading the next line.
19236 2014-06-23  Will Newton  <will.newton@linaro.org>
19238         * test-skeleton.c (signal_handler): Use printf and %m
19239         rather than perror.  Use printf rather than fprintf to
19240         stderr.  Use puts rather than fputs to stderr.
19241         (main): Likewise.
19243 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
19245         * nscd/nscd.c (thread_info_t): Remove typedef.
19246         (thread_info): Remove variable.
19248 2014-06-21  Allan McRae  <allan@archlinux.org>
19250         * NEWS: Mention CVE-2014-4043.
19252 2014-06-20  Roland McGrath  <roland@hack.frob.com>
19254         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
19255         * nptl/smp.h: ... here.
19257         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
19259         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
19260         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
19261         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
19262         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
19264         * nptl/allocatestack.c: Include <stack-aliasing.h>.
19265         * nptl/stack-aliasing.h: New file.
19266         * sysdeps/i386/i686/stack-aliasing.h: New file.
19267         * sysdeps/i386/i686/nptl/Makefile: File removed.
19268         * sysdeps/x86_64/stack-aliasing.h: New file.
19269         * sysdeps/x86_64/nptl/Makefile
19270         (CFLAGS-pthread_create.c): Variable removed.
19272         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
19273         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
19274         old file.
19275         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
19276         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
19277         old file.
19279 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
19281         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19282         (__ASSUME_SIGFRAME_V2): Remove macro.
19283         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
19284         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
19285         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
19286         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
19287         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
19288         Declare as function.  Remove conditional macro definitions.
19289         (__default_rt_sa_restorer): Likewise.
19290         (__default_sa_restorer_v1): Remove declaration.
19291         (__default_sa_restorer_v2): Likewise.
19292         (__default_rt_sa_restorer_v1): Likewise.
19293         (__default_rt_sa_restorer_v2): Likewise.
19294         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
19295         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
19296         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
19298 2014-06-20  Roland McGrath  <roland@hack.frob.com>
19300         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
19301         (libpthread-routines): Add sysdep.
19302         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
19303         * sysdeps/unix/sysv/linux/sparc/Versions
19304         (libpthread: GLIBC_2.3.3): New version set.
19305         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
19306         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
19307         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
19308         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
19309         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
19310         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
19311         Moved ...
19312         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
19313         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
19314         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
19315         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
19316         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
19317         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
19318         * sysdeps/sparc/nptl/sem_init.c: ... here.
19319         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
19320         * sysdeps/sparc/nptl/sem_post.c: ... here.
19321         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
19322         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
19323         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
19324         * sysdeps/sparc/nptl/sem_wait.c: ... here.
19325         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
19326         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
19327         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
19328         (libpthread-routines): Add cpu_relax.
19329         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
19330         File removed.
19331         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
19332         (librt: GLIBC_2.3.3): New version set.
19333         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
19334         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
19335         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
19336         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
19337         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
19338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
19339         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
19340         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
19341         Moved ...
19342         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
19343         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
19344         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
19345         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
19346         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
19347         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
19348         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
19349         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
19350         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
19351         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
19352         Moved ...
19353         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
19354         Update #include.
19355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
19356         Moved ...
19357         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
19358         Update #include.
19359         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
19360         Moved ...
19361         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
19362         Update #include.
19363         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
19364         Moved ...
19365         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
19366         Update #include.
19367         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
19368         Moved ...
19369         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
19370         Update #include.
19371         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
19372         Moved ...
19373         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
19374         Update #include.
19375         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
19376         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
19377         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
19378         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
19379         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
19380         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
19381         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
19382         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
19383         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
19384         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
19385         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19386         Moved ...
19387         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
19388         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
19389         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
19390         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
19391         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
19393 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
19395         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
19396         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
19397         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
19398         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
19399         * nscd/nscd.c: Likewise.
19400         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
19401         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
19402         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
19403         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
19405         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
19406         <kernel-features.h>.
19407         (init_mq_netlink): Remove conditional have_sock_cloexec
19408         definitions.  Remove code conditional on have_sock_cloexec < 0.
19409         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
19410         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
19411         * sysdeps/unix/sysv/linux/opensock.c: Do not include
19412         <kernel-features.h>.
19413         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
19414         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
19416 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
19418         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19419         Add tests for memset_chk and memset.
19421         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
19422         with AVX2_Usable.
19424 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
19426         [BZ #16046]
19427         * elf/tst-dl-iter-static.c: New file.
19428         * elf/Makefile (tests-static): Add tst-dl-iter-static.
19430         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
19431         error.
19433 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
19435         * sysdeps/unix/sysv/linux/kernel-features.h
19436         (__ASSUME_F_GETOWN_EX): Remove macro.
19437         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
19438         <kernel-features.h>.
19439         (miss_F_GETOWN_EX): Remove variable or macro.
19440         (do_fcntl): Do not check miss_F_GETOWN_EX.
19441         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
19443         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
19444         Remove macro.
19445         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
19446         [!__ASSUME_AT_RANDOM]: Remove conditional code.
19447         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
19449         * sysdeps/unix/sysv/linux/kernel-features.h
19450         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
19451         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
19452         [ADJ_OFFSET_SS_READ]: Make code unconditional.
19453         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
19455 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
19457         [BZ #17075]
19458         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
19459         Fix calculation of the symbol's value.
19460         * sysdeps/arm/tst-armtlsdescloc.c: New file.
19461         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
19462         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
19463         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
19464         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
19465         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
19466         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
19467         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
19468         (modules-names): Add `tst-armtlsdescmod',
19469         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
19470         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
19471         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19472         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
19473         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
19474         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19475         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
19476         ($(objpfx)tst-armtlsdescloc): New dependency.
19477         ($(objpfx)tst-armtlsdescextnow): Likewise.
19478         ($(objpfx)tst-armtlsdescextlazy): Likewise.
19479         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
19480         TLS scheme support.
19481         * sysdeps/arm/configure: Regenerate.
19483 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
19485         * include/fcntl.h (__atfct_seterrno): Remove prototype.
19486         (__atfct_seterrno_2): Likewise.
19487         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
19488         <kernel-features.h>.
19489         (__ASSUME_ATFCTS): Do not undefine and redefine.
19490         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
19491         (__have_atfcts): Remove conditional definition.
19492         (__fxstatat([__NR_fstatat64]: Make code unconditional.
19493         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
19494         unreachable if [__ASSUME_ATFCTS].
19495         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
19496         not undefine and redefine.
19497         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
19498         <kernel-features.h>.
19499         (faccessat) [__NR_faccessat]: Make code unconditional.
19500         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
19501         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
19502         <kernel-features.h>.
19503         (fchmodat) [__NR_fchmodat]: Make code unconditional.
19504         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19505         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
19506         <kernel-features.h>.
19507         (fchownat) [__NR_fchownat]: Make code unconditional.
19508         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
19509         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
19510         <kernel-features.h>.
19511         (futimesat) [__NR_futimesat]: Make code unconditional.
19512         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
19513         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19514         <kernel-features.h>.
19515         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19516         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19517         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19518         <kernel-features.h>.
19519         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
19520         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19521         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
19522         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19523         <kernel-features.h>.
19524         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
19525         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19526         * sysdeps/unix/sysv/linux/linkat.c: Do not include
19527         <kernel-features.h>.
19528         (linkat) [__NR_linkat]: Make code unconditional.
19529         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19530         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
19531         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
19532         <kernel-features.h>.
19533         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
19534         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19535         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
19536         <kernel-features.h>.
19537         (mkdirat) [__NR_mkdirat]: Make code unconditional.
19538         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
19539         * sysdeps/unix/sysv/linux/openat.c: Do not include
19540         <kernel-features.h>.
19541         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
19542         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
19543         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
19544         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
19545         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
19546         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
19547         <kernel-features.h>.
19548         (readlinkat) [__NR_readlinkat]: Make code unconditional.
19549         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
19550         result of INLINE_SYSCALL directly, not via int variable.
19551         * sysdeps/unix/sysv/linux/renameat.c: Do not include
19552         <kernel-features.h>.
19553         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
19554         (renameat) [__NR_renameat]: Make code unconditional.
19555         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
19556         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
19557         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
19558         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
19559         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
19560         (__ASSUME_ATFCTS): Do not undefine and redefine.
19561         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
19562         <kernel-features.h>.
19563         (symlinkat) [__NR_symlinkat]: Make code unconditional.
19564         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19565         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
19566         <kernel-features.h>.
19567         (unlinkat) [__NR_unlinkat]: Make code unconditional.
19568         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19569         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
19570         (__ASSUME_ATFCTS): Do not undefine and redefine.
19571         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19572         <kernel-features.h>.
19573         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19574         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19575         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19576         <kernel-features.h>.
19577         (__xmknodat) [__NR_mknodat]: Make code unconditional.
19578         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19580 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
19582         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
19584 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
19586         [BZ #17069]
19587         * posix/regcomp.c (parse_reg_exp): Deallocate partially
19588         constructed tree before returning error.
19589         * posix/bug-regexp36.c: Expand test case.
19591 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19593         [BZ #6803]
19594         * math/libm-test.inc (scalbln_test_date):
19595         Add errno expectations.
19596         * math/w_scalblnf.c: New File.
19597         Add wrapper which checks for setting errno to ERANGE.
19598         Add weak_alias for corresponding scalbln function.
19599         * math/w_scalbln.c: Likewise.
19600         * math/w_scalblnl.c: Likewise.
19601         * math/Makefile (libm-calls): Add w_scalbln.
19602         * sysdeps/ieee754/flt-32/s_scalblnf.c:
19603         Remove weak_alias for corresponding scalbln function.
19604         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19605         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19606         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19607         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19608         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
19609         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19610         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
19611         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19612         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
19613         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
19614         Remove long_double_symbol for scalblnl function in libm, libc.
19615         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
19616         Add wrapper which checks for setting errno to ERANGE.
19617         Add long_double_symbol for scalblnl function in libm, libc.
19618         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
19619         Remove long_double_symbol for scalblnl in libm.
19620         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
19621         Add wrapper which checks for setting errno to ERANGE.
19622         Add long_double_symbol for scalblnl function in libm.
19623         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
19624         Do not use wrapper because of own implementation.
19626 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
19628         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
19629         3 bytes for __pad1 for x32.
19630         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
19632 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
19633             H.J. Lu  <hongjiu.lu@intel.com>
19635         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
19636         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
19637         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19638         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19639         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19641 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
19643         [BZ #17069]
19644         * posix/regcomp.c (parse_expression): Deallocate partially
19645         constructed tree before returning error.
19646         * posix/Makefile.c (tests): Add bug-regex36.
19647         (generated): Add bug-regex36.mtrace.
19648         (tests-special): Add $(objpfx)bug-regex36-mem.out
19649         (bug-regex36-ENV): New variable.
19650         ($(objpfx)bug-regex36-mem.out): New rule.
19651         * posix/bug-regex36.c: New file.
19653 2014-06-19  Will Newton  <will.newton@linaro.org>
19655         * malloc/malloc.c (systrim): If extra is zero then return
19656         early.
19658 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19660         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
19662 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
19664         * sysdeps/aarch64/strchr.S: New file.
19666 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
19668         [BZ #17022]
19669         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
19670         from arguments -2 or below.
19671         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19672         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
19674 2014-06-18  Andreas Schwab  <schwab@suse.de>
19676         [BZ #17062]
19677         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
19678         of a bracket expr not to run off the end of the string.
19679         * posix/Makefile (tests): Add tst-fnmatch3.
19680         * posix/tst-fnmatch3.c: New file.
19682 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
19684         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
19685         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19686         [$(cross-compiling) = no]: Likewise.
19687         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19688         [$(cross-compiling) = no]: Likewise.
19690 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19692         [BZ #17031]
19693         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
19694         double, adjusted for any remainder from the high double.
19695         * math/libm-test.inc (nearbyint): Add tests.
19696         (rint): Likewise.
19698 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19700         * nptl/sysdeps/powerpc/Makefile: Moved ...
19701         * sysdeps/powerpc/nptl/Makefile: ... here.
19702         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
19703         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
19704         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
19705         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
19706         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
19707         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
19708         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
19709         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
19710         * nptl/sysdeps/powerpc/tls.h: Moved ...
19711         * sysdeps/powerpc/nptl/tls.h: ... here.
19713 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
19715         [BZ #16681]
19716         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
19717         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19718         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
19719         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
19720         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19721         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
19722         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
19723         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19724         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
19726 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
19728         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19730 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
19732         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
19733         defined operator.
19735         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
19736         $TIMEOUTFACTOR.
19738 2014-06-16  Florian Weimer  <fweimer@redhat.com>
19740         [BZ #17058]
19741         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
19742         non-executed part of the test.
19744 2014-06-16  Andreas Schwab  <schwab@suse.de>
19746         * string/bits/string2.h (strdup, strndup): Update feature guard.
19748 2014-06-14  David S. Miller  <davem@davemloft.net>
19750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19752 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
19754         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
19755         that was previously under [RESET_PID].
19756         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
19758         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
19759         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
19760         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
19761         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19762         (__libc_vfork): New strong alias.
19763         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
19765 2014-06-14 Andi Kleen  <ak@linux.intel.com>
19767         * sysdeps/generic/elide.h: New file.
19769 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19771         * Makefile (installed-headers): Adjust path of pthread.h header.
19773 2014-06-13  Roland McGrath  <roland@hack.frob.com>
19775         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
19776         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
19777         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
19778         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
19780         * nptl/sysdeps/s390/Makefile: Moved ...
19781         * sysdeps/s390/nptl/Makefile: ... here.
19782         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
19783         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
19784         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
19785         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
19786         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
19787         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
19788         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
19789         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
19790         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
19791         * sysdeps/s390/nptl/pthreaddef.h: ... here.
19792         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
19793         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
19794         * nptl/sysdeps/s390/tls.h: Moved ...
19795         * sysdeps/s390/nptl/tls.h: ... here.
19797         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
19798         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
19800 2014-06-13  David S. Miller  <davem@davemloft.net>
19802         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
19803         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
19804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
19805         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
19806         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
19807         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
19808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
19809         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
19810         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
19811         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
19812         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
19813         Remove RESET_PID cpp guards.
19814         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
19815         Remove RESET_PID cpp guards.
19816         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
19818 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
19820         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
19821         __sp to uintptr_t.
19823 2014-06-13  Andi Kleen  <ak@linux.intel.com>
19825         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
19826         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
19827         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
19828         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
19829         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
19830         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
19831         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
19832         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
19833         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
19834         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
19835         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
19836         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
19837         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
19838         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
19839         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
19840         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
19841         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
19842         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
19843         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
19844         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
19846         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
19847         (pthread_rwlock_rdlock): Add elision.
19848         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
19849         (pthread_rwlock_wrlock): Add elision.
19850         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
19851         (pthread_rwlock_trywrlock): Add elision.
19852         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
19853         (pthread_rwlock_tryrdlock): Add elision.
19854         * nptl/pthread_rwlock_unlock.c: Include elide.h.
19855         (pthread_rwlock_tryrdlock): Add elision unlock.
19856         * nptl/sysdeps/pthread/pthread.h:
19857         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
19858         (PTHREAD_RWLOCK_INITIALIZER,
19859         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
19860         Handle new elision field.
19861         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
19862         * sysdeps/arm/nptl/bits/pthreadtypes.h
19863         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19864         * sysdeps/sh/nptl/bits/pthreadtypes.h
19865         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19866         * sysdeps/tile/nptl/bits/pthreadtypes.h
19867         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19868         * sysdeps/a/nptl/bits/pthreadtypes.h
19869         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19870         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19871         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19872         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19873         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19874         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
19875         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19876         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19877         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19878         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19879         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19880         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19881         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19882         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19883         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19884         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
19885         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19886         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
19887         (elision_init): Set try_xbegin to zero when no RTM.
19888         * sysdeps/x86/nptl/bits/pthreadtypes.h
19889         (pthread_rwlock_t): Change __pad1 to __rwelision.
19890         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19892 2014-06-13  Andi Kleen  <ak@linux.intel.com>
19894         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
19895         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
19896         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
19897         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
19899 2014-06-13  Meador Inge  <meadori@codesourcery.com>
19901         [BZ #16996]
19902         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
19903         that the cached result has been set before returning it.
19905 2014-06-12  Roland McGrath  <roland@hack.frob.com>
19907         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
19908         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
19909         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
19910         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
19911         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
19912         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
19914         * nptl/sysdeps/sparc/Makefile: Moved ...
19915         * sysdeps/sparc/nptl/Makefile: ... here.
19916         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
19917         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
19918         * nptl/sysdeps/sparc/tls.h: Moved ...
19919         * sysdeps/sparc/nptl/tls.h: ... here.
19920         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
19921         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
19922         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
19923         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
19924         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
19925         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
19926         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
19927         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
19928         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
19929         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
19930         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
19931         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
19932         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
19933         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
19934         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
19935         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
19936         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
19937         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
19938         Update #include.
19939         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
19940         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
19941         Update #include.
19942         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
19943         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
19944         Update #include.
19945         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
19946         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
19947         Update #include.
19949         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19951         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
19952         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
19954         * sysdeps/pthread/posix-timer.h: Include <list.h>.
19955         (struct list_links): Type removed.
19956         (struct thread_node, struct timer_node): Replace struct list_links
19957         with struct list_head.
19958         (list_unlink_ip): Likewise.
19959         * sysdeps/pthread/timer_routines.c
19960         (timer_free_list, thread_free_list, thread_active_list): Likewise.
19961         (list_append, list_insbefore): Likewise.
19962         (list_init): Function removed.
19963         (thread_init, init_module): Use INIT_LIST_HEAD instead.
19964         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
19965         * sysdeps/pthread/Makefile: ... here, new file.
19967         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
19968         * sysdeps/nptl/Implies: ... here.
19969         * sysdeps/unix/sysv/linux/Implies: Add nptl.
19970         * nptl/sysdeps/pthread/list.h: Moved ...
19971         * include/list.h: ... here.
19972         * nptl/sysdeps/pthread/createthread.c: Moved ...
19973         * nptl/createthread.c: ... here.
19974         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
19975         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
19976         * nptl/pt-longjmp.c: ... here.
19977         * nptl/sysdeps/pthread/Makefile: Moved ...
19978         * sysdeps/nptl/Makefile: ... here.
19979         * nptl/sysdeps/pthread/Subdirs: Moved ...
19980         * sysdeps/nptl/Subdirs: ... here.
19981         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
19982         * sysdeps/nptl/aio_misc.h: ... here.
19983         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
19984         * sysdeps/nptl/bits/libc-lock.h: ... here.
19985         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
19986         * sysdeps/nptl/bits/libc-lockP.h: ... here.
19987         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
19988         * sysdeps/nptl/bits/stdio-lock.h: ... here.
19989         * nptl/sysdeps/pthread/configure: Moved ...
19990         * sysdeps/nptl/configure: ... here.
19991         * nptl/sysdeps/pthread/configure.ac: Moved ...
19992         * sysdeps/nptl/configure.ac: ... here.
19993         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
19994         * sysdeps/nptl/gai_misc.h: ... here.
19995         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
19996         * sysdeps/nptl/librt-cancellation.c: ... here.
19997         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
19998         * sysdeps/nptl/malloc-machine.h: ... here.
19999         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
20000         * sysdeps/nptl/pthread-functions.h: ... here.
20001         * nptl/sysdeps/pthread/pthread.h: Moved ...
20002         * sysdeps/nptl/pthread.h: ... here.
20003         * nptl/sysdeps/pthread/setxid.h: Moved ...
20004         * sysdeps/nptl/setxid.h: ... here.
20005         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
20006         * sysdeps/nptl/sigfillset.c: ... here.
20007         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
20008         * sysdeps/nptl/tcb-offsets.h: ... here.
20009         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
20010         * sysdeps/nptl/tst-mqueue8x.c: ... here.
20011         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
20012         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
20013         * nptl/sysdeps/pthread/allocalim.h: Moved ...
20014         * sysdeps/pthread/allocalim.h: ... here.
20015         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
20016         * sysdeps/pthread/bits/sigthread.h: ... here.
20017         * nptl/sysdeps/pthread/flockfile.c: Moved ...
20018         * sysdeps/pthread/flockfile.c: ... here.
20019         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
20020         * sysdeps/pthread/ftrylockfile.c: ... here.
20021         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
20022         * sysdeps/pthread/funlockfile.c: ... here.
20023         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
20024         * sysdeps/pthread/posix-timer.h: ... here.
20025         * nptl/sysdeps/pthread/timer_create.c: Moved ...
20026         * sysdeps/pthread/timer_create.c: ... here.
20027         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
20028         * sysdeps/pthread/timer_delete.c: ... here.
20029         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
20030         * sysdeps/pthread/timer_getoverr.c: ... here.
20031         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
20032         * sysdeps/pthread/timer_gettime.c: ... here.
20033         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
20034         * sysdeps/pthread/timer_routines.c: ... here.
20035         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
20036         * sysdeps/pthread/timer_settime.c: ... here.
20037         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
20038         * sysdeps/pthread/tst-timer.c: ... here.
20039         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
20040         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
20042         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
20043         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
20045         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
20046         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
20047         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
20048         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
20049         Update #include target.
20050         * nptl/sysdeps/i386/i686/Makefile: Moved ...
20051         * sysdeps/i386/i686/nptl/Makefile: ... here.
20052         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
20053         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
20054         Update #include target.
20055         * nptl/sysdeps/i386/i686/tls.h: Moved ...
20056         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
20057         * nptl/sysdeps/i386/Makefile: Moved ...
20058         * sysdeps/i386/nptl/Makefile: ... here.
20059         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
20060         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
20061         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
20062         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
20063         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
20064         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
20065         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
20066         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
20067         * sysdeps/i386/nptl/pthreaddef.h: ... here.
20068         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
20069         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
20070         * nptl/sysdeps/i386/tls.h: Moved ...
20071         * sysdeps/i386/nptl/tls.h: ... here.
20073         * sysdeps/sh/Makefile [$(subdir) = csu]
20074         (gen-as-const-headers): Add tcb-offsets.sym.
20075         * nptl/sysdeps/sh/Makefile: File removed.
20076         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
20077         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
20078         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
20079         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
20080         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
20081         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
20082         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
20083         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
20084         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
20085         * sysdeps/sh/nptl/pthreaddef.h: ... here.
20086         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
20087         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
20088         * nptl/sysdeps/sh/tls.h: Moved ...
20089         * sysdeps/sh/nptl/tls.h: ... here.
20090         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
20091         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
20092         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
20093         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
20094         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
20095         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
20096         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
20097         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
20098         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
20099         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
20100         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
20101         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
20102         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
20103         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
20104         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
20105         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
20106         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
20107         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
20108         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
20109         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
20110         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
20111         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
20112         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
20113         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
20114         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
20115         Moved ...
20116         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
20117         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
20118         Moved ...
20119         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
20120         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
20121         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
20122         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
20123         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
20124         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
20125         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
20126         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
20127         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
20128         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
20129         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
20130         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
20131         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
20132         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
20133         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
20134         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
20135         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
20136         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
20137         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
20139 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20141         * posix/spawn_faction_addopen.c: Include string.h.
20143 2014-06-11  Roland McGrath  <roland@hack.frob.com>
20145         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
20146         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
20147         * nptl/sysdeps/x86_64/Makefile: Moved ...
20148         * sysdeps/x86_64/nptl/Makefile: ... here.
20149         * nptl/sysdeps/x86_64/configure: Moved ...
20150         * sysdeps/x86_64/nptl/configure: ... here.
20151         * nptl/sysdeps/x86_64/configure.ac: Moved ...
20152         * sysdeps/x86_64/nptl/configure.ac: ... here.
20153         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
20154         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
20155         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
20156         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
20157         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
20158         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
20159         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
20160         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
20161         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
20162         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
20163         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
20164         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
20165         * nptl/sysdeps/x86_64/tls.h: Moved ...
20166         * sysdeps/x86_64/nptl/tls.h: ... here.
20167         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
20168         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
20169         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
20170         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
20172         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
20174 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20178 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
20180         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
20181         type.
20182         [POSIX] (off_t): Likewise.
20183         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
20184         [POSIX] (S_ISBLK): Require macro.
20185         [POSIX] (S_ISCHR): Likewise.
20186         [POSIX] (S_ISDIR): Likewise.
20187         [POSIX] (S_ISFIFO): Likewise.
20188         [POSIX] (S_ISREG): Likewise.
20189         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
20190         optional-macro.
20191         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
20192         type.
20193         [POSIX] (time_t): Likewise.
20194         [POSIX] (timer_t): Likewise.
20196 2014-06-11  Florian Weimer  <fweimer@redhat.com>
20198         [BZ #17048]
20199         * posix/spawn_int.h (struct __spawn_action): Make the path string
20200         non-const to support deallocation.
20201         * posix/spawn_faction_addopen.c
20202         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
20203         * posix/spawn_faction_destroy.c
20204         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
20205         path in all spawn_do_open actions.
20206         * posix/tst-spawn.c (do_test): Exercise the copy operation in
20207         posix_spawn_file_actions_addopen.
20209 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
20211         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
20212         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
20213         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
20214         conditional code always true.
20215         (__libc_vfork): New alias.
20217 2014-06-11  Roland McGrath  <roland@hack.frob.com>
20219         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20220         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
20222         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
20224         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20225         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
20227         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20228         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
20230         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20231         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
20233 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20235         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
20236         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
20237         multiarch strcmp for PPC64.
20238         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
20239         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
20240         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
20241         multiarch optimizations.
20242         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20243         (__libc_ifunc_impl_list): Likewise.
20245 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20247         * benchtests/scripts/validate_benchout.py: New script.
20248         * benchtests/Makefile (bench-func): Call it.
20249         * benchtests/scripts/benchout.schema.json: New file.
20251 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
20253         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
20254         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
20255         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
20256         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
20257         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
20258         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20259         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
20260         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
20261         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
20262         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
20263         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
20264         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
20265         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
20266         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
20267         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
20268         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
20269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
20270         Moved ...
20271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
20272         ... here.
20273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
20274         Moved ...
20275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
20276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
20277         Moved ...
20278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
20279         ... here.
20280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
20281         Moved ...
20282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
20283         ... here.
20284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
20285         Moved ...
20286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
20287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
20288         Moved ...
20289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
20290         ... here.
20291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
20292         Moved ...
20293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
20294         ... here.
20295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
20296         Moved ...
20297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
20298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
20299         Moved ...
20300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
20301         ... here.
20302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
20303         Moved ...
20304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
20305         ... here.
20306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
20307         Moved ...
20308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
20309         ... here.
20310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
20311         Moved ...
20312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
20313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
20314         Moved ...
20315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
20316         ... here.
20317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
20318         Moved ...
20319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
20320         ... here.
20321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
20322         Moved ...
20323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
20324         ... here.
20325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
20326         Moved ...
20327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
20328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
20329         Moved ...
20330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
20331         ... here.
20332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
20333         Moved ...
20334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
20335         ... here.
20336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
20337         Moved ...
20338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
20339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
20340         Moved ...
20341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
20342         ... here.
20343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
20344         Moved ...
20345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
20346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
20347         Moved ...
20348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
20349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
20350         Moved ...
20351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
20352         ... here.
20353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
20354         Moved ...
20355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
20356         ... here.
20357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
20358         Moved ...
20359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
20360         ... here.
20361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
20362         Moved ...
20363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
20364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
20365         Moved ...
20366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
20367         ... here.
20368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
20369         Moved ...
20370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
20371         ... here.
20372         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
20373         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
20374         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
20375         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
20376         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
20377         Moved ...
20378         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20379         ... here.
20380         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
20381         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
20382         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
20383         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
20384         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
20385         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
20386         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
20387         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
20388         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
20389         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
20390         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
20391         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
20392         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
20393         Moved ...
20394         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
20395         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
20396         Moved ...
20397         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
20398         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
20399         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
20400         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
20401         Moved ...
20402         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
20403         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
20404         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
20405         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
20406         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
20407         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
20408         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
20410 2014-06-10  Wilco  <wdijkstr@arm.com>
20412         * math/test-fenv-return.c: New file.
20413         * math/Makefile: Add new test test-fenv-return.
20415 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
20417         [BZ #17042]
20418         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
20419         when x - 1 is zero.
20420         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
20421         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20422         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
20423         0.0L for an argument of 1.0L.
20424         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20425         Likewise.
20426         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
20427         value when x - 1 is zero.
20428         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
20429         * sysdeps/i386/fpu/libm-test-ulps: Update.
20430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20432 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
20434         [BZ #15119]
20435         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
20437 2014-06-09  Roland McGrath  <roland@hack.frob.com>
20439         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
20440         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
20442 2014-06-09  Roland McGrath  <roland@hack.frob.com>
20444         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20445         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
20447         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20448         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
20450         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20451         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
20453         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20454         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
20456         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
20457         if not already defined.
20458         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
20459         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
20460         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
20461         (TLS_INIT_TP): Use it.
20462         (TLS_DEFINE_INIT_TP): New macro.
20463         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
20465 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
20467         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
20468         constant.
20469         [POSIX] (IXANY): Likewise.
20470         [POSIX] (OLCUC): Likewise.
20471         [POSIX || POSIX2008] (CBAUD): Do not allow.
20472         [POSIX || POSIX2008] (DEFECHO): Likewise.
20473         [POSIX || POSIX2008] (ECHOCTL): Likewise.
20474         [POSIX || POSIX2008] (ECHOKE): Likewise.
20475         [POSIX || POSIX2008] (ECHOPRT): Likewise.
20476         [POSIX || POSIX2008] (EXTA): Likewise.
20477         [POSIX || POSIX2008] (EXTB): Likewise.
20478         [POSIX || POSIX2008] (FLUSHO): Likewise.
20479         [POSIX || POSIX2008] (LOBLK): Likewise.
20480         [POSIX || POSIX2008] (PENDIN): Likewise.
20481         [POSIX || POSIX2008] (SWTCH): Likewise.
20482         [POSIX || POSIX2008] (VDISCARD): Likewise.
20483         [POSIX || POSIX2008] (VDSUSP): Likewise.
20484         [POSIX || POSIX2008] (VLNEXT): Likewise.
20485         [POSIX || POSIX2008] (VREPRINT): Likewise.
20486         [POSIX || POSIX2008] (VSTATUS): Likewise.
20487         [POSIX || POSIX2008] (VWERASE): Likewise.
20488         (B*): Change to B[0123456789]*.
20489         * conform/data/time.h-data [POSIX || UNIX98]
20490         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
20491         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20492         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
20493         [POSIX] (tm_*): Do not allow.
20495 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
20497         * Makefile (install): Don't set LANGUAGE.
20498         * Makefile.in (install): Likewise.
20499         * assert/Makefile (test-assert-ENV): Remove variable.
20500         (test-assert-perr-ENV): Likewise.
20501         * elf/Makefile (neededtest4-ENV): Likewise.
20502         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20503         [$(cross-compiling) = no]: Don't set LANGUAGE.
20504         * io/ftwtest-sh (LANG): Remove variable.
20505         * libio/Makefile (tst-widetext-ENV): Likewise.
20506         * manual/install.texi (Running make install): Don't refer to
20507         environment settings for make install.
20508         * INSTALL: Regenerated.
20509         * nptl/tst-tls6.sh: Don't set LANG.
20510         * posix/globtest.sh (LANG): Remove variable.
20511         * string/Makefile (tester-ENV): Likewise.
20512         (inl-tester-ENV): Likewise.
20513         (noinl-tester-ENV): Likewise.
20514         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20515         [$(cross-compiling) = no]: Don't set LANGUAGE.
20516         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
20517         without explicit environment settings.
20519 2014-06-06  Roland McGrath  <roland@hack.frob.com>
20521         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
20522         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
20523         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
20524         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
20526 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
20528         * crypt/crypt-private.h [DOS]: Add some includes taken from the
20529         other files in the crypt directory.
20530         * crypt/crypt.c: Remove duplicate includes.
20531         * crypt/crypt-entry.c: Likewise.
20532         * crypt/crypt_util.c: Likewise.
20534 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
20536         * Makeconfig (run-program-env): New variable.
20537         (run-program-prefix-before-env): Likewise.
20538         (run-program-prefix-after-env): Likewise.
20539         (run-program-prefix): Define in terms of new variables.
20540         (built-program-cmd-before-env): New variable.
20541         (built-program-cmd-after-env): Likewise.
20542         (built-program-cmd): Define in terms of new variables.
20543         (test-program-prefix-before-env): New variable.
20544         (test-program-prefix-after-env): Likewise.
20545         (test-program-prefix): Define in terms of new variables.
20546         (test-program-cmd-before-env): New variable.
20547         (test-program-cmd-after-env): Likewise.
20548         (test-program-cmd): Define in terms of new variables.
20549         * Rules (make-test-out): Use $(run-program-env).
20550         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
20551         (help): Do not mention environment variables.  Mention
20552         --timeoutfactor option.
20553         (timeoutfactor): New variable.
20554         (blacklist_exports): Remove function.
20555         (exports): Remove variable.
20556         (command): Do not include ${exports}.
20557         * manual/install.texi (Configuring and compiling): Do not mention
20558         test wrappers preserving environment variables.  Mention that last
20559         assignment to a variable must take precedence.
20560         * INSTALL: Regenerated.
20561         * benchtests/Makefile (run-bench): Use $(run-program-env).
20562         * catgets/Makefile ($(objpfx)test1.cat): Use
20563         $(built-program-cmd-before-env), $(run-program-env) and
20564         $(built-program-cmd-after-env).
20565         ($(objpfx)test2.cat): Do not specify environment variables
20566         explicitly.
20567         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
20568         $(run-program-env) and $(built-program-cmd-after-env).
20569         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
20570         $(run-program-env) and $(test-program-cmd-after-env).
20571         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
20572         explicitly.
20573         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
20574         run_program_env and test_program_cmd_after_env arguments.
20575         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
20576         * elf/tst-pathopt.sh: Use run_program_env argument.
20577         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
20578         $(test-wrapper-env) and $(run-program-env).
20579         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
20580         run_program_env arguments.
20581         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
20582         * intl/Makefile ($(objpfx)tst-gettext.out): Use
20583         $(test-program-prefix-before-env), $(run-program-env) and
20584         $(test-program-prefix-after-env).
20585         ($(objpfx)tst-gettext2.out): Likewise.
20586         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
20587         run_program_env and test_program_prefix_after_env arguments.
20588         * intl/tst-gettext2.sh: Likewise.
20589         * intl/tst-gettext4.sh: Do not set environment variables
20590         explicitly.
20591         * intl/tst-gettext6.sh: Likewise.
20592         * intl/tst-translit.sh: Likewise.
20593         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
20594         $(test-program-prefix-before-env), $(run-program-env) and
20595         $(test-program-prefix-after-env).
20596         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
20597         run_program_env and test_program_prefix_after_env arguments.
20598         * math/Makefile (run-regen-ulps): Use $(run-program-env).
20599         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
20600         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
20601         explicitly with each use of ${test_wrapper_env}.
20602         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
20603         $(test-program-prefix-before-env), $(run-program-env) and
20604         $(test-program-prefix-after-env).
20605         * posix/tst-getconf.sh: Do not set environment variables
20606         explicitly.
20607         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
20608         run_program_env and test_program_prefix_after_env arguments.
20609         * stdio-common/tst-printf.sh: Do not set environment variables
20610         explicitly.
20611         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
20612         $(test-program-prefix-before-env), $(run-program-env) and
20613         $(test-program-prefix-after-env).
20614         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
20615         run_program_env and test_program_prefix_after_env arguments.
20616         Split $test calls into $test_pre and $test.
20617         * timezone/Makefile (build-testdata): Use
20618         $(built-program-cmd-before-env), $(run-program-env) and
20619         $(built-program-cmd-after-env).
20621 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20623         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
20624         strlen for non SHARED builds.
20626 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20628         * nptl/allocatestack.c (check_list): Inlined function...
20629         (__reclaim_stacks): ... here.
20631 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
20633         [BZ #15698]
20634         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20635         memory overrun.
20637 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
20639         * Rules (make-test-out): Include
20640         LOCPATH=$(common-objpfx)localedata in default environment.
20641         * debug/Makefile (tst-chk1-ENV): Remove variable.
20642         (tst-chk2-ENV): Likewise.
20643         (tst-chk3-ENV): Likewise.
20644         (tst-chk4-ENV): Likewise.
20645         (tst-chk5-ENV): Likewise.
20646         (tst-chk6-ENV): Likewise.
20647         (tst-lfschk1-ENV): Likewise.
20648         (tst-lfschk2-ENV): Likewise.
20649         (tst-lfschk3-ENV): Likewise.
20650         (tst-lfschk4-ENV): Likewise.
20651         (tst-lfschk5-ENV): Likewise.
20652         (tst-lfschk6-ENV): Likewise.
20653         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
20654         (tst-iconv7-ENV): Likewise.
20655         * intl/Makefile (LOCPATH-ENV): Likewise.
20656         (tst-codeset-ENV): Likewise.
20657         (tst-gettext3-ENV): Likewise.
20658         (tst-gettext5-ENV): Likewise.
20659         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
20660         (tst-fopenloc-ENV): Likewise.
20661         (tst-fgetws-ENV): Remove variable.
20662         (tst-ungetwc1-ENV): Likewise.
20663         (tst-ungetwc2-ENV): Likewise.
20664         (bug-ungetwc2-ENV): Likewise.
20665         (tst-swscanf-ENV): Likewise.
20666         (bug-ftell-ENV): Likewise.
20667         (tst-fgetwc-ENV): Likewise.
20668         (tst-fseek-ENV): Likewise.
20669         (tst-ftell-partial-wide-ENV): Likewise.
20670         (tst-ftell-active-handler-ENV): Likewise.
20671         (tst-ftell-append-ENV): Likewise.
20672         * posix/Makefile (tst-fnmatch-ENV): Likewise.
20673         (tst-regexloc-ENV): Likewise.
20674         (bug-regex1-ENV): Likewise.
20675         (tst-regex-ENV): Likewise.
20676         (tst-regex2-ENV): Likewise.
20677         (bug-regex5-ENV): Likewise.
20678         (bug-regex6-ENV): Likewise.
20679         (bug-regex17-ENV): Likewise.
20680         (bug-regex18-ENV): Likewise.
20681         (bug-regex19-ENV): Likewise.
20682         (bug-regex20-ENV): Likewise.
20683         (bug-regex22-ENV): Likewise.
20684         (bug-regex23-ENV): Likewise.
20685         (bug-regex25-ENV): Likewise.
20686         (bug-regex26-ENV): Likewise.
20687         (bug-regex30-ENV): Likewise.
20688         (bug-regex32-ENV): Likewise.
20689         (bug-regex33-ENV): Likewise.
20690         (bug-regex34-ENV): Likewise.
20691         (bug-regex35-ENV): Likewise.
20692         (tst-rxspencer-ENV): Likewise.
20693         (tst-rxspencer-no-utf8-ENV): Likewise.
20694         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
20695         (tst-sscanf-ENV): Likewise.
20696         (tst-swprintf-ENV): Likewise.
20697         (tst-swscanf-ENV): Likewise.
20698         (test-vfprintf-ENV): Likewise.
20699         (scanf13-ENV): Likewise.
20700         (bug14-ENV): Likewise.
20701         (tst-grouping-ENV): Likewise.
20702         * stdlib/Makefile (tst-strtod-ENV): Likewise.
20703         (tst-strtod3-ENV): Likewise.
20704         (tst-strtod4-ENV): Likewise.
20705         (tst-strtod5-ENV): Likewise.
20706         (testmb2-ENV): Likewise./
20707         * string/Makefile (tst-strxfrm-ENV): Likewise.
20708         (tst-strxfrm2-ENV): Likewise.
20709         (bug-strcoll1-ENV): Likewise.
20710         (test-strcasecmp-ENV): Likewise.
20711         (test-strncasecmp-ENV): Likewise.
20712         * time/Makefile (tst-strptime-ENV): Likewise.
20713         (tst-ftime_l-ENV): Likewise.
20714         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
20715         (tst-mbrtowc-ENV): Likewise.
20716         (tst-wcrtomb-ENV): Likewise.
20717         (tst-mbrtowc2-ENV): Likewise.
20718         (tst-c16c32-1-ENV): Likewise.
20719         (tst-mbsnrtowcs-ENV): Likewise.
20721 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
20723         * manual/resource.texi (How to get information about the memory
20724         subsystem?): Fix typo.
20725         Reported by Peon de la Parra Ivan <peon@keba.com>
20727 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
20729         [BZ #16882]
20730         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
20731         (pthread_spin_lock): Branch out of spin loop to proper location.
20732         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
20733         (pthread_spin_lock): Likewise.
20735         * nptl/tst-spin4.c: New test.
20736         * nptl/Makefile (tests): Add tst-spin4.
20738 2014-06-03  Andreas Schwab  <schwab@suse.de>
20740         [BZ #15946]
20741         * resolv/res_send.c (send_dg): Reload file descriptor after
20742         calling reopen.
20744 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
20746         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20748 2014-06-03  Richard Henderson  <rth@redhat.com>
20750         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
20751         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
20752         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
20753         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
20754         in the SAVE_PID block.
20755         (__libc_vfork): New alias.
20756         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
20758         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
20759         child in registers, not on the stack.  Remove RESET_PID conditionals.
20760         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
20762 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20764         * sysdeps/aarch64/libm-test-ulps: Regenerate.
20766 2014-06-03  Wilco  <wdijkstr@arm.com>
20768         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
20769         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
20770         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20771         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
20772         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
20773         Likewise.
20775 2014-06-03  Wilco  <wdijkstr@arm.com>
20777         * sysdeps/aarch64/fpu/math_private.h
20778         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
20779         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
20780         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
20781         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20782         Fix declarations.
20784 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20786         * crypt/crypt-private.h: Include ufc-crypt.h.
20787         (__b64_from_24bit): Declare extern.
20788         * crypt/crypt_util.c(__b64_from_24bit): New function.
20789         (b64t): New static const variable.
20790         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
20791         (b64t): Remove variable.
20792         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
20793         * crypt/sha256-crypt.c: Include crypt-private.h.
20794         (b64t): Remove variable.
20795         (__sha256_crypt_r): Remove b64_from_24bit and replace
20796         with __b64_from_24bit.
20797         * crypt/sha512-crypt.c: Likewise.
20799 2014-06-02  Roland McGrath  <roland@hack.frob.com>
20801         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
20802         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
20803         Label the code __libc_vfork rather than __vfork.
20804         [!NOT_IN_libc] (vfork): Define as weak alias.
20805         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
20806         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
20807         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
20809 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20811         * malloc/malloc.c (malloc_info): Fix format specifier for
20812         n_mmaps.
20814 2014-06-02  Wilco  <wdijkstr@arm.com>
20816         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
20817         FPCR write.
20819 2014-06-02  Wilco  <wdijkstr@arm.com>
20821         [BZ #17009]
20822         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
20823         Rewrite to reduce FPCR/FPSR accesses.
20825 2014-06-01  David S. Miller  <davem@davemloft.net>
20827         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20829 2014-05-31  David S. Miller  <davem@davemloft.net>
20831         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
20832         to occur in round to nearest mode when |x| >= 2.0
20834 2014-05-30  Richard Henderson  <rth@twiddle.net>
20836         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
20837         (PSEUDO_RET_NOERRNO): Remove.
20838         (ret): Don't redefine.
20839         (ret_NOERRNO): Define in terms of ret.
20840         (ret_ERRVAL): Likewise.
20842         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
20843         use of PSEUDO_RET; perform the error check directly.
20845 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
20847         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
20848         with __int128_t.
20850 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20852         * malloc/malloc (malloc_info): Fix formatting.
20854 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20855             Roland McGrath  <roland@hack.frob.com>
20857         * malloc/malloc (malloc_info): Also print mmapped statistics.
20859 2014-05-30  Roland McGrath  <roland@hack.frob.com>
20861         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
20862         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
20864 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
20866         * malloc/malloc.c (malloc_info): Inline mi_arena.
20868 2014-05-29  Richard Henderson  <rth@twiddle.net>
20870         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
20871         Remove comma before expanding ASM_ARGS_##nr.
20872         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
20873         Make _x0 a strict output; make _x8 a strict input; adjust expansion
20874         of ASM_ARGS_##nr.
20875         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
20876         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
20877         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
20878         (ASM_ARGS_1): Add leading comma.
20880         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
20881         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
20882         to __errno_location.
20883         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
20884         Remove the expected plt for __errno_location.
20886         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20887         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
20888         call to __read_tp.
20890         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20891         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
20892         it and break it down.
20893         (DOCARGS_0, DOCARGS_1): Do nothing.
20894         (DOCARGS_2): Update to store into the new stack frame.
20895         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
20896         (UNDOCARGS_1): Update to restore from the new stack frame.
20897         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
20898         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
20900         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20901         (SINGLE_THREAD_P): New parameter for result regno.
20902         (PSEUDO): Update to match; use cbz instead of beq.
20904         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20905         Use ENTRY to define the _nocancel entry point.  Share the syscall
20906         and syscall error check paths with the cancel path.
20907         (PSEUDO_END): New.
20909         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
20910         whitespace; tabs before and after asm mnemonics.
20912 2014-05-29  Eric Wong  <normalperson@yhbt.net>
20914         [BZ #15132]
20915         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20916         Call fstat64 or stat64 internally, depending on arguments passed.
20917         Replace stat buffer argument with file descriptor argument.
20918         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
20919         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
20920         Pass fd to __internal_statvfs instead of calling fstat64.
20921         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
20922         Pass fd to __internal_statvfs64 instead of calling fstat64.
20923         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
20924         Pass -1 to __internal_statvfs instead of calling stat64.
20925         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
20926         Pass -1 to __internal_statvfs64 instead of calling stat64.
20928 2014-05-28  Roland McGrath  <roland@hack.frob.com>
20930         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
20931         that was previously under [RESET_PID].
20932         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
20934         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
20935         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
20937 2014-05-27  Roland McGrath  <roland@hack.frob.com>
20939         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
20941         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
20942         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
20944 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
20946         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
20948 2014-05-27  Andreas Schwab  <schwab@suse.de>
20950         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
20951         TLS_INIT_TP macro.
20952         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
20953         * elf/rtld.c (init_tls, dl_main): Likewise.
20954         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
20955         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
20956         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
20957         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
20958         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
20959         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
20960         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
20961         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
20962         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
20963         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
20964         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
20965         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
20966         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
20967         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
20968         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
20969         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
20970         * sysdeps/generic/tls.h: Update description.
20972 2014-05-27  Will Newton  <will.newton@linaro.org>
20974         [BZ #16990]
20975         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
20976         and restore r2 rather than just restoring.
20978 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20980         [BZ #16724]
20981         * libio/tst-ftell-append.c: New test case.
20982         * libio/Makefile (tests): Add test case.
20983         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
20984         append mode.
20985         * libio/wfileops.c (do_ftell_wide): Likewise.
20987 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20991         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
20992         ...
20993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
20994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20995         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
20996         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
20997         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
20998         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
20999         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
21000         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
21001         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
21002         Moved ...
21003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
21004         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
21005         Moved ...
21006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
21007         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
21008         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
21009         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
21010         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
21011         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
21012         ...
21013         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
21014         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
21015         Moved ...
21016         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
21017         here.
21018         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
21019         ...
21020         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
21021         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
21022         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
21024         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
21025         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
21026         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
21027         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
21029         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
21030         merge into ...
21031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
21032         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
21033         ...
21034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
21035         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
21036         ...
21037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
21038         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21039         Moved ...
21040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
21041         here.
21042         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21043         Moved ...
21044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
21045         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21046         Moved ...
21047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
21049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
21050         conditional [RESET_PID].
21051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
21052         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
21053         removed.
21054         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
21055         removed.
21057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
21058         <tcb-offsets.h>.
21059         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21060         (__libc_vfork): New strong alias.
21061         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
21062         removed.
21063         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
21064         Removed.
21066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
21067         <tcb-offsets.h>.
21068         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
21069         (__libc_vfork): New strong alias.
21070         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
21071         removed.
21072         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
21073         removed.
21075 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
21077         * malloc/malloc.c (mi_arena): New function.
21078         (malloc_info): Remove nested function mi_arena. Call non-nosted
21079         function mi_arena.
21081 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21083         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
21084         by insrwi.
21085         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
21086         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
21087         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
21088         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
21089         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
21090         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
21091         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
21093 2014-05-26  Andreas Schwab  <schwab@suse.de>
21095         [BZ #16984]
21096         * locale/programs/repertoire.c (repertoire_read): Add slash
21097         between I18NPATH element and file name.
21098         * locale/programs/locfile.c (locfile_read): Likewise.
21100 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
21102         * nptl/pthread_mutexattr_settype.c
21103         (__pthread_mutexattr_settype):
21104         Disable lock elision for PTHREAD_MUTEX_NORMAL.
21106 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
21108         * nptl/tst-mutex5 (do_test):
21109         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
21111 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21113         * benchtests/README: Document 'init' directive.
21114         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
21115         BENCH_INIT.
21116         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
21117         (parse_file): Recognize 'init' directive.
21119 2014-05-26  Kyle McMartin  <kyle@redhat.com>
21121         [BZ #16796]
21122         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
21123         alignment of struct pthread.
21125 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21127         [BZ #16878]
21128         * nscd/netgroupcache.c (addgetnetgrentX): Look for
21129         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21130         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
21131         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21133 2014-05-25  Richard Henderson  <rth@twiddle.net>
21135         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21136         (SINGLE_THREAD_P_PIC): Remove.
21137         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
21138         (SINGLE_THREAD_P_PIC): Remove.
21140         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
21141         branch to syscall error ...
21142         (PSEUDO): ... here.
21143         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
21144         from __local_syscall_error to .Lsyscall_error.
21145         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
21146         (SYSCALL_ERROR): Update label name.
21148         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21149         Do not use DOARGS/UNDOARGS.
21150         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
21151         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
21152         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
21153         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
21154         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
21156         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
21157         block comment.
21159         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
21160         define if !NOT_IN_libc.
21161         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
21162         define with non-default symbol versions.
21164 2014-05-23  Richard Henderson  <rth@twiddle.net>
21166         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
21167         (vfork, __vfork): Define via compat_symbol.
21169         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
21170         [!HAVE_IFUNC] (vfork_compat): Remove.
21171         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
21173 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
21175         [BZ #16978]
21176         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
21177         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
21178         variable.
21180 2014-05-23  Richard Henderson  <rth@twiddle.net>
21182         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
21183         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
21184         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
21185         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
21187         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
21188         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
21189         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
21190         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
21191         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
21192         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
21193         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
21194         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
21195         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
21196         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
21197         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
21198         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
21199         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
21200         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
21201         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
21202         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
21203         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
21204         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
21205         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
21206         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
21207         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
21208         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
21209         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
21210         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
21211         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
21212         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
21213         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
21214         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
21215         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
21216         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
21217         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
21218         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
21219         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
21220         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
21221         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
21222         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
21223         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
21224         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
21225         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
21226         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
21227         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
21228         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
21229         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
21230         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
21231         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
21232         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
21233         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
21234         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
21235         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
21236         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
21237         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
21238         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
21239         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
21240         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
21241         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
21242         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
21244         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
21245         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
21246         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
21247         before exiting on error.
21248         (__libc_vfork): New strong alias.
21249         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
21250         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
21252         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
21253         that was previously under [RESET_PID].
21254         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
21256         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
21258 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
21260         [BZ #16977]
21261         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
21262         value when x - 1 is zero.
21263         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
21264         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
21265         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
21266         0.0L for an argument of 1.0L.
21267         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
21268         Likewise.
21269         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
21270         value when x - 1 is zero.
21271         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
21272         * sysdeps/i386/fpu/libm-test-ulps: Update.
21273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21275 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
21277         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
21278         alphasort and versionsort.
21280 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21282         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
21283         macro.
21284         [copysignf]: Likewise.
21286 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21288         * crypt/md5-crypt.c: Fix formatting.
21290 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21292         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
21293         (b64_from_24bit): New function.
21295 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21297         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
21298         libc_hidden_builtin_def to ifunc.
21299         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21300         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
21302 2014-05-21  Roland McGrath  <roland@hack.frob.com>
21304         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
21305         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
21307 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
21309         * nscd/Depend (linuxthreads): Remove.
21310         (nptl): Add.
21311         * resolv/Depend (linuxthreads): Remove.
21312         * rt/Depend (linuxthreads): Remove.
21314         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
21315         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
21316         $(common-objpfx)elf/.
21317         (link-libc-before-gnulib): Likewise.
21318         (elfobjdir): Remove variable.
21319         * Makefile (install): Use $(elf-objpfx) instead of
21320         $(common-objpfx)elf/.
21321         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
21322         $(elfobjdir)/.
21323         (link-libc-deps): Likewise.
21324         ($(common-objpfx)libc.so): Likewise.
21325         ($(common-objpfx)linkobj/libc.so): Likewise.
21326         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
21327         instead of $(common-objpfx)elf/.
21328         (symbolic-link-list): Likewise.
21329         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21330         [$(cross-compiling) = no]: Likewise.
21331         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
21332         $(elfobjdir)/.
21333         (static-gnulib-arch): Likewise.
21334         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21335         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
21336         $(common-objpfx)elf/.
21338 2014-05-21  Richard Henderson  <rth@redhat.com>
21340         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21341         (SINGLE_THREAD_P): Use the correct width load.  Fold
21342         into the ldr offset.
21344         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
21345         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
21347 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
21349         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
21350         (libgcc_s_resume): Use __attribute_used__.
21351         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
21352         Likewise.
21354 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21356         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
21357         optimization when used with float constants.
21359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21361 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
21363         [BZ #16915]
21364         * locale/nl_langinfo_l.c: Make direct reference to every
21365         _nl_current_CATEGORY symbol.
21366         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
21367         (tests-static): Add tst-langinfo-static.
21368         (tests-special): Add tst-langinfo-static.out.
21369         ($(objpfx)tst-langinfo.out): Redirect output.
21370         ($(objpfx)tst-langinfo-static.out): New.
21371         * localedata/tst-langinfo.sh: Send output to stdout.
21372         * localedata/tst-langinfo-static.c: New file.
21374         [BZ #16965]
21375         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
21376         when the shift amount is modulo the limb size.
21378 2014-05-20  Richard Henderson  <rth@redhat.com>
21380         [BZ #16967]
21381         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
21382         Change type of sa_flags from unsigned int to int.
21384         [BZ #16966]
21385         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
21387         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
21389 2014-05-20  Will Newton  <will.newton@linaro.org>
21391         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21392         Test the return value of the system call in the nocancel case.
21394 2014-05-20  Will Newton  <will.newton@linaro.org>
21395             Yvan Roux  <yvan.roux@linaro.org>
21397         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
21398         #include of asm/ptrace.h.
21399         (PTRACE_GET_THREAD_AREA): Remove #undef.
21400         (PTRACE_GETHBPREGS): Likewise.
21401         (PTRACE_SETHBPREGS): Likewise.
21402         (struct user_regs_struct): New structure.
21403         (struct user_fpsimd_struct): New structure.
21404         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
21405         #include of asm/ptrace.h and second #include of sys/user.h.
21406         (PTRACE_GET_THREAD_AREA): Remove #undef.
21407         (PTRACE_GETHBPREGS): Likewise.
21408         (PTRACE_SETHBPREGS): Likewise.
21409         (ELF_NGREG): Use new struct user_regs_struct.
21410         (elf_fpregset_t): Use new struct user_fpsimd_struct.
21412 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21414         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
21415         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
21417 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
21419         [BZ #16958]
21420         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
21421         membar to avoid block loads/stores to overlap previous stores.
21423 2014-05-17  Richard Henderson  <rth@redhat.com>
21425         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
21426         Create the __##syscall_name##_nocancel entry point.
21427         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
21428         Remove; let the sysdep-cancel.h code create it.
21430 2014-05-17  David S. Miller  <davem@davemloft.net>
21432         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
21433         Protect with __USE_GNU.
21434         (TIOCSET_TEMPT): Likewise.
21435         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21436         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
21437         these are already provided in bits/ioctl-types.h
21439 2014-05-16  Roland McGrath  <roland@hack.frob.com>
21441         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
21442         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
21444         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
21445         Use wait4 regardless of [__NR_waitpid].
21447 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
21449         PR libgcc/60166
21450         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21451         (_FP_NANSIGN_Q): Set the quiet bit.
21453 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
21455         * benchtests/Makefile
21456         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
21457         not $(common-objpfx)math/libm.so.
21458         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
21459         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
21460         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
21461         $(common-objpfx)dlfcn/libdl.so.
21462         ($(objpfx)tst-audit8): Depend on $(libm), not
21463         $(common-objpfx)math/libm.so.
21464         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
21465         not $(common-objpfx)dlfcn/libdl.so.
21466         * math/Makefile
21467         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21468         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
21469         [$(build-shared) = yes].
21470         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
21471         $(common-objpfx)nptl/libpthread.so.
21472         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
21473         $(common-objpfx)math/libm.so$(libm.so-version) or
21474         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
21475         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
21476         $(common-objpfx)dlfcn/libdl.so.
21477         * setjmp/Makefile (link-libm): Remove variable.
21478         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
21479         * stdio-common/Makefile (link-libm): Remove variable.
21480         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
21481         * stdlib/Makefile (link-libm): Remove variable.
21482         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
21483         ($(objpfx)tst-strtod-round): Likewise.
21484         ($(objpfx)tst-tininess): Likewise.
21485         ($(objpfx)tst-strtod-underflow): Likewise.
21486         ($(objpfx)tst-strtod6): Likewise.
21487         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
21488         $(libdl), not $(common-objpfx)nptl/libpthread.so and
21489         $(common-objpfx)dlfcn/libdl.so.
21491 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21493         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
21494         BSD terminal modes definitions.
21496 2014-05-16  Roland McGrath  <roland@hack.frob.com>
21498         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
21499         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
21501         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
21502         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
21503         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
21504         Don't do #include_next.
21505         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
21506         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
21507         Don't do #include_next.
21508         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
21509         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
21510         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
21511         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
21513 2014-05-16  Allan McRae  <allan@archlinux.org>
21515         * po/sv.po: Update Swedish translation from translation project.
21517         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
21518         in sed expression.
21520 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
21522         [BZ #16917]
21523         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
21524         errno if the TIOCGPTN ioctl fails with an error different than
21525         EINVAL.
21526         * login/tst-ptsname.c: New file.
21527         * login/Makefile (tests): Add tst-ptsname.
21529         [BZ #16943]
21530         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
21531         and prlimit64.
21533 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21535         [BZ #16849]
21536         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
21537         herrno to return EAI_AGAIN.
21539 2014-05-14  Roland McGrath  <roland@hack.frob.com>
21541         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
21542         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
21543         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
21544         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
21545         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
21546         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
21547         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
21548         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
21549         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
21550         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
21551         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
21552         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
21553         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
21554         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
21555         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
21556         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
21557         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
21558         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
21559         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
21560         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
21561         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
21562         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
21563         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
21564         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
21565         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
21566         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
21567         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
21568         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
21569         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
21570         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
21571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
21572         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
21573         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
21574         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
21575         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21576         Moved ...
21577         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
21578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
21579         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
21580         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
21581         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
21582         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
21583         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
21584         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
21585         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
21586         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
21587         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
21588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
21589         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
21590         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
21591         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
21592         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
21593         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
21594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
21595         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
21596         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
21597         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
21598         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
21599         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
21600         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
21601         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
21602         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
21603         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
21604         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21605         Moved ...
21606         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
21607         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
21608         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
21609         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
21610         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
21611         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
21612         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
21613         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
21614         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
21615         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
21616         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
21617         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
21618         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
21619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
21620         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
21621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
21622         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
21623         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
21624         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
21625         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21626         Moved ...
21627         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
21628         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
21629         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
21631         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
21632         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
21633         (libpthread-sysdep_routines): Add elision-related stuff here instead.
21634         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
21635         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
21636         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
21637         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
21638         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
21639         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
21640         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
21641         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
21642         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
21643         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
21644         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
21645         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
21646         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
21647         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
21648         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
21649         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
21650         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
21651         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
21652         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
21653         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
21654         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
21655         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
21656         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
21657         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
21658         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
21659         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
21660         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
21661         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
21663         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
21664         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
21666         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
21667         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
21668         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
21669         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
21670         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
21671         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
21672         Moved ...
21673         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
21674         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21675         Moved ...
21676         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
21677         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21678         Moved ...
21679         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
21680         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
21681         Moved ...
21682         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
21683         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
21684         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
21685         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21686         Moved ...
21687         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
21688         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
21689         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
21690         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
21691         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
21692         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
21693         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
21694         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21695         Moved ...
21696         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
21697         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21698         Moved ...
21699         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21700         ... here.
21701         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
21702         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
21703         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
21704         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
21705         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21706         Moved ...
21707         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21708         ... here.
21709         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
21710         Moved ...
21711         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
21712         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
21713         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
21714         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
21715         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
21716         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
21717         Moved ...
21718         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
21719         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21720         Moved ...
21721         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
21722         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21723         Moved ...
21724         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
21725         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
21726         Moved ...
21727         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
21728         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
21729         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
21730         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
21731         Moved ...
21732         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
21733         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
21734         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
21735         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
21736         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
21737         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
21738         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
21739         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21740         Moved ...
21741         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
21742         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21743         Moved ...
21744         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21745         ... here.
21746         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
21747         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
21748         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
21749         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
21750         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21751         Moved ...
21752         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21753         ... here.
21754         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
21755         Moved ...
21756         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
21757         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
21758         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
21759         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
21760         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
21761         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
21762         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
21763         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
21764         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
21765         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
21766         Moved ...
21767         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
21768         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21769         Moved ...
21770         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
21771         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21772         Moved ...
21773         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
21774         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
21775         Moved ...
21776         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
21777         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
21778         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
21779         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
21780         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
21781         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21782         Moved ...
21783         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
21784         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
21785         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
21786         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
21787         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
21788         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
21789         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
21790         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21791         Moved ...
21792         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
21793         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21794         Moved ...
21795         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21796         ... here.
21797         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
21798         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
21799         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
21800         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
21801         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21802         Moved ...
21803         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21804         ... here.
21805         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
21806         Moved ...
21807         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
21808         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
21809         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
21810         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
21811         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
21812         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
21813         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
21814         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
21815         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
21816         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
21817         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
21819         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
21820         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
21822         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
21823         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
21825         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
21826         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
21827         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
21828         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
21829         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
21830         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
21831         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
21832         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
21833         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
21834         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
21835         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
21836         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
21837         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
21838         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
21839         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
21840         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
21841         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
21842         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
21843         Moved ...
21844         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
21845         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
21846         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
21847         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
21848         Moved ...
21849         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
21850         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
21851         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
21852         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
21853         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
21854         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
21855         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
21856         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
21857         Moved ...
21858         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
21859         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
21860         Moved ...
21861         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
21862         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
21863         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
21864         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
21865         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
21866         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
21867         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
21868         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
21869         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
21870         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
21871         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
21872         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
21873         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
21874         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
21875         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
21876         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
21877         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
21879         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
21880         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
21881         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
21882         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
21883         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
21885         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
21886         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
21887         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
21888         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
21889         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
21890         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
21891         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
21892         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
21893         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
21894         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
21896         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
21897         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
21899         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
21900         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
21901         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
21902         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
21903         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
21904         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
21905         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
21906         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
21907         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
21908         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
21909         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
21910         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
21911         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
21912         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
21913         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
21914         Update #include.
21915         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
21916         Likewise.
21917         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21918         Likewise.
21919         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21920         Likewise.
21921         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21922         Likewise.
21923         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
21924         Likewise.
21925         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
21926         Likewise.
21927         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
21928         Likewise.
21929         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
21930         Likewise.
21931         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
21932         Likewise.
21933         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
21934         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
21935         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
21936         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
21937         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
21938         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
21939         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
21940         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
21941         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
21942         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
21943         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
21944         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
21945         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
21946         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
21947         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
21949         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
21950         that was previously under [RESET_PID].
21951         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21952         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
21953         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
21955         * sysdeps/i386/nptl/Implies: New file.
21956         * sysdeps/x86_64/nptl/Implies: New file.
21957         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
21958         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
21959         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
21960         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
21962         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
21963         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21964         (__libc_vfork): New strong alias.
21965         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
21966         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
21968         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
21969         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21970         (__libc_vfork): New strong alias.
21971         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
21972         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
21974         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
21975         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21976         (__libc_vfork): New strong alias.
21977         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
21978         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
21979         * nptl/pt-vfork.c: New file.
21980         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
21981         (libpthread: GLIBC_2.20): New version set (empty).
21983 2014-05-14  Will Newton  <will.newton@linaro.org>
21985         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
21986         rather than #if.
21988 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
21990         [BZ #16564]
21991         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
21992         arguments with exponent 65 or above.
21993         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
21994         arguments 0x1p113L or above.
21995         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
21996         to arguments 0x1p107L or above.
21997         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
21998         positive arguments with exponent 65 or above.
21999         * math/auto-libm-test-in: Add more tests of log1p.
22000         * math/auto-libm-test-out: Regenerated.
22002         [BZ #16928]
22003         * math/s_cacos.c (__cacos): Ensure zero real part of result from
22004         non-finite arguments is +0.
22005         * math/s_cacosf.c (__cacosf): Likewise.
22006         * math/s_cacosl.c (__cacosl): Likewise.
22007         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
22008         * sysdeps/i386/fpu/libm-test-ulps: Update.
22009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22011         [BZ #16927]
22012         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
22013         value.
22014         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22015         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
22016         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
22017         for explicit high bit of mantissa when testing for argument equal
22018         to 1.
22019         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
22020         * sysdeps/i386/fpu/libm-test-ulps: Update.
22021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22023         [BZ #16516]
22024         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
22025         (__erf): Scale by 16 instead of 8 in potentially underflowing
22026         case.  Ensure exception if result actually underflows.
22027         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
22028         (__erff): Scale by 16 instead of 8 in potentially underflowing
22029         case.  Ensure exception if result actually underflows.
22030         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
22031         (efx8): Remove variable.
22032         (__erfl): Scale by 16 instead of 8 in potentially underflowing
22033         case.  Ensure exception if result actually underflows.
22034         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
22035         (efx8): Remove variable.
22036         (__erfl): Scale by 16 instead of 8 in potentially underflowing
22037         case.  Ensure exception if result actually underflows.
22038         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
22039         (efx8): Remove variable.
22040         (__erfl): Scale by 16 instead of 8 in potentially underflowing
22041         case.  Ensure exception if result actually underflows.
22042         * math/auto-libm-test-in: Add more tests of erf.
22043         * math/auto-libm-test-out: Regenerated.
22045 2014-05-14  Andreas Schwab  <schwab@suse.de>
22047         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
22048         Remove code conditionalized on USE___THREAD.
22050         * config.h.in (HAVE_PT_CHOWN): Define as 0.
22051         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
22052         not definedness.
22054 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
22056         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
22057         Define unconditionally.
22058         (__ASSUME_O_CLOEXEC): Likewise.
22059         (__ASSUME_SOCK_CLOEXEC): Likewise.
22060         (__ASSUME_IN_NONBLOCK): Likewise.
22061         (__ASSUME_PIPE2): Likewise.
22062         (__ASSUME_EVENTFD2): Likewise.
22063         (__ASSUME_SIGNALFD4): Likewise.
22064         (__ASSUME_DUP3): Likewise.
22065         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22066         (__ASSUME_DUP3): Do not define.
22067         (__ASSUME_EVENTFD2): Likewise.
22068         (__ASSUME_IN_NONBLOCK): Likewise.
22069         (__ASSUME_O_CLOEXEC): Likewise.
22070         (__ASSUME_PIPE2): Likewise.
22071         (__ASSUME_SIGNALFD4): Likewise.
22072         (__ASSUME_SOCK_CLOEXEC): Likewise.
22073         (__ASSUME_UTIMES): Undefine.
22074         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22075         (__ASSUME_UTIMES): Do not define.
22076         (__ASSUME_O_CLOEXEC): Likewise.
22077         (__ASSUME_SOCK_CLOEXEC): Likewise.
22078         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
22079         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
22080         0x020621].
22081         (__ASSUME_PIPE2): Likewise.
22082         (__ASSUME_EVENTFD2): Likewise.
22083         (__ASSUME_SIGNALFD4): Likewise.
22084         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
22085         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
22086         Do not define.
22087         (__ASSUME_EVENTFD2): Likewise.
22088         (__ASSUME_SIGNALFD4): Likewise.
22089         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22090         (__ASSUME_32BITUIDS): Likewise.
22091         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22092         (__ASSUME_IPC64): Likewise.
22093         (__ASSUME_ST_INO_64_BIT): Likewise.
22094         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
22095         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
22096         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22097         (__ASSUME_UTIMES): Do not define.
22098         (__ASSUME_PSELECT): Likewise.
22099         (__ASSUME_PPOLL): Likewise.
22100         (__ASSUME_O_CLOEXEC): Likewise.
22101         (__ASSUME_SOCK_CLOEXEC): Likewise.
22102         (__ASSUME_IN_NONBLOCK): Likewise.
22103         (__ASSUME_PIPE2): Likewise.
22104         (__ASSUME_EVENTFD2): Likewise.
22105         (__ASSUME_SIGNALFD4): Likewise.
22106         (__ASSUME_DUP3): Likewise.
22107         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22108         (__ASSUME_UTIMES): Likewise.
22109         (__ASSUME_O_CLOEXEC): Likewise.
22110         (__ASSUME_SOCK_CLOEXEC): Likewise.
22111         (__ASSUME_IN_NONBLOCK): Likewise.
22112         (__ASSUME_PIPE2): Likewise.
22113         (__ASSUME_EVENTFD2): Likewise.
22114         (__ASSUME_SIGNALFD4): Likewise.
22115         (__ASSUME_DUP3): Likewise.
22116         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22117         (__ASSUME_UTIMES): Likewise.
22118         (__ASSUME_O_CLOEXEC): Likewise.
22119         (__ASSUME_SOCK_CLOEXEC): Likewise.
22120         (__ASSUME_IN_NONBLOCK): Likewise.
22121         (__ASSUME_PIPE2): Likewise.
22122         (__ASSUME_EVENTFD2): Likewise.
22123         (__ASSUME_SIGNALFD4): Likewise.
22124         (__ASSUME_DUP3): Likewise.
22125         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
22126         Likewise.
22127         (__ASSUME_UTIMES): Likewise.
22128         (__ASSUME_EVENTFD2): Likewise.
22129         (__ASSUME_SIGNALFD4): Likewise.
22130         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22131         (__ASSUME_O_CLOEXEC): Likewise.
22132         (__ASSUME_SOCK_CLOEXEC): Likewise.
22133         (__ASSUME_IN_NONBLOCK): Likewise.
22134         (__ASSUME_PIPE2): Likewise.
22135         (__ASSUME_EVENTFD2): Likewise.
22136         (__ASSUME_SIGNALFD4): Likewise.
22137         (__ASSUME_DUP3): Likewise.
22138         (__ASSUME_UTIMES): Undefine.
22140         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
22141         feclearexcept.  Remove symbol versioning code.
22142         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
22143         symbol versioning code.
22144         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
22145         symbol versioning code.
22146         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
22147         feupdateenv.  Remove symbol versioning code.
22148         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
22149         fegetexceptflag.  Remove symbol versioning code.
22150         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
22151         fesetexceptflag.  Remove symbol versioning code.
22152         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
22153         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
22154         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
22155         (__posix_fadvise64_l32): Remove prototype.
22156         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
22157         code.
22159 2014-05-13  Roland McGrath  <roland@hack.frob.com>
22161         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
22162         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
22163         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
22164         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
22166 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
22168         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
22169         current working directory
22171 2014-05-13  Roland McGrath  <roland@hack.frob.com>
22173         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
22174         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
22175         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
22176         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
22177         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
22178         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
22179         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
22180         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
22181         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
22182         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
22183         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
22184         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
22185         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
22186         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
22187         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
22188         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
22189         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
22190         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
22191         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
22192         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
22193         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
22194         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
22195         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
22196         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
22197         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
22198         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
22199         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
22200         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
22201         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
22202         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
22203         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
22204         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
22205         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
22206         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
22207         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
22208         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
22209         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
22210         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
22211         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
22212         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
22213         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
22214         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
22216         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
22217         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
22219         * sysdeps/unix/sysv/linux/arm/Makefile
22220         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22221         Add rt-aeabi_unwind_cpp_pr1.
22222         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
22223         Add nptl-aeabi_unwind_cpp_pr1.
22224         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
22225         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
22226         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
22227         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22228         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
22229         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22231         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
22232         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
22233         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
22234         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
22236         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
22237         Deconditionalize the code that was previously under [RESET_PID].
22238         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
22240         * sysdeps/generic/exit-thread.h: New file.
22241         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
22242         * include/unistd.h (__exit_thread): Remove declaration.
22243         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
22244         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
22245         * csu/libc-start.c: Include <exit-thread.h>.
22246         (LIBC_START_MAIN): Pass no argument to __exit_thread.
22247         * nptl/pthread_create.c: Include <exit-thread.h>.
22248         (start_thread): Call __exit_thread in place of __exit_thread_inline.
22249         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
22250         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
22251         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
22252         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
22253         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
22254         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
22255         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
22256         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
22257         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
22258         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
22259         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
22260         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
22261         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
22262         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
22263         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
22264         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
22266 2014-05-13  Andreas Schwab  <schwab@suse.de>
22268         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
22270 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
22272         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22273         (__ASSUME_UTIMES): Do not condition on kernel version.
22274         (__ASSUME_PSELECT): Define unconditionally.
22275         (__ASSUME_PPOLL): Likewise.
22276         (__ASSUME_ATFCTS): Likewise.
22277         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
22278         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
22279         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
22280         (__ASSUME_UTIMENSAT): Define unconditionally.
22281         (__ASSUME_PRIVATE_FUTEX): Likewise.
22282         (__ASSUME_FALLOCATE): Likewise.
22283         (__ASSUME_O_CLOEXEC): Likewise.
22284         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
22285         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
22286         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
22287         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
22288         (__ASSUME_IN_NONBLOCK): Likewise.
22289         (__ASSUME_PIPE2): Likewise.
22290         (__ASSUME_EVENTFD2): Likewise.
22291         (__ASSUME_SIGNALFD4): Likewise.
22292         (__ASSUME_DUP3): Likewise.
22293         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22294         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
22295         (__ASSUME_AT_RANDOM): Likewise.
22296         (__ASSUME_PREADV): Likewise.
22297         (__ASSUME_PWRITEV): Likewise.
22298         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
22299         (__ASSUME_F_GETOWN_EX): Define unconditionally.
22300         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
22301         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22302         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
22303         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22304         (__ASSUME_O_CLOEXEC): Define unconditionally.
22305         (__ASSUME_PSELECT): Do not undefine conditionally.
22306         (__ASSUME_PPOLL): Likewise.
22307         (__ASSUME_ATFCTS): Likewise.
22308         (__ASSUME_SET_ROBUST_LIST): Likewise.
22309         (__ASSUME_UTIMENSAT): Likewise.
22310         (__ASSUME_FDATASYNC): Define unconditionally.
22311         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22312         (__ASSUME_SIGFRAME_V2): Likewise.
22313         )__ASSUME_EVENTFD2): Likewise.
22314         (__ASSUME_SIGNALFD4): Likewise.
22315         (__ASSUME_PSELECT): Do not undefine conditionally.
22316         (__ASSUME_PPOLL): Likewise.
22317         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22318         (__ASSUME_PSELECT): Define unconditionally.
22319         (__ASSUME_PPOLL): Likewise.
22320         (__ASSUME_O_CLOEXEC): Likewise.
22321         (__ASSUME_SOCK_CLOEXEC): Likewise.
22322         (__ASSUME_IN_NONBLOCK): Likewise.
22323         (__ASSUME_PIPE2): Likewise.
22324         (__ASSUME_EVENTFD2): Likewise.
22325         (__ASSUME_SIGNALFD4): Likewise.
22326         (__ASSUME_DUP3): Likewise.
22327         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22328         (__ASSUME_O_CLOEXEC): Likewise.
22329         (__ASSUME_SOCK_CLOEXEC): Likewise.
22330         (__ASSUME_IN_NONBLOCK): Likewise.
22331         (__ASSUME_PIPE2): Likewise.
22332         (__ASSUME_EVENTFD2): Likewise.
22333         (__ASSUME_SIGNALFD4): Likewise.
22334         (__ASSUME_DUP3): Likewise.
22335         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22336         (__ASSUME_EVENTFD2): Likewise.
22337         (__ASSUME_SIGNALFD4): Likewise.
22338         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22340 2014-05-12  Andreas Schwab  <schwab@suse.de>
22342         [BZ #16932]
22343         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
22344         (_nss_nis_gethostbyname4_r): Return error if item length is larger
22345         than maximum RPC packet size.
22346         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
22347         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
22348         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
22349         (_nss_nis_getservbyport_r): Likewise.
22351 2014-05-12  Will Newton  <will.newton@linaro.org>
22353         * malloc/Makefile (tests): Add tst-mallopt.
22354         * malloc/tst-mallopt.c: New file.
22356 2014-05-09  Roland McGrath  <roland@hack.frob.com>
22358         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
22359         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
22361 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22363         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
22364         (tst-tlsmod6.so): Likewise.
22366 2014-05-09  Roland McGrath  <roland@hack.frob.com>
22368         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
22370 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
22372         [BZ #16064]
22373         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
22374         and <dl-procinfo.h>.
22375         (__fegetenv): Save SSE state in envp->__eip if supported.
22376         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
22377         envp->__eip if supported.
22378         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
22379         and <dl-procinfo.h>.
22380         (__fesetenv): Always set __eip, __cs_selector, __opcode,
22381         __data_offset and __data_selector in environment to 0.  Set SSE
22382         state if supported.
22383         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22384         test-fenv-sse.
22385         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
22386         -mfpmath=sse.
22387         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
22389 2014-05-09  Will Newton  <will.newton@linaro.org>
22391         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
22392         and libc_relro_required for ARM.
22393         * sysdeps/arm/preconfigure: Regenerate.
22395 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
22396             Stefan Liebler  <stli@linux.vnet.ibm.com>
22398         * config.make.in (enable-lock-elision): New Makefile variable.
22399         * configure.ac: Likewise.
22400         * configure: Regenerate.
22401         * sysdeps/s390/configure.ac:
22402         Add check for gcc transactions support.
22403         * sysdeps/s390/configure: Regenerate.
22404         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
22405         Build elision files if enabled.
22406         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
22407         Add lock elision support for s390.
22408         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22409         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
22410         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
22411         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
22412         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
22413         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22414         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
22415         Likewise.
22416         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
22417         Likewise.
22418         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
22419         Likewise.
22420         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
22421         Likewise.
22422         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
22423         (__lll_timedlock_elision, __lll_lock_elision)
22424         (__lll_unlock_elision, __lll_trylock_elision)
22425         (lll_timedlock_elision, lll_lock_elision)
22426         (lll_unlock_elision, lll_trylock_elision): Add.
22427         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22428         (pthread_mutex_t): Add lock elision support for s390.
22430 2014-05-14  Wilco  <wdijkstr@arm.com>
22432         * sysdeps/arm/fclrexcpt.c: Cleanup.
22433         * sysdeps/arm/fedisblxcpt.c: Cleanup.
22434         * sysdeps/arm/feenablxcpt.c: Cleanup.
22435         * sysdeps/arm/fegetenv.c: Cleanup.
22436         * sysdeps/arm/fegetexcept.c: Cleanup.
22437         * sysdeps/arm/fegetround.c: Cleanup.
22438         * sysdeps/arm/feholdexcpt.c: Cleanup.
22439         * sysdeps/arm/fesetenv.c: Cleanup.
22440         * sysdeps/arm/fesetround.c: Cleanup.
22441         * sysdeps/arm/feupdateenv.c: Cleanup.
22442         * sysdeps/arm/fgetexcptflg.c: Cleanup.
22443         * sysdeps/arm/fraiseexcpt.c: Cleanup.
22444         * sysdeps/arm/fsetexcptflg.c: Cleanup.
22445         * sysdeps/arm/ftestexcept.c: Cleanup.
22446         * sysdeps/arm/get-rounding-mode.h: Cleanup.
22447         * sysdeps/arm/setfpucw.c: Cleanup.
22449 2014-05-09  Will Newton  <will.newton@linaro.org>
22451         * sysdeps/arm/armv7/strcmp.S: New file.
22452         * NEWS: Mention addition of ARMv7 optimized strcmp.
22454 2014-05-08  Roland McGrath  <roland@hack.frob.com>
22456         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
22457         look for %.ac rather than %.in.
22459         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
22460         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
22461         * sysdeps/mach/hurd/configure: Regenerated.
22462         * sysdeps/unix/sysv/linux/configure: Regenerated.
22464         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
22466 2014-05-07  Steve Ellcey  <sellcey@mips.com>
22468         [BZ# 16922]
22469         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
22470         (LONG_SUB): Ditto.
22471         (PTR_SUB): Ditto.
22473 2014-05-07  Andreas Schwab  <schwab@suse.de>
22475         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
22476         when skipping over non-matching result from nscd.
22478 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
22480         [BZ #16876]
22481         * nptl/sockperf.c (client): Check socket return value.
22483         [BZ #16877]
22484         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
22485         nscd security class.
22487 2014-05-06  Roland McGrath  <roland@hack.frob.com>
22489         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
22490         * sysdeps/arm/unwind.h: ... here.
22492 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
22494         [BZ# 16916]
22495         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
22496         Define.
22498 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22500         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
22501         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
22502         multiarch strncpy for PPC64.
22503         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
22504         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
22505         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
22506         multiarch optimizations.
22507         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22508         (__libc_ifunc_impl_list): Likewise.
22509         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
22510         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
22511         multiarch stpncpy for PPC64.
22512         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
22513         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
22515 2014-05-06  Andreas Schwab  <schwab@suse.de>
22517         [BZ #16912]
22518         * gmon/mcount.c (_MCOUNT_DECL): Use
22519         atomic_compare_and_exchange_bool_acq instead of
22520         catomic_compare_and_exchange_bool_acq.
22522 2014-05-05  Roland McGrath  <roland@hack.frob.com>
22524         * elf/Makefile (others, install-bin): Remove pldd.
22525         (pldd-modules): Variable removed.
22526         ($(objpfx)pldd): Target removed.
22527         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
22528         (others, install-bin): Append pldd here.
22529         ($(objpfx)pldd): New target.
22531         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
22532         to 0, so the first #if test emitted later doesn't see it undefined.
22533         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
22534         * sysdeps/gnu/errlist.c: Regenerated.
22536 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22538         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
22539         [libc_hidden_builtin_def]: Define to empty value.
22540         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
22541         [libc_hidden_builtin_def]: Likewise.
22542         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
22543         [libc_hidden_builtin_def]: Likewise.
22544         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
22545         [libc_hidden_builtin_def]: Likewise.
22546         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
22547         __redirect_memcpy and define ifunc as default hidden symbol.
22548         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
22549         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
22551 2014-05-04  Adam Conrad  <adconrad@0c3.net>
22553         * locale/iso-4217.def: Reintroduce XDR currency.
22555 2014-05-04  Allan McRae  <allan@archlinux.org>
22557         * po/eo.po: Update Esperanto translation from translation project.
22559 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
22561         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
22562         and FEATURE_INDEX_MAX to 1.
22563         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
22565 2014-05-01  Steve Ellcey  <sellcey@mips.com>
22567         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
22568         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
22569         * iconvdata/big5.c (ONE_DIRECTION): Define.
22570         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
22571         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
22572         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
22573         * iconvdata/cp932.c (ONE_DIRECTION): Define.
22574         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
22575         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
22576         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
22577         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
22578         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
22579         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
22580         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
22581         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
22582         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
22583         * iconvdata/gbk.c (ONE_DIRECTION): Define.
22584         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
22585         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
22586         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
22587         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
22588         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
22589         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
22590         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
22591         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
22592         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
22593         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
22594         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
22595         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
22596         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
22597         * iconvdata/iso646.c (ONE_DIRECTION): Define.
22598         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
22599         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
22600         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
22601         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
22602         * iconvdata/johab.c (ONE_DIRECTION): Define.
22603         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
22604         * iconvdata/sjis.c (ONE_DIRECTION): Define.
22605         * iconvdata/t.61.c (ONE_DIRECTION): Define.
22606         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
22607         * iconvdata/tscii.c (ONE_DIRECTION): Define.
22608         * iconvdata/uhc.c (ONE_DIRECTION): Define.
22609         * iconvdata/unicode.c (ONE_DIRECTION): Define.
22610         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
22611         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
22612         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
22614 2014-05-01  Roland McGrath  <roland@hack.frob.com>
22616         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
22617         (_IO_JUMPS_OFFSET): Define to 0.
22619         * nptl/sysdeps/pthread/bits/libc-lock.h
22620         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22621         (__libc_lock_define_initialized_recursive): Always define using
22622         initializer.  Modern compilers treat uninitialized (implicit zero) and
22623         explicit zero initializers the same (i.e. put the datum in bss).
22625 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22627         * nscd/nscd-client.h: Include <string.h>.
22629 2014-05-01  David S. Miller  <davem@davemloft.net>
22631         [BZ #16885]
22632         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
22633         multiple zero bytes exist at the end of a string.
22634         Reported by Aurelien Jarno <aurelien@aurel32.net>
22636         * string/test-strcmp.c (check): Add explicit test for situations where
22637         there are multiple zero bytes after the first.
22639 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22641         [BZ #16890]
22642         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
22643         when compiling wprintf.
22644         * stdio-common/tstdiomisc.c (t3): New function.
22645         (main): Call it.
22647 2014-05-01  Steve Ellcey  <sellcey@mips.com>
22649         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
22650         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
22651         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
22652         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
22654 2014-05-01  Steve Ellcey  <sellcey@mips.com>
22656         * stdlib/longlong.h: Updated from GCC.
22658 2014-05-01  Will Newton  <will.newton@linaro.org>
22659             Bernard Ogden  <bernie.ogden@linaro.org>
22661         * NEWS: Update fixed bug list.
22663         [BZ #15119]
22664         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
22666 2014-04-30  David S. Miller  <davem@davemloft.net>
22668         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
22669         (libc_feholdexcept_setround_sparc_ctx): New function.
22670         (libc_fesetenv_sparc_ctx): Likewise.
22671         (libc_feupdateenv_sparc_ctx): Likewise.
22672         (libc_feholdsetround_sparc_ctx): Likewise.
22673         (libc_feholdexcept_setround_ctx): Define.
22674         (libc_feholdexcept_setroundf_ctx): Likewise.
22675         (libc_feholdexcept_setroundl_ctx): Likewise.
22676         (libc_fesetenv_ctx): Likewise.
22677         (libc_fesetenvf_ctx): Likewise.
22678         (libc_fesetenvl_ctx): Likewise.
22679         (libc_feupdateenv_ctx): Likewise.
22680         (libc_feupdateenvf_ctx): Likewise.
22681         (libc_feupdateenvl_ctx): Likewise.
22682         (libc_feresetround_ctx): Likewise.
22683         (libc_feresetroundf_ctx): Likewise.
22684         (libc_feresetroundl_ctx): Likewise.
22685         (libc_feholdsetround_ctx): Likewise.
22686         (libc_feholdsetroundf_ctx): Likewise.
22687         (libc_feholdsetroundl_ctx): Likewise.
22689         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22690         with __USE_GNU instead of XOPEN cpp guards.
22692         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
22693         0.
22695         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22696         with XOPEN cpp guards.
22698 2014-04-30  Julian Brown  <julian@codesourcery.com>
22700         [BZ #16888]
22701         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
22702         handling.
22704 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
22706         [BZ #9894]
22707         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22708         Change to 2.6.32.
22709         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
22710         * sysdeps/unix/sysv/linux/configure: Regenerated.
22711         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
22712         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
22713         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
22714         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
22715         * README: Update reference to required Linux kernel version.
22716         * manual/install.texi (Linux): Update reference to required Linux
22717         kernel headers version.
22718         * INSTALL: Regenerated.
22720         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
22721         header inclusion.
22722         [POSIX] (limits.h): Likewise.
22723         [POSIX] (math.h): Likewise.
22724         [POSIX] (sys/wait.h): Likewise.
22725         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
22726         function.
22727         [POSIX] (stddef.h): Do not allow header inclusion.
22729 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22731         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
22733 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
22735         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22736         Return immediately after lll_futex_wake.
22738 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22740         [BZ #16791]
22741         * nscd/nscd-client.h (datahead_init_common): Initialize entire
22742         structure.
22743         (datahead_init_pos): Call datahead_init_common early.
22744         (datahead_init_neg): Likewise.
22746         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
22747         datahead_init_neg): New functions.
22748         * nscd/aicache.c (addhstaiX): Use them.
22749         * nscd/grpcache.c (cache_addgr): Likewise.
22750         * nscd/hstcache.c (cache_addhst): Likewise.
22751         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22752         * nscd/netgroupcache.c (do_notfound): Likewise.
22753         (addgetnetgrentX): Likewise.
22754         (addinnetgrX): Likewise.
22755         * nscd/pwdcache.c (cache_addpw): Likewise.
22756         * nscd/servicescache.c (cache_addserv): Likewise.
22758 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22759             Atsushi Onoe  <atsushi@onoe.org>
22761         [BZ #14308]
22762         [BZ #12994]
22763         [BZ #13651]
22764         * resolv/res_query.c (__libc_res_nsearch): Return if at least
22765         one response is valid.
22766         * resolv/res_send.c (send_dg): Check for validity of other
22767         response if the current response is a referral.
22769 2014-04-29  Steve Ellcey  <sellcey@mips.com>
22771         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
22773 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
22775         [BZ #16823]
22776         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
22777         Always divide by positive zero when computing -Inf result.
22778         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22779         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
22781 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22783         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
22784         FPSCR if value do not change.
22785         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22786         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
22787         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22788         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22789         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
22790         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
22791         function.
22793 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
22795         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
22796         * sysdeps/unix/sysv/linux/hppa: Move directory from
22797         ports/systeps/unix/sysv/linux/hppa.
22798         * README: Update listing for hppa-*-linux-gnu.
22800 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
22802         [BZ #16754]
22803         * manual/stdio.texi (Hook functions): Fix types of stream hook
22804         functions.
22805         [BZ #16854]
22806         * socket/sys/socket.h: Fix typo in comment.
22808 2014-04-28  Wilco  <wdijkstr@arm.com>
22810         * sysdeps/arm/fenv_private.h: New file.
22811         * sysdeps/arm/math_private.h: New file.
22812         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
22814 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
22816         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
22817         with __int128_t.
22818         (La_x86_64_retval): Likewise.
22820 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
22822         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
22823         fpsr if value didn't change.
22824         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
22825         to fpcr if value didn't change.
22826         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
22827         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
22828         fpsr or fpcr if value didn't change.
22829         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22830         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
22831         fpcr if value didn't change.
22832         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
22833         to fpsr if value didn't change.
22835 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22837         * nptl/tst-sem3.c: Use test-skeleton.c
22838         (main): Rename to do_test.  Use return instead of
22839         exit.
22840         * nptl/tst-sem4.c: Use test-skeleton.c
22841         (main): Rename to do_test.
22843 2014-04-22  David S. Miller  <davem@davemloft.net>
22845         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
22846         (struct sigaction): New struct member __glibc_reserved0, change
22847         type of sa_flags to int.
22849 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
22851         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
22852         (COUNT_LEADING_ZEROS_0): Define for AArch64.
22854 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22856         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
22857         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
22859 2014-04-22  Will Newton  <will.newton@linaro.org>
22860             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
22862         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
22863         (__longjmp): Add longjmp and longjmp_target SystemTap
22864         probes.
22865         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
22866         (__sigsetjmp): Add setjmp SystemTap probe.
22868 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
22870         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
22871         match manual order.
22873 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22875         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
22877         * sysdeps/powerpc/fpu/fenv_private.h
22878         (libc_feholdexcept_setroundl_ctx): Define to
22879         libc_feholdexcept_setround_ppc_ctx.
22880         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
22881         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
22882         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
22883         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
22885 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
22887         * sysdeps/aarch64/math-tests.h: New file.
22889 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
22891         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
22892         New.
22893         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22894         Check and set bit_AVX2_Usable.
22895         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
22896         macro.
22897         (bit_AVX2): Likewise.
22898         (index_AVX2_Usable): Likewise.
22899         (CPUID_AVX2): Likewise.
22900         (HAS_AVX2): Likewise.
22902 2014-04-17  Will Newton  <will.newton@linaro.org>
22904         * manual/setjmp.texi (System V contexts): Add note that
22905         calling setcontext on a context created by a call to a
22906         signal handler is undefined.  Update text to note that
22907         setcontext from a signal handler is possible but not
22908         recommended.
22910         [BZ #16629]
22911         * stdlib/tst-setcontext.c: Include signal.h.
22912         (main): Check that the signal stack before and
22913         after swapcontext is the same.
22915         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
22916         Re-implement to restore registers in user code and avoid
22917         rt_sigreturn system call.
22919 2014-04-17  Wilco  <wdijkstr@arm.com>
22921         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
22922         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
22923         * math/test-fenv.c: Skip exception trap tests on targets which only
22924         support non-stop mode.
22926 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
22927             Wilco Dijkstra  <wilco.dijkstra@arm.com>
22929         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
22930         (libc_feholdsetround_aarch64_ctx)
22931         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
22932         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
22933         (libc_feresetround_ctx, libc_feresetroundf_ctx)
22934         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
22935         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
22936         (libc_feresetround_noexl_ctx): Define.
22938 2014-04-16  Richard Henderson  <rth@redhat.com>
22940         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
22942         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
22943         unwind tables.
22945         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
22946         const from the non-libc, non-ldso copy.
22948         * sysdeps/alpha/libm-test-ulps: Regenerate.
22950 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
22951             Wilco Dijkstra  <wilco.dijkstra@arm.com>
22953         * sysdeps/aarch64/fpu/math_private.h: New file.
22955 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22957         * sysdeps/aarch64/libm-test-ulps: Regenerate.
22959 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
22961         [BZ #16275]
22962         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
22963         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
22964         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
22965         Intel MPX bound registers before _dl_profile_fixup.
22966         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
22967         registers after _dl_profile_fixup.  Save and restore bound
22968         registers bnd0/bnd1 when calling _dl_call_pltexit.
22969         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
22970         (LR_BND_OFFSET): Likewise.
22971         (LRV_BND0_OFFSET): Likewise.
22972         (LRV_BND1_OFFSET): Likewise.
22974 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22976         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
22977         to...
22978         * sysdeps/mach/hurd/i386/tls.h: ... here.
22979         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
22980         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
22981         fields.
22983 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22985         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
22987 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22989         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22991 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22993         [BZ #14770]
22994         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
22995         * sysdeps/s390/configure: Regenerate.
22997         [BZ #16824]
22998         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
22999         Set round-to-nearest internally to reduce error accumulation.
23001 2014-04-16  Alan Modra  <amodra@gmail.com>
23003         [BZ #16740]
23004         [BZ #16619]
23005         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
23006         * math/libm-test.inc (frexp_test_data): Add tests.
23007         * NEWS: Update fixed bug list.
23009 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23011         * benchtests/Makefile: Depend on libraries in build directory.
23012         (bench-math): Separate out math tests.
23013         (bench-pthread): Separate out pthread tests.
23014         (bench): Include math and pthread tests.
23016 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
23018         [BZ #16831]
23019         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
23020         _dl_debug_initialize.
23022         * configure.ac: Remove SELinux header check.
23023         * configure: Regenerate.
23024         * nscd/selinux.c (perms): Array of const char* to permission names.
23025         (nscd_request_avc_has_perm): Call security_deny_unknown to find
23026         default policy. Call string_to_security_class and string_to_av_perm to
23027         translate strings. Enforce default policy and call avs_has_perm with
23028         results of translated strings.
23030 2014-04-13  David S. Miller  <davem@davemloft.net>
23032         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23034 2014-04-12  Allan McRae  <allan@archlinux.org>
23036         [BZ #16838]
23037         * manual/string.texi (Collation Functions): Fix qsort argument
23038         order in example.
23039         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23041 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
23043         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
23044         Make the test a no-op if there are no exceptions defined.
23046 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
23048         * elf/Makefile (tests): make tst-dlopen-aout conditional on
23049         enable-hardcoded-path-in-tests
23051 2014-04-11  Will Newton  <will.newton@linaro.org>
23053         * benchtests/Makefile (extra-objs): Add json-lib.o.
23054         (bench-func): Tidy up JSON output.
23055         * benchtests/bench-skeleton.c: Include json-lib.h.
23056         (main): Use JSON library functions to do output of
23057         benchmark results.
23058         * benchtests/bench-timing-type.c (main): Output the
23059         timing type simply, leaving formatting to the user.
23060         * benchtests/json-lib.c: New file.
23061         * benchtests/json-lib.h: Likewise.
23063 2014-04-11  Torvald Riegel  <triegel@redhat.com>
23065         [BZ #15215]
23066         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
23067         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
23068         memory barriers.  Add comments.
23069         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
23070         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
23071         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
23072         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
23073         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
23074         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
23076 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23078         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
23079         * sysdeps/s390/s390-64/configure.ac: ... this ...
23080         * sysdeps/s390/configure.ac: ... to here.
23081         * sysdeps/s390/s390-32/configure: Delete file.
23082         * sysdeps/s390/s390-64/configure: Delete file.
23083         * sysdeps/s390/configure: Regenerate.
23085 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
23087         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
23089 2014-04-11  Will Newton  <will.newton@linaro.org>
23091         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
23092         to zero if it is not defined elsewhere.  (mtrim): Test
23093         the value of MALLOC_DEBUG with #if rather than #ifdef.
23095 2014-04-10 Torvald Riegel  <triegel@redhat.com>
23097         * benchtests/pthread_once-inputs: New file.
23098         * benchtests/pthread_once-source.c: New file.
23099         * benchtests/README: Update documentation.
23101 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
23102             H.J. Lu  <hongjiu.lu@intel.com>
23104         [BZ #16275]
23105         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
23106         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
23107         * sysdeps/x86_64/configure: Regenerated.
23108         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
23109         macro.
23110         (REGISTER_SAVE_RAX): Likewise.
23111         (REGISTER_SAVE_RCX): Likewise.
23112         (REGISTER_SAVE_RDX): Likewise.
23113         (REGISTER_SAVE_RSI): Likewise.
23114         (REGISTER_SAVE_RDI): Likewise.
23115         (REGISTER_SAVE_R8): Likewise.
23116         (REGISTER_SAVE_R9): Likewise.
23117         (REGISTER_SAVE_BND0): Likewise.
23118         (REGISTER_SAVE_BND1): Likewise.
23119         (REGISTER_SAVE_BND2): Likewise.
23120         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
23121         bound registers when calling _dl_fixup.
23123 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23125         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
23126         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
23127         of its definition.
23128         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
23129         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
23130         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
23131         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
23132         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
23133         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
23134         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
23136 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
23138         [BZ #15514]
23139         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
23140         pathconf(_PC_NAME_MAX).
23142 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23144         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
23145         Remove macro usage.
23146         (__PTHREAD_SPINS): Move definition to ...
23147         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23148         (__PTHREAD_SPINS): ... here.
23149         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23150         (__PTHREAD_SPIN): Likewise.
23151         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
23152         (__PTHREAD_SPIN): Likewise.
23153         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
23154         (__PTHREAD_SPIN): Likewise.
23155         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
23156         (__PTHREAD_SPIN): Likewise.
23157         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23158         (__PTHREAD_SPIN): Likewise.
23159         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
23160         (__PTHREAD_SPIN): Likewise.
23161         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
23162         (__PTHREAD_SPIN): Likewise.
23163         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
23164         (__PTHREAD_SPIN): Likewise.
23165         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
23166         (__PTHREAD_SPIN): Likewise.
23167         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
23168         (__PTHREAD_SPIN): Likewise.
23169         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
23170         (__PTHREAD_SPIN): Likewise.
23171         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
23172         (__PTHREAD_SPIN): Likewise.
23174         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
23175         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
23176         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
23177         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
23178         imply folder.
23179         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
23180         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
23181         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
23182         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
23183         correct imply path.
23184         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
23185         strlen symbol for non multi-arch builds.
23186         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
23187         missing hidden_def and weak_alias.
23189 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
23191         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
23193 2014-04-07  Will Newton  <will.newton@linaro.org>
23195         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
23196         and contents.  [!_LIBC] Remove #ifndef and contents.
23197         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
23198         * string/memccpy.c (__memccpy): Use ANSI prototype.
23199         * string/memfrob.c (memfrob): Likewise.
23200         * string/strcoll.c (STRCOLL): Likewise.
23201         * string/strlen.c (strlen): Likewise.
23202         * string/strtok.c (STRTOK): Likewise.
23203         * string/strcat.c: Remove unused #include of memcopy.h.
23204         (strcat): Use ANSI prototype.
23205         * string/strchr.c: Remove unused #include of memcopy.h.
23206         (strchr): Use ANSI prototype.
23207         * string/strcmp.c: Remove unused #include of memcopy.h.
23208         (strcmp): Use ANSI prototype.
23209         * string/strcpy.c: Remove unused #include of memcopy.h.
23210         (strcpy): Use ANSI prototype.
23212 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23214         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
23215         * config.make.in (config-extra-cppflags): Set it from
23216         libc_extra_cppflags.
23217         * configure.ac (libc_extra_cflags): Make it accumulate over
23218         configure fragments.
23219         (libc_extra_cppflags): New flag.
23220         * configure. Regenerate.
23221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23222         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
23223         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
23224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23226         [BZ #16815]
23227         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
23228         result for FE_DOWNWARD rounding mode.
23229         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23230         Likewise.
23231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23233 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
23235         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
23236         in function argument name.
23238 2014-04-03  David Svoboda  <svoboda@cert.org>
23240         [BZ #5666]
23241         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
23242         explicitly.
23244 2014-04-03  Roland McGrath  <roland@hack.frob.com>
23246         * elf/dl-unmap-segments.h: New file.
23247         * sysdeps/generic/ldsodefs.h
23248         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
23249         * elf/dl-close.c: Include <dl-unmap-segments.h>.
23250         * elf/dl-fptr.c: Likewise.
23251         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
23252         * sysdeps/aarch64/tlsdesc.c: Likewise.
23253         * sysdeps/arm/tlsdesc.c: Likewise.
23254         * sysdeps/i386/tlsdesc.c: Likewise.
23255         * sysdeps/tile/dl-runtime.c: Likewise.
23256         * sysdeps/x86_64/tlsdesc.c: Likewise.
23257         * elf/dl-load.h: New file.
23258         * elf/dl-load.c: Include it.
23259         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
23260         Macros moved to dl-load.h.
23261         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
23262         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
23263         Use _dl_unmap_segments in place of __munmap.
23264         Break out segment-mapping loop into ...
23265         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
23267 2014-04-03  Will Newton  <will.newton@linaro.org>
23269         * elf/dl-lookup.c (do_lookup_x): Remove comment
23270         referring to nested function and move variable
23271         declarations down to before first use.
23273 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
23275         [BZ #16799]
23276         [BZ #16800]
23277         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
23278         with 0 numerator.
23279         * math/s_catanf.c (__catanf): Likewise.
23280         * math/s_catanh.c (__catanh): Likewise.
23281         * math/s_catanhf.c (__catanhf): Likewise.
23282         * math/s_catanhl.c (__catanhl): Likewise.
23283         * math/s_catanl.c (__catanl): Likewise.
23284         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
23285         by positive zero when computing -Inf result.
23286         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
23287         (catanh_test): Likewise.
23288         * sysdeps/i386/fpu/libm-test-ulps: Update.
23289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23291         [BZ #16789]
23292         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
23293         instead of using underflowing value in computing result.
23294         * math/s_clog10.c (__clog10): Likewise.
23295         * math/s_clog10f.c (__clog10f): Likewise.
23296         * math/s_clog10l.c (__clog10l): Likewise.
23297         * math/s_clogf.c (__clogf): Likewise.
23298         * math/s_clogl.c (__clogl): Likewise.
23299         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
23300         (clog10_test): Likewise.
23301         * sysdeps/i386/fpu/libm-test-ulps: Update.
23302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23304 2014-04-02  Alan Modra  <amodra@gmail.com>
23306         [BZ #16739]
23307         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
23308         output when value is near a power of two.  Use int64_t for lx and
23309         remove casts.  Use decimal rather than hex exponent constants.
23310         Don't use long double multiplication when double will suffice.
23311         * math/libm-test.inc (nextafter_test_data): Add tests.
23312         * NEWS: Add 16739 and 16786 to bug list.
23314         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
23316         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
23318 2014-04-01  Will Newton  <will.newton@linaro.org>
23320         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
23321         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
23323 2014-04-01  Florian Weimer  <fweimer@redhat.com>
23325         [BZ #13347]
23326         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
23327         * nptl/tst-setuid2.c: New file.
23328         * nptl/Makefile (xtests): Add tst-setuid2.
23330 2014-04-01  Alan Modra  <amodra@gmail.com>
23332         [BZ #16786]
23333         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
23335 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
23337         [BZ #6803]
23338         [BZ #6804]
23339         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
23340         set errno as appropriate.
23341         * math/w_scalbf.c (__scalbf): Likewise.
23342         * math/w_scalbl.c (__scalbl): Likewise.
23343         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
23344         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
23345         * math/libm-test.inc (scalb_test_data): Add errno expectations.
23346         Add more NaN tests.
23348         [BZ #16349]
23349         * math/w_atan2.c: Include <errno.h>.
23350         (__atan2): Set errno for result underflowing to zero.
23351         * math/w_atan2f.c: Include <errno.h>.
23352         (__atan2f): Set errno for result underflowing to zero.
23353         * math/w_atan2l.c: Include <errno.h>.
23354         (__atan2l): Set errno for result underflowing to zero.
23355         * math/auto-libm-test-in: Don't allow missing errno for some atan2
23356         tests.
23357         * math/auto-libm-test-out: Regenerated.
23359 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23361         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23362         Encode instruction correctly in little endian.
23363         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23364         Likewise.
23365         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23366         Likewise.
23367         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23368         Likewise.
23369         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23370         Likewise.
23372 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
23374         [BZ #9894]
23375         * sysdeps/unix/sysv/linux/kernel-features.h
23376         [__sparc__ && !__arch64__ && !__sparc_v9__]
23377         (__ASSUME_SET_ROBUST_LIST): Do not define.
23378         [__sparc__ && !__arch64__ && !__sparc_v9__]
23379         (__ASSUME_FUTEX_LOCK_PI): Likewise.
23380         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
23381         Likewise.
23382         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23383         (__ASSUME_FUTEX_LOCK_PI): Undefine.
23384         (__ASSUME_REQUEUE_PI): Likewise.
23385         (__ASSUME_SET_ROBUST_LIST): Likewise.
23386         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23387         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
23388         Undefine.
23389         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23390         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
23391         Likewise.
23392         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
23393         Likewise.
23394         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
23395         Likewise.
23396         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23397         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
23398         Undefine.
23399         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
23400         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
23401         Likewise.
23403         [BZ #16648]
23404         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23405         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
23406         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
23408 2014-03-31  Will Newton  <will.newton@linaro.org>
23410         * benchtests/Makefile (bench): Add ffs and ffsll to list
23411         of tests.
23412         * benchtests/ffs-inputs: New file.
23413         * benchtests/ffsll-inputs: Likewise.
23415 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
23417         [BZ #16770]
23418         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
23419         too large before casting to int.
23420         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
23421         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
23422         * math/libm-test.inc (scalb_test_data): Add more tests.
23424 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23426         * benchtests/Makefile (DETAILED_OPT): New make option.
23427         (bench-func): Run benchmark program with -d if DETAILED_OPT is
23428         set.
23429         * benchtests/bench-skeleton.c: Include stdbool.h.
23430         (main): Store and print timings per input.
23431         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
23432         member to each argument value.
23433         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
23434         (_print_arg_data): Initialize per-input timing to 0.
23436         * benchtests/Makefile (timing-type): New binary.
23437         (bench-clean): Also remove bench-timing-type.
23438         (bench): New target for timing-type.
23439         (bench-func): Print output in JSON format.
23440         * benchtests/bench-skeleton.c (main): Print output in JSON
23441         format.
23442         * benchtests/bench-timing-type.c: New file.
23443         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
23444         (TIMING_PRINT_STATS): Remove.
23445         * benchtests/scripts/bench.py (_print_arg_data): Store variant
23446         name separately.
23448         * benchtests/bench-modf.c: Remove.
23449         * benchtests/modf-inputs: New inputs file.
23451 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
23453         [BZ #16362]
23454         * math/s_clog10.c (M_PI_LOG10E): New macro.
23455         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
23456         imaginary parts are 0.
23457         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
23458         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
23459         imaginary parts are 0.
23460         * math/s_clog10l.c (M_PI_LOG10El): New macro.
23461         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
23462         imaginary parts are 0.
23463         * math/libm-test.inc (clog10_test_data): Update expected results
23464         for when real and imaginary parts are 0.
23466 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
23468         * elf/dl-load.c: Finish conversion of __builtin_expect into
23469         __glibc_{un}likely.
23471 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
23473         [BZ #16348]
23474         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
23475         1+x for argument with exponent below -67.
23476         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
23477         Likewise.
23478         * math/auto-libm-test-in: Add more tests of exp.
23479         * math/auto-libm-test-out: Regenerated.
23481 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23483         [BZ #16759]
23484         * inet/getnetgrent_r.c (get_nonempty_val): New function.
23485         (nscd_getnetgrent): Use it.
23487         [BZ #16760]
23488         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
23489         of stpcpy.
23491 2014-03-27  Andi Kleen  <ak@linux.intel.com>
23493         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
23494         (lll_robust_lock, lll_cond_lock, lll_timedlock)
23495         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23496         (lll_robust_unlock): Remove out of line section. Use cfi
23497         intrinsics.
23498         (LLL_STUB_UNWIND_INFO*): Remove.
23499         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
23500         (lll_robust_lock, lll_cond_lock, lll_timedlock)
23501         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23502         (lll_robust_unlock): Remove out of line section. Use cfi
23503         intrinsics.
23504         (LLL_STUB_UNWIND_INFO*): Remove.
23506 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23508         [BZ #16758]
23509         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
23510         blank values.
23512 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
23514         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
23516 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
23518         [BZ #16198]
23519         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
23520         fnstenv.
23521         * math/test-fenv-preserve.c: New file.
23522         * math/Makefile (tests): Add test-fenv-preserve.
23524 2014-03-26  Will Newton <will.newton@linaro.org>
23526         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
23528 2014-03-25  Roland McGrath  <roland@hack.frob.com>
23530         * scripts/versionlist.awk: Partition the version sets and emit all
23531         GLIBC_* (sorted) before all others (sorted).
23533 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
23535         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
23536         GLIBC_2.2.5 version.
23538 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23540         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
23541         calls.
23543         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
23544         previous change.
23546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23548 2014-03-25  Andreas Schwab  <schwab@suse.de>
23550         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
23551         label to be used after in6ailist is initialized.
23553 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23555         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23556         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23558 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
23560         [BZ #16357]
23561         [BZ #16599]
23562         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
23563         min_plus_half.
23564         (fp_formats): Update initializers.
23565         (init_fp_formats): Initialize new field.
23566         (output_for_one_input_case): Allow underflow for results up to
23567         min_plus_half.
23568         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
23569         * math/auto-libm-test-in: Don't mark some underflows from asin and
23570         atanh as spurious.
23571         * math/auto-libm-test-out: Regenerated.
23572         * sysdeps/i386/fpu/libm-test-ulps: Update.
23573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23575 2014-03-25  Andreas Schwab  <schwab@suse.de>
23577         * libio/Makefile (tst-ftell-partial-wide-ENV)
23578         (tst-ftell-active-handler-ENV): Define.
23580 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
23582         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
23584 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
23586         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
23588 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
23590         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
23591         * sysdeps/x86_64/fpu/multiarch/e_exp.c
23592         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23594 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
23596         [BZ #16634]
23597         * elf/dl-load.c (open_verify): Add mode parameter.
23598         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
23599         (open_path): Change from boolean 'secure' to complete flag 'mode'
23600         (_dl_map_object): Adjust.
23601         * elf/Makefile (tests): Add tst-dlopen-aout.
23602         * elf/tst-dlopen-aout.c: New test.
23604 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
23606         [BZ #16714]
23607         * sysdeps/unix/sysv/linux/s390/bits/stat.h
23608         (struct stat): Rename member pad0 to __glibc_reserved0.
23610         [BZ #16712]
23611         * sysdeps/s390/s390-32/bits/wordsize.h
23612         (__WORDSIZE32_SIZE_ULONG): New define.
23613         * sysdeps/s390/s390-64/bits/wordsize.h
23614         (__WORDSIZE32_SIZE_ULONG): Likewise.
23615         * sysdeps/generic/stdint.h (SIZE_MAX):
23616         Define as UL if __WORDSIZE32_SIZE_ULONG.
23618         [BZ #16713]
23619         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
23620         (__glibc_reserved0): New variable.
23621         (sa_flags): Change type to int.
23623         * posix/Makefile (before-compile): Use += before-compile instead
23624         of a :=.
23626         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23627         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23629 2014-03-20  Andreas Schwab  <schwab@suse.de>
23631         [BZ #16743]
23632         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
23633         non-matching result from nscd.
23635 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23637         * scripts/bench.py: Moved to ...
23638         * benchtests/scripts/bench.py: ... here.
23639         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
23641 2014-03-24  Andreas Schwab  <schwab@suse.de>
23643         [BZ #16002]
23644         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
23645         alloca_account and account alloca use for struct in6ailist.
23647 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
23649         [BZ #16284]
23650         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
23651         rounding mode to recompute results that overflow to infinity or
23652         underflow to zero.
23653         * math/auto-libm-test-in: Don't mark tests as expected to fail for
23654         bug 16284.
23655         * math/auto-libm-test-out: Regenerated.
23656         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
23657         (ccosh_test): Likewise.
23658         (csin_test_data): Use plus_oflow.
23659         (csin_test): Use ALL_RM_TEST.
23660         (csinh_test_data): Use plus_oflow.
23661         (csinh_test): Use ALL_RM_TEST.
23662         * sysdeps/i386/fpu/libm-test-ulps: Update.
23663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23665 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
23667         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
23668         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
23669         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
23671         [BZ #16731]
23672         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
23673         when x - 1 is zero.
23674         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
23675         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
23676         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
23677         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
23678         argument is 1.
23679         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
23680         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
23681         zero.
23682         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
23683         * sysdeps/i386/fpu/libm-test-ulps: Update.
23684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23686 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23688         * scripts/bench.pl: Remove file.
23689         * scripts/bench.py: New benchmark script.
23690         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
23691         * benchtests/README: Mention python dependency.
23692         * scripts/pylintrc: New file.
23693         * scripts/pylint: New file.
23695         * bits/mathdef.h: Use #ifdef instead of #if.
23696         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
23697         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23698         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
23699         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23700         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
23701         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23703 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23704             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23706         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
23707         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
23708         and strpbrk-ppc64 objects.
23709         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23710         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
23711         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
23712         multiarch strpbrk for POWER7.
23713         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
23714         multiarch strpbrk for PPC64.
23715         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
23716         ifunc selector.
23717         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
23718         strpbrk for POWER7.
23720 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
23722         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
23723         (atan_test): Likewise.
23724         (atanh_test_data): Use NO_TEST_INLINE for two tests.
23725         (atanh_test): Use ALL_RM_TEST.
23726         (atan2_test_data): Likewise.
23727         (cabs_test): Likewise.
23728         (cacosh_test): Likewise.
23729         (carg_test): Likewise.
23730         (casin_test): Likewise.
23731         (casinh_test): Likewise.
23732         (cbrt_test): Likewise.
23733         (csqrt_test): Likewise.
23734         (erf_test): Likewise.
23735         (erfc_test): Likewise.
23736         (pow10_test): Likewise.
23737         (exp2_test): Likewise.
23738         (hypot_test): Likewise.
23739         (j0_test): Likewise.
23740         (j1_test): Likewise.
23741         (lgamma_test): Likewise.
23742         (gamma_test): Likewise.
23743         (sincos_test): Likewise.
23744         (tanh_test): Likewise.
23745         (y0_test): Likewise.
23746         (y1_test): Likewise.
23747         * sysdeps/i386/fpu/libm-test-ulps: Update.
23748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23750 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23752         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
23753         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
23754         and strcspn-ppc64 objects.
23755         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23756         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
23757         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
23758         multiarch strcspn for POWER7.
23759         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
23760         multiarch strcspn for PPC64.
23761         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
23762         ifunc selector.
23763         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
23764         strcspn for POWER7.
23766 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
23768         * math/gen-libm-test.pl (generate_testfile): Expect only function
23769         name as argument to AUTO_TESTS_* and pass results for all rounding
23770         modes to parse_args.
23771         (parse_auto_input): Separate inputs of automatic tests from
23772         outputs before storing in %auto_tests.
23773         * math/libm-test.inc (acos_test_data): Update call to
23774         AUTO_TESTS_f_f.
23775         (acos_test): Use ALL_RM_TEST.
23776         (acos_tonearest_test_data): Remove.
23777         (acos_test_tonearest): Likewise.
23778         (acos_towardzero_test_data): Likewise.
23779         (acos_test_towardzero): Likewise.
23780         (acos_downward_test_data): Likewise.
23781         (acos_test_downward): Likewise.
23782         (acos_upward_test_data): Likewise.
23783         (acos_test_upward): Likewise.
23784         (acosh_test_data): Update call to AUTO_TESTS_f_f.
23785         (asin_test_data): Likewise.
23786         (asin_test): Use ALL_RM_TEST.
23787         (asin_tonearest_test_data): Remove.
23788         (asin_test_tonearest): Likewise.
23789         (asin_towardzero_test_data): Likewise.
23790         (asin_test_towardzero): Likewise.
23791         (asin_downward_test_data): Likewise.
23792         (asin_test_downward): Likewise.
23793         (asin_upward_test_data): Likewise.
23794         (asin_test_upward): Likewise.
23795         (asinh_test_data): Update call to AUTO_TESTS_f_f.
23796         (atan_test_data): Likewise.
23797         (atanh_test_data): Likewise.
23798         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
23799         (cabs_test_data): Update call to AUTO_TESTS_c_f.
23800         (carg_test_data): Likewise.
23801         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
23802         (ccos_test_data): Update call to AUTO_TESTS_c_c.
23803         (ccosh_test_data): Likewise.
23804         (cexp_test_data): Likewise.
23805         (clog_test_data): Likewise.
23806         (clog10_test_data): Likewise.
23807         (cos_test_data): Update call to AUTO_TESTS_f_f.
23808         (cos_test): Use ALL_RM_TEST.
23809         (cos_tonearest_test_data): Remove.
23810         (cos_test_tonearest): Likewise.
23811         (cos_towardzero_test_data): Likewise.
23812         (cos_test_towardzero): Likewise.
23813         (cos_downward_test_data): Likewise.
23814         (cos_test_downward): Likewise.
23815         (cos_upward_test_data): Likewise.
23816         (cos_test_upward): Likewise.
23817         (cosh_test_data): Update call to AUTO_TESTS_f_f.
23818         (cosh_test): Use ALL_RM_TEST.
23819         (cosh_tonearest_test_data): Remove.
23820         (cosh_test_tonearest): Likewise.
23821         (cosh_towardzero_test_data): Likewise.
23822         (cosh_test_towardzero): Likewise.
23823         (cosh_downward_test_data): Likewise.
23824         (cosh_test_downward): Likewise.
23825         (cosh_upward_test_data): Likewise.
23826         (cosh_test_upward): Likewise.
23827         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
23828         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
23829         (ctan_test_data): Likewise.
23830         (ctan_test): Use ALL_RM_TEST.
23831         (ctan_tonearest_test_data): Remove.
23832         (ctan_test_tonearest): Likewise.
23833         (ctan_towardzero_test_data): Likewise.
23834         (ctan_test_towardzero): Likewise.
23835         (ctan_downward_test_data): Likewise.
23836         (ctan_test_downward): Likewise.
23837         (ctan_upward_test_data): Likewise.
23838         (ctan_test_upward): Likewise.
23839         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
23840         (ctanh_test): Use ALL_RM_TEST.
23841         (ctanh_tonearest_test_data): Remove.
23842         (ctanh_test_tonearest): Likewise.
23843         (ctanh_towardzero_test_data): Likewise.
23844         (ctanh_test_towardzero): Likewise.
23845         (ctanh_downward_test_data): Likewise.
23846         (ctanh_test_downward): Likewise.
23847         (ctanh_upward_test_data): Likewise.
23848         (ctanh_test_upward): Likewise.
23849         (erf_test_data): Update call to AUTO_TESTS_f_f.
23850         (erfc_test_data): Likewise.
23851         (exp_test_data): Likewise.
23852         (exp_test): Use ALL_RM_TEST.
23853         (exp_tonearest_test_data): Remove.
23854         (exp_test_tonearest): Likewise.
23855         (exp_towardzero_test_data): Likewise.
23856         (exp_test_towardzero): Likewise.
23857         (exp_downward_test_data): Likewise.
23858         (exp_test_downward): Likewise.
23859         (exp_upward_test_data): Likewise.
23860         (exp_test_upward): Likewise.
23861         (exp10_test_data): Update call to AUTO_TESTS_f_f.
23862         (exp10_test): Use ALL_RM_TEST.
23863         (exp10_tonearest_test_data): Remove.
23864         (exp10_test_tonearest): Likewise.
23865         (exp10_towardzero_test_data): Likewise.
23866         (exp10_test_towardzero): Likewise.
23867         (exp10_downward_test_data): Likewise.
23868         (exp10_test_downward): Likewise.
23869         (exp10_upward_test_data): Likewise.
23870         (exp10_test_upward): Likewise.
23871         (exp2_test_data): Update call to AUTO_TESTS_f_f.
23872         (expm1_test_data): Likewise.
23873         (expm1_test): Use ALL_RM_TEST.
23874         (expm1_tonearest_test_data): Remove.
23875         (expm1_test_tonearest): Likewise.
23876         (expm1_towardzero_test_data): Likewise.
23877         (expm1_test_towardzero): Likewise.
23878         (expm1_downward_test_data): Likewise.
23879         (expm1_test_downward): Likewise.
23880         (expm1_upward_test_data): Likewise.
23881         (expm1_test_upward): Likewise.
23882         (fma_test_data): Update call to AUTO_TESTS_fff_f.
23883         (fma_test): Use ALL_RM_TEST.
23884         (fma_towardzero_test_data): Remove.
23885         (fma_test_towardzero): Likewise.
23886         (fma_downward_test_data): Likewise.
23887         (fma_test_downward): Likewise.
23888         (fma_upward_test_data): Likewise.
23889         (fma_test_upward): Likewise.
23890         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
23891         (j0_test_data): Update call to AUTO_TESTS_f_f.
23892         (j1_test_data): Likewise.
23893         (jn_test_data): Update call to AUTO_TESTS_if_f.
23894         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
23895         (log_test_data): Update call to AUTO_TESTS_f_f.
23896         (log10_test_data): Likewise.
23897         (log1p_test_data): Likewise.
23898         (log2_test_data): Likewise.
23899         (pow_test_data): Update call to AUTO_TESTS_ff_f.
23900         (pow_tonearest_test_data): Likewise.
23901         (sin_test_data): Update call to AUTO_TESTS_f_f.
23902         (sin_test): Use ALL_RM_TEST.
23903         (sin_tonearest_test_data): Remove.
23904         (sin_test_tonearest): Likewise.
23905         (sin_towardzero_test_data): Likewise.
23906         (sin_test_towardzero): Likewise.
23907         (sin_downward_test_data): Likewise.
23908         (sin_test_downward): Likewise.
23909         (sin_upward_test_data): Likewise.
23910         (sin_test_upward): Likewise.
23911         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
23912         (sinh_test_data): Update call to AUTO_TESTS_f_f.
23913         (sinh_test): Use ALL_RM_TEST.
23914         (sinh_tonearest_test_data): Remove.
23915         (sinh_test_tonearest): Likewise.
23916         (sinh_towardzero_test_data): Likewise.
23917         (sinh_test_towardzero): Likewise.
23918         (sinh_downward_test_data): Likewise.
23919         (sinh_test_downward): Likewise.
23920         (sinh_upward_test_data): Likewise.
23921         (sinh_test_upward): Likewise.
23922         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
23923         (sqrt_test): Use ALL_RM_TEST.
23924         (sqrt_tonearest_test_data): Remove.
23925         (sqrt_test_tonearest): Likewise.
23926         (sqrt_towardzero_test_data): Likewise.
23927         (sqrt_test_towardzero): Likewise.
23928         (sqrt_downward_test_data): Likewise.
23929         (sqrt_test_downward): Likewise.
23930         (sqrt_upward_test_data): Likewise.
23931         (sqrt_test_upward): Likewise.
23932         (tan_test_data): Update call to AUTO_TESTS_f_f.
23933         (tan_test): Use ALL_RM_TEST.
23934         (tan_tonearest_test_data): Remove.
23935         (tan_test_tonearest): Likewise.
23936         (tan_towardzero_test_data): Likewise.
23937         (tan_test_towardzero): Likewise.
23938         (tan_downward_test_data): Likewise.
23939         (tan_test_downward): Likewise.
23940         (tan_upward_test_data): Likewise.
23941         (tan_test_upward): Likewise.
23942         (tanh_test_data): Update call to AUTO_TESTS_f_f.
23943         (tgamma_test_data): Likewise.
23944         (y0_test_data): Likewise.
23945         (y1_test_data): Likewise.
23946         (yn_test_data): Update call to AUTO_TESTS_if_f.
23947         (main): Do not call removed functions.
23949 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
23951         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
23952         (ldexp_test_data): Remove.
23953         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
23954         scalbn_test_data.
23955         (scalb_test): Use ALL_RM_TEST.
23957 2014-03-19  Andreas Schwab  <schwab@suse.de>
23959         * nscd/nscd.service: Also invalidate netgroup cache on reload.
23961 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
23963         [BZ #16649]
23964         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23965         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
23966         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
23967         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23968         (__ASSUME_PREADV): Undefine.
23969         (__ASSUME_PWRITEV): Likewise.
23971 2014-03-18  Roland McGrath  <roland@hack.frob.com>
23973         * bits/mman-linux.h: Add comment about non-Linux use.
23974         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
23975         bits/mman-linux.h resting place.
23977         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
23978         * bits/mman-linux.h: ... here.
23980 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23982         * conform/conformtest.pl: Add standard definition when calling C
23983         preprocessor on data files.
23984         (checknamespace): Remove unused variable.
23986 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
23988         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
23989         minus_oflow, plus_uflow and minus_uflow in expected results.
23990         * math/libm-test.inc (scalbn_test_data): Add more tests of
23991         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
23992         minus_uflow.
23993         (scalbn_test): Use ALL_RM_TEST.
23994         (scalbln_test_data): Add more tests of negative arguments.  Use
23995         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
23996         (scalbln_test): Use ALL_RM_TEST.
23998 2014-03-18  Roland McGrath  <roland@hack.frob.com>
24000         * scripts/abilist.awk: Ignore symbols marked with .hidden.
24002 2014-03-18  Will Newton  <will.newton@linaro.org>
24004         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
24005         inaccurate comment.
24007 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
24009         * Makerules [!subdir] (check-abi): Exit with error status if a
24010         test failed.
24012 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
24014         * math/libm-test.inc (nearbyint_test_data): Include all tests used
24015         for rint.  Include results for all rounding modes.
24016         (nearbyint_test): Use ALL_RM_TEST.
24017         (rint_test_data): Include all tests used for nearbyint.
24019 2014-03-17  Will Newton  <will.newton@linaro.org>
24021         * nptl/sysdeps/pthread/pthread.h: Revert previous
24022         change.
24024         * sysdeps/generic/ldsodefs.h: Revert previous
24025         change.
24027         * libio/genops.c: Revert previous change.
24028         * libio/libioP.h: Likewise.
24029         * stdio-common/vfprintf.c: Likewise.
24031         * sysdeps/generic/math_private.h: Revert previous
24032         change.
24034         * sysdeps/generic/math_private.h: Check whether
24035         HAVE_RM_CTX is defined with #ifdef rather
24036         than #if.
24038         * argp/argp-fmtstream.h: Check whether
24039         __STRICT_ANSI__ is defined with #ifdef rather
24040         than #if.
24041         * argp/argp.h: Likewise.
24043         * libio/genops.c: Check whether
24044         _IO_JUMPS_OFFSET is defined with #ifdef rather
24045         than #if.
24046         * libio/libioP.h: Likewise.
24047         * stdio-common/vfprintf.c: Likewise.
24049         * sysdeps/generic/ldsodefs.h: Check whether
24050         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
24051         than #if.
24053         * nptl/sysdeps/pthread/pthread.h: Check
24054         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
24055         its value.
24057 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24059         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
24060         setting O_APPEND.
24061         * libio/tst-ftell-active-handler.c (do_append_test): Add a
24062         test case.
24064         [BZ #16680]
24065         * libio/fileops.c (_IO_file_open): Seek to end of file but
24066         don't cache the offset.
24067         (get_file_offset): Remove function.
24068         (do_ftell): Use cached offset when available.
24069         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
24070         don't cache the offset.
24071         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
24072         case.
24073         (do_one_test): Call it.
24074         (do_ftell_test): Fix up expected old offset for a+ mode.
24075         * libio/wfileops.c (do_ftell_wide): Used cached offset when
24076         available.
24078         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
24079         up test status with function return status.
24080         (do_write_test): Likewise.
24081         (do_append_test): Likewise.
24083         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
24084         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
24085         Remove.
24087 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
24089         * math/gen-libm-test.pl (parse_args): Handle results specified for
24090         each rounding mode separately.
24091         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
24092         tests and results from lrint_tonearest_test_data,
24093         lrint_towardzero_test_data, lrint_downward_test_data and
24094         lrint_upward_test_data.
24095         (lrint_test): Use ALL_RM_TEST.
24096         (lrint_tonearest_test_data): Remove.
24097         (lrint_test_tonearest): Likewise.
24098         (lrint_towardzero_test_data): Likewise.
24099         (lrint_test_towardzero): Likewise.
24100         (lrint_downward_test_data): Likewise.
24101         (lrint_test_downward): Likewise.
24102         (lrint_upward_test_data): Likewise.
24103         (lrint_test_upward): Likewise.
24104         (llrint_test_data): Merge in per-rounding-mode tests and results
24105         from llrint_tonearest_test_data, llrint_towardzero_test_data,
24106         llrint_downward_test_data and llrint_upward_test_data.
24107         (llrint_test): Use ALL_RM_TEST.
24108         (llrint_tonearest_test_data): Remove.
24109         (llrint_test_tonearest): Likewise.
24110         (llrint_towardzero_test_data): Likewise.
24111         (llrint_test_towardzero): Likewise.
24112         (llrint_downward_test_data): Likewise.
24113         (llrint_test_downward): Likewise.
24114         (llrint_upward_test_data): Likewise.
24115         (llrint_test_upward): Likewise.
24116         (rint_test_data): Merge in per-rounding-mode tests and results
24117         from rint_tonearest_test_data, rint_towardzero_test_data,
24118         rint_downward_test_data and rint_upward_test_data.  Add
24119         per-rounding-mode results for tests not in those arrays.
24120         (rint_test): Use ALL_RM_TEST.
24121         (rint_tonearest_test_data): Remove.
24122         (rint_test_tonearest): Likewise.
24123         (rint_towardzero_test_data): Likewise.
24124         (rint_test_towardzero): Likewise.
24125         (rint_downward_test_data): Likewise.
24126         (rint_test_downward): Likewise.
24127         (rint_upward_test_data): Likewise.
24128         (rint_test_upward): Likewise.
24129         (main): Don't call removed functions.
24131 2014-03-14  Roland McGrath  <roland@hack.frob.com>
24133         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
24134         "Compiled on ..." crapola.  It is anti-useful.
24136 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
24138         * scripts/evaluate-test.sh: Handle fourth argument to determine
24139         whether test run should stop on failure.
24140         * Makeconfig (stop-on-test-failure): New variable.
24141         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
24142         $(stop-on-test-failure).
24143         * Makefile (tests): Give a summary of results from testing and
24144         exit with failure status if they include an ERROR or FAIL.
24145         (xtests): Likewise.
24146         * manual/install.texi (Configuring and compiling): Mention
24147         stop-on-test-failure=y.
24148         * INSTALL: Regenerated.
24150 2014-03-14  Roland McGrath  <roland@hack.frob.com>
24152         * scripts/versionlist.awk: New file.
24153         * Makerules [$(build-shared) = yes]
24154         (postclean-generated): Add Versions.def, not Versions.def.v and
24155         Versions.def.v.i.
24156         ($(common-objpfx)Versions.def.v.i): Target removed.
24157         ($(common-objpfx)Versions.def): New target.
24158         ($(common-objpfx)Versions.all): Depend on that rather that
24159         $(common-objpfx)Versions.def.v.
24160         * Versions.def: File removed.
24162         * Makeconfig (+gccwarn): Add -Wundef.
24163         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
24164         a dl-sysdep.h breaking its contract.
24165         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
24166         * include/stackinfo.h: New file.
24167         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
24168         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
24169         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
24170         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
24171         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
24172         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
24173         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24174         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24175         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24176         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24177         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24178         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
24179         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24180         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24181         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24183 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24185         [BZ #16707]
24186         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
24187         implementation.
24188         * math/libm-test.inc (round_test_data): Add more tests.
24190         [BZ #16706]
24191         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
24192         implementation.
24193         * math/libm-test.inc (nearbyint_test_data): Add more tests.
24195         [BZ #16701]
24196         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
24197         implementation.
24198         * math/libm-test.inc (ceil_test_data): Add more tests.
24200         * math/libm-test.inc (trunc_test_data): Add more tests related to
24201         BZ#16414.
24203 2014-03-14  Roland McGrath  <roland@hack.frob.com>
24205         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
24206         with #if rather than #ifdef.
24207         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
24209 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
24211         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
24212         first.  Disable AVX-512 GCC support if assembler doesn't support
24213         it.
24214         * sysdeps/x86_64/configure: Regenerated.
24216 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
24218         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
24219         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
24220         (__old_pthread_attr_setstack): Likewise.
24221         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
24222         [!_STACK_GROWS_DOWN]: Likewise.
24224 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
24226         * config.make.in (have-bash2): Delete.
24227         * configure.ac (libc_cv_have_bash2): Delete.
24228         * configure: Regenerate.
24229         * elf/Makefile (common-ldd-rewrite): Rename to ...
24230         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
24231         (sh-ldd-rewrite): Delete.
24232         (bash-ldd-rewrite): Delete.
24233         (have-bash2): Delete checks.
24234         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
24235         ldd-rewrite.
24237         * config.make.in (have-ksh): Delete.
24238         (KSH): Delete.
24239         * configure.ac (libc_cv_have_ksh): Delete.
24240         * configure: Regenerate.
24242         * elf/Makefile: Delete $(have-ksh) check.
24243         ($(objpfx)sotruss): Change KSH to BASH.
24244         * elf/sotruss.ksh: Rename to ...
24245         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
24246         function style to match POSIX.  Drop ksh vim mode setting.
24248         * manual/time.texi (Specifying the Time Zone with TZ): Change
24249         Tuesday to Thursday.
24251         * debug/tst-longjmp_chk2.c: Update header comment.
24252         (stackoverflow_handler): Add comment.  Call assert on pass value.
24254 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
24256         [BZ #16194]
24257         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
24258         (HAVE_AVX512_ASM_SUPPORT): Likewise.
24259         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
24260         (La_x86_64_vector): Add zmm.
24261         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
24262         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
24263         ($(objpfx)tst-audit10): New target.
24264         ($(objpfx)tst-audit10.out): Likewise.
24265         (tst-audit10-ENV): New.
24266         (AVX512-CFLAGS): Likewise.
24267         (CFLAGS-tst-audit10.c): Likewise.
24268         (CFLAGS-tst-auditmod10a.c): Likewise.
24269         (CFLAGS-tst-auditmod10b.c): Likewise.
24270         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
24271         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
24272         * sysdeps/x86_64/configure: Regenerated.
24273         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
24274         AVX-512 zmm register support.
24275         (_dl_x86_64_save_sse): Likewise.
24276         (_dl_x86_64_restore_sse): Likewise.
24277         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
24278         size vector registers.
24279         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
24280         (ZMM_SIZE): Likewise.
24281         * sysdeps/x86_64/tst-audit10.c: New file.
24282         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
24283         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
24285 2014-03-13  Roland McGrath  <roland@hack.frob.com>
24287         * configure.ac (HAVE_EHDR_START): New check.
24288         * configure: Regenerated.
24289         * config.h.in (HAVE_EHDR_START): New #undef.
24290         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
24291         assuming the lowest-addressed segment maps the start of the file.
24293 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
24295         * INSTALL: Regenerated.
24297 2014-03-13  Will Newton  <will.newton@linaro.org>
24299         * manual/setjmp.texi (System V contexts): Improve
24300         clarity and grammar of documentation.
24302 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
24304         [BZ #16381]
24305         * elf/Makefile (tests): Add tst-pie2.
24306         (tests-pie): Add tst-pie2.
24307         * elf/tst-pie2.c: New file.
24308         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
24309         for ET_EXEC.
24310         * elf/rtld.c (map_doit): Load executable as lt_executable.
24311         (dl_main): Likewise.
24313 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
24315         [BZ #16642]
24316         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24317         (__ASSUME_PSELECT): Undefine.
24319 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24321         [BZ #16689]
24322         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
24323         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
24324         static build.
24325         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
24326         selector for static builds.
24328 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24330         [BZ #16695]
24331         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
24332         key in the buffer.
24334 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24336         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
24337         IFUNC selector for static builds.
24339 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
24341         * sysdeps/mips/math_private.h [__mips_hard_float]
24342         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
24343         libc_feresetround_mips_ctx.
24344         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
24345         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
24346         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
24348         [BZ #16677]
24349         * math/s_nextafter.c (__nextafter): Do not return value from
24350         overflowing computation.
24351         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
24352         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
24353         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
24354         Likewise.
24355         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24356         Likewise.
24357         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
24358         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
24360 2014-03-11  Roland McGrath  <roland@hack.frob.com>
24362         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
24363         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
24364         Move sfi_sp use from the load-multiple (that no longer sets sp) to
24365         the new mov targetting sp.
24367 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24369         [BZ #16683]
24370         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
24371         Define it for static builds as well.
24372         (NO_BZERO_IMPL): Likewise.
24374 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24376         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
24377         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
24378         multiarch strspn for PPC64.
24379         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
24380         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
24381         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24382         (__libc_ifunc_impl_list): Likewise.
24383         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
24384         multiarch optimizations
24385         * string/strspn.c (strspn): Using macro to redefine symbol name.
24387 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24388             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24390         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
24391         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
24392         multiarch strncat for PPC64.
24393         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
24394         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
24395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24396         (__libc_ifunc_impl_list): Likewise.
24397         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
24398         multiarch optimizations
24400 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24402         [BZ #16639]
24403         * nscd/nscd.service: Make service type forking.
24405 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24407         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
24408         sign in non default rounding modes.
24409         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
24411 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
24413         * math/libm-test.inc (ALL_RM_TEST): New macro.
24414         (ceil_test): Use ALL_RM_TEST.
24415         (cimag_test): Likewise.
24416         (conj_test): Likewise.
24417         (copysign_test): Likewise.
24418         (cproj_test): Likewise.
24419         (creal_test): Likewise.
24420         (fabs_test): Likewise.
24421         (floor_test): Likewise.
24422         (fmax_test): Likewise.
24423         (fmin_test): Likewise.
24424         (fmod_test): Likewise.
24425         (fpclassify_test): Likewise.
24426         (frexp_test): Likewise.
24427         (ilogb_test): Likewise.
24428         (isfinite_test): Likewise.
24429         (finite_test): Likewise.
24430         (isgreater_test): Likewise.
24431         (isgreaterequal_test): Likewise.
24432         (isinf_test): Likewise.
24433         (isless_test): Likewise.
24434         (islessequal_test): Likewise.
24435         (islessgreater_test): Likewise.
24436         (isnan_test): Likewise.
24437         (isnormal_test): Likewise.
24438         (issignaling_test): Likewise.
24439         (isunordered_test): Likewise.
24440         (logb_test): Likewise.
24441         (logb_downward_test_data): Remove.
24442         (logb_test_downward): Likewise.
24443         (lround_test): Use ALL_RM_TEST.
24444         (llround_test): Likewise.
24445         (modf_test): Likewise.
24446         (nexttoward_test): Likewise.
24447         (remainder_test): Likewise.
24448         (drem_test): Likewise.
24449         (remainder_tonearest_test_data): Likewise.
24450         (remainder_test_tonearest): Likewise.
24451         (drem_test_tonearest): Likewise.
24452         (remainder_towardzero_test_data): Likewise.
24453         (remainder_test_towardzero): Likewise.
24454         (drem_test_towardzero): Likewise.
24455         (remainder_downward_test_data): Likewise.
24456         (remainder_test_downward): Likewise.
24457         (drem_test_downward): Likewise.
24458         (remainder_upward_test_data): Likewise.
24459         (remainder_test_upward): Likewise.
24460         (drem_test_upward): Likewise.
24461         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
24462         (round_test): Use ALL_RM_TEST.
24463         (signbit_test): Likewise.
24464         (trunc_test): Likewise.
24465         (significand_test): Likewise.
24466         (main): Don't call removed functions.
24468 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
24470         [BZ #16674]
24471         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
24472         || __USE_XOPEN2K8].
24473         (ILL_ILLOPN): Likewise.
24474         (ILL_ILLADR): Likewise.
24475         (ILL_ILLTRP): Likewise.
24476         (ILL_PRVOPC): Likewise.
24477         (ILL_PRVREG): Likewise.
24478         (ILL_COPROC): Likewise.
24479         (ILL_BADSTK): Likewise.
24480         (FPE_INTDIV): Likewise.
24481         (FPE_INTOVF): Likewise.
24482         (FPE_FLTDIV): Likewise.
24483         (FPE_FLTOVF): Likewise.
24484         (FPE_FLTUND): Likewise.
24485         (FPE_FLTRES): Likewise.
24486         (FPE_FLTINV): Likewise.
24487         (FPE_FLTSUB): Likewise.
24488         (SEGV_MAPERR): Likewise.
24489         (SEGV_ACCERR): Likewise.
24490         (BUS_ADRALN): Likewise.
24491         (BUS_ADRERR): Likewise.
24492         (BUS_OBJERR): Likewise.
24493         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24494         (TRAP_TRACE): Likewise.
24495         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24496         __USE_XOPEN2K8].
24497         (CLD_KILLED): Likewise.
24498         (CLD_DUMPED): Likewise.
24499         (CLD_TRAPPED): Likewise.
24500         (CLD_STOPPED): Likewise.
24501         (CLD_CONTINUED): Likewise.
24502         (POLL_IN): Likewise.
24503         (POLL_OUT): Likewise.
24504         (POLL_MSG): Likewise.
24505         (POLL_ERR): Likewise.
24506         (POLL_PRI): Likewise.
24507         (POLL_HUP): Likewise.
24508         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
24509         Likewise.
24510         (ILL_ILLOPN): Likewise.
24511         (ILL_ILLADR): Likewise.
24512         (ILL_ILLTRP): Likewise.
24513         (ILL_PRVOPC): Likewise.
24514         (ILL_PRVREG): Likewise.
24515         (ILL_COPROC): Likewise.
24516         (ILL_BADSTK): Likewise.
24517         (FPE_INTDIV): Likewise.
24518         (FPE_INTOVF): Likewise.
24519         (FPE_FLTDIV): Likewise.
24520         (FPE_FLTOVF): Likewise.
24521         (FPE_FLTUND): Likewise.
24522         (FPE_FLTRES): Likewise.
24523         (FPE_FLTINV): Likewise.
24524         (FPE_FLTSUB): Likewise.
24525         (SEGV_MAPERR): Likewise.
24526         (SEGV_ACCERR): Likewise.
24527         (BUS_ADRALN): Likewise.
24528         (BUS_ADRERR): Likewise.
24529         (BUS_OBJERR): Likewise.
24530         (BUS_MCEERR_AR): Likewise.
24531         (BUS_MCEERR_AO): Likewise.
24532         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24533         (TRAP_TRACE): Likewise.
24534         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24535         __USE_XOPEN2K8].
24536         (CLD_KILLED): Likewise.
24537         (CLD_DUMPED): Likewise.
24538         (CLD_TRAPPED): Likewise.
24539         (CLD_STOPPED): Likewise.
24540         (CLD_CONTINUED): Likewise.
24541         (POLL_IN): Likewise.
24542         (POLL_OUT): Likewise.
24543         (POLL_MSG): Likewise.
24544         (POLL_ERR): Likewise.
24545         (POLL_PRI): Likewise.
24546         (POLL_HUP): Likewise.
24547         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
24548         (ILL_ILLOPN): Likewise.
24549         (ILL_ILLADR): Likewise.
24550         (ILL_ILLTRP): Likewise.
24551         (ILL_PRVOPC): Likewise.
24552         (ILL_PRVREG): Likewise.
24553         (ILL_COPROC): Likewise.
24554         (ILL_BADSTK): Likewise.
24555         (FPE_INTDIV): Likewise.
24556         (FPE_INTOVF): Likewise.
24557         (FPE_FLTDIV): Likewise.
24558         (FPE_FLTOVF): Likewise.
24559         (FPE_FLTUND): Likewise.
24560         (FPE_FLTRES): Likewise.
24561         (FPE_FLTINV): Likewise.
24562         (FPE_FLTSUB): Likewise.
24563         (SEGV_MAPERR): Likewise.
24564         (SEGV_ACCERR): Likewise.
24565         (BUS_ADRALN): Likewise.
24566         (BUS_ADRERR): Likewise.
24567         (BUS_OBJERR): Likewise.
24568         (BUS_MCEERR_AR): Likewise.
24569         (BUS_MCEERR_AO): Likewise.
24570         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24571         (TRAP_TRACE): Likewise.
24572         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24573         __USE_XOPEN2K8].
24574         (CLD_KILLED): Likewise.
24575         (CLD_DUMPED): Likewise.
24576         (CLD_TRAPPED): Likewise.
24577         (CLD_STOPPED): Likewise.
24578         (CLD_CONTINUED): Likewise.
24579         (POLL_IN): Likewise.
24580         (POLL_OUT): Likewise.
24581         (POLL_MSG): Likewise.
24582         (POLL_ERR): Likewise.
24583         (POLL_PRI): Likewise.
24584         (POLL_HUP): Likewise.
24585         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
24586         Likewise.
24587         (ILL_ILLOPN): Likewise.
24588         (ILL_ILLADR): Likewise.
24589         (ILL_ILLTRP): Likewise.
24590         (ILL_PRVOPC): Likewise.
24591         (ILL_PRVREG): Likewise.
24592         (ILL_COPROC): Likewise.
24593         (ILL_BADSTK): Likewise.
24594         (ILL_BADIADDR): Likewise.
24595         (ILL_BREAK): Likewise.
24596         (FPE_INTDIV): Likewise.
24597         (FPE_INTOVF): Likewise.
24598         (FPE_FLTDIV): Likewise.
24599         (FPE_FLTOVF): Likewise.
24600         (FPE_FLTUND): Likewise.
24601         (FPE_FLTRES): Likewise.
24602         (FPE_FLTINV): Likewise.
24603         (FPE_FLTSUB): Likewise.
24604         (FPE_DECOVF): Likewise.
24605         (FPE_DECDIV): Likewise.
24606         (FPE_DECERR): Likewise.
24607         (FPE_INVASC): Likewise.
24608         (FPE_INVDEC): Likewise.
24609         (SEGV_MAPERR): Likewise.
24610         (SEGV_ACCERR): Likewise.
24611         (SEGV_PSTKOVF): Likewise.
24612         (BUS_ADRALN): Likewise.
24613         (BUS_ADRERR): Likewise.
24614         (BUS_OBJERR): Likewise.
24615         (BUS_MCEERR_AR): Likewise.
24616         (BUS_MCEERR_AO): Likewise.
24617         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24618         (TRAP_TRACE): Likewise.
24619         (TRAP_BRANCH): Likewise.
24620         (TRAP_HWBKPT): Likewise.
24621         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24622         __USE_XOPEN2K8].
24623         (CLD_KILLED): Likewise.
24624         (CLD_DUMPED): Likewise.
24625         (CLD_TRAPPED): Likewise.
24626         (CLD_STOPPED): Likewise.
24627         (CLD_CONTINUED): Likewise.
24628         (POLL_IN): Likewise.
24629         (POLL_OUT): Likewise.
24630         (POLL_MSG): Likewise.
24631         (POLL_ERR): Likewise.
24632         (POLL_PRI): Likewise.
24633         (POLL_HUP): Likewise.
24634         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
24635         (ILL_ILLOPN): Likewise.
24636         (ILL_ILLADR): Likewise.
24637         (ILL_ILLTRP): Likewise.
24638         (ILL_PRVOPC): Likewise.
24639         (ILL_PRVREG): Likewise.
24640         (ILL_COPROC): Likewise.
24641         (ILL_BADSTK): Likewise.
24642         (FPE_INTDIV): Likewise.
24643         (FPE_INTOVF): Likewise.
24644         (FPE_FLTDIV): Likewise.
24645         (FPE_FLTOVF): Likewise.
24646         (FPE_FLTUND): Likewise.
24647         (FPE_FLTRES): Likewise.
24648         (FPE_FLTINV): Likewise.
24649         (FPE_FLTSUB): Likewise.
24650         (SEGV_MAPERR): Likewise.
24651         (SEGV_ACCERR): Likewise.
24652         (BUS_ADRALN): Likewise.
24653         (BUS_ADRERR): Likewise.
24654         (BUS_OBJERR): Likewise.
24655         (BUS_MCEERR_AR): Likewise.
24656         (BUS_MCEERR_AO): Likewise.
24657         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24658         (TRAP_TRACE): Likewise.
24659         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24660         __USE_XOPEN2K8].
24661         (CLD_KILLED): Likewise.
24662         (CLD_DUMPED): Likewise.
24663         (CLD_TRAPPED): Likewise.
24664         (CLD_STOPPED): Likewise.
24665         (CLD_CONTINUED): Likewise.
24666         (POLL_IN): Likewise.
24667         (POLL_OUT): Likewise.
24668         (POLL_MSG): Likewise.
24669         (POLL_ERR): Likewise.
24670         (POLL_PRI): Likewise.
24671         (POLL_HUP): Likewise.
24672         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
24673         (ILL_ILLOPN): Likewise.
24674         (ILL_ILLADR): Likewise.
24675         (ILL_ILLTRP): Likewise.
24676         (ILL_PRVOPC): Likewise.
24677         (ILL_PRVREG): Likewise.
24678         (ILL_COPROC): Likewise.
24679         (ILL_BADSTK): Likewise.
24680         (FPE_INTDIV): Likewise.
24681         (FPE_INTOVF): Likewise.
24682         (FPE_FLTDIV): Likewise.
24683         (FPE_FLTOVF): Likewise.
24684         (FPE_FLTUND): Likewise.
24685         (FPE_FLTRES): Likewise.
24686         (FPE_FLTINV): Likewise.
24687         (FPE_FLTSUB): Likewise.
24688         (SEGV_MAPERR): Likewise.
24689         (SEGV_ACCERR): Likewise.
24690         (BUS_ADRALN): Likewise.
24691         (BUS_ADRERR): Likewise.
24692         (BUS_OBJERR): Likewise.
24693         (BUS_MCEERR_AR): Likewise.
24694         (BUS_MCEERR_AO): Likewise.
24695         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24696         (TRAP_TRACE): Likewise.
24697         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24698         __USE_XOPEN2K8].
24699         (CLD_KILLED): Likewise.
24700         (CLD_DUMPED): Likewise.
24701         (CLD_TRAPPED): Likewise.
24702         (CLD_STOPPED): Likewise.
24703         (CLD_CONTINUED): Likewise.
24704         (POLL_IN): Likewise.
24705         (POLL_OUT): Likewise.
24706         (POLL_MSG): Likewise.
24707         (POLL_ERR): Likewise.
24708         (POLL_PRI): Likewise.
24709         (POLL_HUP): Likewise.
24710         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
24711         (ILL_ILLOPN): Likewise.
24712         (ILL_ILLADR): Likewise.
24713         (ILL_ILLTRP): Likewise.
24714         (ILL_PRVOPC): Likewise.
24715         (ILL_PRVREG): Likewise.
24716         (ILL_COPROC): Likewise.
24717         (ILL_BADSTK): Likewise.
24718         (FPE_INTDIV): Likewise.
24719         (FPE_INTOVF): Likewise.
24720         (FPE_FLTDIV): Likewise.
24721         (FPE_FLTOVF): Likewise.
24722         (FPE_FLTUND): Likewise.
24723         (FPE_FLTRES): Likewise.
24724         (FPE_FLTINV): Likewise.
24725         (FPE_FLTSUB): Likewise.
24726         (SEGV_MAPERR): Likewise.
24727         (SEGV_ACCERR): Likewise.
24728         (BUS_ADRALN): Likewise.
24729         (BUS_ADRERR): Likewise.
24730         (BUS_OBJERR): Likewise.
24731         (BUS_MCEERR_AR): Likewise.
24732         (BUS_MCEERR_AO): Likewise.
24733         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24734         (TRAP_TRACE): Likewise.
24735         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24736         __USE_XOPEN2K8].
24737         (CLD_KILLED): Likewise.
24738         (CLD_DUMPED): Likewise.
24739         (CLD_TRAPPED): Likewise.
24740         (CLD_STOPPED): Likewise.
24741         (CLD_CONTINUED): Likewise.
24742         (POLL_IN): Likewise.
24743         (POLL_OUT): Likewise.
24744         (POLL_MSG): Likewise.
24745         (POLL_ERR): Likewise.
24746         (POLL_PRI): Likewise.
24747         (POLL_HUP): Likewise.
24748         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
24749         (ILL_ILLOPN): Likewise.
24750         (ILL_ILLADR): Likewise.
24751         (ILL_ILLTRP): Likewise.
24752         (ILL_PRVOPC): Likewise.
24753         (ILL_PRVREG): Likewise.
24754         (ILL_COPROC): Likewise.
24755         (ILL_BADSTK): Likewise.
24756         (ILL_DBLFLT): Likewise.
24757         (ILL_HARDWALL): Likewise.
24758         (FPE_INTDIV): Likewise.
24759         (FPE_INTOVF): Likewise.
24760         (FPE_FLTDIV): Likewise.
24761         (FPE_FLTOVF): Likewise.
24762         (FPE_FLTUND): Likewise.
24763         (FPE_FLTRES): Likewise.
24764         (FPE_FLTINV): Likewise.
24765         (FPE_FLTSUB): Likewise.
24766         (SEGV_MAPERR): Likewise.
24767         (SEGV_ACCERR): Likewise.
24768         (BUS_ADRALN): Likewise.
24769         (BUS_ADRERR): Likewise.
24770         (BUS_OBJERR): Likewise.
24771         (BUS_MCEERR_AR): Likewise.
24772         (BUS_MCEERR_AO): Likewise.
24773         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24774         (TRAP_TRACE): Likewise.
24775         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24776         __USE_XOPEN2K8].
24777         (CLD_KILLED): Likewise.
24778         (CLD_DUMPED): Likewise.
24779         (CLD_TRAPPED): Likewise.
24780         (CLD_STOPPED): Likewise.
24781         (CLD_CONTINUED): Likewise.
24782         (POLL_IN): Likewise.
24783         (POLL_OUT): Likewise.
24784         (POLL_MSG): Likewise.
24785         (POLL_ERR): Likewise.
24786         (POLL_PRI): Likewise.
24787         (POLL_HUP): Likewise.
24788         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
24789         (ILL_ILLOPN): Likewise.
24790         (ILL_ILLADR): Likewise.
24791         (ILL_ILLTRP): Likewise.
24792         (ILL_PRVOPC): Likewise.
24793         (ILL_PRVREG): Likewise.
24794         (ILL_COPROC): Likewise.
24795         (ILL_BADSTK): Likewise.
24796         (FPE_INTDIV): Likewise.
24797         (FPE_INTOVF): Likewise.
24798         (FPE_FLTDIV): Likewise.
24799         (FPE_FLTOVF): Likewise.
24800         (FPE_FLTUND): Likewise.
24801         (FPE_FLTRES): Likewise.
24802         (FPE_FLTINV): Likewise.
24803         (FPE_FLTSUB): Likewise.
24804         (SEGV_MAPERR): Likewise.
24805         (SEGV_ACCERR): Likewise.
24806         (BUS_ADRALN): Likewise.
24807         (BUS_ADRERR): Likewise.
24808         (BUS_OBJERR): Likewise.
24809         (BUS_MCEERR_AR): Likewise.
24810         (BUS_MCEERR_AO): Likewise.
24811         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24812         (TRAP_TRACE): Likewise.
24813         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24814         __USE_XOPEN2K8].
24815         (CLD_KILLED): Likewise.
24816         (CLD_DUMPED): Likewise.
24817         (CLD_TRAPPED): Likewise.
24818         (CLD_STOPPED): Likewise.
24819         (CLD_CONTINUED): Likewise.
24820         (POLL_IN): Likewise.
24821         (POLL_OUT): Likewise.
24822         (POLL_MSG): Likewise.
24823         (POLL_ERR): Likewise.
24824         (POLL_PRI): Likewise.
24825         (POLL_HUP): Likewise.
24826         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
24827         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24829         [BZ #16670]
24830         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
24831         before #include of <time.h>.
24832         [!__USE_XOPEN2K] (__need_timespec): Likewise.
24833         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
24834         (test-xfail-UNIX98/sched.h/conform): Likewise.
24836 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24838         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
24839         error absence of trapping exception support.
24840         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
24842 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
24844         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
24845         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
24846         * timezone/Makefile (testdata): Move definition above include of
24847         Rules.
24848         (test-zones): New variable.
24849         (tests-special): Add zone files.
24850         (build-testdata): Use $(evaluate-test).
24852         * elf/Makefile (tests-special): Rename tests to end with .out.
24853         ($(objpfx)noload-mem): Likewise.
24854         ($(objpfx)tst-leaks1-mem): Likewise.
24855         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
24856         * iconv/Makefile (xtests-special): Change test-iconvconfig to
24857         $(objpfx)test-iconvconfig.out.
24858         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
24859         set -e inside subshell and redirect output to file.
24860         * iconvdata/Makefile (generated): Rename tests to end with .out.
24861         Correct type.
24862         (tests-special): Rename tests to end with .out.
24863         ($(objpfx)mtrace-tst-loading): Likewise.
24864         * intl/Makefile (generated): Likewise.
24865         (tests-special): Likewise.
24866         ($(objpfx)mtrace-tst-gettext): Likewise.
24867         * misc/Makefile (generated): Likewise.
24868         (tests-special): Likewise.
24869         ($(objpfx)tst-error1-mem): Likewise.
24870         * nptl/Makefile (tests-special): Likewise.
24871         ($(objpfx)tst-stack3-mem): Likewise.
24872         (generated): Likewise.
24873         * posix/Makefile (generated): Likewise.
24874         (tests-special): Likewise.
24875         (xtests-special): Likewise.
24876         ($(objpfx)tst-fnmatch-mem): Likewise.
24877         ($(objpfx)bug-regex2-mem): Likewise.
24878         ($(objpfx)bug-regex14-mem): Likewise.
24879         ($(objpfx)bug-regex21-mem): Likewise.
24880         ($(objpfx)bug-regex31-mem): Likewise.
24881         ($(objpfx)tst-vfork3-mem): Likewise.
24882         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24883         ($(objpfx)tst-pcre-mem): Likewise.
24884         ($(objpfx)tst-boost-mem): Likewise.
24885         ($(objpfx)bug-ga2-mem): Likewise.
24886         ($(objpfx)bug-glob2-mem): Likewise.
24887         * resolv/Makefile (generate): Likewise.
24888         (tests-special): Likewise.
24889         (xtests-special): Likewise.
24890         (generated): Likewise.
24891         ($(objpfx)mtrace-tst-leaks): Likewise.
24892         ($(objpfx)mtrace-tst-leaks2): Likewise.
24894         * scripts/merge-test-results.sh: New file.
24895         * Makefile (tests-special-notdir): New variable.
24896         (tests): Run merge-test-results.sh.
24897         (xtests): Likewise.
24898         * Rules (tests-special-notdir): New variable.
24899         (xtests-special-notdir): Likewise.
24900         (tests): Run merge-test-results.sh
24901         (xtests): Likewise.
24903         * Makeconfig (test-xfail-name): New variable.
24904         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
24905         compute variable name for expected failures.
24906         * conform/Makefile (conformtest-headers-data): New variable.
24907         (conformtest-standards): Likewise.
24908         (conformtest-headers-ISO): Likewise.
24909         (conformtest-headers-ISO99): Likewise.
24910         (conformtest-headers-ISO11): Likewise.
24911         (conformtest-headers-POSIX): Likewise.
24912         (conformtest-headers-XPG3): Likewise.
24913         (conformtest-headers-XPG4): Likewise.
24914         (conformtest-headers-UNIX98): Likewise.
24915         (conformtest-headers-XOPEN2K): Likewise.
24916         (conformtest-headers-POSIX2008): Likewise.
24917         (conformtest-headers-XOPEN2K8): Likewise.
24918         (conformtest-header-list-base): Likewise.
24919         (conformtest-header-list-tests): Likewise.
24920         (conformtest-header-base): Likewise.
24921         (conformtest-header-tests): Likewise.
24922         (tests-special): Add $(conformtest-header-list-tests).  If
24923         [$(fast-check) && !$(cross-compiling)], add
24924         $(conformtest-header-tests) instead of
24925         $(objpfx)run-conformtest.out.
24926         (generated): Add $(conformtest-header-list-base).  If
24927         [$(fast-check) && !$(cross-compiling)], add
24928         $(conformtest-header-base).  Remove previous setting.
24929         ($(conformtest-header-list-tests)): New target.
24930         (test-xfail-run-conformtest): Remove variable.
24931         ($(objpfx)run-conformtest.out): Remove target.
24932         (test-xfail-ISO11/complex.h/conform): New variable.
24933         (test-xfail-ISO11/stdalign.h/conform): Likewise.
24934         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24935         (test-xfail-XPG3/varargs.h/conform): Likewise.
24936         (test-xfail-XPG4/varargs.h/conform): Likewise.
24937         (test-xfail-UNIX98/varargs.h/conform): Likewise.
24938         (test-xfail-XPG4/ndbm.h/conform): Likewise.
24939         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
24940         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
24941         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
24942         (test-xfail-XPG3/fcntl.h/conform): Likewise.
24943         (test-xfail-XPG3/ftw.h/conform): Likewise.
24944         (test-xfail-XPG3/grp.h/conform): Likewise.
24945         (test-xfail-XPG3/langinfo.h/conform): Likewise.
24946         (test-xfail-XPG3/limits.h/conform): Likewise.
24947         (test-xfail-XPG3/pwd.h/conform): Likewise.
24948         (test-xfail-XPG3/search.h/conform): Likewise.
24949         (test-xfail-XPG3/signal.h/conform): Likewise.
24950         (test-xfail-XPG3/stdio.h/conform): Likewise.
24951         (test-xfail-XPG3/stdlib.h/conform): Likewise.
24952         (test-xfail-XPG3/string.h/conform): Likewise.
24953         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
24954         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
24955         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24956         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24957         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
24958         (test-xfail-XPG3/sys/types.h/conform): Likewise.
24959         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
24960         (test-xfail-XPG3/termios.h/conform): Likewise.
24961         (test-xfail-XPG3/time.h/conform): Likewise.
24962         (test-xfail-XPG3/unistd.h/conform): Likewise.
24963         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
24964         (test-xfail-XPG4/fcntl.h/conform): Likewise.
24965         (test-xfail-XPG4/langinfo.h/conform): Likewise.
24966         (test-xfail-XPG4/netdb.h/conform): Likewise.
24967         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
24968         (test-xfail-XPG4/signal.h/conform): Likewise.
24969         (test-xfail-XPG4/stdio.h/conform): Likewise.
24970         (test-xfail-XPG4/stdlib.h/conform): Likewise.
24971         (test-xfail-XPG4/stropts.h/conform): Likewise.
24972         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24973         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24974         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24975         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24976         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24977         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
24978         (test-xfail-XPG4/sys/time.h/conform): Likewise.
24979         (test-xfail-XPG4/sys/types.h/conform): Likewise.
24980         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
24981         (test-xfail-XPG4/termios.h/conform): Likewise.
24982         (test-xfail-XPG4/ucontext.h/conform): Likewise.
24983         (test-xfail-XPG4/unistd.h/conform): Likewise.
24984         (test-xfail-XPG4/utmpx.h/conform): Likewise.
24985         (test-xfail-POSIX/sched.h/conform): Likewise.
24986         (test-xfail-POSIX/signal.h/conform): Likewise.
24987         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24988         (test-xfail-POSIX/tar.h/conform): Likewise.
24989         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
24990         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
24991         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
24992         (test-xfail-UNIX98/netdb.h/conform): Likewise.
24993         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
24994         (test-xfail-UNIX98/sched.h/conform): Likewise.
24995         (test-xfail-UNIX98/signal.h/conform): Likewise.
24996         (test-xfail-UNIX98/stdio.h/conform): Likewise.
24997         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
24998         (test-xfail-UNIX98/stropts.h/conform): Likewise.
24999         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
25000         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
25001         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
25002         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
25003         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
25004         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
25005         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
25006         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
25007         (test-xfail-UNIX98/unistd.h/conform): Likewise.
25008         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
25009         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
25010         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
25011         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
25012         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
25013         (test-xfail-XOPEN2K/math.h/conform): Likewise.
25014         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
25015         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25016         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25017         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
25018         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
25019         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
25020         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
25021         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
25022         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
25023         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
25024         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
25025         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
25026         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
25027         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
25028         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
25029         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25030         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
25031         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
25032         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
25033         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
25034         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
25035         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
25036         (test-xfail-POSIX2008/signal.h/conform): Likewise.
25037         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
25038         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
25039         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
25040         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25041         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
25042         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
25043         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25044         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25045         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25046         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
25047         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
25048         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
25049         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
25050         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
25051         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
25052         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
25053         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
25054         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
25055         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
25056         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
25057         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
25058         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25059         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
25060         (conformtest-cc-flags): Likewise.
25061         ($(conformtest-header-tests): New target.
25062         * conform/check-header-lists.sh: New file.
25063         * conform/run-conformtest.sh: Remove.
25065         * conform/conformtest.pl: Allow ' and \ in values given for
25066         constants.
25067         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
25068         inclusion.
25069         [POSIX] (sys/types.h): Likewise.
25070         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
25071         inclusion.
25072         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
25073         inclusion.
25074         * conform/data/signal.h-data (SIGIO): Remove expectation.
25075         [XPG3] (SIGBUS): Do not expect.
25076         [POSIX || XPG3] (SIGPOLL): Likewise.
25077         [POSIX || XPG3] (SIGPROF): Likewise.
25078         [POSIX || XPG3] (SIGSYS): Likewise.
25079         [XPG3] (SIGTRAP): Likewise.
25080         [POSIX || XPG3] (SIGURG): Likewise.
25081         [POSIX || XPG3] (SIGVTALRM): Likewise.
25082         [POSIX || XPG3] (SIGXCPU): Likewise.
25083         [POSIX || XPG3] (SIGXFSZ): Likewise.
25084         [POSIX] (SA_SIGINFO): Expect.
25085         [XPG3] (siginfo_t): Do not expect type or contents.
25086         [POSIX] (si_pid): Do not expect element.
25087         [POSIX] (si_uid): Likewise.
25088         [POSIX] (si_addr): Likewise.
25089         [POSIX] (si_status): Likewise.
25090         [POSIX] (si_band): Likewise.
25091         [XPG4] (si_value): Likewise.
25092         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
25093         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
25094         [POSIX || XPG3] (ILL_ILLADR): Likewise.
25095         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
25096         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
25097         [POSIX || XPG3] (ILL_PRVREG): Likewise.
25098         [POSIX || XPG3] (ILL_COPROC): Likewise.
25099         [POSIX || XPG3] (ILL_BADSTK): Likewise.
25100         [POSIX || XPG3] (FPE_INTDIV): Likewise.
25101         [POSIX || XPG3] (FPE_INTOVF): Likewise.
25102         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
25103         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
25104         [POSIX || XPG3] (FPE_FLTUND): Likewise.
25105         [POSIX || XPG3] (FPE_FLTRES): Likewise.
25106         [POSIX || XPG3] (FPE_FLTINV): Likewise.
25107         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
25108         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
25109         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
25110         [POSIX || XPG3] (BUS_ADRALN): Likewise.
25111         [POSIX || XPG3] (BUS_ADRERR): Likewise.
25112         [POSIX || XPG3] (BUS_OBJERR): Likewise.
25113         [POSIX || XPG3] (CLD_EXITED): Likewise.
25114         [POSIX || XPG3] (CLD_KILLED): Likewise.
25115         [POSIX || XPG3] (CLD_DUMPED): Likewise.
25116         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
25117         [POSIX || XPG3] (CLD_STOPPED): Likewise.
25118         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
25119         [POSIX || XPG3] (POLL_IN): Likewise.
25120         [POSIX || XPG3] (POLL_OUT): Likewise.
25121         [POSIX || XPG3] (POLL_MSG): Likewise.
25122         [POSIX || XPG3] (POLL_ERR): Likewise.
25123         [POSIX || XPG3] (POLL_PRI): Likewise.
25124         [POSIX || XPG3] (POLL_HUP): Likewise.
25125         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
25126         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
25127         (SIG*): Do not allow.
25128         [XPG3] (si_*): Likewise.
25129         [XPG3] (SI_*): Likewise.
25130         [XPG3 || XPG4] (sigev_*): Likewise.
25131         [XPG3 || XPG4] (SIGEV_*): Likewise.
25132         [XPG3 || XPG4] (sival_*): Likewise.
25133         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
25134         [POSIX || XPG3] (BUS_*): Likewise.
25135         [POSIX || XPG3] (CLD_*): Likewise.
25136         [POSIX || XPG3] (FPE_*): Likewise.
25137         [POSIX || XPG3] (ILL_*): Likewise.
25138         [POSIX || XPG3] (POLL_*): Likewise.
25139         [POSIX || XPG3] (SEGV_*): Likewise.
25140         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
25141         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
25142         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
25143         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
25144         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
25145         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
25146         Specify type and value.
25147         (TVERSLEN): Likewise.
25148         (REGTYPE): Likewise.
25149         (AREGTYPE): Likewise.
25150         (LNKTYPE): Likewise.
25151         (SYMTYPE): Likewise.
25152         (CHRTYPE): Likewise.
25153         (BLKTYPE): Likewise.
25154         (DIRTYPE): Likewise.
25155         (FIFOTYPE): Likewise.
25156         (CONTTYPE): Likewise.
25157         (TSUID): Likewise.
25158         (TSGID): Likewise.
25159         (TSVTX): Likewise.
25160         (TUREAD): Likewise.
25161         (TUWRITE): Likewise.
25162         (TUEXEC): Likewise.
25163         (TGREAD): Likewise.
25164         (TGWRITE): Likewise.
25165         (TGEXEC): Likewise.
25166         (TOREAD): Likewise.
25167         (TOWRITE): Likewise.
25168         (TOEXEC): Likewise.
25169         [POSIX] (TSVTX): Expect constant.
25171 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
25173         * Makefile (tests): Change dependencies to ....
25174         (tests-special): ... additions to this variable.
25175         (tests): Depend on $(tests-special).
25176         * Makerules (check-abi-list): New variable.
25177         (check-abi): Depend on $(check-abi-list).
25178         [$(subdir) = elf] (tests-special): Add
25179         $(objpfx)check-abi-libc.out.
25180         [$(build-shared) = yes && subdir] (tests-special): Add
25181         $(check-abi-list).
25182         [$(build-shared) = yes && subdir] (tests): Do not depend on
25183         check-abi.
25184         * Rules (tests): Depend on $(tests-special).
25185         (xtests): Depend on $(xtests-special).
25186         * catgets/Makefile (tests): Change dependencies to ....
25187         (tests-special): ... additions to this variable.
25188         * conform/Makefile (tests): Change dependencies to ....
25189         (tests-special): ... additions to this variable.
25190         * elf/Makefile (tests): Change dependencies to ....
25191         (tests-special): ... additions to this variable.
25192         * grp/Makefile (tests): Change dependencies to ....
25193         (tests-special): ... additions to this variable.
25194         * iconv/Makefile (xtests): Change dependencies to ....
25195         (xtests-special): ... additions to this variable.
25196         * iconvdata/Makefile (tests): Change dependencies to ....
25197         (tests-special): ... additions to this variable.
25198         * intl/Makefile (tests): Change dependencies to ....
25199         (tests-special): ... additions to this variable.  Also add
25200         $(objpfx)tst-gettext.out.
25201         * io/Makefile (tests): Change dependencies to ....
25202         (tests-special): ... additions to this variable.
25203         * libio/Makefile (tests): Change dependencies to ....
25204         (tests-special): ... additions to this variable.
25205         * malloc/Makefile (tests): Change dependencies to ....
25206         (tests-special): ... additions to this variable.
25207         * misc/Makefile (tests): Change dependencies to ....
25208         (tests-special): ... additions to this variable.
25209         * nptl/Makefile (tests): Change dependencies to ....
25210         (tests-special): ... additions to this variable.
25211         * nptl_db/Makefile (tests): Change dependencies to ....
25212         (tests-special): ... additions to this variable.
25213         * posix/Makefile (tests): Change dependencies to ....
25214         (tests-special): ... additions to this variable.
25215         (xtests): Change dependencies to ....
25216         (xtests-special): ... additions to this variable.
25217         * resolv/Makefile (tests): Change dependencies to ....
25218         (tests-special): ... additions to this variable.
25219         (xtests): Change dependencies to ....
25220         (xtests-special): ... additions to this variable.
25221         * stdio-common/Makefile (tests): Change dependencies to ....
25222         (tests-special): ... additions to this variable.
25223         (do-tst-unbputc): Remove target.
25224         (do-tst-printf): Likewise.
25225         * stdlib/Makefile (tests): Change dependencies to ....
25226         (tests-special): ... additions to this variable.
25227         * string/Makefile (tests): Change dependencies to ....
25228         (tests-special): ... additions to this variable.
25229         * sysdeps/x86/Makefile (tests): Change dependencies to ....
25230         (tests-special): ... additions to this variable.
25232         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
25233         whole file.
25234         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
25235         whole file.
25236         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
25237         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
25239         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
25240         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
25241         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
25242         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
25243         * conform/data/libgen.h-data [XPG3]: Likewise.
25244         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
25245         * conform/data/ndbm.h-data [XPG3]: Likewise.
25246         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25247         * conform/data/netdb.h-data [XPG3]: Likewise.
25248         * conform/data/netinet/in.h-data [XPG3]: Likewise.
25249         * conform/data/poll.h-data [XPG3]: Likewise.
25250         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25251         * conform/data/strings.h-data [XPG3]: Likewise.
25252         * conform/data/stropts.h-data [XPG3]: Likewise.
25253         * conform/data/sys/mman.h-data [XPG3]: Likewise.
25254         * conform/data/sys/resource.h-data [XPG3]: Likewise.
25255         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
25256         Likewise.
25257         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
25258         * conform/data/sys/time.h-data [XPG3]: Likewise.
25259         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
25260         * conform/data/sys/uio.h-data [XPG3]: Likewise.
25261         * conform/data/sys/un.h-data [XPG3]: Likewise.
25262         * conform/data/syslog.h-data [XPG3]: Likewise.
25263         * conform/data/ucontext.h-data [XPG3]: Likewise.
25264         * conform/data/utmpx.h-data [XPG3]: Likewise.
25265         * conform/data/varargs.h-data [UNIX98]: Enable file.
25267         * manual/Makefile (INSTALL_INFO): Remove variable setting.
25269         * math/libm-test.inc (struct test_f_f_data): Move expected results
25270         into structure for each rounding mode.
25271         (struct test_ff_f_data): Likewise.
25272         (struct test_ff_f_data_nexttoward): Likewise.
25273         (struct test_fi_f_data): Likewise.
25274         (struct test_fl_f_data): Likewise.
25275         (struct test_if_f_data): Likewise.
25276         (struct test_fff_f_data): Likewise.
25277         (struct test_c_f_data): Likewise.
25278         (struct test_f_f1_data): Likewise.
25279         (struct test_fF_f1_data): Likewise.
25280         (struct test_ffI_f1_data): Likewise.
25281         (struct test_c_c_data): Likewise.
25282         (struct test_cc_c_data): Likewise.
25283         (struct test_f_i_data): Likewise.
25284         (struct test_ff_i_data): Likewise.
25285         (struct test_f_l_data): Likewise.
25286         (struct test_f_L_data): Likewise.
25287         (struct test_fFF_11_data): Likewise.
25288         (RM_): New macro.
25289         (RM_FE_DOWNWARD): Likewise.
25290         (RM_FE_TONEAREST): Likewise.
25291         (RM_FE_TOWARDZERO): Likewise.
25292         (RM_FE_UPWARD): Likewise.
25293         (RUN_TEST_LOOP_f_f): Update references to expected results.
25294         (RUN_TEST_LOOP_2_f): Likewise.
25295         (RUN_TEST_LOOP_fff_f): Likewise.
25296         (RUN_TEST_LOOP_c_f): Likewise.
25297         (RUN_TEST_LOOP_f_f1): Likewise.
25298         (RUN_TEST_LOOP_fF_f1): Likewise.
25299         (RUN_TEST_LOOP_fI_f1): Likewise.
25300         (RUN_TEST_LOOP_ffI_f1): Likewise.
25301         (RUN_TEST_LOOP_c_c): Likewise.
25302         (RUN_TEST_LOOP_cc_c): Likewise.
25303         (RUN_TEST_LOOP_f_i): Likewise.
25304         (RUN_TEST_LOOP_f_i_tg): Likewise.
25305         (RUN_TEST_LOOP_ff_i_tg): Likewise.
25306         (RUN_TEST_LOOP_f_b): Likewise.
25307         (RUN_TEST_LOOP_f_b_tg): Likewise.
25308         (RUN_TEST_LOOP_f_l): Likewise.
25309         (RUN_TEST_LOOP_f_L): Likewise.
25310         (RUN_TEST_LOOP_fFF_11): Likewise.
25311         * math/gen-libm-test.pl (parse_args): Output four copies of
25312         expected results for each test.
25314         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25315         (__ASSUME_UTIMES): Remove.
25316         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25317         (__ASSUME_UTIMES): Likewise.
25319         * math/gen-auto-libm-tests.c: Update comment on output format.
25320         (output_for_one_input_case): Generate before-rounding and
25321         after-rounding information as conditions on output flags not
25322         floating-point format.
25323         * math/auto-libm-test-out: Regenerated.
25324         * math/gen-libm-test.pl (cond_value): New function.
25325         (or_cond_value): Use cond_value.
25326         (generate_testfile): Handle conditional exceptions.
25328 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
25330         * math/libm-test.inc (max_valid_error): New variable.
25331         (init_max_error): Take new argument specifying whether function
25332         results are exactly determined.  Set max_valid_error and bound
25333         other variables for errors based on this argument.
25334         (set_max_error): Do not record results above max_valid_error.
25335         (check_float_internal): Only accept errors of up to 0.5ulps if
25336         also at most max_valid_error.
25337         (START): Take new argument EXACT and pass it to init_max_error.
25338         (acos_test): Update call to START.
25339         (acos_test_tonearest): Likewise.
25340         (acos_test_towardzero): Likewise.
25341         (acos_test_downward): Likewise.
25342         (acos_test_upward): Likewise.
25343         (acosh_test): Likewise.
25344         (asin_test): Likewise.
25345         (asin_test_tonearest): Likewise.
25346         (asin_test_towardzero): Likewise.
25347         (asin_test_downward): Likewise.
25348         (asin_test_upward): Likewise.
25349         (asinh_test): Likewise.
25350         (atan_test): Likewise.
25351         (atanh_test): Likewise.
25352         (atan2_test): Likewise.
25353         (cabs_test): Likewise.
25354         (cacos_test): Likewise.
25355         (cacosh_test): Likewise.
25356         (carg_test): Likewise.
25357         (casin_test): Likewise.
25358         (casinh_test): Likewise.
25359         (catan_test): Likewise.
25360         (catanh_test): Likewise.
25361         (cbrt_test): Likewise.
25362         (ccos_test): Likewise.
25363         (ccosh_test): Likewise.
25364         (ceil_test): Likewise.
25365         (cexp_test): Likewise.
25366         (cimag_test): Likewise.
25367         (clog_test): Likewise.
25368         (clog10_test): Likewise.
25369         (conj_test): Likewise.
25370         (copysign_test): Likewise.
25371         (cos_test): Likewise.
25372         (cos_test_tonearest): Likewise.
25373         (cos_test_towardzero): Likewise.
25374         (cos_test_downward): Likewise.
25375         (cos_test_upward): Likewise.
25376         (cosh_test): Likewise.
25377         (cosh_test_tonearest): Likewise.
25378         (cosh_test_towardzero): Likewise.
25379         (cosh_test_downward): Likewise.
25380         (cosh_test_upward): Likewise.
25381         (cpow_test): Likewise.
25382         (cproj_test): Likewise.
25383         (creal_test): Likewise.
25384         (csin_test): Likewise.
25385         (csinh_test): Likewise.
25386         (csqrt_test): Likewise.
25387         (ctan_test): Likewise.
25388         (ctan_test_tonearest): Likewise.
25389         (ctan_test_towardzero): Likewise.
25390         (ctan_test_downward): Likewise.
25391         (ctan_test_upward): Likewise.
25392         (ctanh_test): Likewise.
25393         (ctanh_test_tonearest): Likewise.
25394         (ctanh_test_towardzero): Likewise.
25395         (ctanh_test_downward): Likewise.
25396         (ctanh_test_upward): Likewise.
25397         (erf_test): Likewise.
25398         (erfc_test): Likewise.
25399         (exp_test): Likewise.
25400         (exp_test_tonearest): Likewise.
25401         (exp_test_towardzero): Likewise.
25402         (exp_test_downward): Likewise.
25403         (exp_test_upward): Likewise.
25404         (exp10_test): Likewise.
25405         (exp10_test_tonearest): Likewise.
25406         (exp10_test_towardzero): Likewise.
25407         (exp10_test_downward): Likewise.
25408         (exp10_test_upward): Likewise.
25409         (pow10_test): Likewise.
25410         (exp2_test): Likewise.
25411         (expm1_test): Likewise.
25412         (expm1_test_tonearest): Likewise.
25413         (expm1_test_towardzero): Likewise.
25414         (expm1_test_downward): Likewise.
25415         (expm1_test_upward): Likewise.
25416         (fabs_test): Likewise.
25417         (fdim_test): Likewise.
25418         (floor_test): Likewise.
25419         (fma_test): Likewise.
25420         (fma_test_towardzero): Likewise.
25421         (fma_test_downward): Likewise.
25422         (fma_test_upward): Likewise.
25423         (fmax_test): Likewise.
25424         (fmin_test): Likewise.
25425         (fmod_test): Likewise.
25426         (fpclassify_test): Likewise.
25427         (frexp_test): Likewise.
25428         (hypot_test): Likewise.
25429         (ilogb_test): Likewise.
25430         (isfinite_test): Likewise.
25431         (finite_test): Likewise.
25432         (isgreater_test): Likewise.
25433         (isgreaterequal_test): Likewise.
25434         (isinf_test): Likewise.
25435         (isless_test): Likewise.
25436         (islessequal_test): Likewise.
25437         (islessgreater_test): Likewise.
25438         (isnan_test): Likewise.
25439         (isnormal_test): Likewise.
25440         (issignaling_test): Likewise.
25441         (isunordered_test): Likewise.
25442         (j0_test): Likewise.
25443         (j1_test): Likewise.
25444         (jn_test): Likewise.
25445         (ldexp_test): Likewise.
25446         (lgamma_test): Likewise.
25447         (gamma_test): Likewise.
25448         (lrint_test): Likewise.
25449         (lrint_test_tonearest): Likewise.
25450         (lrint_test_towardzero): Likewise.
25451         (lrint_test_downward): Likewise.
25452         (lrint_test_upward): Likewise.
25453         (llrint_test): Likewise.
25454         (llrint_test_tonearest): Likewise.
25455         (llrint_test_towardzero): Likewise.
25456         (llrint_test_downward): Likewise.
25457         (llrint_test_upward): Likewise.
25458         (log_test): Likewise.
25459         (log10_test): Likewise.
25460         (log1p_test): Likewise.
25461         (log2_test): Likewise.
25462         (logb_test): Likewise.
25463         (logb_test_downward): Likewise.
25464         (lround_test): Likewise.
25465         (llround_test): Likewise.
25466         (modf_test): Likewise.
25467         (nearbyint_test): Likewise.
25468         (nextafter_test): Likewise.
25469         (nexttoward_test): Likewise.
25470         (pow_test): Likewise.
25471         (pow_test_tonearest): Likewise.
25472         (pow_test_towardzero): Likewise.
25473         (pow_test_downward): Likewise.
25474         (pow_test_upward): Likewise.
25475         (remainder_test): Likewise.
25476         (drem_test): Likewise.
25477         (remainder_test_tonearest): Likewise.
25478         (drem_test_tonearest): Likewise.
25479         (remainder_test_towardzero): Likewise.
25480         (drem_test_towardzero): Likewise.
25481         (remainder_test_downward): Likewise.
25482         (drem_test_downward): Likewise.
25483         (remainder_test_upward): Likewise.
25484         (drem_test_upward): Likewise.
25485         (remquo_test): Likewise.
25486         (rint_test): Likewise.
25487         (rint_test_tonearest): Likewise.
25488         (rint_test_towardzero): Likewise.
25489         (rint_test_downward): Likewise.
25490         (rint_test_upward): Likewise.
25491         (round_test): Likewise.
25492         (scalb_test): Likewise.
25493         (scalbn_test): Likewise.
25494         (scalbln_test): Likewise.
25495         (signbit_test): Likewise.
25496         (sin_test): Likewise.
25497         (sin_test_tonearest): Likewise.
25498         (sin_test_towardzero): Likewise.
25499         (sin_test_downward): Likewise.
25500         (sin_test_upward): Likewise.
25501         (sincos_test): Likewise.
25502         (sinh_test): Likewise.
25503         (sinh_test_tonearest): Likewise.
25504         (sinh_test_towardzero): Likewise.
25505         (sinh_test_downward): Likewise.
25506         (sinh_test_upward): Likewise.
25507         (sqrt_test): Likewise.
25508         (sqrt_test_tonearest): Likewise.
25509         (sqrt_test_towardzero): Likewise.
25510         (sqrt_test_downward): Likewise.
25511         (sqrt_test_upward): Likewise.
25512         (tan_test): Likewise.
25513         (tan_test_tonearest): Likewise.
25514         (tan_test_towardzero): Likewise.
25515         (tan_test_downward): Likewise.
25516         (tan_test_upward): Likewise.
25517         (tanh_test): Likewise.
25518         (tgamma_test): Likewise.
25519         (trunc_test): Likewise.
25520         (y0_test): Likewise.
25521         (y1_test): Likewise.
25522         (yn_test): Likewise.
25523         (significand_test): Likewise.
25525         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
25526         individual tests in comment.
25527         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
25528         (prev_max_error): New variable.
25529         (prev_real_max_error): Likewise.
25530         (prev_imag_max_error): Likewise.
25531         (compare_ulp_data): Don't refer to test names in comment.
25532         (find_test_ulps): Remove function.
25533         (find_function_ulps): Likewise.
25534         (find_complex_function_ulps): Likewise.
25535         (init_max_error): Take function name as argument.  Look up ulps
25536         for that function.
25537         (print_ulps): Remove function.
25538         (print_max_error): Use prev_max_error instead of calling
25539         find_function_ulps.
25540         (print_complex_max_error): Use prev_real_max_error and
25541         prev_imag_max_error instead of calling find_complex_function_ulps.
25542         (check_float_internal): Take max_ulp parameter instead of calling
25543         find_test_ulps.  Don't call print_ulps.
25544         (check_float): Update call to check_float_internal.
25545         (check_complex): Update calls to check_float_internal.
25546         (START): Pass argument to init_max_error.
25547         * math/gen-libm-test.pl (%results): Don't include "kind"
25548         information.
25549         (parse_ulps): Don't handle ulps of individual tests.
25550         (print_ulps_file): Likewise.
25551         (output_ulps): Likewise.
25552         * math/README.libm-test: Update.
25553         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
25554         individual tests.
25555         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
25556         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
25557         * sysdeps/arm/libm-test-ulps: Likewise.
25558         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25559         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
25560         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
25561         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
25562         * sysdeps/microblaze/libm-test-ulps: Likewise.
25563         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25564         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25565         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25566         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
25567         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25568         * sysdeps/sh/libm-test-ulps: Likewise.
25569         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25570         * sysdeps/tile/libm-test-ulps: Likewise.
25571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25573 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
25575         * math/libm-test.inc (print_complex_max_error): Check separately
25576         whether real and imaginary errors are within allowed range and
25577         pass 0 to print_complex_function_ulps instead of value within
25578         allowed range.
25580 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25582         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
25583         formatting.
25584         (get_handles_fopen): Likewise.
25585         (do_write_test): Likewise.
25587         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
25589         * libio/fileops.c (do_ftell): Use cached offset when
25590         available.
25591         * libio/iofwide.c (do_ftell_wide): Likewise.
25592         * libio/iofdopen.c (_IO_new_fdopen): Don't use
25593         _IO_file_attach.
25594         * libio/wfileops.c (_IO_fwide): Don't cache offset.
25596         [BZ #16532]
25597         * libio/libioP.h (get_file_offset): New function.
25598         * libio/fileops.c (get_file_offset): Likewise.
25599         (do_ftell): Likewise.
25600         (_IO_new_file_seekoff): Split out ftell logic.
25601         * libio/wfileops.c (do_ftell_wide): Likewise.
25602         (_IO_wfile_seekoff): Split out ftell logic.
25603         * libio/tst-ftell-active-handler.c: New test case.
25604         * libio/Makefile (tests): Add it.
25606 2014-03-03  Roland McGrath  <roland@hack.frob.com>
25608         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
25609         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
25611 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25613         [BZ #16639]
25614         * nscd/connections.c (nscd_init): Call do_exit.
25615         (start_threads): Call do_exit and notify_parent.
25616         (begin_drop_privileges): Call do_exit.
25617         (finish_drop_privileges): Likewise.
25618         * nscd/selinux.c (preserve_capabilities): Likewise.
25619         (install_real_capabilities): Likewise.
25620         (nscd_selinux_enabled): Likewise.
25621         (avc_create_thread): Likewise.
25622         (avc_alloc_lock): Likewise.
25623         (nscd_avc_init): Likewise.
25624         * nscd/nscd.c (parent_fd): New static variable.
25625         (main): Create a pipe between parent and child processes.
25626         Skip closing parent_fd.
25627         (monitor_child): New function.
25628         (do_exit): Likewise.
25629         (notify_parent): Likewise.
25630         * nscd/nscd.h (notify_parent): Likewise.
25631         (do_exit): Likewise.
25633 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
25635         * malloc/malloc.c (__libc_calloc): Revert last change.
25637 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25641 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25643         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
25644         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
25645         implementation.
25646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25647         (__libc_ifunc_impl_list): Likewise.
25648         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
25649         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
25650         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
25651         * string/strrchr.c: Define STRRCHR.
25653 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
25655         * benchtest/bench-strtok.c (simple_strtok): Delete.
25656         (strtok_string): Use as benchmark.
25657         * string/strtok (STRTOK): New macro.
25659 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
25661         * manual/threads.texi: Add header and standard comments to all
25662         functions.
25664         * elf/dl-lookup.c (check_match): New function.
25665         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
25666         (do_lookup_x): Remove nested function check_match. Use non-nested
25667         function check_match.
25669 2014-02-28  Roland McGrath  <roland@hack.frob.com>
25671         * csu/Makefile (generated, before-compile): Use += rather than =.
25672         * catgets/Makefile (generated, generated-dirs): Likewise.
25673         * debug/Makefile (generated): Likewise.
25674         * dlfcn/Makefile (generated): Likewise.
25675         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
25676         * iconvdata/Makefile (before-compile, generated): Likewise.
25677         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
25678         * libio/Makefile (generated): Likewise.
25679         * malloc/Makefile (generated): Likewise.
25680         * manual/Makefile (generated, generated-dirs): Likewise.
25681         * misc/Makefile (generated): Likewise.
25682         * posix/Makefile (generated): Likewise.
25683         * resolv/Makefile (generated): Likewise.
25684         * sunrpc/Makefile (generated, generated-dirs): Likewise.
25685         * timezone/Makefile (generated, generated-dirs): Likewise.
25687         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
25689 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25691         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25692         power8 implementation.
25693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
25694         file: POWER8 llround ifunc implementation.
25695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25696         (__lllround): Add POWER8 implementation.
25697         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
25698         POWER8 llround implementation.
25700         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
25701         power8 implementation.
25702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
25703         file: POWER8 llrint ifunc implementation.
25704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
25705         Add POWER8 implementation.
25706         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
25707         POWER8 llrint implementation.
25709         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
25710         power8 implementation.
25711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
25712         file: POWER8 finite ifunc implementation.
25713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
25714         Add POWER8 implementation.
25715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
25716         Likewise.
25717         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
25718         POWER8 finite implementation.
25719         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
25721         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
25722         power8 implementation.
25723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
25724         file: POWER8 isinf ifunc implementation.
25725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
25726         POWER8 implementation.
25727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
25728         Likewise.
25729         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
25730         isinf implementation.
25731         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
25733         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25734         (INIT_ARCH): Add hwcap2 initialization.
25735         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25736         power8 implementation.
25737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
25738         file: POWER8 isnan ifunc implementation.
25739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
25740         POWER8 implementation.
25741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
25742         Likewise.
25743         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
25744         isnan implementation.
25745         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
25747 2014-02-27  Joey Ye  <joey.ye@arm.com>
25749         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25750         (_FP_NANFRAC_Q): Set to zero.
25752 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25754         [BZ #16623]
25755         * math/auto-libm-test-in: New test inputs.
25756         * math/auto-libm-test-out: Regenerate.
25757         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
25758         and DA.
25759         (__cos): Likewise.
25760         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25762 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
25764         * scripts/evaluate-test.sh: Take new argument indicating whether
25765         failure is expected.
25766         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
25767         indicating whether failure is expected.
25768         * conform/Makefile (test-xfail-run-conformtest): New variable.
25769         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
25770         level.
25771         * posix/Makefile (test-xfail-annexc): New variable.
25772         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
25774 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
25776         * argp/Makefile: Include Makeconfig immediately after defining
25777         subdir.
25778         * assert/Makefile: Likewise.
25779         * benchtests/Makefile: Likewise.
25780         * catgets/Makefile: Likewise.
25781         * conform/Makefile: Likewise.
25782         * crypt/Makefile: Likewise.
25783         * csu/Makefile: Likewise.
25784         (all): Remove target.
25785         * ctype/Makefile: Include Makeconfig immediately after defining
25786         subdir.
25787         * debug/Makefile: Likewise.
25788         * dirent/Makefile: Likewise.
25789         * dlfcn/Makefile: Likewise.
25790         * gmon/Makefile: Likewise.
25791         * gnulib/Makefile: Likewise.
25792         * grp/Makefile: Likewise.
25793         * gshadow/Makefile: Likewise.
25794         * hesiod/Makefile: Likewise.
25795         * hurd/Makefile: Likewise.
25796         (all): Remove target.
25797         * iconvdata/Makefile: Include Makeconfig immediately after
25798         defining subdir.
25799         * inet/Makefile: Likewise.
25800         * intl/Makefile: Likewise.
25801         * io/Makefile: Likewise.
25802         * libio/Makefile: Likewise.
25803         (all): Remove target.
25804         * locale/Makefile: Include Makeconfig immediately after defining
25805         subdir.
25806         * login/Makefile: Likewise.
25807         * mach/Makefile: Likewise.
25808         (all): Remove target.
25809         * malloc/Makefile: Include Makeconfig immediately after defining
25810         subdir.
25811         (all): Remove target.
25812         * manual/Makefile: Include Makeconfig immediately after defining
25813         subdir.
25814         * math/Makefile: Likewise.
25815         * misc/Makefile: Likewise.
25816         * nis/Makefile: Likewise.
25817         * nss/Makefile: Likewise.
25818         * po/Makefile: Likewise.
25819         (all): Remove target.
25820         * posix/Makefile: Include Makeconfig immediately after defining
25821         subdir.
25822         * pwd/Makefile: Likewise.
25823         * resolv/Makefile: Likewise.
25824         * resource/Makefile: Likewise.
25825         * rt/Makefile: Likewise.
25826         * setjmp/Makefile: Likewise.
25827         * shadow/Makefile: Likewise.
25828         * signal/Makefile: Likewise.
25829         * socket/Makefile: Likewise.
25830         * soft-fp/Makefile: Likewise.
25831         * stdio-common/Makefile: Likewise.
25832         * stdlib/Makefile: Likewise.
25833         * streams/Makefile: Likewise.
25834         * string/Makefile: Likewise.
25835         * sunrpc/Makefile: Likewise.
25836         (all): Remove target.
25837         * sysvipc/Makefile: Include Makeconfig immediately after defining
25838         subdir.
25839         * termios/Makefile: Likewise.
25840         * time/Makefile: Likewise.
25841         * timezone/Makefile: Likewise.
25842         (all): Remove target.
25843         * wcsmbs/Makefile: Include Makeconfig immediately after defining
25844         subdir.
25845         * wctype/Makefile: Likewise.
25847 2014-02-26  Steve Ellcey  <sellcey@mips.com>
25849         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
25850         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
25851         (libc_feholdexcept_setround_mips): Ditto.
25852         (libc_feholdsetround): New.
25853         (libc_feholdsetroundf): New.
25854         (libc_feholdsetroundl): New.
25855         (libc_feupdateenv_test_mips): New.
25856         (libc_feupdateenv_test): New.
25857         (libc_feupdateenv_testf): New.
25858         (libc_feupdateenv_testl): New.
25859         (libc_feresetround): New.
25860         (libc_feresetroundf): New.
25861         (libc_feresetroundl): New.
25862         (libc_fetestexcept_mips): New.
25863         (libc_fetestexcept): New.
25864         (libc_fetestexceptf): New.
25865         (libc_fetestexceptl): New.
25866         (HAVE_RM_CTX): New.
25867         (libc_feholdexcept_setround_mips_ctx): New.
25868         (libc_feholdexcept_setround_ctx): New.
25869         (libc_feholdexcept_setroundf_ctx): New.
25870         (libc_feholdexcept_setroundl_ctx): New.
25871         (libc_fesetenv_mips_ctx): New.
25872         (libc_fesetenv_ctx): New.
25873         (libc_fesetenv_ctxf): New.
25874         (libc_fesetenv_ctxl): New.
25875         (libc_feupdateenv_mips_ctx): New.
25876         (libc_feupdateenv_ctx): New.
25877         (libc_feupdateenvf_ctx): New.
25878         (libc_feupdateenvl_ctx): New.
25879         (libc_feholdsetround_mips_ctx): New.
25880         (libc_feholdsetround_ctx): New.
25881         (libc_feholdsetroundf_ctx): New.
25882         (libc_feholdsetroundl_ctx): New.
25883         (libc_feresetround_mips_ctx): New.
25884         (libc_feresetround_ctx): New.
25885         (libc_feresetroundf_ctx): New.
25886         (libc_feresetroundl_ctx): New.
25888 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
25890         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
25892         * manual/ipc.texi: New file.
25893         * manual/Makefile (chapters): Add ipc.
25894         * manual/job.texi: Add "Inter-Process Communication" to next.
25895         * manual/process.texi: Add "Inter-Process Communication" to prev.
25897 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25901 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
25903         * malloc/malloc.c (__libc_calloc): Simplify implementation.
25905         * manual/arith.texi: Fix spaces after sentences.
25906         * manual/charset.texi: Likewise.
25907         * manual/errno.texi: Likewise.
25908         * manual/install.texi: Likewise.
25909         * manual/llio.texi: Likewise.
25910         * manual/locale.texi: Likewise.
25911         * manual/maint.texi: Likewise.
25912         * manual/math.texi: Likewise.
25913         * manual/memory.texi: Likewise.
25914         * manual/message.texi: Likewise.
25915         * manual/probes.texi: Likewise.
25916         * manual/resource.texi: Likewise.
25917         * manual/signal.texi: Likewise.
25918         * manual/socket.texi: Likewise.
25919         * manual/stdio.texi: Likewise.
25920         * manual/string.texi: Likewise.
25921         * manual/time.texi: Likewise.
25922         * manual/users.texi: Likewise.
25924 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
25926         [BZ #16632]
25927         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
25928         _DEFAULT_SOURCE is defined.
25930 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
25931             Carlos O'Donell  <carlos@redhat.com>
25933         [BZ #16613]
25934         * elf/dl-tls.c (_dl_count_modids): New function.
25935         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
25936         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
25937         audit library and increment generation counter.
25938         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
25939         * elf/tst-audit9.c: New file.
25940         * elf/tst-auditmod9a.c: New file.
25941         * elf/tst-auditmod9b.c: New file.
25942         * elf/Makefile: Add rules to build and run tst-audit9.
25944 2014-02-25  Florian Weimer  <fweimer@redhat.com>
25946         [BZ #15347]
25947         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
25949 2014-02-25  Will Newton  <will.newton@linaro.org>
25951         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
25952         (__longjmp): Restore sp and lr before restoring callee
25953         saved registers.  Add longjmp and longjmp_target
25954         SystemTap probe point.
25955         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
25956         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
25957         Define to zero to match jmpbuf layout.
25958         * sysdeps/arm/setjmp.S: Include stap-probe.h.
25959         (__sigsetjmp): Save sp and lr before saving callee
25960         saved registers.  Add setjmp SystemTap probe point.
25962 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25964         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25966 2014-02-24  Andreas Schwab  <schwab@suse.de>
25968         [BZ #15804]
25969         * elf/pldd.c (wait_for_ptrace_stop): New function.
25970         (main): Call it after attaching.
25972 2014-02-22  Roland McGrath  <roland@hack.frob.com>
25974         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
25975         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
25976         Versions files is now verboten.
25977         * hurd/Versions (libc: GLIBC_2.0):
25978         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
25979         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
25980         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
25981         * mach/Versions: Likewise.
25983         * csu/Versions: Remove unused %include.
25984         * resolv/Versions: Likewise.
25986 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
25988         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
25989         ($(objpfx)check-local-headers.out): Likewise.
25990         ($(objpfx)begin-end-check.out): Likewise.
25991         * Makerules (check-abi-%.out): Likewise.
25992         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
25993         ($(objpfx)test2.cat): Likewise.
25994         ($(objpfx)de/libc.cat): Likewise.
25995         ($(objpfx)test-gencat.out): Likewise.
25996         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
25997         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
25998         ($(objpfx)noload-mem): Likewise.
25999         ($(objpfx)tst-pathopt.out): Likewise.
26000         ($(objpfx)tst-rtld-load-self.out): Likewise.
26001         ($(objpfx)tst-array1-cmp.out): Likewise.
26002         ($(objpfx)tst-array1-static-cmp.out): Likewise.
26003         ($(objpfx)tst-array2-cmp.out): Likewise.
26004         ($(objpfx)tst-array3-cmp.out): Likewise.
26005         ($(objpfx)tst-array4-cmp.out): Likewise.
26006         ($(objpfx)tst-array5-cmp.out): Likewise.
26007         ($(objpfx)tst-array5-static-cmp.out): Likewise.
26008         ($(objpfx)check-textrel.out): Likewise.
26009         ($(objpfx)check-execstack.out): Likewise.
26010         ($(objpfx)check-localplt.out): Likewise.
26011         ($(objpfx)order2-cmp.out): Likewise.
26012         ($(objpfx)tst-leaks1-mem): Likewise.
26013         ($(objpfx)tst-leaks1-static-mem): Likewise.
26014         ($(objpfx)tst-initorder-cmp.out): Likewise.
26015         ($(objpfx)tst-initorder2-cmp.out): Likewise.
26016         ($(objpfx)tst-unused-dep.out): Likewise.
26017         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
26018         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
26019         * iconv/Makefile (test-iconvconfig): Likewise.
26020         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
26021         ($(objpfx)iconv-test.out): Likewise.
26022         ($(objpfx)tst-tables.out): Likewise.
26023         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
26024         ($(objpfx)tst-gettext.out): Likewise.
26025         ($(objpfx)tst-translit.out): Likewise.
26026         ($(objpfx)tst-gettext2.out): Likewise.
26027         ($(objpfx)tst-gettext4.out): Likewise.
26028         ($(objpfx)tst-gettext6.out): Likewise.
26029         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
26030         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
26031         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
26032         ($(objpfx)tst-fopenloc-mem.out): Likewise.
26033         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
26034         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
26035         * posix/Makefile ($(objpfx)globtest.out): Likewise.
26036         ($(objpfx)wordexp-tst.out): Likewise.
26037         ($(objpfx)annexc.out): Likewise.
26038         ($(objpfx)tst-fnmatch-mem): Likewise.
26039         ($(objpfx)bug-regex2-mem): Likewise.
26040         ($(objpfx)bug-regex14-mem): Likewise.
26041         ($(objpfx)bug-regex21-mem): Likewise.
26042         ($(objpfx)bug-regex31-mem): Likewise.
26043         ($(objpfx)tst-vfork3-mem): Likewise.
26044         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
26045         ($(objpfx)tst-pcre-mem): Likewise.
26046         ($(objpfx)tst-boost-mem): Likewise.
26047         ($(objpfx)tst-getconf.out): Likewise.
26048         ($(objpfx)bug-ga2-mem): Likewise.
26049         ($(objpfx)bug-glob2-mem): Likewise.
26050         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
26051         ($(objpfx)mtrace-tst-leaks2): Likewise.
26052         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
26053         ($(objpfx)tst-printf.out): Likewise.
26054         ($(objpfx)tst-setvbuf1.out): Likewise.
26055         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
26056         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
26057         ($(objpfx)tst-fmtmsg.out): Likewise.
26058         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
26059         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
26061         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
26062         * bits/sigaction.h [__USE_MISC]: Likewise.
26063         * bits/waitstatus.h: Update #endif comments.
26064         * ctype/ctype.h: Likewise.
26065         * dirent/dirent.h: Likewise.
26066         [__USE_MISC]: Remove redundant conditionals.
26067         * grp/grp.h: Update #endif comments.
26068         [__USE_GNU]: Remove redundant conditionals.
26069         [__USE_MISC]: Likewise.
26070         * inet/netinet/in.h [__USE_GNU]: Likewise.
26071         * io/sys/stat.h [__USE_MISC]: Likewise.
26072         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
26073         * libio/bits/stdio.h: Update #endif comments.
26074         [__USE_MISC]: Remove redundant conditionals.
26075         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
26076         * libio/stdio.h: Update #endif comments.
26077         [__USE_MISC]: Remove redundant conditionals.
26078         * math/bits/math-finite.h [__USE_MISC]: Likewise.
26079         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
26080         * math/math.h: Update #else and #endif comments.
26081         [__USE_MISC]: Remove redundant conditionals.
26082         * misc/sys/uio.h: Update #endif comments.
26083         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
26084         * posix/glob.h [__USE_MISC]: Likewise.
26085         * posix/sys/types.h: Update #endif comments.
26086         [__USE_MISC]: Remove redundant conditionals.
26087         * posix/sys/wait.h: Update #endif comments.
26088         [__USE_MISC]: Remove redundant conditionals.
26089         * posix/unistd.h: Update #endif comments.
26090         [__USE_MISC]: Remove redundant conditionals.
26091         * pwd/pwd.h [__USE_GNU]: Likewise.
26092         [__USE_MISC]: Likewise.
26093         * resolv/netdb.h [__USE_GNU]: Likewise.
26094         * signal/signal.h: Update #endif comments.
26095         [__USE_MISC]: Remove redundant conditionals.
26096         * stdlib/stdlib.h: Update #else and #endif comments.
26097         [__USE_MISC]: Remove redundant conditionals.
26098         [__USE_GNU]: Likewise.
26099         * string/bits/string2.h [__USE_MISC]: Likewise.
26100         * string/string.h: Update #endif comments.
26101         [__USE_MISC]: Remove redundant conditionals.
26102         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
26103         Likewise.
26104         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
26105         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
26106         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
26107         Likewise.
26108         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
26109         Likewise.
26110         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
26111         comments.
26112         [__USE_MISC]: Remove redundant conditionals.
26113         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
26114         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
26115         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
26116         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
26117         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
26118         Likewise.
26119         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
26120         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
26121         Likewise.
26122         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
26123         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
26124         Likewise.
26125         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
26126         Likewise.
26127         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
26128         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
26129         Likewise.
26130         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
26131         Likewise.
26132         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
26133         * sysdeps/x86/bits/string.h: Update #endif comments.
26134         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
26135         conditionals.
26136         * time/sys/time.h: Update #endif comments.
26137         * time/time.h: Likewise.
26138         [__USE_MISC]: Remove redundant conditionals.
26140 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
26142         [BZ #16600]
26143         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
26145 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
26147         * Versions.def (librt): Add GLIBC_2.17.
26149 2014-02-21  Adam Conrad  <adconrad@0c3.net>
26151         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
26152         synonym for _SYS_AUXV_H to allow direct inclusion.
26153         * sysdeps/sparc/bits/hwcap.h: Likewise.
26154         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
26155         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
26156         * sysdeps/sparc/sysdep.h: Likewise.
26158 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26160         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
26162 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26164         * benchtests/bench-strrchr.c: Print length instead of position.
26166 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
26168         [BZ #16611]
26169         * sysdeps/unix/sysv/linux/kernel-features.h
26170         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
26171         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
26172         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
26173         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
26174         Likewise.
26175         [__i386__ || __powerpc__ || __sh__ || __sparc__]
26176         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26177         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
26178         (__ASSUME_SENDMMSG): Define instead of using previous
26179         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
26180         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26181         (__ASSUME_SENDMMSG_SYSCALL): Define.
26182         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26183         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
26184         Likewise.
26185         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26186         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26187         Likewise.
26188         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26189         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26190         Likewise.
26191         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
26192         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26193         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26194         [__ASSUME_SENDMMSG]: Change conditionals to
26195         [__ASSUME_SENDMMSG_SOCKETCALL].
26196         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26197         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
26198         Define.
26199         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26200         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
26201         Likewise.
26202         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
26203         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26204         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26205         [!__ASSUME_SENDMMSG]: Change conditional to
26206         [!__ASSUME_SENDMMSG_SOCKETCALL].
26207         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26208         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26209         Define.
26211         [BZ #16610]
26212         * sysdeps/unix/sysv/linux/kernel-features.h
26213         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
26214         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
26215         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
26216         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
26217         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26218         [__i386__ || __sparc__]
26219         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26220         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
26221         (__ASSUME_RECVMMSG): Define instead of using previous
26222         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
26223         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26224         (__ASSUME_RECVMMSG_SYSCALL): Define.
26225         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26226         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26227         Likewise.
26228         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26229         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26230         Likewise.
26231         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26232         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26233         Likewise.
26234         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
26235         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26236         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26237         [__ASSUME_RECVMMSG]: Change condition to
26238         [__ASSUME_RECVMMSG_SOCKETCALL].
26239         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26240         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26241         Define.
26242         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26243         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26244         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26245         Likewise.
26246         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
26247         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26248         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26249         [!__ASSUME_RECVMMSG]: Change condition to
26250         [!__ASSUME_RECVMMSG_SOCKETCALL].
26251         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26252         (__ASSUME_RECVMMSG_SYSCALL): Define.
26254         [BZ #16609]
26255         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
26256         __powerpc__ || __s390__ || __sh__ || __sparc__]
26257         (__ASSUME_SOCKETCALL): Define.
26258         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
26259         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
26260         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
26261         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
26262         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26263         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26264         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
26265         (__ASSUME_ACCEPT4): Define instead of using previous
26266         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
26267         __powerpc__ || __sparc__ || __s390__)] condition.
26268         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26269         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26270         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
26271         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26272         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26273         [!__ASSUME_ACCEPT4]: Change condition to
26274         [!__ASSUME_ACCEPT4_SOCKETCALL].
26275         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26276         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
26277         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
26278         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26279         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
26280         __ASSUME_ACCEPT4_SYSCALL.
26281         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
26282         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
26283         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26284         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
26285         __ASSUME_ACCEPT4_SYSCALL.
26286         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
26287         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26288         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26289         [__ASSUME_ACCEPT4]: Change condition to
26290         [__ASSUME_ACCEPT4_SOCKETCALL].
26291         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26292         (__ASSUME_SOCKETCALL): Define.
26293         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
26294         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26295         (__ASSUME_SOCKETCALL): Define.
26296         (__ASSUME_ACCEPT4): Remove.
26297         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
26298         Define.
26299         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26300         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
26301         Likewise.
26302         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26303         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26305         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
26306         macro.
26307         (HWCAP_ARM_LPAE): Likewise.
26308         (HWCAP_ARM_EVTSTRM): Likewise.
26309         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
26310         Add vpfd32, lpae and evtstrm.
26311         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
26312         Increase to 22.
26314 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
26316         * math/auto-libm-test-in: Add tests of clog10.
26317         * math/auto-libm-test-out: Regenerated.
26318         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
26319         * sysdeps/i386/fpu/libm-test-ulps: Update.
26320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26322 2014-02-18  Andreas Schwab  <schwab@suse.de>
26324         [BZ #16574]
26325         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
26326         Store non-zero if the second buffer was newly allocated.
26327         (send_dg): Likewise.
26328         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
26329         to send_vc and send_dg.
26330         (res_nsend): Pass NULL for ansp2_malloced.
26331         * resolv/res_query.c (__libc_res_nquery): Add parameter
26332         answerp2_malloced and pass it down to __libc_res_nsend.
26333         (res_nquery): Pass additional NULL to __libc_res_nquery.
26334         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
26335         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
26336         second answer buffer if answerp2_malloced was set.
26337         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
26338         (__libc_res_nquerydomain): Add parameter
26339         answerp2_malloced and pass it down to __libc_res_nquery.
26340         (res_nquerydomain): Pass additional NULL to
26341         __libc_res_nquerydomain.
26342         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
26343         additional NULL to __libc_res_nsend and __libc_res_nquery.
26344         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
26345         additional NULL to __libc_res_nsearch.
26346         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
26347         parameter of __libc_res_nsearch to check for separately allocated
26348         second buffer.
26349         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
26350         __libc_res_nquery.
26351         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
26352         additional NULL to __libc_res_nquery.
26353         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
26354         __libc_res_nsearch.
26355         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
26356         * include/resolv.h: Update prototypes of __libc_res_nquery,
26357         __libc_res_nsearch, __libc_res_nsend.
26359 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
26361         * math/auto-libm-test-in: Add tests of fma.
26362         * math/auto-libm-test-out: Regenerated.
26363         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
26364         (fma_towardzero_test_data): Likewise.
26365         (fma_downward_test_data): Likewise.
26366         (fma_upward_test_data): Likewise.
26367         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
26368         mpc_mode.
26369         (rounding_modes): Add values for new field.
26370         (func_calc_method): Add value mpfr_fff_f.
26371         (func_calc_desc): Add mpfr_fff_f union field.
26372         (test_function): Add field exact_args.
26373         (FUNC): Add macro argument EXACT_ARGS.
26374         (FUNC_mpfr_f_f): Update call to FUNC.
26375         (FUNC_mpfr_f_f): Likewise.
26376         (FUNC_mpfr_ff_f): Likewise.
26377         (FUNC_mpfr_if_f): Likewise.
26378         (FUNC_mpc_c_f): Likewise.
26379         (FUNC_mpc_c_c): Likewise.
26380         (test_functions): Add fma.  Update calls to FUNC.
26381         (handle_input_arg): Add argument exact_args.
26382         (add_test): Update call to handle_input_arg.
26383         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
26384         (output_for_one_input_case): Update call to calc_generic_results.
26385         Recalculate exact zero results in each rounding mode.
26387         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
26388         non-negative before setting low bit.
26389         * math/auto-libm-test-in: Mark one asin test possibly having
26390         spurious underflow.
26391         * math/auto-libm-test-out: Regenerated.
26392         * sysdeps/i386/fpu/libm-test-ulps: Update.
26393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26395 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
26397         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
26398         * sysdeps/unix/sysv/linux/microblaze: Move directory from
26399         ports/sysdeps/unix/sysv/linux/microblaze.
26400         * README: Add missing listing for microblaze*-*-linux-gnu.
26402 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
26404         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
26405         duplicate code
26407 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
26409         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
26410         * sysdeps/unix/sysv/linux/ia64: Move directory from
26411         ports/sysdeps/unix/sysv/linux/ia64.
26412         * README: Update listing for ia64-*-linux-gnu.
26414 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
26415             Joseph Myers  <joseph@codesourcery.com>
26417         * Makeconfig (test-name): New variable.
26418         (evaluate-test): Likewise.
26419         * Makerules (do-test-clean): Remove .test-result files.
26420         (common-mostlyclean): Likewise.
26421         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
26422         * scripts/evaluate-test.sh: New file.
26424 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
26426         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
26427         separate $(objpfx)tst-fopenloc-cmp.out and
26428         $(objpfx)tst-fopenloc-mem.out targets.
26429         (tests): Update dependencies.
26430         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
26431         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
26432         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
26433         (tst-rxspencer-no-utf8-ARGS): New variable.
26434         (tst-rxspencer-no-utf8-ENV): Likewise.
26435         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
26436         instead of $(objpfx)tst-rxspencer-mem.
26437         ($(objpfx)tst-rxspencer-mem): Change target to
26438         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
26439         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
26440         * posix/tst-rxspencer-no-utf8.c: New file.
26442         * elf/Makefile ($(objpfx)order.out): Remove rule.
26443         [$(run-built-tests) = yes] (tests): Depend on
26444         $(objpfx)order-cmp.out.
26445         ($(objpfx)order-cmp.out): New rule.
26446         [$(run-built-tests) = yes] (tests): Depend on
26447         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
26448         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
26449         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
26450         $(objpfx)tst-array5-static-cmp.out.
26451         ($(objpfx)tst-array1.out): Remove rule.
26452         ($(objpfx)tst-array1-cmp.out): New rule.
26453         ($(objpfx)tst-array1-static.out): Remove rule.
26454         ($(objpfx)tst-array1-static-cmp.out): New rule.
26455         ($(objpfx)tst-array2.out): Remove rule.
26456         ($(objpfx)tst-array2-cmp.out): New rule.
26457         ($(objpfx)tst-array3.out): Remove rule.
26458         ($(objpfx)tst-array3-cmp.out): New rule.
26459         ($(objpfx)tst-array4.out): Remove rule.
26460         ($(objpfx)tst-array4-cmp.out): New rule.
26461         ($(objpfx)tst-array5.out): Remove rule.
26462         ($(objpfx)tst-array5-cmp.out): New rule.
26463         ($(objpfx)tst-array5-static.out): Remove rule.
26464         ($(objpfx)tst-array5-static-cmp.out): New rule.
26465         [$(run-built-tests) = yes] (tests): Depend on
26466         $(objpfx)order2-cmp.out.
26467         ($(objpfx)order2.out): Remove rule.
26468         ($(objpfx)order2-cmp.out): New rule.
26469         ($(objpfx)tst-initorder.out): Remove rule.
26470         [$(run-built-tests) = yes] (tests): Depend on
26471         $(objpfx)tst-initorder-cmp.out.
26472         ($(objpfx)tst-initorder-cmp.out): New rule.
26473         ($(objpfx)tst-initorder2.out): Remove rule.
26474         [$(run-built-tests) = yes] (tests): Depend on
26475         $(objpfx)tst-initorder2-cmp.out.
26476         ($(objpfx)tst-initorder2-cmp.out): New rule.
26477         [$(run-built-tests) = yes] (tests): Depend on
26478         $(objpfx)tst-unused-dep-cmp.out.
26479         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
26480         ($(objpfx)tst-unused-dep-cmp.out): New rule.
26481         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
26482         on $(objpfx)tst-setvbuf1-cmp.out.
26483         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
26484         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
26485         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
26486         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
26487         ($(objpfx)tst-svc.out): Remove rule.
26488         ($(objpfx)tst-svc-cmp.out): New rule.
26490 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
26492         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
26493         * ctype/ctype.h [__USE_MISC]: Likewise.
26494         * dirent/dirent.h [__USE_MISC]: Likewise.
26495         * grp/grp.h [__USE_MISC]: Likewise.
26496         * io/fcntl.h [__USE_MISC]: Likewise.
26497         * io/sys/stat.h [__USE_MISC]: Likewise.
26498         * libio/stdio.h [__USE_MISC]: Likewise.
26499         * posix/unistd.h [__USE_MISC]: Likewise.
26500         * pwd/pwd.h [__USE_MISC]: Likewise.
26501         * stdlib.h [__USE_MISC]: Likewise.
26502         * string/bits/string2.h [__USE_MISC]: Likewise.
26503         * string/string.h [__USE_MISC]: Likewise.
26504         * time/time.h [__USE_MISC]: Likewise.
26506 2014-02-13  Andreas Schwab  <schwab@suse.de>
26508         [BZ #16574]
26509         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
26510         second answer buffer if it was separately allocated.
26512 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
26514         * sysdeps/mips/math-tests.h: Include <features.h>.
26515         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26516         (ROUNDING_TESTS_long_double): Do not define.
26517         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26518         (EXCEPTION_TESTS_long_double): Likewise.
26519         * sysdeps/mips/mips64/libm-test-ulps: Update.
26521         * include/features.h (__USE_BSD): Remove macro definitions.
26522         (__USE_SVID): Likewise.
26523         (_BSD_SOURCE): Likewise.
26524         (_SVID_SOURCE): Likewise.
26525         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
26526         from definition of _DEFAULT_SOURCE.
26527         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
26528         [_DEFAULT_SOURCE].
26529         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
26530         * bits/mman.h [__USE_BSD]: Likewise.
26531         * bits/termios.h [__USE_BSD]: Likewise.
26532         * bits/waitstatus.h [__USE_BSD]: Likewise.
26533         * ctype/ctype.h [__USE_SVID]: Likewise.
26534         * dirent/dirent.h [__USE_BSD]: Likewise.
26535         * grp/grp.h [__USE_SVID]: Likewise.
26536         [__USE_BSD]: Likewise.
26537         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
26538         * io/fcntl.h [__USE_BSD]: Likewise.
26539         * io/ftw.h [__USE_BSD]: Likewise.
26540         * io/sys/stat.h [__USE_BSD]: Likewise.
26541         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
26542         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
26543         * libio/stdio.h [__USE_SVID]: Likewise.
26544         [__USE_BSD]: Likewise.
26545         * math/math.h [__USE_SVID]: Likewise.
26546         [__USE_BSD]: Likewise.
26547         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
26548         * misc/bits/syslog.h [__USE_BSD]: Likewise.
26549         * misc/search.h [__USE_SVID]: Likewise.
26550         * misc/sys/mman.h [__USE_BSD]: Likewise.
26551         * misc/sys/syslog.h [__USE_BSD]: Likewise.
26552         * misc/sys/uio.h [__USE_BSD]: Likewise.
26553         * posix/bits/unistd.h [__USE_BSD]: Likewise.
26554         * posix/glob.h [__USE_BSD]: Likewise.
26555         * posix/regex.h [__USE_BSD]: Likewise.
26556         * posix/sys/types.h [__USE_BSD]: Likewise.
26557         [__USE_SVID]: Likewise.
26558         * posix/sys/utsname.h [__USE_SVID]: Likewise.
26559         * posix/sys/wait.h [__USE_BSD]: Likewise.
26560         [__USE_SVID]: Likewise.
26561         * posix/unistd.h [__USE_BSD]: Likewise.
26562         [__USE_SVID]: Likewise.
26563         * pwd/pwd.h [__USE_SVID]: Likewise.
26564         * resolv/netdb.h [__USE_BSD]: Likewise.
26565         * setjmp/setjmp.h [__USE_BSD]: Likewise.
26566         * signal/signal.h [__USE_BSD]: Likewise.
26567         [__USE_SVID]: Likewise.
26568         * socket/sys/socket.h [__USE_BSD]: Likewise.
26569         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
26570         * stdlib/stdlib.h [__USE_BSD]: Likewise.
26571         [__USE_SVID]: Likewise.
26572         * string/bits/string2.h [__USE_BSD]: Likewise.
26573         [__USE_SVID]: Likewise.
26574         * string/bits/string3.h [__USE_BSD]: Likewise.
26575         * string/endian.h [__USE_BSD]: Likewise.
26576         * string/string.h [__USE_SVID]: Likewise.
26577         [__USE_BSD]: Likewise.
26578         * string/strings.h [__USE_BSD]: Likewise.
26579         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
26580         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
26581         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
26582         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
26583         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
26584         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
26585         Likewise.
26586         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
26587         Likewise.
26588         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
26589         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
26590         Likewise.
26591         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
26592         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
26593         Likewise.
26594         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
26595         Likewise.
26596         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
26597         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
26598         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
26599         Likewise.
26600         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
26601         Likewise.
26602         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
26603         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
26604         * termios/termios.h [__USE_BSD]: Likewise.
26605         * time/sys/time.h [__USE_BSD]: Likewise.
26606         * time/time.h [__USE_BSD]: Likewise.
26607         [__USE_SVID]: Likewise.
26609         * Makefile (subdir_targets): Remove subdir_lint.out.
26611         * stdio-common/Makefile (do-tst-unbputc): Remove target.
26612         (do-tst-printf): Likewise.
26613         (tests): Depend directly on $(objpfx)tst-unbputc.out and
26614         $(objpfx)tst-printf.out.
26616         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
26618         * Makerules (check-abi-%): Change target to
26619         $(objpfx)check-abi-%.out.
26620         (check-abi target): Update dependencies.
26621         (check-abi-pattern variable): Redirect output of diff to $@.
26622         (check-abi variable): Likewise.
26623         * elf/Makefile (check-abi): Update dependencies.
26625         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
26626         unused.
26627         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
26628         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
26629         subnormal range.
26630         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
26631         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
26632         value has largest subnormal exponent.
26633         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
26634         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
26635         * sysdeps/aarch64/soft-fp/sfp-machine.h
26636         (_FP_TININESS_AFTER_ROUNDING): New macro.
26637         * sysdeps/alpha/soft-fp/sfp-machine.h
26638         (_FP_TININESS_AFTER_ROUNDING): Likewise.
26639         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26640         Likewise.
26641         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
26642         (_FP_TININESS_AFTER_ROUNDING): Likewise.
26643         * sysdeps/mips/soft-fp/sfp-machine.h
26644         (_FP_TININESS_AFTER_ROUNDING): Likewise.
26645         * sysdeps/powerpc/soft-fp/sfp-machine.h
26646         (_FP_TININESS_AFTER_ROUNDING): Likewise.
26647         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26648         Likewise.
26649         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26650         (_FP_TININESS_AFTER_ROUNDING): Likewise.
26651         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26652         (_FP_TININESS_AFTER_ROUNDING): Likewise.
26653         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26654         Likewise.
26656 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
26658         [BZ #16545]
26659         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
26660         model 1.
26662 2014-02-12  Richard Henderson  <rth@redhat.com>
26664         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
26665         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
26666         * sysdeps/unix/sysv/linux/alpha: Move directory from
26667         ports/sysdeps/unix/sysv/linux/alpha.
26668         * README: Update listing for alpha-*-linux-gnu.
26670 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
26672         * include/features.h: Update comment documenting feature test
26673         macros.
26674         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
26675         _DEFAULT_SOURCE.
26676         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
26677         (_SVID_SOURCE): Likewise.
26678         (_DEFAULT_SOURCE): Update description of default features.
26679         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
26680         with _GNU_SOURCE.
26681         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
26682         (S_ISVTX): Likewise.
26683         * manual/math.texi (Mathematical Constants): Likewise.
26684         * manual/signal.texi (Interrupted Primitives): Likewise.
26685         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
26686         * math/test-matherr.c (_SVID_SOURCE): Do not define.
26687         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
26688         Don't refer to _SVID_SOURCE in warning text.
26690         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26692         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
26693         already defined.
26694         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
26695         * sysdeps/mips/dl-lookup.c: Remove.
26696         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
26698 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26700         [BZ #16447]
26701         * math/auto-libm-test-in: Add testcase for expl.
26702         * math/auto-libm-test-out: Regenerate.
26703         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
26704         calculation of unsafe.
26705         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
26707 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26709         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
26710         * sysdeps/unix/sysv/linux/aarch64: Move directory from
26711         ports/sysdeps/unix/sysv/linux/aarch64.
26712         * README: Update listing for aarch64*-*-linux-gnu.
26714 2014-02-11  Will Newton  <will.newton@linaro.org>
26716         * manual/probes.texi (Mathematical Function Probes): Use
26717         "triggered" instead of "hit".
26719         * manual/probes.texi (Internal Probes): Add documentation
26720         of setjmp, longjmp and longjmp_target probes.
26722         * include/stap-probe.h: Add comment about probe argument
26723         format.
26725         * malloc/mtrace.c (attribute_hidden): Remove unused macro
26726         definition.  (tr_where, tr_freehook, tr_mallochook,
26727         tr_reallochook, tr_memalignhook): Use ANSI protoype.
26729 2014-02-11  David S. Miller  <davem@davemloft.net>
26731         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
26732         processing int_tests.
26734 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
26736         * sysdeps/mips: Move directory from ports/sysdeps/mips.
26737         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
26738         * sysdeps/unix/sysv/linux/mips: Move directory from
26739         ports/sysdeps/unix/sysv/linux/mips.
26740         * README: Update listing for mips-*-linux-gnu and
26741         mips64-*-linux-gnu.
26743 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
26745         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
26746         * sysdeps/unix/sysv/linux/m68k: Move directory from
26747         ports/sysdeps/unix/sysv/linux/m68k.
26748         * README: Update listing for m68k-*-linux-gnu.
26750 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
26752         * sysdeps/tile: Move directory from ports/sysdeps/tile.
26753         * sysdeps/unix/sysv/linux/generic: Move directory from
26754         ports/sysdeps/unix/sysv/linux/generic.
26755         * sysdeps/unix/sysv/linux/tile: Move directory from
26756         ports/sysdeps/unix/sysv/linux/tile.
26757         * README: Update listing for tile*-*-linux-gnu.
26759 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
26761         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
26762         __builtin_expect.
26763         * benchtests/bench-memmem.c (simple_memmem): Likewise.
26764         * catgets/open_catalog.c (__open_catalog): Likewise.
26765         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
26766         * debug/confstr_chk.c: Likewise.
26767         * debug/fread_chk.c (__fread_chk): Likewise.
26768         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
26769         * debug/getgroups_chk.c: Likewise.
26770         * debug/mbsnrtowcs_chk.c: Likewise.
26771         * debug/mbsrtowcs_chk.c: Likewise.
26772         * debug/mbstowcs_chk.c: Likewise.
26773         * debug/memcpy_chk.c: Likewise.
26774         * debug/memmove_chk.c: Likewise.
26775         * debug/mempcpy_chk.c: Likewise.
26776         * debug/memset_chk.c: Likewise.
26777         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26778         * debug/strcat_chk.c (__strcat_chk): Likewise.
26779         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
26780         * debug/strncat_chk.c (__strncat_chk): Likewise.
26781         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
26782         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
26783         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
26784         * debug/wcpncpy_chk.c: Likewise.
26785         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26786         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
26787         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
26788         * debug/wcsncpy_chk.c: Likewise.
26789         * debug/wcsnrtombs_chk.c: Likewise.
26790         * debug/wcsrtombs_chk.c: Likewise.
26791         * debug/wcstombs_chk.c: Likewise.
26792         * debug/wmemcpy_chk.c: Likewise.
26793         * debug/wmemmove_chk.c: Likewise.
26794         * debug/wmempcpy_chk.c: Likewise.
26795         * debug/wmemset_chk.c: Likewise.
26796         * dirent/scandirat.c (SCANDIRAT): Likewise.
26797         * dlfcn/dladdr1.c (dladdr1): Likewise.
26798         * dlfcn/dladdr.c (dladdr): Likewise.
26799         * dlfcn/dlclose.c (dlclose_doit): Likewise.
26800         * dlfcn/dlerror.c (__dlerror): Likewise.
26801         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
26802         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
26803         * dlfcn/dlopen.c (dlopen_doit): Likewise.
26804         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
26805         * dlfcn/dlsym.c (dlsym_doit): Likewise.
26806         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
26807         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
26808         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
26809         Likewise.
26810         * elf/dl-conflict.c: Likewise.
26811         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
26812         * elf/dl-dst.h: Likewise.
26813         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
26814         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
26815         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
26816         * elf/dl-init.c (call_init, _dl_init): Likewise.
26817         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
26818         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
26819         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
26820         Likewise.
26821         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
26822         Likewise.
26823         * elf/dl-minimal.c (__libc_memalign): Likewise.
26824         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
26825         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26826         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
26827         * elf/dl-sym.c (do_sym): Likewise.
26828         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
26829         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
26830         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
26831         * elf/dl-writev.h (_dl_writev): Likewise.
26832         * elf/ldconfig.c (search_dir): Likewise.
26833         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
26834         (dl_main): Likewise.
26835         * elf/setup-vdso.h (setup_vdso): Likewise.
26836         * grp/compat-initgroups.c (compat_call): Likewise.
26837         * grp/fgetgrent.c (fgetgrent): Likewise.
26838         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
26839         * grp/putgrent.c (putgrent): Likewise.
26840         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26841         Likewise.
26842         * hurd/hurdinit.c: Likewise.
26843         * iconvdata/8bit-gap.c (struct): Likewise.
26844         * iconvdata/ansi_x3.110.c : Likewise.
26845         * iconvdata/big5.c : Likewise.
26846         * iconvdata/big5hkscs.c : Likewise.
26847         * iconvdata/cp1255.c: Likewise.
26848         * iconvdata/cp1258.c : Likewise.
26849         * iconvdata/cp932.c : Likewise.
26850         * iconvdata/euc-cn.c: Likewise.
26851         * iconvdata/euc-jisx0213.c : Likewise.
26852         * iconvdata/euc-jp.c: Likewise.
26853         * iconvdata/euc-jp-ms.c : Likewise.
26854         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
26855         * iconvdata/gb18030.c : Likewise.
26856         * iconvdata/gbbig5.c (const): Likewise.
26857         * iconvdata/gbgbk.c: Likewise.
26858         * iconvdata/gbk.c : Likewise.
26859         * iconvdata/ibm1364.c : Likewise.
26860         * iconvdata/ibm930.c : Likewise.
26861         * iconvdata/ibm932.c: Likewise.
26862         * iconvdata/ibm933.c : Likewise.
26863         * iconvdata/ibm935.c : Likewise.
26864         * iconvdata/ibm937.c : Likewise.
26865         * iconvdata/ibm939.c : Likewise.
26866         * iconvdata/ibm943.c: Likewise.
26867         * iconvdata/iso_11548-1.c: Likewise.
26868         * iconvdata/iso-2022-cn.c : Likewise.
26869         * iconvdata/iso-2022-cn-ext.c : Likewise.
26870         * iconvdata/iso-2022-jp-3.c: Likewise.
26871         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
26872         * iconvdata/iso-2022-kr.c : Likewise.
26873         * iconvdata/iso646.c (gconv_end): Likewise.
26874         * iconvdata/iso_6937-2.c : Likewise.
26875         * iconvdata/iso_6937.c : Likewise.
26876         * iconvdata/iso8859-1.c: Likewise.
26877         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
26878         * iconvdata/shift_jisx0213.c : Likewise.
26879         * iconvdata/sjis.c : Likewise.
26880         * iconvdata/t.61.c : Likewise.
26881         * iconvdata/tcvn5712-1.c : Likewise.
26882         * iconvdata/tscii.c: Likewise.
26883         * iconvdata/uhc.c : Likewise.
26884         * iconvdata/unicode.c (gconv_end): Likewise.
26885         * iconvdata/utf-16.c (gconv_end): Likewise.
26886         * iconvdata/utf-32.c (gconv_end): Likewise.
26887         * iconvdata/utf-7.c (base64): Likewise.
26888         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
26889         * iconv/gconv_close.c (__gconv_close): Likewise.
26890         * iconv/gconv_open.c (__gconv_open): Likewise.
26891         * iconv/gconv_simple.c (internal_ucs4_loop_single)
26892         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
26893         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
26894         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
26895         (ucs4le_internal_loop_single): Likewise.
26896         * iconv/iconv.c (iconv): Likewise.
26897         * iconv/iconv_close.c: Likewise.
26898         * iconv/loop.c (SINGLE): Likewise.
26899         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
26900         * include/atomic.h: Likewise.
26901         * inet/inet6_option.c (option_alloc): Likewise.
26902         * intl/bindtextdom.c (set_binding_values): Likewise.
26903         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
26904         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
26905         * intl/localealias.c (read_alias_file): Likewise.
26906         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26907         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
26908         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
26909         * libio/fmemopen.c (fmemopen): Likewise.
26910         * libio/iofgets.c (_IO_fgets): Likewise.
26911         * libio/iofgets_u.c (fgets_unlocked): Likewise.
26912         * libio/iofgetws.c (fgetws): Likewise.
26913         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26914         * libio/iogetdelim.c (_IO_getdelim): Likewise.
26915         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
26916         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
26917         * locale/findlocale.c (_nl_find_locale): Likewise.
26918         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26919         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
26920         Likewise.
26921         * locale/setlocale.c (setlocale): Likewise.
26922         * login/programs/pt_chown.c (main): Likewise.
26923         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
26924         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
26925         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
26926         (mmap, mmap64, mremap, munmap): Likewise.
26927         * math/e_exp2l.c: Likewise.
26928         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
26929         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
26930         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
26931         * math/s_catan.c (__catan): Likewise.
26932         * math/s_catanf.c (__catanf): Likewise.
26933         * math/s_catanh.c (__catanh): Likewise.
26934         * math/s_catanhf.c (__catanhf): Likewise.
26935         * math/s_catanhl.c (__catanhl): Likewise.
26936         * math/s_catanl.c (__catanl): Likewise.
26937         * math/s_ccosh.c (__ccosh): Likewise.
26938         * math/s_ccoshf.c (__ccoshf): Likewise.
26939         * math/s_ccoshl.c (__ccoshl): Likewise.
26940         * math/s_cexp.c (__cexp): Likewise.
26941         * math/s_cexpf.c (__cexpf): Likewise.
26942         * math/s_cexpl.c (__cexpl): Likewise.
26943         * math/s_clog10.c (__clog10): Likewise.
26944         * math/s_clog10f.c (__clog10f): Likewise.
26945         * math/s_clog10l.c (__clog10l): Likewise.
26946         * math/s_clog.c (__clog): Likewise.
26947         * math/s_clogf.c (__clogf): Likewise.
26948         * math/s_clogl.c (__clogl): Likewise.
26949         * math/s_csin.c (__csin): Likewise.
26950         * math/s_csinf.c (__csinf): Likewise.
26951         * math/s_csinh.c (__csinh): Likewise.
26952         * math/s_csinhf.c (__csinhf): Likewise.
26953         * math/s_csinhl.c (__csinhl): Likewise.
26954         * math/s_csinl.c (__csinl): Likewise.
26955         * math/s_csqrt.c (__csqrt): Likewise.
26956         * math/s_csqrtf.c (__csqrtf): Likewise.
26957         * math/s_csqrtl.c (__csqrtl): Likewise.
26958         * math/s_ctan.c (__ctan): Likewise.
26959         * math/s_ctanf.c (__ctanf): Likewise.
26960         * math/s_ctanh.c (__ctanh): Likewise.
26961         * math/s_ctanhf.c (__ctanhf): Likewise.
26962         * math/s_ctanhl.c (__ctanhl): Likewise.
26963         * math/s_ctanl.c (__ctanl): Likewise.
26964         * math/w_pow.c: Likewise.
26965         * math/w_powf.c: Likewise.
26966         * math/w_powl.c: Likewise.
26967         * math/w_scalb.c (sysv_scalb): Likewise.
26968         * math/w_scalbf.c (sysv_scalbf): Likewise.
26969         * math/w_scalbl.c (sysv_scalbl): Likewise.
26970         * misc/error.c (error_tail): Likewise.
26971         * misc/pselect.c (__pselect): Likewise.
26972         * nis/nis_callback.c (__nis_create_callback): Likewise.
26973         * nis/nis_call.c (__nisfind_server): Likewise.
26974         * nis/nis_creategroup.c (nis_creategroup): Likewise.
26975         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
26976         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
26977         * nis/nis_getservlist.c (nis_getservlist): Likewise.
26978         * nis/nis_lookup.c (nis_lookup): Likewise.
26979         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
26980         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
26981         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
26982         * nis/nis_xdr.c (xdr_endpoint): Likewise.
26983         * nis/nss_compat/compat-grp.c (getgrent_next_file)
26984         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
26985         * nis/nss_compat/compat-initgroups.c (add_group)
26986         (internal_getgrent_r): Likewise.
26987         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
26988         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
26989         * nis/nss_compat/compat-spwd.c (getspent_next_file)
26990         (internal_getspnam_r): Likewise.
26991         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
26992         (_nss_nis_getaliasbyname_r): Likewise.
26993         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
26994         (_nss_nis_getntohost_r): Likewise.
26995         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
26996         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
26997         (_nss_nis_getgrgid_r): Likewise.
26998         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
26999         (internal_nis_gethostent_r, internal_gethostbyname2_r)
27000         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
27001         (_nss_nis_gethostbyname4_r): Likewise.
27002         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
27003         (initgroups_netid): Likewise.
27004         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
27005         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
27006         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
27007         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
27008         (_nss_nis_getprotobynumber_r): Likewise.
27009         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
27010         (_nss_nis_getsecretkey): Likewise.
27011         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
27012         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
27013         (_nss_nis_getpwuid_r): Likewise.
27014         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
27015         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
27016         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
27017         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
27018         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
27019         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
27020         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
27021         Likewise.
27022         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
27023         (_nss_nisplus_getntohost_r): Likewise.
27024         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
27025         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
27026         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
27027         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
27028         Likewise.
27029         * nis/nss_nisplus/nisplus-initgroups.c
27030         (_nss_nisplus_initgroups_dyn): Likewise.
27031         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
27032         (_nss_nisplus_getnetbyaddr_r): Likewise.
27033         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
27034         (_nss_nisplus_getprotobynumber_r): Likewise.
27035         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
27036         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
27037         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
27038         Likewise.
27039         * nis/nss_nisplus/nisplus-service.c
27040         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
27041         (_nss_nisplus_getservbyport_r): Likewise.
27042         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
27043         (_nss_nisplus_getspnam_r): Likewise.
27044         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
27045         Likewise.
27046         * nscd/aicache.c (addhstaiX): Likewise.
27047         * nscd/cache.c (cache_search, prune_cache): Likewise.
27048         * nscd/connections.c (register_traced_file, send_ro_fd)
27049         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
27050         (main_loop_epoll): Likewise.
27051         * nscd/grpcache.c (addgrbyX): Likewise.
27052         * nscd/hstcache.c (addhstbyX): Likewise.
27053         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27054         * nscd/mem.c (gc, mempool_alloc): Likewise.
27055         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
27056         (addinnetgrX): Likewise.
27057         * nscd/nscd-client.h (__nscd_acquire_maplock)
27058         (__nscd_drop_map_ref): Likewise.
27059         * nscd/nscd_getai.c (__nscd_getai): Likewise.
27060         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27061         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
27062         Likewise.
27063         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27064         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27065         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
27066         (__nscd_get_map_ref): Likewise.
27067         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
27068         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
27069         Likewise.
27070         * nscd/pwdcache.c (addpwbyX): Likewise.
27071         * nscd/selinux.c (preserve_capabilities): Likewise.
27072         * nscd/servicescache.c (addservbyX): Likewise.
27073         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
27074         * posix/fnmatch.c (fnmatch): Likewise.
27075         * posix/getopt.c (_getopt_internal_r): Likewise.
27076         * posix/glob.c (glob, glob_in_dir): Likewise.
27077         * posix/wordexp.c (exec_comm_child): Likewise.
27078         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
27079         (getanswer_r, gaih_getanswer_slice): Likewise.
27080         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
27081         * resolv/res_init.c: Likewise.
27082         * resolv/res_mkquery.c (res_nmkquery): Likewise.
27083         * resolv/res_query.c (__libc_res_nquery): Likewise.
27084         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
27085         Likewise.
27086         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
27087         * stdio-common/perror.c (perror): Likewise.
27088         * stdio-common/printf_fp.c (___printf_fp): Likewise.
27089         * stdio-common/tmpnam.c (tmpnam): Likewise.
27090         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27091         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27092         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27093         Likewise.
27094         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27095         * stdlib/putenv.c (putenv): Likewise.
27096         * stdlib/setenv.c (__add_to_environ): Likewise.
27097         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27098         * stdlib/strtol_l.c (INTERNAL): Likewise.
27099         * string/memmem.c (memmem): Likewise.
27100         * string/strerror.c (strerror): Likewise.
27101         * string/strnlen.c (__strnlen): Likewise.
27102         * string/test-memmem.c (simple_memmem): Likewise.
27103         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
27104         * sunrpc/pm_getport.c (__get_socket): Likewise.
27105         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
27106         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
27107         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
27108         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
27109         Likewise.
27110         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27111         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27112         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
27113         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
27114         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
27115         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
27116         Likewise.
27117         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
27118         Likewise.
27119         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27120         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27121         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27122         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27123         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27124         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
27125         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27126         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
27127         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
27128         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
27129         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27130         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
27131         Likewise.
27132         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
27133         Likewise.
27134         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
27135         Likewise.
27136         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
27137         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27138         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
27139         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
27140         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27141         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
27142         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27143         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
27144         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
27145         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
27146         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
27147         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27148         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27149         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
27150         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27151         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
27152         Likewise.
27153         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
27154         Likewise.
27155         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
27156         Likewise.
27157         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
27158         Likewise.
27159         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27160         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27161         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
27162         Likewise.
27163         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
27164         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
27165         * sysdeps/posix/opendir.c (__opendirat): Likewise.
27166         * sysdeps/posix/sleep.c: Likewise.
27167         * sysdeps/posix/tempname.c: Likewise.
27168         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
27169         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27170         Likewise.
27171         * sysdeps/powerpc/powerpc32/dl-machine.h
27172         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
27173         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27174         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27175         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
27176         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
27177         Likewise.
27178         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
27179         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
27180         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27181         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
27182         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27183         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
27184         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
27185         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
27186         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27187         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
27188         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
27189         (elf_machine_lazy_rel): Likewise.
27190         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27191         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
27192         (elf_machine_lazy_rel): Likewise.
27193         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
27194         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
27195         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
27196         * sysdeps/unix/grantpt.c (grantpt): Likewise.
27197         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
27198         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
27199         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
27200         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27201         Likewise.
27202         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27203         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27204         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
27205         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
27206         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27207         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27208         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
27209         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
27210         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
27211         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27212         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27213         Likewise.
27214         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
27215         (__posix_fallocate64_l64): Likewise.
27216         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
27217         (posix_fallocate): Likewise.
27218         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27219         Likewise.
27220         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27221         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
27222         (getifaddrs_internal): Likewise.
27223         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
27224         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
27225         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27226         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27227         * sysdeps/unix/sysv/linux/posix_fallocate64.c
27228         (__posix_fallocate64_l64): Likewise.
27229         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27230         Likewise.
27231         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
27232         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
27233         (__get_clockfreq): Likewise.
27234         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
27235         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27236         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
27237         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27238         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27239         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
27240         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
27241         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
27242         Likewise.
27243         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
27244         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
27245         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27246         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
27247         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27248         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
27249         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
27250         Likewise.
27251         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27252         (posix_fallocate): Likewise.
27253         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27254         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27255         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
27256         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
27257         (elf_machine_rela, elf_machine_rela_relative)
27258         (elf_machine_lazy_rel): Likewise.
27259         * time/asctime.c (asctime_internal): Likewise.
27260         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
27261         * time/tzset.c (__tzset_parse_tz): Likewise.
27262         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27263         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27264         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
27265         * wcsmbs/wcsmbsload.h: Likewise.
27267         [BZ #15894]
27268         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
27270         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
27271         (arena_get2): Remove THREAD_STATS conditionals.
27272         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
27273         (__malloc_stats, int): Likewise.
27275 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
27277         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
27278         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
27280         * manual/setjmp.texi: Fix typos/grammar errors.
27282         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
27283         Only return early when n is <= 0.  Delete unused return statement.
27285         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
27286         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
27287         * debug/tst-longjmp_chk3.c: New file.
27289         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
27290         (test_main): Replace code with set_fortify_handler call.
27291         * debug/test-strcpy_chk.c: Likewise.
27292         * debug/tst-chk1.c: Likewise.
27293         * debug/tst-longjmp_chk.c: Likewise.
27294         * test-skeleton.c: Include fcntl.h & paths.h
27295         (set_fortify_handler): Define.
27297         * debug/tst-longjmp_chk.c: Add header comment and include
27298         ../test-skeleton.c.
27299         (do_test): Mark static.
27300         (TEST_FUNCTION): Define.
27302         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
27303         (IP_PMTUDISC_INTERFACE): Likewise.
27304         (IP_MULTICAST_IF): Likewise.
27305         (IP_MULTICAST_TTL): Likewise.
27306         (IP_MULTICAST_LOOP): Likewise.
27307         (IP_ADD_MEMBERSHIP): Likewise.
27308         (IP_DROP_MEMBERSHIP): Likewise.
27309         (IP_UNBLOCK_SOURCE): Likewise.
27310         (IP_BLOCK_SOURCE): Likewise.
27311         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
27312         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
27313         (IP_MSFILTER): Likewise.
27314         (MCAST_JOIN_GROUP): Likewise.
27315         (MCAST_BLOCK_SOURCE): Likewise.
27316         (MCAST_UNBLOCK_SOURCE): Likewise.
27317         (MCAST_LEAVE_GROUP): Likewise.
27318         (MCAST_JOIN_SOURCE_GROUP): Likewise.
27319         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
27320         (MCAST_MSFILTER): Likewise.
27321         (IP_MULTICAST_ALL): Likewise.
27322         (IP_UNICAST_IF): Likewise.
27324         * timezone/Makefile: Delete $(have-ksh) check.
27325         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
27326         * timezone/tzselect.ksh: Add +x mode bits.
27328         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
27329         (ANON_INODE_FS_MAGIC): Likewise.
27330         (BDEVFS_MAGIC): Likewise.
27331         (BINFMTFS_MAGIC): Likewise.
27332         (BTRFS_TEST_MAGIC): Likewise.
27333         (CRAMFS_MAGIC_WEND): Likewise.
27334         (DEBUGFS_MAGIC): Likewise.
27335         (ECRYPTFS_SUPER_MAGIC): Likewise.
27336         (EXT3_SUPER_MAGIC): Likewise.
27337         (EXT4_SUPER_MAGIC): Likewise.
27338         (FUTEXFS_SUPER_MAGIC): Likewise.
27339         (HOSTFS_SUPER_MAGIC): Likewise.
27340         (HUGETLBFS_MAGIC): Likewise.
27341         (MINIX3_SUPER_MAGIC): Likewise.
27342         (MTD_INODE_FS_MAGIC): Likewise.
27343         (NILFS_SUPER_MAGIC): Likewise.
27344         (OPENPROM_SUPER_MAGIC): Likewise.
27345         (PIPEFS_MAGIC): Likewise.
27346         (PSTOREFS_MAGIC): Likewise.
27347         (QNX6_SUPER_MAGIC): Likewise.
27348         (RAMFS_MAGIC): Likewise.
27349         (REISERFS_SUPER_MAGIC_STRING): Likewise.
27350         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
27351         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
27352         (SECURITYFS_MAGIC): Likewise.
27353         (SELINUX_MAGIC): Likewise.
27354         (SMACK_MAGIC): Likewise.
27355         (SOCKFS_MAGIC): Likewise.
27356         (SQUASHFS_MAGIC): Likewise.
27357         (STACK_END_MAGIC): Likewise.
27358         (TMPFS_MAGIC): Likewise.
27359         (USBDEVICE_SUPER_MAGIC): Likewise.
27360         (V9FS_MAGIC): Likewise.
27361         (XENFS_SUPER_MAGIC): Likewise.
27362         (CRAMFS_MAGIC): Fix typo in comment.
27363         (EXT2_SUPER_MAGIC): Update comment.
27364         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
27366 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
27368         * sysdeps/arm: Move directory from ports/sysdeps/arm.
27369         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
27370         * sysdeps/unix/sysv/linux/arm: Move directory from
27371         ports/sysdeps/unix/sysv/linux/arm.
27372         * README: Update listing for arm-*-linux-gnueabi.
27374         * README: Remove mention of am33.
27376 2014-02-07  Roland McGrath  <roland@hack.frob.com>
27378         * bits/sigset.h (__sigemptyset): Use a statement expression rather
27379         than the comma operator, to avoid "rhs of comma has no effect"
27380         compiler warnings.
27381         (__sigfillset, __sigandset, __sigorset): Likewise.
27382         * include/signal.h (__sigemptyset): Likewise.
27383         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
27385 2014-02-07  Allan McRae  <allan@archlinux.org>
27387         * version.h (RELEASE): Set to "development".
27388         (VERSION): Set to "2.19.90"
27389         * NEWS: Add 2.20 section.
27391 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
27393         [BZ #16529]
27394         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
27396 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27398         * manual/contrib.texi: Update entry for Carlos O'Donell,
27399         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
27401 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
27403         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
27405         * sysdeps/unix/sysv/linux/kernel-features.h
27406         [__LINUX_KERNEL_VERSION >= 0x020621]
27407         (__ASSUME_PROC_PID_TASK_COMM): Define.
27409 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27411         [BZ #16398]
27412         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
27413         conversion when destination buffer does not have enough space.
27414         * libio/tst-ftell-partial-wide.c: New test case.
27415         * libio/Makefile (tests): Add tst-ftell-partial-wide.
27417         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
27418         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
27419         Leonard and Allan McRae.
27421 2014-02-04  David S. Miller  <davem@davemloft.net>
27423         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
27424         32-bit.
27426 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
27429         New file
27430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
27431         New file
27432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
27433         New file.
27434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
27435         New file.
27436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
27437         New file.
27438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
27439         New file.
27440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
27441         New file.
27442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
27443         New file.
27444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
27445         New file.
27446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
27447         New file.
27448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
27449         New file.
27450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
27451         New file.
27452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
27453         New file.
27455 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27457         * nptl/shlib-versions: Change powerpc*le start to 2.17.
27458         * shlib-versions: Likewise.
27460 2014-02-04  Roland McGrath  <roland@hack.frob.com>
27461             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27463         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
27464         (abilist-pattern): New variable, set to %-le.abilist.
27466         * Makerules (abilist-pattern): New variable.
27467         (vpath): Use $(abilist-pattern) in place of %.abilist.
27468         (check-abi-% pattern rule): Likewise.
27469         (check-abi, update-abi): Likewise.
27471 2014-02-04  Eric Wong  <normalperson@yhbt.net>
27473         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27475 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
27477         * manual/startup.texi: Add next, previous, and top entries for
27478         the `Program Arguments' and `Environment Variables' nodes.
27480 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
27482         * manual/macros.texi: Add comments before MTASC-safety macros.
27484         * manual/users.texi: Document MTASC-safety properties.
27486         * manual/threads.texi (pthread_key_create, pthread_key_delete)
27487         (pthread_getspecific, pthread_setspecific): Format with
27488         @deftypefun, and add @safety note.
27489         * manual/signal.texi: Move comments that analyze the above
27490         functions to their home place.
27492 2014-02-03  Allan McRae  <allan@archlinux.org>
27494         * po/sl.po: Update Slovenian translation from translation project.
27496 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
27498         * manual/time.texi (timegm): Add missing blank after @c.
27499         Reported by Joseph Myers <joseph@codesourcery.com>.
27501 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
27503         * manual/check-safety.sh: New.
27504         * manual/Makefile ($(objpfx)stamp-summary): Run it.
27506         * manual/terminal.texi: Document MTASC-safety properties.
27508         * manual/filesys.texi: Document MTASC-safety properties.
27510         * manual/errno.texi: Document MTASC-safety properties.
27512         * manual/intro.texi: Document safety identifiers and
27513         conditionals.
27515         * manual/string.texi (wcstok): Fix prototype.
27516         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
27518         * manual/time.texi: Document MTASC-safety properties.
27520         * manual/string.texi: Document MTASC-safety properties.
27522         * manual/threads.texi: Document MTASC-safety properties.
27524         * manual/stdio.texi: Document MTASC-safety properties.
27526         * manual/syslog.texi: Document MTASC-safety properties.
27528         * manual/sysinfo.texi: Document MTASC-safety properties.
27530         * manual/startup.texi: Document MTASC-safety properties.
27532         * manual/socket.texi: Document MTASC-safety properties.
27534         * manual/signal.texi: Document MTASC-safety properties.
27536 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
27538         * manual/setjmp.texi: Document MTASC-safety properties.
27540         * manual/search.texi: Document MTASC-safety properties.
27542         * manual/resource.texi: Document MTASC-safety properties.
27544         * manual/process.texi: Document MTASC-safety properties.
27546         * manual/platform.texi: Document MTASC-safety properties.
27548         * manual/pipe.texi: Document MTASC-safety properties.
27550         * manual/pattern.texi: Document MTASC-safety properties.
27552         * manual/message.texi: Document MTASC-safety properties.
27554         [BZ #12751]
27555         * manual/memory.texi: Document MTASC-safety properties.
27557         * manual/math.texi: Document MTASC-safety properties.
27559         * manual/locale.texi: Document MTASC-safety properties.
27561         * manual/llio.texi: Document MTASC-safety properties.
27563         * manual/libdl.texi: New.
27565         * manual/lang.texi: Document MTASC-safety properties.
27567         * manual/job.texi: Document MTASC-safety properties.
27569         * manual/getopt.texi: Document MTASC-safety properties.
27571         * manual/ctype.texi: Document MTASC-safety properties.
27573 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
27575         [BZ #16046]
27576         * csu/libc-tls.c (static_map): Remove variable.
27577         (__libc_setup_tls): Use main executable's link map for TLS data.
27578         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
27579         casing for LM_ID_BASE and GL(dl_nns).
27580         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
27581         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
27582         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
27583         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
27584         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
27585         member.
27586         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
27587         l_phnum members.
27589 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
27591         * manual/debug.texi: Document MTASC-safety properties.
27593 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
27595         [BZ #16510]
27596         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
27597         of __x86_64__ when disabling x87 inline functions.
27599 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
27601         * manual/charset.texi: Document MTASC-safety properties.
27603         * manual/crypt.texi: Document MTASC-safety properties.
27605         * manual/conf.texi: Document MTASC-safety properties.
27607         * manual/arith.texi: Document MTASC-safety properties.
27609         * manual/argp.texi: Document MTASC-safety properties.
27611         * manual/macros.texi: Introduce macros to document multi
27612         thread, asynchronous signal and asynchronous cancellation
27613         safety properties.
27614         * manual/intro.texi: Introduce the properties themselves.
27616 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27618         * sysdeps/sh/sh4/Makefile: New file.
27620 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
27622         * math/gen-libm-test.pl ($srcdir): New variable.
27623         ($auto_input): Use it.
27625 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27627         [BZ #16506]
27628         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
27629         access beyond array bounds when parsing netgroups file.
27631         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
27632         the old buffer before realloc.
27634 2014-01-27  Allan McRae  <allan@archlinux.org>
27636         * po/fr.po: Update French translation from translation project.
27638 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27640         * sysdeps/sh/libm-test-ulps: Regenerate.
27642 2014-01-24  David S. Miller  <davem@davemloft.net>
27644         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
27646 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27648         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
27649         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
27651 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27653         [BZ #16474]
27654         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
27655         string pointers after reallocation.
27657 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27659         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
27660         __SH4A__ instead of __SH_FPU_ANY__.
27662 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27664         * sysdeps/sh/fpu_control.h: New file.
27665         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
27666         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
27667         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
27668         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
27669         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
27670         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
27671         * sysdeps/sh/sys/ucontext.h: Remove.
27672         * sysdeps/sh/sys: Remove directory.
27674 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27676         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
27677         s390/sys/ucontext.h.
27678         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
27679         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
27681 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
27683         [BZ #15605]
27684         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
27686 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27688         [BZ#16431]
27689         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27690         Adjust the vDSO correctly for internal calls.
27691         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
27693 2014-01-20  Allan McRae  <allan@archlinux.org>
27695         * po/ca.po: Update Catalan translation from translation project.
27697 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
27699         * sysdeps/s390/sotruss-lib.c: New file.
27701 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27703         [BZ#16430]
27704         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
27705         (__GI___gettimeofday): Alias for a different internal symbol to avoid
27706         local calls issues by not having a PLT stub required for IFUNC calls.
27707         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
27709 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
27711         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
27712         * math/test-fpucw-static.c: Likewise.
27714 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27716         [BZ #16453]
27717         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
27719 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27721         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
27722         implementation for powerpc.
27724 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
27726         [BZ #14782]
27727         * sysdeps/posix/system.c (__libc_system): Do not enable
27728         asynchronous cancellation.
27730 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27732         [BZ #16427]
27733         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
27734         handling only for numbers special also in the IEEE case.
27736 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27738         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27740 2014-01-11  Allan McRae  <allan@archlinux.org>
27742         * po/bg.po: Update Bulgarian translation from translation project.
27744         * po/de.po: Update German translation from translation project.
27746 2014-01-10  Roland McGrath  <roland@hack.frob.com>
27748         * sysdeps/generic/gcc-compat.h: New file.
27750 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27752         * benchtests/asin-inputs: Correct slow inputs.
27753         * benchtests/acos-inputs: Likewise.
27755 2014-01-10  Allan McRae  <allan@archlinux.org>
27757         * po:sv.po: Update Swedish translation from translation project.
27759         * po/vi.po: Update Vietnamese translation from translation project.
27761         * po/eo.po: Update Esperanto translation from translation project.
27763         * po/cs.po: Update Czech translation from translation project.
27765         * po/nl.po: Update Dutch translation from translation project.
27767         * po/pl.po: Update Polish translation from translation project.
27769         * po/ru.po: Update Russian translation from translation project.
27771         * po/uk.po: Update Ukrainian translation from translation project.
27773 2014-01-08  Brooks Moses  <bmoses@google.com>
27775         * elf/dl-load.c: Fix comment typo.
27777 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
27779         * po/header.pot: Rename to...
27780         * po/pot.header: ... this.
27781         * po/Makefile: Use pot.header.
27783 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
27784             Maxim Kuvyrkov  <maxim@kugelworks.com>
27786         [BZ #16394]
27787         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
27788         SRC and DEST against LEN.
27790 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27792         [BZ #16414]
27793         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
27794         implementation.
27795         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
27797 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27801 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
27803         [BZ #16408]
27804         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
27805         for large positive arguments.
27807 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
27809         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27811         * math/auto-libm-test-in: Mark various tests with
27812         xfail-rounding:ldbl-128ibm.
27813         * math/auto-libm-test-out: Regenerated.
27815         [BZ #16407]
27816         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27817         Increase overflow threshold.
27819 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
27821         [BZ #14286]
27822         * stdio-common/vfprintf.c: Check for integer overflow.
27824 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27826         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
27827         the first argument and return value of __tls_get_addr_internal.
27829 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27831         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
27832         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
27834 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27836         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
27837         * sysdeps/s390/rtld-global-offsets.sym: New file.
27838         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
27839         GLIBC_2.19 symbol.
27840         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
27841         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
27842         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27843         ... this.
27844         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
27845         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27846         ... this.
27847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27848         Regenerate.
27849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27850         Regenerate.
27851         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
27852         halfs of GPRs for high_gprs contexts.
27853         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
27854         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
27855         field.
27856         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
27857         uc_flags field.
27858         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
27859         64 bit versions:
27860         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
27861         for high GPRs (uc_high_gprs) and for future extensions
27862         (__reserved).
27863         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
27864         for future extensions (__reserved).
27865         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
27866         64 bit versions:
27867         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
27868         SC_HIGHGPRS offset definition.
27869         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
27870         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
27872         * Versions.def: Add GLIBC_2.19 for libpthread.
27873         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
27874         siglongjmp for libpthread with GLIBC_2.19 symver.
27875         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
27876         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
27877         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
27878         * sysdeps/s390/__longjmp.c: New file.
27879         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
27880         * sysdeps/s390/longjmp.c: New file.
27881         * sysdeps/s390/setjmp.S: New file.
27882         * sysdeps/s390/sigjmp.S: New file.
27883         * sysdeps/s390/v1-longjmp.c: New file.
27884         * sysdeps/s390/v1-setjmp.h: New file.
27885         * sysdeps/s390/v1-sigjmp.c: New file.
27886         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
27887         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
27888         GLIBC_2.19 version.
27889         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
27890         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
27891         versioned symbols for ____longjmp_chk.
27892         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27893         Likewise.
27894         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27895         Regenerate.
27896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27897         Regenerate.
27898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27899         Regenerate.
27900         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27901         Regenerate.
27902         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
27903         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
27904         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
27905         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
27906         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
27907         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
27908         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
27909         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
27910         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
27911         * sysdeps/s390/rtld-__longjmp.c: New file.
27912         * sysdeps/s390/rtld-setjmp.S: New file.
27914 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
27916         [BZ #16400]
27917         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27918         Return -__logl (x) for small positive arguments without evaluating
27919         a polynomial.
27921 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
27923         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
27924         Rename to ...
27925         (__ptrace_peeksiginfo_args): ... this.
27926         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27927         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27928         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27930 2014-01-06  Allan McRae  <allan@archlinux.org>
27932         * inet/netinet/in.h: Fix typo in comment.
27934 2014-01-05  Andreas Jaeger  <aj@suse.de>
27936         * sysdeps/i386/fpu/libm-test-ulps: Update.
27938 2014-01-05  Allan McRae  <allan@archlinux.org>
27940         * po/libc.pot: Regenerated.
27942         * malloc/memusagestat.c: Fix gettext call formatting.
27944 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
27946         * nscd/nscd.c: Improve usage() output.
27948 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
27950         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
27951         * sysdeps/unix/sysv/linux/configure: Regenerated.
27952         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
27953         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
27955 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
27957         [BZ #16390]
27958         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27959         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
27961 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27963         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
27964         extra tokens at end of #undef directive.
27965         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27966         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27967         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27969 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
27971         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27973         * math/auto-libm-test-in: Mark various tests with
27974         xfail-rounding:ldbl-128ibm.
27975         * math/auto-libm-test-out: Regenerated.
27977 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
27979         [BZ #16386]
27980         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
27981         numbers with subnormal high part when calculating exponent.
27983         [BZ #16385]
27984         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
27985         fabs.
27987         [BZ #16384]
27988         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
27989         M_LN2l.
27990         (__ieee754_acoshl): Use __log1pl not __log1p.
27992 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
27994         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
27995         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
27996         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
27997         (grow_heap, heap_trim, _int_new_arena, get_free_list)
27998         (reused_arena, arena_get2): Convert to GNU style.
27999         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
28000         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
28001         (memalign_check, __malloc_set_state): Likewise.
28002         * malloc/mallocbug.c (main): Likewise.
28003         * malloc/malloc.c (__malloc_assert, malloc_init_state)
28004         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
28005         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
28006         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
28007         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
28008         (__posix_memalign, malloc_info): Likewise.
28009         * malloc/malloc.h: Likewise.
28010         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
28011         (mallochook, memalignhook, reallochook, mabort): Likewise.
28012         * malloc/mcheck.h: Likewise.
28013         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
28014         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
28015         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
28016         * malloc/morecore.c (__default_morecore): Likewise.
28017         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
28018         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
28019         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
28020         (print_and_abort): Likewise.
28021         * malloc/obstack.h: Likewise.
28022         * malloc/set-freeres.c (__libc_freeres): Likewise.
28023         * malloc/tst-mallocstate.c (main): Likewise.
28024         * malloc/tst-mtrace.c (main): Likewise.
28025         * malloc/tst-realloc.c (do_test): Likewise.
28027 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28029         [BZ #16366]
28030         * nscd/netgroupcache.c (do_notfound): New function.
28031         (addgetnetgrentX): Use it.
28033         [BZ # 16365]
28034         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
28035         NSS_STATUS_NOTFOUND.
28037 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
28039         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28042 2014-01-01  Allan McRae  <allan@archlinux.org>
28044         * scripts/update-copyrights: Update configure input file suffix.
28046         * NEWS: Update copyright year.
28047         * catgets/gencat.c: Likewise.
28048         * csu/version.c: Likewise.
28049         * debug/catchsegv.sh: Likewise.
28050         * debug/pcprofiledump.c: Likewise.
28051         * debug/xtrace.sh: Likewise.
28052         * elf/ldconfig.c: Likewise.
28053         * elf/ldd.bash.in: Likewise.
28054         * elf/pldd.c: Likewise.
28055         * elf/sotruss.ksh: Likewise.
28056         * elf/sprof.c: Likewise.
28057         * iconv/iconv_prog.c: Likewise.
28058         * iconv/iconvconfig.c: Likewise.
28059         * locale/programs/locale.c: Likewise.
28060         * locale/programs/localedef.c: Likewise.
28061         * login/programs/pt_chown.c: Likewise.
28062         * malloc/memusage.sh: Likewise.
28063         * malloc/memusagestat.c: Likewise.
28064         * malloc/mtrace.pl: Likewise.
28065         * manual/libc.texinfo: Likewise.
28066         * nscd/nscd.c: Likewise.
28067         * nss/getent.c: Likewise.
28068         * nss/makedb.c: Likewise.
28069         * posix/getconf.c: Likewise.
28070         * scripts/test-installation.pl: Likewise.
28072         * All files with FSF copyright notices: Update copyright dates
28073         using scripts/update-copyrights.
28074         * intl/plural.c: Regenerated.
28075         * locale/programs/charmap-kw.h: Likewise.
28076         * locale/programs/locfile-kw.h: Likewise.
28078 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
28080         * sysdeps/unix/sysv/linux/configure: Regenerated.
28081         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
28082         the linux/fanotify.h header.
28083         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
28084         HAVE_LINUX_FANOTIFY_H is defined.
28086 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28088         * benchtests/cos-inputs: New inputs.
28089         * benchtests/sin-inputs: Likewise.
28091         * benchtests/atan-inputs: New inputs. Fix name of multiple
28092         precision fallback inputs.
28094         * benchtests/atanh-inputs: New inputs.
28095         * benchtests/tanh-inputs: Likewise.
28097         * benchtests/acosh-inputs: New inputs.
28098         * benchtests/asinh-inputs: Likewise.
28100         * benchtests/cosh-inputs: New inputs.
28101         * benchtests/sinh-inputs: Likewise.
28103         * benchtests/acos-inputs: Add more inputs.
28104         * benchtests/asin-inputs: Likewise.
28106 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
28108         [BZ #16375]
28109         * manual/arith.texi: Fix spelling.
28110         * manual/charset.texi: Likewise.
28111         * manual/errno.texi: Likewise.
28112         * manual/filesys.texi: Likewise.
28113         * manual/lang.texi: Likewise.
28114         * manual/llio.texi: Likewise.
28115         * manual/locale.texi: Likewise.
28116         * manual/message.texi: Likewise.
28117         * manual/resource.texi: Likewise.
28118         * manual/search.texi: Likewise.
28119         * manual/setjmp.texi: Likewise.
28120         * manual/stdio.texi: Likewise.
28121         * manual/string.texi: Likewise.
28122         * manual/sysinfo.texi: Likewise.
28123         * manual/time.texi: Likewise.
28125 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
28127         * po/sl.po: New file.
28129 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
28131         * .gitignore: Add core/.gdbinit/.gdb_history.
28133 2013-12-27  Allan McRae  <allan@archlinux.org>
28135         [BZ #16369]
28136         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
28137         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
28139 2013-12-24  Brooks Moses  <bmoses@google.com>
28141         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
28142         all compilers that claim C++98 compliance, not just GCC.
28143         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28144         Likewise.
28146 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
28148         * NEWS: Restore accidentally deleted bug-fix entries.
28150 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
28151             Ondřej Bílka  <neleai@seznam.cz>
28153         [BZ #15073]
28154         * malloc/malloc.c (_int_free): Perform sanity check only if we
28155         have_lock.
28157 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
28159         [BZ #12986]
28160         * manual/stdio.texi (String Input Conversions): Clarify that character
28161         classes are not supported.
28163 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28167 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
28169         [BZ #16337]
28170         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28171         Calculate results for small negative arguments directly rather
28172         than using reflection formula with special underflow handling.
28174         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
28175         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
28176         sysdeps/unix/bsd/bsd4.4/syscalls.list.
28177         (fchflags): Likewise.
28178         (revoke): Likewise.
28179         (setlogin): Likewise.
28180         (sigaltstack): Likewise.
28181         (wait4): Likewise.
28182         (sigblock): Remove.
28183         (sigsetmask): Likewise.
28184         (wait3): Likewise.
28185         (waitpid): Likewise.
28186         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
28187         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
28188         file.
28189         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
28190         * sysdeps/unix/bsd/Makefile: ... here.
28191         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
28192         * sysdeps/unix/bsd/Versions: ... here.
28193         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
28194         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
28195         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
28196         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
28197         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
28198         * sysdeps/unix/bsd/sigblock.c: ... here.
28199         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
28200         * sysdeps/unix/bsd/sigsetmask.c: ... here.
28201         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
28202         * sysdeps/unix/bsd/sigvec.c: ... here.
28203         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
28204         * sysdeps/unix/bsd/tcdrain.c: ... here.
28205         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
28206         * sysdeps/unix/bsd/tcgetattr.c: ... here.
28207         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
28208         * sysdeps/unix/bsd/tcsetattr.c: ... here.
28209         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
28210         * sysdeps/unix/bsd/wait.c: ... here.
28211         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
28212         * sysdeps/unix/bsd/wait3.c: ... here.
28213         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
28214         * sysdeps/unix/bsd/waitpid.c: ... here.
28216 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
28218         [BZ #16356]
28219         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
28220         round-to-nearest for [!USE_AS_EXPM1L].
28221         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
28222         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
28223         more tests of exp and exp10.  Expect some exp10 tests to miss
28224         exceptions or fail in directed rounding modes.
28225         * math/auto-libm-test-out: Regenerated.
28226         * math/libm-test.inc (exp10_tonearest_test_data): New array.
28227         (exp10_test_tonearest): New function.
28228         (exp10_towardzero_test_data): New array.
28229         (exp10_test_towardzero): New function.
28230         (exp10_downward_test_data): New array.
28231         (exp10_test_downward): New function.
28232         (exp10_upward_test_data): New array.
28233         (exp10_test_upward): New function.
28234         (main): Call the new functions.
28235         * sysdeps/i386/fpu/libm-test-ulps: Update.
28236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28238 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
28240         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28241         asinh, atan, atan2, atanh, cbrt, cos and cosh.
28242         * math/auto-libm-test-out: Regenerated.
28243         * math/libm-test.inc (acosh_test_data): Add more tests.
28244         (atanh_test_data): Likewise.
28245         (ceil_test_data): Likewise.
28246         (copysign_test_data): Likewise.
28247         * sysdeps/i386/fpu/libm-test-ulps: Update.
28248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28250         * timezone/checktab.awk: Update from tzcode 2013i.
28251         * timezone/private.h: Likewise.
28252         * timezone/scheck.c: Likewise.
28253         * timezone/tzfile.h: Likewise.
28254         * timezone/tzselect.ksh: Likewise.
28255         * timezone/zdump.c: Likewise.
28256         * timezone/zic.c: Likewise.
28258         * math/auto-libm-test-in: Add tests of cpow.
28259         * math/auto-libm-test-out: Regenerated.
28260         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
28261         * math/gen-auto-libm-tests.c (func_calc_method): Add value
28262         mpc_cc_c.
28263         (func_calc_desc): Add mpc_cc_c union field.
28264         (test_functions): Add cpow.
28265         (special_fill_2pi): New function.
28266         (special_real_inputs): Add 2pi.
28267         (calc_generic_results): Handle mpc_cc_c.
28268         * sysdeps/i386/fpu/libm-test-ulps: Update.
28269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28271         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
28272         csqrt, ctan and ctanh.
28273         * math/auto-libm-test-out: Regenerated.
28274         * math/libm-test.inc (TEST_COND_x86_64): New macro.
28275         (TEST_COND_x86): Likewise.
28276         (ccos_test_data): Use AUTO_TESTS_c_c.
28277         (ccosh_test_data): Likewise.
28278         (cexp_test_data): Likewise.
28279         (clog_test_data): Likewise.
28280         (csqrt_test_data): Likewise.
28281         (ctan_test_data): Likewise.
28282         (ctan_tonearest_test_data): Likewise.
28283         (ctan_towardzero_test_data): Likewise.
28284         (ctan_downward_test_data): Likewise.
28285         (ctan_upward_test_data): Likewise.
28286         (ctanh_test_data): Likewise.
28287         (ctanh_tonearest_test_data): Likewise.
28288         (ctanh_towardzero_test_data): Likewise.
28289         (ctanh_downward_test_data): Likewise.
28290         (ctanh_upward_test_data): Likewise.
28291         * math/gen-auto-libm-tests.c (func_calc_method): Add value
28292         mpc_c_c.
28293         (func_calc_desc): Add mpc_c_c union field.
28294         (FUNC_mpc_c_c): New macro.
28295         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
28296         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
28297         ctanh.
28298         (special_fill_min_subnorm_p120): New function.
28299         (special_real_inputs): Add min_subnorm_p120.
28300         (calc_generic_results): Handle mpc_c_c.
28301         * sysdeps/i386/fpu/libm-test-ulps: Update.
28302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28304 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28306         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
28307         (do_sin_slow): New functions.
28308         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
28309         (cslow2, csloww1, csloww2): Use the new functions.
28311         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
28312         Use M to change sign of result instead of X.  Assume X is
28313         positive.
28314         (csloww1): Likewise.
28315         (__sin): Adjust.
28316         (__cos): Adjust.
28318         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
28319         arguments A and DA.
28320         (__sin): Adjust.
28321         (__cos): Likewise.
28323         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
28324         (__cos): Likewise.
28325         (sloww1): Don't adjust sign of DX.
28326         (csloww1): Likewise.
28327         (sloww2): Use X directly and don't adjust sign of DX.
28328         (csloww2): Likewise.
28330 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
28332         * math/auto-libm-test-in: Add tests of cabs and carg.
28333         * math/auto-libm-test-out: Regenerated.
28334         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
28335         (carg_test_data): Likewise.
28336         * math/gen-auto-libm-tests.c (func_calc_method): Add value
28337         mpc_c_f.
28338         (func_calc_desc): Add mpc_c_f union field.
28339         (test_functions): Add cabs and carg.
28340         (calc_generic_results): Handle mpc_c_f.
28342         * sysdeps/powerpc/powerpc32/libgcc-compat.S
28343         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
28344         as a macro and a compat symbol.
28345         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28346         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28347         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28348         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28349         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
28350         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
28351         not use .hidden.
28352         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
28353         Likewise.
28354         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
28355         Likewise.
28356         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
28357         Likewise.
28358         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
28359         Likewise.
28360         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
28361         Likewise.
28362         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
28363         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
28364         from GLIBC_2.3.2.
28366 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28368         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28370 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
28372         * manual/texinfo.tex: Update to version 2013-11-26.10 with
28373         trailing whitespace removed.
28374         * scripts/config.guess: Update to version 2013-11-29.
28375         * scripts/config.sub: Update to version 2013-10-01.
28377         * math/auto-libm-test-in: Add tests of sincos.
28378         * math/auto-libm-test-out: Regenerated.
28379         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
28380         * math/gen-auto-libm-tests.c (func_calc_method): Add value
28381         mpfr_f_11.
28382         (func_calc_desc): Add mpfr_f_11 union field.
28383         (test_functions): Add sincos.
28384         (calc_generic_results): Handle mpfr_f_11.
28385         * sysdeps/i386/fpu/libm-test-ulps: Update.
28386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28388 2013-12-19  Andreas Schwab  <schwab@suse.de>
28390         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
28391         CALL_MCOUNT.
28392         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28393         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
28394         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
28396 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
28398         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
28399         * sysdeps/i386/fpu/libm-test-ulps: Update.
28400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28402         [BZ #16293]
28403         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
28404         round-to-nearest mode when using frndint.
28405         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
28406         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28407         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28408         Likewise.
28409         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
28410         sinh test to fail.
28411         * math/auto-libm-test-out: Regenerated.
28412         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
28413         (TEST_COND_x86): Likewise.
28414         (expm1_tonearest_test_data): New array.
28415         (expm1_test_tonearest): New function.
28416         (expm1_towardzero_test_data): New array.
28417         (expm1_test_towardzero): New function.
28418         (expm1_downward_test_data): New array.
28419         (expm1_test_downward): New function.
28420         (expm1_upward_test_data): New array.
28421         (expm1_test_upward): New function.
28422         (main): Run the new test functions.
28423         * sysdeps/i386/fpu/libm-test-ulps: Update.
28424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28426         * include/features.h: Update comment documenting feature test
28427         macros.  Mention _DEFAULT_SOURCE in comment.
28428         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
28429         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
28430         _BSD_SOURCE and _SVID_SOURCE.
28431         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
28432         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
28433         !_SVID_SOURCE]: Likewise.
28434         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28435         (__USE_POSIX_IMPLICITLY): Define.
28436         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28437         (_POSIX_SOURCE): Undefine and redefine.
28438         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28439         (_POSIX_C_SOURCE): Likewise.
28440         * manual/creature.texi (_DEFAULT_SOURCE): Document.
28441         (Feature Test Macros): Update documentation of default features.
28443 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28445         * benchtests/Makefile: Add bench-strtok.
28446         * benchtests/bench-strtok.c: New file: strtok benchtest.
28448 2013-12-19  Allan McRae  <allan@archlinux.org>
28450         * manual/install.texi: Suppress menu for plain text output.
28451         * INSTALL: Regenerated.
28453 2013-12-18  Brooks Moses  <bmoses@google.com>
28455         [BZ #15846]
28456         * misc/getauxval.c: Include errno.h.
28457         (__getauxval): Set errno to ENOENT if the requested type is not
28458         found.
28459         * misc/sys/auxv.h (getauxval): Document that it may set errno;
28460         don't declare with __attribute_const__.
28461         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
28462         * manual/startup.texi: Document that getauxval sets errno.
28464 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
28466         * math/auto-libm-test-in: Add tests of jn and yn.
28467         * math/auto-libm-test-out: Regenerated.
28468         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
28469         (yn_test_data): Likewise.
28470         * math/gen-auto-libm-tests.c (func_calc_method): Add value
28471         mpfr_if_f.
28472         (func_calc_desc): Add mpfr_if_f union field.
28473         (FUNC_mpfr_if_f): New macro.
28474         (test_functions): Add jn and yn.
28475         (calc_generic_results): Assert type of second input for
28476         mpfr_ff_f.  Handle mpfr_if_f.
28477         (output_for_one_input_case): Disable all checking for arguments
28478         fitting floating-point types in case of an integer argument.
28479         * sysdeps/i386/fpu/libm-test-ulps: Update.
28480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28483         Don't expect fegetround reference in libm.so.
28485 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28487         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
28488         $(config-cflags-nofma).
28490 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
28492         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
28493         * math/auto-libm-test-out: Regenerated.
28495         [BZ #16338]
28496         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
28497         to determine exponent and adjust argument to have exponent of -1.
28498         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
28499         log2.
28500         * math/auto-libm-test-out: Regenerated.
28501         * sysdeps/i386/fpu/libm-test-ulps: Update.
28502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28504 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
28506         * manual/probes.texi: Remove cases when per-thread arenas are
28507         disabled.
28509 2013-12-18  Andreas Schwab  <schwab@suse.de>
28511         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
28512         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
28513         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
28514         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
28515         * sysdeps/i386/i686/multiarch/Makefile: Update.
28516         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
28518 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
28520         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
28521         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
28523 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
28525         [BZ #15968]
28526         Support TZ transition times < 00:00:00.
28527         This is needed for version-3 tz-format files; it supports time
28528         stamps past 2037 for America/Godthab (the only entry in the tz
28529         database for which this change is relevant).
28530         * manual/time.texi (TZ Variable): Document transition times
28531         from -167:59:59 through -00:00:01.
28532         * time/tzset.c (tz_rule): Time of day is now signed.
28533         (__tzset_parse_tz): Parse negative time of day.
28535         Document TZ transition times >= 25:00:00.
28536         * manual/time.texi (TZ Variable): Document transition times from
28537         25:00:00 through 167:59:59.  These are already supported, and this
28538         support will help with version-3 tz-format files.
28540         * manual/time.texi (TZ Variable): Modernize North America example
28541         to reflect current (i.e., 2007-and-later) daylight saving rules.
28543         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
28545 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
28547         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
28548         * sysdeps/unix/bsd/bits/stat.h: Likewise.
28549         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
28550         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28551         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
28552         * sysdeps/unix/bsd/bsdstat.h: Likewise.
28553         * sysdeps/unix/bsd/clock.c: Likewise.
28554         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
28555         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
28556         * sysdeps/unix/bsd/init-posix.c: Likewise.
28557         * sysdeps/unix/bsd/poll.c: Likewise.
28558         * sysdeps/unix/bsd/ptsname.c: Likewise.
28559         * sysdeps/unix/bsd/seekdir.c: Likewise.
28560         * sysdeps/unix/bsd/setegid.c: Likewise.
28561         * sysdeps/unix/bsd/seteuid.c: Likewise.
28562         * sysdeps/unix/bsd/setgid.c: Likewise.
28563         * sysdeps/unix/bsd/setrgid.c: Likewise.
28564         * sysdeps/unix/bsd/setruid.c: Likewise.
28565         * sysdeps/unix/bsd/setsid.c: Likewise.
28566         * sysdeps/unix/bsd/setuid.c: Likewise.
28567         * sysdeps/unix/bsd/sigaction.c: Likewise.
28568         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
28569         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
28570         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
28571         * sysdeps/unix/bsd/telldir.c: Likewise.
28572         * sysdeps/unix/bsd/times.c: Likewise.
28573         * sysdeps/unix/bsd/usleep.c: Likewise.
28575         * misc/Makefile (install-lib): Remove libbsd-compat.a.
28576         ($(objpfx)libbsd-compat.a): Remove rule.
28578         * include/features.h (__FAVOR_BSD): Do not define.
28579         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
28580         features conflicting with POSIX.
28581         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
28582         (_BSD_SOURCE): Remove description of not being a subset of other
28583         feature test macros.
28584         * manual/job.texi (getpgrp): Do not document BSD version.
28585         (getpgid): Do not document by reference to BSD getpgrp.
28586         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
28587         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
28588         * signal/signal.h [__FAVOR_BSD]: Likewise.
28589         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
28590         instead of making contents conditional on [__FAVOR_BSD].
28591         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
28593 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28597 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
28599         [BZ #16314]
28600         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
28601         values below 2**-450, not 2**-500.
28602         * math/auto-libm-test-in: Don't allow spurious underflow from
28603         hypot.
28604         * math/auto-libm-test-out: Regenerated.
28606         [BZ #16316]
28607         [BZ #16330]
28608         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
28609         values of ha and hb and sort them after adjusting subnormal
28610         arguments.
28611         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
28612         Likewise.
28613         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
28614         values of ea and eb and sort them after adjusting subnormal
28615         arguments.
28616         * math/auto-libm-test-in: Do not expect some hypot tests of
28617         subnormals to fail.  Add more hypot tests.
28618         * math/auto-libm-test-out: Regenerated.
28620 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28622         [BZ #13304]
28623         * sysdeps/sh/s_fma.c: New file.
28624         * sysdeps/sh/s_fmaf.c: New file.
28625         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
28626         version.
28627         * sysdeps/sh/Implies: Add sh/soft-fp.
28629 2013-12-16  Roland McGrath  <roland@hack.frob.com>
28631         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
28632         level of indirection to members `objname', `errstring', `malloced'.
28633         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
28634         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
28635         it as the __longjmp argument (just pass 1 instead).
28636         (_dl_catch_error): Initialize C with argument pointers and address of
28637         volatile local ERRCODE rather than copying values out of C at return.
28639 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
28641         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
28642         * math/auto-libm-test-out: Regenerated.
28643         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
28644         (hypot_test_data): Likewise.
28645         (pow_test_data): Likewise.
28646         (pow_tonearest_test_data): Likewise.
28647         * math/gen-auto-libm-tests.c (func_calc_method): Add value
28648         mpfr_ff_f.
28649         (func_calc_desc): Add mpfr_ff_f union field.
28650         (FUNC_mpfr_ff_f): New macro.
28651         (test_functions): Add atan2, hypot and pow.
28652         (special_fill_min): New function.
28653         (special_fill_minus_min): Likewise.
28654         (special_fill_min_subnorm): Likewise.
28655         (special_fill_minus_min_subnorm): Likewise.
28656         (special_real_inputs): Add min, -min, min_subnorm and
28657         -min_subnorm.
28658         (calc_generic_results): Handle mpfr_ff_f.
28659         * sysdeps/i386/fpu/libm-test-ulps: Update.
28660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28662 2013-12-16  Will Newton  <will.newton@linaro.org>
28664         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
28665         (Aligned Memory Blocks): Add documentation for aligned_alloc
28666         and suggest it as an alternative to posix_memalign.
28667         (Hooks for Malloc): Document __memalign_hook is also called
28668         for aligned_alloc.  (Summary of Malloc): Add summary for
28669         aligned alloc.  Document __memalign_hook is also called
28670         for aligned_alloc.
28672 2013-12-16  Will Newton  <will.newton@linaro.org>
28674         * manual/memory.texi (Malloc Examples): Clarify default
28675         alignment documentation.  Suggest posix_memalign rather
28676         than memalign or valloc.
28677         (Aligned Memory Blocks): Remove suggestion to use memalign
28678         or valloc.  Remove obsolete comment about BSD.
28679         Document memalign errno values and mark the function obsolete.
28680         Document posix_memalign returned error codes.  Mark valloc
28681         as obsolete.  (Hooks for Malloc): __memalign_hook is also
28682         called for posix_memalign and valloc.
28683         (Summary of Malloc): Add posix_memalign to function summary.
28684         __memalign_hook is also called for posix_memalign and valloc.
28686 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28688         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
28689         TAYLOR_SIN.
28690         (__sin): Adjust.
28691         (__cos): Likewise.
28692         (sloww): Use mynumber union.  Expand ternary operator into
28693         if-else statements.
28694         (cslow): use mynumber union.
28696 2013-12-16  Allan McRae  <allan@archlinux.org>
28698         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
28699         * configure: Regenerated.
28701         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
28703         [BZ #14120]
28704         * configure.ac: Added --enable-maintainer-mode. Check for
28705         autoconf when enabled.
28706         * configure: Regenerated.
28708         * nscd/nscd.service: New file.
28709         * nscd/nscd.tmpfiles: New file.
28711 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
28713         [BZ #12100]
28714         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
28715         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
28716         * sysdeps/x86_64/multiarch/strstr.c: ... here.
28717         (strstr): Add __strstr_sse2_unaligned ifunc.
28718         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
28719         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
28720         (strcasestr): Remove __strcasestr_sse42 ifunc.
28721         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
28722         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28723         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28725 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28727         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
28728         * sysdeps/sh/bits/fenv.h: ... here.
28729         * sysdeps/sh/sh4/fpu/bits: Remove directory.
28731 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28733         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
28735         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
28736         hypotf multiarch implementations.
28737         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
28738         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
28739         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
28740         multiarch hypot for PPC64.
28741         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
28742         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
28743         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
28744         multiarch hypotf for PPC64.
28746         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
28747         modff multiarch implementations.
28748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
28749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
28750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
28751         multiarch modf for PPC64.
28752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
28753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
28754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
28755         multiarch modff for PPC64.
28757         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
28758         and logl multiarch implementations.
28759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
28760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
28761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
28762         multiarch logb for PPC64.
28763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
28764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
28765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
28766         multiarch logb for PPC64.
28767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
28768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
28769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
28770         multiarch logb for PPC64.
28772         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
28773         isinff multiarch implementation.
28774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
28775         file.
28776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
28777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
28778         multiarch isinf for PPC64.
28779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
28780         file.
28781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
28782         multiarch isinff for PPC64.
28784         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
28785         finitef multiarch implementation.
28786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
28787         file.
28788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
28789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
28790         multiarch finite for PPC64.
28791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
28792         file.
28793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
28794         multiarch finitef for PPC64.
28796         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
28797         lrint multiarch implementation.
28798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
28799         file.
28800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
28801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
28802         multiarch llrint for PPC64.
28803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
28804         multiarch lrint for PPC64.
28806         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
28807         copysignf multiarch implementation.
28808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
28809         file.
28810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
28811         file.
28812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
28813         multiarch copysign for PPC64.
28814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
28815         multiarch copysignf for PPC64.
28817         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
28818         multiarch implementation.
28819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
28820         file.
28821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
28822         file.
28823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
28824         file.
28825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
28826         file.
28827         multiarch llround for PPC64.
28828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
28829         multiarch trunc for PPC64.
28830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
28831         multiarch truncf for PPC64.
28833         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
28834         multiarch implementation.
28835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
28836         file.
28837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
28838         file.
28839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
28840         file.
28841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
28842         file.
28843         multiarch llround for PPC64.
28844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
28845         multiarch round for PPC64.
28846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
28847         multiarch roundf for PPC64.
28849         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
28850         multiarch implementation.
28851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
28852         file.
28853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
28854         file.
28855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
28856         file.
28857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
28858         file.
28859         multiarch llround for PPC64.
28860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
28861         multiarch floor for PPC64.
28862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
28863         multiarch floorf for PPC64.
28865         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
28866         multiarch implementation.
28867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
28868         file.
28869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
28870         file.
28871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
28872         file.
28873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
28874         file.
28875         multiarch llround for PPC64.
28876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
28877         multiarch ceil for PPC64.
28878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
28879         multiarch ceilf for PPC64.
28881         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28882         multiarch implementation.
28883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
28884         file.
28885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
28886         file.
28887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
28888         file.
28889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
28890         multiarch llround for PPC64.
28891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
28892         multiarch lround for PPC64.
28894         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28895         multiarch implementation.
28896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
28897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
28898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
28899         file.
28900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
28901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
28902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
28903         multiarch isnan for PPC64.
28904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
28905         multiarch isnanf for PPC64.
28907         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
28908         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
28909         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
28910         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
28911         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
28912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
28914         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
28915         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28916         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28917         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28919         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
28920         multiarch implementations.
28921         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28922         (__libc_ifunc_impl_list): Likewise.
28923         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
28924         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
28925         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
28926         multiarch stpcpy for PPC64.
28928         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
28929         multiarch implementations.
28930         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28931         (__libc_ifunc_impl_list): Likewise.
28932         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
28933         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
28934         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
28935         multiarch strcpy for PPC64.
28937         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
28938         redefine function name.
28939         (_wordcopy_fwd_dest_aligned): Likewise.
28940         (_wordcopy_bwd_aligned): Likewise.
28941         (_wordcopy_bwd_dest_aligned): Likewise.
28942         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
28943         multiarch implementations.
28944         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28945         (__libc_ifunc_impl_list): Likewise.
28946         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
28947         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
28948         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
28949         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
28950         multiarch wcscpy for PPC64.
28952         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
28953         multiarch implementations.
28954         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28955         (__libc_ifunc_impl_list): Likewise.
28956         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
28957         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
28958         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
28959         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
28960         multiarch wcscpy for PPC64.
28962         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
28963         multiarch implementations.
28964         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28965         (__libc_ifunc_impl_list): Likewise.
28966         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
28967         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
28968         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
28969         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
28970         multiarch wcsrchr for PPC64.
28972         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
28973         multiarch implementations.
28974         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28975         (__libc_ifunc_impl_list): Likewise.
28976         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
28977         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
28978         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
28979         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
28980         multiarch wcschr for PPC64.
28982         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
28983         multiarch implementations.
28984         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28985         (__libc_ifunc_impl_list): Likewise.
28986         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
28987         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
28988         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
28989         multiarch strchrnul for PPC64.
28991         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
28992         implementations.
28993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28994         (__libc_ifunc_impl_list): Likewise.
28995         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
28996         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
28997         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
28998         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
28999         strchr for PPC64.
29001         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
29002         implementations.
29003         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29004         (__libc_ifunc_impl_list): Likewise.
29005         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
29006         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
29007         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
29008         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
29009         strncmp for PPC64.
29011         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
29012         multiarch implementations.
29013         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29014         (__libc_ifunc_impl_list): Likewise.
29015         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
29016         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
29017         strncasecmp for PPC64.
29018         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
29019         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
29020         multiarch strncasecmp_l for PPC64.
29022         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
29023         multiarch implementations.
29024         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29025         (__libc_ifunc_impl_list): Likewise.
29026         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
29027         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
29028         multiarch strcasecmp for PPC64.
29029         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
29030         file.
29031         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
29032         multiarch strcasecmp_l for PPC64.
29034         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
29035         implementations.
29036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29037         (__libc_ifunc_impl_list): Likewise.
29038         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
29039         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
29040         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
29041         strnlen for PPC64.
29043         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
29044         implementations.
29045         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29046         (__libc_ifunc_impl_list): Likewise.
29047         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
29048         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
29049         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
29050         strlen for PPC64.
29052         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
29053         implementations.
29054         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29055         (__libc_ifunc_impl_list): Likewise.
29056         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
29057         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
29058         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
29059         rawmemrchr for PPC64.
29061         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
29062         implementation.
29063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29064         (__libc_ifunc_impl_list): Likewise.
29065         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
29066         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
29067         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
29068         memrchr for PPC64.
29070         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
29071         implementation.
29072         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29073         (__libc_ifunc_impl_list): Likewise.
29074         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
29075         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
29076         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
29077         memchr for PPC64.
29079         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
29080         implementation.
29081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29082         (__libc_ifunc_impl_list): Likewise.
29083         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
29084         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
29085         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
29086         mempcpy for PPC64.
29088         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
29089         avoid cretion of __bzero symbol.
29090         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
29091         Likewise.
29092         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
29093         Likewise.
29094         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
29095         Likewise.
29096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
29097         multiarch implementations.
29098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29099         (__libc_ifunc_impl_list): Likewise.
29100         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
29101         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
29102         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
29103         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
29104         bzero for PPC32.
29105         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
29106         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
29107         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
29108         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
29109         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
29110         memset for PPC64.
29111         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
29113         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
29114         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
29115         implementations.
29116         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29117         (__libc_ifunc_impl_list): Likewise.
29118         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
29119         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
29120         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
29121         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
29122         memcmp for PPC64.
29124         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
29125         multiarch for POWER/PPC64.
29126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
29127         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
29128         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
29129         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
29130         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
29131         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
29132         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
29133         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
29134         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
29135         memcpy for PPC64.
29137         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
29138         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
29139         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
29140         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
29141         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
29142         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
29143         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
29144         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
29145         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
29146         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
29147         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
29148         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
29149         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
29150         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
29151         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
29152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
29153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
29154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
29155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
29156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
29157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
29158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
29160 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29162         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
29164 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29166         * benchtests/Makefile (bench): Add exp2 and log2.
29167         (LDLIBS-bench-exp2): Add -lm.
29168         (LDLIBS-bench-log2): Likewise.
29169         * benchtests/exp2-inputs: New inputs file.
29170         * benchtests/log2-inputs: New inputs file.
29171         * benchtests/log-inputs: Add new inputs.
29172         * benchtests/tan-inputs: Likewise.
29174 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29176         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
29177         definition...
29178         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
29179         (csloww2): ... from here.
29181         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
29182         instead of structures.
29183         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
29184         (POLYNOMIAL): Likewise.
29185         (TAYLOR_SLOW): Likewise.
29186         (__sin): Likewise.
29187         (__cos): Likewise.
29188         (slow1): Likewise.
29189         (slow2): Likewise.
29190         (sloww): Likewise.
29191         (sloww1); Likewise.
29192         (sloww2): Likewise.
29193         (bsloww1): Likewise.
29194         (bsloww2): Likewise.
29195         (cslow2): Likewise.
29196         (csloww): Likewise.
29197         (csloww1): Likewise.
29198         (csloww2): Likewise.
29200 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
29202         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
29203         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
29204         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
29205         * malloc/hooks.c (realloc_check): Likewise.
29207         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
29208         * malloc/arena.c: Remove PER_THREAD conditional.
29209         [!PER_THREAD]: Remove code.
29210         (ptmalloc_unlock_all2): Likewise.
29211         (ptmalloc_init): Likewise.
29212         (_int_new_arena): Likewise.
29213         (arena_get2): Likewise.
29214         * malloc/hooks.c (__malloc_get_state): Likewise.
29215         (__malloc_set_state): Likewise.
29216         * malloc/malloc.c: Likewise.
29217         (struct malloc_state): Likewise.
29218         (struct malloc_par): Likewise.
29219         (__libc_realloc): Likewise.
29220         (__libc_mallopt): Likewise.
29222 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29224         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
29226 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
29228         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
29229         macro to a function.  Check for zero perturb_byte.
29230         (_int_malloc, _int_free): Remove zero perturb_byte checks.
29232         * malloc/malloc.c: (force_reg): Remove.
29233         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
29234         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
29235         force_reg by atomic_forced_read.
29236         * malloc/arena.c (ptmalloc_init): Likewise.
29237         * malloc/hooks.c (top_check): Likewise.
29239 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29243 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
29245         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29247 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
29249         * math/auto-libm-test-in: Add tests of lgamma.
29250         * math/auto-libm-test-out: Regenerated.
29251         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
29252         (M_LOG_2_SQRT_PIl): Likewise.
29253         (lgamma_test_data): Use AUTO_TESTS_f_f1.
29254         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29255         mpfr_f_f1.
29256         (func_calc_desc): Add mpfr_f_f1 union field.
29257         (ARGS1): New macro.
29258         (ARGS2): Likewise.
29259         (ARGS3): Likewise.
29260         (ARGS4): Likewise.
29261         (RET1): Likewise.
29262         (RET2): Likewise.
29263         (CALC): Likewise.
29264         (FUNC): Likewise.
29265         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
29266         (test_functions): Add lgamma.
29267         (calc_generic_results): Handle mpfr_f_f1.
29268         * sysdeps/i386/fpu/libm-test-ulps: Update.
29269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29271 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29273         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
29274         __mpn_add_n for PowerPC64/POWER7.
29275         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
29276         __mpn_sub_n for PowerPC64/POWER7.
29278         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
29279         __mpn_addmul_1 for PowerPC64.
29280         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
29281         __mpn_submul_1 for PowerPC64.
29282         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
29283         for PowerPC64.
29284         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
29285         for PowerPC64.
29287 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
29289         [BZ #15089]
29290         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
29292 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29294         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
29296         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
29297         add multiarch folders.
29298         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
29299         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
29300         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
29301         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
29302         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
29303         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
29304         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
29305         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
29306         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
29307         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
29308         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
29309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
29310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
29311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
29312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
29313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
29314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
29316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29317         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
29318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
29319         New file.
29320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
29321         New file.
29322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
29323         multiarch __ieee754_hypot for PowerPC32.
29324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
29325         New file.
29326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
29327         New file.
29328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
29329         multiarch __ieee754_hypotf for PowerPC32.
29331         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
29332         long_double_symbol only if __logbl is defined.
29333         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
29334         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
29335         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
29336         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
29337         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
29338         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
29339         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
29340         path for implementation.
29341         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
29342         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
29343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
29344         logb, and logbl multiarch implementations for PowerPC32.
29345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
29346         file.
29347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
29348         file.
29349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
29350         multiarch logb for PowerPC32.
29351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
29352         file.
29353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
29354         file.
29355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
29356         multiarch logbf for PowerPC32.
29357         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
29358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
29359         file.
29360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
29361         multiarch logbl implementation for PowerPC32.
29363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
29364         and modff multiarch implementations.
29365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
29366         New file.
29367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
29368         New file.
29369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
29370         multiarch modf for PowerPC32.
29371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
29372         New file.
29373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
29374         New file.
29375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
29376         multiarch modff for PowerPC32.
29378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
29379         and lrintf multiarch implementations.
29380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
29381         New file.
29382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
29383         New file.
29384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
29385         multiarch lrint for PowerPC32.
29386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
29387         file: multiarch lrintf for PowerPC32.
29389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
29390         and lroundf multiarch implementations.
29391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
29392         New file.
29393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
29394         New file.
29395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
29396         New file.
29397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
29398         multiarch lround for PowerPC32.
29399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
29400         file: multiarch lroundf for PowerPC32.
29402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29403         copysign and copysignf multiarch implementations.
29404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
29405         New file.
29406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
29407         New file.
29408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
29409         file: multiarch copysign for PowerPC32.
29410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
29411         file: multiarch copysignf for PowerPC32.
29413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
29414         and truncf multiarch implementations.
29415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
29416         New file.
29417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
29418         file.
29419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
29420         multiarch trunc for PowerPC32.
29421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
29422         New file.
29423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
29424         New file.
29425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
29426         multiarch truncf for PowerPC32.
29428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
29429         and roundf multiarch implementations.
29430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
29431         New file.
29432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
29433         file.
29434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
29435         multiarch round for PowerPC32.
29436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
29437         New file.
29438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
29439         New file.
29440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
29441         multiarch roundf for PowerPC32.
29443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
29444         and floorf multiarch implementations.
29445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
29446         New file.
29447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
29448         file.
29449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
29450         multiarch floor for PowerPC32.
29451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
29452         New file.
29453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
29454         New file.
29455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
29456         multiarch floorf for PowerPC32.
29458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
29459         and ceilf multiarch implementations.
29460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
29461         New file.
29462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
29463         file.
29464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
29465         multiarch ceil for PowerPC32.
29466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
29467         New file.
29468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
29469         file.
29470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
29471         multiarch ceilf for PowerPC32.
29473         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
29474         is defined.
29475         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
29476         FINITEF is defined.
29477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
29478         and finitef multiarch implementations.
29479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
29480         New file.
29481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
29482         file.
29483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
29484         multiarch finite for PowerPC32.
29485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
29486         New file.
29487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
29488         file: multiarch finitef for PowerPC32.
29490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
29491         and isinff multiarch implementations.
29492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
29493         file.
29494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
29495         file.
29496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
29497         multiarch isinf for PowerPC32.
29498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
29499         New file.
29500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
29501         multiarch isinff for PowerPC32.
29503         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
29504         alias when __isnan is defined.
29505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
29506         and isnanf multiarch implementations.
29507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
29508         file.
29509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
29510         file.
29511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
29512         file.
29513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
29514         file.
29515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
29516         multiarch isnan for PowerPC32.
29517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
29518         New file.
29519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
29520         New file.
29521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
29522         multiarch isnanf for PowerPC32.
29524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
29525         and sqrtf multiarch implementations.
29526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
29527         file.
29528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
29529         file.
29530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
29531         multiarch sqrt for PowerPC32.
29532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
29533         file.
29534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
29535         file.
29536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
29537         multiarch sqrtf for PowerPC32.
29539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
29540         and llroundf multiarch implementations.
29541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
29542         New file.
29543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
29544         New file.
29545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
29546         New file.
29547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
29548         file: multiarch llround for PowerPC32.
29549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
29550         file: multiarch llroundf for PowerPC32.
29552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
29553         multiarch PowerPC32 fpu implementations.
29554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
29555         New file.
29556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
29557         New file.
29558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
29559         multiarch llrint for PowerPC32.
29560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
29561         New file.
29562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
29563         New file.
29564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
29565         file.
29567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
29569         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
29570         file.
29571         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
29572         file.
29573         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
29574         file.
29575         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
29576         multiarch wordcopy for PPC32.
29577         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29578         wordcopy objects.
29579         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29580         (__libc_ifunc_impl_list): Likewise.
29581         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
29582         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
29583         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
29584         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
29585         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
29586         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
29588         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
29589         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
29590         file.
29591         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
29592         file.
29593         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
29594         file.
29595         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
29596         multiarch wcscpy for PPC32.
29597         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29598         multiarch objects.
29599         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29600         (__libc_ifunc_impl_list): Likewise.
29601         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29602         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29603         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
29604         sysdeps/powerpc/power6/wcscpy.c.
29606         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
29607         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
29608         file.
29609         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
29610         file.
29611         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
29612         file.
29613         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
29614         multiarch wcsrchr for PPC32.
29615         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29616         multiarch objects.
29617         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29618         (__libc_ifunc_impl_list): Likewise.
29619         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29620         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29621         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
29622         sysdeps/powerpc/power6/wcsrchr.c.
29624         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
29625         file.
29626         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
29627         file.
29628         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
29629         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
29630         multiarch wcschr for PPc32.
29631         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29632         multiarch objects.
29633         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29634         (__libc_ifunc_impl_list): Likewise.
29635         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
29636         * sysdeps/powerpc/power6/wcschr.c: ... to here.
29637         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
29638         sysdeps/powerpc/power6/wcschr.c.
29640         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
29641         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
29642         file.
29643         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
29644         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
29645         file: multiarch strchr for PPC32.
29646         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
29647         multiarch objects.
29648         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29649         (__libc_ifunc_impl_list): Likewise.
29651         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
29652         name.
29653         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
29654         file.
29655         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
29656         file.
29657         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
29658         multiarch strchrnul for PPC32.
29659         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
29660         multiarch objects.
29661         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29662         (__libc_ifunc_impl_list): Likewise.
29664         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
29665         file.
29666         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
29667         multiarch strncasecmp for PPC32.
29668         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
29669         file.
29670         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
29671         multiarch strncasecmp_l for PPC32.
29672         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
29673         strncasecmp multiarch objects.
29674         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29675         (__libc_ifunc_impl_list): Likewise.
29677         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
29678         file.
29679         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
29680         multiarch strncasecmp for PPC32.
29681         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29682         New file.
29683         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
29684         multiarch strcasecmp_l for PPC32.
29685         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
29686         multiarch objects.
29687         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29688         (__libc_ifunc_impl_list): Likewise.
29690         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
29691         file.
29692         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
29693         file.
29694         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
29695         multiarch strncmp for PPC32.
29696         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
29697         multiarch objects.
29698         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29699         (__libc_ifunc_impl_list): Likewise.
29701         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
29702         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
29703         file.
29704         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
29705         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
29706         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
29707         multiarch objects.
29708         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29709         (__libc_ifunc_impl_list): Likewise.
29711         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
29712         file.
29713         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
29714         file.
29715         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
29716         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
29717         multiarch objects.
29718         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29719         (__libc_ifunc_impl_list): Likewise.
29721         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
29722         file.
29723         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
29724         file.
29725         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
29726         multiarch rawmemchr for PPC32.
29727         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
29728         multiarch objects.
29729         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29730         (__libc_ifunc_impl_list): Likewise.
29732         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
29733         file.
29734         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
29735         file.
29736         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
29737         file: memrchr multiarch for PPC32.
29738         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
29739         multiarch objects.
29740         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29741         (__libc_ifunc_impl_list): Likewise.
29743         * string/memchr.c (__memchr): Using macro to redefine symbol name.
29744         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
29745         file.
29746         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
29747         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
29748         multiarch memchr for PPC32.
29749         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
29750         multiarch objects.
29751         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29752         (__libc_ifunc_impl_list): Likewise.
29754         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
29755         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
29756         file.
29757         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
29758         file.
29759         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
29760         file: multiarch mempcpy for PPC32.
29761         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
29762         multiarch objects.
29763         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29764         (__libc_ifunc_impl_list): Likewise.
29766         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
29767         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
29768         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
29769         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
29770         multiarch bzero for PPC32.
29771         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
29772         file.
29773         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
29774         file.
29775         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
29776         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
29777         file: multiarch memset for PPC32.
29778         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
29779         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
29780         memset multiarch objects.
29781         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29782         (__libc_ifunc_impl_list): Likewise.
29784         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
29785         file.
29786         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
29787         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
29788         memcmp for PPC32.
29789         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
29790         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
29791         multiarch objects.
29792         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29793         (__libc_ifunc_impl_list): Likewise.
29795         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
29796         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
29797         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
29798         file.
29799         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
29800         file.
29801         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
29802         file.
29803         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
29804         multiarch memcpy for PPC32.
29805         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
29806         multiarch objects.
29807         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29808         (__libc_ifunc_impl_list): Likewise.
29810         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
29811         support multiarch for POWER/PPC32.
29812         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
29813         Likewise.
29814         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
29815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
29816         Implies file to make multiarch folder appers before the fpu and
29817         default folder for power4 configuration.
29819 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
29821         * scripts/bench.pl: Append volatile keyword to type.
29823 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29825         * sysdeps/sh/sotruss-lib.c: New file.
29826         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
29828 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29830         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29832 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
29834         [BZ #6810]
29835         * math/w_tgamma.c: Include <errno.h>.
29836         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
29837         * math/w_tgammaf.c: Include <errno.h>.
29838         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
29839         * math/w_tgammal.c: Include <errno.h>.
29840         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
29841         * math/auto-libm-test-in: Do not allow missing errno on tgamma
29842         underflow.  Add more tgamma tests.
29843         * math/auto-libm-test-out: Regenerated.
29844         * sysdeps/i386/fpu/libm-test-ulps: Update.
29845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29847         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
29848         sin, sinh, tan, tanh, tgamma, y0 and y1.
29849         * math/auto-libm-test-out: Regenerated.
29850         * math/libm-test.inc (TEST_COND_x86_64): New macro.
29851         (TEST_COND_x86): Likewise.
29852         (M_E2l): Remove macro.
29853         (M_E3l): Likewise.
29854         (M_2_SQRT_PIl): Likewise.
29855         (M_SQRT_PIl): Likewise.
29856         (M_1_DIV_El): Likewise.
29857         (log_test_data): Use AUTO_TESTS_f_f.
29858         (log10_test_data): Likewise.
29859         (log1p_test_data): Likewise.
29860         (log2_test_data): Likewise.
29861         (sin_test_data): Likewise.
29862         (sin_tonearest_test_data): Likewise.
29863         (sin_towardzero_test_data): Likewise.
29864         (sin_downward_test_data): Likewise.
29865         (sin_upward_test_data): Likewise.
29866         (sinh_test_data): Likewise.
29867         (sinh_tonearest_test_data): Likewise.
29868         (sinh_towardzero_test_data): Likewise.
29869         (sinh_downward_test_data): Likewise.
29870         (sinh_upward_test_data): Likewise.
29871         (tan_test_data): Likewise.
29872         (tan_tonearest_test_data): Likewise.
29873         (tan_towardzero_test_data): Likewise.
29874         (tan_downward_test_data): Likewise.
29875         (tan_upward_test_data): Likewise.
29876         (tanh_test_data): Likewise.
29877         (tgamma_test_data): Likewise.
29878         (y0_test_data): Likewise.
29879         (y1_test_data): Likewise.
29880         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
29881         (special_real_inputs): Add pi/4.
29882         * sysdeps/i386/fpu/libm-test-ulps: Update.
29883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29885 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29887         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
29888         "longjmp_target" static probes.
29889         (__longjmp): Rename to __longjmp_symbol.
29890         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29891         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
29892         on which longjmp to generate.
29893         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29894         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
29895         probe.
29896         (__sigsetjmp): Rename to __sigsetjmp_symbol.
29897         (__sigjmp_save): Rename to __sigjmp_save_symbol.
29898         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29899         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
29900         and __sigjmp_save_symbol based on which sigsetjmp to generated.
29901         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
29902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
29903         __longjmp_symbol based on which __longjmp to generate.
29904         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
29905         probe.
29906         (setjmp): Rename to setjmp_symbol.
29907         (__sigsetjmp): Rename to __sigsetjmp_symbol.
29908         (_setjmp): Rename to _setjmp_symbol.
29909         (__sigsetjmp): Rename to __sigsetjmp_symbol.
29910         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
29911         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
29912         which setjmp to generate.
29913         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
29914         "longjmp_target" static probes.
29916 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29918         * benchtests/README: Add note about output arguments.
29919         * benchtests/bench-sincos.c: Remove file.
29920         * benchtests/sincos-inputs: New file.
29921         * scripts/bench.pl: Identify output arguments and define
29922         static variables for them.
29924         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
29926         [BZ #15941]
29927         * Makefile (INSTALL): Add install-plain.texi as the primary
29928         dependency.
29929         * manual/install-plain.texi: New file.
29930         * manual/install.texi: Include node directive only for
29931         non-plaintext output.
29933 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
29935         * stdlib/longlong.h: Update from GCC.
29937         [BZ #6807]
29938         [BZ #15901]
29939         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
29940         * math/w_j0f.c (y0f): Likewise.
29941         * math/w_j0l.c (__y0l): Likewise.
29942         * math/w_j1.c (y1): Likewise.
29943         * math/w_j1f.c (y1f): Likewise.
29944         * math/w_j1l.c (__y1l): Likewise
29945         * math/w_jn.c (yn): Likewise.
29946         * math/w_jnf.c (ynf): Likewise.
29947         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
29948         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
29949         value for Bessel function domain errors outside _SVID_ mode.
29950         Adjust sign of return value for yn (negative integer, 0).
29951         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
29952         by zero in return for negative x and set sign appropriately for
29953         negative n.
29954         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
29955         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29956         * math/libm-test.inc (y0_test_data): Add more tests and adjust
29957         expectations in error cases.
29958         (y1_test_data): Likewise.
29959         (yn_test_data): Likewise.
29960         * sysdeps/i386/fpu/libm-test-ulps: Update.
29961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29963 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
29965         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
29966         "64" to "64-v1".  Add "64-v2".
29967         (abi-64-options): Rename to ...
29968         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
29969         (abi-64-condition): Rename to ...
29970         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
29971         (abi-64-ld-soname): Rename to ...
29972         (abi-64-v1-ld-soname): ... this.
29973         (abi-64-v2-options): Define.
29974         (abi-64-v2-condition): Likewise.
29975         (abi-64-v2-ld-soname): Likewise.
29976         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
29977         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
29978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
29979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
29980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
29982 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
29983             Alan Modra  <amodra@gmail.com>
29985         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
29986         New versions for use with the ELFv2 ABI.
29987         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
29988         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
29989         declaration.
29990         (struct La_ppc64v2_retval): Likewise.
29991         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
29992         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
29993         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
29994         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
29995         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
29996         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29997         Do not save or restore CR.
29998         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
29999         (_dl_profile_resolve): Do no save or restore CR.  Support extended
30000         return values for ELFv2 ABI.  Fix location of FPR return registers.
30001         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
30002         updated values for _CALL_ELF == 2.
30003         (La_regs, La_retval, int_retval): Likewise.
30005 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30007         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
30008         (FRAME_MIN_SIZE_PARM): Likewise.
30009         (FRAME_BACKCHAIN): Likewise.
30010         (FRAME_CR_SAVE): Likewise.
30011         (FRAME_LR_SAVE): Likewise.
30012         (FRAME_TOC_SAVE): Likewise.
30013         (FRAME_PARM_SAVE): Likewise.
30014         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
30015         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
30016         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30017         (call_mcount_parm_offset): New macro.
30018         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
30019         (PROF): Use symbolic stack frame offsets.
30020         (TAIL_CALL_SYSCALL_ERROR): Likewise.
30021         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
30022         Redefine in terms of FRAME_MIN_SIZE.
30023         (_dl_runtime_resolve): Use symbolic stack frame offsets.
30024         (_dl_profile_resolve): Likewise.  Update comment.
30025         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
30026         symbols stack frame offsets.
30027         (__sigsetjmp): Likewise.
30028         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
30029         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
30030         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
30031         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
30033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
30034         (FRAME_BACKCHAIN): Remove.
30035         (FRAME_CR_SAVE): Likewise.
30036         (FRAME_LR_SAVE): Likewise.
30037         (FRAME_COMPILER_DW): Likewise.
30038         (FRAME_LINKER_DW): Likewise.
30039         (FRAME_TOC_SAVE): Likewise.
30040         (FRAME_PARM_SAVE): Likewise.
30041         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
30042         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
30043         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
30045         (CHECK_SP): Use symbolic stack frame offsets.
30046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
30047         zone" instead of caller's parameter save area for temp storage.
30048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30049         Likewise.  Also, use symbolic stack frame offsets.
30050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
30051         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
30052         our own stack frame instead of the caller's.
30053         (__socket): Use symbolic stack frame offsets.
30055 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30056             Alan Modra  <amodra@gmail.com>
30058         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
30059         Define.
30060         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
30061         (PPC64_LOCAL_ENTRY_OFFSET): Define.
30062         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
30063         New function.
30064         (elf_machine_fixup_plt): Call it.
30065         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
30066         reloc arguments.
30067         (elf_machine_rela): Update call to elf_machine_plt_conflict.
30068         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30069         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
30070         r2 before calling target.
30072 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30073             Alan Modra  <amodra@gmail.com>
30075         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
30076         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
30077         versions of macros to support ELFv2 ABI.
30078         (LOCALENTRY): New macro.
30079         (ENTRY, EALIGN): Use it.
30080         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
30081         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
30082         fall through into ENTRY entry point.
30083         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
30084         Only define if _CALL_ELF != 2.
30086         (elf_machine_matches_host): Verify ABI version matches.
30087         (RTLD_START): Use LOCALENTRY.
30088         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
30089         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
30090         (PLT_ENTRY_WORDS): New macro.
30091         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
30092         (elf_machine_runtime_setup): Support ELFv2 ABI.
30093         (elf_machine_fixup_plt): Likewise.
30094         (elf_machine_plt_conflict): Likewise.
30095         (resolve_ifunc): Likewise.
30096         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
30097         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30098         Likewise.
30099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
30100         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
30101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30102         (makecontext): Support ELFv2 ABI.
30103         * elf/elf.h (EF_PPC64_ABI): Define.
30105 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30107         * sysdeps/powerpc/powerpc64/sysdep.h
30108         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
30109         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
30110         (ENTRY) [ASSEMBLER]: ... but instead here ...
30111         (EALIGN) [ASSEMBLER]: ... and here.
30112         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
30113         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
30114         (ENTRY_2) [!ASSEMBLER]: Use it.
30115         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
30116         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
30117         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30118         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
30119         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
30120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
30121         Use PPC64_LOAD_FUNCPTR.
30123         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
30125 2013-12-04  Alan Modra  <amodra@gmail.com>
30127         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
30128         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
30129         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
30130         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
30132         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
30133         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
30134         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
30135         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
30136         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
30137         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
30139 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30142         (__makecontext): Fix incorrect CFI when backtracing out of
30143         context created via makecontext.
30144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
30145         (__setcontext): Fix incorrect CFI during switch to new context.
30146         (__novec_setcontext): Likewise.
30148 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
30150         [BZ #4772]
30151         * time/strptime_l.c (__strptime_internal): Allow modifiers
30152         in strptime.
30153         * time/tst-strptime.c (day_tests): Add testcase.
30155 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30157         * scripts/bench.pl: Skip over blank lines.
30159 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
30161         [BZ #926]
30162         * manual/time.texi (Calendar Time): Clarify what timezone functions
30163         use.
30165 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30167         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30169 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
30171         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
30172         implementation.
30173         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
30174         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
30175         * debug/memset_chk.c (__memset_chk): Likewise.
30176         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
30177         * debug/strncpy_chk.c: Likewise.
30179 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
30181         [BZ #15268]
30182         [BZ #15425]
30183         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
30184         (__ieee754_exp): For possibly underflowing results, check size of
30185         result and force underflow exception if required.
30186         * math/auto-libm-test-in: Add more tests of exp.
30187         * math/auto-libm-test-out: Regenerated.
30188         * sysdeps/i386/fpu/libm-test-ulps: Update.
30189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30191         [BZ #16283]
30192         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
30193         * math/w_exp2f.c (__exp2f): Likewise.
30194         * math/w_exp2l.c (__exp2l): Likewise.
30195         * math/auto-libm-test-in: Do not allow missing errno on exp2
30196         underflow.
30197         * math/auto-libm-test-out: Regenerated.
30199 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
30201         [BZ #16274]
30202         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
30203         handle filename validation.
30204         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
30205         (do_open): Delete.
30207 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
30209         [BZ #6786]
30210         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
30211         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
30212         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
30213         <float.h>.
30214         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
30215         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
30216         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30217         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
30218         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30219         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
30220         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30221         * math/auto-libm-test-in: Don't allow missing errno from erfc.
30222         Add more erfc tests.
30223         * math/auto-libm-test-out: Regenerated.
30224         * sysdeps/i386/fpu/libm-test-ulps: Update.
30225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30227         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
30228         exp2, expm1, j0 and j1.
30229         * math/auto-libm-test-out: Regenerated.
30230         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
30231         (erfc_test_data): Likewise.
30232         (exp_test_data): Likewise.
30233         (exp_tonearest_test_data): Likewise.
30234         (exp_towardzero_test_data): Likewise.
30235         (exp_downward_test_data): Likewise.
30236         (exp_upward_test_data): Likewise.
30237         (exp10_test_data): Likewise.
30238         (exp2_test_data): Likewise.
30239         (expm1_test_data): Likewise.
30240         (j0_test_data): Likewise.
30241         (j1_test_data): Likewise.
30242         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
30243         (input_flag_type): Add flag_xfail_rounding.
30244         (input_flags): Add xfail-rounding.
30245         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
30246         (output_for_one_input_case): Handle flag_xfail_rounding.
30247         * sysdeps/i386/fpu/libm-test-ulps: Update.
30248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30250 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
30252         [BZ #16289]
30253         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
30254         division by 0.
30256 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30258         [BZ #16195]
30259         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
30260         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
30261         (STAP_PROBE0): New macro.
30262         (STAP_PROBE1): Likewise.
30263         (STAP_PROBE2): Likewise.
30264         (STAP_PROBE3): Likewise.
30265         (STAP_PROBE4): Likewise.
30267 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
30269         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
30271 2013-12-02  Steve Ellcey  <sellcey@mips.com>
30273         * benchtests/Makefile (bench): Add sqrt.
30274         (LDLIBS-bench-sqrt): New.
30275         * benchtests/sqrt-input: New.
30277 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
30279         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
30280         (GAIH_EAI): Likewise.
30281         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
30282         (gaih_inet): Likewise.
30283         (getaddrinfo): Don't use GAIH_EAI.
30285         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
30286         (struct gaih): Remove definition.
30288 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30290         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
30291         Use HERRNOP directly.
30293 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30297 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
30299         * math/gen-auto-libm-tests.c (test_functions): Add more
30300         single-argument functions.
30301         (special_fill_pi_2): New function.
30302         (special_fill_minus_pi_2): Likewise.
30303         (special_fill_pi_6): Likewise.
30304         (special_fill_minus_pi_6): Likewise.
30305         (special_fill_pi_3): Likewise.
30306         (special_fill_2pi_3): Likewise.
30307         (special_fill_e): Likewise.
30308         (special_fill_1_e): Likewise.
30309         (special_fill_e_minus_1): Likewise.
30310         (special_real_inputs): Add more special inputs.
30311         (output_for_one_input_case): Do not require ERANGE on underflow to
30312         zero if round-to-nearest result does not underflow to zero, unless
30313         exact results required.
30314         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
30315         atan, atanh, cbrt, cos and cosh.
30316         * math/auto-libm-test-out: Regenerated.
30317         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
30318         (acos_tonearest_test_data): Likewise.
30319         (acos_towardzero_test_data): Likewise.
30320         (acos_downward_test_data): Likewise.
30321         (acos_upward_test_data): Likewise.
30322         (acosh_test_data): Likewise.
30323         (asin_test_data): Likewise.
30324         (asin_tonearest_test_data): Likewise.
30325         (asin_towardzero_test_data): Likewise.
30326         (asin_upward_test_data): Likewise.
30327         (asinh_test_data): Likewise.
30328         (atan_test_data): Likewise.
30329         (atanh_test_data): Likewise.
30330         (cbrt_test_data): Likewise.
30331         (cos_test_data): Likewise.
30332         (cos_tonearest_test_data): Likewise.
30333         (cos_towardzero_test_data): Likewise.
30334         (cos_downward_test_data): Likewise.
30335         (cos_upward_test_data): Likewise.
30336         (cosh_test_data): Likewise.
30337         (cosh_tonearest_test_data): Likewise.
30338         (cosh_towardzero_test_data): Likewise.
30339         (cosh_downward_test_data): Likewise.
30340         (cosh_upward_test_data): Likewise.
30341         * sysdeps/i386/fpu/libm-test-ulps: Update.
30342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30344 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
30346         [BZ #6787]
30347         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
30348         * math/w_exp10f.c (__exp10f): Likewise.
30349         * math/w_exp10l.c (__exp10l): Likewise.
30350         * math/libm-test.inc (exp10_test_data): Add more tests and expect
30351         errno settings in existing tests.
30353         [BZ #14032]
30354         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
30355         precision control set to double precision.
30356         * sysdeps/i386/fpu/w_sqrt.c: New file.
30357         * math/auto-libm-test-in: Add more tests.
30358         * math/auto-libm-test-out: Update.
30360         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
30361         (sqrt_test_tonearest): New function.
30362         (sqrt_towardzero_test_data): New variable.
30363         (sqrt_test_towardzero): New function.
30364         (sqrt_downward_test_data): New variable.
30365         (sqrt_test_downward): New function.
30366         (sqrt_upward_test_data): New variable.
30367         (sqrt_test_upward): New function.
30368         (main): Call the new functions.
30370         * math/gen-auto-libm-tests.c: New file.
30371         * math/auto-libm-test-in: Likewise.
30372         * math/auto-libm-test-out: New generated file.
30373         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
30374         variables.
30375         (%beautify): Add generated representations of zero.
30376         (top level): Set $auto_input and call parse_auto_input.
30377         (beautify): Remove trailing "f" from hex float constants.
30378         (parse_args): Handle XFAIL_TEST.
30379         (convert_condition): New function.
30380         (or_value): Likewise.
30381         (or_cond_value): Likewise.
30382         (generate_testfile): Handle AUTO_TESTS_* lines.
30383         (parse_auto_input): New function.
30384         * math/libm-test.inc (XFAIL_TEST): New macro.
30385         (ERRNO_UNCHANGED): Update value.
30386         (ERRNO_EDOM): Likewise.
30387         (ERRNO_ERANGE): Likewise.
30388         (IGNORE_RESULT): Likewise.
30389         (TEST_COND_flt_32): New macro.
30390         (TEST_COND_dbl_64): Likewise.
30391         (TEST_COND_ldbl_96_intel): Likewise.
30392         (TEST_COND_ldbl_96_m68k): Likewise.
30393         (TEST_COND_ldbl_128): Likewise.
30394         (TEST_COND_ldbl_128ibm): Likewise.
30395         (TEST_COND_long32): Likewise.
30396         (TEST_COND_long64): Likewise.
30397         (TEST_COND_before_rounding): Likewise.
30398         (TEST_COND_after_rounding): Likewise.
30399         (enable_test): Handle XFAIL_TEST flag.
30400         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
30401         with finite results.
30402         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
30403         auto-libm-test-out.
30405 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30406             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30408         [BZ #16214]
30409         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
30410         __tls_get_addr_internal instead of __tls_get_offset in order to
30411         avoid GOT pointer dependency.  Make rtld export
30412         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
30413         __tls_get_addr since we are a __tls_get_offset platform.
30414         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
30415         GOT pointer being set up before.
30416         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
30418 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
30420         * manual/math.texi (Errors in Math Functions): Document accuracy
30421         goals.
30423         [BZ #15004]
30424         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
30425         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
30426         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30427         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30428         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30429         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30430         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30431         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30432         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30433         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30434         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30435         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30436         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30437         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30438         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30439         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30441         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
30442         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
30443         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
30444         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
30445         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
30446         Likewise.
30447         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
30448         Likewise.
30449         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
30450         Likewise.
30451         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
30452         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
30453         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
30454         atomic-feupdateenv and flt-rounds.
30455         * sysdeps/powerpc/nofpu/Versions (libc): Add
30456         __atomic_feholdexcept, __atomic_feclearexcept,
30457         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
30458         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
30459         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
30460         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
30461         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
30462         here.
30463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30464         Update.
30466         * manual/arith.texi (FP Exceptions): Document that exceptions may
30467         not be raised when matherr is used.
30468         (Math Error Reporting): Document overflow in directed rounding
30469         modes.  Document that errno may not be set when finite values are
30470         returned on overflow.  Document intent to set errno on underflow
30471         only for underflow to zero.
30473         [BZ #16271]
30474         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
30475         round-to-nearest then adjust result for other rounding modes.
30476         * include/fenv.h (fegetround): Use libm_hidden_proto.
30477         * math/fegetround.c (fegetround): Use libm_hidden_def.
30478         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30479         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30480         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30481         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30482         Likewise.
30483         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
30484         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30485         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30486         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
30488 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30490         [BZ #16077]
30491         * nss/Versions (libnss_files): Add
30492         _nss_files_gethostbyname3_r.
30493         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
30494         New function.
30495         (HOST_DB_LOOKUP): Remove macro.
30496         (_nss_files_gethostbyname_r): Implement function without the
30497         HOST_DB_LOOKUP macro.
30498         (_nss_files_gethostbyname2_r): Likewise.
30500 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
30502         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
30504 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
30506         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
30507         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
30508         warning.
30510 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30512         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
30513         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
30514         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30515         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30516         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
30517         __fe_nomask_env_priv and attribute_hidden.
30518         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
30519         (libc_feupdateenv_test_ppc): Likewise.
30520         (libc_feresetround_ppc): Likewise.
30521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30522         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
30523         compat_symbol macro.
30524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30525         (__fe_nomask_env): Likewise.
30526         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
30528 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
30530         * string/Makefile: Remove ifunc tests.
30531         * string/test-string.h: Define TEST_IFUNC.
30532         * string/test-bcopy-ifunc.c: Remove.
30533         * string/test-bzero-ifunc.c: Likewise.
30534         * string/test-memccpy-ifunc.c: Likewise.
30535         * string/test-memchr-ifunc.c: Likewise.
30536         * string/test-memcmp-ifunc.c: Likewise.
30537         * string/test-memcpy-ifunc.c: Likewise.
30538         * string/test-memmem-ifunc.c: Likewise.
30539         * string/test-memmove-ifunc.c: Likewise.
30540         * string/test-mempcpy-ifunc.c: Likewise.
30541         * string/test-memrchr-ifunc.c: Likewise.
30542         * string/test-memset-ifunc.c: Likewise.
30543         * string/test-rawmemchr-ifunc.c: Likewise.
30544         * string/test-stpcpy-ifunc.c: Likewise.
30545         * string/test-stpncpy-ifunc.c: Likewise.
30546         * string/test-strcasecmp-ifunc.c: Likewise.
30547         * string/test-strcasestr-ifunc.c: Likewise.
30548         * string/test-strcat-ifunc.c: Likewise.
30549         * string/test-strchr-ifunc.c: Likewise.
30550         * string/test-strchrnul-ifunc.c: Likewise.
30551         * string/test-strcmp-ifunc.c: Likewise.
30552         * string/test-strcpy-ifunc.c: Likewise.
30553         * string/test-strcspn-ifunc.c: Likewise.
30554         * string/test-strlen-ifunc.c: Likewise.
30555         * string/test-strncasecmp-ifunc.c: Likewise.
30556         * string/test-strncat-ifunc.c: Likewise.
30557         * string/test-strncmp-ifunc.c: Likewise.
30558         * string/test-strncpy-ifunc.c: Likewise.
30559         * string/test-strnlen-ifunc.c: Likewise.
30560         * string/test-strpbrk-ifunc.c: Likewise.
30561         * string/test-strrchr-ifunc.c: Likewise.
30562         * string/test-strspn-ifunc.c: Likewise.
30563         * string/test-strstr-ifunc.c: Likewise.
30565 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
30567         * benchtests/Makefile: Remove ifunc tests.
30568         * benchtests/bench-string.h: Define TEST_IFUNC.
30569         * benchtests/bench-bcopy-ifunc.c: Remove.
30570         * benchtests/bench-bzero-ifunc.c: Likewise.
30571         * benchtests/bench-memccpy-ifunc.c: Likewise.
30572         * benchtests/bench-memchr-ifunc.c: Likewise.
30573         * benchtests/bench-memcmp-ifunc.c: Likewise.
30574         * benchtests/bench-memcpy-ifunc.c: Likewise.
30575         * benchtests/bench-memmem-ifunc.c: Likewise.
30576         * benchtests/bench-memmove-ifunc.c: Likewise.
30577         * benchtests/bench-mempcpy-ifunc.c: Likewise.
30578         * benchtests/bench-memrchr-ifunc.c: Likewise.
30579         * benchtests/bench-memset-ifunc.c: Likewise.
30580         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
30581         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
30582         * benchtests/bench-stpcpy-ifunc.c: Likewise.
30583         * benchtests/bench-stpncpy-ifunc.c: Likewise.
30584         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
30585         * benchtests/bench-strcasestr-ifunc.c: Likewise.
30586         * benchtests/bench-strcat-ifunc.c: Likewise.
30587         * benchtests/bench-strchr-ifunc.c: Likewise.
30588         * benchtests/bench-strchrnul-ifunc.c: Likewise.
30589         * benchtests/bench-strcmp-ifunc.c: Likewise.
30590         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
30591         * benchtests/bench-strcpy-ifunc.c: Likewise.
30592         * benchtests/bench-strcspn-ifunc.c: Likewise.
30593         * benchtests/bench-strlen-ifunc.c: Likewise.
30594         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
30595         * benchtests/bench-strncat-ifunc.c: Likewise.
30596         * benchtests/bench-strncmp-ifunc.c: Likewise.
30597         * benchtests/bench-strncpy-ifunc.c: Likewise.
30598         * benchtests/bench-strnlen-ifunc.c: Likewise.
30599         * benchtests/bench-strpbrk-ifunc.c: Likewise.
30600         * benchtests/bench-strrchr-ifunc.c: Likewise.
30601         * benchtests/bench-strsep-ifunc.c: Likewise.
30602         * benchtests/bench-strspn-ifunc.c: Likewise.
30603         * benchtests/bench-strstr-ifunc.c: Likewise.
30605 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
30607         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
30609 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
30611         * resolv/netdb.h: Use __glibc_reserved instead __unused.
30612         * rt/aio.h: Likewise.
30613         * sysdeps/gnu/bits/utmp.h: Likewise.
30614         * sysdeps/gnu/bits/utmpx.h: Likewise.
30615         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30616         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
30617         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
30618         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
30619         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
30620         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
30621         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
30622         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
30623         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
30624         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
30625         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
30626         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
30627         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
30628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
30629         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30630         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
30631         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
30632         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
30633         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
30634         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
30635         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
30636         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
30637         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
30638         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30639         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
30640         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30641         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
30642         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
30643         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
30644         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
30645         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
30646         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
30647         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
30648         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30649         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
30650         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
30651         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
30652         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
30653         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
30654         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
30655         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
30656         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30658 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
30660         [BZ #16245]
30661         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
30662         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
30664 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
30666         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
30667         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30668         Likewise.
30670 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30672         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
30673         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
30674         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
30675         (__fesetround): Remove define.
30676         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
30677         rounding and exceptions handling.
30678         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
30679         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
30680         (__fe_nomask_env): Likewise.
30681         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
30682         __fegetround instead of fegetround.
30683         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
30684         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
30686 2013-11-21  Roland McGrath  <roland@hack.frob.com>
30688         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
30689         it's there.
30691         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
30693 2013-11-21  Meador Inge  <meadori@codesourcery.com>
30695         [BZ #11157]
30696         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
30697         (encrypt_r): Likewise.
30698         * malloc/obstack.h (obstack_free): Likewise.
30699         * posix/unistd.h (encrypt): Likewise.
30701 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
30703         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
30704         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
30705         DL_CALL_DT_FINI() that call the functions directly.
30706         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
30707         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
30708         * elf/dl-fini.c: Likewise.
30710 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
30712         * malloc/hooks.c (memalign_check): Add alignment rounding.
30713         * malloc/malloc.c (_mid_memalign): New function.
30714         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
30715         Implement by calling _mid_memalign.
30716         * manual/probes.texi (Memory Allocation Probes): Remove
30717         memory_valloc_retry and memory_pvalloc_retry.
30719 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30721         * locale/programs/locarchive.c (open_archive): Add const
30722         qualifier to ARCHIVEFNAME and copy default fname to
30723         DEFAULT_FNAME.
30725         [BZ #15601]
30726         * libio/tst-widetext.input: Rename Oriya to Odia.
30727         * locale/iso-639.def: Likewise.
30729         * manual/probes.texi (Mathematical Function Probes): Add
30730         documentation for sin, cos, asin and acos probes.
30731         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
30732         (__sin32): Add slowasin probe.
30733         (__cos32): Add slowacos probe.
30734         (__mpsin): Add slowsin probe.
30735         (__mpcos): Add slowcos probe.
30737 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
30739         [BZ #15483]
30740         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
30741         thread-local __sim_exceptions_thread and global
30742         __sim_exceptions_global.
30743         (__sim_disabled_exceptions): Change to thread-local
30744         __sim_disabled_exceptions_thread and global
30745         __sim_disabled_exceptions_global.
30746         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30747         and global __sim_round_mode_global.
30748         (__simulate_exceptions): Use thread-local floating-point state and
30749         set global state from it as needed.
30750         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
30751         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
30752         __sim_round_mode_thread.
30753         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
30754         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
30755         and global __sim_exceptions_global.
30756         (__sim_disabled_exceptions): Change to thread-local
30757         __sim_disabled_exceptions_thread and global
30758         __sim_disabled_exceptions_global.
30759         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30760         and global __sim_round_mode_global.
30761         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
30762         (SIM_SET_GLOBAL): Likewise.
30763         * sysdeps/powerpc/soft-fp/sfp-machine.h
30764         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
30765         __sim_round_mode_thread.
30766         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
30767         __sim_disabled_exceptions_thread.
30768         (__sim_exceptions): Change to __sim_exceptions_thread.
30769         (__sim_disabled_exceptions): Change to
30770         __sim_disabled_exceptions_thread.
30771         (__sim_round_mode): Change to __sim_round_mode_thread.
30772         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
30773         thread-local floating-point state and set global state from it as
30774         needed.
30775         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
30776         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
30777         (__sim_disabled_exceptions): Remove extern declaration.
30778         (feenableexcept): Use thread-local floating-point state and set
30779         global state from it as needed.
30780         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
30781         extern declaration.
30782         (__sim_disabled_exceptions): Likewise.
30783         (__sim_round_mode): Likewise.
30784         (__fegetenv): Use thread-local floating-point state.
30785         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
30786         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30787         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
30788         floating-point state and set global state from it as needed.
30789         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
30790         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30791         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
30792         Likewise.
30793         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30794         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
30795         Likewise.
30796         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
30797         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
30798         Use __sim_round_mode_thread.
30799         * math/test-fenv-tls.c: New file.
30800         * math/Makefile (tests): Add test-fenv-tls.
30801         ($(objpfx)test-fenv-tls): Depend on
30802         $(common-objpfx)nptl/libpthread.so.
30804 2013-11-19  Andreas Schwab  <schwab@suse.de>
30806         * locale/programs/locale.c (show_info): Decode wordarray elements.
30807         * locale/categories.def (LC_MONETARY): Add element for
30808         _NL_MONETARY_CRNCYSTR.
30809         * locale/C-monetary.c (conversion_rate): New variable.
30810         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
30811         element.
30813 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
30815         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
30816         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
30818 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
30820         * elf/Makefile (tst-auxv): New test.
30821         * elf/tst-auxv.c: New
30822         * elf/rtld.c (dl_main): Adjust AT_EXECFN
30824 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
30826         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
30827         (hidden_proto): Caller changed.
30828         (hidden_tls_proto): New macro.
30829         (libc_hidden_tls_proto): Likewise.
30830         (rtld_hidden_tls_proto): Likewise.
30831         (libm_hidden_tls_proto): Likewise.
30832         (libresolv_hidden_tls_proto): Likewise.
30833         (librt_hidden_tls_proto): Likewise.
30834         (libdl_hidden_tls_proto): Likewise.
30835         (libnss_files_hidden_tls_proto): Likewise.
30836         (libnsl_hidden_tls_proto): Likewise.
30837         (libnss_nisplus_hidden_tls_proto): Likewise.
30838         (libutil_hidden_tls_proto): Likewise.
30840 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
30842         [BZ #10253]
30843         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
30844         (decompose_rpath): Defer expansion to fillin_rpath.
30845         (_dl_init_paths): Pass linkmap to fillin_rpath.
30847 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30849         * benchtests/Makefile: Add strsep.
30850         * benchtests/bench-strsep.c: New file: strsep benchtest.
30851         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
30853 2013-11-18  Andreas Schwab  <schwab@suse.de>
30855         * locale/programs/locale.c (show_info) [case byte]: Check for
30856         '\377' instead of '\177'.
30857         * locale/C-monetary.c (not_available): Always use "\377".
30858         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
30859         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
30860         detect unavailable sign_posn locale elements.
30861         * locale/localeconv.c (__localeconv): For grouping and
30862         mon_grouping handle "\177" and "\377" like no grouping.
30863         (INT_ELEM): New macro.  Use it to set all numeric members.
30864         * locale/programs/ld-monetary.c (monetary_read)
30865         <tok_mon_grouping>: Normalize single -1 to the empty string.
30866         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
30867         Likewise.
30869 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
30871         [BZ #16055]
30872         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
30873         when we match (nil).
30874         * stdio-common/tst-sscanf.c (struct test): Add testcase.
30876 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
30878         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
30879         (NO_TEST_INLINE): Update value.
30880         (ERRNO_UNCHANGED): Likewise.
30881         (ERRNO_EDOM): Likewise.
30882         (ERRNO_ERANGE): Likewise.
30883         (IGNORE_RESULT): Likewise.
30884         (check_float_internal): Check signs of NaN results if
30885         TEST_NAN_SIGN used.
30886         (check_complex): Pass TEST_NAN_SIGN flag through to second
30887         check_float_internal call.
30888         (copysign_test_data): Add tests with quiet NaNs as second
30889         argument.  Use TEST_NAN_SIGN.
30890         (fabs_test_data): Add test of negative quiet NaN argument.  Use
30891         TEST_NAN_SIGN.
30892         (signbit_test_data): Add tests of quiet NaN argument.
30893         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
30895         * math/gen-libm-test.pl (show_exceptions): Take extra argument
30896         $ignore_result.
30897         (parse_args): Handle function results specified as IGNORE.
30898         * math/libm-test.inc (IGNORE_RESULT): New macro.
30899         (check_float_internal): Do not check numerical result if flag
30900         IGNORE_RESULT set.
30901         (check_complex): Pass through IGNORE_RESULT to second
30902         check_float_internal call.
30903         (check_int): Do not check numerical result if flag IGNORE_RESULT
30904         set.
30905         (check_long): Likewise.
30906         (check_bool): Likewise.
30907         (check_longlong): Likewise.
30908         (lrint_test_data): Add tests of infinite and NaN arguments.
30909         (lrint_tonearest_test_data): Likewise.
30910         (lrint_towardzero_test_data): Likewise.
30911         (lrint_downward_test_data): Likewise.
30912         (lrint_upward_test_data): Likewise.
30913         (llrint_test_data): Likewise.
30914         (llrint_tonearest_test_data): Likewise.
30915         (llrint_towardzero_test_data): Likewise.
30916         (llrint_downward_test_data): Likewise.
30917         (llrint_upward_test_data): Likewise.
30918         (lround_test_data): Likewise.
30919         (llround_test_data): Likewise.
30921         * math/libm-test.inc (NO_TEST_INLINE): New macro.
30922         (ERRNO_UNCHANGED): Update value.
30923         (ERRNO_EDOM): Likewise.
30924         (ERRNO_ERANGE): Likewise.
30925         (NO_TEST_INLINE_FLOAT): New macro.
30926         (NO_TEST_INLINE_DOUBLE): Likewise.
30927         (enable_test): New function.
30928         (RUN_TEST_f_f): Check enable_test before running test.
30929         (RUN_TEST_2_f): Likewise.
30930         (RUN_TEST_fff_f): Likewise.
30931         (RUN_TEST_c_f): Likewise.
30932         (RUN_TEST_f_f1): Likewise.
30933         (RUN_TEST_fF_f1): Likewise.
30934         (RUN_TEST_fI_f1): Likewise.
30935         (RUN_TEST_ffI_f1): Likewise.
30936         (RUN_TEST_c_c): Likewise.
30937         (RUN_TEST_cc_c): Likewise.
30938         (RUN_TEST_f_i): Likewise.
30939         (RUN_TEST_f_i_tg): Likewise.
30940         (RUN_TEST_ff_i_tg): Likewise.
30941         (RUN_TEST_f_b): Likewise.
30942         (RUN_TEST_f_b_tg): Likewise.
30943         (RUN_TEST_f_l): Likewise.
30944         (RUN_TEST_f_L): Likewise.
30945         (RUN_TEST_fFF_11): Likewise.
30946         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
30947         conditionals.
30948         (cosh_test_data): Likewise.
30949         (exp_test_data): Likewise.
30950         (expm1_test_data): Likewise.
30951         (hypot_test_data): Likewise.
30952         (pow_test_data): Likewise.
30953         (sinh_test_data): Likewise.
30954         (tanh_test_data): Likewise.
30955         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
30956         flags argument.
30958         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
30959         tests with quiet NaN input and output.
30960         (acosh_test_data): Likewise.
30961         (asin_test_data): Likewise.
30962         (asinh_test_data): Likewise.
30963         (atan_test_data): Likewise.
30964         (atanh_test_data): Likewise.
30965         (atan2_test_data): Likewise.
30966         (cbrt_test_data): Likewise.
30967         (cos_test_data): Likewise.
30968         (cosh_test_data): Likewise.
30969         (erf_test_data): Likewise.
30970         (erfc_test_data): Likewise.
30971         (exp_test_data): Likewise.
30972         (exp10_test_data): Likewise.
30973         (exp2_test_data): Likewise.
30974         (expm1_test_data): Likewise.
30975         (hypot_test_data): Likewise.
30976         (j0_test_data): Likewise.
30977         (j1_test_data): Likewise.
30978         (jn_test_data): Likewise.
30979         (lgamma_test_data): Likewise.
30980         (log_test_data): Likewise.
30981         (log10_test_data): Likewise.
30982         (log1p_test_data): Likewise.
30983         (log2_test_data): Likewise.
30984         (pow_test_data): Likewise.
30985         (scalb_test_data): Likewise.
30986         (sin_test_data): Likewise.
30987         (sincos_test_data): Likewise.
30988         (sinh_test_data): Likewise.
30989         (tan_test_data): Likewise.
30990         (tanh_test_data): Likewise.
30991         (tgamma_test_data): Likewise.
30992         (y0_test_data): Likewise.
30993         (y1_test_data): Likewise.
30994         (yn_test_data): Likewise.
30996         [BZ #16167]
30997         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
30998         argument being NaN and avoid computations with second argument in
30999         that case.
31000         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31001         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31002         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31004 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
31006         * locale/iso-639.def: Add Chitwani Tharu (the).
31008 2013-11-14  Andreas Schwab  <schwab@suse.de>
31010         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
31011         word instead of empty string.
31013 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31016         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
31017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31018         (__fe_nomask_env): Likewise.
31020 2013-11-13  Steve Ellcey  <sellcey@mips.com>
31022         * benchtests/bench-timing.h: Include time.h.
31024 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
31026         [BZ #15997]
31027         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
31028         to 3.4.0 for x32.
31029         * sysdeps/unix/sysv/linux/configure: Regenerated.
31031 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
31033         [BZ #16151]
31034         * stdlib/strtod_l.c (round_and_return): Do not consider
31035         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
31036         exponent one less than half the least subnormal exponent.
31037         * stdlib/test-strtod-round-data: Add more tests.
31038         * stdlib/tst-strtod-round.c (tests): Regenerated.
31040 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31042         [BZ #14143]
31043         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
31044         (__fe_mask_env): Likewise.
31045         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
31046         libm_hidden_proto and add function prototype.
31047         (__fe_mask_env): Add function prototype.
31048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31049         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
31050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31051         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
31052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31053         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
31055 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31057         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
31058         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
31060 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31062         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
31063         of htab_find_slot().
31065 2013-11-11  David S. Miller  <davem@davemloft.net>
31067         [BZ #16150]
31068         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
31069         symbol in the non-vis3 case in static builds.
31070         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
31071         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
31072         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
31073         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
31075 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
31077         [BZ #387]
31078         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
31079         it is empty.
31081 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31083         * benchtests/Makefile: Add bench-strtod.
31084         * benchtests/bench-strtod.c: New file: strtod benchtest
31086 2013-11-11  Andreas Schwab  <schwab@suse.de>
31088         [BZ #16153]
31089         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
31090         terminating NUL in key length.
31092 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31094         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
31095         Add artificial ODP entry for vDSO symbol for PPC64.
31096         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
31097         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31099 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
31101         [BZ #15374]
31102         * nss/getent.c (services_keys): Recognize services starting with digit.
31104 2013-11-06  David S. Miller  <davem@davemloft.net>
31106         [BZ #15985]
31107         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
31108         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
31110 2013-11-06  Will Newton  <will.newton@linaro.org>
31112         * manual/memory.texi (Malloc Examples): Remove register
31113         keyword from examples.
31115 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
31117         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
31119 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
31121         [BZ #6981]
31122         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
31123         depending on [__GCC_IEC_559 > 0].
31124         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
31125         depending on [__GCC_IEC_559_COMPLEX > 0].
31127 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
31129         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
31130         to iso-639.def.
31132 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
31134         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
31136 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
31138         [BZ #16112]
31139         * malloc/malloc (malloc_info): Do not handle first bin as
31140         special case.
31142 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
31144         * locale/iso-639.def: Add Central Nahuatl (nhn).
31146 2013-11-01  Bruno Haible  <bruno@clisp.org>
31148         [BZ #7003]
31149         * manual/math.texi (BSD Random): Specify range upper bound as
31150         in POSIX.
31152 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
31154         * locale/iso-639.def: Add Meadow Mari (mhr).
31156 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
31158         [BZ #14752], [BZ #15763]
31159         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
31160         Validate name.
31161         * rt/tst_shm.c: Add test for escaping directory.
31163 2013-10-31  Andreas Schwab  <schwab@suse.de>
31165         [BZ #15917]
31166         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
31167         followed by 'x' as part of digit sequence.
31168         * stdio-common/tst-sscanf.c (double_tests2): New tests.
31170 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
31172         [BZ #16037]
31173         * configure.ac: allow GNU Make 4.0 and greater.
31174         * configure: Regenerated.
31176 2013-10-30  Will Newton  <will.newton@linaro.org>
31178         [BZ #16038]
31179         * malloc/hooks.c (memalign_check): Limit alignment to the
31180         maximum representable power of two.
31181         * malloc/malloc.c (__libc_memalign): Likewise.
31182         * malloc/tst-memalign.c (do_test): Add test for very
31183         large alignment values.
31184         * malloc/tst-posix_memalign.c (do_test): Likewise.
31186 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
31188         [BZ #11087]
31189         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
31190         (munmap_chunk): Likewise.
31191         (mremap_chunk): Likewise.
31193 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
31195         [BZ #15799]
31196         * stdlib/div.c (div): Remove obsolete code.
31197         * stdlib/ldiv.c (ldiv): Likewise.
31198         * stdlib/lldiv.c (lldiv): Likewise.
31200 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31202         [BZ #16071]
31203         * nss/nss_files/files-XXX.c (get_contents_ret): New
31204         enumerator.
31205         (get_contents): New function.
31206         (internal_getent): Use it.  Expand size of LINEBUFLEN.
31208 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
31210         * configure.in: Moved to ...
31211         * configure.ac: ... here. Change reference to configure.in
31212         to configure.ac.
31213         * sysdeps/arm/preconfigure.ac: ... here.
31214         configure.in to configure.ac.
31215         * sysdeps/gnu/configure.in: Moved to ...
31216         * sysdeps/gnu/configure.ac: ... here.
31217         * sysdeps/i386/configure.in: Moved to ...
31218         * sysdeps/i386/configure.ac: ... here.
31219         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
31220         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
31221         * sysdeps/mach/configure.in: Moved to ...
31222         * sysdeps/mach/configure.ac: ... here.
31223         * sysdeps/mach/hurd/configure.in: Moved to ...
31224         * sysdeps/mach/hurd/configure.ac: ... here.
31225         * sysdeps/powerpc/configure.in: Moved to ...
31226         * sysdeps/powerpc/configure.ac: ... here.
31227         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
31228         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
31229         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
31230         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
31231         * sysdeps/s390/s390-32/configure.in: Moved to ...
31232         * sysdeps/s390/s390-32/configure.ac: ... here.
31233         * sysdeps/s390/s390-64/configure.in: Moved to ...
31234         * sysdeps/s390/s390-64/configure.ac: ... here.
31235         * sysdeps/sh/configure.in: Moved to ...
31236         * sysdeps/sh/configure.ac: ... here.
31237         * sysdeps/sparc/configure.in: Moved to ...
31238         * sysdeps/sparc/configure.ac: ... here.
31239         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
31240         * sysdeps/unix/sysv/linux/configure.ac: ... here.
31241         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
31242         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
31243         * sysdeps/x86_64/configure.in: Moved to ...
31244         * sysdeps/x86_64/configure.ac: ... here.
31245         * sysdeps/x86_64/preconfigure.in: Moved to ...
31246         * sysdeps/x86_64/preconfigure.ac: ... here.
31247         * aclocal.m4: Change reference to configure.in to configure.ac.
31248         * config.h.in: Likewise.
31249         * manual/install.texi: Likewise.
31250         * manual/maint.texi: Likewise.
31251         * Makefile: Likewise.
31252         * malloc/Makefile: Likewise.
31253         * nscd/Makefile: Likewise.
31254         * Makeconfig: Change reference to configure.in and
31255         preconfigure.in to configure.ac and preconfigure.ac
31256         respectively.
31257         * INSTALL: Regenerated.
31258         * configure: Likewise.
31259         * sysdeps/gnu/configure: Likewise.
31260         * sysdeps/i386/configure: Likewise.
31261         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
31262         * sysdeps/mach/configure: Likewise.
31263         * sysdeps/mach/hurd/configure: Likewise.
31264         * sysdeps/powerpc/configure: Likewise.
31265         * sysdeps/powerpc/powerpc32/configure: Likewise.
31266         * sysdeps/powerpc/powerpc64/configure: Likewise.
31267         * sysdeps/s390/s390-32/configure: Likewise.
31268         * sysdeps/s390/s390-64/configure: Likewise.
31269         * sysdeps/sh/configure: Likewise.
31270         * sysdeps/sparc/configure: Likewise.
31271         * sysdeps/unix/sysv/linux/configure: Likewise.
31272         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
31273         * sysdeps/x86_64/configure: Likewise.
31274         * sysdeps/x86_64/preconfigure: Likewise.
31276 2013-10-29  Andreas Schwab  <schwab@suse.de>
31278         * stdio-common/Makefile (tst-swscanf-ENV): Define.
31280 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31282         * benchtests/pow-inputs: Add new inputs.
31284         * benchtests/exp-inputs: Add new inputs.
31286         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
31287         conditional check for return value.
31288         (__cos32): Likewise.
31290 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31292         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
31293         to provide a boost for large inputs with word alignment.
31294         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
31295         implementation based on optimized PPC64 strcpy.
31296         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
31297         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
31298         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
31299         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
31301 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
31303         [BZ #2801]
31304         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
31306 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
31308         [BZ #14876]
31309         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
31310         * time/tst-strptime.c (day_tests): Add testcase.
31312 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
31314         [BZ #14029]
31315         * manual/pattern.texi: Acknowledge that fnmatch can fail.
31317 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
31319         [BZ #16074]
31320         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
31321         MAP_FAILED on error.
31323 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31325         [BZ #16072]
31326         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
31327         heap for large requests.
31329 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
31331         [BZ #9954]
31332         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
31333         result if the result has no associated interface.
31334         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
31335         interface for all 127.X.Y.Z addresses.
31337 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
31339         * locale/iso-639.def: Add Ligurian (lij)
31341 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
31343         [BZ #15825]
31344         * sunrpc/rpc_main.c: Document rpcgen -5.
31346 2013-10-19  Michael Stahl  <mstahl@redhat.com>
31348         * elf/rtld.c (do_preload): Print the reason why preloading failed.
31350 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
31352         [BZ #10278]
31353         * posix/glob.c: Match only directories when trailing slash is present.
31354         * posix/tst-gnuglob.c (my_opendir): Do not open files.
31355         (main): Add testcase.
31357 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
31359         [BZ #15670]
31360         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
31362 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
31364         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
31365         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
31366         AUTH_DES and cindex for FIPS 140-2.
31367         (DES Encryption): Add cindex FIPS 46-3.
31369         * locale/locarchive.h (struct locarhandle): Add fname.
31370         * locale/programs/localedef.c (main): Pass ARGV[remaining]
31371         if an optional argument was specified to --list-archive,
31372         otherwise NULL.
31373         * locale/programs/locarchive.c (show_archive_content): Take new
31374         argument fname and pass it via ah.fname to open_archive.
31375         * locale/programs/localedef.h: Update decl.
31376         (open_archive): If AH->fname is non-null, open that file
31377         rather than the default file name, and don't ignore ENOENT.
31378         (create_archive): Set AH.fname to NULL.
31379         (delete_locales_from_archive): Likewise.
31380         (add_locales_to_archive): Likewise.
31381         * locale/programs/locfile.c (write_all_categories): Likewise.
31383 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
31384             Aldy Hernandez  <aldyh@redhat.com>
31386         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
31387         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
31388         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
31389         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
31390         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
31391         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
31392         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
31393         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
31394         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
31395         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
31396         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
31397         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
31398         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
31399         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
31400         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
31401         Likewise.
31402         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
31403         Likewise.
31404         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
31405         Likewise.
31406         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
31407         Likewise.
31408         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
31409         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
31410         Likewise.
31411         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
31412         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
31413         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
31414         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
31415         Likewise.
31416         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
31417         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
31418         * sysdeps/powerpc/preconfigure: Likewise.
31419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
31420         Likewise.
31421         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
31422         Replace contents of file by #include of <fenv_libc.h>.
31423         * sysdeps/powerpc/soft-fp/sfp-machine.h
31424         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
31425         and <sys/prctl.h>.
31426         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
31427         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
31428         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
31429         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
31430         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
31431         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
31432         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
31433         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
31434         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
31435         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
31436         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
31437         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
31438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31439         Allow copysignl PLT reference to be missing.
31441 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
31442             Joseph Myers  <joseph@codesourcery.com
31444         [BZ #15948]
31445         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
31446         single character.
31447         (add_to_tablewc): Assert sequence of wide characters is nonempty.
31449 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31451         * elf/tst-tls-dlinfo.c: Don't include tls.h.
31452         * elf/tst-tls1.c: Likewise.
31453         * elf/tst-tls10.h: Likewise.
31454         * elf/tst-tls14.c: Likewise.
31455         * elf/tst-tls2.c: Likewise.
31456         * elf/tst-tls3.c: Likewise.
31457         * elf/tst-tls4.c: Likewise.
31458         * elf/tst-tls5.c: Likewise.
31459         * elf/tst-tls6.c: Likewise.
31460         * elf/tst-tls7.c: Likewise.
31461         * elf/tst-tls8.c: Likewise.
31462         * elf/tst-tls9.c: Likewise.
31463         * elf/tst-tlsmod1.c: Likewise.
31464         * elf/tst-tlsmod13.c: Likewise.
31465         * elf/tst-tlsmod13a.c: Likewise.
31466         * elf/tst-tlsmod14a.c: Likewise.
31467         * elf/tst-tlsmod16a.c: Likewise.
31468         * elf/tst-tlsmod16b.c: Likewise.
31469         * elf/tst-tlsmod2.c: Likewise.
31470         * elf/tst-tlsmod3.c: Likewise.
31471         * elf/tst-tlsmod4.c: Likewise.
31472         * elf/tst-tlsmod5.c: Likewise.
31473         * elf/tst-tlsmod6.c: Likewise.
31475 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
31477         [BZ #12486]
31478         * malloc/malloc.c: remove checks for statistics.
31480 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
31482         [BZ #15277]
31483         * inet/inet_net.c (inet_network): Detect additional invalid strings.
31484         * inet/tst-network.c: Add testcase.
31486 2013-10-17  Andreas Schwab  <schwab@suse.de>
31488         [BZ #15218]
31489         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
31490         to determine canonical name.
31492 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
31494         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
31495         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
31496         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31497         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31498         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31499         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31500         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31501         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31502         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31503         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31504         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31505         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31506         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31507         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31508         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31509         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31510         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31511         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31512         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
31513         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31514         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31515         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31516         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31517         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
31518         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
31519         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31520         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31521         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
31522         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31523         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
31524         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31525         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31526         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
31527         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31528         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31529         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31530         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31531         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31532         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31533         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31534         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31535         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
31536         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
31537         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31538         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
31539         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31540         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31541         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
31542         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
31543         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31544         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
31545         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31546         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31547         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
31548         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31549         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
31550         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31551         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31553 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
31555         [BZ #16041]
31556         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
31557         make result into a quiet NaN.
31559 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
31561         * soft-fp/adddf3.c: Fix horizontal whitespace.
31562         * soft-fp/addsf3.c: Likewise.
31563         * soft-fp/addtf3.c: Likewise.
31564         * soft-fp/divdf3.c: Likewise.
31565         * soft-fp/divsf3.c: Likewise.
31566         * soft-fp/divtf3.c: Likewise.
31567         * soft-fp/double.h: Likewise.
31568         * soft-fp/eqdf2.c: Likewise.
31569         * soft-fp/eqsf2.c: Likewise.
31570         * soft-fp/eqtf2.c: Likewise.
31571         * soft-fp/extenddftf2.c: Likewise.
31572         * soft-fp/extended.h: Likewise.
31573         * soft-fp/extendsfdf2.c: Likewise.
31574         * soft-fp/extendsftf2.c: Likewise.
31575         * soft-fp/extendxftf2.c: Likewise.
31576         * soft-fp/fixdfdi.c: Likewise.
31577         * soft-fp/fixdfsi.c: Likewise.
31578         * soft-fp/fixdfti.c: Likewise.
31579         * soft-fp/fixsfdi.c: Likewise.
31580         * soft-fp/fixsfsi.c: Likewise.
31581         * soft-fp/fixsfti.c: Likewise.
31582         * soft-fp/fixtfdi.c: Likewise.
31583         * soft-fp/fixtfsi.c: Likewise.
31584         * soft-fp/fixtfti.c: Likewise.
31585         * soft-fp/fixunsdfdi.c: Likewise.
31586         * soft-fp/fixunsdfsi.c: Likewise.
31587         * soft-fp/fixunsdfti.c: Likewise.
31588         * soft-fp/fixunssfdi.c: Likewise.
31589         * soft-fp/fixunssfsi.c: Likewise.
31590         * soft-fp/fixunssfti.c: Likewise.
31591         * soft-fp/fixunstfdi.c: Likewise.
31592         * soft-fp/fixunstfsi.c: Likewise.
31593         * soft-fp/fixunstfti.c: Likewise.
31594         * soft-fp/floatdidf.c: Likewise.
31595         * soft-fp/floatdisf.c: Likewise.
31596         * soft-fp/floatditf.c: Likewise.
31597         * soft-fp/floatsidf.c: Likewise.
31598         * soft-fp/floatsisf.c: Likewise.
31599         * soft-fp/floatsitf.c: Likewise.
31600         * soft-fp/floattidf.c: Likewise.
31601         * soft-fp/floattisf.c: Likewise.
31602         * soft-fp/floattitf.c: Likewise.
31603         * soft-fp/floatundidf.c: Likewise.
31604         * soft-fp/floatundisf.c: Likewise.
31605         * soft-fp/floatunditf.c: Likewise.
31606         * soft-fp/floatunsidf.c: Likewise.
31607         * soft-fp/floatunsisf.c: Likewise.
31608         * soft-fp/floatunsitf.c: Likewise.
31609         * soft-fp/floatuntidf.c: Likewise.
31610         * soft-fp/floatuntisf.c: Likewise.
31611         * soft-fp/floatuntitf.c: Likewise.
31612         * soft-fp/fmadf4.c: Likewise.
31613         * soft-fp/fmasf4.c: Likewise.
31614         * soft-fp/fmatf4.c: Likewise.
31615         * soft-fp/gedf2.c: Likewise.
31616         * soft-fp/gesf2.c: Likewise.
31617         * soft-fp/getf2.c: Likewise.
31618         * soft-fp/ledf2.c: Likewise.
31619         * soft-fp/lesf2.c: Likewise.
31620         * soft-fp/letf2.c: Likewise.
31621         * soft-fp/muldf3.c: Likewise.
31622         * soft-fp/mulsf3.c: Likewise.
31623         * soft-fp/multf3.c: Likewise.
31624         * soft-fp/negdf2.c: Likewise.
31625         * soft-fp/negsf2.c: Likewise.
31626         * soft-fp/negtf2.c: Likewise.
31627         * soft-fp/op-1.h: Likewise.
31628         * soft-fp/op-2.h: Likewise.
31629         * soft-fp/op-4.h: Likewise.
31630         * soft-fp/op-8.h: Likewise.
31631         * soft-fp/op-common.h: Likewise.
31632         * soft-fp/quad.h: Likewise.
31633         * soft-fp/single.h: Likewise.
31634         * soft-fp/soft-fp.h: Likewise.
31635         * soft-fp/sqrtdf2.c: Likewise.
31636         * soft-fp/sqrtsf2.c: Likewise.
31637         * soft-fp/sqrttf2.c: Likewise.
31638         * soft-fp/subdf3.c: Likewise.
31639         * soft-fp/subsf3.c: Likewise.
31640         * soft-fp/subtf3.c: Likewise.
31641         * soft-fp/truncdfsf2.c: Likewise.
31642         * soft-fp/trunctfdf2.c: Likewise.
31643         * soft-fp/trunctfsf2.c: Likewise.
31644         * soft-fp/trunctfxf2.c: Likewise.
31645         * soft-fp/unorddf2.c: Likewise.
31646         * soft-fp/unordsf2.c: Likewise.
31647         * soft-fp/unordtf2.c: Likewise.
31649 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
31651         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
31652         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
31654 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
31656         * elf/dl-libc.c: Clear initfini list after freeing.
31658 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
31660         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
31661         * soft-fp/addsf3.c: Likewise.
31662         * soft-fp/addtf3.c: Likewise.
31663         * soft-fp/divdf3.c: Likewise.
31664         * soft-fp/divsf3.c: Likewise.
31665         * soft-fp/divtf3.c: Likewise.
31666         * soft-fp/double.h: Likewise.
31667         * soft-fp/eqdf2.c: Likewise.
31668         * soft-fp/eqsf2.c: Likewise.
31669         * soft-fp/eqtf2.c: Likewise.
31670         * soft-fp/extenddftf2.c: Likewise.
31671         * soft-fp/extended.h: Likewise.
31672         * soft-fp/extendsfdf2.c: Likewise.
31673         * soft-fp/extendsftf2.c: Likewise.
31674         * soft-fp/extendxftf2.c: Likewise.
31675         * soft-fp/fixdfdi.c: Likewise.
31676         * soft-fp/fixdfsi.c: Likewise.
31677         * soft-fp/fixdfti.c: Likewise.
31678         * soft-fp/fixsfdi.c: Likewise.
31679         * soft-fp/fixsfsi.c: Likewise.
31680         * soft-fp/fixsfti.c: Likewise.
31681         * soft-fp/fixtfdi.c: Likewise.
31682         * soft-fp/fixtfsi.c: Likewise.
31683         * soft-fp/fixtfti.c: Likewise.
31684         * soft-fp/fixunsdfdi.c: Likewise.
31685         * soft-fp/fixunsdfsi.c: Likewise.
31686         * soft-fp/fixunsdfti.c: Likewise.
31687         * soft-fp/fixunssfdi.c: Likewise.
31688         * soft-fp/fixunssfsi.c: Likewise.
31689         * soft-fp/fixunssfti.c: Likewise.
31690         * soft-fp/fixunstfdi.c: Likewise.
31691         * soft-fp/fixunstfsi.c: Likewise.
31692         * soft-fp/fixunstfti.c: Likewise.
31693         * soft-fp/floatdidf.c: Likewise.
31694         * soft-fp/floatdisf.c: Likewise.
31695         * soft-fp/floatditf.c: Likewise.
31696         * soft-fp/floatsidf.c: Likewise.
31697         * soft-fp/floatsisf.c: Likewise.
31698         * soft-fp/floatsitf.c: Likewise.
31699         * soft-fp/floattidf.c: Likewise.
31700         * soft-fp/floattisf.c: Likewise.
31701         * soft-fp/floattitf.c: Likewise.
31702         * soft-fp/floatundidf.c: Likewise.
31703         * soft-fp/floatundisf.c: Likewise.
31704         * soft-fp/floatunsidf.c: Likewise.
31705         * soft-fp/floatunsisf.c: Likewise.
31706         * soft-fp/floatuntidf.c: Likewise.
31707         * soft-fp/floatuntisf.c: Likewise.
31708         * soft-fp/floatuntitf.c: Likewise.
31709         * soft-fp/fmadf4.c: Likewise.
31710         * soft-fp/fmasf4.c: Likewise.
31711         * soft-fp/fmatf4.c: Likewise.
31712         * soft-fp/gedf2.c: Likewise.
31713         * soft-fp/gesf2.c: Likewise.
31714         * soft-fp/getf2.c: Likewise.
31715         * soft-fp/ledf2.c: Likewise.
31716         * soft-fp/lesf2.c: Likewise.
31717         * soft-fp/letf2.c: Likewise.
31718         * soft-fp/muldf3.c: Likewise.
31719         * soft-fp/mulsf3.c: Likewise.
31720         * soft-fp/multf3.c: Likewise.
31721         * soft-fp/negdf2.c: Likewise.
31722         * soft-fp/negsf2.c: Likewise.
31723         * soft-fp/negtf2.c: Likewise.
31724         * soft-fp/op-1.h: Likewise.
31725         * soft-fp/op-2.h: Likewise.
31726         * soft-fp/op-4.h: Likewise.
31727         * soft-fp/op-8.h: Likewise.
31728         * soft-fp/op-common.h: Likewise.
31729         * soft-fp/quad.h: Likewise.
31730         * soft-fp/single.h: Likewise.
31731         * soft-fp/soft-fp.h: Likewise.
31732         * soft-fp/sqrtdf2.c: Likewise.
31733         * soft-fp/sqrtsf2.c: Likewise.
31734         * soft-fp/sqrttf2.c: Likewise.
31735         * soft-fp/subdf3.c: Likewise.
31736         * soft-fp/subsf3.c: Likewise.
31737         * soft-fp/subtf3.c: Likewise.
31738         * soft-fp/truncdfsf2.c: Likewise.
31739         * soft-fp/trunctfdf2.c: Likewise.
31740         * soft-fp/trunctfsf2.c: Likewise.
31741         * soft-fp/trunctfxf2.c: Likewise.
31742         * soft-fp/unorddf2.c: Likewise.
31743         * soft-fp/unordsf2.c: Likewise.
31744         * soft-fp/unordtf2.c: Likewise.
31746 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
31748         [BZ #15672]
31749         * misc/error.c (error_tail): Fix possible buffer overflow.
31751 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
31753         [BZ #13028]
31754         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
31755         address.
31757 2013-10-14  P. J. McDermott  <pj@pehjota.net>
31759         [BZ #832]
31760         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
31761         testing pipefail option.
31763 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
31765         * soft-fp/double.h: Indent preprocessor directives inside #if.
31766         * soft-fp/extended.h: Likewise.
31767         * soft-fp/op-2.h: Likewise.
31768         * soft-fp/op-4.h: Likewise.
31769         * soft-fp/op-common.h: Likewise.
31770         * soft-fp/quad.h: Likewise.
31771         * soft-fp/single.h: Likewise.
31772         * soft-fp/soft-fp.h: Likewise.
31774 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
31776         * iconv/iconv_prog.c: Fix typos.
31777         * stdio-common/psiginfo-data.h: Likewise.
31779 2013-10-12   Reuben Thomas <rrt@sc3d.org>
31781         [BZ #15764]
31782         * locale/setlocale.c: Fix typo.
31784 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
31786         [BZ #16036]
31787         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
31788         signaling NaN arguments.
31789         * soft-fp/unordsf2.c (__unordsf2): Likewise.
31790         * soft-fp/unordtf2.c (__unordtf2): Likewise.
31792         [BZ #14910]
31793         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
31794         unordered operands.
31795         * soft-fp/gesf2.c (__gesf2): Likewise.
31796         * soft-fp/getf2.c (__getf2): Likewise.
31797         * soft-fp/ledf2.c (__ledf2): Likewise.
31798         * soft-fp/lesf2.c (__lesf2): Likewise.
31799         * soft-fp/letf2.c (__letf2): Likewise.
31801         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
31802         * soft-fp/eqsf2.c (__eqsf2): Likewise.
31803         * soft-fp/eqtf2.c (__eqtf2): Likewise.
31804         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
31805         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
31806         * soft-fp/fixdfti.c (__fixdfti): Likewise.
31807         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
31808         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
31809         * soft-fp/fixsfti.c (__fixsfti): Likewise.
31810         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
31811         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
31812         * soft-fp/fixtfti.c (__fixtfti): Likewise.
31813         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
31814         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
31815         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
31816         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
31817         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
31818         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
31819         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
31820         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
31821         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
31822         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
31823         * soft-fp/floatdisf.c (__floatdisf): Likewise.
31824         * soft-fp/floatsisf.c (__floatsisf): Likewise.
31825         * soft-fp/floattidf.c (__floattidf): Likewise.
31826         * soft-fp/floattisf.c (__floattisf): Likewise.
31827         * soft-fp/floattitf.c (__floattitf): Likewise.
31828         * soft-fp/floatundidf.c (__floatundidf): Likewise.
31829         * soft-fp/floatundisf.c (__floatundisf): Likewise.
31830         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
31831         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
31832         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
31833         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
31834         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
31835         * soft-fp/gesf2.c (__gesf2): Likewise.
31836         * soft-fp/getf2.c (__getf2): Likewise.
31837         * soft-fp/ledf2.c (__ledf2): Likewise.
31838         * soft-fp/lesf2.c (__lesf2): Likewise.
31839         * soft-fp/letf2.c (__letf2): Likewise.
31841         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
31842         Undefine and redefine.
31843         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
31844         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
31845         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
31846         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
31847         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31848         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
31849         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31850         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
31851         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31852         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
31853         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31854         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
31855         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31856         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
31857         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31859         [BZ #16032]
31860         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
31861         without decrementing exponent if mantissa >= that for the
31862         denominator, not >.
31863         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
31864         denominator, not >.  Decrement exponent in < case instead of
31865         incrementing in >= case.
31866         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
31867         without decrementing exponent if mantissa >= that for the
31868         denominator, not >.
31870         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
31871         computing saturated result for unsigned overflow.
31873 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31874             Jeff Law  <law@redhat.com>
31876         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
31877         (atan2Mp): Add systemtap probe marker.
31878         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
31879         (__ieee754_log): Add systemtap probe marker.
31880         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
31881         (atanMp): Add systemtap probe marker.
31882         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
31883         (tanMp): Add systemtap probe marker.
31884         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
31885         (__slowexp): Add systemtap probe marker.
31886         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
31887         (__slowpow): Add systemtap probe marker.
31888         * manual/probes.texi: Document probes.
31890 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
31892         [BZ #15362]
31893         * libio/fileops.c (_IO_new_file_write): Return count of bytes
31894         written.
31895         (_IO_new_file_xsputn): Don't return EOF if nothing has been
31896         written.
31897         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
31898         written to buffer but not flushed.
31899         * libio/iofwrite_u.c:  Likewise.
31900         * libio/iopadn.c:  Return bytes returned even if EOF was
31901         encountered.
31902         * libio/iowpadn.c:  Likewise.
31903         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
31904         if _IO_padn does not write the whole buffer.
31905         [!COMPILE_WPRINTF] (PAD): Likewise.
31907 2013-10-10  David S. Miller  <davem@davemloft.net>
31909         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
31910         directory block.
31912 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
31914         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
31915         instead of FSF address.
31916         * soft-fp/fixdfti.c: Likewise.
31917         * soft-fp/fixsfti.c: Likewise.
31918         * soft-fp/fixtfti.c: Likewise.
31919         * soft-fp/fixunsdfti.c: Likewise.
31920         * soft-fp/fixunssfti.c: Likewise.
31921         * soft-fp/fixunstfti.c: Likewise.
31922         * soft-fp/floattidf.c: Likewise.
31923         * soft-fp/floattisf.c: Likewise.
31924         * soft-fp/floattitf.c: Likewise.
31925         * soft-fp/floatuntidf.c: Likewise.
31926         * soft-fp/floatuntisf.c: Likewise.
31927         * soft-fp/floatuntitf.c: Likewise.
31928         * soft-fp/trunctfxf2.c: Likewise.
31930         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
31931         * soft-fp/fixdfti.c: Likewise.
31932         * soft-fp/fixsfti.c: Likewise.
31933         * soft-fp/fixtfti.c: Likewise.
31934         * soft-fp/fixunsdfti.c: Likewise.
31935         * soft-fp/fixunssfti.c: Likewise.
31936         * soft-fp/fixunstfti.c: Likewise.
31937         * soft-fp/floattidf.c: Likewise.
31938         * soft-fp/floattisf.c: Likewise.
31939         * soft-fp/floattitf.c: Likewise.
31940         * soft-fp/floatuntidf.c: Likewise.
31941         * soft-fp/floatuntisf.c: Likewise.
31942         * soft-fp/floatuntitf.c: Likewise.
31943         * soft-fp/trunctfxf2.c: Likewise.
31945 2013-10-10  David S. Miller  <davem@davemloft.net>
31947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31949 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
31951         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31952         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
31953         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
31954         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
31955         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
31956         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
31957         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
31959         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
31960         for NaNs before doing comparisons on argument.
31961         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31962         Likewise.
31964 2013-10-10  Will Newton  <will.newton@linaro.org>
31966         * malloc/hooks.c (memalign_check): Ensure the value of bytes
31967         passed to _int_memalign does not overflow.
31969 2013-10-10  Torvald Riegel  <triegel@redhat.com>
31971         * scripts/bench.pl: Add include-sources directive.
31972         * benchtests/README: Update documentation.
31974 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
31976         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
31977         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
31978         instead of FP_INIT_ROUNDMODE.
31979         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
31980         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
31982         [BZ #16034]
31983         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
31984         copy class of input value.
31985         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
31986         not handle exceptions.
31987         * soft-fp/negsf2.c (__negsf2): Likewise.
31988         * soft-fp/negtf2.c (__negtf2): Likewise.
31989         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
31991 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
31993         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
31994         semicolon.  From Linux kernel.
31996 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
31998         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
32000 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
32002         [BZ #156]
32003         * manual/socket.texi: Added statement about buffer
32004         for gethostbyname2_r.
32006 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
32008         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
32009         Use .p2align directive instead, throughout.
32010         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32011         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32012         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
32013         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32014         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32015         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32016         * sysdeps/x86_64/strchr.S: Likewise.
32017         * sysdeps/x86_64/strrchr.S: Likewise.
32019 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32021         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
32023         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
32025         * sysdeps/generic/math_private.h (__mpsin1): Remove
32026         declaration.
32027         (__mpcos1): Likewise.
32028         (__mpsin): New argument __range_reduce.
32029         (__mpcos): Likewise.
32030         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32031         (slow): Use __mpsin and __mpcos.
32032         (slow1): Likewise.
32033         (slow2): Likewise.
32034         (sloww): Likewise.
32035         (sloww1): Likewise.
32036         (sloww2): Likewise.
32037         (bsloww): Likewise.
32038         (bsloww1): Likewise.
32039         (bsloww2): Likewise.
32040         (cslow2): Likewise.
32041         (csloww): Likewise.
32042         (csloww1): Likewise.
32043         (csloww2): Likewise.
32044         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
32045         range_reduce.  Merge in __mpsin1.
32046         (__mpcos): Likewise.
32047         (__mpsin1): Remove.
32048         (__mpcos1): Likewise.
32050 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
32052         * locale/loadlocale.c (_nl_intern_locale_data): Use
32053         LOCFILE_ALIGNED_P.
32054         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
32055         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
32056         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
32057         obstack data is appropriately aligned.
32058         (obstack_int32_grow_fast): Likewise.
32059         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
32060         * locale/programs/locfile.c (add_locale_uint32): Likewise.
32061         (add_locale_uint32_array): Likewise.
32063 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
32065         * benchtests/Makefile: Remove ARGLIST and RET variables.
32066         ($(objpfx)bench-%.c): Pass only function name to the script.
32067         * benchtests/README: Update documentation.
32068         * benchtests/acos-inputs: Add new directives.
32069         * benchtests/acosh-inputs: Likewise.
32070         * benchtests/asin-inputs: Likewise.
32071         * benchtests/asinh-inputs: Likewise.
32072         * benchtests/atan-inputs: Likewise.
32073         * benchtests/atanh-inputs: Likewise.
32074         * benchtests/cos-inputs: Likewise.
32075         * benchtests/cosh-inputs: Likewise.
32076         * benchtests/exp-inputs: Likewise.
32077         * benchtests/log-inputs: Likewise.
32078         * benchtests/pow-inputs: Likewise.
32079         * benchtests/rint-inputs: Likewise.
32080         * benchtests/sin-inputs: Likewise.
32081         * benchtests/sinh-inputs: Likewise.
32082         * benchtests/tan-inputs: Likewise.
32083         * benchtests/tanh-inputs: Likewise.
32084         * scripts/bench.pl: Add support for new directives.
32086 2013-10-07  Alan Modra  <amodra@gmail.com>
32088         * README: Fix careless merge.
32090 2013-10-05  Alan Modra  <amodra@gmail.com>
32092         * NEWS: Mention powerpc64le support and bugs fixed.
32093         * README: Both big-endian and little-endian powerpc64 supported.
32095 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32097         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
32098         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
32099         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
32100         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
32102 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
32104         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
32105         match prototype.
32107 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
32109         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
32110         Move -mhard-float appending from
32111         ports/sysdeps/powerpc/powerpc32/Makefile.
32112         [$(with-fp) = yes] (ASFLAGS): Likewise.
32113         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
32114         * sysdeps/powerpc/nofpu: Move directory from
32115         ports/sysdeps/powerpc/nofpu.
32116         * sysdeps/powerpc/soft-fp: Move directory from
32117         ports/sysdeps/powerpc/soft-fp.
32118         * sysdeps/powerpc/powerpc32/405: Move directory from
32119         ports/sysdeps/powerpc/powerpc32/405.
32120         * sysdeps/powerpc/powerpc32/440: Move directory from
32121         ports/sysdeps/powerpc/powerpc32/440.
32122         * sysdeps/powerpc/powerpc32/464: Move directory from
32123         ports/sysdeps/powerpc/powerpc32/464.
32124         * sysdeps/powerpc/powerpc32/476: Move directory from
32125         ports/sysdeps/powerpc/powerpc32/476.
32126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
32127         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
32128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
32129         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
32130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
32131         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
32132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
32133         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
32134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
32135         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
32136         * README: Update for powerpc-*-linux-gnu software floating point
32137         support in libc.
32139         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
32140         case to powerpc/powerpc32*.
32141         * sysdeps/unix/sysv/linux/configure: Regenerated.
32143         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
32144         (_FPU_MASK_OM): Define as 0x04.
32145         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
32146         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
32147         0x00c10080.
32148         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
32149         0x0000003c.
32150         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
32152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
32153         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32154         getcontext_e500.
32155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
32156         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32157         setcontext_e500.
32158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
32159         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
32160         and setcontext_e500.
32162 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
32164         * locale/iso-3166.def: Update iso-1366.def and related occurrences
32166 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32168         * manual/threads.texi (Default Thread Attributes): Fix typo.
32170 2013-10-04  Will Newton  <will.newton@linaro.org>
32172         * malloc/Makefile: Add tst-memalign.
32173         * malloc/tst-memalign.c: New file.
32175         * malloc/tst-posix_memalign.c: Add comments.
32176         (do_test): Add comments and call free on all potentially
32177         allocated pointers. Add space after cast.
32179         * malloc/tst-pvalloc.c: Add comments.
32180         (do_test): Add comments and call free on all potentially
32181         allocated pointers. Remove duplicate check for NULL pointer.
32182         Add space after cast.
32184         * malloc/tst-valloc.c: Add comments.
32185         (do_test): Add comments and call free on all potentially
32186         allocated pointers. Remove duplicate check for NULL pointer.
32187         Add space after cast.
32189 2013-10-04  Alan Modra  <amodra@gmail.com>
32191         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32192         Use stdint types in rather than __attribute__((mode())).
32193         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32195 2013-10-04  Alan Modra  <amodra@gmail.com>
32197         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32198         Correct handling of unaligned relocs for little-endian.
32199         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32201 2013-10-04  Alan Modra  <amodra@gmail.com>
32203         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
32204         * configure: Regenerate.
32205         * nptl/shlib-versions: Powerpc*le starts at 2.18.
32206         * shlib-versions: Likewise.
32208 2013-10-04  Alan Modra  <amodra@gmail.com>
32210         * string/tester.c (test_memrchr): Increment reported test cycle.
32212 2013-10-04  Alan Modra  <amodra@gmail.com>
32214         * string/test-memcpy.c (do_one_test): When reporting errors, print
32215         string address and don't overrun end of string.
32217 2013-10-04  Alan Modra  <amodra@gmail.com>
32219         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
32220         insrdi.  Make better use of reg selection to speed exit slightly.
32221         Schedule entry path a little better.  Remove useless "are we done"
32222         checks on entry to main loop.  Handle wrapping around zero address.
32223         Correct main loop count.  Handle single left-over word from main
32224         loop inline rather than by using loop_small.  Remove extra word
32225         case in loop_small caused by wrong loop count.  Add little-endian
32226         support.
32227         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32228         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
32229         cache hint.
32230         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32231         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
32232         support.  Avoid rlwimi.
32233         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
32235 2013-10-04  Alan Modra  <amodra@gmail.com>
32237         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
32238         insrdi.  Formatting.
32239         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
32240         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32241         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
32242         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32243         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32244         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
32246 2013-10-04  Alan Modra  <amodra@gmail.com>
32248         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
32249         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32250         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32251         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
32252         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32253         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32254         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32255         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32256         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
32257         use of regs.  Use power7 mtocrf.  Tidy function tails.
32259 2013-10-04  Alan Modra  <amodra@gmail.com>
32261         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
32262         Formatting.  Consistently use rXXX register defines or rN defines.
32263         Use early exit labels that avoid restoring unused non-volatile regs.
32264         Make cr field use more consistent with rWORDn compares.  Rename
32265         regs used as shift registers for unaligned loop, using rN defines
32266         for short lifetime/multiple use regs.
32267         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32268         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
32269         addi 1,1,64 to pop stack frame.  Simplify return value code.
32270         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32272 2013-10-04  Alan Modra  <amodra@gmail.com>
32274         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
32275         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
32276         rather than rlwimi.
32277         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
32278         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
32279         little-endian support.  Correct typos.
32280         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
32281         rather than rlwimi.
32282         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
32283         in loop and entry code to keep "and." results.
32284         (strchr): Add little-endian support.  Comment.  Move cntlzd
32285         earlier in tail.
32286         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
32288 2013-10-04  Alan Modra  <amodra@gmail.com>
32290         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
32291         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
32292         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
32293         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
32295 2013-10-04  Alan Modra  <amodra@gmail.com>
32297         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
32298         (rTMP): Define as r11.
32299         (strcmp): Add little-endian support.  Optimise tail.
32300         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
32301         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32302         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32303         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32304         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32305         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32306         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32308 2013-10-04  Alan Modra  <amodra@gmail.com>
32310         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
32311         little-endian support.  Remove unnecessary "are we done" tests.
32312         Handle "s" wrapping around zero and extremely large "size".
32313         Correct main loop count.  Handle single left-over word from main
32314         loop inline rather than by using small_loop.  Correct comments.
32315         Delete "zero" tail, use "end_max" instead.
32316         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
32318 2013-10-04  Alan Modra  <amodra@gmail.com>
32320         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
32321         support.  Don't branch over align.
32322         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
32323         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
32324         support.  Rearrange tmp reg use to suit.  Comment.
32325         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
32327 2013-10-04  Alan Modra  <amodra@gmail.com>
32329         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
32331 2013-10-04  Alan Modra  <amodra@gmail.com>
32333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
32334         conditional form of branch and link when obtaining pc.
32335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32337 2013-10-04  Alan Modra  <amodra@gmail.com>
32339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
32340         HIWORD/LOWORD.
32341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
32342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
32344 2013-10-04  Alan Modra  <amodra@gmail.com>
32346         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
32347         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
32348         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32349         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
32350         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32351         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32352         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
32353         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32354         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32355         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
32357 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
32358             Alistair Popple <alistair@ozlabs.au.ibm.com>
32359             Alan Modra <amodra@gmail.com>
32361         [BZ #15723]
32362         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
32363         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
32364         _dl_hwcap access for little-endian.
32365         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
32366         destroy vmx regs when saving unaligned.
32367         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
32368         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
32369         destroy vmx regs when saving unaligned.
32371 2013-10-04  Alan Modra  <amodra@gmail.com>
32373         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
32374         Don't use a union to pack hi/low value.
32376 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
32378         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
32379         for little-endian.
32380         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32381         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
32382         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32383         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32384         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32386 2013-10-04  Alan Modra  <amodra@gmail.com>
32388         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
32389         constants to usual value for .cst8 section, and remove redundant
32390         high address load.
32391         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
32392         constant for 0x1p52.  Load little-endian words of double from
32393         correct stack offsets.
32395 2013-10-04  Alan Modra  <amodra@gmail.com>
32397         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
32398         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
32399         words of double from correct stack offsets.
32400         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32401         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
32402         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32403         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32404         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32405         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32406         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32407         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32408         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32409         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32410         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32411         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32412         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32413         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32414         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32415         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
32416         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32418 2013-10-04  Alan Modra  <amodra@gmail.com>
32420         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
32421         64-bit int/double union.
32422         (_FPU_SETCW): Likewise.
32423         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
32424         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
32426 2013-10-04  Alan Modra  <amodra@gmail.com>
32428         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
32429         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
32431 2013-10-04  Alan Modra  <amodra@gmail.com>
32433         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
32434         use vector int constants.
32435         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
32437 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
32439         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
32440         array with long long.
32441         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
32442         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
32443         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
32444         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
32445         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
32446         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
32447         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
32448         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
32449         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
32450         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
32451         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
32452         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
32453         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
32455 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
32457         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
32458         (__signbit): Likewise.  Correct for little-endian.
32459         (__signbitl): Call __signbit.
32460         (lrint): Correct for little-endian.
32461         (lrintf): Call lrint.
32463 2013-10-04  Alan Modra  <amodra@gmail.com>
32465         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
32466         union 32-bit int array member with 64-bit int array.
32467         (t515, tm256): Double rather than long double.
32468         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
32470 2013-10-04  Alan Modra  <amodra@gmail.com>
32472         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
32473         Delete.
32474         (IEEE854_LONG_DOUBLE_BIAS): Delete.
32475         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
32476         version of math_ldbl.h.
32478 2013-10-04  Alan Modra  <amodra@gmail.com>
32480         [BZ #15734], [BZ #15735]
32481         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
32482         all uses of ieee875 long double macros and unions.  Simplify test
32483         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
32484         ldbl_extract_mantissa value for ix,iy exponents.  Properly
32485         normalize after ldbl_extract_mantissa, and don't add hidden bit
32486         already handled.  Don't treat low word of ieee854 mantissa like
32487         low word of IBM long double and mask off bit when testing for
32488         zero.
32489         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
32490         all uses of ieee875 long double macros and unions.  Simplify tests
32491         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
32492         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
32493         two1022, instead use their values.  Recognise that tests for large
32494         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
32495         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
32496         Rewrite all uses of ieee875 long double macros and unions.  Simplify
32497         test for 0.0L and nan.  Correct negation.
32498         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
32499         ieee875 long double macros and unions.  Correct output for large
32500         magnitude x.  Correct absolute value calculation.
32501         (__erfcl): Likewise.
32502         * math/libm-test.inc: Add tests for errors discovered in IBM long
32503         double versions of fmodl, remainderl, erfl and erfcl.
32505 2013-10-04  Alan Modra  <amodra@gmail.com>
32507         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
32508         all uses of ieee854 long double macros and unions.  Simplify tests
32509         for long doubles that are fully specified by the high double.
32510         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32511         Likewise.
32512         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
32513         Remove dead code too.
32514         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32515         (__ieee754_ynl): Likewise.
32516         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32517         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
32518         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32519         Remove dead code too.
32520         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
32521         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
32522         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
32523         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
32524         Simplify.
32525         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
32526         Simplify.
32527         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
32528         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32529         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
32530         Comment on variable precision.
32531         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
32532         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32533         Likewise.
32534         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32535         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
32536         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
32537         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
32538         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
32540 2013-10-04  Alan Modra  <amodra@gmail.com>
32542         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
32543         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
32544         all uses of ieee854 long double macros and unions.
32545         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
32546         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32547         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
32548         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
32549         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32550         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32551         Likewise.
32552         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
32553         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32554         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
32555         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32556         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
32557         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
32558         Simplify sign and nan test too.
32559         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
32560         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32561         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
32562         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32563         Likewise.
32564         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32565         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
32566         Likewise.
32567         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32568         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
32569         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
32570         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
32571         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
32572         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
32574 2013-10-04  Alan Modra  <amodra@gmail.com>
32576         * stdio-common/printf_size.c (__printf_size): Don't use
32577         union ieee854_long_double in fpnum union.
32578         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
32579         signbit macro to retrieve sign from long double.
32580         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
32581         retrieve sign from long double.
32582         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
32583         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
32584         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
32585         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32586         * math/test-misc.c (main): Don't use union ieee854_long_double.
32588 2013-10-04  Alan Modra  <amodra@gmail.com>
32590         [BZ #15680]
32591         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
32592         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
32593         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
32594         calculation.  Remove unnecessary test for denormal exponent.
32595         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
32596         Correct handling of denormals.  Avoid undefined shift behaviour.
32597         Correct normalisation of low mantissa when low double is denormal.
32598         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
32599         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
32600         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
32601         Correct normalisation of low mantissa.  Test for overflow of high
32602         mantissa and normalise.
32603         (ldbl_nearbyint): Use more readable constant for two52.
32604         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
32605         (__mpn_construct_long_double): Fix test for overflow of high
32606         mantissa and correct normalisation.  Avoid undefined shift.
32608 2013-10-04  Alan Modra  <amodra@gmail.com>
32610         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32611         (union ibm_extended_long_double): Define as an array of ieee754_double.
32612         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
32613         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
32614         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
32615         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32616         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32617         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
32618         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32619         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32620         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32621         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
32622         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32624 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
32626         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
32627         page size instead of calling getpagesize.
32629         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
32630         (LOCFILE_ALIGN_MASK): Likewise.
32631         (LOCFILE_ALIGN_UP): Likewise.
32632         (LOCFILE_ALIGNED_P): Likewise.
32633         * locale/programs/ld-collate.c (collate_output): Use the new
32634         macros instead of __alignof__ (int32_t).
32635         * locale/weight.h (findidx): Likewise.
32637 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
32639         [BZ #431]
32640         * manual/string.texi: Fix strncat and wcsncat.
32642 2013-10-03  Brooks Moses  <bmoses@google.com>
32644         [BZ #15915]
32645         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
32646         * Makerules: ...here, and adjust associated comments.
32648 2013-10-02  Will Newton  <will.newton@linaro.org>
32650         * malloc/Makefile: Add tst-pvalloc.
32651         * malloc/tst-pvalloc.c: New file.
32653 2013-10-02  Will Newton  <will.newton@linaro.org>
32655         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
32656         improve test coverage.
32658 2013-10-02  Will Newton  <will.newton@linaro.org>
32660         * malloc/Makefile: Add tst-posix_memalign.
32661         * malloc/tst-posix_memalign.c: New file.
32663 2013-10-01  Eric Blake  <eblake@redhat.com>
32665         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
32666         Use __THROWNL rather than __THROW on static functions.
32668 2013-09-30  Petr Machata  <pmachata@redhat.com>
32670         * elf/elf.h (R_AARCH64_ABS16): New macro.
32671         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
32672         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
32673         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
32674         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
32675         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
32676         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
32677         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
32678         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
32679         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
32680         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
32681         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
32682         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
32683         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
32684         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
32685         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
32686         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
32687         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
32688         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
32689         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
32690         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
32691         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
32692         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
32693         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
32694         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
32695         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
32696         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
32697         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
32698         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
32699         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
32700         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
32701         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
32702         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
32703         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
32704         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
32705         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
32706         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
32707         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
32708         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
32709         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
32710         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
32711         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
32712         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
32713         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
32714         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
32715         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
32716         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
32717         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
32718         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
32719         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
32720         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
32721         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
32722         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
32723         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
32724         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
32725         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
32726         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
32727         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
32728         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
32729         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
32730         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
32731         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
32732         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
32733         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
32734         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
32735         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
32736         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
32737         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
32738         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
32739         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
32740         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
32741         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
32742         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
32743         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
32744         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
32745         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
32746         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
32747         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
32748         (R_AARCH64_TLSDESC_LDR): Likewise.
32749         (R_AARCH64_TLSDESC_ADD): Likewise.
32750         (R_AARCH64_TLSDESC_CALL): Likewise.
32752 2013-09-30  Andreas Schwab  <schwab@suse.de>
32754         [BZ #15048]
32755         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
32756         the nss database lookup.
32757         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32758         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32760 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
32762         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
32764 2013-09-28  P. J. McDermott  <pj@pehjota.net>
32766         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
32767         ${Bash-specific parameter/pattern/string} parameter expansion.
32768         * sysdeps/unix/make-syscalls.sh: Likewise.
32770 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32772         * sysdeps/sh/stackguard-macros.h: New file.
32774 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
32776         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
32777         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
32778         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
32779         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
32780         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32781         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
32783 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32785         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
32786         Fix thread ID register.
32788 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
32790         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
32791         [POSIX || UNIX98]: Require rather than permitting all symbols from
32792         <time.h>.
32793         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
32794         element of struct sched_param.
32795         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
32796         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
32797         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
32798         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
32799         constant.
32801 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
32803         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
32804         argument calculation.
32806 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
32808         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
32809         Expect macro.
32810         [POSIX] (pthread_attr_t): Do not require type.
32811         [POSIX] (pthread_cond_t): Likewise.
32812         [POSIX] (pthread_condattr_t): Likewise.
32813         [POSIX] (pthread_key_t): Likewise.
32814         [POSIX] (pthread_mutex_t): Likewise.
32815         [POSIX] (pthread_mutexattr_t): Likewise.
32816         [POSIX] (pthread_once_t): Likewise.
32817         [POSIX] (pthread_t): Likewise.
32818         [POSIX-based standards] (pthread_atfork): Expect function.
32820 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
32821             Richard Sandiford  <richard@codesourcery.com>
32823         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
32824         (swap_endianness_p): New extern variable.
32825         (set_big_endian): New inline function.
32826         (maybe_swap_uint32): Likewise.
32827         (maybe_swap_uint32_array): Likewise.
32828         (maybe_swap_uint32_obstack): Likewise.
32829         * locale/programs/locfile.c: Include <stdbool.h>.
32830         (swap_endianness_p): New variable.
32831         (add_locale_uint32): Call maybe_swap_uint32.
32832         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
32833         (write_locale_data): Call maybe_swap_uint32_array.
32834         * locale/programs/ld-collate.c (obstack_int32_grow): Call
32835         maybe_swap_uint32.
32836         (obstack_int32_grow_fast): Likewise.
32837         (output_weightwc): Call maybe_swap_uint32_obstack.
32838         (collate_output): Likewise.
32839         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
32840         (OPT_LITTLE_ENDIAN): Likewise.
32841         (options): Add --little-endian and --big-endian options.
32842         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
32843         * locale/programs/locarchive.c: Include "locfile.h".
32844         (GET): New macro.
32845         (SET): Likewise.
32846         (INC): Likewise.
32847         (create_archive): Use the new macros to access fields of
32848         structures directly mapped from or written to locale archives.
32849         (oldlocrecentcmp): Likewise.
32850         (enlarge_archive): Likewise.
32851         (insert_name): Likewise.
32852         (add_alias): Likewise.
32853         (add_locale): Likewise.
32854         (delete_locales_from_archive): Likewise.
32855         (show_archive_content): Likewise.
32856         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
32857         locale data.
32859 2013-09-24  Roland McGrath  <roland@hack.frob.com>
32861         * manual/freemanuals.texi: Updated from (newly) canonical copy at
32862         http://www.gnu.org/doc/freemanuals.texi.
32863         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
32865 2013-09-24  Will Newton  <will.newton@linaro.org>
32867         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
32868         macro.
32870 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
32872         * locale/hashval.h (compute_hashval): Interpret bytes of key as
32873         unsigned char.
32875 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
32877         * manual/threads.texi (POSIX Threads): Fix a typo.
32879 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32881         [BZ #14547]
32882         * string/tst-strcoll-overflow.c: New test case.
32883         * string/Makefile (xtests): Add tst-strcoll-overflow.
32884         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
32885         cache if string sizes may cause integer overflow.
32887         [BZ #14547]
32888         * string/strcoll_l.c (coll_seq): New members rule, idx,
32889         save_idx and back_us.
32890         (get_next_seq_nocache): New function.
32891         (do_compare_nocache): New function.
32892         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
32893         when malloc fails.
32895 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
32897         [BZ #15754]
32898         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
32899         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
32900         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
32902         [BZ #15754]
32903         * elf/Makefile (tests): Add tst-ptrguard1.
32904         (tests-static): Add tst-ptrguard1-static.
32905         (tst-ptrguard1-ARGS): Define.
32906         (tst-ptrguard1-static-ARGS): Define.
32907         * elf/tst-ptrguard1.c: New file.
32908         * elf/tst-ptrguard1-static.c: New file.
32909         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
32910         * sysdeps/i386/stackguard-macros.h: Likewise.
32911         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32912         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32913         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32914         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32915         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32916         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32918 2013-09-23  Hector Marco  <hecmargi@upv.es>
32919             Ismael Ripoll  <iripoll@disca.upv.es>
32920             Carlos O'Donell  <carlos@redhat.com>
32922         [BZ #15754]
32923         * sysdeps/generic/stackguard-macros.h: Define
32924         __pointer_chk_guard_local and POINTER_CHK_GUARD.
32925         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
32926         Define __pointer_chk_guard_local.
32927         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
32928         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
32930 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
32932         [BZ #15859]
32933         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
32935 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
32937         * include/string.h (__ffs): Declare as hidden.
32938         * string/ffs.c (__ffs): Define as hidden.
32939         * sysdeps/i386/ffs.c (__ffs): Likewise.
32940         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
32941         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
32942         * sysdeps/s390/ffs.c (__ffs): Likewise.
32943         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
32945 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
32947         * NEWS: Mention malloc probes.
32949         * malloc/arena.c (new_heap): New memory_heap_new probe.
32950         (grow_heap): New memory_heap_more probe.
32951         (shrink_heap): New memory_heap_less probe.
32952         (heap_trim): New memory_heap_free probe.
32953         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
32954         (systrim): New memory_sbrk_less probe.
32955         * manual/probes.texi: Document them.
32957         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
32958         * manual/probes.texi: Document it.
32960         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
32961         (__libc_realloc): Add memory_realloc_retry probe.
32962         (__libc_memalign): Add memory_memalign_retry probe.
32963         (__libc_valloc): Add memory_valloc_retry probe.
32964         (__libc_pvalloc): Add memory_pvalloc_retry probe.
32965         (__libc_calloc): Add memory_calloc_retry probe.
32966         * manual/probes.texi: Document them.
32968         * malloc/arena.c (get_free_list): Add probe
32969         memory_arena_reuse_free_list.
32970         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
32971         and memory_arena_reuse.
32972         (arena_get2) [!PER_THREAD]: Likewise.
32973         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
32974         memory_arena_reuse_realloc.
32975         * manual/probes.texi: Document them.
32977         * malloc/malloc.c (__libc_free): Add
32978         memory_mallopt_free_dyn_thresholds probe.
32979         (__libc_mallopt): Add multiple memory_mallopt probes.
32980         * manual/probes.texi: Document them.
32982         * malloc/malloc.c: Include stap-probe.h.
32983         (__libc_mallopt): Add memory_mallopt probe.
32984         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
32985         * manual/probes.texi: New.
32986         * manual/Makefile (chapters): Add probes.
32987         * manual/threads.texi: Set next node.
32989 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
32991         [BZ #15963, #13985]
32992         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
32993         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
32994         Add `Chinese' to `nan' entry name.
32996 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32998         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
32999         (POLYNOMIAL): Likewise.
33000         (TAYLOR_SINCOS): Likewise.
33001         (TAYLOR_SLOW): Likewise.
33002         (__sin): Use TAYLOR_SINCOS.
33003         (__cos): Likewise.
33004         (slow): Use TAYLOR_SLOW.
33005         (sloww): Likewise.
33006         (bsloww): Likewise.
33007         (csloww): Likewise.
33009 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33011         * stdlib/strtod_l.c: Fix buffer overrun.
33013 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33015         * benchtests/Makefile (bench): Add sincos.
33016         * benchtests/bench-sincos.c: New file.
33018         * math/libm-test.inc (cos_test_data): New test inputs.
33019         (sin_test_data): Likewise.
33021         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
33022         macro.
33023         (__sin): Use it.
33024         (__cos): Likewise.
33025         (slow1): Likewise.
33026         (slow2): Likewise.
33027         (sloww1): Likewise.
33028         (sloww2): Likewise.
33029         (bsloww1): Likewise.
33030         (bsloww2): Likewise.
33031         (cslow2): Likewise.
33032         (csloww1): Likewise.
33033         (csloww2): Likewise.
33035         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
33036         function.
33037         (__sin): Use it.
33038         (__cos): Likewise.
33040         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
33041         gotos.
33042         (__cos): Likewise.
33044 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
33046         * config.h.in (HAVE_MIPS_NAN2008): New macro.
33047         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
33048         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
33049         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
33050         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
33051         * elf/cache.c (print_entry): Handle the new cache flags.
33053 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
33054             Aldy Hernandez  <aldyh@redhat.com>
33056         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
33057         Change condition to [_SOFT_FLOAT].
33058         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
33059         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
33060         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
33061         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
33062         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
33063         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
33064         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
33065         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
33066         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
33067         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
33068         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
33069         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
33070         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
33071         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
33072         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
33073         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
33074         declaration.
33076 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
33078         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
33079         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33080         (__longjmp): Use LOAD_GP to load saved GPRs.
33081         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
33082         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33083         (__sigsetjmp): Use SAVE_GP to save GPRs.
33085         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
33086         Do not append -msoft-float.
33087         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
33089 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33091         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
33093 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
33095         [BZ #15966]
33096         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
33097         (_FPU_GETCW): Use initial "__" on variable and field names but not
33098         on macro parameter name.
33099         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
33100         parentheses around reference to macro parameter.
33102 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
33104         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
33105         prototype.
33106         (ctype_startup): Use uint32_t in cast and sizeof for
33107         ctype->charnames.
33109 2013-09-11  Jia Liu  <proljc@gmail.com>
33111         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
33112         __daddr_t_defined.
33113         [__FreeBSD__]: Likewise.
33115 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
33117         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33118         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
33119         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
33120         (strchr): Remove __strchr_sse42 ifunc selection.
33121         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
33122         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
33124 2013-09-11  Will Newton  <will.newton@linaro.org>
33126         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
33127         parameter to RES. Remove hardcoded 1000 value.
33128         * benchtests/bench-skeleton.c (main): Pass RES parameter
33129         to TIMING_INIT and multiply result by 1000.
33131 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33135 2013-09-11  Andreas Schwab  <schwab@suse.de>
33137         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33138         if not defined.
33139         (O_TMPFILE) [__USE_GNU]: Define.
33140         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
33141         Define.
33143 2013-09-11  Will Newton  <will.newton@linaro.org>
33145         [BZ #15857]
33146         * malloc/malloc.c (__libc_memalign): Check the value of bytes
33147         does not overflow.
33149 2013-09-11  Will Newton  <will.newton@linaro.org>
33151         [BZ #15856]
33152         * malloc/malloc.c (__libc_valloc): Check the value of bytes
33153         does not overflow.
33155 2013-09-11  Will Newton  <will.newton@linaro.org>
33157         [BZ #15855]
33158         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
33159         does not overflow.
33161 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
33163         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
33164         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33165         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33166         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33167         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33169 2013-09-10  Allan McRae  <allan@archlinux.org>
33171         [BZ #15748]
33172         * manual/arith.texi (Parsing of Floats): Clarify
33173         cross-reference.
33175         [BZ #15849]
33176         * manual/install.texi (Running make install): Mention
33177         --enable-pt-chown.
33178         * INSTALL: Regenerated.
33180 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
33182         * csu/init-first.c (_init): Remove the !SHARED condition around
33183         FPU control word initialization.
33184         * elf/dl-support.c (_dl_fpu_control): New variable.
33185         (_dl_aux_init) <AT_FPUCW>: Initialize it.
33186         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
33187         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
33188         * math/test-fpucw-static.c: New file.
33189         * math/test-fpucw-ieee.c: New file.
33190         * math/test-fpucw-ieee-static.c: New file.
33191         * math/Makefile (tests): Add `test-fpucw-ieee' and
33192         `$(tests-static)'.
33193         (tests-static): New variable.
33194         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
33195         dependency to...
33196         [($(build-shared),yes)]
33197         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33198         ... this.
33199         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
33200         New dependency.
33202 2013-09-09  Allan McRae  <allan@archlinux.org>
33204         [BZ #15939]
33205         * manual/string.texi (Collation Functions): Fix typo in
33206         strcoll example.
33207         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
33209         [BZ #15893]
33210         * stdlib/isomac.c (get_null_defines): Fix memory leak.
33212         [BZ #15892]
33213         * libio/memstream.c (open_memstream): Fix memory leak.
33214         * libio/wmemstream.c (open_wmemstream): Likewise.
33216         [BZ #15895]
33217         * nscd/netgroupcache.c: Fix nesting of ifdefs.
33219 2013-09-09  Will Newton  <will.newton@linaro.org>
33221         * malloc/Makefile: Add tst-realloc to tests.
33222         * malloc/tst-realloc.c: New file.
33224 2013-09-09  Allan McRae  <allan@archlinux.org>
33226         [BZ #15844]
33227         * COPYING: Update from GNU website to fix FSF address.
33228         * COPYING.LIB: Likewise.
33230 2013-09-06  David S. Miller  <davem@davemloft.net>
33232         * po/zh_TW.po: Update Chinese (traditional) translation from
33233         translation project.
33235 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
33236             Joseph Myers  <joseph@codesourcery.com>
33238         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
33239         "localeinfo.h".
33240         (obstack_chunk_alloc): New macro.
33241         (obstack_chunk_free): Likewise.
33242         (record_offset): New function.
33243         (init_locale_data): Likewise.
33244         (align_locale_data): Likewise.
33245         (add_locale_empty): Likewise.
33246         (add_locale_raw_data): Likewise.
33247         (add_locale_raw_obstack): Likewise.
33248         (add_locale_string): Likewise.
33249         (add_locale_wstring): Likewise.
33250         (add_locale_uint32): Likewise.
33251         (add_locale_uint32_array): Likewise.
33252         (add_locale_char): Likewise.
33253         (start_locale_structure): Likewise.
33254         (end_locale_structure): Likewise.
33255         (start_locale_prelude): Likewise.
33256         (end_locale_prelude): Likewise.
33257         (write_locale_data): Take locale_file structure rather than an
33258         iovec.
33259         * locale/programs/locfile.h: Include "obstack.h".
33260         (struct locale_file): Change to store locale file contents instead
33261         of header.
33262         (init_locale_data): New prototype.
33263         (align_locale_data): Likewise.
33264         (add_locale_empty): Likewise.
33265         (add_locale_raw_data): Likewise.
33266         (add_locale_raw_obstack): Likewise.
33267         (add_locale_string): Likewise.
33268         (add_locale_wstring): Likewise.
33269         (add_locale_uint32): Likewise.
33270         (add_locale_uint32_array): Likewise.
33271         (add_locale_char): Likewise.
33272         (start_locale_structure): Likewise.
33273         (end_locale_structure): Likewise.
33274         (start_locale_prelude): Likewise.
33275         (end_locale_prelude): Likewise.
33276         (write_locale_data): Update prototype.
33277         * locale/programs/3level.h (struct TABLE): Remove result field.
33278         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
33279         Use new locale_file interface.
33280         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
33281         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
33282         * locale/programs/ld-address.c (address_output): Use new
33283         locale_file interface.
33284         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
33285         NO_ADD_LOCALE.
33286         (collate_finish): Don't call collseq_table_finalize.
33287         (collate_output): Use new locale_file interface.
33288         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
33289         in file.
33290         (NO_FINALIZE): Change to NO_ADD_LOCALE.
33291         (TABLE): Move defines earlier in file.
33292         (ELEMENT): Likewise.
33293         (DEFAULT): Likewise.
33294         (wctrans_table_add): Move macro and inline function earlier in
33295         file.
33296         (struct wctype_table): Move type earlier in file.
33297         (add_locale_wctype_table): New static prototype.
33298         (struct locale_ctype_t): Use logical types instead of struct iovec
33299         pointers for members.
33300         (ctype_output): Use new locale_file interface.
33301         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
33302         new locale_file interface.
33303         (allocate_arrays): Update for use of new locale_file interface.
33304         * locale/programs/ld-identification.c (identification_output): Use
33305         new locale_file interface.
33306         * locale/programs/ld-measurement.c (measurement_output): Likewise.
33307         * locale/programs/ld-messages.c (messages_output): Likewise.
33308         * locale/programs/ld-monetary.c (monetary_output): Likewise.
33309         * locale/programs/ld-name.c (name_output): Likewise.
33310         * locale/programs/ld-numeric.c (numeric_output): Likewise.
33311         * locale/programs/ld-paper.c (paper_output): Likewise.
33312         * locale/programs/ld-telephone.c (telephone_output): Likewise.
33313         * locale/programs/ld-time.c (time_output): Likewise.
33315 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33317         * benchtests/Makefile: Add memrchr benchmark.
33318         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
33319         benchmark as memrchr.
33320         * benchtests/bench-memrchr-ifunc.c: New file.
33321         * benchtests/bench-memrchr.c: New file.
33323 2013-09-06   Will Newton  <will.newton@linaro.org>
33325         * benchtests/Makefile (string-bench): Add memcpy.
33327 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
33328             Cong Wang  <amwang@redhat.com>
33330         [BZ #15850]
33331         * sysdeps/unix/sysv/linux/bits/in.h
33332         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
33333         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
33334         before __USE_KERNEL_IPV6_DEFS uses.
33335         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
33336         IPPROTO_BEETPH.
33337         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
33338         sockaddr_in6, or ipv6_mreq.
33340 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33342         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
33343         memory access for final bytes in some large inputs.
33344         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
33346 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33348         * string/test-memrchr.c: New file.
33349         * string/test-memrchr-ifunc.c: New file.
33350         * string/Makefile: Add new memrchr testcase.
33352 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
33354         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
33355         fanotify_init returns EPERM.
33357 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
33359         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
33360         errors.
33361         (top level): Treat second token from macro or constant entries for
33362         allowed headers as allowed.
33363         * include/complex.h: Condition internal declarations on
33364         [!_ISOMAC].
33365         * include/fenv.h: Condition include of <stdbool.h> and internal
33366         declarations on [!_ISOMAC].
33368 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
33370         [BZ #15923]
33371         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
33373 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
33375         * configure.in (--enable-versioning): Remove configure option.
33376         (libc_cv_asm_symver_directive): Remove configure test.
33377         (libc_cv_ld_version_script_option): Likewise.
33378         (VERSIONING): Remove variable and AC_SUBST.
33379         (DO_VERSIONING): Remove AC_DEFINE.
33380         * configure: Regenerated.
33381         * config.h.in (DO_VERSIONING): Remove macro.
33382         * Makerules [$(versioning) = yes]: Change conditionals to
33383         [$(build-shared) = yes].
33384         * config.make.in (versioning): Remove variable.
33385         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
33386         [$(build-shared) = yes].
33387         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
33388         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
33389         * elf/Makefile [$(versioning) = yes]: Change conditionals to
33390         [$(build-shared) = yes].
33391         * extra-lib.mk [$(versioning) = yes]: Likewise.
33392         * hurd/Makefile [$(versioning) = yes]: Likewise.
33393         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
33394         [SHARED].
33395         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
33396         [SHARED].
33397         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33398         [SHARED && !NO_HIDDEN].
33399         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
33400         [SHARED].
33401         [SHARED && DO_VERSIONING]: Likewise..
33402         * libio/Makefile [$(versioning) = yes]: Change conditionals to
33403         [$(build-shared) = yes].
33404         * manual/install.texi (--disable-versioning): Remove
33405         documentation.
33406         * INSTALL: Regenerated.
33407         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
33408         to [SHARED].
33409         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
33410         [$(build-shared) = yes].
33411         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
33412         * sysdeps/i386/i686/multiarch/strstr-c.c
33413         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33414         [SHARED && !NO_HIDDEN].
33415         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
33416         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
33417         * sysdeps/powerpc/powerpc32/dl-machine.c
33418         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
33419         * sysdeps/powerpc/powerpc32/sysdep.h
33420         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
33421         to [SHARED && PIC && !NO_HIDDEN].
33422         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
33423         conditional to [SHARED].
33425 2013-09-04   Will Newton  <will.newton@linaro.org>
33427         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
33428         * benchtests/bench-string.h: Include bench-timing.h instead
33429         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
33430         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
33431         call to HP_TIMING_DIFF_INIT.
33432         * benchtests/bench-memccpy.c: Use bench-timing.h macros
33433         instead of hp-timing.h macros.
33434         * benchtests/bench-memchr.c: Likewise.
33435         * benchtests/bench-memcmp.c: Likewise.
33436         * benchtests/bench-memcpy.c: Likewise.
33437         * benchtests/bench-memmem.c: Likewise.
33438         * benchtests/bench-memmove.c: Likewise.
33439         * benchtests/bench-memset.c: Likewise.
33440         * benchtests/bench-rawmemchr.c: Likewise.
33441         * benchtests/bench-strcasecmp.c: Likewise.
33442         * benchtests/bench-strcasestr.c: Likewise.
33443         * benchtests/bench-strcat.c: Likewise.
33444         * benchtests/bench-strchr.c: Likewise.
33445         * benchtests/bench-strcmp.c: Likewise.
33446         * benchtests/bench-strcpy.c: Likewise.
33447         * benchtests/bench-strcpy_chk.c: Likewise.
33448         * benchtests/bench-strlen.c: Likewise.
33449         * benchtests/bench-strncasecmp.c: Likewise.
33450         * benchtests/bench-strncat.c: Likewise.
33451         * benchtests/bench-strncmp.c: Likewise.
33452         * benchtests/bench-strncpy.c: Likewise.
33453         * benchtests/bench-strnlen.c: Likewise.
33454         * benchtests/bench-strpbrk.c: Likewise.
33455         * benchtests/bench-strrchr.c: Likewise.
33456         * benchtests/bench-strspn.c: Likewise.
33457         * benchtests/bench-strstr.c: Likewise.
33459 2013-09-04  Will Newton  <will.newton@linaro.org>
33461         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
33463 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
33465         [BZ #15427]
33466         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
33467         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
33468         * math/libm-test.inc (lgamma_test_data): Add more tests.
33469         * sysdeps/i386/fpu/libm-test-ulps: Update.
33470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33472 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
33474         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
33475         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33476         Add ifunc.
33477         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33478         Add strcmp-sse2-unaligned
33479         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
33481 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
33483         * Versions.def (libc): Add GLIBC_2.19.
33485 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
33487         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
33488         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
33490 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
33492         [BZ #14155]
33493         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
33494         intermediate calculations in recurrence.
33495         (__ieee754_ynf): Likewise.
33496         * math/libm-test.inc (jn_test_data): Do not allow spurious
33497         underflow exception.  Add more tests.
33498         (yn_test_data): Add more tests.
33499         * sysdeps/i386/fpu/libm-test-ulps: Update.
33500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33502 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
33504         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
33506 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
33508         * csu/init-first.c: Fix then/than typos.
33509         * locale/programs/ld-collate.c: Likewise.
33510         * locale/programs/linereader.h: Likewise.
33511         * manual/charset.texi: Likewise.
33512         * manual/filesys.texi: Likewise.
33513         * manual/stdio.texi: Likewise.
33514         * manual/string.texi: Likewise.
33515         * stdlib/fmtmsg.c: Likewise.
33516         * sysdeps/i386/stpncpy.S: Likewise.
33517         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33518         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
33519         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33520         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33522 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
33524         * elf/dl-open.c: Fix typos.
33525         * iconvdata/gbbig5.c: Likewise.
33526         * iconvdata/iso-2022-jp.c: Likewise.
33527         * iconv/gconv_int.h: Likewise.
33528         * iconv/loop.c: Likewise.
33529         * nis/rpcsvc/nis.h: Likewise.
33530         * resolv/ns_name.c: Likewise.
33531         * stdio-common/vfscanf.c: Likewise.
33532         * streams/stropts.h: Likewise.
33533         * sunrpc/rpc_thread.c: Likewise.
33534         * sysdeps/i386/strpbrk.S: Likewise.
33535         * sysdeps/ieee754/k_standard.c: Likewise.
33536         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33537         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33538         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
33539         * sysdeps/mach/hurd/profil.c: Likewise.
33540         * sysdeps/s390/dl-procinfo.h: Likewise.
33541         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
33542         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
33543         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
33544         * sysdeps/x86_64/dl-trampoline.S: Likewise.
33545         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33547 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
33549         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
33550         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
33552 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
33554         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
33555         aix specific files.
33556         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
33557         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
33558         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
33559         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
33560         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
33561         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
33562         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
33563         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
33565 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
33566             Roland McGrath  <roland@hack.frob.com>
33568         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
33569         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
33571 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33573         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
33574         __executable_start symbol instead of _start.
33576 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
33578         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
33579         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
33580         Move macros to...
33581         * sysdeps/gnu/ldsodefs.h: ... this new file.
33583         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
33584         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
33585         instead of ELFOSABI_LINUX.
33587         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
33588         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
33589         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
33590         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
33591         Likewise.
33592         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
33593         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
33594         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
33595         Likewise.
33596         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33597         (ibm_extended_long_double): Add ieee_nan member.
33598         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
33599         (do_test): New function.
33601         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
33602         TEST_TRUNC.
33603         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
33604         functions, renamed from truncdfsf_test, trunctfsf_test,
33605         trunctfdf_test.
33606         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
33607         functions.
33608         (do_test): Run all these.
33610 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
33612         * argp/argp-help.c: Fix typos.
33613         * argp/argp-parse.c: Likewise.
33614         * debug/backtracesyms.c: Likewise.
33615         * elf/elf.h: Likewise.
33616         * malloc/malloc.c: Likewise.
33617         * nis/nis_print.c: Likewise.
33618         * resolv/res_comp.c: Likewise.
33619         * stdlib/stdlib.h: Likewise.
33620         * sunrpc/clnt_tcp.c: Likewise.
33621         * sunrpc/clnt_udp.c: Likewise.
33622         * sunrpc/clnt_unix.c: Likewise.
33623         * sysdeps/unix/bsd/ptsname.c: Likewise.
33624         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33625         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
33626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
33627         Likewise.
33628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
33629         Likewise.
33630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
33631         Likewise.
33632         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33634 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33636         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
33637         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33639 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
33641         [BZ #15897]
33642         * dlfcn/Makefile (tests): Add bug-dl-leaf.
33643         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
33644         ($(objpfx)bug-dl-leaf): New rule.
33645         ($(objpfx)bug-dl-leaf.so): Likewise.
33646         ($(objpfx)bug-dl-leaf.out): Likewise.
33647         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
33648         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
33649         * dlfcn/bug-dl-leaf.c: New test.
33650         * dlfcn/bug-dl-leaf-lib.c: Likewise.
33651         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
33652         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
33653         (dlclose): Likewise.
33654         (dlmopen): Likewise.
33656 2013-08-27  Roland McGrath  <roland@hack.frob.com>
33658         * include/netdb.h [!_ISOMAC]:
33659         Don't include <tls.h>.
33660         (h_errno, __libc_h_errno): Move declaration and macros out of
33661         [_LIBC_REENTRANT].
33663         * include/resolv.h [_RESOLV_H_]:
33664         Don't include <tls.h>.
33665         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
33666         * resolv/res_libc.c: Don't include <tls.h>.
33667         (_res): Use __attribute__ ((nocommon)) in place of
33668         __attribute__ ((section (".bss"))).
33670         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
33671         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
33673         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
33675         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
33676         only under [SIOCGIFCONF && SIOCGIFNETMASK].
33678         * resolv/res_mkquery.c: Include <sys/time.h>.
33680         * inet/ifreq.c: Moved to ...
33681         * sysdeps/unix/ifreq.c: ... here.
33682         * inet/ifreq.c: New file, true stub version.
33684         * socket/sa_len.c: New file.
33685         * socket/Makefile (aux): Add it.
33686         * sysdeps/unix/sysv/linux/Makefile
33687         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
33688         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
33689         and #include <socket/sa_len.c>.
33690         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
33691         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
33693         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
33694         * bits/socket.h: ... here.
33696         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
33697         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
33698         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
33700 2013-08-27  Andreas Schwab  <schwab@suse.de>
33702         [BZ #15736]
33703         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
33704         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
33705         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
33706         * string/test-strcasecmp.c (test_main): Run tests in several
33707         locales.
33708         * string/test-strncasecmp.c (test_main): Likewise.
33710         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
33711         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
33712         to __strcasecmp_nonascii and __strncasecmp_nonascii.
33713         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
33714         (__strncasecmp_ssse3) [PIC]: Likewise.
33716 2013-08-26  Roland McGrath  <roland@hack.frob.com>
33718         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
33720         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
33721         instead of explicitly declaring xdecrypt.
33722         * nis/nss_nis/nis-publickey.c: Likewise.
33724 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33726         [BZ #15890]
33727         * nscd/aicache.c: Include res_hconf.h.
33728         (addhstaiX): Initialize res_hconf.
33730 2013-08-26  Andreas Schwab  <schwab@suse.de>
33732         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
33733         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
33735 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33737         * nscd/aicache.c (addhstaiX): Fix indentation.
33739 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
33741         * configure.ac: Quote $build_pt_chown test.
33742         * configure: Regenerated.
33744 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
33746         [BZ #15532]
33747         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
33748         * math/s_cexpf.c (__cexpf): Likewise.
33749         * math/s_cexpl.c (__cexpl): Likewise.
33750         * math/libm-test.inc (cexp_test_data): Correct expected return
33751         value for NaN + i0.  Add another test.
33753 2013-08-22  David S. Miller  <davem@davemloft.net>
33755         * po/ca.po: Update Catalan translation from translation project.
33756         * po/uk.po: Add Ukrainian translations from translation project.
33758 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
33760         [BZ #15797]
33761         * math/s_fdim.c (__fdim): Check for infinite arguments if result
33762         is infinite, not alongside NaN test.
33763         * math/s_fdimf.c (__fdimf): Likewise.
33764         * math/s_fdiml.c (__fdiml): Likewise.
33765         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
33766         errno is unchanged.
33768 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
33770         * argp/argp-help.c: Fix typos.
33771         * crypt/speeds.c: Likewise.
33772         * csu/check_fds.c: Likewise.
33773         * elf/dl-load.c: Likewise.
33774         * elf/dl-open.c: Likewise.
33775         * elf/reldep3.c: Likewise.
33776         * elf/reldep.c: Likewise.
33777         * elf/sprof.c: Likewise.
33778         * iconv/iconv_charmap.c: Likewise.
33779         * iconv/skeleton.c: Likewise.
33780         * iconv/strtab.c: Likewise.
33781         * io/lockf64.c: Likewise.
33782         * libio/libioP.h: Likewise.
33783         * resolv/gai_notify.c: Likewise.
33784         * resolv/ns_name.c: Likewise.
33785         * resolv/ns_samedomain.c: Likewise.
33786         * resolv/res_send.c: Likewise.
33787         * stdlib/random.c: Likewise.
33788         * sunrpc/rpc/xdr.h: Likewise.
33789         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
33790         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33791         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33792         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33793         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33794         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
33795         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
33796         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33797         * sysdeps/mach/hurd/check_fds.c: Likewise.
33798         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33799         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33800         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33801         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33802         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33803         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33804         * sysdeps/pthread/aio_notify.c: Likewise.
33805         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
33806         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
33807         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
33808         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33809         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33811 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33813         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
33814         version if bit_Slow_SSE4_2 is set.
33815         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33816         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33818 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33820         [BZ #15867]
33821         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
33822         trampoline stack frame information.
33823         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
33824         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
33825         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
33826         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
33827         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
33828         * sysdeps/unix/sysv/linux/powerpc/init-first.c
33829         (_libc_vdso_platform_setup): Initialize the signal trampolines.
33830         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
33831         sa_flags value.
33832         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
33833         interrupting a syscall and set with option SA_SIGINFO.
33835 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
33837         [BZ #15531]
33838         * math/s_cproj.c (__cproj): Only return an infinity if one part of
33839         argument is infinite.
33840         * math/s_cprojf.c (__cprojf): Likewise.
33841         * math/s_cprojl.c (__cprojl): Likewise.
33842         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
33843         * math/libm-test.inc (cproj_test_data): Add more tests.
33845         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
33847         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
33848         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
33849         size.  Use __ffs to determine corresponding shift.
33851 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
33852             Roland McGrath  <roland@hack.frob.com>
33854         * Makefile (INSTALL): Remove trailing blank lines from output of
33855         makeinfo.
33857 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33859         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
33860         Align 32 bit compat elf_greg to 8 bytes.
33862 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
33864         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
33866 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33868         * string/strcoll_l.c (coll_seq): New structure.
33869         (get_next_seq_cached): New function.
33870         (get_next_seq): New function.
33871         (do_compare): New function.
33872         (STRCOLL): Use GNU style definition.  Simplify implementation
33873         by using get_next_seq, get_next_seq_cached and do_compare.
33875 2013-08-16  Florian Weimer  <fweimer@redhat.com>
33877         [BZ #14699]
33878         CVE-2013-4237
33879         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
33880         member.
33881         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
33882         member.
33883         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
33884         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
33885         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
33886         conditional.
33887         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
33888         GETDENTS_64BIT_ALIGNED.
33889         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33890         * manual/filesys.texi (Reading/Closing Directory): Document
33891         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
33892         strongly.
33893         * manual/conf.texi (Limits for Files): Add portability note to
33894         NAME_MAX, PATH_MAX.
33895         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
33897 2013-08-13  Andreas Schwab  <schwab@suse.de>
33899         [BZ #15749]
33900         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
33901         of fabs.
33902         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
33903         LDBL_MAX_EXP >= 16384]: Add tests for it.
33905 2013-08-12  David S. Miller  <davem@davemloft.net>
33907         * version.h (RELEASE): Set to "development".
33908         (VERSION): Set to "2.18.90".
33909         * NEWS: Add 2.19 section.
33911 2013-08-03  David S. Miller  <davem@davemloft.net>
33913         * po/ko.po: Update Korean translation from translation project.
33915 2013-08-01  David S. Miller  <davem@davemloft.net>
33917         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
33918         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
33919         Bilka.
33921 2013-07-30  David S. Miller  <davem@davemloft.net>
33923         * po/fr.po: Update French translation from translation project.
33925 2013-07-28  David S. Miller  <davem@davemloft.net>
33927         * po/cs.po: Update Czech translation from translation project.
33929         * po/sv.po: Update Swedish translation from translation project.
33931 2013-07-27  David S. Miller  <davem@davemloft.net>
33933         * po/eo.po: Update Esperanto translation from translation project.
33935         * po/vi.po: Update Vietnamese translation from translation project.
33937         * po/de.po: Update German translation from translation project.
33939 2013-07-26  David S. Miller  <davem@davemloft.net>
33941         * po/bg.po: Update Bulgarian translation from translation project.
33943         * po/nl.po: Update Dutch translation from translation project.
33944         * po/pl.po: Update Polish translation from translation project.
33945         * po/ru.po: Update Russian translation from translation project.
33947 2013-07-24  David S. Miller  <davem@davemloft.net>
33949         * po/libc.pot: Update.
33951 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33953         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
33954         variable page size.
33955         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
33956         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
33957         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
33959 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33961         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
33963 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33964             Andreas Schwab  <schwab@suse.de>
33965             Roland McGrath  <roland@hack.frob.com>
33966             Joseph Myers  <joseph@codesourcery.com>
33967             Carlos O'Donell  <carlos@redhat.com>
33969         [BZ #15755]
33970         * config.h.in: Define HAVE_PT_CHOWN.
33971         * config.make.in (build-pt-chown): New variable.
33972         * configure.in (--enable-pt_chown): New configure option.
33973         * configure: Regenerate.
33974         * login/Makefile: Include Makeconfig.  Build pt_chown only if
33975         build-pt-chown is enabled.
33976         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
33977         pt_chown to fix pty ownership.
33978         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
33979         CLOSE_ALL_FDS.
33980         * manual/install.texi (Configuring and compiling): Mention
33981         --enable-pt_chown. Add @findex for grantpt.
33982         * INSTALL: Regenerate.
33984 2013-07-20  David S. Miller  <davem@davemloft.net>
33986         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
33987         difference between 32-bit and 64-bit.
33989 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
33991         [BZ #15711]
33992         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
33993         Avoid system header dependency with -ffreestanding.
33994         ($(objpfx)bits/syscall%d): Likewise.
33996 2013-07-13  David S. Miller  <davem@davemloft.net>
33998         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
33999         underflows from atanl/atan2l due to bug 15319.
34000         (casinh_test_data): Likewise.
34002 2013-07-07  David S. Miller  <davem@davemloft.net>
34004         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
34006 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
34008         * sysdeps/i386/fpu/libm-test-ulps: Update.
34009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34011 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34013         * configure.in (--enable-lock-elision): Fix message text.
34014         * INSTALL: Regenerate.
34015         * configure: Regenerate.
34017 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34021 2013-07-03  Andreas Jaeger  <aj@suse.de>
34023         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
34024         define.
34025         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
34026         (ptrace_peeksiginfo_args): Add.
34027         (__ptrace_peeksiginfo_flags): Add.
34028         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34029         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34030         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34032 2013-07-03  Allan McRae  <allan@archlinux.org>
34034         * sysdeps/i386/fpu/libm-test-ulps: Update.
34036 2013-07-02  David S. Miller  <davem@davemloft.net>
34038         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34040 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
34042         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34044 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
34046         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34049 2013-07-02  Andi Kleen <ak@linux.intel.com>
34051         * config.h.in (ENABLE_LOCK_ELISION): Add.
34052         * configure.in (--enable-lock-elision): Add option.
34053         * manual/install.texi: Document --enable lock elision.
34054         * configure: Regenerate
34055         * INSTALL: Regenerate.
34057 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
34059         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
34060         SSE4.2 strcasecmp for libc.a.
34061         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34063 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
34065         [BZ #13304]
34066         * soft-fp/op-common.h (_FP_FMA): New macro.
34067         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
34068         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
34069         (_FP_MUL_MEAT_1_imm): ... here.
34070         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
34071         (_FP_MUL_MEAT_1_wide): ... here.
34072         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
34073         (_FP_MUL_MEAT_1_hard): ... here.
34074         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
34075         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
34076         (_FP_MUL_MEAT_2_wide): ... here.
34077         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
34078         (_FP_MUL_MEAT_2_wide_3mul): ... here.
34079         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
34080         (_FP_MUL_MEAT_2_gmp): ... here.
34081         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
34082         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
34083         (_FP_MUL_MEAT_4_wide): ... here.
34084         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
34085         (_FP_MUL_MEAT_4_gmp): ... here.
34086         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
34087         (_FP_WFRACBITS_DW_S): Likewise.
34088         (_FP_WFRACXBITS_DW_S): Likewise.
34089         (_FP_HIGHBIT_DW_S): Likewise.
34090         (FP_FMA_S): Likewise.
34091         (_FP_FRAC_HIGH_DW_S): Likewise.
34092         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
34093         (_FP_WFRACBITS_DW_D): Likewise.
34094         (_FP_WFRACXBITS_DW_D): Likewise.
34095         (_FP_HIGHBIT_DW_D): Likewise.
34096         (FP_FMA_D): Likewise.
34097         (_FP_FRAC_HIGH_DW_D): Likewise.
34098         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
34099         (_FP_WFRACBITS_DW_E): Likewise.
34100         (_FP_WFRACXBITS_DW_E): Likewise.
34101         (_FP_HIGHBIT_DW_E): Likewise.
34102         (FP_FMA_E): Likewise.
34103         (_FP_FRAC_HIGH_DW_E): Likewise.
34104         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
34105         (_FP_WFRACBITS_DW_Q): Likewise.
34106         (_FP_WFRACXBITS_DW_Q): Likewise.
34107         (_FP_HIGHBIT_DW_Q): Likewise.
34108         (FP_FMA_Q): Likewise.
34109         (_FP_FRAC_HIGH_DW_Q): Likewise.
34110         * soft-fp/fmasf4.c: New file.
34111         * soft-fp/fmadf4.c: Likewise.
34112         * soft-fp/fmatf4.c: Likewise.
34114 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34116         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34117         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
34118         Silvermont.
34119         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
34120         macro.
34121         (index_Slow_SSE4_2): Likewise.
34122         (index_Prefer_PMINUB_for_stringop): Likewise.
34123         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
34124         bit_Slow_SSE4_2 is set.
34125         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34126         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34128 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34130         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
34131         rtld_global._dl_hwcap2.
34132         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
34133         POWER8.
34134         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
34135         POWER8 feature descriptions defined in _dl_hwcap2.
34136         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
34137         string handling for POWER8 feature bits.
34138         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
34139         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
34140         _dl_powerpc_cap_flags.
34141         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
34142         * sysdeps/powerpc/rtld-global-offsets.sym
34143         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
34144         _dl_hwcap2 in the rtld_global_ro structure.
34146 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34148         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
34149         hardware capabilities in support of AT_HWCAP2.
34150         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
34151         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
34152         GLRO(dl_hwcap2).
34153         (_dl_show_auxv): Add support for calling _dl_procinfo to display
34154         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
34155         explicitly the unknown a_type display mechanism is used.
34156         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
34157         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
34158         struct member.
34159         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
34160         to macro prototype for AT_HWCAP2 support.
34161         * sysdeps/i386/dl-procinfo.h: Likewise.
34162         * sysdeps/s390/dl-procinfo.h: Likewise.
34163         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
34164         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
34165         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
34166         return -1 for unknown a_type display fallback.
34167         * sysdeps/sparc/dl-procinfo.h: Likewise.
34168         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
34169         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
34171 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
34173         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
34174         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
34176 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
34178         [BZ #12492]
34179         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
34180         mprotect making __stack_prot writable.
34182 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
34183             Joseph Myers  <joseph@codesourcery.com>
34185         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
34186         as being properly aligned.
34188 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
34190         * dlfcn/modstatic5.c: New file.
34191         * dlfcn/tststatic5.c: New file.
34192         * dlfcn/Makefile (tests): Add tststatic5.
34193         (tests-static): Likewise.
34194         (modules-names): Add modstatic5.
34195         (tststatic5-ENV): New variable.
34196         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
34198         [BZ #15022]
34199         * elf/dl-support.c (_dl_main_map): New variable.
34200         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
34201         (_dl_nns, _dl_load_adds): Set to 1.
34202         (_dl_initial_searchlist): Refer to _dl_main_map.
34203         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
34204         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
34205         call to _dl_get_origin.
34206         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
34207         around call_map.
34208         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
34209         * dlfcn/modstatic3.c: New file.
34210         * dlfcn/tststatic3.c: New file.
34211         * dlfcn/tststatic4.c: New file.
34212         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
34213         (tests-static): Likewise.
34214         (modules-names): Add modstatic3.
34215         (tststatic3-ENV, tststatic4-ENV): New variables.
34216         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
34217         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
34219 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
34221         * configure.in (CC): Require GCC version 4.4 or later.
34222         * configure: Regenerated.
34223         * manual/install.texi (Tools for Compilation): Update GCC version
34224         requirement.
34225         * INSTALL: Regenerated.
34227 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34229         [BZ #15674]
34230         * string/test-memcmp.c (check2): New.
34231         (main): Call check2.
34233         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
34235 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
34237         [BZ #15022]
34238         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
34239         over to...
34240         (dl_open_worker) [!SHARED]: ... here.
34242 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34244         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
34246 2013-06-25  Richard Henderson  <rth@redhat.com>
34248         * locale/programs/locarchive.c: Include <libc-internal.h>
34250 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
34252         * manual/texinfo.tex: Update to version 2013-06-21.17, with
34253         trailing whitespace removed.
34255 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
34257         [BZ #10283]
34258         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
34259         * locale/programs/locarchive.c: Include libc-mmap.h.
34260         (prepare_address_space): Take two new outputs (the mmap base and len).
34261         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
34262         values.
34263         (create_archive): Declare new mmap base and len values for
34264         prepare_address_space, and store the result in ah.
34265         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
34266         (enlarge_archive): If ah->mmap_base is not NULL, use that and
34267         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34268         Declare new mmap base and len values for
34269         prepare_address_space, and store the result in new_ah.
34270         (open_archive): Declare new mmap base and len values for
34271         prepare_address_space, and store the result in ah.
34272         (close_archive): If ah->mmap_base is not NULL, use that and
34273         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34274         * sysdeps/generic/libc-mmap.h: New file.
34276 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
34278         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
34279         (ALIGN_UP): Likewise.
34280         (PTR_ALIGN_DOWN): Likewise.
34281         (PTR_ALIGN_UP): Likewise.
34283 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34285         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
34286         entry mapped to PPC_PLATFORM_POWER8.
34287         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
34288         POWER8.
34289         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
34290         (_dl_string_platform): Add case for exporting platform position for
34291         POWER8.
34292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
34293         search path to sysdeps/powerpc/powerpc32/power8 directory.
34294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
34295         search path to sysdeps/powerpc/powerpc64/power8 directory.
34296         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
34297         power7 directories.
34298         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
34299         power7 directories.
34301 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34303         * INSTALL: Regenerate.
34305         * nscd/connections.c (nscd_init): Fix comment.
34307 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
34309         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
34311         [BZ #15667]
34312         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
34313         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
34315 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
34317         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
34318         DL_DST_REQ_STATIC.
34319         (DL_DST_REQ_STATIC): Remove macro.
34321 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
34323         [BZ #7006]
34324         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
34325         with a shift of 0 bits.
34327 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
34329         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
34330         $(tststatic-ENV).
34332 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34334         [BZ #15655]
34335         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
34337 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34339         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
34340         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
34341         accepts -fno-tree-loop-distribute-patterns.
34342         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
34343         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
34344         recursive call.
34345         * string/memset.c (memset): Likewise.
34346         * string/test-memmove.c (simple_memmove): Disable loop transformation
34347         to library calls.
34348         * string/test-memset.c (simple_memset): Likewise.
34349         * benchtests/bench-memmove.c (simple_memmove): Likewise.
34350         * benchtests/bench-memset.c (simple_memset): Likewise.
34351         * configure: Regenerated.
34353 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
34355         * math/test-misc.c (main): Ignore fesetround failure when failures
34356         of subsequent rounding tests would be ignored.
34358         [BZ #15654]
34359         * math/fedisblxcpt.c (fedisableexcept): Return 0.
34360         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
34361         * math/fegetenv.c (__fegetenv): Return 0.
34362         * math/fegetexcept.c (fegetexcept): Return 0.
34363         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
34364         FE_TONEAREST.
34365         * math/feholdexcpt.c (feholdexcept): Return 0.
34366         * math/fesetenv.c (__fesetenv): Return 0.
34367         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
34368         argument FE_TONEAREST.
34369         * math/feupdateenv.c (__feupdateenv): Return 0.
34370         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
34372 2013-06-18  Roland McGrath  <roland@hack.frob.com>
34374         * elf/rtld-Rules (rtld-compile-command.S): New variable.
34375         (rtld-compile-command.s, rtld-compile-command.c): New variables.
34376         ($(objpfx)rtld-%.os rules): Use them.
34378 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34380         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
34381         fields.
34383 2013-06-17  Roland McGrath  <roland@hack.frob.com>
34385         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
34386         length of target pattern, then descending length of dependency pattern.
34387         * configure.in (AWK): Require gawk 3.1.2 or newer.
34388         * manual/install.texi (Tools for Compilation): Say that we do.
34389         * configure: Regenerated.
34391         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
34392         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
34393         * scripts/sysd-rules.awk: ... this new script.
34394         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
34395         than a glob-style pattern.
34397 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
34399         * math/test-misc.c (main): Do not treat incorrectly rounded
34400         conversions as failure unless ROUNDING_TESTS passes.
34402 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
34404         [BZ #15631]
34405         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
34406         restore exception state around main square root computation, then
34407         check for inexactness explicitly.
34409         * math/libm-test.inc (fma_test_data): Add another test.
34411 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34413         * manual/threads.texi (Non-POSIX Extensions): New document
34414         node.  Document pthread_getattr_default_np and
34415         pthread_setattr_default_np.
34417         * Versions.def (libpthread): Add GLIBC_2.18.
34418         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
34419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34420         Likewise.
34421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34422         Likewise.
34423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34424         Likewise.
34425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34426         Likewise.
34427         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
34428         Likewise.
34429         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34430         Likewise.
34431         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34432         Likewise.
34433         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34434         Likewise.
34435         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34436         Likewise.
34438 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34440         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34441         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
34443 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34444             H.J. Lu  <hjl.tools@gmail.com>
34446         [BZ #15627]
34447         * sysdeps/x86_64/rtld-memset.c: Remove file.
34448         * sysdeps/x86_64/rtld-memset.S: New file.
34450 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
34452         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
34453         (test_in_one_mode): Take arguments for whether the rounding mode
34454         is supported for each floating-point type.
34455         (do_test): Pass new arguments to test_in_one_mode using
34456         ROUNDING_TESTS.
34458 2013-06-13  Roland McGrath  <roland@hack.frob.com>
34460         * posix/tst-waitid.c (do_test): Distinguish different instances of
34461         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
34462         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
34463         before entering the kernel for waitpid.
34465 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34467         * NEWS: Fix note on clock function precision.  Text by Roland
34468         McGrath.
34470 2013-06-13  Roland McGrath  <roland@hack.frob.com>
34472         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
34473         it into place only when and if the sanity check passes.
34475 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
34477         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
34478         output for whether conversion result is exact.  Take argument
34479         indicating whether type is IBM long double.
34480         (round_for_all): Change need_exact field to ibm_ld.
34481         * stdlib/tst-strtod-round.c (struct exactness): New type.
34482         (struct test): Change bool ld_ok field to struct exactness exact.
34483         (TEST): Update all definitions for change to field.
34484         (tests): Regenerate array contents.
34485         (test_in_one_mode): Take pointer to new field instead of old ld_ok
34486         field value.  Check for IBM long double here.
34487         (do_test): Update calls to test_in_one_mode.
34489 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34491         [BZ #12515]
34492         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
34493         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
34495 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34497         [BZ #15605]
34498         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
34499         generated by the compiler on loop optimizations.
34500         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
34501         general definitions.
34503 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
34505         * math/bug-nextafter.c: Include <math-tests.h>.
34506         (main): Only test for exceptions if EXCEPTION_TESTS is true for
34507         the relevant type.
34508         * math/bug-nexttoward.c: Include <math-tests.h>.
34509         (main): Only test for exceptions if EXCEPTION_TESTS is true for
34510         the relevant type.
34511         * math/test-misc.c: Include <math-tests.h>.
34512         (main): Only test for exceptions if EXCEPTION_TESTS is true for
34513         the relevant type.
34515 2013-06-12  Andreas Jaeger  <aj@suse.de>
34517         * po/ia.po: Update Interlingua translation from translation
34518         project.
34520 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34522         * include/fenv.h: Include stdbool.h.
34523         (struct rm_ctx): New structure.
34524         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
34525         Define macro.
34526         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
34527         (SET_RESTORE_ROUNDF): Likewise.
34528         (SET_RESTORE_ROUNDL): Likewise.
34529         (SET_RESTORE_ROUND_NOEX): Likewise.
34530         (SET_RESTORE_ROUND_NOEXF): Likewise.
34531         (SET_RESTORE_ROUND_NOEXL): Likewise.
34532         (SET_RESTORE_ROUND_53BIT): Likewise.
34533         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
34534         (libc_feresetround_noexf_ctx): Likewise.
34535         (libc_feresetround_noexl_ctx): Likewise.
34536         (libc_feholdsetround_53bit_ctx): Likewise.
34537         (libc_feresetround_53bit_ctx): Likewise.
34538         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
34539         (libc_feholdexcept_setround_sse_ctx): New function.
34540         (libc_fesetenv_sse_ctx): Likewise.
34541         (libc_feupdateenv_sse_ctx): Likewise.
34542         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
34543         (libc_feholdexcept_setround_387_ctx): Likewise.
34544         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
34545         (libc_feholdsetround_387_prec_ctx): Likewise.
34546         (libc_feholdsetround_387_ctx): Likewise.
34547         (libc_feholdsetround_387_53bit_ctx): Likewise.
34548         (libc_feholdsetround_sse_ctx): Likewise.
34549         (libc_feresetround_sse_ctx): Likewise.
34550         (libc_feresetround_387_ctx): Likewise.
34551         (libc_feupdateenv_387_ctx): Likewise.
34552         (libc_feholdexcept_setroundf_ctx): Define macro.
34553         (libc_fesetenvf_ctx): Likewise.
34554         (libc_feupdateenvf_ctx): Likewise.
34555         (libc_feholdsetroundf_ctx): Likewise.
34556         (libc_feresetroundf_ctx): Likewise.
34557         (libc_feholdexcept_setround_ctx): Likewise.
34558         (libc_fesetenv_ctx): Likewise.
34559         (libc_feupdateenv_ctx): Likewise.
34560         (libc_feholdsetround_ctx): Likewise.
34561         (libc_feresetround_ctx): Likewise.
34562         (libc_feholdexcept_setroundl_ctx): Likewise.
34563         (libc_feupdateenvl_ctx): Likewise.
34564         (libc_feholdsetroundl_ctx): Likewise.
34565         (libc_feresetroundl_ctx): Likewise.
34566         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
34567         (libc_feresetround_53bit_ctx): Likewise.
34569 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34571         * locale/iso-639.def: Convert to UTF-8.
34573 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
34575         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
34576         (EXCEPTION_TESTS_double): Likewise.
34577         (EXCEPTION_TESTS_long_double): Likewise.
34578         (EXCEPTION_TESTS): Likewise.
34579         * math/libm-test.inc (test_exceptions): Only test exceptions if
34580         EXCEPTION_TESTS (FLOAT).
34582 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34584         * benchtests/Makefile (string-bench): Add strcpy_chk and
34585         stpcpy_chk.
34586         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
34587         * benchtests/bench-stpcpy_chk.c: New file.
34588         * benchtests/bench-strcpy_chk-ifunc.c: New file.
34589         * benchtests/bench-strcpy_chk.c: New file.
34590         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
34591         code.
34592         (do_test): Likewise.
34594 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34596         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
34597         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
34598         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
34599         with tabs where appropriate.
34600         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
34601         dl-procinfo.h.
34602         [PPC_PLATFORM_PPC440]: Likewise.
34603         [PPC_PLATFORM_PPC464]: Likewise.
34604         [PPC_PLATFORM_PPC476]: Likewise.
34605         (_dl_string_platform): Add support for detecting ppc405, ppc440,
34606         ppc464, and ppc476 platform strings merging from ports/
34607         dl-procinfo.h.
34609 2013-06-11  Andreas Schwab  <schwab@suse.de>
34611         [BZ #14991]
34612         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
34613         (from_ucs4_idx): Regenerate.
34614         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
34615         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
34616         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
34617         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
34618         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
34619         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
34620         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
34621         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
34622         from FROM_LOOP and TO_LOOP specific macros.
34623         (BODY): Handle combining characters.
34624         * iconvdata/BIG5HKSCS.irreversible: Update.
34625         * iconvdata/BIG5HKSCS.precomposed: New file.
34626         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
34627         characters.
34628         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
34630 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34632         * include/sys/time.h: Fix indentation and add copyright header.
34634         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
34635         (do_test): Likewise.
34636         * string/test-memchr.c (do_one_test): Likewise.
34637         (do_test): Likewise.
34638         * string/test-memcmp.c (do_one_test): Likewise.
34639         (do_test): Likewise.
34640         * string/test-memcpy.c (do_one_test): Likewise.
34641         (do_test): Likewise.
34642         * string/test-memmem.c (do_one_test): Likewise.
34643         (do_test): Likewise.
34644         (do_random_tests): Likewise.
34645         * string/test-memmove.c (do_one_test): Likewise.
34646         (do_test): Likewise.
34647         * string/test-memset.c (do_one_test): Likewise.
34648         (do_test): Likewise.
34649         * string/test-rawmemchr.c (do_one_test): Likewise.
34650         (do_test): Likewise.
34651         * string/test-strcasecmp.c (do_one_test): Likewise.
34652         (do_test): Likewise.
34653         * string/test-strcasestr.c (do_one_test): Likewise.
34654         (do_test): Likewise.
34655         * string/test-strcat.c (do_one_test): Likewise.
34656         (do_test): Likewise.
34657         * string/test-strchr.c (do_one_test): Likewise.
34658         (do_test): Likewise.
34659         * string/test-strcmp.c (do_one_test): Likewise.
34660         (do_test): Likewise.
34661         * string/test-strcpy.c (do_one_test): Likewise.
34662         (do_test): Likewise.
34663         * string/test-string.h: Likewise.
34664         (test_init): Likewise.
34665         * string/test-strlen.c (do_one_test): Likewise.
34666         (do_test): Likewise.
34667         * string/test-strncasecmp.c (do_one_test): Likewise.
34668         (do_test): Likewise.
34669         * string/test-strncat.c (do_one_test): Likewise.
34670         (do_test): Likewise.
34671         * string/test-strncmp.c (do_one_test): Likewise.
34672         (do_test_limit): Likewise.
34673         (do_test): Likewise.
34674         * string/test-strncpy.c (do_one_test): Likewise.
34675         (do_test): Likewise.
34676         * string/test-strnlen.c (do_one_test): Likewise.
34677         (do_test): Likewise.
34678         * string/test-strpbrk.c (do_one_test): Likewise.
34679         (do_test): Likewise.
34680         * string/test-strrchr.c (do_one_test): Likewise.
34681         (do_test): Likewise.
34682         * string/test-strspn.c (do_one_test): Likewise.
34683         (do_test): Likewise.
34684         * string/test-strstr.c (do_one_test): Likewise.
34685         (do_test): Likewise.
34687         * benchtests/Makefile (string-bench): Add string benchmarks.
34688         * benchtests/bench-bcopy-ifunc.c: New file.
34689         * benchtests/bench-bcopy.c: New file.
34690         * benchtests/bench-bzero-ifunc.c: New file.
34691         * benchtests/bench-bzero.c: New file.
34692         * benchtests/bench-memccpy-ifunc.c: New file.
34693         * benchtests/bench-memccpy.c: New file.
34694         * benchtests/bench-memchr-ifunc.c: New file.
34695         * benchtests/bench-memchr.c: New file.
34696         * benchtests/bench-memcmp-ifunc.c: New file.
34697         * benchtests/bench-memcmp.c: New file.
34698         * benchtests/bench-memmem-ifunc.c: New file.
34699         * benchtests/bench-memmem.c: New file.
34700         * benchtests/bench-memmove-ifunc.c: New file.
34701         * benchtests/bench-memmove.c: New file.
34702         * benchtests/bench-mempcpy-ifunc.c: New file.
34703         * benchtests/bench-mempcpy.c: New file.
34704         * benchtests/bench-memset-ifunc.c: New file.
34705         * benchtests/bench-memset.c: New file.
34706         * benchtests/bench-rawmemchr-ifunc.c: New file.
34707         * benchtests/bench-rawmemchr.c: New file.
34708         * benchtests/bench-stpcpy-ifunc.c: New file.
34709         * benchtests/bench-stpcpy.c: New file.
34710         * benchtests/bench-stpncpy-ifunc.c: New file.
34711         * benchtests/bench-stpncpy.c: New file.
34712         * benchtests/bench-strcasecmp-ifunc.c: New file.
34713         * benchtests/bench-strcasecmp.c: New file.
34714         * benchtests/bench-strcasestr-ifunc.c: New file.
34715         * benchtests/bench-strcasestr.c: New file.
34716         * benchtests/bench-strcat-ifunc.c: New file.
34717         * benchtests/bench-strcat.c: New file.
34718         * benchtests/bench-strchr-ifunc.c: New file.
34719         * benchtests/bench-strchr.c: New file.
34720         * benchtests/bench-strchrnul-ifunc.c: New file.
34721         * benchtests/bench-strchrnul.c: New file.
34722         * benchtests/bench-strcmp-ifunc.c: New file.
34723         * benchtests/bench-strcmp.c: New file.
34724         * benchtests/bench-strcpy-ifunc.c: New file.
34725         * benchtests/bench-strcpy.c: New file.
34726         * benchtests/bench-strcspn-ifunc.c: New file.
34727         * benchtests/bench-strcspn.c: New file.
34728         * benchtests/bench-strlen-ifunc.c: New file.
34729         * benchtests/bench-strlen.c: New file.
34730         * benchtests/bench-strncasecmp-ifunc.c: New file.
34731         * benchtests/bench-strncasecmp.c: New file.
34732         * benchtests/bench-strncat-ifunc.c: New file.
34733         * benchtests/bench-strncat.c: New file.
34734         * benchtests/bench-strncmp-ifunc.c: New file.
34735         * benchtests/bench-strncmp.c: New file.
34736         * benchtests/bench-strncpy-ifunc.c: New file.
34737         * benchtests/bench-strncpy.c: New file.
34738         * benchtests/bench-strnlen-ifunc.c: New file.
34739         * benchtests/bench-strnlen.c: New file.
34740         * benchtests/bench-strpbrk-ifunc.c: New file.
34741         * benchtests/bench-strpbrk.c: New file.
34742         * benchtests/bench-strrchr-ifunc.c: New file.
34743         * benchtests/bench-strrchr.c: New file.
34744         * benchtests/bench-strspn-ifunc.c: New file.
34745         * benchtests/bench-strspn.c: New file.
34746         * benchtests/bench-strstr-ifunc.c: New file.
34747         * benchtests/bench-strstr.c: New file.
34749         * benchtests/Makefile: Disable parallel execution of targets.
34750         (string-bench): Add memcpy.
34751         (benchset): New variable to store a list of benchmark sets.
34752         (bench-func): Renamed from bench.
34753         (bench-set): New target.
34754         (bench): Depend on bench-func and bench-set.
34755         * benchtests/README: Add section on benchmark sets.
34756         * benchtests/bench-memcpy-ifunc.c: New file.
34757         * benchtests/bench-memcpy.c: New file.
34758         * benchtests/bench-string.h: New file.
34760 2013-06-11  Andreas Schwab  <schwab@suse.de>
34762         [BZ #15577]
34763         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
34764         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
34765         values in the triple.
34766         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
34767         terminator in the group key.
34769 2013-06-11  Andreas Jaeger  <aj@suse.de>
34771         * po/zh_TW.po: Update Chinese (traditional) translation from
34772         translation project.
34774 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34776         * include/time.h (__clock_gettime): Add libc_hidden_proto.
34777         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
34778         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
34779         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34780         (clock_getcpuclockid): Likewise.
34781         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
34782         Add weak_alias and libc_hidden_def.
34783         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
34784         * rt/clock_gettime.c (clock_gettime): Rename to
34785         __clock_gettime.  Add weak_alias and libc_hidden_def.
34786         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
34787         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
34788         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
34789         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
34790         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
34791         Likewise.
34792         * rt/clock_settime.c (clock_settime): Rename to
34793         __clock_settime.  Add weak_alias and libc_hidden_def.
34794         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
34796 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
34798         * mach/err_boot.sub: Remove trailing whitespace.
34799         * mach/err_ipc.sub: Likewise.
34800         * mach/err_mach.sub: Likewise.
34802         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
34803         (ROUNDING_TESTS_double): Likewise.
34804         (ROUNDING_TESTS_long_double): Likewise.
34805         (ROUNDING_TESTS): Likewise.
34806         * math/libm-test.inc: Include <math-tests.h>.
34807         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
34808         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34809         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34810         (IF_ROUND_INIT_FE_UPWARD): Likewise.
34812 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34814         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
34815         of assigning.
34817 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
34819         * sysdeps/gnu/errlist.awk: Do not generate space at end of
34820         otherwise empty TRANS lines.
34821         * sysdeps/gnu/errlist.c: Regenerated.
34823         * catgets/gencat.c (error_print): Use (void) in function
34824         definition.
34825         * crypt/crypt_util.c (__init_des): Likewise.
34826         * crypt/speeds.c (Stop): Likewise.
34827         (main): Likewise.
34828         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
34829         * inet/ruserpass.c (token): Likewise.
34830         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
34831         * intl/localealias.c (extend_alias_table): Likewise.
34832         * intl/plural-exp.c (init_germanic_plural): Likewise.
34833         * libio/fcloseall.c (__fcloseall): Likewise.
34834         * libio/genops.c (_IO_flush_all): Likewise.
34835         (_IO_flush_all_linebuffered): Likewise.
34836         (_IO_cleanup): Likewise.
34837         (_IO_iter_begin): Likewise.
34838         (_IO_iter_end): Likewise.
34839         (_IO_list_lock): Likewise.
34840         (_IO_list_unlock): Likewise.
34841         (_IO_list_resetlock): Likewise.
34842         * libio/getchar.c (getchar): Likewise.
34843         * libio/getchar_u.c (getchar_unlocked): Likewise.
34844         * libio/getwchar.c (getwchar): Likewise.
34845         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
34846         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
34847         * login/getpt.c (__getpt): Likewise.
34848         * login/tst-utmp.c (main): Likewise.
34849         * malloc/hooks.c (__malloc_check_init): Likewise.
34850         * malloc/malloc.c (__malloc_stats): Likewise.
34851         * malloc/mtrace.c (tr_break): Likewise.
34852         (mtrace): Likewise.
34853         (muntrace): Likewise.
34854         * misc/fstab.c (endfsent): Likewise.
34855         * misc/getclktck.c (__getclktck): Likewise.
34856         * misc/getdtsz.c (__getdtablesize): Likewise.
34857         * misc/gethostid.c (gethostid): Likewise.
34858         * misc/getpagesize.c (__getpagesize): Likewise.
34859         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
34860         (__get_nprocs): Likewise.
34861         (__get_phys_pages): Likewise.
34862         (__get_avphys_pages): Likewise.
34863         * misc/getttyent.c (getttyent): Likewise.
34864         (setttyent): Likewise.
34865         (endttyent): Likewise.
34866         * misc/getusershell.c (getusershell): Likewise.
34867         (endusershell): Likewise.
34868         (setusershell): Likewise.
34869         (initshells): Likewise.
34870         * misc/hsearch.c (__hdestroy): Likewise.
34871         * misc/sync.c (sync): Likewise.
34872         * misc/syslog.c (closelog_internal): Likewise.
34873         (closelog): Likewise.
34874         * misc/ttyslot.c (ttyslot): Likewise.
34875         * misc/vhangup.c (vhangup): Likewise.
34876         * posix/fork.c (__fork): Likewise.
34877         * posix/getegid.c (__getegid): Likewise.
34878         * posix/geteuid.c (__geteuid): Likewise.
34879         * posix/getgid.c (__getgid): Likewise.
34880         * posix/getpid.c (__getpid): Likewise.
34881         * posix/getppid.c (__getppid): Likewise.
34882         * posix/getuid.c (__getuid): Likewise.
34883         * posix/pause.c (pause): Likewise.
34884         * posix/setpgrp.c (setpgrp): Likewise.
34885         * posix/setsid.c (__setsid): Likewise.
34886         * posix/test-vfork.c (noop): Likewise.
34887         * resolv/gethnamaddr.c (_endhtent): Likewise.
34888         (_gethtent): Likewise.
34889         (ht_endhostent): Likewise.
34890         (gethostent): Likewise.
34891         (dns_service): Likewise.
34892         * stdlib/drand48.c (drand48): Likewise.
34893         * stdlib/lrand48.c (lrand48): Likewise.
34894         * stdlib/mrand48.c (mrand48): Likewise.
34895         * stdlib/rand.c (rand): Likewise.
34896         * stdlib/random.c (__random): Likewise.
34897         * stdlib/setenv.c (clearenv): Likewise.
34898         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
34899         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
34900         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
34901         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
34902         (__get_nprocs): Likewise.
34903         (__get_phys_pages): Likewise.
34904         (__get_avphys_pages): Likewise.
34905         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
34906         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
34907         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
34908         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
34909         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
34910         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
34911         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
34912         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
34913         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
34914         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
34915         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
34916         * sysdeps/mach/hurd/sync.c (sync): Likewise.
34917         * sysdeps/posix/clock.c (clock): Likewise.
34918         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
34919         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
34920         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
34921         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34922         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
34923         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34924         (__get_nprocs_conf): Likewise.
34925         (__get_phys_pages): Likewise.
34926         (__get_avphys_pages): Likewise.
34927         * time/clock.c (clock): Likewise.
34928         * time/tzset.c (__tzname_max): Likewise.
34930 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
34932         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
34933         (__bswap_32): Do not use "register".
34934         * crypt/crypt.c (_ufc_doit_r): Likewise.
34935         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34936         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34937         * gmon/gmon.c (__monstartup): Likewise.
34938         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
34939         * hurd/hurdmalloc.c (more_memory): Likewise.
34940         (malloc): Likewise.
34941         (free): Likewise.
34942         (realloc): Likewise.
34943         (malloc_fork_prepare): Likewise.
34944         (malloc_fork_parent): Likewise.
34945         (malloc_fork_child): Likewise.
34946         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
34947         (_svcauth_des): Likewise.
34948         * inet/inet_lnaof.c (inet_lnaof): Likewise.
34949         * inet/inet_net.c (inet_network): Likewise.
34950         * inet/inet_netof.c (inet_netof): Likewise.
34951         * inet/rcmd.c (__validuser2_sa): Likewise.
34952         * io/fts.c (fts_open): Likewise.
34953         (fts_load): Likewise.
34954         (fts_close): Likewise.
34955         (fts_read): Likewise.
34956         (fts_children): Likewise.
34957         (fts_build): Likewise.
34958         (fts_stat): Likewise.
34959         (fts_sort): Likewise.
34960         (fts_alloc): Likewise.
34961         (fts_lfree): Likewise.
34962         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
34963         (_IO_file_xsgetn): Likewise.
34964         (_IO_file_xsgetn_mmap): Likewise.
34965         * libio/iofopncook.c (_IO_cookie_read): Likewise.
34966         (_IO_cookie_write): Likewise.
34967         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
34968         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
34969         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
34970         * malloc/obstack.c (_obstack_begin): Likewise.
34971         (_obstack_begin_1): Likewise.
34972         (_obstack_newchunk): Likewise.
34973         (_obstack_allocated_p): Likewise.
34974         (obstack_free): Likewise.
34975         (_obstack_memory_used): Likewise.
34976         * misc/getttyent.c (getttynam): Likewise.
34977         (getttyent): Likewise.
34978         (skip): Likewise.
34979         (value): Likewise.
34980         * misc/getusershell.c (initshells): Likewise.
34981         * misc/syslog.c (__vsyslog_chk): Likewise.
34982         * misc/ttyslot.c (ttyslot): Likewise.
34983         * nis/nis_hash.c (__nis_hash): Likewise.
34984         * posix/fnmatch_loop.c (FCT): Likewise.
34985         * posix/getconf.c (print_all): Likewise.
34986         (main): Likewise.
34987         * posix/getopt.c (exchange): Likewise.
34988         * posix/glob.c (globfree): Likewise.
34989         (prefix_array): Likewise.
34990         (__glob_pattern_type): Likewise.
34991         * resolv/arpa/nameser.h (NS_GET16): Likewise.
34992         (NS_GET32): Likewise.
34993         (NS_PUT16): Likewise.
34994         (NS_PUT32): Likewise.
34995         * resolv/gethnamaddr.c (getanswer): Likewise.
34996         (gethostbyname2): Likewise.
34997         (gethostbyaddr): Likewise.
34998         (_gethtent): Likewise.
34999         (_gethtbyname2): Likewise.
35000         (_gethtbyaddr): Likewise.
35001         * resolv/ns_print.c (dst_s_get_int16): Likewise.
35002         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
35003         * resolv/res_init.c (__res_vinit): Likewise.
35004         (net_mask): Likewise.
35005         * resolv/res_mkquery.c (outchar): Likewise.
35006         (PRINT): Likewise.
35007         * stdio-common/printf_fp.c (outchar): Likewise.
35008         (PRINT): Likewise.
35009         * stdio-common/printf_fphex.c (outchar): Likewise.
35010         (PRINT): Likewise.
35011         * stdio-common/printf_size.c (outchar): Likewise.
35012         (PRINT): Likewise.
35013         * stdio-common/test_rdwr.c (main): Likewise.
35014         * stdio-common/tfformat.c (matches): Likewise.
35015         * stdio-common/vfprintf.c (outchar): Likewise.
35016         (printf_unknown): Likewise.
35017         (buffered_vfprintf): Likewise.
35018         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
35019         * stdio-common/xbug.c (AppendToBuffer): Likewise.
35020         (ReadFile): Likewise.
35021         * stdlib/qsort.c (SWAP): Likewise.
35022         (_quicksort): Likewise.
35023         * stdlib/setenv.c (__add_to_environ): Likewise.
35024         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
35025         * stdlib/strtol_l.c (__strtol_l): Likewise.
35026         * stdlib/tst-strtod.c (main): Likewise.
35027         * stdlib/tst-strtol.c (main): Likewise.
35028         * stdlib/tst-strtoll.c (main): Likewise.
35029         * string/bits/string2.h (__strcmp_cc): Likewise.
35030         (__strcmp_cg): Likewise.
35031         (__strcspn_c1): Likewise.
35032         (__strcspn_c2): Likewise.
35033         (__strcspn_c3): Likewise.
35034         (__strspn_c1): Likewise.
35035         (__strspn_c2): Likewise.
35036         (__strspn_c3): Likewise.
35037         (__strsep_1c): Likewise.
35038         (__strsep_2c): Likewise.
35039         (__strsep_3c): Likewise.
35040         * string/memccpy.c (__memccpy): Likewise.
35041         * string/stpcpy.c (__stpcpy): Likewise.
35042         * string/strcmp.c (strcmp): Likewise.
35043         * string/strrchr.c (strrchr): Likewise.
35044         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
35045         Likewise.
35046         * sysdeps/mach/hurd/getcwd.c
35047         (_hurd_canonicalize_directory_name_internal): Likewise.
35048         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
35049         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
35050         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
35051         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
35052         Likewise, in both definitions.
35053         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
35054         definitions.
35055         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
35056         64] (__bswap_64): Likewise.
35057         * time/test_time.c (main): Likewise.
35058         * time/tzfile.c (__tzfile_read): Likewise.
35059         (__tzfile_compute): Likewise.
35060         * time/tzset.c (__tzset_parse_tz): Likewise.
35061         (tzset_internal): Likewise.
35062         (compute_change): Likewise.
35063         * wcsmbs/wcscat.c (__wcscat): Likewise.
35064         * wcsmbs/wcschr.c (wcschr): Likewise.
35065         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
35066         * wcsmbs/wcscspn.c (wcscspn): Likewise.
35067         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
35068         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
35069         * wcsmbs/wcsspn.c (wcsspn): Likewise.
35070         * wcsmbs/wcsstr.c (wcsstr): Likewise.
35071         * wcsmbs/wmemchr.c (wmemchr): Likewise.
35072         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
35073         * wcsmbs/wmemset.c (wmemset): Likewise.
35075 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
35077         * scripts/config.guess: Update to version 2013-05-16.
35078         * scripts/config.sub: Update to version 2013-04-24.
35079         * scripts/install-sh: Update to version 2011-11-20.07.
35080         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
35081         * scripts/move-if-change: Update to version 2012-01-06 07:23.
35083 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
35085         * debug/fgetws_u_chk.c: Fix leading whitespaces.
35086         * elf/sln.c: Likewise.
35087         * hurd/hurd/ioctl.h: Likewise.
35088         * hurd/hurdmalloc.c: Likewise.
35089         * hurd/xattr.c: Likewise.
35090         * include/shlib-compat.h: Likewise.
35091         * inet/ruserpass.c: Likewise.
35092         * libio/iofgets_u.c: Likewise.
35093         * libio/iofgetws_u.c: Likewise.
35094         * locale/programs/ld-identification.c: Likewise.
35095         * locale/programs/ld-time.c: Likewise.
35096         * mach/msg-destroy.c: Likewise.
35097         * nss/nss_files/files-netgrp.c: Likewise.
35098         * resolv/res_data.c: Likewise.
35099         * soft-fp/op-1.h: Likewise.
35100         * soft-fp/op-2.h: Likewise.
35101         * soft-fp/op-4.h: Likewise.
35102         * soft-fp/op-common.h: Likewise.
35103         * stdio-common/printf_fphex.c: Likewise.
35104         * stdlib/strtod_l.c: Likewise.
35105         * sunrpc/rpc/clnt.h: Likewise.
35106         * sysdeps/generic/framestate.c: Likewise.
35107         * sysdeps/i386/bsd-_setjmp.S: Likewise.
35108         * sysdeps/i386/bsd-setjmp.S: Likewise.
35109         * sysdeps/i386/__longjmp.S: Likewise.
35110         * sysdeps/i386/setjmp.S: Likewise.
35111         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35112         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35113         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35114         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35115         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35116         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35117         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35118         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35119         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35120         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35121         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35122         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35123         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35124         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35125         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35126         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35127         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35128         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
35129         * sysdeps/ieee754/support.c: Likewise.
35130         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35131         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
35132         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
35133         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
35134         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
35135         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
35136         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
35137         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
35138         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
35139         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
35140         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
35141         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
35142         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
35143         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
35144         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
35145         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
35146         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35149 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
35151         * posix/transbug.c: Remove executable mode.
35153 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
35155         * crypt/speeds.c: Remove trailing whitespace.
35156         * dlfcn/default.c: Likewise.
35157         * elf/ifuncdep2.c: Likewise.
35158         * elf/ifuncmain1.c: Likewise.
35159         * elf/ifuncmain1vis.c: Likewise.
35160         * elf/testobj.h: Likewise.
35161         * elf/tst-stackguard1.c: Likewise.
35162         * gmon/sys/gmon.h: Likewise.
35163         * hurd/hurdmsg.c: Likewise.
35164         * hurd/new-fd.c: Likewise.
35165         * hurd/ports-get.c: Likewise.
35166         * iconvdata/ibm1008_420.c: Likewise.
35167         * inet/tst-getni1.c: Likewise.
35168         * inet/tst-getni2.c: Likewise.
35169         * libio/ioungetc.c: Likewise.
35170         * libio/wfiledoalloc.c: Likewise.
35171         * manual/libm-err-tab.pl: Likewise.
35172         * math/w_dremf.c: Likewise.
35173         * misc/ftruncate.c: Likewise.
35174         * posix/bug-glob2.c: Likewise.
35175         * posix/tst-pcre.c: Likewise.
35176         * posix/wait4.c: Likewise.
35177         * resolv/README: Likewise.
35178         * resolv/res_debug.h: Likewise.
35179         * resolv/tst-inet_ntop.c: Likewise.
35180         * setjmp/bug269-setjmp.c: Likewise.
35181         * soft-fp/extended.h: Likewise.
35182         * soft-fp/op-1.h: Likewise.
35183         * soft-fp/op-2.h: Likewise.
35184         * soft-fp/op-4.h: Likewise.
35185         * soft-fp/op-8.h: Likewise.
35186         * soft-fp/testit.c: Likewise.
35187         * stdio-common/bug16.c: Likewise.
35188         * stdlib/random.c: Likewise.
35189         * sunrpc/rpcsvc/rquota.x: Likewise.
35190         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
35191         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35192         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35193         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35194         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35195         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35196         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35197         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35198         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35199         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35200         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35201         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35202         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35203         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35204         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35205         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35206         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35207         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35208         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35209         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35210         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35211         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35212         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
35213         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35214         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35215         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35216         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35217         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35218         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35219         * sysdeps/ieee754/s_lib_version.c: Likewise.
35220         * sysdeps/mach/hurd/check_fds.c: Likewise.
35221         * sysdeps/mach/hurd/getsockname.c: Likewise.
35222         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
35223         * sysdeps/mach/hurd/recvfrom.c: Likewise.
35224         * sysdeps/powerpc/bits/link.h: Likewise.
35225         * sysdeps/powerpc/dl-procinfo.c: Likewise.
35226         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
35227         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
35228         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
35229         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35230         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35231         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
35232         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35233         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
35234         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35235         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35236         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35237         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
35238         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35239         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35240         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35241         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35242         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35243         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35244         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35245         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35246         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
35247         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35248         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
35249         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
35250         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35251         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35252         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35253         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35254         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35255         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35256         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35257         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35258         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35259         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
35260         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35261         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
35262         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35263         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35264         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
35265         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
35266         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
35267         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
35268         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
35269         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35270         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
35271         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
35272         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35273         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
35274         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
35275         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35276         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35277         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35278         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35279         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
35280         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35281         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35282         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35283         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
35284         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35285         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
35286         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
35287         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
35288         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35289         * sysdeps/powerpc/sysdep.h: Likewise.
35290         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35291         * sysdeps/s390/s390-64/sub_n.S: Likewise.
35292         * sysdeps/sh/dl-trampoline.S: Likewise.
35293         * sysdeps/sh/memset.S: Likewise.
35294         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
35295         * sysdeps/sh/strlen.S: Likewise.
35296         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
35297         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
35298         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
35299         * sysdeps/sparc/sparc32/rem.S: Likewise.
35300         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
35301         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
35302         * sysdeps/sparc/sparc32/strchr.S: Likewise.
35303         * sysdeps/sparc/sparc32/udiv.S: Likewise.
35304         * sysdeps/sparc/sparc32/urem.S: Likewise.
35305         * sysdeps/sparc/sparc64/add_n.S: Likewise.
35306         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35307         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
35308         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
35309         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
35310         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
35311         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
35312         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
35313         * sysdeps/unix/bsd/times.c: Likewise.
35314         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
35315         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
35316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35319         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
35320         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35321         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
35322         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
35323         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
35324         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
35325         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35326         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
35327         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35328         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35329         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35330         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35331         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
35332         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
35333         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
35334         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
35335         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
35336         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35337         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
35338         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
35339         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
35340         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
35341         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35342         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
35343         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
35344         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
35345         * sysdeps/x86_64/strcspn.S: Likewise.
35347 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35349         * locale/C-translit.h: Revert #include <stdint.h> because this is a
35350         generated file.  Regenerate properly from gen-translit.pl.
35351         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
35352         locale/C-translit.h.
35354 2013-06-05  Andreas Schwab  <schwab@suse.de>
35356         [BZ #15100]
35357         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
35358         week as 6 instead of -1.
35359         * time/tst-strptime.c (day_tests): Add test case.
35361 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35363         * sysdeps/generic/math_private.h
35364         (libc_feholdexcept_setround_53bit): Replace with
35365         libc_feholdsetround_53bit.
35366         (libc_feupdateenv_53bit): Replace with
35367         libc_feresetround_53bit.
35368         (SET_RESTORE_ROUND_53BIT): Adjust.
35370 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35372         * string/test-strchrnul.c: Add copyright header.
35374         * posix/tst-getaddrinfo4.c: Increase test timeout.
35376 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
35378         [BZ #15536]
35379         * math/libm-test.inc (MAX_EXP): Remove
35380         (MIN_EXP): Define.
35381         (ulp): Use MIN_EXP - MANT_DIG.
35382         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
35384 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
35386         * po/be.po: Revert last change.
35387         * po/zh_CN.po: Likewise.
35388         * po/header.pot: Likewise.
35390 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
35392         * Makefile ($(common-objpfx)linkobj/libc.so): Define
35393         link-libc-deps to empty as target-specific variable.
35394         * Makerules (link-libc-args): New variable.
35395         (libc-for-link): Likewise.
35396         (link-libc-deps): Likewise.
35397         (lib%.so): Depend on $(link-libc-deps).  Link with
35398         $(link-libc-args).
35399         (build-module): Link with $(link-libc-args).
35400         (build-module-asneeded): Likewise.
35401         (build-module-helper-objlist): Filter out $(link-libc-deps) from
35402         list of objects.
35403         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
35404         target-specific variable.
35405         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
35406         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
35407         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
35408         libc.
35409         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
35410         libc and ld.so.
35411         ($(objpfx)libpcprofile.so): Likewise.
35412         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
35413         libc_nonshared.a.
35414         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
35415         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
35416         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
35417         $(link-libc-deps).
35418         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
35419         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
35420         * login/Makefile ($(objpfx)libutil.so): Likewise.
35421         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
35422         * math/Makefile ($(objpfx)libm.so): Likewise.
35423         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
35424         $(objpfx)libnsl.so): Define libc-for-link as target-specific
35425         variable instead of depending directly on libc.
35426         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
35427         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
35428         $(link-libc-deps).
35429         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
35430         libc.
35431         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
35432         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
35433         ($(objpfx)libanl.so): Likewise.
35434         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
35435         ld.so.
35436         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
35437         $(link-libc-deps).
35438         * sysdeps/i386/fpu/Makefile: Remove file.
35439         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
35440         ($(objpfx)libm.so): Remove dependency on ld.so.
35442 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
35444         [BZ # 15553]
35445         * nis/yp_xdr.c (XDRMAXNAME): Define.
35446         (XDRMAXRECORD): Define.
35447         (xdr_domainname): Use XDRMAXNAME.
35448         (xdr_mapname): Likewise.
35449         (xdr_peername): Likewise.
35450         (xdr_keydat): Use XDRMAXRECORD.
35451         (xdr_valdat): Likewise.
35453 2013-05-30  Jeff Law  <law@redhat.com>
35455         [BZ #14256]
35456         * manual/errno.texi (ESTALE): Update to account for more than
35457         just NFS file systems.
35458         * sysdeps/gnu/errlist.c: Regenerated.
35460 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35462         [BZ #15465]
35463         * elf/Makefile (tests): Add tst-null-argv.
35464         (modules-names):  Add tst-null-argv-lib.
35465         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
35466         (tst-null-argv-ENV): Set environment for tst-null-argv.
35467         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
35468         (RTLD_PROGNAME): New macro.
35469         * elf/tst-null-argv.c: New test case.
35470         * elf/tst-null-argv-lib.c: Library for test case.
35471         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
35472         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
35473         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
35474         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
35475         * elf/dl-init.c (call_init): Likewise.
35476         (_dl_init): Likewise.
35477         * elf/dl-load.c (print_search_path): Likewise.
35478         (_dl_map_object): Likewise.
35479         * elf/dl-lookup.c (do_lookup_x): Likewise.
35480         (add_dependency): Likewise.
35481         (_dl_lookup_symbol_x): Likewise.
35482         (_dl_debug_bindings): Likewise.
35483         * elf/dl-open.c (_dl_show_scope): Likewise.
35484         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35485         * elf/dl-version.c (match_symbol): Likewise.
35486         (_dl_check_map_versions): Likewise.
35487         * elf/rtld.c (dl_main): Likewise.
35488         (print_unresolved): Use RTLD_PROGNAME.
35489         (print_missing_version): Likewise.
35490         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
35491         (elf_machine_rela): Likewise.
35492         * sysdeps/powerpc/powerpc32/dl-machine.c
35493         (__process_machine_rela): Likewise.
35494         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35495         Likewise.
35496         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35497         Likewise.
35498         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35499         Likewise.
35500         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35501         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
35502         Likewise.
35503         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
35504         Likewise.
35505         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35507 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
35509         * po/be.po: Add descriptive title.
35510         * po/zh_CN.po: Likewise.
35511         * po/header.pot: Likewise.
35513 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
35515         * locale/programs/locarchive.c (create_archive): Inlucde fname in
35516         error message.
35517         (enlarge_archive): Likewise.
35519 2013-05-28  Ben North  <ben@redfrontdoor.org>
35521         * manual/arith.texi (frexp): It is the magnitude of the return
35522         value which lies in [0.5, 1), not the return value itself.
35524 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35528 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
35530         * stdio-common/bug26.c (main): Correct fscanf template.
35532         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
35533         declare _dl_skip_args.
35535         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
35536         Don't declare.
35538         * manual/platform.texi: Add missing @end deftypefun.
35540 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
35542         [BZ #15529]
35543         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
35544         bit of mantissa of 2^16382.
35545         * math/libm-test.inc (hypot_test_data): Add more tests.
35547         * math/libm-test.inc: Add drem and pow10 to list of tested
35548         functions.
35549         (pow10_test): New function.
35550         (drem_test): Likewise.
35551         (drem_test_tonearest): Likewise.
35552         (drem_test_towardzero): Likewise.
35553         (drem_test_downward): Likewise.
35554         (drem_test_upward): Likewise.
35555         (main): Call the new functions.
35557         * math/libm-test.inc (finite_test_data): Remove.
35558         (finite_test): Run tests from isfinite_test_data.
35559         (gamma_test_data): Remove.
35560         (gamma_test): Run tests from lgamma_test_data.
35561         * sysdeps/i386/fpu/libm-test-ulps: Update.
35562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35564 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35566         * manual/platform.texi: Add PowerPC PPR function set documentation.
35567         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
35568         implementation.
35570 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
35572         * math/libm-test.inc (MAX_EXP): Define.
35573         (ULPDIFF): Define.
35574         (ulp): New function.
35575         (check_float_internal): Use ULPDIFF.
35576         (cpow_test): Disable failing test.
35577         (check_ulp): Test ulp() implemetnation.
35578         (main): Call check_ulp before starting tests.
35580 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
35582         * math/gen-libm-test.pl (generate_testfile): Do not handle
35583         START_DATA and END_DATA.
35584         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
35585         END_DATA.
35586         (acos_tonearest_test_data): Likewise.
35587         (acos_towardzero_test_data): Likewise.
35588         (acos_downward_test_data): Likewise.
35589         (acos_upward_test_data): Likewise.
35590         (acosh_test_data): Likewise.
35591         (asin_test_data): Likewise.
35592         (asin_tonearest_test_data): Likewise.
35593         (asin_towardzero_test_data): Likewise.
35594         (asin_downward_test_data): Likewise.
35595         (asin_upward_test_data): Likewise.
35596         (asinh_test_data): Likewise.
35597         (atan_test_data): Likewise.
35598         (atanh_test_data): Likewise.
35599         (atan2_test_data): Likewise.
35600         (cabs_test_data): Likewise.
35601         (cacos_test_data): Likewise.
35602         (cacosh_test_data): Likewise.
35603         (carg_test_data): Likewise.
35604         (casin_test_data): Likewise.
35605         (casinh_test_data): Likewise.
35606         (catan_test_data): Likewise.
35607         (catanh_test_data): Likewise.
35608         (cbrt_test_data): Likewise.
35609         (ccos_test_data): Likewise.
35610         (ccosh_test_data): Likewise.
35611         (ceil_test_data): Likewise.
35612         (cexp_test_data): Likewise.
35613         (cimag_test_data): Likewise.
35614         (clog_test_data): Likewise.
35615         (clog10_test_data): Likewise.
35616         (conj_test_data): Likewise.
35617         (copysign_test_data): Likewise.
35618         (cos_test_data): Likewise.
35619         (cos_tonearest_test_data): Likewise.
35620         (cos_towardzero_test_data): Likewise.
35621         (cos_downward_test_data): Likewise.
35622         (cos_upward_test_data): Likewise.
35623         (cosh_test_data): Likewise.
35624         (cosh_tonearest_test_data): Likewise.
35625         (cosh_towardzero_test_data): Likewise.
35626         (cosh_downward_test_data): Likewise.
35627         (cosh_upward_test_data): Likewise.
35628         (cpow_test_data): Likewise.
35629         (cproj_test_data): Likewise.
35630         (creal_test_data): Likewise.
35631         (csin_test_data): Likewise.
35632         (csinh_test_data): Likewise.
35633         (csqrt_test_data): Likewise.
35634         (ctan_test_data): Likewise.
35635         (ctan_tonearest_test_data): Likewise.
35636         (ctan_towardzero_test_data): Likewise.
35637         (ctan_downward_test_data): Likewise.
35638         (ctan_upward_test_data): Likewise.
35639         (ctanh_test_data): Likewise.
35640         (ctanh_tonearest_test_data): Likewise.
35641         (ctanh_towardzero_test_data): Likewise.
35642         (ctanh_downward_test_data): Likewise.
35643         (ctanh_upward_test_data): Likewise.
35644         (erf_test_data): Likewise.
35645         (erfc_test_data): Likewise.
35646         (exp_test_data): Likewise.
35647         (exp_tonearest_test_data): Likewise.
35648         (exp_towardzero_test_data): Likewise.
35649         (exp_downward_test_data): Likewise.
35650         (exp_upward_test_data): Likewise.
35651         (exp10_test_data): Likewise.
35652         (exp2_test_data): Likewise.
35653         (expm1_test_data): Likewise.
35654         (fabs_test_data): Likewise.
35655         (fdim_test_data): Likewise.
35656         (finite_test_data): Likewise.
35657         (floor_test_data): Likewise.
35658         (fma_test_data): Likewise.
35659         (fma_towardzero_test_data): Likewise.
35660         (fma_downward_test_data): Likewise.
35661         (fma_upward_test_data): Likewise.
35662         (fmax_test_data): Likewise.
35663         (fmin_test_data): Likewise.
35664         (fmod_test_data): Likewise.
35665         (fpclassify_test_data): Likewise.
35666         (frexp_test_data): Likewise.
35667         (gamma_test_data): Likewise.
35668         (hypot_test_data): Likewise.
35669         (ilogb_test_data): Likewise.
35670         (isfinite_test_data): Likewise.
35671         (isgreater_test_data): Likewise.
35672         (isgreaterequal_test_data): Likewise.
35673         (isinf_test_data): Likewise.
35674         (isless_test_data): Likewise.
35675         (islessequal_test_data): Likewise.
35676         (islessgreater_test_data): Likewise.
35677         (isnan_test_data): Likewise.
35678         (isnormal_test_data): Likewise.
35679         (issignaling_test_data): Likewise.
35680         (isunordered_test_data): Likewise.
35681         (j0_test_data): Likewise.
35682         (j1_test_data): Likewise.
35683         (jn_test_data): Likewise.
35684         (ldexp_test_data): Likewise.
35685         (lgamma_test_data): Likewise.
35686         (lrint_test_data): Likewise.
35687         (lrint_tonearest_test_data): Likewise.
35688         (lrint_towardzero_test_data): Likewise.
35689         (lrint_downward_test_data): Likewise.
35690         (lrint_upward_test_data): Likewise.
35691         (llrint_test_data): Likewise.
35692         (llrint_tonearest_test_data): Likewise.
35693         (llrint_towardzero_test_data): Likewise.
35694         (llrint_downward_test_data): Likewise.
35695         (llrint_upward_test_data): Likewise.
35696         (log_test_data): Likewise.
35697         (log10_test_data): Likewise.
35698         (log1p_test_data): Likewise.
35699         (log2_test_data): Likewise.
35700         (logb_test_data): Likewise.
35701         (logb_downward_test_data): Likewise.
35702         (lround_test_data): Likewise.
35703         (llround_test_data): Likewise.
35704         (modf_test_data): Likewise.
35705         (nearbyint_test_data): Likewise.
35706         (nextafter_test_data): Likewise.
35707         (nexttoward_test_data): Likewise.
35708         (pow_test_data): Likewise.
35709         (pow_tonearest_test_data): Likewise.
35710         (pow_towardzero_test_data): Likewise.
35711         (pow_downward_test_data): Likewise.
35712         (pow_upward_test_data): Likewise.
35713         (remainder_test_data): Likewise.
35714         (remainder_tonearest_test_data): Likewise.
35715         (remainder_towardzero_test_data): Likewise.
35716         (remainder_downward_test_data): Likewise.
35717         (remainder_upward_test_data): Likewise.
35718         (remquo_test_data): Likewise.
35719         (rint_test_data): Likewise.
35720         (rint_tonearest_test_data): Likewise.
35721         (rint_towardzero_test_data): Likewise.
35722         (rint_downward_test_data): Likewise.
35723         (rint_upward_test_data): Likewise.
35724         (round_test_data): Likewise.
35725         (scalb_test_data): Likewise.
35726         (scalbn_test_data): Likewise.
35727         (scalbln_test_data): Likewise.
35728         (signbit_test_data): Likewise.
35729         (sin_test_data): Likewise.
35730         (sin_tonearest_test_data): Likewise.
35731         (sin_towardzero_test_data): Likewise.
35732         (sin_downward_test_data): Likewise.
35733         (sin_upward_test_data): Likewise.
35734         (sincos_test_data): Likewise.
35735         (sinh_test_data): Likewise.
35736         (sinh_tonearest_test_data): Likewise.
35737         (sinh_towardzero_test_data): Likewise.
35738         (sinh_downward_test_data): Likewise.
35739         (sinh_upward_test_data): Likewise.
35740         (sqrt_test_data): Likewise.
35741         (tan_test_data): Likewise.
35742         (tan_tonearest_test_data): Likewise.
35743         (tan_towardzero_test_data): Likewise.
35744         (tan_downward_test_data): Likewise.
35745         (tan_upward_test_data): Likewise.
35746         (tanh_test_data): Likewise.
35747         (tgamma_test_data): Likewise.
35748         (trunc_test_data): Likewise.
35749         (y0_test_data): Likewise.
35750         (y1_test_data): Likewise.
35751         (yn_test_data): Likewise.
35752         (significand_test_data): Likewise.
35754         * math/gen-libm-test.pl (@functions): Remove variable.
35755         (generate_testfile): Don't handle START and END lines.
35756         * math/libm-test.inc (START): New macro.
35757         (END): Likewise.
35758         (END_COMPLEX): Likewise.
35759         (acos_test): Use END macro without arguments.
35760         (acos_test_tonearest): Likewise.
35761         (acos_test_towardzero): Likewise.
35762         (acos_test_downward): Likewise.
35763         (acos_test_upward): Likewise.
35764         (acosh_test): Likewise.
35765         (asin_test): Likewise.
35766         (asin_test_tonearest): Likewise.
35767         (asin_test_towardzero): Likewise.
35768         (asin_test_downward): Likewise.
35769         (asin_test_upward): Likewise.
35770         (asinh_test): Likewise.
35771         (atan_test): Likewise.
35772         (atanh_test): Likewise.
35773         (atan2_test): Likewise.
35774         (cabs_test): Likewise.
35775         (cacos_test): Use END_COMPLEX macro without arguments.
35776         (cacosh_test): Likewise.
35777         (carg_test): Use END macro without arguments.
35778         (casin_test): Use END_COMPLEX macro without arguments.
35779         (casinh_test): Likewise.
35780         (catan_test): Likewise.
35781         (catanh_test): Likewise.
35782         (cbrt_test): Use END macro without arguments.
35783         (ccos_test): Use END_COMPLEX macro without arguments.
35784         (ccosh_test): Likewise.
35785         (ceil_test): Use END macro without arguments.
35786         (cexp_test): Use END_COMPLEX macro without arguments.
35787         (cimag_test): Use END macro without arguments.
35788         (clog_test): Use END_COMPLEX macro without arguments.
35789         (clog10_test): Likewise.
35790         (conj_test): Likewise.
35791         (copysign_test): Use END macro without arguments.
35792         (cos_test): Likewise.
35793         (cos_test_tonearest): Likewise.
35794         (cos_test_towardzero): Likewise.
35795         (cos_test_downward): Likewise.
35796         (cos_test_upward): Likewise.
35797         (cosh_test): Likewise.
35798         (cosh_test_tonearest): Likewise.
35799         (cosh_test_towardzero): Likewise.
35800         (cosh_test_downward): Likewise.
35801         (cosh_test_upward): Likewise.
35802         (cpow_test): Use END_COMPLEX macro without arguments.
35803         (cproj_test): Likewise.
35804         (creal_test): Use END macro without arguments.
35805         (csin_test): Use END_COMPLEX macro without arguments.
35806         (csinh_test): Likewise.
35807         (csqrt_test): Likewise.
35808         (ctan_test): Likewise.
35809         (ctan_test_tonearest): Likewise.
35810         (ctan_test_towardzero): Likewise.
35811         (ctan_test_downward): Likewise.
35812         (ctan_test_upward): Likewise.
35813         (ctanh_test): Likewise.
35814         (ctanh_test_tonearest): Likewise.
35815         (ctanh_test_towardzero): Likewise.
35816         (ctanh_test_downward): Likewise.
35817         (ctanh_test_upward): Likewise.
35818         (erf_test): Use END macro without arguments.
35819         (erfc_test): Likewise.
35820         (exp_test): Likewise.
35821         (exp_test_tonearest): Likewise.
35822         (exp_test_towardzero): Likewise.
35823         (exp_test_downward): Likewise.
35824         (exp_test_upward): Likewise.
35825         (exp10_test): Likewise.
35826         (exp2_test): Likewise.
35827         (expm1_test): Likewise.
35828         (fabs_test): Likewise.
35829         (fdim_test): Likewise.
35830         (finite_test): Likewise.
35831         (floor_test): Likewise.
35832         (fma_test): Likewise.
35833         (fma_test_towardzero): Likewise.
35834         (fma_test_downward): Likewise.
35835         (fma_test_upward): Likewise.
35836         (fmax_test): Likewise.
35837         (fmin_test): Likewise.
35838         (fmod_test): Likewise.
35839         (fpclassify_test): Likewise.
35840         (frexp_test): Likewise.
35841         (gamma_test): Likewise.
35842         (hypot_test): Likewise.
35843         (ilogb_test): Likewise.
35844         (isfinite_test): Likewise.
35845         (isgreater_test): Likewise.
35846         (isgreaterequal_test): Likewise.
35847         (isinf_test): Likewise.
35848         (isless_test): Likewise.
35849         (islessequal_test): Likewise.
35850         (islessgreater_test): Likewise.
35851         (isnan_test): Likewise.
35852         (isnormal_test): Likewise.
35853         (issignaling_test): Likewise.
35854         (isunordered_test): Likewise.
35855         (j0_test): Likewise.
35856         (j1_test): Likewise.
35857         (jn_test): Likewise.
35858         (ldexp_test): Likewise.
35859         (lgamma_test): Likewise.
35860         (lrint_test): Likewise.
35861         (lrint_test_tonearest): Likewise.
35862         (lrint_test_towardzero): Likewise.
35863         (lrint_test_downward): Likewise.
35864         (lrint_test_upward): Likewise.
35865         (llrint_test): Likewise.
35866         (llrint_test_tonearest): Likewise.
35867         (llrint_test_towardzero): Likewise.
35868         (llrint_test_downward): Likewise.
35869         (llrint_test_upward): Likewise.
35870         (log_test): Likewise.
35871         (log10_test): Likewise.
35872         (log1p_test): Likewise.
35873         (log2_test): Likewise.
35874         (logb_test): Likewise.
35875         (logb_test_downward): Likewise.
35876         (lround_test): Likewise.
35877         (llround_test): Likewise.
35878         (modf_test): Likewise.
35879         (nearbyint_test): Likewise.
35880         (nextafter_test): Likewise.
35881         (nexttoward_test): Likewise.
35882         (pow_test): Likewise.
35883         (pow_test_tonearest): Likewise.
35884         (pow_test_towardzero): Likewise.
35885         (pow_test_downward): Likewise.
35886         (pow_test_upward): Likewise.
35887         (remainder_test): Likewise.
35888         (remainder_test_tonearest): Likewise.
35889         (remainder_test_towardzero): Likewise.
35890         (remainder_test_downward): Likewise.
35891         (remainder_test_upward): Likewise.
35892         (remquo_test): Likewise.
35893         (rint_test): Likewise.
35894         (rint_test_tonearest): Likewise.
35895         (rint_test_towardzero): Likewise.
35896         (rint_test_downward): Likewise.
35897         (rint_test_upward): Likewise.
35898         (round_test): Likewise.
35899         (scalb_test): Likewise.
35900         (scalbn_test): Likewise.
35901         (scalbln_test): Likewise.
35902         (signbit_test): Likewise.
35903         (sin_test): Likewise.
35904         (sin_test_tonearest): Likewise.
35905         (sin_test_towardzero): Likewise.
35906         (sin_test_downward): Likewise.
35907         (sin_test_upward): Likewise.
35908         (sincos_test): Likewise.
35909         (sinh_test): Likewise.
35910         (sinh_test_tonearest): Likewise.
35911         (sinh_test_towardzero): Likewise.
35912         (sinh_test_downward): Likewise.
35913         (sinh_test_upward): Likewise.
35914         (sqrt_test): Likewise.
35915         (tan_test): Likewise.
35916         (tan_test_tonearest): Likewise.
35917         (tan_test_towardzero): Likewise.
35918         (tan_test_downward): Likewise.
35919         (tan_test_upward): Likewise.
35920         (tanh_test): Likewise.
35921         (tgamma_test): Likewise.
35922         (trunc_test): Likewise.
35923         (y0_test): Likewise.
35924         (y1_test): Likewise.
35925         (yn_test): Likewise.
35926         (significand_test): Likewise.
35928 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
35930         [BZ #15381]
35931         * libio/genops.c (_IO_no_init): Initialize wide struct info.
35933 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
35935         [BZ #14894]
35936         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
35937         __ppc_mdoio and __ppc_mdoom.
35938         * manual/platform.texi: Document new functions __ppc_yield,
35939         __ppc_mdoio and __ppc_mdoom.
35941 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
35943         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
35944         (main): Mention "tls" pseudo-hwcap is legacy.
35945         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
35947 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
35949         * math/gen-libm-test.pl (parse_args): Output only string of
35950         arguments as text for test name, not full call or descriptions of
35951         tests for extra outputs.
35952         (generate_testfile): Do not pass function name to parse_args.
35953         Generate this_func variable from START.
35954         * math/libm-test.inc (struct test_f_f_data): Rename test_name
35955         field to arg_str.
35956         (struct test_ff_f_data): Likewise.
35957         (test_ff_f_data_nexttoward): Likewise.
35958         (struct test_fi_f_data): Likewise.
35959         (struct test_fl_f_data): Likewise.
35960         (struct test_if_f_data): Likewise.
35961         (struct test_fff_f_data): Likewise.
35962         (struct test_c_f_data): Likewise.
35963         (struct test_f_f1_data): Likewise.  Remove field extra_name.
35964         (struct test_fF_f1_data): Likewise.
35965         (struct test_ffI_f1_data): Likewise.
35966         (struct test_c_c_data): Rename test_name field to arg_str.
35967         (struct test_cc_c_data): Likewise.
35968         (struct test_f_i_data): Likewise.
35969         (struct test_ff_i_data): Likewise.
35970         (struct test_f_l_data): Likewise.
35971         (struct test_f_L_data): Likewise.
35972         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
35973         and extra2_name.
35974         (COMMON_TEST_SETUP): New macro.
35975         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
35976         (COMMON_TEST_CLEANUP): Likewise.
35977         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
35978         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
35979         macros.
35980         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
35981         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
35982         macros.
35983         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
35984         (RUN_TEST_fff_f): Take argument string.  Call new setup and
35985         cleanup macros.
35986         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
35987         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
35988         macros.
35989         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
35990         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
35991         macros.
35992         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35993         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
35994         cleanup macros.
35995         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35996         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
35997         cleanup macros.
35998         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35999         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
36000         cleanup macros.
36001         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36002         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
36003         macros.
36004         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
36005         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
36006         macros.
36007         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
36008         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
36009         macros.
36010         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
36011         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
36012         cleanup macros.
36013         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
36014         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
36015         cleanup macros.
36016         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
36017         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
36018         macros.
36019         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
36020         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
36021         cleanup macros.
36022         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
36023         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
36024         macros.
36025         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
36026         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
36027         macros.
36028         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
36029         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
36030         cleanup macros.
36031         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
36033 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
36035         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
36036         to _sifields.sigfault.
36037         (si_addr_lsb): Define new macro.
36038         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36039         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36040         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
36042 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
36044         [BZ #15441]
36045         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
36046         returns -1.
36047         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
36048         null return -1.
36049         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
36050         loading the domain.
36052 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
36054         * math/gen-libm-test.pl (parse_args): Do not include expected
36055         result in test name.
36056         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
36057         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36058         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36059         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36060         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36063 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36065         * benchtests/Makefile: Sort function entries.
36067         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
36068         tanh, asinh, acosh, atanh.
36069         * benchtests/acos-inputs: New file.
36070         * benchtests/acosh-inputs: New file.
36071         * benchtests/asin-inputs: New file.
36072         * benchtests/asinh-inputs: New file.
36073         * benchtests/atanh-inputs: New file.
36074         * benchtests/cosh-inputs: New file.
36075         * benchtests/log-inputs: New file.
36076         * benchtests/sinh-inputs: New file.
36077         * benchtests/tanh-inputs: New file.
36079 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
36081         [BZ #15339]
36082         * posix/tst-getaddrinfo4.c: New test.
36083         * posix/Makefile (tests): Add it.
36085 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36087         [BZ #15339]
36088         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
36089         when no services were used.
36090         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
36091         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
36093 2013-05-21  Andreas Schwab  <schwab@suse.de>
36095         [BZ #15014]
36096         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
36097         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
36098         successful.
36099         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
36100         redundant variable declarations and reallocation of buffer when
36101         parsing as IPv6 address.  Always set NSS status when called from
36102         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
36103         buffer too small.  Correct computation of needed size.
36104         * nss/Makefile (tests): Add test-digits-dots.
36105         * nss/test-digits-dots.c: New test.
36107 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36109         * benchtests/Makefile: Remove instructions for adding
36110         benchmark tests.
36111         * benchtests/README: New file to explain how to execute and
36112         enhance the benchmark tests.
36114 2013-05-21  Andreas Schwab  <schwab@suse.de>
36116         [BZ #15493]
36117         * setjmp/Makefile (tests): Add tst-sigsetjmp.
36118         * setjmp/tst-sigsetjmp.c: New test.
36120 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
36122         * sysdeps/x86_64/memset.S (memset): New implementation.
36123         (__bzero): Likewise.
36124         (__memset_tail): New function.
36126 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
36128         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
36129         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
36130         __memcpy_sse2_unaligned ifunc selection.
36131         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36132         Add memcpy-sse2-unaligned.S.
36133         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36134         Add: __memcpy_sse2_unaligned.
36136 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
36138         [BZ #15490]
36139         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36140         math_force_eval before restoring floating-point envrionment.
36141         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
36142         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36143         Likewise.
36144         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
36145         <math_private.h>.
36146         (__nearbyintl): Use math_force_eval before restoring
36147         floating-point environment.
36148         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
36150         * math/gen-libm-test.pl (special_functions): Remove.
36151         (parse_args): Don't handle TEST_extra.  Handle functions with no
36152         return value.
36153         * math/libm-test.inc (struct test_sincos_data): Replace with
36154         struct test_fFF_11_data.
36155         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
36156         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
36157         (sincos_test_data): Change element type to struct
36158         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
36159         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
36160         RUN_TEST_LOOP_sincos.
36161         * math/README.libm-test: Don't mention special handling of
36162         individual functions.
36163         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
36164         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36165         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36166         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36167         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36170         * math/gen-libm-test.pl (get_variable): Remove function.
36171         (parse_args): Don't show pointer parameters to call in test
36172         names.  Use "extra output N" in test names for extra outputs
36173         rather than naming variables.
36175 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
36177         [BZ #15488]
36178         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
36179         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
36180         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
36181         double tests.
36182         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
36183         disable.
36184         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
36185         check_long_double.
36187         * math/gen-libm-test.pl (@tests): Remove variable.
36188         ($count): Likewise.
36189         (new_test): Remove function.
36190         (show_exceptions): New function.
36191         (special_functions): Use show_exceptions instead of new_test.
36192         (parse_args): Likewise.
36193         (generate_testfile): Pass only function name in generated call to
36194         print_max_error or print_complex_max_error.
36195         (get_ulps): Do not handle complex tests specially.
36196         (output_test): Rename to ...
36197         (get_all_ulps_for_test): ... this.  Return a string rather than
36198         printing to a file.  Require ulps to be present.
36199         (output_ulps): Generate arrays rather than #defines.
36200         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
36201         (struct ulp_data): New type.
36202         (BUILD_COMPLEX_ULP): Remove macro.
36203         (compare_ulp_data): New function.
36204         (find_ulps): Likewise.
36205         (find_test_ulps): Likewise.
36206         (find_function_ulps): Likewise.
36207         (find_complex_function_ulps): Likewise.
36208         (print_max_error): Determine allowed ulps using
36209         find_function_ulps.
36210         (print_complex_max_error): Determine allowed ulps using
36211         find_complex_function_ulps.
36212         (check_float_internal): Determine max ulps using find_test_ulps.
36213         (check_float): Do not take max_ulp parameter.  Update call to
36214         check_float_internal.
36215         (check_complex): Likewise.
36216         (check_int): Do not take max_ulp parameter.
36217         (check_long): Likewise.
36218         (check_bool): Likewise.
36219         (check_longlong): Likewise.
36220         (struct test_f_f_data): Remove max_ulp field.
36221         (struct test_ff_f_data): Likewise.
36222         (struct test_ff_f_data_nexttoward): Likewise.
36223         (struct test_fi_f_data): Likewise.
36224         (struct test_fl_f_data): Likewise.
36225         (struct test_if_f_data): Likewise.
36226         (struct test_fff_f_data): Likewise.
36227         (struct test_c_f_data): Likewise.
36228         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
36229         (struct test_fF_f1_data): Likewise.
36230         (struct test_ffI_f1_data): Likewise.
36231         (struct test_c_c_data): Remove max_ulp field.
36232         (struct test_cc_c_data): Likewise.
36233         (struct test_f_i_data): Likewise.
36234         (struct test_ff_i_data): Likewise.
36235         (struct test_f_l_data): Likewise.
36236         (struct test_f_L_data): Likewise.
36237         (struct test_sincos_data): Likewise.
36238         (RUN_TEST_f_f): Do not handle ulps.
36239         (RUN_TEST_LOOP_f_f): Likewise.
36240         (RUN_TEST_2_f): Likewise.
36241         (RUN_TEST_LOOP_2_f): Likewise.
36242         (RUN_TEST_fff_f): Likewise.
36243         (RUN_TEST_LOOP_fff_f): Likewise.
36244         (RUN_TEST_c_f): Likewise.
36245         (RUN_TEST_LOOP_c_f): Likewise.
36246         (RUN_TEST_f_f1): Likewise.
36247         (RUN_TEST_LOOP_f_f1): Likewise.
36248         (RUN_TEST_fF_f1): Likewise.
36249         (RUN_TEST_LOOP_fF_f1): Likewise.
36250         (RUN_TEST_fI_f1): Likewise.
36251         (RUN_TEST_LOOP_fI_f1): Likewise.
36252         (RUN_TEST_ffI_f1): Likewise.
36253         (RUN_TEST_LOOP_ffI_f1): Likewise.
36254         (RUN_TEST_c_c): Likewise.
36255         (RUN_TEST_LOOP_c_c): Likewise.
36256         (RUN_TEST_cc_c): Likewise.
36257         (RUN_TEST_LOOP_cc_c): Likewise.
36258         (RUN_TEST_f_i): Likewise.
36259         (RUN_TEST_LOOP_f_i): Likewise.
36260         (RUN_TEST_f_i_tg): Likewise.
36261         (RUN_TEST_LOOP_f_i_tg): Likewise.
36262         (RUN_TEST_ff_i_tg): Likewise.
36263         (RUN_TEST_LOOP_ff_i_tg): Likewise.
36264         (RUN_TEST_f_b): Likewise.
36265         (RUN_TEST_LOOP_f_b): Likewise.
36266         (RUN_TEST_f_b_tg): Likewise.
36267         (RUN_TEST_LOOP_f_b_tg): Likewise.
36268         (RUN_TEST_f_l): Likewise.
36269         (RUN_TEST_LOOP_f_l): Likewise.
36270         (RUN_TEST_f_L): Likewise.
36271         (RUN_TEST_LOOP_f_L): Likewise.
36272         (RUN_TEST_sincos): Likewise.
36273         (RUN_TEST_LOOP_sincos): Likewise.
36275 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
36277         [BZ #15480]
36278         [BZ #15485]
36279         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
36280         main case of finite arguments, set rounding mode to FE_TONEAREST
36281         and discard exceptions.
36282         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
36283         exceptions.
36284         (remainder_tonearest_test_data): New variable.
36285         (remainder_test_tonearest): New function.
36286         (remainder_towardzero_test_data): New variable.
36287         (remainder_test_towardzero): New function.
36288         (remainder_downward_test_data): New variable.
36289         (remainder_test_downward): New function.
36290         (remainder_upward_test_data): New variable.
36291         (remainder_test_upward): New function.
36292         (main): Call the new test functions.
36294         * math/libm-test.inc (struct test_f_f1_data): Remove field
36295         extra_init.
36296         (struct test_fF_f1_data): Likewise.
36297         (struct test_ffI_f1_data): Likewise.
36298         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
36299         based on value of EXTRA_EXPECTED.
36300         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36301         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
36302         EXTRA_VAR based on value of EXTRA_EXPECTED.
36303         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36304         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
36305         EXTRA_VAR based on value of EXTRA_EXPECTED.
36306         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36307         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
36308         EXTRA_VAR based on value of EXTRA_EXPECTED.
36309         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36310         * math/gen-libm-test.pl (parse_args): Don't output initializers
36311         for extra output values.
36313         * math/libm-test.inc (check_int): Expect result to be exactly
36314         equal to expected value and do not handle ulps.
36315         (check_long): Likewise.
36316         (check_longlong): Likewise.
36318         * math/libm-test.inc (ceil_test_data): Test for "inexact"
36319         exceptions.
36320         (cimag_test_data): Likewise.
36321         (conj_test_data): Likewise.
36322         (copysign_test_data): Likewise.
36323         (cproj_test_data): Likewise.
36324         (creal_test_data): Likewise.
36325         (fabs_test_data): Likewise.
36326         (fdim_test_data): Likewise.
36327         (finite_test_data): Likewise.
36328         (floor_test_data): Likewise.
36329         (fmax_test_data): Likewise.
36330         (fmin_test_data): Likewise.
36331         (fmod_test_data): Likewise.
36332         (fpclassify_test_data): Likewise.
36333         (frexp_test_data): Likewise.
36334         (ilogb_test_data): Likewise.
36335         (isfinite_test_data): Likewise.
36336         (isgreater_test_data): Likewise.
36337         (isgreaterequal_test_data): Likewise.
36338         (isinf_test_data): Likewise.
36339         (isless_test_data): Likewise.
36340         (islessequal_test_data): Likewise.
36341         (islessgreater_test_data): Likewise.
36342         (isnan_test_data): Likewise.
36343         (isnormal_test_data): Likewise.
36344         (issignaling_test_data): Likewise.
36345         (isunordered_test_data): Likewise.
36346         (ldexp_test_data): Likewise.
36347         (lrint_test_data): Likewise.
36348         (lrint_test_data) [TEST_FLOAT]: Disable one test.
36349         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
36350         (lrint_tonearest_test_data): Test for "inexact" exceptions.
36351         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36352         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
36353         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36354         test input.
36355         (lrint_towardzero_test_data): Test for "inexact" exceptions.
36356         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36357         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
36358         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
36359         that test input.
36360         (lrint_downward_test_data): Test for "inexact" exceptions.
36361         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36362         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
36363         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36364         test input.
36365         (lrint_upward_test_data): Test for "inexact" exceptions.
36366         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
36367         test input.
36368         (llrint_test_data): Test for "inexact" exceptions.
36369         (llrint_test_data) [TEST_FLOAT]: Disable one test.
36370         (llrint_tonearest_test_data): Test for "inexact" exceptions.
36371         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36372         (llrint_towardzero_test_data): Test for "inexact" exceptions.
36373         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36374         (llrint_downward_test_data): Test for "inexact" exceptions.
36375         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36376         (llrint_upward_test_data): Test for "inexact" exceptions.
36377         (logb_test_data): Likewise.
36378         (logb_downward_test_data): Likewise.
36379         (nextafter_test_data): Likewise.
36380         (nexttoward_test_data): Likewise.
36381         (remainder_test_data): Likewise.
36382         (remquo_test_data): Likewise.
36383         (scalbn_test_data): Likewise.
36384         (scalbln_test_data): Likewise.
36385         (signbit_test_data): Likewise.
36386         (sqrt_test_data): Likewise.
36387         (significand_test_data): Likewise.
36389 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36391         [BZ #15424]
36392         * benchtests/bench-modf.c (struct args): Mark arg0 as
36393         volatile.
36394         * scripts/bench.pl: Mark members of struct args as volatile.
36396 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36398         [BZ # 15497]
36399         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
36400         negative infinity on POWER6 or lower.
36401         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
36403 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
36405         [BZ #15442]
36406         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
36407         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
36408         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
36409         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
36410         (_FP_SETQNAN): New macro.
36411         (_FP_SETQNAN_SEMIRAW): Likewise.
36412         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
36413         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
36414         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
36415         (FP_EXTEND): Use _FP_FRAC_SNANP.
36416         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
36417         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
36418         into account.
36419         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36420         New macro.
36421         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36422         Likewise.
36424 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
36426         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
36427         with DIVIDE_BY_ZERO_EXCEPTION.
36428         (gamma_test_data): Likewise.
36429         (lgamma_test_data): Likewise.
36430         (log_test_data): Likewise.
36431         (log10_test_data): Likewise.
36432         (log2_test_data): Likewise.
36433         (tgamma_test_data): Likewise.
36435         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
36436         (acos_test_tonearest): Likewise.
36437         (acos_test_towardzero): Likewise.
36438         (acos_test_downward): Likewise.
36439         (acos_test_upward): Likewise.
36440         (acosh_test): Likewise.
36441         (asin_test): Likewise.
36442         (asin_test_tonearest): Likewise.
36443         (asin_test_towardzero): Likewise.
36444         (asin_test_downward): Likewise.
36445         (asin_test_upward): Likewise.
36446         (asinh_test): Likewise.
36447         (atan_test): Likewise.
36448         (atanh_test): Likewise.
36449         (atan2_test): Likewise.
36450         (cabs_test): Likewise.
36451         (cacos_test): Likewise.
36452         (cacosh_test): Likewise.
36453         (casin_test): Likewise.
36454         (casinh_test): Likewise.
36455         (catan_test): Likewise.
36456         (catanh_test): Likewise.
36457         (cbrt_test): Likewise.
36458         (ccos_test): Likewise.
36459         (ccosh_test): Likewise.
36460         (cexp_test): Likewise.
36461         (clog_test): Likewise.
36462         (clog10_test): Likewise.
36463         (cos_test): Likewise.
36464         (cos_test_tonearest): Likewise.
36465         (cos_test_towardzero): Likewise.
36466         (cos_test_downward): Likewise.
36467         (cos_test_upward): Likewise.
36468         (cosh_test): Likewise.
36469         (cosh_test_tonearest): Likewise.
36470         (cosh_test_towardzero): Likewise.
36471         (cosh_test_downward): Likewise.
36472         (cosh_test_upward): Likewise.
36473         (cpow_test): Likewise.
36474         (csin_test): Likewise.
36475         (csinh_test): Likewise.
36476         (csqrt_test): Likewise.
36477         (ctan_test): Likewise.
36478         (ctan_test_tonearest): Likewise.
36479         (ctan_test_towardzero): Likewise.
36480         (ctan_test_downward): Likewise.
36481         (ctan_test_upward): Likewise.
36482         (ctanh_test): Likewise.
36483         (ctanh_test_tonearest): Likewise.
36484         (ctanh_test_towardzero): Likewise.
36485         (ctanh_test_downward): Likewise.
36486         (ctanh_test_upward): Likewise.
36487         (erf_test): Likewise.
36488         (erfc_test): Likewise.
36489         (exp_test): Likewise.
36490         (exp_test_tonearest): Likewise.
36491         (exp_test_towardzero): Likewise.
36492         (exp_test_downward): Likewise.
36493         (exp_test_upward): Likewise.
36494         (exp10_test): Likewise.
36495         (exp2_test): Likewise.
36496         (expm1_test): Likewise.
36497         (fmod_test): Likewise.
36498         (gamma_test): Likewise.
36499         (hypot_test): Likewise.
36500         (j0_test): Likewise.
36501         (j1_test): Likewise.
36502         (jn_test): Likewise.
36503         (lgamma_test): Likewise.
36504         (log_test): Likewise.
36505         (log10_test): Likewise.
36506         (log1p_test): Likewise.
36507         (log2_test): Likewise.
36508         (logb_test_downward): Likewise.
36509         (pow_test): Likewise.
36510         (pow_test_tonearest): Likewise.
36511         (pow_test_towardzero): Likewise.
36512         (pow_test_downward): Likewise.
36513         (pow_test_upward): Likewise.
36514         (remainder_test): Likewise.
36515         (remquo_test): Likewise.
36516         (sin_test): Likewise.
36517         (sin_test_tonearest): Likewise.
36518         (sin_test_towardzero): Likewise.
36519         (sin_test_downward): Likewise.
36520         (sin_test_upward): Likewise.
36521         (sincos_test): Likewise.
36522         (sinh_test): Likewise.
36523         (sinh_test_tonearest): Likewise.
36524         (sinh_test_towardzero): Likewise.
36525         (sinh_test_downward): Likewise.
36526         (sinh_test_upward): Likewise.
36527         (sqrt_test): Likewise.
36528         (tan_test): Likewise.
36529         (tan_test_tonearest): Likewise.
36530         (tan_test_towardzero): Likewise.
36531         (tan_test_downward): Likewise.
36532         (tan_test_upward): Likewise.
36533         (tanh_test): Likewise.
36534         (tgamma_test): Likewise.
36535         (y0_test): Likewise.
36536         (y1_test): Likewise.
36537         (yn_test): Likewise.
36539         * math/gen-libm-test.pl (adjust_arg): Remove function.
36540         (special_function): Remove argument $in_func.  Only handle
36541         generating output for tables of tests, not inside functions.
36542         (parse_args): Likewise.
36543         (generate_testfile): Remove variable $in_func.  Update call to
36544         parse_args.
36545         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
36546         (MINUS_ZERO_INIT): Rename macro to minus_zero.
36547         (PLUS_INFTY_INIT): Rename macro to plus_infty.
36548         (MINUS_INFTY_INIT): Rename macro to minus_infty.
36549         (QNAN_VALUE_INIT): Rename macro to qnan_value.
36550         (MAX_VALUE_INIT): Rename macro to max_value.
36551         (MIN_VALUE_INIT): Rename macro to min_value.
36552         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
36553         (plus_zero): Remove variable.
36554         (minus_zero): Likewise.
36555         (plus_infty): Likewise.
36556         (minus_infty): Likewise.
36557         (qnan_value): Likewise.
36558         (max_value): Likewise.
36559         (min_value): Likewise.
36560         (min_subnorm_value): Likewise.
36562 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36564         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
36565         uint64_t or uint32_t usage.
36566         * crypt/sha256-block.c: Likewise.
36567         * crypt/sha256-crypt.c: Likewise.
36568         * crypt/sha256.c: Likewise.
36569         * crypt/sha512-block.c: Likewise.
36570         * crypt/sha512-crypt.c: Likewise.
36571         * crypt/sha512.c: Likewise.
36572         * debug/backtrace-tst.c: Likewise.
36573         * debug/pcprofiledump.c: Likewise.
36574         * elf/cache.c: Likewise.
36575         * elf/dl-cache.c: Likewise.
36576         * elf/dl-misc.c: Likewise.
36577         * elf/dl-profile.c: Likewise.
36578         * elf/dl-support.c: Likewise.
36579         * elf/ldconfig.c: Likewise.
36580         * elf/sprof.c: Likewise.
36581         * iconv/dummy-repertoire.c: Likewise.
36582         * iconv/iconv_charmap.c: Likewise.
36583         * iconv/skeleton.c: Likewise.
36584         * iconvdata/8bit-generic.c: Likewise.
36585         * iconvdata/cp737.h: Likewise.
36586         * iconvdata/cp775.h: Likewise.
36587         * iconvdata/ibm1008.h: Likewise.
36588         * iconvdata/ibm1025.h: Likewise.
36589         * iconvdata/ibm1046.h: Likewise.
36590         * iconvdata/ibm1097.h: Likewise.
36591         * iconvdata/ibm1112.h: Likewise.
36592         * iconvdata/ibm1122.h: Likewise.
36593         * iconvdata/ibm1123.h: Likewise.
36594         * iconvdata/ibm1124.h: Likewise.
36595         * iconvdata/ibm1129.h: Likewise.
36596         * iconvdata/ibm1130.h: Likewise.
36597         * iconvdata/ibm1132.h: Likewise.
36598         * iconvdata/ibm1133.h: Likewise.
36599         * iconvdata/ibm1137.h: Likewise.
36600         * iconvdata/ibm1140.h: Likewise.
36601         * iconvdata/ibm1141.h: Likewise.
36602         * iconvdata/ibm1142.h: Likewise.
36603         * iconvdata/ibm1143.h: Likewise.
36604         * iconvdata/ibm1144.h: Likewise.
36605         * iconvdata/ibm1145.h: Likewise.
36606         * iconvdata/ibm1146.h: Likewise.
36607         * iconvdata/ibm1147.h: Likewise.
36608         * iconvdata/ibm1148.h: Likewise.
36609         * iconvdata/ibm1149.h: Likewise.
36610         * iconvdata/ibm1153.h: Likewise.
36611         * iconvdata/ibm1154.h: Likewise.
36612         * iconvdata/ibm1155.h: Likewise.
36613         * iconvdata/ibm1156.h: Likewise.
36614         * iconvdata/ibm1157.h: Likewise.
36615         * iconvdata/ibm1158.h: Likewise.
36616         * iconvdata/ibm1160.h: Likewise.
36617         * iconvdata/ibm1161.h: Likewise.
36618         * iconvdata/ibm1162.h: Likewise.
36619         * iconvdata/ibm1163.h: Likewise.
36620         * iconvdata/ibm1164.h: Likewise.
36621         * iconvdata/ibm1166.h: Likewise.
36622         * iconvdata/ibm1167.h: Likewise.
36623         * iconvdata/ibm12712.h: Likewise.
36624         * iconvdata/ibm1390.h: Likewise.
36625         * iconvdata/ibm1399.h: Likewise.
36626         * iconvdata/ibm16804.h: Likewise.
36627         * iconvdata/ibm4517.h: Likewise.
36628         * iconvdata/ibm4899.h: Likewise.
36629         * iconvdata/ibm4909.h: Likewise.
36630         * iconvdata/ibm4971.h: Likewise.
36631         * iconvdata/ibm5347.h: Likewise.
36632         * iconvdata/ibm803.h: Likewise.
36633         * iconvdata/ibm856.h: Likewise.
36634         * iconvdata/ibm901.h: Likewise.
36635         * iconvdata/ibm902.h: Likewise.
36636         * iconvdata/ibm9030.h: Likewise.
36637         * iconvdata/ibm9066.h: Likewise.
36638         * iconvdata/ibm921.h: Likewise.
36639         * iconvdata/ibm922.h: Likewise.
36640         * iconvdata/ibm9448.h: Likewise.
36641         * iconvdata/isiri-3342.h: Likewise.
36642         * iconvdata/jis0201.h: Likewise.
36643         * include/link.h: Likewise.
36644         * include/netdb.h: Likewise.
36645         * inet/check_native.c: Likewise.
36646         * inet/check_pf.c: Likewise.
36647         * inet/getipv4sourcefilter.c: Likewise.
36648         * inet/getnameinfo.c: Likewise.
36649         * inet/getsourcefilter.c: Likewise.
36650         * inet/htonl.c: Likewise.
36651         * inet/setipv4sourcefilter.c: Likewise.
36652         * inet/setsourcefilter.c: Likewise.
36653         * inet/test-inet6_opt.c: Likewise.
36654         * inet/tst-network.c: Likewise.
36655         * locale/C-collate.c: Likewise.
36656         * locale/C-ctype.c: Likewise.
36657         * locale/C-time.c: Likewise.
36658         * locale/C-translit.h: Likewise.
36659         * locale/loadarchive.c: Likewise.
36660         * locale/programs/3level.h: Likewise.
36661         * locale/programs/charmap.c: Likewise.
36662         * locale/programs/charmap.h: Likewise.
36663         * locale/programs/ld-address.c: Likewise.
36664         * locale/programs/ld-collate.c: Likewise.
36665         * locale/programs/ld-ctype.c: Likewise.
36666         * locale/programs/ld-identification.c: Likewise.
36667         * locale/programs/ld-measurement.c: Likewise.
36668         * locale/programs/ld-messages.c: Likewise.
36669         * locale/programs/ld-monetary.c: Likewise.
36670         * locale/programs/ld-name.c: Likewise.
36671         * locale/programs/ld-numeric.c: Likewise.
36672         * locale/programs/ld-paper.c: Likewise.
36673         * locale/programs/ld-telephone.c: Likewise.
36674         * locale/programs/ld-time.c: Likewise.
36675         * locale/programs/linereader.c: Likewise.
36676         * locale/programs/locale.c: Likewise.
36677         * locale/programs/locarchive.c: Likewise.
36678         * locale/programs/locfile.h: Likewise.
36679         * locale/programs/repertoire.c: Likewise.
36680         * locale/programs/simple-hash.c: Likewise.
36681         * locale/programs/simple-hash.h: Likewise.
36682         * malloc/memusage.c: Likewise.
36683         * malloc/memusagestat.c: Likewise.
36684         * nis/nis_defaults.c: Likewise.
36685         * nis/nis_hash.c: Likewise.
36686         * nis/nis_print.c: Likewise.
36687         * nis/nis_xdr.c: Likewise.
36688         * nscd/connections.c: Likewise.
36689         * nscd/hstcache.c: Likewise.
36690         * nscd/nscd_gethst_r.c: Likewise.
36691         * nscd/nscd_getserv_r.c: Likewise.
36692         * nscd/nscd_helper.c: Likewise.
36693         * nscd/servicescache.c: Likewise.
36694         * nss/makedb.c: Likewise.
36695         * nss/nss_db/db-XXX.c: Likewise.
36696         * nss/nss_db/db-initgroups.c: Likewise.
36697         * nss/nss_db/db-netgrp.c: Likewise.
36698         * nss/nss_files/files-network.c: Likewise.
36699         * nss/nss_files/files-parse.c: Likewise.
36700         * posix/bug-regex5.c: Likewise.
36701         * posix/fnmatch_loop.c: Likewise.
36702         * posix/regcomp.c: Likewise.
36703         * posix/regexec.c: Likewise.
36704         * posix/tst-rfc3484-2.c: Likewise.
36705         * posix/tst-rfc3484-3.c: Likewise.
36706         * posix/tst-rfc3484.c: Likewise.
36707         * resolv/nss_dns/dns-canon.c: Likewise.
36708         * resolv/nss_dns/dns-network.c: Likewise.
36709         * resolv/res_init.c: Likewise.
36710         * resolv/res_mkquery.c: Likewise.
36711         * resolv/tst-aton.c: Likewise.
36712         * stdlib/cxa_atexit.c: Likewise.
36713         * stdlib/cxa_finalize.c: Likewise.
36714         * stdlib/gen-fpioconst.c: Likewise.
36715         * stdlib/strtol_l.c: Likewise.
36716         * string/tst-endian.c: Likewise.
36717         * sunrpc/auth_des.c: Likewise.
36718         * sunrpc/clnt_udp.c: Likewise.
36719         * sunrpc/rtime.c: Likewise.
36720         * sunrpc/svcauth_des.c: Likewise.
36721         * sunrpc/xdr.c: Likewise.
36722         * sunrpc/xdr_intXX_t.c: Likewise.
36723         * sunrpc/xdr_rec.c: Likewise.
36724         * sysdeps/generic/ldconfig.h: Likewise.
36725         * sysdeps/generic/ldsodefs.h: Likewise.
36726         * sysdeps/generic/memusage.h: Likewise.
36727         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36728         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
36729         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
36730         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36731         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36732         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36733         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36734         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36735         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36736         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36737         * sysdeps/posix/getaddrinfo.c: Likewise.
36738         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36739         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36740         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36741         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36742         * sysdeps/powerpc/test-gettimebase.c: Likewise.
36743         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36744         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
36745         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
36746         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
36747         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
36748         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36749         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36750         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
36751         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
36752         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
36753         * sysdeps/x86_64/dl-tls.h: Likewise.
36754         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
36755         * time/alt_digit.c: Likewise.
36756         * time/era.c: Likewise.
36757         * wcsmbs/tst-c16c32-1.c: Likewise.
36759 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
36761         * math/libm-test.inc (struct test_sincos_data): New type.
36762         (RUN_TEST_LOOP_sincos): New macro.
36763         (sincos_test_data): New variable.
36764         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
36766 2013-05-16  Richard Henderson  <rth@redhat.com>
36768         * math/atest-exp2.c (LIMB64): New macro.
36769         (CONSTSZ): New macro.
36770         (mp_exp1, mp_exp_m1, mp_log2): New variables.
36771         (hexdig): Move ...
36772         (print_mpn_fp): ... to function scope.
36773         (read_mpn_hex): Remove.
36774         (get_log2): Remove.
36775         (exp2_mpn): Use mp_log2.
36776         (main): Use mp_exp1.
36778 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
36780         * math/libm-test.inc: Remove comment about not testing "inexact"
36781         exceptions.
36782         (INEXACT_EXCEPTION): New macro.
36783         (NO_INEXACT_EXCEPTION): Likewise.
36784         (INVALID_EXCEPTION_OK): Update value.
36785         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36786         (OVERFLOW_EXCEPTION_OK): Likewise.
36787         (UNDERFLOW_EXCEPTION_OK): Likewise.
36788         (IGNORE_ZERO_INF_SIGN): Likewise.
36789         (ERRNO_UNCHANGED): Likewise.
36790         (ERRNO_EDOM): Likewise.
36791         (ERRNO_ERANGE): Likewise.
36792         (test_exceptions): Handle testing "inexact" exceptions.
36793         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
36794         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
36795         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
36796         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
36797         INEXACT_EXCEPTION.
36798         (rint_towardzero_test_data): Likewise.
36799         (rint_downward_test_data): Likewise.
36800         (rint_upward_test_data): Likewise.
36802         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
36803         with OVERFLOW_EXCEPTION.
36804         (exp10_test_data): Likewise.
36805         (exp2_test_data): Likewise.
36806         (expm1_test_data): Likewise.
36807         (lgamma_test_data): Likewise.
36808         (pow_test_data): Likewise.
36809         (tgamma_test_data): Likewise.
36810         (yn_test_data): Remove duplicate test of overflow.
36812         * math/libm-test.inc (struct test_cc_c_data): New type.
36813         (RUN_TEST_LOOP_cc_c): New macro.
36814         (cpow_test_data): New variable.
36815         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
36817         * math/libm-test.inc (struct test_f_L_data): New type.
36818         (RUN_TEST_LOOP_f_L): New macro.
36819         (llrint_test_data): New variable.
36820         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
36821         (llrint_tonearest_test_data): New variable.
36822         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
36823         (llrint_towardzero_test_data): New variable.
36824         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
36825         (llrint_downward_test_data): New variable.
36826         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
36827         (llrint_upward_test_data): New variable.
36828         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
36829         (llround_test_data): New variable.
36830         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
36832 2013-05-13  Peter Collingbourne  <pcc@google.com>
36834         * math/atest-exp2.c (get_log2): Remove const attribute.
36836 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
36838         * math/libm-test.inc (struct test_f_l_data): New type.
36839         (RUN_TEST_LOOP_f_l): New macro.
36840         (lrint_test_data): New variable.
36841         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
36842         (lrint_tonearest_test_data): New variable.
36843         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
36844         (lrint_towardzero_test_data): New variable.
36845         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
36846         (lrint_downward_test_data): New variable.
36847         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
36848         (lrint_upward_test_data): New variable.
36849         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
36850         (lround_test_data): New variable.
36851         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
36853 2013-05-15  Peter Collingbourne  <pcc@google.com>
36855         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
36856         (EXTRACT_WORDS64) Use where appropriate.
36857         (INSERT_WORDS64) Likewise.
36859         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
36860         constraints with x constraints.
36861         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
36863         * malloc/obstack.c (_obstack_compat): Add initializer.
36865 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
36867         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
36868         si_trapno and add si_addr_lsb to _sifields.sigfault.
36869         (si_trapno): Remove macro.
36870         (si_addr_lsb): Define new macro.
36871         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36873 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
36875         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
36876         instead of TEST_f_l.
36877         (llrint_test_tonearest): Likewise.
36878         (llrint_test_towardzero): Likewise.
36879         (llrint_test_downward): Likewise.
36880         (llrint_test_upward): Likewise.
36881         (llround_test): Likewise.
36883         * math/libm-test.inc (struct test_f_i_data): Add comment.
36884         (RUN_TEST_LOOP_f_b): New macro.
36885         (RUN_TEST_LOOP_f_b_tg): Likewise.
36886         (finite_test_data): New variable.
36887         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
36888         (isfinite_test_data): New variable.
36889         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36890         (isinf_test_data): New variable.
36891         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36892         (isnan_test_data): New variable.
36893         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36894         (isnormal_test_data): New variable.
36895         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36896         (issignaling_test_data): New variable.
36897         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36898         (signbit_test_data): New variable.
36899         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36901         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
36902         with INVALID_EXCEPTION.
36903         (acosh_test_data): Likewise.
36904         (asin_test_data): Likewise.
36905         (atanh_test_data): Likewise.
36906         (fmod_test_data): Likewise.
36907         (log_test_data): Likewise.
36908         (log10_test_data): Likewise.
36909         (log2_test_data): Likewise.
36910         (pow_test_data): Likewise.
36911         (sqrt_test_data): Likewise.
36912         (y0_test_data): Likewise.
36913         (y1_test_data): Likewise.
36914         (yn_test_data): Likewise.
36916         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
36917         function contents.
36919         * math/libm-test.inc (struct test_ff_i_data): New type.
36920         (RUN_TEST_LOOP_ff_i_tg): New macro.
36921         (isgreater_test_data): New variable.
36922         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36923         (isgreaterequal_test_data): New variable.
36924         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36925         (isless_test_data): New variable.
36926         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36927         (islessequal_test_data): New variable.
36928         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36929         (islessgreater_test_data): New variable.
36930         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36931         (isunordered_test_data): New variable.
36932         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36934 2013-05-14  David S. Miller  <davem@davemloft.net>
36936         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36938 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
36940         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
36942         * math/libm-test.inc (struct test_fF_f1_data): Change type of
36943         extra_test to int.
36944         (struct test_f_i_data): Change type of max_ulp to int.
36946         * math/libm-test.inc (test_ffI_f1_data): New type.
36947         (RUN_TEST_LOOP_ffI_f1): New macro.
36948         (remquo_test_data): New variable.
36949         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
36951         * setjmp/tst-setjmp-fp.c: New file.
36952         * setjmp/Makefile (tests): Add tst-setjmp-fp.
36953         (link-libm): New variable.
36954         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
36956         * math/libm-test.inc (struct test_f_i_data): New type.
36957         (RUN_TEST_LOOP_f_i): New macro.
36958         (RUN_TEST_LOOP_f_i_tg): Likewise.
36959         (fpclassify_test_data): New variable.
36960         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
36961         (ilogb_test_data): New variable.
36962         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
36964         * math/libm-test.inc (scalbln_test): Correct function name in END
36965         call.
36967         * math/libm-test.inc (struct test_f_f1_data): Add comment.
36968         (RUN_TEST_LOOP_fI_f1): New macro.
36969         (frexp_test_data): New variable.
36970         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
36972         * math/libm-test.inc (struct test_fF_f1_data): New type.
36973         (RUN_TEST_LOOP_fF_f1): New macro.
36974         (modf_test_data): New variable.
36975         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
36977         * math/libm-test.inc (struct test_f_f1_data): New type.
36978         (RUN_TEST_LOOP_f_f1): New macro.
36979         (gamma_test_data): New variable.
36980         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36981         (lgamma_test_data): New variable.
36982         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36984 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
36986         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
36987         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
36988         (main): Comment "tls" pseudo-hwcap.
36990 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
36992         * math/libm-test.inc (struct test_fl_f_data): New type.
36993         (RUN_TEST_LOOP_fl_f): New variable.
36994         (scalbln_test_data): New variable.
36995         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
36997         * math/libm-test.inc (struct test_fi_f_data): New type.
36998         (RUN_TEST_LOOP_fi_f): New macro.
36999         (ldexp_test_data): New variable.
37000         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
37001         (scalbn_test_data): New variable.
37002         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
37004         * math/libm-test.inc (struct test_c_f_data): New type.
37005         (RUN_TEST_LOOP_c_f): New macro.
37006         (cabs_test_data): New variable.
37007         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
37008         (carg_test_data): New variable.
37009         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
37010         (cimag_test_data): New variable.
37011         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
37012         (creal_test_data): New variable.
37013         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
37015         * math/libm-test.inc (struct test_if_f_data): New type.
37016         (RUN_TEST_LOOP_if_f): New macro.
37017         (jn_test_data): New variable.
37018         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
37019         (yn_test_data): New variable.
37020         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
37022         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
37024 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37026         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
37027         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
37029 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37031         * benchtests/Makefile (CPPFLAGS-nonlib): Add
37032         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
37033         (bench-deps): Add bench-timing.h.
37034         * benchtests-bench-skeleton.c: Include bench-timing.h.
37035         (main): Use TIMING_* macros instead of clock_gettime.
37036         * benchtests/bench-timing.h: New file.
37038         [BZ #14582]
37039         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
37040         Renamed from _LIB_VERSION.
37041         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
37043 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
37045         * math/libm-test.inc (struct test_fff_f_data): New type.
37046         (RUN_TEST_LOOP_fff_f): New macro.
37047         (fma_test_data): New variable.
37048         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
37049         (fma_towardzero_test_data): New variable.
37050         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
37051         (fma_downward_test_data): New variable.
37052         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
37053         (fma_upward_test_data): New variable.
37054         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
37056         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
37057         (struct test_c_c_data): New type.
37058         (RUN_TEST_LOOP_c_c): New macro.
37059         (cacos_test_data): New variable.
37060         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
37061         (cacosh_test_data): New variable.
37062         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
37063         (casin_test_data): New variable.
37064         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
37065         (casinh_test_data): New variable.
37066         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
37067         (catan_test_data): New variable.
37068         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
37069         (catanh_test_data): New variable.
37070         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
37071         (ccos_test_data): New variable.
37072         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
37073         (ccosh_test_data): New variable.
37074         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
37075         (cexp_test_data): New variable.
37076         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
37077         (clog_test_data): New variable.
37078         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
37079         (clog10_test_data): New variable.
37080         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
37081         (conj_test_data): New variable.
37082         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
37083         (cproj_test_data): New variable.
37084         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
37085         (csin_test_data): New variable.
37086         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
37087         (csinh_test_data): New variable.
37088         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
37089         (csqrt_test_data): New variable.
37090         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
37091         (ctan_test_data): New variable.
37092         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
37093         (ctan_tonearest_test_data): New variable.
37094         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37095         (ctan_towardzero_test_data): New variable.
37096         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37097         (ctan_downward_test_data): New variable.
37098         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37099         (ctan_upward_test_data): New variable.
37100         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37101         (ctanh_test_data): New variable.
37102         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
37103         (ctanh_tonearest_test_data): New variable.
37104         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37105         (ctanh_towardzero_test_data): New variable.
37106         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37107         (ctanh_downward_test_data): New variable.
37108         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37109         (ctanh_upward_test_data): New variable.
37110         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37111         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
37112         of BUILD_COMPLEX.
37114         * math/libm-test.inc (struct test_ff_f_data): New type.
37115         (struct test_ff_f_data_nexttoward): Likewise.
37116         (RUN_TEST_LOOP_2_f): New macro.
37117         (RUN_TEST_LOOP_ff_f): Likewise.
37118         (atan2_test_data): New variable.
37119         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
37120         (copysign_test_data): New variable.
37121         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
37122         (fdim_test_data): New variable.
37123         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
37124         (fmax_test_data): New variable.
37125         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
37126         (fmin_test_data): New variable.
37127         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
37128         (fmod_test_data): New variable.
37129         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
37130         (hypot_test_data): New variable.
37131         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
37132         (nextafter_test_data): New variable.
37133         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
37134         (nexttoward_test_data): New variable.
37135         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
37136         (pow_test_data): New variable.
37137         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
37138         (pow_tonearest_test_data): New variable.
37139         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
37140         (pow_towardzero_test_data): New variable.
37141         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
37142         (pow_downward_test_data): New variable.
37143         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
37144         (pow_upward_test_data): New variable.
37145         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
37146         (remainder_test_data): New variable.
37147         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
37148         (scalb_test_data): New variable.
37149         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
37150         * sysdeps/i386/fpu/libm-test-ulps: Update.
37152 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
37154         * math/libm-test.inc (fma_test): Use max_value instead of local
37155         variable fltmax.
37156         (nextafter_test): Likewise.
37158         * math/libm-test.inc (acos_towardzero_test_data): New variable.
37159         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37160         (acos_downward_test_data): New variable.
37161         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37162         (acos_upward_test_data): New variable.
37163         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37164         (acosh_test_data): New variable.
37165         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
37166         (asin_test_data): New variable.
37167         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
37168         (asin_tonearest_test_data): New variable.
37169         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37170         (asin_towardzero_test_data): New variable.
37171         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37172         (asin_downward_test_data): New variable.
37173         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37174         (asin_upward_test_data): New variable.
37175         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37176         (asinh_test_data): New variable.
37177         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
37178         (atan_test_data): New variable.
37179         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
37180         (atanh_test_data): New variable.
37181         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
37182         (cbrt_test_data): New variable.
37183         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
37184         (ceil_test_data): New variable.
37185         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
37186         (cos_test_data): New variable.
37187         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
37188         (cos_tonearest_test_data): New variable.
37189         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37190         (cos_towardzero_test_data): New variable.
37191         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37192         (cos_downward_test_data): New variable.
37193         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37194         (cos_upward_test_data): New variable.
37195         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37196         (cosh_test_data): New variable.
37197         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
37198         (cosh_tonearest_test_data): New variable.
37199         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37200         (cosh_towardzero_test_data): New variable.
37201         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37202         (cosh_downward_test_data): New variable.
37203         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37204         (cosh_upward_test_data): New variable.
37205         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37206         (erf_test_data): New variable.
37207         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
37208         (erfc_test_data): New variable.
37209         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
37210         (exp_test_data): New variable.
37211         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
37212         (exp_tonearest_test_data): New variable.
37213         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37214         (exp_towardzero_test_data): New variable.
37215         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37216         (exp_downward_test_data): New variable.
37217         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37218         (exp_upward_test_data): New variable.
37219         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37220         (exp10_test_data): New variable.
37221         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
37222         (exp2_test_data): New variable.
37223         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
37224         (expm1_test_data): New variable.
37225         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
37226         (fabs_test_data): New variable.
37227         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
37228         (floor_test_data): New variable.
37229         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
37230         (j0_test_data): New variable.
37231         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
37232         (j1_test_data): New variable.
37233         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
37234         (log_test_data): New variable.
37235         (log_test): Run tests with RUN_TEST_LOOP_f_f.
37236         (log10_test_data): New variable.
37237         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
37238         (log1p_test_data): New variable.
37239         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
37240         (log2_test_data): New variable.
37241         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
37242         (logb_test_data): New variable.
37243         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
37244         (logb_downward_test_data): New variable.
37245         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37246         (nearbyint_test_data): New variable.
37247         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
37248         (rint_test_data): New variable.
37249         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
37250         (rint_tonearest_test_data): New variable.
37251         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37252         (rint_towardzero_test_data): New variable.
37253         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37254         (rint_downward_test_data): New variable.
37255         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37256         (rint_upward_test_data): New variable.
37257         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37258         (round_test_data): New variable.
37259         (round_test): Run tests with RUN_TEST_LOOP_f_f.
37260         (sin_test_data): New variable.
37261         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
37262         (sin_tonearest_test_data): New variable.
37263         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37264         (sin_towardzero_test_data): New variable.
37265         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37266         (sin_downward_test_data): New variable.
37267         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37268         (sin_upward_test_data): New variable.
37269         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37270         (sinh_test_data): New variable.
37271         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
37272         (sinh_tonearest_test_data): New variable.
37273         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37274         (sinh_towardzero_test_data): New variable.
37275         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37276         (sinh_downward_test_data): New variable.
37277         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37278         (sinh_upward_test_data): New variable.
37279         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37280         (sqrt_test_data): New variable.
37281         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
37282         (tan_test_data): New variable.
37283         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
37284         (tan_tonearest_test_data): New variable.
37285         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37286         (tan_towardzero_test_data): New variable.
37287         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37288         (tan_downward_test_data): New variable.
37289         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37290         (tan_upward_test_data): New variable.
37291         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37292         (tanh_test_data): New variable.
37293         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
37294         (tgamma_test_data): New variable.
37295         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
37296         (trunc_test_data): New variable.
37297         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
37298         (y0_test_data): New variable.
37299         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
37300         (y1_test_data): New variable.
37301         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
37302         (significand_test_data): New variable.
37303         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
37305 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
37307         [BZ #12387]
37308         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
37310 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37312         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
37314 2013-05-10  Andreas Jaeger  <aj@suse.de>
37316         [BZ #15448]
37317         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
37318         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
37320 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
37322         * math/gen-libm-test.pl (adjust_arg): New function.
37323         (special_functions): Handle generating output in both functions
37324         and arrays.
37325         (parse_args): Likewise.
37326         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
37327         $in_func argument to parse_args.
37328         * math/libm-test.inc (struct test_f_f_data): New type.
37329         (IF_ROUND_INIT_): New macro.
37330         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
37331         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
37332         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37333         (IF_ROUND_INIT_FE_UPWARD): Likewise.
37334         (ROUND_RESTORE_): Likewise.
37335         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
37336         (ROUND_RESTORE_FE_TONEAREST): Likewise.
37337         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
37338         (ROUND_RESTORE_FE_UPWARD): Likewise.
37339         (RUN_TEST_LOOP_f_f): New macro.
37340         (acos_test_data): New variable.
37341         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
37342         (acos_tonearest_test_data): New variable.
37343         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37345 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37347         * benchtests/bench-skeleton.c (startup): Fix coding style.
37349 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
37351         [BZ #6809]
37352         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
37353         negative infinity argument.
37354         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
37355         negative infinity argument.
37356         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
37357         negative infinity argument.
37358         * math/libm-test.inc (tgamma_test): Expect errno to be set for
37359         domain errors.
37361 2013-05-10  Florian Weimer  <fweimer@redhat.com>
37363         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
37364         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
37365         * iconv/iconv_prog.c (main): Likewise.
37366         * locale/programs/charmap-dir.c (charmap_readdir)
37367         (fopen_uncompressed): Likewise.
37368         * locale/programs/locfile.c (siblings_uncached)
37369         (write_locale_data): Use lstat64 instead of lstat.
37370         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
37371         stat.
37373 2013-05-10  Andreas Jaeger  <aj@suse.de>
37375         [BZ #15395]
37376         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
37377         localization.
37378         Include <locale.h>.
37380 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
37382         * elf/dl-close.c (_dl_close_worker): Add comments.
37384 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
37386         [BZ #15359]
37387         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
37388         high part of pi/2.
37389         (__ieee754_rem_pio2l): Update comments.
37391         [BZ #15429]
37392         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
37393         high part of pi/2.
37394         (__ieee754_rem_pio2l): Update comments.
37396         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
37397         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
37399         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
37400         M_PI_4l.
37402         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
37403         (M_PI_34_LOG10El): Likewise.
37404         (M_PI2_LOG10El): Likewise.
37405         (M_PI4_LOG10El): Likewise.
37406         (M_PI_LOG10El): Likewise.
37408 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37412 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
37414         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
37415         (MINUS_ZERO_INIT): Likewise.
37416         (PLUS_INFTY_INIT): Likewise.
37417         (MINUS_INFTY_INIT): Likewise.
37418         (QNAN_VALUE_INIT): Likewise.
37419         (MAX_VALUE_INIT): Likewise.
37420         (MIN_VALUE_INIT): Likewise.
37421         (MIN_SUBNORM_VALUE_INIT): Likewise.
37422         (plus_zero): Initialize with PLUS_ZERO_INIT.
37423         (minus_zero): Initialize with MINUS_ZERO_INIT.
37424         (plus_infty): Initialize with PLUS_INFTY_INIT.
37425         (minus_infty): Initialize with MINUS_INFTY_INIT.
37426         (qnan_value): Initialize with QNAN_VALUE_INIT.
37427         (max_value): Initialize with MAX_VALUE_INIT.
37428         (min_value): Initialize with MIN_VALUE_INIT.
37429         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
37431         * math/libm-test.inc (RUN_TEST_if_f): New macro.
37432         (jn_test): Use TEST_if_f instead of TEST_ff_f.
37433         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
37434         (yn_test): Use TEST_if_f instead of TEST_ff_f.
37436         * math/libm-test.inc (RUN_TEST_f_f): New macro.
37437         (RUN_TEST_2_f): Likewise.
37438         (RUN_TEST_ff_f): Likewise.
37439         (RUN_TEST_fi_f): Likewise.
37440         (RUN_TEST_fl_f): Likewise.
37441         (RUN_TEST_fff_f): Likewise.
37442         (RUN_TEST_c_f): Likewise.
37443         (RUN_TEST_f_f1): Likewise.
37444         (RUN_TEST_fF_f1): Likewise.
37445         (RUN_TEST_fI_f1): Likewise.
37446         (RUN_TEST_ffI_f1): Likewise.
37447         (RUN_TEST_c_c): Likewise.
37448         (RUN_TEST_cc_c): Likewise.
37449         (RUN_TEST_f_i): Likewise.
37450         (RUN_TEST_f_i_tg): Likewise.
37451         (RUN_TEST_ff_i_tg): Likewise.
37452         (RUN_TEST_f_b): Likewise.
37453         (RUN_TEST_f_b_tg): Likewise.
37454         (RUN_TEST_f_l): Likewise.
37455         (RUN_TEST_f_L): Likewise.
37456         (RUN_TEST_sincos): Likewise.
37457         * math/gen-libm-test.pl (new_test): Take new argument to indicate
37458         whether to show exceptions.  Do not include ");\n" in return
37459         value.
37460         (special_functions): Output call to RUN_TEST_sincos instead of
37461         check_float calls.  Update calls to new_test.
37462         (parse_args): Output call to single RUN_TEST_* macro instead of
37463         check_* calls and other assignments.  Update calls to new_test.
37465         [BZ #2546]
37466         [BZ #2560]
37467         [BZ #5159]
37468         [BZ #15426]
37469         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
37470         input to result for tgamma overflow.
37471         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
37472         (gamma_coeff): New variable.
37473         (NCOEFF): New macro.
37474         (gamma_positive): New function.
37475         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
37476         underflow here.  Use gamma_positive instead of exp (lgamma) for
37477         other arguments.
37478         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
37479         (gamma_coeff): New variable.
37480         (NCOEFF): New macro.
37481         (gammaf_positive): New function.
37482         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
37483         underflow here.  Use gamma_positive instead of exp (lgamma) for
37484         other arguments.
37485         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
37486         (gamma_coeff): New variable.
37487         (NCOEFF): New macro.
37488         (gammal_positive): New function.
37489         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
37490         underflow here.  Use gamma_positive instead of exp (lgamma) for
37491         other arguments.
37492         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
37493         (gamma_coeff): New variable.
37494         (NCOEFF): New macro.
37495         (gammal_positive): New function.
37496         (__ieee754_gammal_r): Handle positive infinity, overflow and
37497         underflow here.  Handle NaN the same as positive infinity.  Remove
37498         check x < 0xffffffff for negative integers.  Use gamma_positive
37499         instead of exp (lgamma) for other arguments.
37500         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
37501         (gamma_coeff): New variable.
37502         (NCOEFF): New macro.
37503         (gammal_positive): New function.
37504         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
37505         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
37506         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
37507         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
37508         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
37509         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
37510         * sysdeps/generic/math_private.h (__gamma_productf): New
37511         prototype.
37512         (__gamma_product): Likewise.
37513         (__gamma_productl): Likewise.
37514         * math/Makefile (libm-calls): Add gamma_product.
37515         * math/libm-test.inc (tgamma_test): Add more tests.
37516         * sysdeps/i386/fpu/libm-test-ulps: Update.
37517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37519 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
37521         * benchtests/bench-skeleton.c (main): Preheat CPU.
37523 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
37525         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
37527 2013-05-07  Roland McGrath  <roland@hack.frob.com>
37529         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
37530         and _dl_skip_args_internal.
37532 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
37534         * manual/message.texi (Message Translation): Talk about users.
37535         Message to key mapping impacts design.
37537 2013-05-06  Roland McGrath  <roland@hack.frob.com>
37539         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
37541         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
37543         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
37544         * sysdeps/wordsize-64/glob64.c: ... here.
37546         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
37547         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
37548         New macros.
37550         * debug/getlogin_r_chk.c: Moved to ...
37551         * login/getlogin_r_chk.c: ... here.
37552         * debug/Makefile (routines): Move getlogin_r_chk to ...
37553         * login/Makefile (routines): ... here.
37554         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
37555         * login/Versions (libc: GLIBC_2.4): ... here.
37557         * io/poll.c (__poll): Renamed from poll.
37558         Add libc_hidden_def.
37559         (poll): Define as weak alias.
37561         * debug/ptsname_r_chk.c: Moved to ...
37562         * login/ptsname_r_chk.c: ... here.
37563         * debug/Makefile (routines): Move ptsname_r_chk to ...
37564         * login/Makefile (routines): ... here.
37565         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
37566         * login/Versions (libc: GLIBC_2.4): ... here.
37568         * posix/getlogin.c: Moved to ...
37569         * login/getlogin.c: ... here.
37570         * posix/getlogin_r.c: Moved to ...
37571         * login/getlogin_r.c: ... here.
37572         * posix/getlogin_r.c: Moved to ...
37573         * login/getlogin_r.c: ... here.
37574         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
37575         * login/Makefile (routines): ... here.
37576         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
37577         * login/Versions (libc: GLIBC_2.0): ... here.
37579         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
37580         (setrlimit): Define as weak alias.
37582         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
37583         Call __ names for open, ftruncate, and close.
37584         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
37585         (truncate): Define as weak alias.
37587 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
37589         * math/gen-libm-test.pl (parse_args): Initialize x before each
37590         test of frexp, modf and remquo.
37592         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
37593         test signgam value.
37595 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37597         [BZ #15418]
37598         [BZ #15419]
37599         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
37600         internal tests.
37601         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37603 2013-05-06  Roland McGrath  <roland@hack.frob.com>
37605         * elf/dl-writev.h: New file.
37606         * elf/dl-misc.c: Include it.
37607         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
37608         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
37610 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
37612         * math/libm-test.inc (noXFails): Remove variable.
37613         (noXPasses): Likewise.
37614         (BUILD_COMPLEX_INT): Remove macro.
37615         (print_screen): Remove xfail argument.
37616         (print_screen_max_error): Likewise.
37617         (update_stats): Likewise.
37618         (print_max_error): Likewise.  Update calls to other affected
37619         functions.
37620         (print_complex_max_error): Likewise.
37621         (test_single_exception): Update calls to print_screen.
37622         (test_single_errno): Likewise.
37623         (check_float_internal): Remove xfail argument.  Update calls to
37624         other affected functions.
37625         (check_float): Likewise.
37626         (check_complex): Likewise.
37627         (check_int): Likewise.
37628         (check_long): Likewise.
37629         (check_bool): Likewise.
37630         (check_longlong): Likewise.
37631         (main): Don't print noXFails and noXPasses.
37632         * math/gen-libm-test.pl (top level): Don't mention expected
37633         failure handling in comment.
37634         (new_test): Don't handle expected failures.
37635         (parse_args): Don't mention expected failure handling in comment.
37636         (generate_testfile): Don't handle expected failures.
37637         (parse_ulps): Likewise.
37638         (print_ulps_file): Likewise.
37639         (get_failure): Remove function.
37640         (output_test): Don't handle expected failures.
37641         * make/README.libm-test: Don't mention expected failure handling.
37643         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
37644         (minus_zero): Likewise.
37645         (plus_infty): Likewise.
37646         (minus_infty): Likewise.
37647         (qnan_value): Likewise.
37648         (max_value): Likewise.
37649         (min_value): Likewise.
37650         (min_subnorm_value): Likewise.
37651         (initialize): Do not initialize those variables dynamically.
37653 2013-05-03  Roland McGrath  <roland@hack.frob.com>
37655         * io/open.c (__open_2): Moved to ...
37656         * io/open_2.c: ... this new file.
37657         * io/open64.c (__open64_2): Moved to ...
37658         * io/open64_2.c: ... this new file.
37659         * io/openat.c (__openat_2): Moved to ...
37660         * io/openat_2.c: ... this new file.
37661         * io/openat64.c (__openat64_2): Moved to ...
37662         * io/openat64_2.c: ... this new file.
37663         * io/Makefile (routines): Add them.
37664         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
37665         * sysdeps/unix/sysv/linux/open_2.c: File removed.
37666         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
37667         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
37668         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
37669         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
37670         (__openat64): Add hidden_ver.
37671         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
37672         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
37674         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
37675         Separately conditionalize setting of GLRO(dl_sysinfo) so
37676         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
37677         as well, but the actual setting is only under [NEED_DL_SYSINFO].
37679 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37681         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
37682         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
37683         definition.
37684         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
37685         * sysdeps/unix/sysv/linux/powerpc/init-first.c
37686         (_libc_vdso_platform_setup): Add __vdso_time initialization.
37687         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
37688         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
37690 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
37692         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
37693         test signgam value.
37695         * math/libm-test.inc (hypot_test): Do not use
37696         IGNORE_ZERO_INF_SIGN.
37698 2013-05-03  Andreas Jaeger  <aj@suse.de>
37700         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
37701         Linux 3.9.
37702         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
37703         (PF_MAX): Adjust for VSOCK change.
37705 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37709 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
37711         [BZ #15264]
37712         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
37713         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
37714         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
37716 2013-05-02  David S. Miller  <davem@davemloft.net>
37718         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37720 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
37722         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
37724 2013-05-01  Roland McGrath  <roland@hack.frob.com>
37726         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
37728 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
37730         [BZ #14952]
37731         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
37732         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37733         Use __attribute__ ((__gnu_inline__)).
37734         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37735         Don't use __attribute__ ((__gnu_inline__)).
37737 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
37739         [BZ #15423]
37740         * math/s_catan.c (__catan): Handle small real or imaginary part of
37741         input specially to avoid spurious underflow.
37742         * math/s_catanf.c (__catanf): Likewise.
37743         * math/s_catanh.c (__catanh): Likewise.
37744         * math/s_catanhf.c (__catanhf): Likewise.
37745         * math/s_catanhl.c (__catanhl): Likewise.
37746         * math/s_catanl.c (__catanl): Likewise.
37747         * math/libm-test.inc (catan_test): Add more tests.
37748         (catanh_test): Likewise.
37749         * sysdeps/i386/fpu/libm-test-ulps: Update.
37750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37752 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37754         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37756 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
37758         [BZ #15416]
37759         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
37760         accurately for denominator in atan2.
37761         * math/s_catanf.c (__catanf): Likewise.
37762         * math/s_catanh.c (__catanh): Likewise.
37763         * math/s_catanhf.c (__catanhf): Likewise.
37764         * math/s_catanhl.c (__catanhl): Likewise.
37765         * math/s_catanl.c (__catanl): Likewise.
37766         * math/libm-test.inc (catan_test): Add more tests.
37767         (catanh_test): Likewise.
37768         * sysdeps/i386/fpu/libm-test-ulps: Update.
37769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37771 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37773         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
37775         * benchtests/Makefile (bench): Remove slow benchmarks.
37776         * benchtests/atan-inputs: Add slow benchmark inputs.
37777         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
37778         (BENCH_FUNC): Accept variant offset.
37779         (VARIANT): Define.
37780         * benchtests/bench-skeleton.c (main): Run benchmark for each
37781         variant.
37782         * benchtests/cos-inputs: Add slow benchmark inputs.
37783         * benchtests/exp-inputs: Likewise.
37784         * benchtests/pow-inputs: Likewise.
37785         * benchtests/sin-inputs: Likewise.
37786         * benchtests/slowatan-inputs: Remove.
37787         * benchtests/slowatan.c: Remove.
37788         * benchtests/slowcos-inputs: Remove.
37789         * benchtests/slowcos.c: Remove.
37790         * benchtests/slowexp-inputs: Remove.
37791         * benchtests/slowexp.c: Remove.
37792         * benchtests/slowpow-inputs: Remove.
37793         * benchtests/slowpow.c: Remove.
37794         * benchtests/slowsin-inputs: Remove.
37795         * benchtests/slowsin.c: Remove.
37796         * benchtests/slowtan-inputs: Remove.
37797         * benchtests/slowtan.c: Remove.
37798         * benchtests/tan-inputs: Add slow benchmark inputs.
37799         * scripts/bench.pl: Parse comments and directives.
37801         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
37802         in CPPFLAGS.
37803         ($(objpfx)bench-%.c): Remove *-ITER.
37804         * benchtests/bench-modf.c: Remove definition of ITER.
37805         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
37806         (main): Loop for DURATION seconds instead of fixed number of
37807         iterations.
37808         * scripts/bench.pl: Don't expect iterations in parameters.
37810 2013-04-29  Roland McGrath  <roland@hack.frob.com>
37812         * io/fchdir.c (__fchdir): Renamed from fchdir.
37813         (fchdir): Define as weak alias.
37815 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
37817         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
37818         (ERRNO_EDOM): Likewise.
37819         (ERRNO_ERANGE): Likewise.
37820         (noErrnoTests): New variable.
37821         (init_max_error): Set errno to 0.
37822         (test_single_errno): New function.
37823         (test_errno): Likewise.
37824         (check_float_internal): Call test_errno.  Set errno to 0.
37825         (check_complex): Refer to errno tests in comment.
37826         (check_int): Call test_errno.  Set errno to 0.
37827         (check_long): Likewise.
37828         (check_bool): Likewise.
37829         (check_longlong): Likewise.
37830         (cos_test): Use ERRNO_* flags for errno tests instead of
37831         check_int.
37832         (expm1_test): Likewise.
37833         (fmod_test): Likewise.
37834         (ilogb_test): Likewise.
37835         (lgamma_test): Likewise.
37836         (pow_test): Likewise.
37837         (remainder_test): Likewise.
37838         (sin_test): Likewise.
37839         (tan_test): Likewise.
37840         (yn_test): Likewise.
37841         (initialize): Set errno to 0.
37842         (main): Print number of errno tests.
37843         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
37845 2013-04-29  Andreas Jaeger  <aj@suse.de>
37847         [BZ #15084]
37848         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
37849         and RES_USEVC.
37851         [BZ #15085]
37852         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
37853         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
37854         unimplemented.
37856         [BZ #15380]
37857         * stdlib/random.c (__initstate): Return NULL if
37858         __initstate fails.
37860         [BZ #15086]
37861         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
37862         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
37863         RES_SNGLKUPREOP.
37865 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37869 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
37871         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
37872         of individual tests.
37873         (casin_test): Likewise.
37874         (casinh_test): Likewise.
37876 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
37878         [BZ #15409]
37879         * math/s_catan.c (__catan): Handle arguments with large real or
37880         imaginary part separately without squaring.
37881         * math/s_catanf.c (__catanf): Likewise.
37882         * math/s_catanh.c (__catanh): Likewise.
37883         * math/s_catanhf.c (__catanhf): Likewise.
37884         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37885         and redefine.
37886         (__catanhl): Handle arguments with large real or imaginary part
37887         separately without squaring.
37888         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37889         and redefine.
37890         (__catanl): Handle arguments with large real or imaginary part
37891         separately without squaring.
37892         * math/libm-test.inc (catan_test): Add more tests.
37893         (catanh_test): Likewise.
37894         * sysdeps/i386/fpu/libm-test-ulps: Update.
37895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37897 2013-04-27  Andreas Jaeger  <aj@suse.de>
37899         [BZ #15007]
37900         * stdlib/stdlib.h: Update guards for qecvt.
37901         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
37902         <stdlib.h>.
37904 2013-04-27  Allan McRae  <allan@archlinux.org>
37906         * sysdeps/i386/fpu/libm-test-ulps: Update.
37908 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
37910         [BZ #15406]
37911         * math/s_catan.c: Include <float.h>.
37912         (__catan): Ensure underflow exception occurs for underflowed
37913         result.
37914         * math/s_catanf.c: Include <float.h>.
37915         (__catanf): Ensure underflow exception occurs for underflowed
37916         result.
37917         * math/s_catanh.c: Include <float.h>.
37918         (__catanh): Ensure underflow exception occurs for underflowed
37919         result.
37920         * math/s_catanhf.c: Include <float.h>.
37921         (__catanhf): Ensure underflow exception occurs for underflowed
37922         result.
37923         * math/s_catanhl.c: Include <float.h>.
37924         (__catanhl): Ensure underflow exception occurs for underflowed
37925         result.
37926         * math/s_catanl.c: Include <float.h>.
37927         (__catanl): Ensure underflow exception occurs for underflowed
37928         result.
37929         * math/libm-test.inc (catan_test): Add more tests.
37930         (catanh_test): Likewise.
37932         [BZ #15405]
37933         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
37934         underflowed result.
37935         * math/s_ccoshf.c (__ccoshf): Likewise.
37936         * math/s_ccoshl.c (__ccoshl): Likewise.
37937         * math/s_csin.c (__csin): Likewise.
37938         * math/s_csinf.c (__csinf): Likewise.
37939         * math/s_csinh.c (__csinh): Likewise.
37940         * math/s_csinhf.c (__csinhf): Likewise.
37941         * math/s_csinhl.c (__csinhl): Likewise.
37942         * math/s_csinl.c (__csinl): Likewise.
37943         * math/libm-test.inc (ccos_test): Add more tests.
37944         (ccosh_test): Likewise.
37945         (csin_test): Likewise.
37946         (csinh_test): Likewise.
37948 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37950         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
37951         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
37952         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
37953         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
37954         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
37955         powerpc/power5+/fpu folders.
37956         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
37959 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
37961         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37963 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
37965         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
37966         additions to variable.
37967         [$(config-machine) = x86_64] (modules-names): Likewise.
37968         ($(objpfx)tst-audit3): Remove dependency.
37969         ($(objpfx)tst-audit3.out): Likewise.
37970         ($(objpfx)tst-audit4): Likewise.
37971         ($(objpfx)tst-audit4.out): Likewise.
37972         ($(objpfx)tst-audit5): Likewise.
37973         ($(objpfx)tst-audit5.out): Likewise.
37974         ($(objpfx)tst-audit6): Likewise.
37975         ($(objpfx)tst-audit6.out): Likewise.
37976         ($(objpfx)tst-audit7): Likewise.
37977         ($(objpfx)tst-audit7.out): Likewise.
37978         (tst-audit3-ENV): Remove variable.
37979         (tst-audit4-ENV): Likewise.
37980         (tst-audit5-ENV): Likewise.
37981         (tst-audit6-ENV): Likewise.
37982         (tst-audit7-ENV): Likewise.
37983         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
37984         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
37985         addition to variable.
37986         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
37987         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
37988         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
37989         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
37990         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
37991         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
37992         tst-audit3, tst-audit4 and tst-audit5.
37993         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
37994         tst-audit6 and tst-audit7.
37995         [$(subdir) = elf] (modules-names): Add audit modules for those
37996         tests.
37997         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
37998         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
37999         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
38000         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
38001         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
38002         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
38003         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
38004         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
38005         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
38006         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
38007         [$(subdir) = elf] (tst-audit3-ENV): New variable.
38008         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
38009         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
38010         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
38011         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
38012         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
38013         Likewise.
38014         [$(subdir) = elf && $(config-cflags-avx) = yes]
38015         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
38016         [$(subdir) = elf && $(config-cflags-avx) = yes]
38017         (CFLAGS-tst-auditmod4a.c): Likewise.
38018         [$(subdir) = elf && $(config-cflags-avx) = yes]
38019         (CFLAGS-tst-auditmod4b.c): Likewise.
38020         [$(subdir) = elf && $(config-cflags-avx) = yes]
38021         (CFLAGS-tst-auditmod6b.c): Likewise.
38022         [$(subdir) = elf && $(config-cflags-avx) = yes]
38023         (CFLAGS-tst-auditmod6c.c): Likewise.
38024         [$(subdir) = elf && $(config-cflags-avx) = yes]
38025         (CFLAGS-tst-auditmod7b.c): Likewise.
38026         * elf/tst-audit3.c: Move to ...
38027         * sysdeps/x86_64/tst-audit3.c: ... here.
38028         * elf/tst-audit4.c: Move to ...
38029         * sysdeps/x86_64/tst-audit4.c: ... here.
38030         * elf/tst-audit5.c: Move to ...
38031         * sysdeps/x86_64/tst-audit5.c: ... here.
38032         * elf/tst-audit6.c: Move to ...
38033         * sysdeps/x86_64/tst-audit6.c: ... here.
38034         * elf/tst-audit7.c: Move to ...
38035         * sysdeps/x86_64/tst-audit7.c: ... here.
38036         * elf/tst-auditmod3a.c: Move to ...
38037         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
38038         * elf/tst-auditmod3b.c: Move to ...
38039         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
38040         * elf/tst-auditmod4a.c: Move to ...
38041         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
38042         * elf/tst-auditmod4b.c: Move to ...
38043         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
38044         * elf/tst-auditmod5a.c: Move to ...
38045         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
38046         * elf/tst-auditmod5b.c: Move to ...
38047         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
38048         * elf/tst-auditmod6a.c: Move to ...
38049         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
38050         * elf/tst-auditmod6b.c: Move to ...
38051         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
38052         * elf/tst-auditmod6c.c: Move to ...
38053         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
38054         * elf/tst-auditmod7a.c: Move to ...
38055         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
38056         * elf/tst-auditmod7b.c: Move to ...
38057         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
38059 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
38061         [BZ #15366]
38062         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
38063         define unconditionally.
38064         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
38065         define unconditionally.
38066         (INT8_C, INT16_C, etc.): Likewise.
38068 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
38070         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
38071         __ehdr_start with hidden visibility.
38073         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
38075 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
38077         * math/libm-test.inc (cos_test): Use accurate hex constants.
38078         (sincost_test): Likewise.
38080 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
38082         * math/libm-test.inc (catan_test): Add more tests.
38083         (catanh_test): Likewise.
38085         * math/s_catanf.c (__catanf): Use suffixed floating-point
38086         constants.
38087         * math/s_catanhf.c (__catanhf): Likewise.
38088         * math/s_catanhl.c (__catanhl): Likewise.
38089         * math/s_catanl.c (__catanl): Likewise.
38091         [BZ #15394]
38092         * math/s_catan.c (__catan): Calculate imaginary part of result
38093         with log1p not log unless computing log of number close to 0.
38094         * math/s_catanf.c (__catanf): Likewise.
38095         * math/s_catanl.c (__catanl): Likewise.
38096         * math/s_catanh.c (__catanh): Calculate real part of result with
38097         log1p not log unless computing log of number close to 0.
38098         * math/s_catanhf.c (__catanhf): Likewise.
38099         * math/s_catanhl.c (__catanhl): Likewise.
38100         * math/libm-test.inc (catan_test): Add more tests.
38101         (catanh_test): Likewise.
38102         * sysdeps/i386/fpu/libm-test-ulps: Update.
38103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38105 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38107         * benchtests/Makefile: Mention files in which fast and slow
38108         paths of math functions are implemented.
38110 2013-04-23  Roland McGrath  <roland@hack.frob.com>
38112         * sysdeps/posix/timespec_get.c: New file.
38114 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38116         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
38117         POWER.
38118         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
38119         for POWER.
38120         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
38121         powerpc/power5/fpu folders.
38122         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
38123         * benchtests/Makefile: Add modf testcase.
38124         * benchtests/bench-modf.c: New file: Benchmark test for mo
38126 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38128         [BZ #14888]
38129         * time/Makefile (tests): Add tst-strptime-whitespace.
38130         * time/strptime_l.c (get_number): Use ISSPACE.
38131         (__strptime_internal): Likewise.
38132         * time/tst-strptime-whitespace.c: New test case.
38134 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
38136         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
38137         member.
38138         (_nss_files_init): Set it here.
38140 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
38142         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
38143         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
38144         unsigned.
38146 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
38148         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
38150 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38152         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
38153         size just once.
38155 2013-04-21  David S. Miller  <davem@davemloft.net>
38157         * po/ru.po: Update Russion translation from translation project.
38159 2013-04-17  Adam Conrad  <adconrad@0c3.net>
38161         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
38162         and setfsgid.
38164 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
38166         * configure.in: Remove i386 configure warning. Remove i386 case.
38167         * configure: Regenerate.
38168         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
38169         Add example to error message.
38170         * sysdeps/i386/configure: Regenerate.
38172 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38174         * benchtests/Makefile (bench): Add cos, tan, slowcos and
38175         slowtan.
38176         * benchtests/cos-inputs: New file.
38177         * benchtests/slowcos-inputs: New file.
38178         * benchtests/slowcos.c: New file.
38179         * benchtests/slowtan-inputs: New file.
38180         * benchtests/slowtan.c: New file.
38181         * benchtests/tan-inputs: New file.
38183 2013-04-16  Roland McGrath  <roland@hack.frob.com>
38185         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
38186         considered kosher.
38188 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38190         * benchtests/Makefile: Include cppflags-iterator.mk to add
38191         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
38193         * Makefile.in (bench-clean): New target.
38194         * benchtests/Makefile (bench-clean): Likewise.
38196 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
38198         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
38200 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
38202         * stdio-common/tstdiomisc.c: Fix coding-style violation.
38204 2013-04-15  Andreas Schwab  <schwab@suse.de>
38206         * nscd/grpcache.c (cache_addgr): Properly check for short write.
38207         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38208         * nscd/pwdcache.c (cache_addpw): Likewise.
38209         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
38210         more than recsize.
38212 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38214         * benchtests/Makefile (bench): Write all output to
38215         bench-out.tmp together.
38217 2013-04-15  Andreas Schwab  <schwab@suse.de>
38219         * nscd/nscd.c (main): Don't fork again after closing files.
38221 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38223         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
38225         * benchtests/Rules (bench-deps): Collect dependencies into a
38226         single variable.  Add Makefile to dependencies.
38227         ($(objpfx)bench-%.c): Depend on bench-deps.
38229 2013-04-12  Roland McGrath  <roland@hack.frob.com>
38230             Xavier Roche  <roche+kml2@exalead.com>
38232         [BZ #15361]
38233         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
38234         just that it's a file descriptor.
38235         * manual/llio.texi (Synchronizing AIO Operations): Update description
38236         for EBADF error from aio_fsync.
38238 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38240         * Rules (bench): Move target definition...
38241         * benchtests/Makefile: ... here.
38243 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
38245         * math/libm-test.inc (cos_test): Fix PI/2 test.
38246         (sincos_test): Likewise.
38247         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38248         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
38250 2013-04-11  Andreas Schwab  <schwab@suse.de>
38252         [BZ #13988]
38253         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
38254         accept exponent character only when digits were seen.
38255         * stdio-common/Makefile (tests): Add bug26.
38256         * stdio-common/bug26.c: New file.
38258         [BZ #14293]
38259         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
38260         non-freeable.
38262 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38264         * Makeconfig (rtld-prefix): Define built linker prefix.
38265         * Rules (run-bench): Use it.
38266         * math/Makefile (run-regen-ulps): Likewise.
38268         * Rules (bench): Remove eval.
38270 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38271             Roland McGrath  <roland@hack.frob.com>
38272             Ondrej Bilka  <neleai@seznam.cz>
38274         [BZ #15346]
38275         * time/getdate.c: Include ctype.h and alloca.h.
38276         (__getdate_r): Trim leading and trailing spaces of input.
38277         * time/tst-getdate.c (tests): Add tests with leading and
38278         trailing spaces.
38280 2013-04-08  Roland McGrath  <roland@hack.frob.com>
38282         [BZ #14280]
38283         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
38284         when computing value.
38286 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
38288         * math/README.libm-test (How can I generate "libm-test-ulps"?):
38289         Use testrun.sh to run libm tests.
38291         [BZ #15309]
38292         * elf/dl-open.c (dl_open_worker): memset all of seen array.
38294 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
38296         [BZ #15264]
38297         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
38299 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
38301         * Makefile.in (regen-ulps): New target.
38302         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
38303         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
38304         [ifneq (no,$(PERL)] (regen-ulps): New target.
38305         [ifeq (no,$(PERL)] (regen-ulps): New target.
38306         * math/libm-test.inc (ulps_file_name): Define.
38307         (output_dir): New variable.
38308         (options): Add "output-dir" option.
38309         (parse_opt): Handle 'o' case.
38310         (main): If output_dir is non-NULL use it as a prefix
38311         otherwise use "".
38312         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
38314 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
38316         [BZ #10060, #10062]
38317         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
38318         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
38319         fail configure if __sync_val_compare_and_swap is not inlined.
38320         * sysdeps/i386/configure: Regenerate.
38321         * configure.in: Build for i686 when configured for i386.
38322         * configure: Regenerate.
38323         * README: Remove i386 reference.
38325 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
38327         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
38328         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38330 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38332         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
38333         (lmsnanval): New variables.
38334         (F): Add conversion tests.
38335         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
38336         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
38338         * stdio-common/tstdiomisc.c (F): Properly collect individual
38339         tests' results.
38341         [BZ #14686, #15336]
38342         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
38343         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
38344         Instead, use input NaN values or generate a qNaN by arithmetic
38345         operation.  Also fix bugs to comply with the standard.
38346         * math/libm-test.inc (remainder_test): Add more tests.
38348         [BZ #15335, #15342]
38349         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
38350         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
38351         input NaN values or generate a qNaN by arithmetic operation.
38353         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
38354         unreachable code.
38356         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
38357         definitions.
38359 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
38361         [BZ #14478]
38362         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
38363         underflowed result.
38364         * math/s_cexpf.c (__cexpf): Likewise.
38365         * math/s_cexpl.c (__cexpl): Likewise.
38366         * math/libm-test.inc (cexp_test): Add more tests.
38368 2013-04-03  Andreas Schwab  <schwab@suse.de>
38370         [BZ #15330]
38371         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
38372         order arrays from heap if bigger than alloca cutoff.
38374 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
38376         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
38377         (SNAN_TESTS_double): Refer to GCC PR56831.
38378         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
38379         GCC PR56828.
38381 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38383         * Rules (bench): Move bench.out after the run is complete.
38385         * Rules (bench): Echo currently running benchmark.
38387         * benchtests/Makefile (bench): Add atan and slowatan.
38388         * benchtests/atan-inputs: New file.
38389         * benchtests/slowatan-inputs: New file.
38390         * benchtests/slowatan.c: New file.
38392         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
38393         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
38394         its value.
38396         [BZ #15305]
38397         * sysdeps/unix/sysv/linux/kernel-features.h
38398         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
38399         __ASSUME_XFS_RESTRICTED_CHOWN.
38400         * sysdeps/unix/sysv/linux/pathconf.c
38401         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38402         Save and restore errno.
38404 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
38406         [BZ #15327]
38407         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
38408         arguments using __kernel_casinh.
38409         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
38410         arguments using __kernel_casinhf.
38411         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
38412         arguments using __kernel_casinhl.
38413         * math/libm-test.inc (cacosh_test): Add more tests.
38414         * sysdeps/i386/fpu/libm-test-ulps: Update.
38415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38417 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38419         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
38420         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
38422         * bench/Makefile (bench): Add sin and slowsin.
38423         * benchtests/sin-inputs: New file.
38424         * benchtests/slowsin-inputs: New file.
38425         * benchtests/slowsin.c: New file.
38427         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
38428         (bench): Add slowexp and slowpow.
38429         (exp-ITER): Increase iterations.
38430         (pow-ITER): Likewise.
38431         * benchtests/exp-inputs: Change input.
38432         * benchtests/pow-inputs: Likewise.
38433         * benchtests/slowexp-inputs: New file.
38434         * benchtests/slowexp.c: New file.
38435         * benchtests/slowpow-inputs: New file.
38436         * benchtests/slowpow.c: New file.
38438 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38440         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
38441         instructions.
38442         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38443         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
38444         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38445         * benchtests/Makefile: Add rint benchtest.
38446         * benchtests/rint-inputs: Input for rint benchtest.
38448 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
38450         * Versions.def (libm): Add GLIBC_2.18.
38451         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
38452         hidden libm prototypes.
38453         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
38454         * math/Makefile (libm-calls): Add s_issignaling.
38455         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
38456         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
38457         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
38458         declaration.
38459         * math/math.h [__USE_GNU] (issignaling): New macro.
38460         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
38461         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
38462         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
38463         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
38464         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
38465         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
38466         * manual/arith.texi (issignaling): New section.
38467         * manual/libm-err-tab.pl (@all_functions): Update comment.
38468         * math/gen-libm-test.pl (parse_args): Apply special handling for
38469         issignaling.
38470         * math/libm-test.inc (print_float, issignaling_test): New
38471         functions.
38472         (check_float_internal): Add issignaling checks.
38473         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
38474         default definition.
38475         * sysdeps/powerpc/math-tests.h: New file.
38476         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
38477         tests.
38478         * math/test-snan.c (TEST_FUNC): Likewise.
38480 2013-03-30  David S. Miller  <davem@davemloft.net>
38482         * po/de.po: Update from translation team.
38484 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
38486         [BZ #10357]
38487         * math/k_casinh.c (__kernel_casinh): Handle arguments with
38488         imaginary part less than 1.0 and real part less than 0.5
38489         specially.
38490         * math/k_casinhf.c (__kernel_casinhf): Likewise.
38491         * math/k_casinhl.c (__kernel_casinhl): Likewise.
38492         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
38493         (cacos_test): Add more tests.
38494         (casin_test): Likewise.
38495         (casinh_test): Likewise.
38496         * sysdeps/i386/fpu/libm-test-ulps: Update.
38497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38499 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38501         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
38502         ONE with its value.
38504         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
38505         (__pow_mp): Replace ONE and MONE with their values.
38506         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38507         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
38508         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38509         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
38510         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38511         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38513         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
38515         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
38516         (__pow_mp): Replace ZERO and MZERO with their values.
38517         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38518         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38519         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38520         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38521         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38522         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
38523         (__sqr): Likewise.
38525         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
38527         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
38529 2013-03-28  Roland McGrath  <roland@hack.frob.com>
38531         * include/stdlib.h [!SHARED] (__call_tls_dtors):
38532         Declare with __attribute__ ((weak)).
38533         * stdlib/exit.c (__libc_atexit) [!SHARED]:
38534         Call __call_tls_dtors only if it's not NULL.
38536 2013-03-28  Roland McGrath  <roland@hack.frob.com>
38538         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
38539         didn't do it already, then set _dl_phdr and _dl_phnum based on the
38540         magic __ehdr_start linker symbol if it's defined.
38541         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
38542         them up here if it was already done.
38544         * elf/dl-support.c (_dl_phdr): Make pointer to const.
38545         (_dl_aux_init): Use const in cast when setting it.
38546         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
38547         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
38548         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
38550         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
38551         Declare them here.
38552         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
38553         * csu/libc-tls.c: Nor here.
38554         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
38556         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
38557         (__libc_message): Never call vsyslog.
38559 2013-03-28  Alan Modra  <amodra@gmail.com>
38561         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
38562         Define as empty.
38563         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
38564         Likewise.
38566 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38568         [BZ #15214]
38569         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
38570         underflow.
38571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38573 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38575         [BZ #15304]
38576         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38577         Don't add gid passed as argument.
38579         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
38581 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
38583         [BZ #15307]
38584         * math/k_casinh.c (__kernel_casinh): Handle arguments with
38585         imaginary part between 1.0 and 1.5 and real part less than 0.5
38586         specially.
38587         * math/k_casinhf.c (__kernel_casinhf): Likewise.
38588         * math/k_casinhl.c (__kernel_casinhl): Likewise.
38589         * math/libm-test.inc (cacos_test): Add more tests.
38590         (casin_test): Likewise.
38591         (casinh_test): Likewise.
38592         * sysdeps/i386/fpu/libm-test-ulps: Update.
38593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38595 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38597         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
38598         constants.
38599         (norm): Likewise.
38600         (denorm): Likewise.
38601         (__dbl_mp): Likewise.
38602         (add_magnitudes): Likewise.
38603         (sub_magnitudes): Likewise.
38604         (__add): Likewise.
38605         (__sub): Likewise.
38606         (__mul): Likewise.
38607         (__sqr): Likewise.
38608         (__inv): Likewise.
38609         (__dvd): Likewise.
38611         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
38612         commented code.
38613         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
38614         (__dubcos): Likewise.
38615         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
38616         (__ieee754_acos): Likewise.
38617         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38618         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
38619         (__exp1): Likewise.
38620         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38621         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38622         (log1): Likewise.
38623         (my_log2): Likewise.
38624         (checkint): Likewise.
38625         * sysdeps/ieee754/dbl-64/e_remainder.c
38626         (__ieee754_remainder): Likewise.
38627         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38628         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
38629         (bsloww): Likewise.
38630         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38632         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38633         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
38634         MANTISSA_STORE_T to store computations on mantissa.  Use
38635         macros for rounding and division.
38636         (denorm): Likewise.
38637         (__dbl_mp): Likewise.
38638         (add_magnitudes): Likewise.
38639         (sub_magnitudes): Likewise.
38640         (__mul): Likewise.
38641         (__sqr): Likewise.
38642         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
38643         powers of two in terms of TWOPOW macro.
38644         (mp_no): Make type of mantissa as MANTISSA_T.
38645         [!RADIXI]: Define RADIXI.
38646         [!TWO52]: Define TWO52.
38647         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38649 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38651         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
38652         llroundl symbol when building for PPC32.
38654 2013-03-24  Mark H Weaver  <mhw@netris.org>
38656         * manual/arith.texi (Normalization Functions): Fix prototypes for
38657         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
38659 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38661         [BZ #13889]
38662         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
38663         high value to check if expl overflow.
38664         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
38665         to check for underflow and overflow.
38666         * math/libm-test.inc: Add exp test.
38668 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
38670         [BZ #11120]
38671         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
38672         with NOT_IN_libc.
38674 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38676         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
38677         symbol.
38679 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38681         * math/gen-libm-test.pl (parse_args, special_functions): Properly
38682         wrap blocks consisting of several statements.
38684         * sysdeps/generic/math-tests.h: New file.
38685         * sysdeps/i386/fpu/math-tests.h: Likewise.
38686         * math/test-snan.c: Include it.
38687         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
38689 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
38691         [BZ #15285]
38692         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
38693         (__ieee754_j0l): Do not improve calculations using cos of twice
38694         input for inputs above LDBL_MAX / 2.0L.
38695         (__ieee754_y0l): Likewise.
38696         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
38697         (__ieee754_j1l): Do not improve calculations using cos of twice
38698         input for inputs above LDBL_MAX / 2.0L.
38699         (__ieee754_y1l): Likewise.
38700         * math/libm-test.inc (j0_test): Add another test.
38701         (j1_test): Likewise.
38702         (y0_test): Likewise.
38703         (y1_test): Likewise.
38704         * sysdeps/i386/fpu/libm-test-ulps: Update.
38706 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38708         * Rules ($(objpfx)bench-%.c): Include code from a C source
38709         file.
38711 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
38713         [BZ #15287]
38714         * math/k_casinh.c (__kernel_casinh): Handle arguments with
38715         imaginary part 1.0 and real part less than 0.5 specially.
38716         * math/k_casinhf.c (__kernel_casinhf): Likewise.
38717         * math/k_casinhl.c (__kernel_casinhl): Likewise.
38718         * math/libm-test.inc (cacos_test): Add more tests.
38719         (casin_test): Likewise.
38720         (casinh_test): Likewise.
38721         * sysdeps/i386/fpu/libm-test-ulps: Update.
38722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38724 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38726         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
38727         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
38729 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
38731         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
38732         * config.make.in (config-cflags-sse4): Remove variable.
38733         (config-cflags-avx): Likewise.
38734         (config-cflags-sse2avx): Likewise.
38735         (config-cflags-novzeroupper): Likewise.
38736         (config-asflags-i686): Likewise.
38737         (have-mfma4): Likewise.
38738         (have-as-vis3): Likewise.
38739         (MIG): Likewise.
38740         * configure.in (MIG): Do not AC_SUBST.
38741         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
38742         (libc_cv_cc_sse4): Do not AC_SUBST.
38743         (libc_cv_cc_avx): Likewise.
38744         (libc_cv_cc_sse2avx): Likewise.
38745         (libc_cv_cc_novzeroupper): Likewise.
38746         (libc_cv_cc_fma4): Likewise.
38747         (libc_cv_as_i686): Likewise.
38748         (libc_cv_sparc_as_vis3): Likewise.
38749         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
38750         LIBC_CONFIG_VAR.
38751         (config-asflags-i686): Likewise.
38752         (config-cflags-avx): Likewise.
38753         (config-cflags-sse2avx): Likewise.
38754         (have-mfma4): Likewise.
38755         (config-cflags-novzeroupper): Likewise.
38756         * sysdeps/mach/configure.in (MIG): Likewise.
38757         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
38758         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
38759         LIBC_CONFIG_VAR.
38760         (config-cflags-avx): Likewise.
38761         (config-cflags-sse2avx): Likewise.
38762         (have-mfma4): Likewise.
38763         (config-cflags-novzeroupper): Likewise.
38764         * configure: Regenerated.
38765         * sysdeps/i386/configure: Likewise.
38766         * sysdeps/mach/configure: Likewise.
38767         * sysdeps/sparc/configure: Likewise.
38768         * sysdeps/x86_64/configure: Likewise.
38770 2013-03-20  Roland McGrath  <roland@hack.frob.com>
38772         [BZ #14812]
38773         * locale/programs/localedef.c (options): Put N_ translation marker
38774         on argument names, not just descriptions.
38776 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38778         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
38780 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
38782         [BZ #14176]
38783         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
38785 2013-03-19  Roland McGrath  <roland@hack.frob.com>
38787         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
38788         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
38789         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
38790         [!BEFORE_ABORT] (before_abort): New function.
38791         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
38792         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
38793         (writev_for_fatal): New function.
38794         (WRITEV_FOR_FATAL): New macro; call that.
38795         (backtrace_and_maps): New function.
38796         (BEFORE_ABORT): New macro; call that.
38797         (struct str_list): Type removed.
38798         (__libc_message, __libc_fatal): Functions removed.
38799         Include <sysdeps/posix/libc_fatal.c> instead.
38801 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
38803         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
38804         constants.
38805         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
38806         double constants.
38808 2013-03-19  Andreas Schwab  <schwab@suse.de>
38810         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
38811         * sysdeps/gnu/configure: Regenerate.
38813         * configure.in: Substitute libc_cv_rtlddir.
38814         * configure: Regenerate.
38815         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
38816         * Makeconfig (rtlddir, inst_rtlddir): New variables.
38817         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
38818         * elf/Makefile (install-others, CFLAGS-interp.c)
38819         (ldso_install, common-ldd-rewrite): Likewise.
38820         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
38821         $(inst_slibdir)/$(rtld-installed-name).
38822         * scripts/rellns-sh: Add -p option.
38823         * Makerules (make-shlib-link): Use rellns-sh to get relative name
38824         for source.
38826 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38828         * manual/nptl.texi: Renamed to ...
38829         * manual/threads.texi: ... this.
38830         * manual/Makefile (chapters): Update.
38832 2013-03-18  Roland McGrath  <roland@hack.frob.com>
38834         [BZ #14812]
38835         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
38836         on argument names, not just descriptions.
38837         * malloc/memusagestat.c (options): Likewise.
38838         * nss/getent.c (options): Likewise.
38840 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
38842         [BZ #14812]
38843         * iconv/iconv_prog.c (options): Put N_ translation marker
38844         on argument names, not just descriptions.
38845         * iconv/iconvconfig.c (options): Likewise.
38847 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
38849         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
38850         implementation which is faster on all x86_64 architectures.
38851         Tested on AMD, Intel Nehalem, SNB, IVB.
38852         * sysdeps/x86_64/strnlen.S: Likewise.
38854         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38855         Remove all multiarch strlen and strnlen versions.
38856         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38857         Remove strlen and strnlen related parts.
38859         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
38860         Inline strlen part.
38861         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38863         * sysdeps/x86_64/multiarch/strlen.S: Remove.
38864         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
38865         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
38866         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
38867         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38868         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
38870 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
38872         * manual/memory.texi (Malloc Tunable Parameters):
38873         Sort parameters alphabetically. Add comments for missing entries.
38875 2013-03-17  David S. Miller  <davem@davemloft.net>
38877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38879 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
38881         [BZ #15283]
38882         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
38883         for arguments at most half maximum finite value.
38884         * math/libm-test.inc (j0_test): Add more tests.
38885         (j1_test): Likewise.
38886         (y0_test): Likewise.
38887         (y1_test): Likewise.
38888         * sysdeps/i386/fpu/libm-test-ulps: Update.
38889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38891         [BZ #14155]
38892         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
38893         1 / x and functions P and Q for arguments above 0x1p256L.
38894         (__ieee754_y0l): Likewise.
38895         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
38896         (__ieee754_y1l): Likewise.
38897         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
38898         (j1_test): Likewise.
38899         (y0_test): Likewise.
38900         (y1_test): Likewise.
38902 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
38904         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
38905         variable.
38907 2013-03-15  Roland McGrath  <roland@hack.frob.com>
38909         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
38910         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
38911         zero since it's initialized to EXEC_PAGESIZE.
38913         * sysdeps/unix/sysv/linux/ldsodefs.h
38914         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
38915         * sysdeps/generic/ldsodefs.h: ... here.
38917 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
38919         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
38921         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
38922         math/test-snan.c.
38923         * math/test-snan.c: Renamed from
38924         sysdeps/powerpc/fpu/test-powerpc-snan.c.
38925         * math/Makefile (tests): Add test-snan.
38926         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
38927         test-powerpc-snan.
38929         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
38930         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
38931         functions.
38932         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
38933         __builtin_nan family of functions.
38934         * math/libm-test.inc (initialize): Initialize qnan_value with
38935         __builtin_nan family of functions.
38936         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
38937         Remove variables.
38938         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
38939         Remove functions.
38940         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
38941         storage class.  Initialize qNaN_var and sNaN_var with
38942         __builtin_nan and __builtin_nans families of functions,
38943         respectively.
38945         * math/libm-test.inc (acosh_test): Also test with qNaN input.
38946         (sqrt_test): Remove duplicate test with qNaN input.
38947         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
38948         (round_test, signbit_test, significand_test): Note missing +/-Inf
38949         as well as qNaN tests.
38951         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
38952         qNaN_var.  Fix a few strings, too.
38953         * math/libm-test.inc (nan_value): Rename to qnan_value.
38954         * math/gen-libm-test.pl (%beautify): Adjust to that.
38955         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
38956         * math/test-misc.c (main): Likewise.
38957         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
38958         to __qnan_bytes, and __qnan_union, respectively.
38959         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
38960         Likewise.
38961         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
38962         and lqnanval, respectively.
38963         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
38964         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
38965         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
38966         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
38968         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
38969         * math/test-misc.c (main) [__x86_64__]: Enable test for long
38970         doubles.
38972         * math/test-misc.c (main): Fix copy'n'pastos.
38973         * misc/tst-efgcvt.c (special): Likewise.
38975         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
38976         Remove declarations.
38978 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38980         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
38981         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
38982         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
38983         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
38985 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38987         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
38988         macro to return vdso values correctly in IFUNC implementations.
38989         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38990         Optimization by using IFUNC.
38992 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38993             Richard Henderson  <rth@redhat.com>
38994             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38996         * Makefile.in (bench): New target.
38997         * NEWS: Mention the benchmark framework.
38998         * Rules (bench): Likewise.
38999         (binaries-bench): Generate binaries for functions to
39000         benchmark.
39001         * benchtests/Makefile: New makefile for benchmark tests.
39002         * benchtests/bench-skeleton.c: New skeleton file for benchmark
39003         programs.
39004         * benchtests/exp-inputs: New input file for EXP function.
39005         * benchtests/pow-inputs: New input file for POW function.
39006         * scripts/bench.pl: New script to generate source files for
39007         benchmark programs.
39009 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39011         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39012         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
39013         computations on mantissa.  Use macros for rounding and
39014         division.
39015         (denorm): Likewise.
39016         (__dbl_mp): Likewise.
39017         (add_magnitudes): Likewise.
39018         (sub_magnitudes): Likewise.
39019         (__mul): Likewise.
39020         (__sqr): Likewise.
39021         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
39022         powers of two in terms of TWOPOW macro.
39023         (mp_no): Make type of mantissa as MANTISSA_T.
39024         [!RADIXI]: Define RADIXI.
39025         [!TWO52]: Define TWO52.
39026         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39028         * manual/nptl.texi (cindex): Modify threads to pthreads.
39030 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
39032         * sysdeps/x86_64/preconfigure: Regenerated.
39034 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
39036         [BZ #14155]
39037         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
39038         0x1p28 and above.
39039         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
39040         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
39041         0x1p28 and above.
39042         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
39043         * math/libm-test.inc (j0_test): Do not allow one spurious
39044         underflow exception.
39045         (y1_test): Likewise.
39047 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39049         * manual/Makefile (chapters): Add nptl.
39050         * manual/debug.texi (Debugging Support): Add link to Threads
39051         chapter.
39052         * manual/nptl.texi: New file.
39054         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
39056 2013-03-14  Petr Baudis  <pasky@ucw.cz>
39058         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
39059         for non-NULL pointer before the memory validity test. Pointed
39060         out by Holger Brunck <holger.brunck@keymile.com>.
39062 2013-03-13  Andreas Schwab  <schwab@suse.de>
39064         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
39065         instead of .os.
39067 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
39069         * timezone/zic.c: Update from tzcode 2013b.
39071 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
39073         * manual/install.texi (Configuring and compiling):
39074         Mention i686 and i586.
39075         * INSTALL: Regenerate.
39077 2013-03-12  Roland McGrath  <roland@hack.frob.com>
39079         * sysdeps/init_array/elf-init.c: New file.
39080         * csu/elf-init.c
39081         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
39082         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
39084         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
39085         __gmon_start__ as global, but as static with a .preinit_array pointer.
39086         * sysdeps/init_array/gmon-start.c: New file.  Use that.
39087         * sysdeps/init_array/crti.S: New file, empty except for comments.
39088         * sysdeps/init_array/crtn.S: Likewise.
39090 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
39092         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
39093         definining bcopy.
39094         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39095         Remove Prefer_SSE_for_memop.
39096         * sysdeps/x86_64/multiarch/init-arch.h: Remove
39097         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
39098         HAS_PREFER_SSE_FOR_MEMOP.
39099         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
39100         memset-x86-64.
39101         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39102         Remove bzero, memset ifunc support.
39103         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
39104         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
39105         * sysdeps/x86_64/multiarch/memset.S: Likewise.
39106         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39108 2013-03-11  Andreas Schwab  <schwab@suse.de>
39110         [BZ #15234]
39111         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
39112         by SHLIB_COMPAT.
39113         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
39114         (GLIBC_2.16): Remove pthread_atfork.
39116 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
39118         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
39119         (ptestcases.h): Likewise.
39121 2013-03-08  Roland McGrath  <roland@hack.frob.com>
39123         * Makeconfig ($(common-objpfx)config.status): Depend on
39124         sysdeps/*/preconfigure{,.in} too.
39126 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
39128         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
39129         (__free_hook): Use void * instead of __malloc_ptr_t.
39130         (__malloc_hook): Likewise.
39131         (__realloc_hook): Likewise.
39132         (__memalign_hook): Likewise.
39133         (__after_morecore_hook): Likewise.
39134         * malloc/arena.c (save_malloc_hook): Likewise.
39135         (save_free_hook): Likewise.
39136         * malloc/hooks.c (malloc_hook_ini): Likewise.
39137         (realloc_hook_ini): Likewise.
39138         (memalign_hook_ini): Likewise.
39139         * malloc/malloc.c (malloc_hook_ini): Likewise.
39140         (realloc_hook_ini): Likewise.
39141         (memalign_hook_ini): Likewise.
39142         (__free_hook): Likewise.
39143         (__malloc_hook): Likewise.
39144         (__realloc_hook): Likewise.
39145         (__memalign_hook): Likewise.
39146         (__libc_malloc): Likewise.
39147         (__libc_free): Likewise.
39148         (__libc_realloc): Likewise.
39149         (__libc_memalign): Likewise.
39150         (__libc_valloc): Likewise.
39151         (__libc_pvalloc): Likewise.
39152         (__libc_calloc): Likewise.
39153         (__posix_memalign): Likewise.
39154         * malloc/morecore.c (__sbrk): Likewise.
39155         (__default_morecore): Likewise.
39157         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
39159         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
39160         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
39161         __malloc_ptrdiff_t.
39163         * malloc/malloc.h (__malloc_size_t): Remove macro.
39164         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
39165         __malloc_size_t.
39166         (old_memalign_hook): Likewise.
39167         (old_realloc_hook): Likewise.
39168         (struct hdr): Likewise.
39169         (flood): Likewise.
39170         (mallochook): Likewise.
39171         (memalignhook): Likewise.
39172         (reallochook): Likewise.
39173         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
39174         (tr_old_realloc_hook): Likewise.
39175         (tr_old_memalign_hook): Likewise.
39176         (tr_mallochook): Likewise.
39177         (tr_reallochook): Likewise.
39178         (tr_memalignhook): Likewise.
39180 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39182         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
39183         default_ldbl_pack and using as default implementation.
39184         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
39185         implementation.
39186         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
39187         redundant definition.
39188         (ldbl_insert_mantissa): Likewise.
39189         (ldbl_canonicalize): Likewise.
39190         (ldbl_nearbyint): Likewise.
39191         (ldbl_pack): Rename to ldbl_pack_ppc.
39192         (ldbl_unpack): Rename to ldbl_unpack_ppc.
39193         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
39194         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
39196 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39198         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
39199         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
39200         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
39201         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
39202         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
39203         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
39204         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
39205         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
39207 2013-03-07  Andreas Jaeger  <aj@suse.de>
39209         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39210         bits/mman-linux.h.
39212 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
39214         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
39215         Include mpa.h and declare __MPEXP.
39216         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
39217         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39218         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39219         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
39220         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39221         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39222         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
39224         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
39225         (__slowpow): Use long double EXPL and LOGL functions to
39226         compute POW.
39227         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39228         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39229         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
39230         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39231         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39232         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
39234         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
39235         intermediate variable to calculate exponent.
39236         (__sqr): Likewise.
39237         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39238         Likewise.
39239         (__sqr): Likewise.
39241         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
39242         [!NO__SQR]: Define __sqr.
39243         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
39244         and NO__SQR.  Remove all code except __mul and __sqr.  Include
39245         sysdeps/ieee754/dbl-64/mpa.c.
39246         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39248         [BZ #12723]
39249         * posix/Makefile (tests): Add tst-pathconf.
39250         * posix/tst-pathconf.c: New test case.
39251         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
39252         _PC_PIPE_BUF.
39253         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
39255 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
39257         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
39259 2013-03-06  Andreas Jaeger  <aj@suse.de>
39261         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
39262         definition via __MAP_ANONYMOUS.
39264         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
39265         it's not part of Linux headers.
39267         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
39268         (MAP_HUGE_MASK): Define.
39270         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39271         Define.
39272         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39273         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39274         Define.
39275         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39276         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39277         Define.
39278         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39279         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
39280         Define.
39281         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39283         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
39284         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
39285         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
39286         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
39287         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
39288         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
39290         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39291         Handle f2fs.
39293         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39294         Handle f2fs and efivarfs.
39296         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
39297         f2fs.
39299         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
39300         (EFIVARFS_MAGIC): Add.
39301         (F2FS_LINK_MAX): Add.
39303 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39305         * stdio-common/vfprintf.c: Replace __builtin_expect with
39306         __glibc_unlikely.
39308 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
39310         [BZ #13550]
39311         * sysdeps/generic/bp-sym.h: Remove file.
39312         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
39313         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
39314         <bp-sym.h> and <bp-asm.h>.
39315         (__longjmp): Don't use BP_SYM.
39316         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
39317         and <bp-asm.h>.
39318         (memcpy): Don't use BP_SYM.
39319         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
39320         <bp-sym.h> and <bp-asm.h>.
39321         (memcpy): Don't use BP_SYM.
39322         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
39323         <bp-asm.h>.
39324         (memcpy): Don't use BP_SYM.
39325         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
39326         <bp-asm.h>.
39327         (memset): Don't use BP_SYM.
39328         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39329         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39330         (__bzero): Don't use BP_SYM.
39331         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39332         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39333         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
39334         <bp-sym.h> and <bp-asm.h>.
39335         (memcmp): Don't use BP_SYM.  Remove comment about bounded
39336         pointers.
39337         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
39338         <bp-sym.h> and <bp-asm.h>.
39339         (memcpy): Don't use BP_SYM.
39340         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
39341         <bp-sym.h> and <bp-asm.h>.
39342         (memset): Don't use BP_SYM.
39343         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39344         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39345         (__bzero): Don't use BP_SYM.
39346         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39347         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39348         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
39349         <bp-sym.h> and <bp-asm.h>.
39350         (strncmp): Don't use BP_SYM.  Remove comment about bounded
39351         pointers.
39352         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
39353         <bp-sym.h> and <bp-asm.h>.
39354         (memcpy): Don't use BP_SYM.
39355         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
39356         <bp-sym.h> and <bp-asm.h>.
39357         (memset): Don't use BP_SYM.
39358         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39359         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39360         (__bzero): Don't use BP_SYM.
39361         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39362         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39363         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
39364         <bp-sym.h> and <bp-asm.h>.
39365         (__memchr): Don't use BP_SYM.
39366         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
39367         <bp-sym.h> and <bp-asm.h>.
39368         (memcmp): Don't use BP_SYM.  Remove comment about bounded
39369         pointers.
39370         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
39371         <bp-sym.h> and <bp-asm.h>.
39372         (memcpy): Don't use BP_SYM.
39373         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
39374         <bp-sym.h> and <bp-asm.h>.
39375         (__mempcpy): Don't use BP_SYM.
39376         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
39377         <bp-sym.h> and <bp-asm.h>.
39378         (__memrchr): Don't use BP_SYM.
39379         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
39380         <bp-sym.h> and <bp-asm.h>.
39381         (memset): Don't use BP_SYM.
39382         (__bzero): Likewise.
39383         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
39384         <bp-sym.h> and <bp-asm.h>.
39385         (__rawmemchr): Don't use BP_SYM.
39386         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
39387         <bp-sym.h> and <bp-asm.h>.
39388         (__STRCMP): Don't use BP_SYM.
39389         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
39390         <bp-sym.h> and <bp-asm.h>.
39391         (strchr): Don't use BP_SYM.
39392         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
39393         <bp-sym.h> and <bp-asm.h>.
39394         (__strchrnul): Don't use BP_SYM.
39395         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
39396         <bp-sym.h> and <bp-asm.h>.
39397         (strlen): Don't use BP_SYM.
39398         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
39399         <bp-sym.h> and <bp-asm.h>.
39400         (strncmp): Don't use BP_SYM.  Remove comment about bounded
39401         pointers.
39402         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
39403         <bp-sym.h> and <bp-asm.h>.
39404         (__strnlen): Don't use BP_SYM.
39405         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
39406         <bp-sym.h> and <bp-asm.h>.
39407         (__GI__setjmp): Don't use BP_SYM.
39408         (_setjmp): Likewise.
39409         (__sigsetjmp): Likewise.
39410         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
39411         (L(start_addresses)): Don't use BP_SYM.
39412         (_start): Likewise.
39413         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
39414         <bp-asm.h>.
39415         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
39416         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
39417         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39418         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39419         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
39420         <bp-asm.h>.
39421         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
39422         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
39423         about bounded pointers.
39424         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39425         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39426         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
39427         <bp-asm.h>.
39428         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
39429         about bounded pointers.  Remove GKM FIXME comments.
39430         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39431         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
39432         <bp-asm.h>.
39433         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
39434         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
39435         Remove GKM FIXME comments.
39436         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39437         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39438         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
39439         <bp-asm.h>.
39440         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
39441         about bounded pointers.  Remove GKM FIXME comment.
39442         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
39443         and <bp-asm.h>.
39444         (strncmp): Don't use BP_SYM.  Remove comment about bounded
39445         pointers.
39446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
39447         <bp-sym.h> and <bp-asm.h>.
39448         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
39450         <bp-sym.h> and <bp-asm.h>.
39451         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
39452         comment.
39454 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39456         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
39457         call free(NULL).
39459 2013-03-05  David S. Miller  <davem@davemloft.net>
39461         * po/es.po: Update from translation team.
39463 2013-03-05  Andreas Jaeger  <aj@suse.de>
39465         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
39466         <bits/mman-linux.h>.
39467         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39468         is fine.
39469         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
39470         <bits/mman-linux.h> to end of file.
39471         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39472         is fine.
39473         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
39474         <bits/mman-linux.h> to end of file.
39475         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39476         is fine.
39477         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
39478         <bits/mman-linux.h> to end of file.
39480         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
39481         (MCL_CURRENT, MCL_FUTURE): Define here.
39483 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39485         [BZ #15232]
39486         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
39487         attribute_hidden.
39488         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39490 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39492         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
39493         fourth parameter needed for rt_sigprocmask syscall.
39494         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39495         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39496         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
39497         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39498         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39499         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
39501 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
39503         [BZ #13550]
39504         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
39505         comment about bounded pointers.
39506         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
39507         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
39509 2013-03-04  Andreas Jaeger  <aj@suse.de>
39511         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
39512         common definitions.
39514         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
39515         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
39516         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
39517         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39518         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
39519         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39521 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39523         [BZ #15055]
39524         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39525         __ieee754_sqrl instead of __sqrl.
39527 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
39529         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
39530         * sysdeps/powerpc/fpu_control.h: ... here.
39531         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
39532         * sysdeps/powerpc/bits/fenvinline.h: ... here.
39533         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
39534         * sysdeps/powerpc/bits/mathinline.h: ... here.
39536 2013-03-01  Roland McGrath  <roland@hack.frob.com>
39538         * elf/dl-hwcaps.c (_dl_important_hwcaps):
39539         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
39540         to just [NEED_DL_SYSINFO_DSO].
39541         * elf/dl-support.c: Likewise.
39542         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
39543         * elf/rtld.c (dl_main): Likewise.
39544         * elf/setup-vdso.h (setup_vdso): Likewise.
39545         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
39546         * sysdeps/unix/sysv/linux/dl-sysdep.c
39547         (_dl_discover_osversion): Likewise.
39549 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
39551         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
39552         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39554 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
39556         * NEWS: Mention libm performance improvements and non-x86 PI
39557         futex support.
39559         * csu/libc-start.c (__pthread_initialize_minimal): Change
39560         function arguments.
39561         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39563 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
39565         [BZ #13550]
39566         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
39567         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
39568         <bp-sym.h> and <bp-asm.h>.
39569         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39570         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
39571         and <bp-asm.h>.
39572         (memcpy): Don't use BP_SYM.
39573         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
39574         <bp-asm.h>.
39575         (__mpn_add_n): Don't use BP_SYM.
39576         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
39577         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
39578         and <bp-asm.h>.
39579         (__mpn_addmul_1): Don't use BP_SYM.
39580         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39581         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
39582         <bp-sym.h>.
39583         (_setjmp): Don't use BP_SYM.
39584         (__novmx_setjmp): Likewise.
39585         (__GI__setjmp): Likewise.
39586         (__vmx_setjmp): Likewise.
39587         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
39588         <bp-sym.h>.
39589         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
39590         (__bzero): Don't use BP_SYM.
39591         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39592         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39593         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
39594         <bp-sym.h> and <bp-asm.h>.
39595         (memcpy): Don't use BP_SYM.
39596         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
39597         <bp-sym.h> and <bp-asm.h>.
39598         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39599         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
39600         <bp-sym.h> and <bp-asm.h>.
39601         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39602         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
39603         <bp-asm.h>.
39604         (__mpn_lshift): Don't use BP_SYM.
39605         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39606         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
39607         <bp-asm.h>.
39608         (memset): Don't use BP_SYM.
39609         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39610         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39611         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
39612         <bp-asm.h>.
39613         (__mpn_mul_1): Don't use BP_SYM.
39614         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39615         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
39616         <bp-sym.h> and <bp-asm.h>.
39617         (memcmp): Don't use BP_SYM.
39618         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
39619         <bp-sym.h> and <bp-asm.h>.
39620         (memcpy): Don't use BP_SYM.
39621         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
39622         <bp-sym.h> and <bp-asm.h>.
39623         (memset): Don't use BP_SYM.
39624         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
39625         <bp-sym.h> and <bp-asm.h>.
39626         (strncmp): Don't use BP_SYM.
39627         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
39628         <bp-sym.h> and <bp-asm.h>.
39629         (memcpy): Don't use BP_SYM.
39630         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
39631         <bp-sym.h> and <bp-asm.h>.
39632         (memset): Don't use BP_SYM.
39633         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
39634         <bp-sym.h> and <bp-asm.h>.
39635         (__memchr): Don't use BP_SYM.
39636         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
39637         <bp-sym.h> and <bp-asm.h>.
39638         (memcmp): Don't use BP_SYM.
39639         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
39640         <bp-sym.h> and <bp-asm.h>.
39641         (memcpy): Don't use BP_SYM.
39642         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
39643         <bp-sym.h> and <bp-asm.h>.
39644         (__mempcpy): Don't use BP_SYM.
39645         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
39646         <bp-sym.h> and <bp-asm.h>.
39647         (__memrchr): Don't use BP_SYM.
39648         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
39649         <bp-sym.h> and <bp-asm.h>.
39650         (memset): Don't use BP_SYM.
39651         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
39652         <bp-sym.h> and <bp-asm.h>.
39653         (__rawmemchr): Don't use BP_SYM.
39654         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
39655         <bp-sym.h> and <bp-asm.h>.
39656         (__STRCMP): Don't use BP_SYM.
39657         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
39658         <bp-sym.h> and <bp-asm.h>.
39659         (strchr): Don't use BP_SYM.
39660         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
39661         <bp-sym.h> and <bp-asm.h>.
39662         (__strchrnul): Don't use BP_SYM.
39663         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
39664         <bp-sym.h> and <bp-asm.h>.
39665         (strlen): Don't use BP_SYM.
39666         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
39667         <bp-sym.h> and <bp-asm.h>.
39668         (strncmp): Don't use BP_SYM.
39669         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
39670         <bp-sym.h> and <bp-asm.h>.
39671         (__strnlen): Don't use BP_SYM.
39672         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
39673         <bp-asm.h>.
39674         (__mpn_rshift): Don't use BP_SYM.
39675         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39676         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
39677         <bp-sym.h> and <bp-asm.h>.
39678         (__sigsetjmp): Don't use BP_SYM.
39679         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
39680         (L(start_addresses)): Don't use BP_SYM.
39681         (_start): Likewise.
39682         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
39683         <bp-asm.h>.
39684         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
39685         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39686         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39687         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
39688         <bp-asm.h>.
39689         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
39690         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39691         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39692         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
39693         <bp-asm.h>.
39694         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
39695         comments.
39696         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39697         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
39698         <bp-asm.h>.
39699         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
39700         FIXME comments.
39701         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39702         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39703         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
39704         <bp-asm.h>.
39705         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
39706         comment.
39707         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
39708         and <bp-asm.h>.
39709         (strncmp): Don't use BP_SYM,
39710         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
39711         <bp-asm.h>.
39712         (__mpn_sub_n): Don't use BP_SYM.
39713         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39714         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
39715         and <bp-asm.h>.
39716         (__mpn_submul_1): Don't use BP_SYM.
39717         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
39719         <bp-sym.h> and <bp-asm.h>.
39720         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
39722         <bp-sym.h> and <bp-asm.h>.
39723         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
39724         comment.
39726 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39728         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
39729         Use ZK to minimize writes to Z.
39730         (sub_magnitudes): Simplify code a bit.
39731         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
39732         Use ZK to minimize writes to Z.
39733         (sub_magnitudes): Simplify code a bit.
39735 2013-02-27  Roland McGrath  <roland@hack.frob.com>
39737         * csu/gmon-start.c: Add special exception to license text.
39739 2013-02-27  Richard Henderson  <rth@redhat.com>
39741         * scripts/config.guess: Update from config.git.
39742         * scripts/config.sub: Likewise.
39744 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39746         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
39748         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
39750         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
39752         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
39754         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
39756 2013-02-26  Roland McGrath  <roland@hack.frob.com>
39758         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
39759         [$(build-shared = yes].
39761 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39763         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
39764         (__mul): Reduce iterations for calculating mantissa.
39766         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
39767         MPTWO.
39768         (__mpranred): Likewise.
39770         [BZ #15160]
39771         * malloc/memusagestat.c (main): Draw graphs for heap and stack
39772         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
39774 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
39776         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
39777         Define __attribute__.
39779 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39781         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
39782         unused.
39783         * posix/regex_internal.h (__attribute): Remove.
39784         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
39785         (re_string_context_at): Likewise.
39786         (bitset_not): Use __attribute__ and mark function as possibly
39787         unused.
39788         (bitset_merge): Likewise.
39789         (bitset_mask): Likewise.
39790         (re_string_char_size_at): Likewise.
39791         (re_string_wchar_at): Likewise.
39792         (re_string_elem_size_at): Likewise.
39794 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39796         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
39797         code.
39798         (cc32): Likewise.
39800         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
39801         (__acr): Likewise.
39802         (__cpy): Likewise.
39803         (norm): Likewise.
39804         (denorm): Likewise.
39805         (__dbl_mp): Likewise.
39806         (add_magnitudes): Likewise.
39807         (sub_magnitudes): Likewise.
39808         (__mul): Likewise.
39809         (__inv): Likewise.
39811         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
39812         style.
39814         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
39815         style.
39817         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
39818         code.
39820         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
39821         up changes with default code.
39822         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
39823         Likewise.
39825 2013-02-24  Allan McRae  <allan@archlinux.org>
39827         * manual/socket.texi (The Internet Namespace): Order menu items
39828         to match that in the file.
39830         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
39831         node listing of the info page menu.
39833 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
39835         [BZ #13550]
39836         * sysdeps/i386/bp-asm.h: Remove file.
39837         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39838         (PARMS): Do not use macros from bp-asm.h.
39839         (S1): Likewise.
39840         (S2): Likewise.
39841         (SIZE): Likewise.
39842         (__mpn_add_n): Do not use BP_SYM
39843         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
39844         "bp-asm.h".
39845         (PARMS): Do not use macros from bp-asm.h.
39846         (S1): Likewise.
39847         (SIZE): Likewise.
39848         (__mpn_addmul_1): Do not use BP_SYM
39849         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
39850         "bp-asm.h".
39851         (PARMS): Do not use macros from bp-asm.h.
39852         (SIGMSK): Likewise.
39853         (_setjmp): Likewise.  Do not use BP_SYM.
39854         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
39855         "bp-asm.h".
39856         (PARMS): Do not use macros from bp-asm.h.
39857         (SIGMSK): Likewise.
39858         (setjmp): Likewise.  Do not use BP_SYM.
39859         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
39860         "bp-asm.h".
39861         (PARMS): Do not use macros from bp-asm.h.
39862         (__frexp): Do not use BP_SYM.
39863         (frexp): Likewise.
39864         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
39865         "bp-asm.h".
39866         (PARMS): Do not use macros from bp-asm.h.
39867         (__frexpf): Do not use BP_SYM.
39868         (frexpf): Likewise.
39869         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
39870         "bp-asm.h".
39871         (PARMS): Do not use macros from bp-asm.h.
39872         (__frexpl): Do not use BP_SYM.
39873         (frexpl): Likewise.
39874         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
39875         "bp-asm.h".
39876         (PARMS): Do not use macros from bp-asm.h.
39877         (__remquo): Do not use BP_SYM.
39878         (remquo): Likewise.
39879         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
39880         "bp-asm.h".
39881         (PARMS): Do not use macros from bp-asm.h.
39882         (__remquof): Do not use BP_SYM.
39883         (remquof): Likewise.
39884         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
39885         "bp-asm.h".
39886         (PARMS): Do not use macros from bp-asm.h.
39887         (__remquol): Do not use BP_SYM.
39888         (remquol): Likewise.
39889         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
39890         "bp-asm.h".
39891         (PARMS): Do not use macros from bp-asm.h.
39892         (DEST): Likewise.
39893         (SRC): Likewise.
39894         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
39895         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
39896         "bp-asm.h".
39897         (PARMS): Do not use macros from bp-asm.h.
39898         (strlen): Do not use BP_SYM.
39899         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
39900         "bp-asm.h".
39901         (PARMS): Do not use macros from bp-asm.h.
39902         (S1): Likewise.
39903         (S2): Likewise.
39904         (SIZE): Likewise.
39905         (__mpn_add_n): Do not use BP_SYM.
39906         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
39907         "bp-asm.h".
39908         (PARMS): Do not use macros from bp-asm.h.
39909         (S1): Likewise.
39910         (SIZE): Likewise.
39911         (__mpn_addmul_1): Do not use BP_SYM.
39912         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
39913         weak_alias.
39914         (bzero): Likewise.
39915         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
39916         "bp-asm.h".
39917         (PARMS): Do not use macros from bp-asm.h.
39918         (S): Likewise.
39919         (SIZE): Likewise.
39920         (__mpn_lshift): Do not use BP_SYM.
39921         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
39922         "bp-asm.h".
39923         (PARMS): Do not use macros from bp-asm.h.
39924         (DEST): Likewise.
39925         (SRC): Likewise.
39926         (LEN): Likewise.
39927         (memcpy): Likewise.  Do not use BP_SYM.
39928         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
39929         libc_hidden_def and weak_alias.
39930         (mempcpy): Do not use BP_SYM in weak_alias.
39931         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
39932         "bp-asm.h".
39933         (PARMS): Do not use macros from bp-asm.h.
39934         (DEST): Likewise.
39935         (LEN): Likewise.
39936         [!BZERO_P] (CHR): Likewise.
39937         (memset): Likewise.  Do not use BP_SYM.
39938         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
39939         "bp-asm.h".
39940         (PARMS): Do not use macros from bp-asm.h.
39941         (S1): Likewise.
39942         (SIZE): Likewise.
39943         (__mpn_mul_1): Do not use BP_SYM.
39944         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
39945         "bp-asm.h".
39946         (PARMS): Do not use macros from bp-asm.h.
39947         (S): Likewise.
39948         (SIZE): Likewise.
39949         (__mpn_rshift): Do not use BP_SYM.
39950         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
39951         "bp-asm.h".
39952         (PARMS): Do not use macros from bp-asm.h.
39953         (STR): Likewise.
39954         (CHR): Likewise.
39955         (strchr): Likewise.  Do not use BP_SYM.
39956         (index): Do not use BP_SYM in weak_alias.
39957         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
39958         "bp-asm.h".
39959         (PARMS): Do not use macros from bp-asm.h.
39960         (DEST): Likewise.
39961         (SRC): Likewise.
39962         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
39963         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
39964         "bp-asm.h".
39965         (PARMS): Do not use macros from bp-asm.h.
39966         (strlen): Do not use BP_SYM.
39967         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
39968         "bp-asm.h".
39969         (PARMS): Do not use macros from bp-asm.h.
39970         (S1): Likewise.
39971         (S2): Likewise.
39972         (SIZE): Likewise.
39973         (__mpn_sub_n): Do not use BP_SYM.
39974         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
39975         "bp-asm.h".
39976         (PARMS): Do not use macros from bp-asm.h.
39977         (S1): Likewise.
39978         (SIZE): Likewise.
39979         (__mpn_submul_1): Do not use BP_SYM.
39980         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
39981         "bp-asm.h".
39982         (PARMS): Do not use macros from bp-asm.h.
39983         (S1): Likewise.
39984         (S2): Likewise.
39985         (SIZE): Likewise.
39986         (__mpn_add_n): Do not use BP_SYM.
39987         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
39988         weak_alias.
39989         (bzero): Likewise.
39990         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
39991         "bp-asm.h".
39992         (PARMS): Do not use macros from bp-asm.h.
39993         (BLK2): Likewise.
39994         (LEN): Likewise.
39995         (memcmp): Do not use BP_SYM.
39996         (bcmp): Do not use BP_SYM in weak_alias.
39997         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
39998         "bp-asm.h".
39999         (PARMS): Do not use macros from bp-asm.h.
40000         (DEST): Likewise.
40001         (SRC): Likewise.
40002         (LEN): Likewise.
40003         (memcpy): Likewise.  Do not use BP_SYM.
40004         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
40005         "bp-asm.h".
40006         (PARMS): Do not use macros from bp-asm.h.
40007         (DEST): Likewise.
40008         (SRC): Likewise.
40009         (LEN): Likewise.
40010         (memmove): Likewise.  Do not use BP_SYM.
40011         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
40012         "bp-asm.h".
40013         (PARMS): Do not use macros from bp-asm.h.
40014         (DEST): Likewise.
40015         (SRC): Likewise.
40016         (LEN): Likewise.
40017         (__mempcpy): Likewise.  Do not use BP_SYM.
40018         (mempcpy): Do not use BP_SYM in weak_alias.
40019         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
40020         "bp-asm.h".
40021         (PARMS): Do not use macros from bp-asm.h.
40022         (DEST): Likewise.
40023         (LEN): Likewise.
40024         [!BZERO_P] (CHR): Likewise.
40025         (memset): Likewise.  Do not use BP_SYM.
40026         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
40027         "bp-asm.h".
40028         (PARMS): Do not use macros from bp-asm.h.
40029         (STR2): Likewise.
40030         (strcmp): Do not use BP_SYM.
40031         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
40032         "bp-asm.h".
40033         (PARMS): Do not use macros from bp-asm.h.
40034         (STR): Likewise.
40035         (DELIM): Likewise.
40036         [USE_AS_STRTOK_R] (SAVE): Likewise.
40037         (FUNCTION): Likewise.  Do not use BP_SYM.
40038         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
40039         aliases.
40040         (strtok_r): Likewise.
40041         (__GI___strtok_r): Likewise.
40042         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40043         (PARMS): Do not use macros from bp-asm.h.
40044         (S): Likewise.
40045         (SIZE): Likewise.
40046         (__mpn_lshift): Do not use BP_SYM.
40047         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40048         (PARMS): Do not use macros from bp-asm.h.
40049         (STR): Likewise.
40050         (CHR): Likewise.
40051         (__memchr): Do not use BP_SYM.
40052         (memchr): Do not use BP_SYM in weak_alias.
40053         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40054         (PARMS): Do not use macros from bp-asm.h.
40055         (BLK2): Likewise.
40056         (LEN): Likewise.
40057         (memcmp): Do not use BP_SYM.
40058         (bcmp): Do not use BP_SYM in weak_alias.
40059         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
40060         (PARMS): Do not use macros from bp-asm.h.
40061         (S1): Likewise.
40062         (SIZE): Likewise.
40063         (__mpn_mul_1): Do not use BP_SYM.
40064         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
40065         "bp-asm.h".
40066         (PARMS): Do not use macros from bp-asm.h.
40067         (STR): Likewise.
40068         (CHR): Likewise.
40069         (__rawmemchr): Do not use BP_SYM.
40070         (rawmemchr): Do not use BP_SYM in weak_alias.
40071         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40072         (PARMS): Do not use macros from bp-asm.h.
40073         (S): Likewise.
40074         (SIZE): Likewise.
40075         (__mpn_rshift): Do not use BP_SYM.
40076         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40077         (PARMS): Do not use macros from bp-asm.h.
40078         (SIGMSK): Likewise.
40079         (__sigsetjmp): Likewise.  Do not use BP_SYM.
40080         * sysdeps/i386/start.S: Do not include "bp-sym.h".
40081         (_start): Do not use BP_SYM.
40082         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
40083         (PARMS): Do not use macros from bp-asm.h.
40084         (DEST): Likewise.
40085         (SRC): Likewise.
40086         (__stpcpy): Likewise.  Do not use BP_SYM.
40087         (stpcpy): Do not use BP_SYM in weak_alias.
40088         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
40089         "bp-asm.h".
40090         (PARMS): Do not use macros from bp-asm.h.
40091         (DEST): Likewise.
40092         (SRC): Likewise.
40093         (LEN): Likewise.
40094         (__stpncpy): Likewise.  Do not use BP_SYM.
40095         (stpncpy): Do not use BP_SYM in weak_alias.
40096         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40097         (PARMS): Do not use macros from bp-asm.h.
40098         (STR): Likewise.
40099         (CHR): Likewise.
40100         (strchr): Likewise.  Do not use BP_SYM.
40101         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
40102         "bp-asm.h".
40103         (PARMS): Do not use macros from bp-asm.h.
40104         (STR): Likewise.
40105         (CHR): Likewise.
40106         (__strchrnul): Likewise.  Do not use BP_SYM.
40107         (strchrnul): Do not use BP_SYM in weak_alias.
40108         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
40109         "bp-asm.h".
40110         (PARMS): Do not use macros from bp-asm.h.
40111         (STOP): Likewise.
40112         (strcspn): Do not use BP_SYM.
40113         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
40114         "bp-asm.h".
40115         (PARMS): Do not use macros from bp-asm.h.
40116         (STR): Likewise.
40117         (STOP): Likewise.
40118         (strpbrk): Likewise.  Do not use BP_SYM.
40119         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
40120         "bp-asm.h".
40121         (PARMS): Do not use macros from bp-asm.h.
40122         (STR): Likewise.
40123         (CHR): Likewise.
40124         (strrchr): Likewise.  Do not use BP_SYM.
40125         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
40126         (PARMS): Do not use macros from bp-asm.h.
40127         (SKIP): Likewise.
40128         (strspn): Do not use BP_SYM.
40129         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
40130         (PARMS): Do not use macros from bp-asm.h.
40131         (STR): Likewise.
40132         (DELIM): Likewise.
40133         (SAVE): Likewise.
40134         (FUNCTION): Likewise.  Do not use BP_SYM.
40135         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
40136         aliases.
40137         (strtok_r): Likewise.
40138         (__GI___strtok_r): Likewise.
40139         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40140         (PARMS): Do not use macros from bp-asm.h.
40141         (S1): Likewise.
40142         (S2): Likewise.
40143         (SIZE): Likewise.
40144         (__mpn_sub_n): Do not use BP_SYM.
40145         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
40146         "bp-asm.h".
40147         (PARMS): Do not use macros from bp-asm.h.
40148         (S1): Likewise.
40149         (SIZE): Likewise.
40150         (__mpn_submul_1): Do not use BP_SYM.
40151         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
40152         <bp-sym.h>.
40153         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
40154         and <bp-asm.h>.
40155         (PARMS): Do not use macros from bp-asm.h.
40156         (FLAGS): Likewise.
40157         (PTID): Likewise.
40158         (TLS): Likewise.
40159         (CTID): Likewise.
40160         (__clone): Do not use BP_SYM.
40161         (clone): Do not use BP_SYM in weak_alias.
40162         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
40163         and <bp-asm.h>.
40164         (PARMS): Do not use macros from bp-asm.h.
40165         (LEN): Likewise.
40166         (__mmap64): Do not use BP_SYM.
40167         (mmap64): Do not use BP_SYM in weak_alias.
40168         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40169         <bp-sym.h> and <bp-asm.h>.
40170         (PARMS): Do not use macros from bp-asm.h.
40171         (__posix_fadvise64_l64): Do not use BP_SYM.
40172         * sysdeps/unix/sysv/linux/i386/semtimedop.S
40173         (PARMS): Do not use macros from bp-asm.h.
40174         (NSOPS): Likewise.
40175         (semtimedop): Do not use BP_SYM.
40176         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
40177         and <bp-asm.h>.
40179 2013-02-21  Allan McRae  <allan@archlinux.org>
40181         * manual/message.texi (Charset conversion in gettext):
40182         Move @end statement to beginning of line.
40184 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40186         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
40187         static.
40188         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40189         Likewise.
40191         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
40192         (denorm): Likewise.
40193         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
40194         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
40196 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40198         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
40199         tail-call to the resolved function if pltexit isn't needed.
40201 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40203         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
40204         or Y being zero as being unlikely.
40205         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
40206         Likewise.
40208 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
40210         * manual/nss.texi (System Databases and Name Service Switch):
40211         Remove frobnicate @pxref.
40213 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
40215         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40216         __attribute__ ((unused)) to __attribute__ ((__unused__)).
40218 2013-02-20  Petr Machata  <pmachata@redhat.com>
40220         * elf/elf.h (R_ARM_TARGET1): New macro.
40221         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
40222         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
40223         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
40224         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
40225         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
40226         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
40227         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
40228         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
40229         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
40230         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
40231         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
40232         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
40233         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
40234         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
40235         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
40236         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
40237         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
40238         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
40239         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
40240         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
40241         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
40242         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
40243         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
40244         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
40245         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
40246         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
40247         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
40248         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
40249         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
40250         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
40251         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
40252         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
40253         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
40254         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
40255         (R_ARM_THM_GOT_BREL12): Likewise.
40256         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
40257         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
40258         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
40259         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
40260         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
40261         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
40262         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
40263         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
40264         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
40266 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
40268         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40269         __attribute_used__ to __attribute__ ((unused)).
40271 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40273         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
40274         powerpc mpa.c.
40275         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
40276         comment formatting.
40277         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
40279 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
40281         [BZ #13550]
40282         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
40283         Remove macro.
40284         (ENTER): Remove both macro definitions.
40285         (LEAVE): Likewise.
40286         (CHECK_BOUNDS_LOW): Likewise.
40287         (CHECK_BOUNDS_HIGH): Likewise.
40288         (CHECK_BOUNDS_BOTH): Likewise.
40289         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
40290         (RETURN_BOUNDED_POINTER): Likewise.
40291         (RETURN_NULL_BOUNDED_POINTER): Likewise.
40292         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
40293         (POP_ERRNO_LOCATION_RETURN): Likewise.
40294         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
40295         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40296         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
40297         macros.
40298         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40299         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
40300         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
40301         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
40302         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
40303         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
40304         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
40305         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
40306         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
40307         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
40308         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
40309         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
40310         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40311         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
40312         removed macros.
40313         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40314         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
40315         macros.
40316         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40317         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
40318         * sysdeps/i386/i586/memset.S (memset): Likewise.
40319         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
40320         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40321         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
40322         macros.
40323         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40324         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
40325         Change uses of L(2) to L(out).
40326         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
40327         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
40328         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
40329         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40330         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
40331         removed macros.
40332         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40333         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
40334         macros.
40335         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40336         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
40337         (RETURN): Do not use macro LEAVE.
40338         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
40339         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
40340         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
40341         * sysdeps/i386/i686/memset.S (memset): Likewise.
40342         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
40343         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
40344         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40345         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
40346         Likewise.
40347         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40348         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
40349         L(1_2) and L(1_3) into L(1).
40350         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40351         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
40352         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40353         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
40354         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40355         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
40356         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
40357         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40358         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
40359         macros.
40360         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
40361         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40362         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
40363         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
40364         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
40365         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40366         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
40367         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
40368         * sysdeps/i386/strcspn.S (strcspn): Likewise.
40369         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
40370         * sysdeps/i386/strrchr.S (strrchr): Likewise.
40371         * sysdeps/i386/strspn.S (strspn): Likewise.
40372         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
40373         conditional code.
40374         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40375         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
40376         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40377         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
40378         L(1_3) into L(1_1).
40379         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
40380         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40381         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
40382         macros.
40383         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40385 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
40387         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
40388         macro.
40390 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40392         * math/atest-exp.c (exp_mpn): Remove ROUND.
40393         * math/atest-exp2.c (exp_mpn): Likewise.
40394         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
40396         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
40397         * stdlib/tst-tls-atexit-lib.c: Likewise.
40398         * stdlib/tst-tls-atexit.c: Likewise.
40400 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
40402         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
40403         and __attribute_alloc_size__.
40405 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
40407         * include/programs/xmalloc.h: Change __attribute_alloc_size to
40408         __attribute_alloc_size__.
40409         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
40410         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
40412 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
40414         * include/programs/xmalloc.h: New file.
40415         * catgets/gencat.c: Include it.
40416         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
40417         * elf/pldd.c: Likewise.
40418         * iconv/iconv_charmap.c: Likewise.
40419         * iconv/iconvconfig.c: Likewise.
40420         * iconv/strtab.c: Likewise.
40421         * locale/programs/locale.c: Likewise.
40422         * locale/programs/localedef.h: Likewise.
40423         * locale/programs/simple-hash.c: Likewise.
40424         * nscd/nscd.h: Likewise.
40425         * nss/makedb.c: Likewise.
40426         * sysdeps/generic/ldconfig.h: Likewise.
40428 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40430         * Versions.def: Add GLIBC_2.18.
40431         * include/link.h (struct link_map): New member l_tls_dtor_count.
40432         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
40433         (__call_tls_dtors): Likewise.
40434         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
40435         __cxa_thread_atexit_impl.
40436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40437         Likewise.
40438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40439         Likewise.
40440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40441         Likewise.
40442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40443         Likewise.
40444         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40445         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
40446         Likewise.
40447         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
40448         Likewise.
40449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40450         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40451         Likewise.
40452         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
40453         (tests): Add test case tst-tls-atexit.
40454         (modules-names): Add shared library for tst-tls-atexit.
40455         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
40456         (GLIBC_PRIVATE): Add __call_tls_dtors.
40457         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
40458         for libstdc++.
40459         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
40460         * stdlib/tst-tls-atexit.c: New test case.
40461         * stdlib/tst-tls-atexit-lib.c: New test case.
40463         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
40465         * elf/Versions (ld): Add _dl_find_dso_for_object.
40466         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
40467         * elf/dl-open.c (_dl_find_dso_for_object): New function.
40468         (dl_open_worker): Use _dl_find_dso_for_object.
40469         * elf/dl-sym.c (do_sym): Likewise.
40470         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
40472 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40474         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
40475         Syntactic changes only.
40476         (_dl_runtime_profile): Do a tail-call to the resolved function.
40478 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
40480         [BZ #13550]
40481         * sysdeps/x86_64/bp-asm.h: Remove file.
40482         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
40483         <bp-sym.h> and <bp-asm.h>.
40484         (__clone): Do not use BP_SYM.
40485         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
40486         <bp-sym.h> and <bp-asm.h>.
40487         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40488         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
40489         "bp-asm.h".
40490         (_setjmp): Do not use BP_SYM.
40491         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
40492         "bp-asm.h".
40493         (setjmp): Do not use BP_SYM.
40494         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
40495         libc_hidden_def.
40496         (mempcpy): Do not use BP_SYM in weak_alias.
40497         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
40498         "bp-asm.h".
40499         (strchr): Do not use BP_SYM.
40500         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
40501         "bp-asm.h".
40502         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
40503         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
40504         (_start): Do not use BP_SYM.
40505         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
40506         "bp-asm.h".
40507         (strcat): Do not use BP_SYM.
40508         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
40509         "bp-asm.h".
40510         (STRCMP): Do not use BP_SYM.
40511         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
40512         "bp-asm.h".
40513         (STRCPY): Do not use BP_SYM.
40514         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
40515         "bp-asm.h".
40516         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
40517         "bp-asm.h".
40518         (FUNCTION): Do not use BP_SYM.
40519         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
40520         weak_alias.
40521         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
40523 2013-02-17  Andreas Jaeger  <aj@suse.de>
40525         * time/Versions: Sort entries.
40526         * string/Versions: Likewise.
40527         * resolv/Versions: Likewise.
40528         * posix/Versions: Likewise.
40529         * iconv/Versions: Likewise.
40530         * elf/Versions: Likewise.
40531         * wcsmbs/Versions: Likewise.
40533 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40535         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
40536         loop termination condition.
40538         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
40539         variable to calculate EZ.
40540         (__sqr): Likewise.
40542         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
40543         the lower precision input.
40545 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
40547         [BZ #13550]
40548         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
40549         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
40550         (run-via-rtld-prefix): Do not handle %-bp tests.
40551         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
40552         (all-object-suffixes): Remove .ob.
40553         (bppfx): Remove variable.
40554         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
40555         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
40556         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
40557         [$(build-bounded) = yes] (libtype.ob): Likewise.
40558         * Makerules (elide-routines.ob): Remove variable.
40559         (do-tests-clean): Do not handle *-bp.out.
40560         (common-mostlyclean): Do not handle *-bp and *-bp.out.
40561         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
40562         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
40563         (tests): Do not include $(tests-bp.out).
40564         (xtests): Do not include $(xtests-bp.out).
40565         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
40566         [$(build-bounded) = yes] ($(addprefix
40567         $(objpfx),$(binaries-bounded))): Remove rule.
40568         ($(objpfx)%-bp.out): Remove rule.
40569         * config.make.in (build-bounded): Remove variable.
40570         * crypt/Makefile [$(build-bounded) = yes]
40571         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
40572         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
40573         append to variable.
40574         [$(build-bounded) = yes] (install-lib): Likewise.
40575         [$(build-bounded) = yes] (generated): Likewise.
40576         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
40577         Remove rule.
40578         * intl/Makefile [$(build-bounded) = yes]
40579         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
40580         * math/Makefile [$(build-bounded) = yes]
40581         ($(tests:%=$(objpfx)%-bp): Likewise.
40582         * misc/Makefile [$(build-bounded) = yes]
40583         ($(objpfx)tst-tsearch-bp): Likewise.
40584         * nptl/Makeconfig (bounded-thread-library): Remove variable.
40585         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
40586         Remove dependency.
40587         * string/Makefile (o-objects.ob): Remove variable.
40588         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
40589         (CFLAGS-.ob): Remove variable.
40590         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
40591         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
40592         both definitions of variable.
40593         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
40594         (ASFLAGS-.ob): Remove variable.
40596 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
40598         [BZ #13550]
40599         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
40600         Remove __BOUNDED_POINTERS__ from condition.
40601         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
40602         * string/bits/string2.h [!__NO_STRING_INLINES &&
40603         !__BOUNDED_POINTERS__]: Likewise.
40604         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
40605         Likewise.
40606         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
40607         Remove conditional code.
40608         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
40609         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
40610         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
40611         condition.
40613         [BZ #13550]
40614         * csu/libc-start.c: Do not include <bp-sym.h>.
40615         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
40616         * elf/dl-open.c: Do not include <bp-sym.h>.
40617         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
40618         * math/fegetenv.c: Do not include <bp-sym.h>.
40619         (fegetenv): Do not use BP_SYM in versioned symbols.
40620         * nptl/sysdeps/pthread/bits/libc-lockP.h
40621         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
40622         <bp-sym.h>.
40623         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40624         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
40625         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40626         (__pthread_mutex_destroy): Likewise.
40627         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40628         (__pthread_mutex_lock): Likewise.
40629         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40630         (__pthread_mutex_trylock): Likewise.
40631         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40632         (__pthread_mutex_unlock): Likewise.
40633         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40634         (__pthread_mutexattr_init): Likewise.
40635         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40636         (__pthread_mutexattr_destroy): Likewise.
40637         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40638         (__pthread_mutexattr_settype): Likewise.
40639         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40640         (__pthread_rwlock_init): Likewise.
40641         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40642         (__pthread_rwlock_destroy): Likewise.
40643         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40644         (__pthread_rwlock_rdlock): Likewise.
40645         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40646         (__pthread_rwlock_tryrdlock): Likewise.
40647         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40648         (__pthread_rwlock_wrlock): Likewise.
40649         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40650         (__pthread_rwlock_trywrlock): Likewise.
40651         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40652         (__pthread_rwlock_unlock): Likewise.
40653         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40654         (__pthread_key_create): Likewise.
40655         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40656         (__pthread_setspecific): Likewise.
40657         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40658         (__pthread_getspecific): Likewise.
40659         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
40660         Likewise.
40661         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40662         (_pthread_cleanup_push_defer): Likewise.
40663         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40664         (_pthread_cleanup_pop_restore): Likewise.
40665         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40666         (pthread_setcancelstate): Likewise.
40667         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
40668         <bp-sym.h>.
40669         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
40670         (memchr): Do not use BP_SYM in weak_alias.
40671         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
40672         (fegetenv): Do not use BP_SYM in versioned symbols.
40673         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
40674         (fesetenv): Do not use BP_SYM in versioned symbols.
40675         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40676         (feupdateenv): Do not use BP_SYM in versioned symbols.
40677         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40678         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40679         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
40680         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
40681         (open64): Do not use BP_SYM in weak_alias.
40682         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
40683         (fegetenv): Do not use BP_SYM in versioned symbols.
40684         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
40685         (fesetenv): Do not use BP_SYM in versioned symbols.
40686         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40687         (feupdateenv): Do not use BP_SYM in versioned symbols.
40688         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
40689         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
40690         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
40691         (feraiseexcept): Do not use BP_SYM in versioned symbols.
40692         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40693         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40694         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
40695         <bp-sym.h>.
40696         (__libc_start_main): Do not use BP_SYM.
40698 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40700         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
40701         redundant return line.
40702         (norm): Likewise.
40703         (denorm): Likewise.
40704         (dbl_mp): Likewise.
40705         (sub_magnitudes): Likewise.
40706         (__add): Likewise.
40707         (__sub): Likewise.
40708         (__mul): Likewise.
40709         (__inv): Likewise.
40710         (__dvd): Likewise.
40711         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
40712         (norm): Likewise.
40713         (denorm): Likewise.
40714         (dbl_mp): Likewise.
40715         (sub_magnitudes): Likewise.
40716         (__add): Likewise.
40717         (__sub): Likewise.
40718         (__mul): Likewise.
40719         (__inv): Likewise.
40720         (__dvd): Likewise.
40722         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
40723         instead of __mul.
40724         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40725         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
40726         (cc32): Likewise.
40728         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
40729         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
40730         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
40731         of __mul for squares.
40732         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
40733         function
40734         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
40735         Likewise.
40736         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
40737         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40739 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
40741         [BZ #13550]
40742         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
40743         code.
40744         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
40745         prototype or function definition.  Rename ubp_* variables and
40746         parameters.  Remove argv definitions conditional on
40747         [__BOUNDED_POINTERS__].
40748         * debug/backtrace.c (__backtrace): Do not use __unbounded.
40749         * elf/dl-runtime.c (_dl_fixup): Likewise.
40750         * include/set-hooks.h (RUN_HOOK): Likewise.
40751         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
40752         definition.
40753         * string/strcpy.c (strcpy): Do not use __unbounded.
40754         * sysdeps/generic/frame.h (struct layout): Likewise.
40755         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
40756         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
40757         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
40758         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
40759         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
40760         (__backtrace): Likewise.
40761         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
40762         use __ptrvalue.
40763         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
40764         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40765         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
40766         Likewise.
40767         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
40768         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
40769         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40770         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40771         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
40772         Do not use __unbounded.
40773         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
40774         Rename __unboundedrlimits parameter to rlimits in prototype.
40775         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
40776         Do not use __unbounded.
40777         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
40778         not use __ptrvalue.
40779         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40780         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
40781         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40782         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
40783         __ptrvalue or __unbounded.
40784         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
40785         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
40786         use __unbounded.
40787         (__new_msgctl): Do not use __ptrvalue.
40788         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
40789         __unbounded.
40790         (__libc_msgrcv): Do not use __ptrvalue.
40791         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
40792         startup_info): Do not use __unbounded.
40793         (__libc_start_main): Likewise.  Rename ubp_* variables and
40794         parameters.  Remove argv definitions conditional on
40795         [__BOUNDED_POINTERS__].
40796         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
40797         __ptrvalue.
40798         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
40799         use __unbounded.
40800         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
40801         or __ptrvalue.
40802         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
40803         use __unbounded.
40804         (__new_shmctl): Do not use __ptrvalue.
40805         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
40806         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
40807         Likewise.
40808         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
40809         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
40810         (__libc_sigaction): Likewise.
40811         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
40812         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
40813         Likewise.
40814         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40816 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
40818         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
40820         * string/mempcpy.c: Implement by calling memcpy.
40822 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40824         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
40826         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
40827         evaluation.
40829         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
40830         values in the mantissa.
40832         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
40833         minimize writes to Z.
40834         (sub_magnitudes): Simplify code a bit.
40836 2013-02-12  Roland McGrath  <roland@hack.frob.com>
40838         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
40839         from the message.  The linker prefixes all warnings with that already.
40841 2013-02-12  Andreas Schwab  <schwab@suse.de>
40843         [BZ #15078]
40844         * posix/regexec.c (extend_buffers): Add parameter min_len.
40845         (check_matching): Pass minimum needed length.
40846         (clean_state_log_if_needed): Likewise.
40847         (get_subexp): Likewise.
40848         * posix/Makefile (tests): Add bug-regex34.
40849         (bug-regex34-ENV): Define.
40850         * posix/bug-regex34.c: New file.
40852         [BZ #11561]
40853         * posix/regcomp.c (parse_bracket_exp): When looking up collating
40854         elements compare against the byte sequence of it, not its name.
40855         * posix/Makefile (tests): Add bug-regex35.
40856         (bug-regex35-ENV): Define.
40857         * posix/bug-regex35.c: New file.
40859 2013-02-11  Tom de Vries  <tom@codesourcery.com>
40861         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
40862         comment.
40863         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
40864         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
40865         (CHECK_EOL): Add undef.
40867 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
40869         * bits/stdlib-bsearch.h: New file.
40870         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
40871         * stdlib/stdlib.h: Likewise.
40873 2013-02-11  Roland McGrath  <roland@hack.frob.com>
40875         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
40876         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
40877         declaration.
40878         * manual/search.texi (Array Search Function): Add missing const in
40879         lfind prototype.
40880         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
40881         declaration to use rlim_t.
40882         (Basic Scheduling Functions): Remove erroneous const from
40883         sched_getparam prototype.  Remove erroneous * from
40884         sched_get_priority_max and sched_get_priority_min prototypes.
40885         (Resource Usage): Fix summary @comment on vtimes to refer to
40886         sys/vtimes.h rather than vtimes.h.
40887         Add missing *s in vtimes prototype.
40888         (Limits on Resources): Fix ulimit prototype to return long int.
40889         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
40890         prototypes to use long int rather than double.
40891         (BSD Random): Fix initstate and setstate to use char *, not void *.
40892         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
40893         prototype to make second argument 'struct aiocb64 *const[]'.
40894         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
40895         (Status of AIO Operations): Remove erroneous const in aio_return and
40896         aio_return64 prototypes.
40897         (Synchronizing I/O): Fix sync prototype to return void.
40898         * manual/startup.texi (Suboptions): Remove an erroneous const in
40899         getsubopt prototype.
40900         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
40901         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
40902         use size_t rather than int.
40903         (Scanning All Users): Likewise for getpwent_r.
40904         (Setting Groups): Add missing const to setgroups prototype.
40905         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
40906         * manual/socket.texi (Host Names): Fix gethostbyaddr and
40907         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
40908         'const void *' rather than 'const char *'.
40909         (Host Address Functions): Likewise for inet_ntop.
40910         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
40911         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
40912         ssize_t for return value.
40913         (Sending Data): Likewise for send, sendto, sendmsg.
40914         (Socket Option Functions): Add a missing const in setsockopt prototype.
40915         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
40916         use wchar_t for the argument.
40917         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
40918         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
40919         take no arguments.
40920         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
40921         double/float/long double for second argument.
40922         Fix return types of significand, significandf, significandl.
40923         * manual/filesys.texi (Setting Permissions): Use mode_t for second
40924         argument in fchmod prototype.
40925         (File Owner): Use uid_t and gid_t in fchown prototype.
40926         (File Times): Add const to utimes, futimes, and lutimes prototypes.
40927         (Making Special Files): Use mode_t and dev_t in mknod prototype.
40928         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
40929         use 'const struct dirent **' as argument types to CMP function pointer
40930         argument.
40931         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
40932         (File Times): Fix summary magic @comment for struct utimbuf and utime
40933         to refer to utime.h, not time.h.
40934         * manual/string.texi (Argz Functions): Add missing const in
40935         argz_extract and argz_next prototypes.
40936         (Finding Tokens in a String): Likewise for basename.
40937         (String/Array Comparison): Fix typo in wcscasecmp prototype.
40938         (Copying and Concatenation): Fix typo in wmemmove prototype.
40939         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
40940         (Signal Stack): Remove erroneous const in sigstack prototype.
40941         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
40942         prototype.
40943         (Simple Calendar Time): Likewise for stime.
40944         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
40945         prototype.
40946         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
40947         say sys/sysctl.h instead.
40948         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
40949         and vsyslog prototypes.
40951 2013-02-11  Tom de Vries  <tom@codesourcery.com>
40953         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
40954         Remove.
40956 2013-02-11  Roland McGrath  <roland@hack.frob.com>
40958         * misc/sys/mman.h: Fix typo in mremap comment.
40960 2013-02-08  Roland McGrath  <roland@hack.frob.com>
40962         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
40963         the '\0' terminator.
40965 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
40967         [BZ #13550]
40968         * debug/segfault.c: Don't include <bp-checks.h>.
40969         * sysdeps/generic/bp-checks.h: Remove file.
40970         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
40971         (__GETDENTS): Don't use CHECK_N.
40972         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
40973         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40974         (__getgroups): Don't use CHECK_N.
40975         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
40976         (setgroups): Don't use CHECK_N.
40977         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
40978         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
40979         (__libc_msgrcv): Don't use CHECK_N.
40980         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
40981         (__libc_msgsnd): Don't use CHECK_N.
40982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
40983         <bp-checks.h>.
40984         (__libc_pread): Don't use CHECK_N.
40985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
40986         include <bp-checks.h>.
40987         (__libc_pread64): Don't use CHECK_N.
40988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
40989         include <bp-checks.h>.
40990         (__libc_pwrite): Don't use CHECK_N.
40991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
40992         include <bp-checks.h>.
40993         (__libc_pwrite64): Don't use CHECK_N.
40994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
40995         <bp-checks.h>.
40996         (__libc_pread): Don't use CHECK_N.
40997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
40998         include <bp-checks.h>.
40999         (__libc_pread64): Don't use CHECK_N.
41000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
41001         include <bp-checks.h>.
41002         (__libc_pwrite): Don't use CHECK_N.
41003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
41004         include <bp-checks.h>.
41005         (__libc_pwrite64): Don't use CHECK_N.
41006         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
41007         (do_pread): Don't use CHECK_N.
41008         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
41009         (do_pread64): Don't use CHECK_N.
41010         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
41011         (do_pwrite): Don't use CHECK_N.
41012         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
41013         (do_pwrite64): Don't use CHECK_N.
41014         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
41015         (__libc_readv): Don't use CHECK_N.
41016         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
41017         (semop): Don't use CHECK_N.
41018         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
41019         <bp-checks.h>.
41020         (semtimedop): Don't use CHECK_N.
41021         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
41022         (__libc_pread): Don't use CHECK_N.
41023         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
41024         <bp-checks.h>.
41025         (__libc_pread64): Don't use CHECK_N.
41026         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
41027         <bp-checks.h>.
41028         (__libc_pwrite): Don't use CHECK_N.
41029         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
41030         <bp-checks.h>.
41031         (__libc_pwrite64): Don't use CHECK_N.
41032         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
41033         <bp-checks.h>.
41034         (__libc_msgrcv): Don't use CHECK_N.
41035         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
41036         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
41037         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
41038         (__libc_writev): Don't use CHECK_N.
41040 2013-02-08  Roland McGrath  <roland@hack.frob.com>
41042         * string/strcpy.c: Removed unused variable.
41044         * Makeconfig (+sysdep-includes): Define with := rather than =.
41045         Use an existing include/ subdir of each sysdeps dir before it.
41047 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
41049         * nscd/connection.c (register_traced_file): Comment function.
41050         [HAVE_INOTIFY] (union __inev): Define.
41051         [HAVE_INOTIFY] (inotify_check_files): New function.
41052         [HAVE_INOTIFY] (clear_db_cache): Likewise.
41053         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
41054         clear_db_cache.
41055         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
41057 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
41059         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
41060         loaded if not already and that a failure is permanent.
41062 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
41064         [BZ #15006]
41065         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
41066         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
41068 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
41070         [BZ #13550]
41071         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
41072         (CHECK_1_NULL_OK): Likewise.
41073         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
41074         (__fxstat): Do not use CHECK_1.
41075         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
41076         <bp-checks.h>.
41077         (___fxstat64): Do not use CHECK_1.
41078         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
41079         <bp-checks.h>.
41080         (__fxstatat): Do not use CHECK_1.
41081         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
41082         <bp-checks.h>.
41083         (__fxstatat64): Do not use CHECK_1.
41084         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
41085         <bp-checks.h>.
41086         (__fxstat): Do not use CHECK_1.
41087         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
41088         <bp-checks.h>.
41089         (__fxstatat): Do not use CHECK_1.
41090         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41091         <bp-checks.h>.
41092         (__getresgid): Do not use CHECK_1.
41093         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41094         <bp-checks.h>.
41095         (__getresuid): Do not use CHECK_1.
41096         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
41097         <bp-checks.h>.
41098         (__lxstat): Do not use CHECK_1.
41099         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41100         <bp-checks.h>.
41101         (__old_msgctl): Do not use CHECK_1.
41102         (__new_msgctl): Likewise.
41103         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
41104         <bp-checks.h>.
41105         (__new_setrlimit): Do not use CHECK_1.
41106         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41107         <bp-checks.h>.
41108         (__old_shmctl): Do not use CHECK_1.
41109         (__new_shmctl): Likewise.
41110         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
41111         <bp-checks.h>.
41112         (__xstat): Do not use CHECK_1.
41113         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
41114         (__lxstat): Do not use CHECK_1.
41115         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
41116         <bp-checks.h>.
41117         (___lxstat64): Do not use CHECK_1.
41118         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
41119         (__old_msgctl): Do not use CHECK_1.
41120         (__new_msgctl): Likewise.
41121         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
41122         <bp-checks.h>.
41123         (__gettimeofday): Do not use CHECK_1.
41124         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
41125         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
41126         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
41127         <bp-checks.h>.
41128         (__gettimeofday): Do not use CHECK_1.
41129         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
41130         (__old_shmctl): Do not use CHECK_1_NULL_OK.
41131         (__new_shmctl): Do not use CHECK_1.
41132         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
41133         <bp-checks.h>.
41134         (do_sigtimedwait): Do not use CHECK_1.
41135         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
41136         <bp-checks.h>.
41137         (do_sigwaitinfo): Do not use CHECK_1.
41138         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
41139         <bp-checks.h>.
41140         (msgctl): Do not use CHECK_1.
41141         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
41142         <bp-checks.h>.
41143         (shmctl): Do not use CHECK_1.
41144         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
41145         (ustat): Do not use CHECK_1.
41146         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
41147         <bp-checks.h>.
41148         (__fxstat): Do not use CHECK_1.
41149         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
41150         <bp-checks.h>.
41151         (__fxstatat): Do not use CHECK_1.
41152         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
41153         <bp-checks.h>.
41154         (__lxstat): Do not use CHECK_1.
41155         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
41156         <bp-checks.h>.
41157         (__xstat): Do not use CHECK_1.
41158         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
41159         (__xstat): Do not use CHECK_1.
41160         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
41161         (___xstat64): Do not use CHECK_1.
41163         [BZ #13550]
41164         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
41165         definitions.
41166         (CHECK_BOUNDS_HIGH): Likewise.
41167         * string/strcpy.c: Do not include <bp-checks.h>.
41168         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
41170 2013-02-07  Roland McGrath  <roland@hack.frob.com>
41172         * nscd/nscd-client.h (__nscd_drop_map_ref):
41173         Add __attribute__ ((unused)).
41174         * nis/nss-nisplus.h (niserr2nss): Likewise.
41176         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
41177         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
41179         * csu/libc-tls.c (init_static_tls, init_slotinfo):
41180         Remove inline keyword.
41181         * include/rounding-mode.h (round_away): Likewise.
41182         * libio/wfileops.c (adjust_wide_data): Likewise.
41183         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
41184         (__m128i_strloadu_tolower): Likewise.
41185         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
41186         (__m128i_strloadu_tolower): Likewise.
41187         * time/mktime.c (ydhms_diff): Likewise.
41188         * locale/elem-hash.h (elem_hash): Likewise.
41189         * locale/setlocale.c (setdata): Likewise.
41190         * posix/regex_internal.h (re_string_char_size_at): Likewise.
41191         (re_string_wchar_at): Likewise.
41192         (bitset_not, bitset_merge, bitset_mask): Likewise.
41193         [!(__GNUC__ > 3)] (inline): Remove macro.
41194         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
41195         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
41196         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
41197         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
41198         * string/memcmp.c (memcmp_bytes): Likewise.
41199         * locale/programs/locarchive.c (compute_hashval): Likewise.
41200         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
41201         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
41202         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
41203         * nss/getent.c (print_rpc, print_protocols): Likewise.
41204         (print_passwd, print_group, print_aliases): Likewise.
41205         * nis/nss-nisplus.h (niserr2nss): Likewise.
41206         * nscd/connections.c (restart_p): Likewise.
41207         Change return type to bool.
41209 2013-02-05  Roland McGrath  <roland@hack.frob.com>
41211         * Makeconfig (all-Depend-files): Add existing
41212         $(sorted-subdirs:=/Depend) files.
41213         (all-subdirs): Remove nss.
41214         * sysdeps/unix/inet/Subdirs: Add it here instead.
41215         * hesiod/Depend: New file.
41217         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
41218         instead of calling alloca.
41220         * io/lseek.c (__lseek): Rename to __libc_lseek.
41221         Define __lseek as an alias.
41223         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
41225 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
41227         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
41228         else clause and remove check for non-standard endianness.
41230 2013-02-04  David S. Miller  <davem@davemloft.net>
41232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41234 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
41236         [BZ #13550]
41237         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
41238         (__ubp_memchr): Remove prototype.
41239         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
41240         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41241         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
41242         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41243         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
41244         Remove alias.
41245         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
41246         (__ubp_memchr): Likewise.
41247         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
41248         (__ubp_memchr): Likewise.
41249         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
41250         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
41251         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
41252         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
41253         CHECK_STRING.
41254         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41255         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
41256         (__getcwd): Do not use CHECK_STRING.
41257         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41258         <bp-checks.h>.
41259         (__real_chown): Do not use CHECK_STRING.
41260         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
41261         <bp-checks.h>.
41262         (fchownat): Do not use CHECK_STRING.
41263         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
41264         CHECK_STRING.
41265         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41266         <bp-checks.h>.
41267         (__lchown): Do not use CHECK_STRING.
41268         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41269         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41270         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41271         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
41272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41273         include <bp-checks.h>.
41274         (truncate64): Do not use CHECK_STRING.
41275         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41276         <bp-checks.h>.
41277         (__real_chown): Do not use CHECK_STRING.
41278         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41279         <bp-checks.h>.
41280         (__lchown): Do not use CHECK_STRING.
41281         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41282         <bp-checks.h>.
41283         (__chown): Do not use CHECK_STRING.
41284         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
41285         <bp-checks.h>.
41286         (truncate64): Do not use CHECK_STRING.
41287         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
41288         Likewise.
41289         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
41290         (__xmknod): Do not use CHECK_STRING.
41291         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
41292         <bp-checks.h>.
41293         (__xmknodat): Do not use CHECK_STRING.
41294         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41295         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
41297 2013-02-04  Andreas Schwab  <schwab@suse.de>
41299         [BZ #14142]
41300         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
41301         * include/netdb.h: Likewise for h_errno.
41302         * elf/tst-stackguard1.c: Include <tls.h>.
41304 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
41306         * elf/link.h (struct link_map): Extend the l_addr comment.
41307         * include/link.h (struct link_map): Likewise.
41309 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
41311         [BZ #13550]
41312         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
41313         (BOUNDED_1): Remove macro.
41314         * debug/backtrace.c: Don't include <bp-checks.h>.
41315         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
41316         (__backtrace): Likewise.
41317         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
41318         <bp-checks.h>.
41319         (__backtrace): Don't use BOUNDED_1.
41320         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
41321         <bp-checks.h>.
41322         (__backtrace): Don't use BOUNDED_1.
41323         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
41324         (__backtrace): Don't use BOUNDED_1.
41325         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
41326         (shmat): Don't use BOUNDED_N.
41328 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
41330         [BZ #13550]
41331         * sysdeps/generic/bp-start.h: Remove file.
41332         * csu/libc-start.c: Don't include <bp-start.h>.
41333         (LIBC_START_MAIN): Set up __environ directly instead of using
41334         INIT_ARGV_and_ENVIRON.
41335         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
41336         <bp-start.h>.
41338         [BZ #13550]
41339         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
41340         definitions.
41341         (CHECK_FCNTL): Likewise.
41342         (CHECK_N_PAGES): Likewise.
41344         [BZ #13550]
41345         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
41346         definitions.
41347         (CHECK_SIGSET_NULL_OK): Likewise.
41348         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
41349         <bp-checks.h>.
41350         (sigpending): Don't use CHECK_SIGSET.
41351         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
41352         <bp-checks.h>.
41353         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41354         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
41355         <bp-checks.h>.
41356         (do_sigsuspend): Don't use CHECK_SIGSET.
41357         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
41358         use CHECK_SIGSET.
41359         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
41360         (do_sigwait): Don't use CHECK_SIGSET.
41361         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
41362         use CHECK_SIGSET.
41363         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
41364         include <bp-checks.h>.
41365         (sigpending): Don't use CHECK_SIGSET.
41366         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
41367         include <bp-checks.h>.
41368         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41369         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
41370         <bp-checks.h>.
41371         (sigpending): Don't use CHECK_SIGSET.
41372         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
41373         <bp-checks.h>.
41374         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41376         [BZ #13550]
41377         * sysdeps/generic/bp-semctl.h: Remove file.
41378         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
41379         <bp-checks.h> and <bp-semctl.h>.
41380         (__old_semctl): Don't use CHECK_SEMCTL.
41381         (__new_semctl): Likewise.
41382         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
41383         and <bp-semctl.h>.
41384         (__old_semctl): Don't use CHECK_SEMCTL.
41385         (__new_semctl): Likewise.
41386         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
41387         <bp-checks.h> and <bp-semctl.h>.
41388         (__old_semctl): Don't use CHECK_SEMCTL.
41389         (__new_semctl): Likewise.
41390         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
41391         <bp-checks.h> and <bp-semctl.h>.
41392         (semctl): Don't use CHECK_SEMCTL.
41394         [BZ #13550]
41395         * Makerules (elide-bp-thunks): Remove variable.
41396         (elide-routines.oS): Don't use $(elide-bp-thunks).
41397         (elide-routines.os): Likewise.
41398         (elide-routines.o): Likewise.
41399         (elide-routines.op): Likewise.
41400         (elide-routines.og): Likewise.
41401         (objects): Don't use $(bp-thunks).
41402         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
41403         include.
41404         (common-generated): Do not add s-proto-bp.d.
41405         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
41406         (int): Likewise.
41407         (typ): Likewise.
41408         Do not generate makefile rules for bounded-pointer thunks.
41409         * sysdeps/generic/bp-thunks.h: Remove file.
41410         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
41411         * sysdeps/unix/s-proto-bp.S: Likewise.
41413         [BZ #15062]
41414         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
41415         parts of result separately when argument is not close to line from
41416         -i to i and one part of argument is small.
41417         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41418         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41419         * math/libm-test.inc (cacos_test): Add more tests.
41420         (casin_test): Likewise.
41421         (casinh_test): Likewise.
41422         * sysdeps/i386/fpu/libm-test-ulps: Update.
41423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41425 2013-01-31  David S. Miller  <davem@davemloft.net>
41427         * po/de.po: Update from translation team.
41429 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
41431         * time/tzfile.c: Include stdint.h for SIZE_MAX.
41433 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
41435         * configure.in (_AC_PROG_CC_C89): New definition.
41436         * configure: Regenerate.
41438         * configure.in (AC_PROG_CPP): New definition.
41439         * configure: Regenerate.
41441 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
41443         * debug/tst-backtrace.h: New file.
41444         * debug/tst-backtrace2.c: Include tst-backtrace.h.
41445         (ret): Remove variable.
41446         (x): Likewise.
41447         (FAIL): Remove macro.
41448         (NO_INLINE): Likewise.
41449         (fn1): Use match function instead of strstr.
41450         * debug/tst-backtrace3.c: Include tst-backtrace.h.
41451         (ret): Remove variable.
41452         (x): Likewise.
41453         (FAIL): Remove macro.
41454         (NO_INLINE): Likewise.
41455         (fn): Use match function instead of strstr.
41456         * debug/tst-backtrace4.c: Include tst-backtrace.h.
41457         (ret): Remove variable.
41458         (x): Likewise.
41459         (FAIL): Remove macro.
41460         (NO_INLINE): Likewise.
41461         (handle_signal): Use match function instead of strstr.
41462         * debug/tst-backtrace5.c: Include tst-backtrace.h.
41463         (ret): Remove variable.
41464         (x): Likewise.
41465         (FAIL): Remove macro.
41466         (NO_INLINE): Likewise.
41467         (handle_signal): Use match function instead of strstr.
41469 2013-01-23  Roland McGrath  <roland@hack.frob.com>
41471         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
41473 2013-01-23  David S. Miller  <davem@davemloft.net>
41475         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
41476         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
41477         argument of CAS if possible.
41478         * sysdeps/sparc/sparc64/bits/atomic.h
41479         (__arch_compare_and_exchange_val_32_acq): Likewise.
41480         (__arch_compare_and_exchange_val_64_acq): Likewise.
41482 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
41484         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
41485         * sysdeps/posix/ulimit.c: ... this.
41486         Include <limits.h>.
41487         * sysdeps/unix/bsd/ulimit.c: Remove file.
41489 2013-01-23  Adam Conrad  <adconrad@0c3.net>
41491         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
41492         (LDFLAGS-tst-array5): Likewise.
41494 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
41496         [BZ #15036]
41497         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
41498         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
41499         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
41500         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
41502 2013-01-21  David S. Miller  <davem@davemloft.net>
41504         * sysdeps/sparc/backtrace.c: New file.
41505         * sysdeps/sparc/sparc32/backtrace.h: New file.
41506         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
41507         * sysdeps/sparc/sparc64/backtrace.h: New file.
41508         * sysdeps/sparc/sparc64/backtrace.c: Delete.
41509         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
41510         -funwind-tables.
41512 2013-01-21  Andreas Schwab  <schwab@suse.de>
41514         [BZ #15020]
41515         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
41516         closed its stdout.
41518 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
41520         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
41521         "mpa2.h".
41522         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41524 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
41525             Mark Mitchell  <mark@codesourcery.com>
41526             Tom de Vries  <tom@codesourcery.com>
41527             Paul Pluzhnikov  <ppluzhnikov@google.com>
41529         * debug/tst-backtrace2.c: New file.
41530         * debug/tst-backtrace3.c: Likewise.
41531         * debug/tst-backtrace4.c: Likewise.
41532         * debug/tst-backtrace5.c: Likewise.
41533         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
41534         (CFLAGS-tst-backtrace3.c): Likewise.
41535         (CFLAGS-tst-backtrace4.c): Likewise.
41536         (CFLAGS-tst-backtrace5.c): Likewise.
41537         (LDFLAGS-tst-backtrace2): Likewise.
41538         (LDFLAGS-tst-backtrace3): Likewise.
41539         (LDFLAGS-tst-backtrace4): Likewise.
41540         (LDFLAGS-tst-backtrace5): Likewise.
41541         (tests): Add new tests tst-backtrace2, tst-backtrace3,
41542         tst-backtrace4 and tst-backtrace5.
41544 2013-01-18  Anton Blanchard  <anton@samba.org>
41545             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41547         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
41548         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
41549         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
41550         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
41551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41552         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
41553         "+r" and remove output regs list as redundant.  Add explicit inline
41554         asm to specify register of return val to work around compiler codegen
41555         bug.  Remove (int) cast on return value.  Add return type parameter to
41556         use in macro so that this macro does not truncate return value for
41557         64-bit values.
41558         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
41559         pass to INTERNAL_VSYSCALL_NCS.
41560         (INLINE_VSYSCALL): Add 'long int' as return type to
41561         INTERNAL_VSYSCALL_NCS macro invocation.
41562         (INTERNAL_VSYSCALL): Add 'long int' as return type to
41563         INTERNAL_VSYSCALL_NCS macro invocation.
41564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41566 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41568         [BZ #14496]
41569         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
41570         Fix application of SIMD FP exception mask.
41572         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
41573         mp_no from a power of two.
41574         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
41575         __mpexp_twomm1.  Use __pow_mp.
41577         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
41578         multiplication.
41580 2013-01-17  David S. Miller  <davem@davemloft.net>
41582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41584 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
41586         [BZ #15023]
41587         * include/complex.h: Condition contents on [!_COMPLEX_H].
41588         (__kernel_casinhf): New prototype.
41589         (__kernel_casinh): Likewise.
41590         (__kernel_casinhl): Likewise.
41591         * math/Makefile (libm_calls): Add k_casinh.
41592         * math/k_casinh.c: New file.
41593         * math/k_casinhf.c: Likewise.
41594         * math/k_casinhl.c: Likewise.
41595         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
41596         finite nonzero arguments.
41597         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
41598         finite nonzero arguments.
41599         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
41600         finite nonzero arguments.
41601         * math/s_casinh.c: Do not include <float.h>.
41602         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
41603         * math/s_casinhf.c: Do not include <float.h>.
41604         (__casinhf): Move code for finite nonzero arguments to
41605         k_casinhf.c.
41606         * math/s_casinhl.c: Do not include <float.h>.
41607         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
41608         redefine.
41609         (__casinhl): Move code for finite nonzero arguments to
41610         k_casinhl.c.
41611         * math/libm-test.inc (cacos_test): Add more tests.
41612         * sysdeps/i386/fpu/libm-test-ulps: Update.
41613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41615 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
41617         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
41618         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
41619         [!HAVE_MREMAP]: Remove [defined linux] case.
41620         * malloc/arena.c: Do not include <malloc-sysdep.h>.
41622 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41624         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
41626 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
41628         * elf/elf.h (R_386_SIZE32): New relocation.
41629         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
41630         R_386_SIZE32.
41631         (elf_machine_rela): Likewise.
41632         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41633         R_X86_64_SIZE64 and R_X86_64_SIZE32.
41635 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
41637         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
41638         (FP_FAST_FMA): Do not define.
41639         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
41640         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
41641         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
41642         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
41643         !_SOFT_FLOAT]: Likewise.
41644         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
41645         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
41646         value.
41647         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
41648         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
41649         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
41650         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
41651         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
41652         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
41653         file.
41655 2013-01-16  Andreas Schwab  <schwab@suse.de>
41657         [BZ #14327]
41658         * include/stdlib.h (__mktemp): Add declaration.
41659         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
41660         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
41662 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41664         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
41665         definitions.
41666         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41667         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
41668         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
41669         definitions here.
41670         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
41671         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
41672         definitions.
41673         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
41674         and ONE.
41675         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
41676         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
41677         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
41678         definitions.
41679         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
41680         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
41681         definitions.
41682         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41684         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
41686 2013-01-15  David S. Miller  <davem@davemloft.net>
41688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41689         trunc{,f} to libm-sysdep_routes.
41690         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
41692         file.
41693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
41694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
41695         file.
41696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
41697         file.
41698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
41699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
41700         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
41701         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
41702         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
41703         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
41704         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
41705         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
41707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41708         nearbyint{,f} to libm-sysdep_routes.
41709         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
41711         New file.
41712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
41713         file.
41714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
41715         New file.
41716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
41717         file.
41718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
41719         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
41720         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
41721         file.
41722         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
41723         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
41724         file.
41725         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
41726         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
41727         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
41729         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41730         libc_feholdexcept and libc_fesetenv.
41732 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
41734         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
41736 2013-01-14  David S. Miller  <davem@davemloft.net>
41738         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
41739         (SPARC_ASM_VIS2_IFUNC): Likewise.
41740         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
41741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
41742         use of 'siam' instruction.
41743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
41744         Likewise.
41745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
41746         Likewise.
41747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
41748         Likewise.
41749         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
41750         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
41751         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
41752         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
41753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
41754         file.
41755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
41756         file.
41757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
41758         file.
41759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
41760         file.
41761         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
41762         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
41763         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
41764         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
41765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
41766         new VIS2 routines.
41767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41770         Likewise.
41771         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41772         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41773         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41774         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
41776         routines to libm-sysdep_routines.
41777         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41780         fdim/fdimf to libm-sysdep_routines.
41781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
41782         file.
41783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
41784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
41785         file.
41786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
41787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
41788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
41789         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
41790         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
41791         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
41792         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
41794 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41796         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
41797         to optimize copies.
41799         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
41800         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41801         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41803         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
41804         local variable MPTWO.
41805         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
41806         Likewise.
41808 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
41810         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
41811         GLOB_NOESCAPE.
41813 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
41815         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
41817 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
41819         * manual/pattern.texi (glob_t): Document gl_flags.
41820         (glob64_t): Likewise.
41822 2013-01-11  David S. Miller  <davem@davemloft.net>
41824         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
41825         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
41826         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
41827         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
41828         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
41829         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
41830         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
41831         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
41832         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
41833         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
41834         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
41835         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
41836         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
41838         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41839         sparc V9 rather than using V8 code.
41840         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41841         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41843         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41844         Move to...
41845         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
41846         Here.
41848 2013-01-11  Roland McGrath  <roland@hack.frob.com>
41850         [BZ #14941]
41851         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
41852         not in the main loop.
41853         * configure: Regenerated.
41855 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
41857         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
41858         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
41859         to just #else.
41860         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
41861         [!__GLIBC_HAVE_LONG_LONG] case.
41862         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
41863         condition to just #else.
41864         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
41865         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
41866         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
41867         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
41868         unconditional.
41869         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
41870         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41871         #elif condition to just #else.
41872         * sysdeps/unix/sysv/linux/sys/sysmacros.h
41873         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
41874         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41875         #elif condition to just #else.
41877 2013-01-11  Steve Ellcey  <sellcey@mips.com>
41879         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
41880         (EF_MIPS_ARCH_64): Fix value.
41881         (EF_MIPS_ARCH_32R2): New.
41882         (EF_MIPS_ARCH_64R2): New.
41884 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
41886         * Makeconfig (+link-pie-before-libc): New.
41887         (+link-pie-after-libc): Likewise.
41888         (+link-pie-tests): Likewise.
41889         (+link-pie): Rewritten.
41890         (link-before-libc): Remove $(config-LDFLAGS).
41891         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
41892         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
41893         (config-LDFLAGS): Renamed to ...
41894         (rtld-LDFLAGS): This.
41895         (rtld-tests-LDFLAGS): New macro.
41896         (link-libc-rpath-link): Likewise.
41897         (link-libc-tests-rpath-link): Likewise.
41898         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
41899         (link-libc): Prepand $(link-libc-rpath-link).
41900         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
41901         (test-program-prefix): New macro.
41902         (test-via-rtld-prefix): Likewise.
41903         (test-program-cmd): Likewise.
41904         (host-test-program-cmd): Likewise.
41905         * Makefile ($(common-objpfx)testrun.sh): Replace
41906         $(run-program-prefix) with $(test-program-prefix).
41907         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
41908         $(rtld-LDFLAGS).
41909         ($(common-objpfx)shlib.lds): Likewise.
41910         (build-module-helper): Likewise.
41911         ($(common-objpfx)format.lds): Likewise.
41912         * Rules (binaries-pie-tests): New.
41913         (binaries-pie-notests): Likewise.
41914         (binaries-pie): Rewritten.
41915         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
41916         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
41917         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
41918         (make-test-out): Replace $(host-built-program-cmd) with
41919         $(host-test-program-cmd).
41920         * config.make.in (build-hardcoded-path-in-tests): New variable.
41921         * configure.in (--enable-hardcoded-path-in-tests): New configure
41922         option.
41923         (hardcoded_path_in_tests): New AC_SUBST.
41924         * configure: Regenerated.
41925         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
41926         $(built-program-cmd) with $(test-program-cmd).
41927         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
41928         (test_program_cmd): This.
41929         * elf/Makefile ($(objpfx)order.out): Run test with
41930         $(test-program-prefix).
41931         ($(objpfx)order2.out): Likewise.
41932         ($(objpfx)tst-initorder.out): Likewise.
41933         ($(objpfx)tst-initorder2.out): Likewise.
41934         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
41935         $(test-program-cmd).
41936         ($(objpfx)tst-array1-static.out): Likewise.
41937         ($(objpfx)tst-array2.out): Likewise.
41938         ($(objpfx)tst-array3.out): Likewise.
41939         ($(objpfx)tst-array4.out): Likewise.
41940         ($(objpfx)tst-array5.out): Likewise.
41941         ($(objpfx)tst-array5-static.out): Likewise.
41942         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
41943         $(test-program-cmd).
41944         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
41945         $(run-program-prefix) with $(test-program-prefix).
41946         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
41947         (test_program_prefix): This.
41948         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
41949         $(run-program-prefix) with $(test-program-prefix).
41950         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
41951         (test_program_prefix): This.
41952         * iconvdata/tst-tables.sh: Likewise.
41953         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
41954         $(run-program-prefix) with $(test-program-prefix).
41955         ($(objpfx)tst-translit.out): Likewise.
41956         ($(objpfx)tst-gettext2.out): Likewise.
41957         ($(objpfx)tst-gettext4.out): Likewise.
41958         ($(objpfx)tst-gettext6.out): Likewise.
41959         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
41960         (test_program_prefix): This.
41961         * intl/tst-gettext2.sh: Likewise.
41962         * intl/tst-gettext4.sh  Likewise.
41963         * intl/tst-gettext6.sh: Likewise.
41964         * intl/tst-translit.sh: Likewise.
41965         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
41966         with $(test-program-cmd).
41967         * libio/Makefile ($(objpfx)test-freopen.out): Replace
41968         $(run-program-prefix) with $(test-program-prefix).
41969         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
41970         (test_program_prefix): This.
41971         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
41972         $(run-program-prefix) with $(test-program-prefix).
41973         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
41974         (test_program_prefix): This.
41975         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
41976         * posix/Makefile ($(objpfx)globtest.out): Replace
41977         $(run-via-rtld-prefix) and $(test-wrapper) with
41978         $(test-program-prefix) and $(test-via-rtld-prefix).
41979         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
41980         $(test-program-prefix).
41981         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
41982         $(host-test-program-cmd).
41983         (tst-spawn-ARGS): Likewise.
41984         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
41985         $(test-program-prefix).
41986         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
41987         (test_via_rtld_prefix): This.
41988         (test_wrapper): Renamed to ...
41989         (test_program_prefix): This.
41990         (run_program_prefix): Replaced by test_program_prefix.
41991         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
41992         (test_program_prefix): This.
41993         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
41994         with $(host-test-program-cmd).
41995         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
41996         $(run-program-prefix) with $(test-program-prefix).
41997         ($(objpfx)tst-printf.out): Likewise.
41998         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
41999         $(test-program-cmd).
42000         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
42001         (test_program_prefix): This.
42002         * stdio-common/tst-unbputc.sh: Likewise.
42003         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
42004         $(run-program-prefix) with $(test-program-prefix).
42005         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
42006         (test_program_prefix): This.
42007         * string/Makefile ($(objpfx)tst-svc.out):  Replace
42008         $(built-program-cmd) with $(test-program-cmd).
42010 2013-01-11  Andreas Jaeger  <aj@suse.de>
42012         [BZ #15003]
42013         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
42014         value. Sync with Linux 3.7.
42016 2013-01-10  David S. Miller  <davem@davemloft.net>
42018         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
42019         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42020         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42022 2013-01-10  Roland McGrath  <roland@hack.frob.com>
42024         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
42025         never set.
42026         * configure: Regenerated.
42028 2013-01-10  David S. Miller  <davem@davemloft.net>
42030         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42031         sparc V9 rather than using V8 code.
42032         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42033         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42035 2013-01-10  Roland McGrath  <roland@hack.frob.com>
42037         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
42038         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
42039         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
42040         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
42041         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
42042         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
42043         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
42044         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
42045         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
42046         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
42047         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
42048         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
42049         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
42050         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
42051         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
42052         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
42053         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
42054         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
42055         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
42056         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
42057         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
42058         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
42059         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
42060         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
42061         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
42062         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
42063         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
42065 2013-01-10  David S. Miller  <davem@davemloft.net>
42067         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42069 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
42071         * posix/Makefile (tests-static): New variable.
42072         (tests): Add $(tests-static).
42073         (tst-exec-static-ARGS): New variable.
42074         (tst-spawn-static-ARGS): Likewise.
42075         * posix/tst-exec-static.c: New file.
42076         * posix/tst-spawn-static.c: Likewise.
42077         * posix/tst-exec.c: Support run directly.
42078         * posix/tst-spawn.c: Likewise.
42080 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
42082         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
42083         long.
42084         * math/bits/mathcalls.h (llrint): Likewise.
42085         (llround): Likewise.
42086         * stdlib/stdlib.h (struct drand48_data): Likewise.
42087         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
42088         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
42089         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
42090         Likewise.
42091         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
42092         Likewise.
42093         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
42094         (elf_greg_t): Likewise.
42095         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
42096         (__jmp_buf): Likewise.
42097         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
42098         definitions.
42099         (llrint): Likewise, for all definitions.
42100         (llrintl): Likewise.
42102         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
42103         Remove [__GNUC__] condition.
42104         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
42105         condition to just [__USE_ISOC99].
42106         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
42108 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
42110         [BZ #14200]
42111         * sysdeps/unix/sysv/linux/x86/bits/environments.h
42112         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
42113         defined.
42114         (_POSIX_V6_ILP32_OFF32): Likewise.
42115         (_XBS5_ILP32_OFF32): Likewise.
42116         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
42117         (__ILP32_OFFBIG_LDFLAGS): Likewise.
42119 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42121         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
42123         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
42124         doubles __mpexp_twomm1.  Adjust usage.
42125         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
42126         Remove.
42128 2013-01-10  Andreas Schwab  <schwab@suse.de>
42130         [BZ #14964]
42131         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
42132         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
42134 2013-01-09  David S. Miller  <davem@davemloft.net>
42136         [BZ #15003]
42137         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
42138         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
42139         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
42140         (TCP_FASTOPEN): Define.
42141         (tcp_repair_opt): New structure.
42142         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
42143         enum values.
42144         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
42145         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
42146         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
42147         (tcp_cookie_transactions): New structure.
42149 2013-01-09  Anton Blanchard  <anton@samba.org>
42151         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
42152         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
42153         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
42154         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
42156 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
42158         * include/features.h (__USE_ANSI): Remove.
42160 2013-01-09  Roland McGrath  <roland@hack.frob.com>
42162         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
42164         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
42166 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
42168         * sysdeps/s390/fpu/libm-test-ulps: Update.
42170         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42172         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
42173         (__acr): Likewise.
42174         (__cpy): Likewise.
42175         (norm): Likewise.
42176         (denorm): Likewise.
42177         (__mp_dbl): Likewise.
42178         (__dbl_mp): Likewise.
42179         (add_magnitudes): Likewise.
42180         (sub_magnitudes): Likewise.
42181         (__add): Likewise.
42182         (__sub): Likewise.
42183         (__mul): Likewise.
42184         (__inv): Likewise.
42185         (__dvd): Likewise.
42186         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
42187         (__acr): Likewise.
42188         (__cpy): Likewise.
42189         (norm): Likewise.
42190         (denorm): Likewise.
42191         (__mp_dbl): Likewise.
42192         (__dbl_mp): Likewise.
42193         (add_magnitudes): Likewise.
42194         (sub_magnitudes): Likewise.
42195         (__add): Likewise.
42196         (__sub): Likewise.
42197         (__mul): Likewise.
42198         (__inv): Likewise.
42199         (__dvd): Likewise.
42200         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
42201         (__acr): Likewise.
42202         (__cpy): Likewise.
42203         (norm): Likewise.
42204         (denorm): Likewise.
42205         (__mp_dbl): Likewise.
42206         (__dbl_mp): Likewise.
42207         (add_magnitudes): Likewise.
42208         (sub_magnitudes): Likewise.
42209         (__add): Likewise.
42210         (__sub): Likewise.
42211         (__mul): Likewise.
42212         (__inv): Likewise.
42213         (__dvd): Likewise.
42215 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
42217         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
42218         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
42219         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
42220         2 && __USE_EXTERN_INLINES]: Likewise.
42222 2013-01-08  Andreas Jaeger  <aj@suse.de>
42224         [BZ# 14985]
42225         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
42226         Remove.
42227         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42228         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42230 2013-01-07  Anton Blanchard  <anton@samba.org>
42232         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
42233         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42234         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
42235         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42236         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42237         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42238         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
42239         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42240         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42241         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42242         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42243         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42244         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42245         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42246         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42247         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42248         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42249         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42250         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42251         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42252         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42253         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
42254         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42255         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42256         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
42257         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42258         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42259         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42260         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
42261         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42262         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42263         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42264         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42265         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42266         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42267         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42268         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42269         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42270         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
42271         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42272         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
42273         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42274         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42276 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
42278         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
42279         (__MALLOC_PMT): Likewise.
42280         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
42281         [__GNUC__], only on [_LIBC].
42282         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42283         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
42284         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42285         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
42286         forward declaration.
42287         (realloc_hook_ini): Likewise.
42288         (memalign_hook_ini): Likewise.
42289         (__libc_memalign): Do not use __MALLOC_PMT in variable
42290         declaration.
42291         (__libc_valloc): Likewise.
42292         (__libc_pvalloc): Likewise.
42293         (__libc_calloc): Likewise.
42294         (__posix_memalign): Likewise.
42296         [BZ #14996]
42297         * math/s_casinh.c: Include <float.h>.
42298         (__casinh): Do not do computation with squaring and square root
42299         for large arguments.
42300         * math/s_casinhf.c: Include <float.h>.
42301         (__casinhf): Do not do computation with squaring and square root
42302         for large arguments.
42303         * math/s_casinhl.c: Include <float.h>.
42304         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
42305         (__casinhl): Do not do computation with squaring and square root
42306         for large arguments.
42307         * math/libm-test.inc (casin_test): Add more tests.
42308         (casinh_test): Likewise.
42309         * sysdeps/i386/fpu/libm-test-ulps: Update.
42310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42312 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
42314         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
42315         (__x86_64_raw_data_cache_size): Likewise.
42316         (__x86_64_data_cache_size_half): Likewise.
42317         (__x86_64_raw_data_cache_size_half): Likewise.
42318         (__x86_64_shared_cache_size): Likewise.
42319         (__x86_64_raw_shared_cache_size): Likewise.
42320         (__x86_64_shared_cache_size_half): Likewise.
42321         (__x86_64_raw_shared_cache_size_half): Likewise.
42322         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
42323         to ...
42324         (__x86_data_cache_size): This.
42325         (__x86_64_raw_data_cache_size): Renamed to ...
42326         (__x86_raw_data_cache_size): This.
42327         (__x86_64_data_cache_size_half): Renamed to ...
42328         (__x86_data_cache_size_half): This.
42329         (__x86_64_raw_data_cache_size_half): Renamed to ...
42330         (__x86_raw_data_cache_size_half): This.
42331         (__x86_64_shared_cache_size): Renamed to ...
42332         (__x86_shared_cache_size): This.
42333         (__x86_64_raw_shared_cache_size): Renamed to ...
42334         (__x86_raw_shared_cache_size): This.
42335         (__x86_64_shared_cache_size_half): Renamed to ...
42336         (__x86_shared_cache_size_half): This.
42337         (__x86_64_raw_shared_cache_size_half): Renamed to ...
42338         (__x86_raw_shared_cache_size_half): This.
42339         * sysdeps/x86_64/memcpy.S: Updated.
42340         * sysdeps/x86_64/memset.S: Likewise.
42341         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42342         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42343         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42345 2013-01-04  David S. Miller  <davem@davemloft.net>
42347         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42349 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
42351         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
42352         1 to avoid redefinition warning.
42353         (__USE_GNU): Don't define.
42354         (init_signaling_nan): Protoize.
42356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42358 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42360         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
42361         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
42362         (__cpymn): Likewise.
42363         (norm): Remove commented code.
42364         (denorm): Likewise.
42365         (__mp_dbl): Likewise.
42366         (__inv): Likewise.
42367         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
42368         (__cpymn): Likewise.
42369         (norm): Remove commented code.
42370         (denorm): Likewise.
42371         (__mp_dbl): Likewise.
42372         (__inv): Likewise.
42374         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
42375         mp_no value for 1.0 and 2.0.
42376         (norm): Use RADIXI instead of radixi.d.
42377         (denorm): Likewise.
42378         (__mul): Use 0.0 instead of zero.d.
42379         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
42380         mp_no value for 1.0 and 2.0.
42381         (norm): Use RADIXI instead of radixi.d.
42382         (denorm): Likewise.
42383         (__mul): Use 0.0 instead of zero.d.
42385 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
42387         [BZ #14994]
42388         * math/s_casinh.c (__casinh): Reduce finite argument to first
42389         quadrant then set signs of results at the end.
42390         * math/s_casinhf.c (__casinhf): Likewise.
42391         * math/s_casinhl.c (__casinhl): Likewise.
42392         * math/libm-test.inc (casin_test): Add more tests.
42393         (casinh_test): Likewise.
42394         * sysdeps/i386/fpu/libm-test-ulps: Update.
42395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42397 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42399         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
42401         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
42403         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
42404         declarations.
42405         (denorm): Likewise.
42406         (__mp_dbl): Likewise.
42407         (__inv): Likewise.
42409         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
42410         and adjust the header comment.
42412         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
42413         variable name from declaration.
42415 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
42417         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42418         Initialize COMMON_CPUID_INDEX_7 element.
42419         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
42420         (CPUID_RTM): Likewise.
42421         (HAS_RTM): Likewise.
42422         (COMMON_CPUID_INDEX_7): New enum.
42424 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
42426         [BZ #14981]
42427         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
42428         size is zero, record memory as freed.
42430 2013-01-03  Andreas Jaeger  <aj@suse.de>
42432         * po/ia.po: Add new Interlingua translation.
42434 2012-01-03  Allan McRae  <allan@archlinux.org>
42436         * locale/programs/localedef.c: Fix description of '--posix' flag.
42438 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
42440         * NEWS: Update dates in second copyright notice.
42441         * README: Update copyright dates in example.
42442         * manual/libc.texinfo: Update copyright dates.
42443         * scripts/test-installation.pl: Update copyright date in --version
42444         output.
42446         * hurd/ctty-input.c: Fix copyright notice formatting.
42447         * hurd/ctty-output.c: Likewise.
42448         * hurd/dtable.c: Likewise.
42449         * hurd/hurd-raise.c: Likewise.
42450         * hurd/hurdprio.c: Likewise.
42451         * hurd/msgportdemux.c: Likewise.
42452         * misc/sys/file.h: Likewise.
42453         * misc/sys/ioctl.h: Likewise.
42454         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42455         * sysdeps/mach/hurd/chdir.c: Likewise.
42456         * sysdeps/mach/hurd/fchdir.c: Likewise.
42457         * sysdeps/mach/hurd/rename.c: Likewise.
42458         * sysdeps/mach/hurd/rmdir.c: Likewise.
42459         * sysdeps/mach/hurd/seekdir.c: Likewise.
42460         * sysdeps/mach/hurd/setsid.c: Likewise.
42461         * sysdeps/posix/wait3.c: Likewise.
42463         * All files with FSF copyright notices: Update copyright dates
42464         using scripts/update-copyrights.
42465         * intl/plural.c: Regenerated.
42466         * locale/programs/charmap-kw.h: Likewise.
42467         * locale/programs/locfile-kw.h: Likewise.
42469 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42471         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
42472         four values.
42474         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
42475         calculation loop and add branch prediction.
42477         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
42478         check access beyond bounds of m1np.
42480         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42481         MPTWO.
42482         (__inv): Remove local variable MPTWO to use the global
42483         constant.
42484         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
42485         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42486         variable MPTWO.
42487         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
42488         MP3HALFS static const.
42490 2013-01-01  David S. Miller  <davem@davemloft.net>
42492         * po/ca.po: Update from translation team.
42494 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
42496         * scripts/update-copyrights: New file.
42497         * Makeconfig: Reformat copyright notice.
42498         * ctype/ctype.h: Likewise.
42499         * debug/swprintf_chk.c: Likewise.
42500         * elf/dl-cache.c: Likewise.
42501         * elf/dl-debug.c: Likewise.
42502         * elf/dl-object.c: Likewise.
42503         * grp/initgroups.c: Likewise.
42504         * hurd/Makefile: Likewise.
42505         * hurd/hurd/signal.h: Likewise.
42506         * hurd/hurdfault.c: Likewise.
42507         * hurd/hurdioctl.c: Likewise.
42508         * hurd/hurdlookup.c: Likewise.
42509         * hurd/intr-msg.c: Likewise.
42510         * iconv/gconv_open.c: Likewise.
42511         * libio/swprintf.c: Likewise.
42512         * locale/lc-ctype.c: Likewise.
42513         * locale/nl_langinfo.c: Likewise.
42514         * mach/Machrules: Likewise.
42515         * mach/Makefile: Likewise.
42516         * malloc/obstack.h: Likewise.
42517         * manual/Makefile: Likewise.
42518         * manual/tsort.awk: Likewise.
42519         * misc/bits/stab.def: Likewise.
42520         * nis/nis_print_group_entry.c: Likewise.
42521         * nis/nis_table.c: Likewise.
42522         * nis/nss_compat/compat-pwd.c: Likewise.
42523         * nis/nss_compat/compat-spwd.c: Likewise.
42524         * po/Makefile: Likewise.
42525         * posix/fnmatch.c: Likewise.
42526         * posix/regex.h: Likewise.
42527         * resolv/Makefile: Likewise.
42528         * resolv/nss_dns/dns-network.c: Likewise.
42529         * resolv/res_hconf.c: Likewise.
42530         * scripts/gen-sorted.awk: Likewise.
42531         * soft-fp/soft-fp.h: Likewise.
42532         * stdio-common/printf.h: Likewise.
42533         * stdlib/monetary.h: Likewise.
42534         * stdlib/random.c: Likewise.
42535         * stdlib/random_r.c: Likewise.
42536         * sysdeps/generic/Makefile: Likewise.
42537         * sysdeps/gnu/Makefile: Likewise.
42538         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42539         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42540         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42541         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42542         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42543         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42544         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42545         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42546         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42547         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42548         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42549         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42550         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42551         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42552         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
42553         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42554         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42555         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42556         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42557         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42558         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42559         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42560         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42561         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42562         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
42563         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42564         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42565         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
42566         * sysdeps/mach/hurd/errnos.awk: Likewise.
42567         * sysdeps/mach/hurd/fork.c: Likewise.
42568         * sysdeps/mach/hurd/getcwd.c: Likewise.
42569         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
42570         * sysdeps/mach/hurd/mmap.c: Likewise.
42571         * sysdeps/mach/hurd/utimes.c: Likewise.
42572         * sysdeps/mach/hurd/xmknod.c: Likewise.
42573         * sysdeps/posix/profil.c: Likewise.
42574         * sysdeps/posix/readdir_r.c: Likewise.
42575         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42576         * sysdeps/powerpc/bits/setjmp.h: Likewise.
42577         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
42578         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42579         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42580         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42581         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42582         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42583         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42584         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42585         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42586         * sysdeps/pthread/lio_listio.c: Likewise.
42587         * sysdeps/sparc/dl-procinfo.h: Likewise.
42588         * sysdeps/unix/i386/sysdep.S: Likewise.
42589         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
42590         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
42591         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
42592         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
42593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42594         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
42595         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
42596         * sysdeps/unix/sysv/linux/speed.c: Likewise.
42597         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42598         * sysdeps/wordsize-32/divdi3.c: Likewise.
42599         * time/sys/time.h: Likewise.
42600         * wcsmbs/Makefile: Likewise.
42602 2013-01-01  David S. Miller  <davem@davemloft.net>
42604         * po/fr.po: Update from translation team.
42606         * catgets/gencat.c: Update copyright year.
42607         * csu/version.c: Likewise.
42608         * debug/catchsegv.sh: Likewise.
42609         * debug/pcprofiledump.c: Likewise.
42610         * debug/xtrace.sh: Likewise.
42611         * elf/ldconfig.c: Likewise.
42612         * elf/ldd.bash.in: Likewise.
42613         * elf/pldd.c: Likewise.
42614         * elf/sotruss.ksh: Likewise.
42615         * elf/sprof.c: Likewise.
42616         * iconv/iconv_prog.c: Likewise.
42617         * iconv/iconvconfig.c: Likewise.
42618         * locale/programs/locale.c: Likewise.
42619         * locale/programs/localedef.c: Likewise.
42620         * login/programs/pt_chown.c: Likewise.
42621         * malloc/memusage.sh: Likewise.
42622         * malloc/memusagestat.c: Likewise.
42623         * malloc/mtrace.pl: Likewise.
42624         * nscd/nscd.c: Likewise.
42625         * nss/getent.c: Likewise.
42626         * nss/makedb.c: Likewise.
42627         * posix/getconf.c: Likewise.
42629 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42631         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
42632         numbers.
42634 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
42636         * math/bits/mathcalls.h (modf): Use __nonnull.
42638 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42640         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
42641         (split): Use macro CN instead of the bare value.
42642         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
42643         could be used.
42644         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
42645         instead of the bare value.
42646         (power1): Likewise.
42648 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42650         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
42651         __ATAN_TWOM.
42652         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42654         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
42655         their values.
42656         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42657         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42658         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
42659         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42661 2012-12-28  Andreas Jaeger  <aj@suse.de>
42663         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
42664         values are from Linux 3.7.
42666         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
42667         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
42669 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42671         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
42672         TRUE case.
42674         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
42675         (norm): Likewise.
42676         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
42677         variables with preprocessor constants.
42678         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42679         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42680         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42682 2012-12-27  Bruno Haible  <bruno@clisp.org>
42684         [BZ #14317]
42685         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
42686         only if needed.
42688 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42690         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
42691         and use variable directly.
42692         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
42694         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42695         MPONE.
42696         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
42697         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42698         variable MPONE.
42699         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42700         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42701         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
42702         include directive.  Remove local variable MPONE.
42703         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
42704         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
42705         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42707 2012-12-25  David S. Miller  <davem@davemloft.net>
42709         * version.h (RELEASE): Set to "development".
42710         (VERSION): Set to "2.17.90".
42711         * NEWS: Add 2.18 section.
42713 2012-12-21  David S. Miller  <davem@davemloft.net>
42715         * po/hr.po: Update from translation team.
42717 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42719         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
42721 2012-12-19  Steve Ellcey  <sellcey@mips.com>
42723         * NEWS:  Mention new memcpy for MIPS.
42725 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42727         * manual/contrib.texi (Contributors): Spelling correction.
42729 2012-12-15  David S. Miller  <davem@davemloft.net>
42731         * po/ru.po: Update from translation team.
42733 2012-12-13  David S. Miller  <davem@davemloft.net>
42735         * NEWS: Mention IFUNC testsuite enhancements.
42737         * po/pl.po: Update from translation team.
42738         * po/bg.po: Likewise.
42740         * manual/contrib.texi (Contributors): Update entries for Hongjiu
42741         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
42743 2012-12-11  David S. Miller  <davem@davemloft.net>
42745         * po/sv.po: Update from translation team.
42747         * po/vi.po: Update from translation team.
42749         * po/cs.po: Update from translation team.
42751         * po/de.po: Update from translation team.
42752         * po/eo.po: Likewise.
42753         * po/nl.po: Likewise.
42755 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42757         [BZ #14246]
42758         * manual/argp.texi (Argp Helper Functions): Move node to follow
42759         Argp Parsing State.
42761         [BZ #14872]
42762         * manual/conf.texi (Limits on File System Capacity): Mention if
42763         terminating null is included in the max size.
42765 2012-12-10  Andreas Jaeger  <aj@suse.de>
42767         * po/cs.po: Update from translation team.
42769 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42771         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
42772         void pointer and cast to uintptr_t.
42773         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
42774         path.
42775         * sysdeps/s390/s390-64/memcpy.S: Likewise.
42776         * sysdeps/s390/s390-64/memset.S: Likewise.
42778 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
42780         [BZ #14833]
42781         * menual/message.texi (Message Translation): Fix typos.
42782         (Helper programs for gettext): Likewise.
42784 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
42786         [BZ #14898]
42787         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
42788         Change to -1.
42790 2012-12-07  David S. Miller  <davem@davemloft.net>
42792         * po/libc.pot: Update.
42794 2012-12-07  Richard Henderson  <rth@redhat.com>
42796         [BZ #10114]
42797         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
42798         normal/normal case to before the switch.
42799         (_FP_DIV): Likewise.
42801 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
42802             Mike Frysinger  <vapier@gentoo.org>
42804         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
42805         check for __NR_fadvise64_64.
42807 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
42809         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
42810         0, not just to plain "0" as a statement.
42811         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
42812         with cw.
42814 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
42816         * NEWS: Use sourceware.org in Bugzilla URL.
42818 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
42821         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42823         * stdio-common/tst-put-error.c (do_test): Add newline to the
42824         padded test to ensure flush.
42826 2012-12-05  Jeff Law  <law@redhat.com>
42828         * sunrpc/etc.rpc (fedfs_admin): Add entry.
42830 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
42832         * README: Don't refer to ports add-on as distributed separately.
42833         Mention AArch64 in list of systems supported in the ports add-on.
42835         * LICENSES: Add more non-FSF copyright and license notices.
42837         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
42838         ((unused)).
42840         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
42842         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
42843         10000 as width of padded output.
42845 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
42847         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
42849         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
42850         variable LX with __attribute__ ((unused)).
42851         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42852         Likewise.
42853         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42854         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42855         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
42856         with __attribute__ ((unused)).
42858 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
42860         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
42862 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
42864         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
42865         (CFLAGS-nldbl-acos.c): New variable.
42866         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
42867         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
42868         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
42869         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
42870         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
42871         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
42872         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
42873         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
42874         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
42875         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
42876         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
42877         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
42878         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
42879         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
42880         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
42881         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
42882         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
42883         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
42884         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
42885         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
42886         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
42887         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
42888         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
42889         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
42890         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
42891         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
42892         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
42893         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
42894         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
42895         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
42896         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
42897         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
42898         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
42899         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
42900         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
42901         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
42902         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
42903         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
42904         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
42905         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
42906         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
42907         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
42908         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
42909         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
42910         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
42911         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
42912         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
42913         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
42914         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
42915         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
42916         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
42917         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
42918         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
42919         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
42920         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
42921         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
42922         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
42923         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
42924         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
42925         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
42926         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
42927         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
42928         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
42929         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
42930         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
42931         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
42932         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
42933         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
42934         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
42935         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
42936         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
42937         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
42938         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
42939         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
42940         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
42941         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
42942         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
42943         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
42944         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
42945         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
42946         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
42947         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
42948         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
42949         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
42950         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
42951         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
42952         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
42953         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
42954         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
42955         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
42956         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
42957         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
42958         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
42959         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
42960         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
42961         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
42962         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
42964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42965         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42967         [BZ #14914]
42968         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
42969         whole low double instead of just low 47 bits when splitting values
42970         into two parts.
42972 2012-12-03  Allan McRae  <allan@archlinux.org>
42974         * manual/stdio.texi (Predefined Printf Handlers): Remove
42975         @hsep and @vsep usage.
42977 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
42979         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
42980         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
42982 2012-12-03  Jeff Law  <law@redhat.com>
42984         * time/sys/time.h (settimeofday): Do not mark TV argument
42985         as __nonnull.
42987 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
42989         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
42990         when currently writing and seek to current position when not.
42991         * libio/Makefile (tests): Remove bug-fclose1.
42992         * libio/bug-fclose1.c: Delete.
42994 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
42996         * manual/arith.texi (feenableexcept): Fix typo.
42997         (fedisableexcept): Likewise.
42999 2012-11-30  Roland McGrath  <roland@hack.frob.com>
43001         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
43002         second, differently-typed declaration, rather than a cast.
43004 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43006         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
43007         * include/rpc/svc.h: ... here.
43009 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
43011         [BZ #13013]
43012         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
43013         depending n and resplen2 to catch cases where answer
43014         equals answerp2.
43016 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
43018         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
43019         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
43021 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
43023         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
43025 2012-11-29  Roland McGrath  <roland@hack.frob.com>
43027         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
43029 2012-11-28  Jeff Law  <law@redhat.com>
43031         [BZ #13761]
43032         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
43033         dataset_temporary.  Track alloca usage into alloca_used.
43034         If dataset is large allocate and release it via malloc/free.
43036 2012-06-04  Florian Weimer  <fweimer@redhat.com>
43038         [BZ #14197]
43039         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
43041 2012-11-28  David S. Miller  <davem@davemloft.net>
43043         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43045 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
43047         [BZ #14803]
43048         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
43049         of pi/2 rounded to nearest to 64 bits.
43050         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
43051         nearest to 64 bits.
43052         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
43053         bits.
43055 2012-11-28  Jeff Law <law@redhat.com>
43056             Martin Osvald <mosvald@redhat.com>
43058         [BZ #14889]
43059         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
43060         * sunrpc/svc.c: Include time.h.
43061         (__svc_accept_failed): New function.
43062         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
43063         any reason other than EINTR, call __svc_accept_failed.
43064         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
43065         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
43067 2012-11-28  Andreas Schwab  <schwab@suse.de>
43069         * scripts/abilist.awk: Also handle indirect functions in .opd
43070         section.
43072 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
43074         [BZ #13881]
43075         * sysdeps/x86/fpu/powl_helper.c: New file.
43076         * sysdeps/x86/fpu/Makefile: Likewise.
43077         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
43078         (p3): New object.
43079         (__ieee754_powl): Use __powl_helper for finite arguments except
43080         integer exponents below 8.
43081         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
43082         (p3): New object.
43083         (__ieee754_powl): Use __powl_helper for finite arguments except
43084         integer exponents below 8.
43085         * math/libm-test.inc (pow_test): Add more tests and enable some
43086         previously disabled tests.
43087         * sysdeps/i386/fpu/libm-test-ulps: Update.
43088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43090 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43091             Carlos O'Donell  <carlos_odonell@mentor.com>
43093         * nss/makedb.c (is_prime): Assert that input is odd and greater
43094         than 4.  Note that fact in a comment too.
43095         (next_prime): Add 4 to input.
43097 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43099         [BZ #11741]
43100         * libio/Makefile (tests): Add test case tst-fwrite-error.
43101         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
43102         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
43103         * libio/tst-fwrite-error.c: New test case.
43105 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
43107         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
43108         before casting to void *.
43109         * include/libc-internal.h (__pointer_type): New macro.
43110         (__integer_if_pointer_type_sub): Likewise.
43111         (__integer_if_pointer_type): Likewise.
43112         (cast_to_integer): Likewise.
43113         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
43114         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
43115         before casting to atomic64_t.
43116         (atomic_exchange_acq): Likewise.
43117         (__arch_exchange_and_add_body): Likewise.
43118         (__arch_add_body): Likewise.
43119         (atomic_add_negative): Likewise.
43120         (atomic_add_zero): Likewise.
43122 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
43124         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
43125         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
43126         (add_fdes): Likewise.
43127         (linear_search_fdes): Likewise.
43128         (binary_search_unencoded_fdes): Likewise.
43130 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
43132         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
43134 2012-11-24  Adam Conrad  <adconrad@0c3.net>
43136         * configure.in: Autodetect C++ header directories.
43137         * configure: Regenerated.
43139 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
43141         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
43143 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
43145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43147 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
43149         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
43150         LDBL_MANT_DIG == 106]: Disable some tests.
43151         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43152         Likewise.
43153         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43154         Likewise.
43156         [BZ #14871]
43157         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
43158         input for small inputs.  Return +/- pi/2 for large inputs.
43159         * math/libm-test.inc (atan_test): Add more tests.
43161         * sysdeps/generic/unwind-dw2-fde-glibc.c
43162         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
43163         __attribute__ ((unused)).
43165         [BZ #14645]
43166         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
43167         x * y if x and y are nonzero and z is zero.
43169         [BZ #14811]
43170         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
43171         nonzero exponents with absolute value below 0x1p-117 to +/-
43172         0x1p-117.
43174         [BZ #14869]
43175         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
43176         up arguments below 2**-450, not just those below 2**-500.
43177         * math/libm-test.inc (hypot_test): Add another test.
43179         [BZ #14868]
43180         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
43181         Return a+b for ratio over 2**120, not 2**60.
43182         * math/libm-test.inc (hypot_test): Add another test.
43184         * math/libm-test.inc (clog_test): Use
43185         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
43186         (clog10_test): Likewise.
43188         [BZ #6778]
43189         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
43191 2012-11-22  Andreas Schwab  <schwab@suse.de>
43193         * sysdeps/i386/fpu/libm-test-ulps: Update.
43195 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
43197         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
43198         printf output with newline.
43200 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
43202         [BZ #14865]
43203         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
43204         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
43205         -z nodlopen, -z initfirst and -z execstack support.
43206         * configure: Regenerated.
43208         * elf/elf.h (DF_1_NODIRECT): New macro.
43209         (DF_1_IGNMULDEF): Likewise.
43210         (DF_1_NOKSYMS): Likewise.
43211         (DF_1_NOHDR): Likewise.
43212         (DF_1_EDITED): Likewise.
43213         (DF_1_NORELOC): Likewise.
43214         (DF_1_SYMINTPOSE): Likewise.
43215         (DF_1_GLOBAUDIT): Likewise.
43216         (DF_1_SINGLETON): Likewise.
43217         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
43218         DT_1_SUPPORTED_MASK bits.
43219         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
43221 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
43223         * sysdeps/unix/make-syscalls.sh: Document prefixes.
43225 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
43227         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
43228         macro.
43230         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
43231         (sendmmsg): Move declarations...
43232         * socket/sys/socket.h: ... here.
43233         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
43234         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
43235         include it from...
43236         * socket/recvmmsg.c: ... this new file.
43237         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
43238         (sendmmsg): Rename to __sendmmsg, create weak alias and make
43239         definition of __sendmmsg hidden.
43240         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
43241         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
43242         Move ENOSYS stub into and include it from...
43243         * socket/sendmmsg.c: ... this new file.
43244         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
43245         (sysdep_routines): Move recvmmsg and sendmmsg...
43246         * socket/Makefile (routines): ... here.
43247         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
43248         (GLIBC_PRIVATE): Add __sendmmsg.
43249         * include/sys/socket.h (__sendmmsg): Add declarations.
43250         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
43251         sendmmsg.
43253 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
43255         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
43256         variable I1 with __attribute__ ((unused)).
43257         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43259 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
43261         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
43262         DUMMY variables with __attribute__ ((unused)).
43264         * bits/byteswap.h: Include <bits/types.h>.
43265         (__bswap_64): Use __uint64_t instead of unsigned long long int.
43267 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
43269         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
43270         string_t.  Do not manually set errno.
43271         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
43272         length with __strnlen.  Make sure to both set errno and return it on
43273         failure.
43275 2012-11-19  David S. Miller  <davem@davemloft.net>
43277         With help from Joseph Myers.
43278         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
43279         very large arguments properly.
43280         * math/libm-test.inc (atan_test): New tests.
43281         (atan2_test): New tests.
43282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43283         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43285 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
43287         [BZ #14856]
43288         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
43289         Define to 3.
43291         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
43292         [POSIX] (EADDRNOTAVAIL): Likewise.
43293         [POSIX] (EAFNOSUPPORT): Likewise.
43294         [POSIX] (EALREADY): Likewise.
43295         [POSIX] (ECONNABORTED): Likewise.
43296         [POSIX] (ECONNREFUSED): Likewise.
43297         [POSIX] (ECONNRESET): Likewise.
43298         [POSIX] (EDESTADDRREQ): Likewise.
43299         [POSIX] (EDQUOT): Likewise.
43300         [POSIX] (EHOSTUNREACH): Likewise.
43301         [POSIX] (EIDRM): Likewise.
43302         [POSIX] (EISCONN): Likewise.
43303         [POSIX] (ELOOP): Likewise.
43304         [POSIX] (EMULTIHOP): Likewise.
43305         [POSIX] (ENETDOWN): Likewise.
43306         [POSIX] (ENETUNREACH): Likewise.
43307         [POSIX] (ENOBUFS): Likewise.
43308         [POSIX] (ENODATA): Likewise.
43309         [POSIX] (ENOLINK): Likewise.
43310         [POSIX] (ENOMSG): Likewise.
43311         [POSIX] (ENOPROTOOPT): Likewise.
43312         [POSIX] (ENOSR): Likewise.
43313         [POSIX] (ENOSTR): Likewise.
43314         [POSIX] (ENOTCONN): Likewise.
43315         [POSIX] (ENOTSOCK): Likewise.
43316         [POSIX] (EOPNOTSUPP): Likewise.
43317         [POSIX] (EOVERFLOW): Likewise.
43318         [POSIX] (EPROTO): Likewise.
43319         [POSIX] (EPROTONOSUPPORT): Likewise.
43320         [POSIX] (EPROTOTYPE): Likewise.
43321         [POSIX] (ESTALE): Likewise.
43322         [POSIX] (ETIME): Likewise.
43323         [POSIX] (ETXTBSY): Likewise.
43324         [POSIX] (EWOULDBLOCK): Likewise.
43325         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
43326         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
43327         [POSIX] (SEEK_CUR): Likewise.
43328         [POSIX] (SEEK_END): Likewise.
43329         [POSIX || UNIX98] (mode_t): Do not require.
43330         [POSIX] (off_t): Likewise.
43331         [POSIX] (pid_t): Likewise.
43332         [POSIX] (sys/stat.h): Do not allow header.
43333         [POSIX] (unistd.h): Likewise.
43334         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
43335         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
43336         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
43337         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
43338         require.
43339         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
43340         sigevent): Specify elements.
43341         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
43342         entry.
43343         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
43344         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
43346         * conform/data/cpio.h-data [POSIX]: Disable whole file.
43347         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
43348         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
43349         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
43350         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
43351         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
43352         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
43353         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
43354         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
43355         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
43356         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
43357         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
43358         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
43359         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
43360         Likewise.
43361         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
43362         Likewise.
43363         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
43364         Likewise.
43365         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
43366         Likewise.
43367         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
43368         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
43369         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
43370         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
43371         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
43372         Specify lower bound on value.
43373         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
43374         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
43375         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
43376         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
43377         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
43378         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
43379         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
43380         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
43381         value.
43382         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
43383         as optional.
43384         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
43385         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
43386         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
43387         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
43388         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
43389         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
43390         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
43391         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
43392         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
43393         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
43394         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
43395         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
43396         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
43397         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
43398         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
43399         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
43400         entry.
43401         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
43402         optional.
43403         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
43404         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
43405         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
43406         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
43407         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
43408         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
43409         Likewise.
43410         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
43411         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
43412         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
43413         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
43414         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
43415         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
43416         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
43417         as optional.
43418         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
43419         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
43420         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
43421         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
43422         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
43423         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
43424         specify as optional.
43425         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
43426         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
43427         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
43428         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
43429         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
43430         [XPG3] (NL_LANGMAX): Likewise.
43431         [POSIX || XPG3] (NL_MSGMAX): Likewise.
43432         [POSIX || XPG3] (NL_NMAX): Likewise.
43433         [POSIX || XPG3] (NL_SETMAX): Likewise.
43434         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
43435         [XPG3] (NZERO): Likewise.
43436         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
43437         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
43438         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
43439         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
43440         (REG_ERANGE): Expect.
43441         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
43442         optional-constant.
43443         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
43444         Use (void) in prototype.
43445         [POSIX] (*_t): Allow.
43446         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
43447         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
43448         (WRDE_BADVAL): Expect.
43450         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
43451         expect.
43452         [XPG3 || XPG4] (O_RSYNC): Likewise.
43453         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
43454         Likewise.
43455         [XPG3 || XPG4] (pthread_sigmask): Likewise.
43456         [XPG3 || XPG4] (sigqueue): Likewise.
43457         [XPG3 || XPG4] (sigtimedwait): Likewise.
43458         [XPG3 || XPG4] (sigwaitinfo): Likewise.
43459         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
43460         [XPG3 || XPG4] (vsnprintf): Likewise.
43461         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
43462         Likewise.
43463         [XPG3 || XPG4] (blksize_t): Likewise.
43464         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
43465         Likewise.
43466         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
43467         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43468         [XPG3 || XPG4] (struct itimerspec): Likewise.
43469         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
43470         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
43471         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
43472         [XPG3 || XPG4] (clockid_t): Likewise.
43473         [XPG3 || XPG4] (timer_t): Likewise.
43474         [XPG3 || XPG4] (clock_getres): Likewise.
43475         [XPG3 || XPG4] (clock_gettime): Likewise.
43476         [XPG3 || XPG4] (clock_settime): Likewise.
43477         [XPG3 || XPG4] (nanosleep): Likewise.
43478         [XPG3 || XPG4] (timer_create): Likewise.
43479         [XPG3 || XPG4] (timer_delete): Likewise.
43480         [XPG3 || XPG4] (timer_gettime): Likewise.
43481         [XPG3 || XPG4] (timer_getoverrun): Likewise.
43482         [XPG3 || XPG4] (timer_settime): Likewise.
43483         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
43484         [XPG3 || XPG4] (getlogin_r): Likewise.
43485         [XPG3 || XPG4] (pread): Likewise.
43486         [XPG3 || XPG4] (pthread_atfork): Likewise.
43487         [XPG3 || XPG4] (pwrite): Likewise.
43489         [BZ #14835]
43490         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
43491         <bits/siginfo.h>.
43493 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
43495         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
43496         finalizing MALLSTREAM.
43498         * sysdeps/mach/hurd/syncfs.c: New file.
43500 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43502         [BZ #14719]
43503         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
43504         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
43505         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
43506         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
43507         (_nss_dns_gethostbyname4_r): Likewise.
43508         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
43509         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
43511 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
43513         [BZ #13763]
43514         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
43516 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
43518         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
43519         * elf/cache.c (print_entry): Print ",AArch64" for
43520         FLAG_AARCH64_LIB64
43522         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
43523         * elf/cache.c (print_entry): Print ",hard-float" for
43524         FLAG_ARM_LIBHF.
43526 2012-11-18  David S. Miller  <davem@davemloft.net>
43528         With help from Joseph Myers.
43529         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
43530         cutoff to 2**-13.
43531         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
43532         cutoff to 2**-25.
43533         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
43534         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
43535         small.
43536         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
43537         * math/libm-test.inc (y0_test): New tests.
43538         (y1_test): New tests.
43539         * sysdeps/i386/fpu/libm-test-ulps: Update.
43540         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43543 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
43545         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
43546         64-bit targets.
43547         * configure: Regenerated.
43549 2012-11-17  David S. Miller  <davem@davemloft.net>
43551         [BZ #14811]
43552         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
43553         nonzero exponents with absolute value below 0x1p-128 to +/-
43554         0x1p-128.
43556 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
43558         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
43560         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
43562         * posix/getconf-speclist.c: New file.
43563         * posix/posix-envs.def: Likewise.
43564         * posix/confstr.c (START_ENV_GROUP): New macro.
43565         (END_ENV_GROUP): Likewise.
43566         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43567         (KNOWN_PRESENT_ENV_STRING): Likewise.
43568         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43569         (UNKNOWN_ENVIRONMENT): Likewise.
43570         (confstr): Include posix-envs.def instead of handling
43571         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
43572         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
43573         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
43574         (END_ENV_GROUP): Likewise.
43575         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43576         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43577         (UNKNOWN_ENVIRONMENT): Likewise.
43578         (__sysconf): Include posix-envs.def instead of handling associated
43579         cases directly here.
43580         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
43581         preprocessing getconf-speclist.c rather than running getconf or
43582         generating empty file.
43584 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
43586         * scripts/check-local-headers.sh: Ignore 'mach' headers.
43588 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
43590         [BZ #14672]
43591         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
43593 2012-11-16  David S. Miller  <davem@davemloft.net>
43595         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
43596         smaller than LDBL_EPSILON/2.0L, just return xm1.
43598 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
43600         * elf/tst-array1.c (init): Set constructor priority to 1000.
43601         (fini): Set destructor priority to 1000.
43602         * elf/tst-array2dep.c: Likewise.
43604 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43606         [BZ #11741]
43607         * libio/fileops.c (_IO_new_file_write): Correctly return error.
43608         (_IO_new_file_xsputn): Also return EOF if none of the input
43609         data was written when overflow failed.
43610         * libio/iopadn.c (_IO_padn): Likewise.
43611         * libio/iowpadn.c (_IO_wpadn): Likewise.
43612         * stdio-common/tst-put-error.c: Add copyright notice.
43613         (do_test): Add case for printing padded string.
43614         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
43615         _IO_padn returned error.
43616         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
43617         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
43618         return EOF.
43620 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43622         * libio/libioP.h: Add comment note that the references to C++
43623         bits are now obsolete.
43625 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43627         * math/libm-test.inc (check_complex): Use asprintf.
43629 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
43631         * debug/pcprofiledump.c (print_version): Update copyright year.
43632         * malloc/memusagestat.c (print_version): Likewise.
43634 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
43636         [BZ #14831]
43637         * elf/Makefile (tests): Add tst-audit8.
43638         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
43639         ($(objpfx)tst-audit8.out): New target.
43640         (tst-audit8-ENV): New variable.
43641         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
43642         audit if l_reloc_result is NULL.
43643         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
43644         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
43645         * elf/tst-audit8.c: New file.
43647 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43649         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
43650         * misc/Makefile (CFLAGS-select.c): Define.
43651         * posix/Makefile (CFLAGS-pause.c): Define.
43653 2012-11-13  David S. Miller  <davem@davemloft.net>
43655         * crypt/Makefile: Move test targets after toplevel Rules
43656         inclusion.  Grab any necessary sysdep routines when linking.
43657         * crypt/md5.c (md5_process_block): Remove define, we will always
43658         name it __md5_process_block.
43659         (md5_finish_ctx): Update md5_process_block call.
43660         (md5_stream): Likewise.
43661         (md5_process_bytes): Likewise.
43662         (md5_process_block): Rename to __md5_process_block and move to ...
43663         * crypt/md5-block.c: ... here.
43664         * crypt/sha256.c (sha256_process_block): Move to ...
43665         * crypt/sha256-block.c: ... here.
43666         * crypt/sha512.c (sha512_process_block): Move to ...
43667         * crypt/sha512-block.c: ... here.
43668         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
43669         path.
43670         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
43671         * sysdeps/sparc/sparc64/multiarch/Makefile
43672         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
43673         crypt subdir.
43674         (localedef-aux): Add md5 crypto assembler when in locale subdir.
43675         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
43676         multiarch changes.
43677         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
43678         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
43679         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
43680         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
43681         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
43682         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
43683         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
43684         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
43685         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
43686         file.
43687         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
43688         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
43689         file.
43690         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
43692 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
43694         * timezone/tzselect.ksh: Update from tzcode git revision
43695         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
43696         * timezone/zdump.c: Likewise.
43697         * timezone/zic.c: Likewise.
43698         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
43699         in TZVERSION setting, not $(PKGVERSION).
43700         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
43701         REPORT_BUGS_TO settings.
43703         [BZ #14838]
43704         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
43705         macro.
43707 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43709         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
43710         detection to immediately after _FP_ROUND().
43711         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
43712         bits are 0.
43714 2012-11-11  David S. Miller  <davem@davemloft.net>
43716         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
43717         inttypes.h
43718         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
43719         __close rather than their public counterparts.
43721 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
43723         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
43724         file.
43725         [UNIX98] (sem_timedwait): Do not expect.
43726         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
43727         [XPG4 || UNIX98] (sockatmark): Do not expect.
43728         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
43729         (clock_getcpuclockid): Do not expect.
43730         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
43731         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
43732         Do not expect.
43733         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
43734         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
43735         [UNIX98] (vwscanf): Likewise.
43736         [UNIX98] (vswscanf): Likewise.
43738 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
43740         * timezone/version.h: Remove file.
43741         * timezone/README: Do not refer to version.h.
43742         * timezone/Makefile ($(objpfx)zic.o): New dependency on
43743         $(objpfx)version.h.
43744         ($(objpfx)zdump.o): Likewise.
43745         ($(objpfx)version.h): New target.
43747         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
43748         2012i.
43749         * timezone/README: Don't mention modification to tzselect.ksh.
43750         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
43751         work on unmodified tzselect.ksh.  Substitute version numbers in
43752         tzselect.ksh.
43754         * Makefile (format-me): Remove.
43755         (INSTALL): Adjust indentation.  Use commands directly instead of
43756         using $(format-me).
43758         * aclocal.m4 (ACX_PKGVERSION): New macro.
43759         (ACX_BUGURL): Likewise.
43760         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
43761         (PKGVERSION): New AC_DEFINE_UNQUOTED.
43762         (REPORT_BUGS_TO): Likewise.
43763         * configure: Regenerated.
43764         * config.h.in (PKGVERSION): New macro.
43765         (REPORT_BUGS_TO): Likewise.
43766         * config.make.in (PKGVERSION): New variable.
43767         (PKGVERSION_TEXI): Likewise.
43768         (REPORT_BUGS_TO): Likewise.
43769         (REPORT_BUGS_TEXI): Likewise.
43770         * Makefile (format-me): Use -I$(common-objpfx)manual.
43771         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
43772         ($(common-objpfx)manual/%): New target.
43773         (manual/%): Remove target.
43774         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
43775         (print_version): Use PKGVERSION.
43776         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
43777         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
43778         and REPORT_BUGS_TO.
43779         ($(objpfx)xtrace): Likewise.
43780         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
43781         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
43782         (print_version): Use PKGVERSION.
43783         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
43784         (do_version): Use PKGVERSION.
43785         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
43786         REPORT_BUGS_TO.
43787         (common-ldd-rewrite): Likewise.
43788         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
43789         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
43790         (print_version): Use PKGVERSION.
43791         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
43792         * elf/pldd.c (argp_program_bug_address): Remove variable.
43793         (more_help): New function.
43794         (argp): Use more_help.
43795         (print_version): Use PKGVERSION.
43796         * elf/sln.c (main): Use PKGVERSION.
43797         (usage): Use REPORT_BUGS_TO.
43798         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
43799         (top level): Use PKGVERSION.
43800         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
43801         (print_version): Use PKGVERSION.
43802         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
43803         (print_version): Use PKGVERSION.
43804         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
43805         (print_version): Use PKGVERSION.
43806         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
43807         (print_version): Use PKGVERSION.
43808         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
43809         (print_version): Use PKGVERSION.
43810         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
43811         (print_version): Use PKGVERSION.
43812         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
43813         and BUGURL.
43814         ($(objpfx)memusage): Likewise.
43815         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
43816         (do_version): Use PKGVERSION.
43817         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
43818         (print_version): Use PKGVERSION.
43819         * malloc/mtrace.pl ($PACKAGE): Remove variable.
43820         ($PKGVERSION): New variable.
43821         ($REPORT_BUGS_TO): Likewise.
43822         (usage): Use $REPORT_BUGS_TO.
43823         (top level): Use $PKGVERSION.
43824         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
43825         ($(objpfx)pkgvers.texi): New rule.
43826         ($(objpfx)stamp-pkgvers): Likewise.
43827         * manual/install.texi: Include pkgvers.texi.
43828         (--with-pkgversion): Document new configure option.
43829         (--with-bugurl): Likewise.
43830         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
43831         than necessarily for this particular distribution.  Use
43832         REPORT_BUGS_TO for where to report bugs.
43833         * INSTALL: Regenerated.
43834         * manual/libc.texinfo: Include pkgvers.texi.
43835         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
43836         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
43837         (print_version): Use PKGVERSION.
43838         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
43839         (print_version): Use PKGVERSION.
43840         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
43841         (print_version): Use PKGVERSION.
43842         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
43843         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
43844         macro.
43845         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
43846         (print_version): Use PKGVERSION.
43847         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
43848         (print_version): Use PKGVERSION.
43849         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
43850         and PKGVERSION.
43852         * timezone/checktab.awk: Update from tzcode 2012i.
43853         * timezone/ialloc.c: Likewise.
43854         * timezone/private.h: Likewise.
43855         * timezone/scheck.c: Likewise.
43856         * timezone/tzfile.h: Likewise.
43857         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
43858         (TZVERSION): Hardcode tzcode version number.
43859         * timezone/zdump.c: Update from tzcode 2012i.
43860         * timezone/zic.c: Likewise.
43861         * timezone/version.h: New file.
43862         * timezone/README: Describe version.h.  Update upstream location.
43864         [BZ #14824]
43865         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
43866         (mktemp): Enable declaration.
43867         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
43868         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
43869         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
43870         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
43871         Likewise.
43872         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
43873         Likewise.
43874         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
43875         Likewise.
43876         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
43877         Likewise.
43878         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
43879         Likewise.
43880         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
43881         Likewise.
43883         [BZ #14821]
43884         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
43885         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
43886         for copies of such integer values.
43887         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43888         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43890 2012-11-09  Andreas Jaeger  <aj@suse.de>
43892         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
43893         definitions and declarations that are provided by
43894         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43896 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43898         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
43899         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
43900         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
43901         definition.
43903 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43905         * elf/elf.h: Update comment before AArch64 relocations.
43907 2012-11-07  David S. Miller  <davem@davemloft.net>
43909         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
43910         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43911         (__start_context): Declare.
43912         (__makecontext_ret): Delete.
43913         (__makecontext): Hook up __start_context instead of
43914         __makecontext_ret.
43915         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
43916         (sysdep_routines): Add __start_context when in stdlib.
43918 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
43920         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
43921         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
43922         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
43923         hardcoded "nm".
43924         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
43925         (READELF): New variable.  Use it instead of hardcoded "readelf".
43927 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
43929         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
43930         * sysdeps/x86/Makefile: Here.
43931         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
43932         * sysdeps/x86/tst-xmmymm.sh: This.
43934 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
43936         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
43937         expectations.
43938         [UNIX98] (pthread_barrier_t): Do not expect.
43939         [UNIX98] (pthread_barrierattr_t): Likewise.
43940         [UNIX98] (pthread_spinlock_t): Likewise.
43941         [UNIX98] (pthread_barrier_destroy): Likewise.
43942         [UNIX98] (pthread_barrier_init): Likewise.
43943         [UNIX98] (pthread_barrier_wait): Likewise.
43944         [UNIX98] (pthread_barrierattr_destroy): Likewise.
43945         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
43946         [UNIX98] (pthread_barrierattr_init): Likewise.
43947         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
43948         [UNIX98] (pthread_getcpuclockid): Likewise.
43949         [UNIX98] (pthread_mutex_timedlock): Likewise.
43950         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
43951         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
43952         [UNIX98] (pthread_sigmask): Likewise.
43953         [UNIX98] (pthread_spin_destroy): Likewise.
43954         [UNIX98] (pthread_spin_init): Likewise.
43955         [UNIX98] (pthread_spin_lock): Likewise.
43956         [UNIX98] (pthread_spin_trylock): Likewise.
43957         [UNIX98] (pthread_spin_unlock): Likewise.
43958         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
43959         Do not expect.
43960         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
43961         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
43962         [XPG3 || XPG4] (pthread_cond_t): Likewise.
43963         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
43964         [XPG3 || XPG4] (pthread_key_t): Likewise.
43965         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
43966         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
43967         [XPG3 || XPG4] (pthread_once_t): Likewise.
43968         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
43969         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
43970         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
43971         [XPG3 || XPG4] (pthread_t): Likewise.
43973         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
43974         not expect.
43975         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
43977         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
43978         Change function return type to int.
43980         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
43981         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
43982         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
43983         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
43984         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
43985         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
43986         [!POSIX] (posix_madvise): Likewise.
43987         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
43988         && !UNIX98].
43989         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
43990         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
43991         (mode_t): Likewise.
43992         (posix_mem_offset): Likewise.
43993         (posix_typed_mem_get_info): Likewise.
43994         (posix_typed_mem_open): Likewise.
43996         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
43997         Change condition to [XOPEN2K8].
43999         * conform/conformtest.pl: Preprocess allow-header data with -x c
44000         instead of from stdin.
44001         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
44002         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
44003         [C99-based standards] (cerfc): Likewise.
44004         [C99-based standards] (cexp2): Likewise.
44005         [C99-based standards] (cexpm1): Likewise.
44006         [C99-based standards] (clog10): Likewise.
44007         [C99-based standards] (clog1p): Likewise.
44008         [C99-based standards] (clog2): Likewise.
44009         [C99-based standards] (clgamma): Likewise.
44010         [C99-based standards] (ctgamma): Likewise.
44011         [C99-based standards] (cerff): Likewise.
44012         [C99-based standards] (cerfcf): Likewise.
44013         [C99-based standards] (cexp2f): Likewise.
44014         [C99-based standards] (cexpm1f): Likewise.
44015         [C99-based standards] (clog10f): Likewise.
44016         [C99-based standards] (clog1pf): Likewise.
44017         [C99-based standards] (clog2f): Likewise.
44018         [C99-based standards] (clgammaf): Likewise.
44019         [C99-based standards] (ctgammaf): Likewise.
44020         [C99-based standards] (cerfl): Likewise.
44021         [C99-based standards] (cerfcl): Likewise.
44022         [C99-based standards] (cexp2l): Likewise.
44023         [C99-based standards] (cexpm1l): Likewise.
44024         [C99-based standards] (clog10l): Likewise.
44025         [C99-based standards] (clog1pl): Likewise.
44026         [C99-based standards] (clog2l): Likewise.
44027         [C99-based standards] (clgammal): Likewise.
44028         [C99-based standards] (ctgammal): Likewise.
44029         * conform/data/inttypes.h-data [C99-based standards]: Include
44030         stdint.h-data.  Remove all expectations for stdint.h contents.
44031         [C99-based standards] (PRI*): Do not allow.
44032         [C99-based standards] (SCN*): Likewise.
44033         [C99-based standards] (*_t): Likewise.
44034         [C99-based-standards] (PRId8): Expect macro.
44035         [C99-based-standards] (PRIi8): Likewise.
44036         [C99-based-standards] (PRIo8): Likewise.
44037         [C99-based-standards] (PRIu8): Likewise.
44038         [C99-based-standards] (PRIx8): Likewise.
44039         [C99-based-standards] (PRIX8): Likewise.
44040         [C99-based-standards] (SCNd8): Likewise.
44041         [C99-based-standards] (SCNi8): Likewise.
44042         [C99-based-standards] (SCNo8): Likewise.
44043         [C99-based-standards] (SCNu8): Likewise.
44044         [C99-based-standards] (SCNx8): Likewise.
44045         [C99-based-standards] (PRIdLEAST8): Likewise.
44046         [C99-based-standards] (PRIiLEAST8): Likewise.
44047         [C99-based-standards] (PRIoLEAST8): Likewise.
44048         [C99-based-standards] (PRIuLEAST8): Likewise.
44049         [C99-based-standards] (PRIxLEAST8): Likewise.
44050         [C99-based-standards] (PRIXLEAST8): Likewise.
44051         [C99-based-standards] (SCNdLEAST8): Likewise.
44052         [C99-based-standards] (SCNiLEAST8): Likewise.
44053         [C99-based-standards] (SCNoLEAST8): Likewise.
44054         [C99-based-standards] (SCNuLEAST8): Likewise.
44055         [C99-based-standards] (SCNxLEAST8): Likewise.
44056         [C99-based-standards] (PRIdFAST8): Likewise.
44057         [C99-based-standards] (PRIiFAST8): Likewise.
44058         [C99-based-standards] (PRIoFAST8): Likewise.
44059         [C99-based-standards] (PRIuFAST8): Likewise.
44060         [C99-based-standards] (PRIxFAST8): Likewise.
44061         [C99-based-standards] (PRIXFAST8): Likewise.
44062         [C99-based-standards] (SCNdFAST8): Likewise.
44063         [C99-based-standards] (SCNiFAST8): Likewise.
44064         [C99-based-standards] (SCNoFAST8): Likewise.
44065         [C99-based-standards] (SCNuFAST8): Likewise.
44066         [C99-based-standards] (SCNxFAST8): Likewise.
44067         [C99-based-standards] (PRId16): Likewise.
44068         [C99-based-standards] (PRIi16): Likewise.
44069         [C99-based-standards] (PRIo16): Likewise.
44070         [C99-based-standards] (PRIu16): Likewise.
44071         [C99-based-standards] (PRIx16): Likewise.
44072         [C99-based-standards] (PRIX16): Likewise.
44073         [C99-based-standards] (SCNd16): Likewise.
44074         [C99-based-standards] (SCNi16): Likewise.
44075         [C99-based-standards] (SCNo16): Likewise.
44076         [C99-based-standards] (SCNu16): Likewise.
44077         [C99-based-standards] (SCNx16): Likewise.
44078         [C99-based-standards] (PRIdLEAST16): Likewise.
44079         [C99-based-standards] (PRIiLEAST16): Likewise.
44080         [C99-based-standards] (PRIoLEAST16): Likewise.
44081         [C99-based-standards] (PRIuLEAST16): Likewise.
44082         [C99-based-standards] (PRIxLEAST16): Likewise.
44083         [C99-based-standards] (PRIXLEAST16): Likewise.
44084         [C99-based-standards] (SCNdLEAST16): Likewise.
44085         [C99-based-standards] (SCNiLEAST16): Likewise.
44086         [C99-based-standards] (SCNoLEAST16): Likewise.
44087         [C99-based-standards] (SCNuLEAST16): Likewise.
44088         [C99-based-standards] (SCNxLEAST16): Likewise.
44089         [C99-based-standards] (PRIdFAST16): Likewise.
44090         [C99-based-standards] (PRIiFAST16): Likewise.
44091         [C99-based-standards] (PRIoFAST16): Likewise.
44092         [C99-based-standards] (PRIuFAST16): Likewise.
44093         [C99-based-standards] (PRIxFAST16): Likewise.
44094         [C99-based-standards] (PRIXFAST16): Likewise.
44095         [C99-based-standards] (SCNdFAST16): Likewise.
44096         [C99-based-standards] (SCNiFAST16): Likewise.
44097         [C99-based-standards] (SCNoFAST16): Likewise.
44098         [C99-based-standards] (SCNuFAST16): Likewise.
44099         [C99-based-standards] (SCNxFAST16): Likewise.
44100         [C99-based-standards] (PRId32): Likewise.
44101         [C99-based-standards] (PRIi32): Likewise.
44102         [C99-based-standards] (PRIo32): Likewise.
44103         [C99-based-standards] (PRIu32): Likewise.
44104         [C99-based-standards] (PRIx32): Likewise.
44105         [C99-based-standards] (PRIX32): Likewise.
44106         [C99-based-standards] (SCNd32): Likewise.
44107         [C99-based-standards] (SCNi32): Likewise.
44108         [C99-based-standards] (SCNo32): Likewise.
44109         [C99-based-standards] (SCNu32): Likewise.
44110         [C99-based-standards] (SCNx32): Likewise.
44111         [C99-based-standards] (PRIdLEAST32): Likewise.
44112         [C99-based-standards] (PRIiLEAST32): Likewise.
44113         [C99-based-standards] (PRIoLEAST32): Likewise.
44114         [C99-based-standards] (PRIuLEAST32): Likewise.
44115         [C99-based-standards] (PRIxLEAST32): Likewise.
44116         [C99-based-standards] (PRIXLEAST32): Likewise.
44117         [C99-based-standards] (SCNdLEAST32): Likewise.
44118         [C99-based-standards] (SCNiLEAST32): Likewise.
44119         [C99-based-standards] (SCNoLEAST32): Likewise.
44120         [C99-based-standards] (SCNuLEAST32): Likewise.
44121         [C99-based-standards] (SCNxLEAST32): Likewise.
44122         [C99-based-standards] (PRIdFAST32): Likewise.
44123         [C99-based-standards] (PRIiFAST32): Likewise.
44124         [C99-based-standards] (PRIoFAST32): Likewise.
44125         [C99-based-standards] (PRIuFAST32): Likewise.
44126         [C99-based-standards] (PRIxFAST32): Likewise.
44127         [C99-based-standards] (PRIXFAST32): Likewise.
44128         [C99-based-standards] (SCNdFAST32): Likewise.
44129         [C99-based-standards] (SCNiFAST32): Likewise.
44130         [C99-based-standards] (SCNoFAST32): Likewise.
44131         [C99-based-standards] (SCNuFAST32): Likewise.
44132         [C99-based-standards] (SCNxFAST32): Likewise.
44133         [C99-based-standards] (PRId64): Likewise.
44134         [C99-based-standards] (PRIi64): Likewise.
44135         [C99-based-standards] (PRIo64): Likewise.
44136         [C99-based-standards] (PRIu64): Likewise.
44137         [C99-based-standards] (PRIx64): Likewise.
44138         [C99-based-standards] (PRIX64): Likewise.
44139         [C99-based-standards] (SCNd64): Likewise.
44140         [C99-based-standards] (SCNi64): Likewise.
44141         [C99-based-standards] (SCNo64): Likewise.
44142         [C99-based-standards] (SCNu64): Likewise.
44143         [C99-based-standards] (SCNx64): Likewise.
44144         [C99-based-standards] (PRIdLEAST64): Likewise.
44145         [C99-based-standards] (PRIiLEAST64): Likewise.
44146         [C99-based-standards] (PRIoLEAST64): Likewise.
44147         [C99-based-standards] (PRIuLEAST64): Likewise.
44148         [C99-based-standards] (PRIxLEAST64): Likewise.
44149         [C99-based-standards] (PRIXLEAST64): Likewise.
44150         [C99-based-standards] (SCNdLEAST64): Likewise.
44151         [C99-based-standards] (SCNiLEAST64): Likewise.
44152         [C99-based-standards] (SCNoLEAST64): Likewise.
44153         [C99-based-standards] (SCNuLEAST64): Likewise.
44154         [C99-based-standards] (SCNxLEAST64): Likewise.
44155         [C99-based-standards] (PRIdFAST64): Likewise.
44156         [C99-based-standards] (PRIiFAST64): Likewise.
44157         [C99-based-standards] (PRIoFAST64): Likewise.
44158         [C99-based-standards] (PRIuFAST64): Likewise.
44159         [C99-based-standards] (PRIxFAST64): Likewise.
44160         [C99-based-standards] (PRIXFAST64): Likewise.
44161         [C99-based-standards] (SCNdFAST64): Likewise.
44162         [C99-based-standards] (SCNiFAST64): Likewise.
44163         [C99-based-standards] (SCNoFAST64): Likewise.
44164         [C99-based-standards] (SCNuFAST64): Likewise.
44165         [C99-based-standards] (SCNxFAST64): Likewise.
44166         [C99-based-standards] (PRIdMAX): Likewise.
44167         [C99-based-standards] (PRIiMAX): Likewise.
44168         [C99-based-standards] (PRIoMAX): Likewise.
44169         [C99-based-standards] (PRIuMAX): Likewise.
44170         [C99-based-standards] (PRIxMAX): Likewise.
44171         [C99-based-standards] (PRIXMAX): Likewise.
44172         [C99-based-standards] (SCNdMAX): Likewise.
44173         [C99-based-standards] (SCNiMAX): Likewise.
44174         [C99-based-standards] (SCNoMAX): Likewise.
44175         [C99-based-standards] (SCNuMAX): Likewise.
44176         [C99-based-standards] (SCNxMAX): Likewise.
44177         [C99-based-standards] (PRIdPTR): Likewise.
44178         [C99-based-standards] (PRIiPTR): Likewise.
44179         [C99-based-standards] (PRIoPTR): Likewise.
44180         [C99-based-standards] (PRIuPTR): Likewise.
44181         [C99-based-standards] (PRIxPTR): Likewise.
44182         [C99-based-standards] (PRIXPTR): Likewise.
44183         [C99-based-standards] (SCNdPTR): Likewise.
44184         [C99-based-standards] (SCNiPTR): Likewise.
44185         [C99-based-standards] (SCNoPTR): Likewise.
44186         [C99-based-standards] (SCNuPTR): Likewise.
44187         [C99-based-standards] (SCNxPTR): Likewise.
44188         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
44189         allow.
44190         * conform/data/stdint.h-data: Update comments to clarify
44191         requirements.
44192         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
44193         type.
44194         [C99-based standards] (INT8_MAX): Likewise.
44195         [C99-based standards] (INT16_MIN): Likewise.
44196         [C99-based standards] (INT16_MAX): Likewise.
44197         [C99-based standards] (INT32_MIN): Likewise.
44198         [C99-based standards] (INT32_MAX): Likewise.
44199         [C99-based standards] (INT64_MIN): Likewise.
44200         [C99-based standards] (INT64_MAX): Likewise.
44201         [C99-based standards] (UINT8_MAX): Likewise.
44202         [C99-based standards] (UINT16_MAX): Likewise.
44203         [C99-based standards] (UINT32_MAX): Likewise.
44204         [C99-based standards] (UINT64_MAX): Likewise.
44205         [C99-based standards] (INT_LEAST8_MIN): Likewise.
44206         [C99-based standards] (INT_LEAST8_MAX): Likewise.
44207         [C99-based standards] (INT_LEAST16_MIN): Likewise.
44208         [C99-based standards] (INT_LEAST16_MAX): Likewise.
44209         [C99-based standards] (INT_LEAST32_MIN): Likewise.
44210         [C99-based standards] (INT_LEAST32_MAX): Likewise.
44211         [C99-based standards] (INT_LEAST64_MIN): Likewise.
44212         [C99-based standards] (INT_LEAST64_MAX): Likewise.
44213         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
44214         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
44215         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
44216         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
44217         [C99-based standards] (INT_FAST8_MIN): Likewise.
44218         [C99-based standards] (INT_FAST8_MAX): Likewise.
44219         [C99-based standards] (INT_FAST16_MIN): Likewise.
44220         [C99-based standards] (INT_FAST16_MAX): Likewise.
44221         [C99-based standards] (INT_FAST32_MIN): Likewise.
44222         [C99-based standards] (INT_FAST32_MAX): Likewise.
44223         [C99-based standards] (INT_FAST64_MIN): Likewise.
44224         [C99-based standards] (INT_FAST64_MAX): Likewise.
44225         [C99-based standards] (UINT_FAST8_MAX): Likewise.
44226         [C99-based standards] (UINT_FAST16_MAX): Likewise.
44227         [C99-based standards] (UINT_FAST32_MAX): Likewise.
44228         [C99-based standards] (UINT_FAST64_MAX): Likewise.
44229         [C99-based standards] (INTPTR_MIN): Likewise.
44230         [C99-based standards] (INTPTR_MAX): Likewise.
44231         [C99-based standards] (UINTPTR_MAX): Likewise.
44232         [C99-based standards] (INTMAX_MIN): Likewise.
44233         [C99-based standards] (INTMAX_MAX): Likewise.
44234         [C99-based standards] (UINTMAX_MAX): Likewise.
44235         [C99-based standards] (PTRDIFF_MIN): Likewise.
44236         [C99-based standards] (PTRDIFF_MAX): Likewise.
44237         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
44238         [C99-based standards] (SIZE_MAX): Likewise.
44239         [C99-based standards] (WCHAR_MAX): Likewise.
44240         [C99-based standards] (WINT_MAX): Likewise.
44241         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
44242         constraint on value.
44243         [C99-based standards] (WCHAR_MIN): Likewise.
44244         [C99-based standards] (WINT_MIN): Likewise.
44245         [C99-based standards] (*_t): Allow.
44246         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
44247         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
44248         Include math.h-data and complex.h-data.  Remove all expectations
44249         of math.h and complex.h contents.
44250         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
44251         at end of line.
44252         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
44253         (struct tm): Expect tag.
44254         [C99-based-standards] (wcstof): Expect function.
44255         [C99-based-standards] (wcstold): Likewise.
44256         [C99-based-standards] (wcstoll): Likewise.
44257         [C99-based-standards] (wcstoull): Likewise.
44258         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
44259         macro-int-constant.  Specify type.
44260         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
44261         constraint on value.
44262         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44263         Specify type.
44264         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
44265         Specify value.
44266         [ISO C standards]: Do not allow headers.
44267         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
44268         wcs[abcdefghijklmnopqrstuvwxyz]*.
44269         [ISO C standards] (*_t): Do not allow.
44270         * conform/data/wctype.h-data [C99-based standards] (iswblank):
44271         Expect function.
44272         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
44273         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44274         Specify type.
44275         [ISO C standards]: Do not allow headers.
44276         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
44277         is[abcdefghijklmnopqrstuvwxyz]*.
44278         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
44279         to[abcdefghijklmnopqrstuvwxyz]*.
44280         [ISO C standards] (*_t): Do not allow.
44281         * conform/data/stdalign.h-data: New file.
44282         * conform/data/stdbool.h-data: Likewise.
44283         * conform/data/stdnoreturn.h-data: Likewise.
44285 2012-11-07  Roland McGrath  <roland@hack.frob.com>
44287         [BZ #14815]
44288         * manual/filesys.texi (Directory Entries): Typo fix.
44289         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
44291 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44293         * elf/elf.h (EM_AARCH64): New macro.
44294         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
44295         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
44296         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
44297         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
44298         (R_AARCH64_TLSDESC): Likewise.
44299         (NT_ARM_TLS): Likewise.
44300         (NT_ARM_HW_BREAK): Likewise.
44301         (NT_ARM_HW_WATCH): Likewise.
44303 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
44305         [BZ #14811]
44306         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
44307         (__ieee754_powl): Saturate nonzero exponents with absolute value
44308         below 0x1p-79 to +/- 0x1p-79.
44309         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
44310         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
44311         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
44312         nonzero exponents with absolute value below 0x1p-32 to +/-
44313         0x1p-32.
44314         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
44315         (__ieee754_powl): Saturate nonzero exponents with absolute value
44316         below 0x1p-79 to +/- 0x1p-79.
44317         * math/libm-test.inc (pow_test): Add more tests.
44319 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44321         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
44322         _dl_s390_cap_flags with kernel. Increase string length.
44323         (_dl_s390_platforms): Add z196 and zEC12.
44325 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
44327         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
44328         Change XOPEN21K to XOPEN2K.
44330 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
44332         * string/memmove.c: Use memcpy when possible.
44334 2012-11-06  Andreas Jaeger  <aj@suse.de>
44336         * po/eo.po: Update from translation team.
44338 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
44340         [BZ #14793]
44341         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
44342         exponent and small x and y exponents, scale x or y up.  Increase
44343         by 2 the exponent used in scaling up.
44344         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44345         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44346         * math/libm-test.inc (fma_test): Add more tests.
44347         (fma_test_towardzero): Likewise.
44348         (fma_test_downward): Likewise.
44349         (fma_test_upward): Likewise.
44351 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
44353         [BZ #14805]
44354         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
44355         fenv_t *.
44357         [BZ #14801]
44358         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
44359         namespace for names of struct fields.
44360         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
44361         fenv_t fields.
44362         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
44363         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
44365 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44367         [BZ #3665]
44368         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
44370 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
44372         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
44373         PTR_DEMANGLE.
44375         [BZ #5246]
44376         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
44377         PTR_DEMANGLE.
44379 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
44381         [BZ #14797]
44382         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
44383         definitely overflow as x * y not x * y + z.
44384         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44385         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44386         * math/libm-test.inc (fma_test): Add more tests.
44387         (fma_test_towardzero): Likewise.
44388         (fma_test_downward): Likewise.
44389         (fma_test_upward): Likewise.
44391 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
44393         [BZ #157]
44395         * include/stub-tag.h: Remove file.
44396         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
44397         '#include' of it.
44398         * manual/maint.texi (Porting): Don't reference it.
44399         * Makerules ($(objpfx)stubs): Likewise.
44400         * dirent/closedir.c: Don't include <stub-tag.h>.
44401         * dirent/dirfd.c: Likewise.
44402         * dirent/fdopendir.c: Likewise.
44403         * dirent/getdents.c: Likewise.
44404         * dirent/getdents64.c: Likewise.
44405         * dirent/opendir.c: Likewise.
44406         * dirent/readdir.c: Likewise.
44407         * dirent/readdir64.c: Likewise.
44408         * dirent/readdir64_r.c: Likewise.
44409         * dirent/readdir_r.c: Likewise.
44410         * dirent/rewinddir.c: Likewise.
44411         * dirent/seekdir.c: Likewise.
44412         * dirent/telldir.c: Likewise.
44413         * gmon/profil.c: Likewise.
44414         * grp/setgroups.c: Likewise.
44415         * inet/if_index.c: Likewise.
44416         * io/access.c: Likewise.
44417         * io/chdir.c: Likewise.
44418         * io/chmod.c: Likewise.
44419         * io/chown.c: Likewise.
44420         * io/close.c: Likewise.
44421         * io/dup.c: Likewise.
44422         * io/dup2.c: Likewise.
44423         * io/dup3.c: Likewise.
44424         * io/euidaccess.c: Likewise.
44425         * io/faccessat.c: Likewise.
44426         * io/fchdir.c: Likewise.
44427         * io/fchmod.c: Likewise.
44428         * io/fchmodat.c: Likewise.
44429         * io/fchown.c: Likewise.
44430         * io/fchownat.c: Likewise.
44431         * io/fcntl.c: Likewise.
44432         * io/flock.c: Likewise.
44433         * io/fstatfs.c: Likewise.
44434         * io/fstatfs64.c: Likewise.
44435         * io/fstatvfs.c: Likewise.
44436         * io/fstatvfs64.c: Likewise.
44437         * io/futimens.c: Likewise.
44438         * io/fxstat.c: Likewise.
44439         * io/fxstat64.c: Likewise.
44440         * io/fxstatat.c: Likewise.
44441         * io/fxstatat64.c: Likewise.
44442         * io/getcwd.c: Likewise.
44443         * io/isatty.c: Likewise.
44444         * io/lchmod.c: Likewise.
44445         * io/lchown.c: Likewise.
44446         * io/link.c: Likewise.
44447         * io/linkat.c: Likewise.
44448         * io/lseek.c: Likewise.
44449         * io/lseek64.c: Likewise.
44450         * io/lxstat64.c: Likewise.
44451         * io/mkdir.c: Likewise.
44452         * io/mkdirat.c: Likewise.
44453         * io/mkfifo.c: Likewise.
44454         * io/mkfifoat.c: Likewise.
44455         * io/open.c: Likewise.
44456         * io/open64.c: Likewise.
44457         * io/openat.c: Likewise.
44458         * io/openat64.c: Likewise.
44459         * io/pipe.c: Likewise.
44460         * io/pipe2.c: Likewise.
44461         * io/poll.c: Likewise.
44462         * io/posix_fadvise.c: Likewise.
44463         * io/posix_fadvise64.c: Likewise.
44464         * io/posix_fallocate.c: Likewise.
44465         * io/posix_fallocate64.c: Likewise.
44466         * io/read.c: Likewise.
44467         * io/readlink.c: Likewise.
44468         * io/readlinkat.c: Likewise.
44469         * io/rmdir.c: Likewise.
44470         * io/sendfile.c: Likewise.
44471         * io/sendfile64.c: Likewise.
44472         * io/statfs.c: Likewise.
44473         * io/statfs64.c: Likewise.
44474         * io/statvfs.c: Likewise.
44475         * io/statvfs64.c: Likewise.
44476         * io/symlink.c: Likewise.
44477         * io/symlinkat.c: Likewise.
44478         * io/ttyname.c: Likewise.
44479         * io/ttyname_r.c: Likewise.
44480         * io/umask.c: Likewise.
44481         * io/unlink.c: Likewise.
44482         * io/unlinkat.c: Likewise.
44483         * io/utime.c: Likewise.
44484         * io/utimensat.c: Likewise.
44485         * io/write.c: Likewise.
44486         * io/xmknod.c: Likewise.
44487         * io/xmknodat.c: Likewise.
44488         * io/xstat.c: Likewise.
44489         * io/xstat64.c: Likewise.
44490         * login/getpt.c: Likewise.
44491         * login/grantpt.c: Likewise.
44492         * login/unlockpt.c: Likewise.
44493         * math/e_acoshl.c: Likewise.
44494         * math/e_acosl.c: Likewise.
44495         * math/e_asinl.c: Likewise.
44496         * math/e_atan2l.c: Likewise.
44497         * math/e_atanhl.c: Likewise.
44498         * math/e_coshl.c: Likewise.
44499         * math/e_expl.c: Likewise.
44500         * math/e_fmodl.c: Likewise.
44501         * math/e_gammal_r.c: Likewise.
44502         * math/e_hypotl.c: Likewise.
44503         * math/e_j0l.c: Likewise.
44504         * math/e_j1l.c: Likewise.
44505         * math/e_jnl.c: Likewise.
44506         * math/e_lgammal_r.c: Likewise.
44507         * math/e_log10l.c: Likewise.
44508         * math/e_log2l.c: Likewise.
44509         * math/e_logl.c: Likewise.
44510         * math/e_powl.c: Likewise.
44511         * math/e_rem_pio2l.c: Likewise.
44512         * math/e_sinhl.c: Likewise.
44513         * math/e_sqrtl.c: Likewise.
44514         * math/fclrexcpt.c: Likewise.
44515         * math/fedisblxcpt.c: Likewise.
44516         * math/feenablxcpt.c: Likewise.
44517         * math/fegetenv.c: Likewise.
44518         * math/fegetexcept.c: Likewise.
44519         * math/fegetround.c: Likewise.
44520         * math/feholdexcpt.c: Likewise.
44521         * math/fesetenv.c: Likewise.
44522         * math/fesetround.c: Likewise.
44523         * math/feupdateenv.c: Likewise.
44524         * math/fgetexcptflg.c: Likewise.
44525         * math/fraiseexcpt.c: Likewise.
44526         * math/fsetexcptflg.c: Likewise.
44527         * math/ftestexcept.c: Likewise.
44528         * math/k_cosl.c: Likewise.
44529         * math/k_rem_pio2l.c: Likewise.
44530         * math/k_sinl.c: Likewise.
44531         * math/k_tanl.c: Likewise.
44532         * math/s_asinhl.c: Likewise.
44533         * math/s_atanl.c: Likewise.
44534         * math/s_cbrtl.c: Likewise.
44535         * math/s_erfl.c: Likewise.
44536         * math/s_expm1l.c: Likewise.
44537         * math/s_log1pl.c: Likewise.
44538         * math/s_tanhl.c: Likewise.
44539         * misc/acct.c: Likewise.
44540         * misc/brk.c: Likewise.
44541         * misc/chflags.c: Likewise.
44542         * misc/chroot.c: Likewise.
44543         * misc/fchflags.c: Likewise.
44544         * misc/fgetxattr.c: Likewise.
44545         * misc/flistxattr.c: Likewise.
44546         * misc/fremovexattr.c: Likewise.
44547         * misc/fsetxattr.c: Likewise.
44548         * misc/fsync.c: Likewise.
44549         * misc/ftruncate.c: Likewise.
44550         * misc/futimes.c: Likewise.
44551         * misc/futimesat.c: Likewise.
44552         * misc/getdomain.c: Likewise.
44553         * misc/getdtsz.c: Likewise.
44554         * misc/gethostid.c: Likewise.
44555         * misc/gethostname.c: Likewise.
44556         * misc/getloadavg.c: Likewise.
44557         * misc/getpagesize.c: Likewise.
44558         * misc/getsysstats.c: Likewise.
44559         * misc/getxattr.c: Likewise.
44560         * misc/gtty.c: Likewise.
44561         * misc/ioctl.c: Likewise.
44562         * misc/lgetxattr.c: Likewise.
44563         * misc/listxattr.c: Likewise.
44564         * misc/llistxattr.c: Likewise.
44565         * misc/lremovexattr.c: Likewise.
44566         * misc/lsetxattr.c: Likewise.
44567         * misc/lutimes.c: Likewise.
44568         * misc/madvise.c: Likewise.
44569         * misc/mincore.c: Likewise.
44570         * misc/mlock.c: Likewise.
44571         * misc/mlockall.c: Likewise.
44572         * misc/mmap.c: Likewise.
44573         * misc/mprotect.c: Likewise.
44574         * misc/msync.c: Likewise.
44575         * misc/munlock.c: Likewise.
44576         * misc/munlockall.c: Likewise.
44577         * misc/munmap.c: Likewise.
44578         * misc/preadv.c: Likewise.
44579         * misc/preadv64.c: Likewise.
44580         * misc/ptrace.c: Likewise.
44581         * misc/pwritev.c: Likewise.
44582         * misc/pwritev64.c: Likewise.
44583         * misc/readv.c: Likewise.
44584         * misc/reboot.c: Likewise.
44585         * misc/remap_file_pages.c: Likewise.
44586         * misc/removexattr.c: Likewise.
44587         * misc/revoke.c: Likewise.
44588         * misc/select.c: Likewise.
44589         * misc/setdomain.c: Likewise.
44590         * misc/setegid.c: Likewise.
44591         * misc/seteuid.c: Likewise.
44592         * misc/sethostid.c: Likewise.
44593         * misc/sethostname.c: Likewise.
44594         * misc/setregid.c: Likewise.
44595         * misc/setreuid.c: Likewise.
44596         * misc/setxattr.c: Likewise.
44597         * misc/sstk.c: Likewise.
44598         * misc/stty.c: Likewise.
44599         * misc/swapoff.c: Likewise.
44600         * misc/swapon.c: Likewise.
44601         * misc/sync.c: Likewise.
44602         * misc/syncfs.c: Likewise.
44603         * misc/syscall.c: Likewise.
44604         * misc/truncate.c: Likewise.
44605         * misc/ualarm.c: Likewise.
44606         * misc/usleep.c: Likewise.
44607         * misc/ustat.c: Likewise.
44608         * misc/utimes.c: Likewise.
44609         * misc/vhangup.c: Likewise.
44610         * misc/writev.c: Likewise.
44611         * posix/_exit.c: Likewise.
44612         * posix/alarm.c: Likewise.
44613         * posix/execve.c: Likewise.
44614         * posix/fexecve.c: Likewise.
44615         * posix/fork.c: Likewise.
44616         * posix/fpathconf.c: Likewise.
44617         * posix/getaddrinfo.c: Likewise.
44618         * posix/getegid.c: Likewise.
44619         * posix/geteuid.c: Likewise.
44620         * posix/getgid.c: Likewise.
44621         * posix/getgroups.c: Likewise.
44622         * posix/getlogin.c: Likewise.
44623         * posix/getlogin_r.c: Likewise.
44624         * posix/getpgid.c: Likewise.
44625         * posix/getpid.c: Likewise.
44626         * posix/getppid.c: Likewise.
44627         * posix/getresgid.c: Likewise.
44628         * posix/getresuid.c: Likewise.
44629         * posix/getsid.c: Likewise.
44630         * posix/getuid.c: Likewise.
44631         * posix/glob64.c: Likewise.
44632         * posix/nanosleep.c: Likewise.
44633         * posix/pathconf.c: Likewise.
44634         * posix/pause.c: Likewise.
44635         * posix/posix_madvise.c: Likewise.
44636         * posix/pread.c: Likewise.
44637         * posix/pread64.c: Likewise.
44638         * posix/pwrite.c: Likewise.
44639         * posix/pwrite64.c: Likewise.
44640         * posix/sched_getaffinity.c: Likewise.
44641         * posix/sched_getp.c: Likewise.
44642         * posix/sched_gets.c: Likewise.
44643         * posix/sched_primax.c: Likewise.
44644         * posix/sched_primin.c: Likewise.
44645         * posix/sched_rr_gi.c: Likewise.
44646         * posix/sched_setaffinity.c: Likewise.
44647         * posix/sched_setp.c: Likewise.
44648         * posix/sched_sets.c: Likewise.
44649         * posix/sched_yield.c: Likewise.
44650         * posix/setgid.c: Likewise.
44651         * posix/setlogin.c: Likewise.
44652         * posix/setpgid.c: Likewise.
44653         * posix/setresgid.c: Likewise.
44654         * posix/setresuid.c: Likewise.
44655         * posix/setsid.c: Likewise.
44656         * posix/setuid.c: Likewise.
44657         * posix/sleep.c: Likewise.
44658         * posix/spawni.c: Likewise.
44659         * posix/sysconf.c: Likewise.
44660         * posix/times.c: Likewise.
44661         * posix/wait.c: Likewise.
44662         * posix/wait3.c: Likewise.
44663         * posix/wait4.c: Likewise.
44664         * posix/waitpid.c: Likewise.
44665         * resolv/gai_sigqueue.c: Likewise.
44666         * resource/getpriority.c: Likewise.
44667         * resource/getrlimit.c: Likewise.
44668         * resource/getrusage.c: Likewise.
44669         * resource/nice.c: Likewise.
44670         * resource/setpriority.c: Likewise.
44671         * resource/setrlimit.c: Likewise.
44672         * resource/ulimit.c: Likewise.
44673         * rt/aio_cancel.c: Likewise.
44674         * rt/aio_fsync.c: Likewise.
44675         * rt/aio_read.c: Likewise.
44676         * rt/aio_sigqueue.c: Likewise.
44677         * rt/aio_suspend.c: Likewise.
44678         * rt/aio_write.c: Likewise.
44679         * rt/clock_getres.c: Likewise.
44680         * rt/clock_gettime.c: Likewise.
44681         * rt/clock_nanosleep.c: Likewise.
44682         * rt/clock_settime.c: Likewise.
44683         * rt/lio_listio.c: Likewise.
44684         * rt/mq_close.c: Likewise.
44685         * rt/mq_getattr.c: Likewise.
44686         * rt/mq_notify.c: Likewise.
44687         * rt/mq_open.c: Likewise.
44688         * rt/mq_receive.c: Likewise.
44689         * rt/mq_send.c: Likewise.
44690         * rt/mq_setattr.c: Likewise.
44691         * rt/mq_timedreceive.c: Likewise.
44692         * rt/mq_timedsend.c: Likewise.
44693         * rt/mq_unlink.c: Likewise.
44694         * rt/shm_open.c: Likewise.
44695         * rt/shm_unlink.c: Likewise.
44696         * rt/timer_create.c: Likewise.
44697         * rt/timer_delete.c: Likewise.
44698         * rt/timer_getoverr.c: Likewise.
44699         * rt/timer_gettime.c: Likewise.
44700         * rt/timer_settime.c: Likewise.
44701         * setjmp/__longjmp.c: Likewise.
44702         * setjmp/setjmp.c: Likewise.
44703         * signal/kill.c: Likewise.
44704         * signal/killpg.c: Likewise.
44705         * signal/raise.c: Likewise.
44706         * signal/sigaction.c: Likewise.
44707         * signal/sigaltstack.c: Likewise.
44708         * signal/sigblock.c: Likewise.
44709         * signal/sigignore.c: Likewise.
44710         * signal/sigintr.c: Likewise.
44711         * signal/signal.c: Likewise.
44712         * signal/sigpause.c: Likewise.
44713         * signal/sigpending.c: Likewise.
44714         * signal/sigqueue.c: Likewise.
44715         * signal/sigreturn.c: Likewise.
44716         * signal/sigset.c: Likewise.
44717         * signal/sigsetmask.c: Likewise.
44718         * signal/sigstack.c: Likewise.
44719         * signal/sigsuspend.c: Likewise.
44720         * signal/sigtimedwait.c: Likewise.
44721         * signal/sigvec.c: Likewise.
44722         * signal/sigwait.c: Likewise.
44723         * signal/sigwaitinfo.c: Likewise.
44724         * signal/sysv_signal.c: Likewise.
44725         * socket/accept.c: Likewise.
44726         * socket/accept4.c: Likewise.
44727         * socket/bind.c: Likewise.
44728         * socket/connect.c: Likewise.
44729         * socket/getpeername.c: Likewise.
44730         * socket/getsockname.c: Likewise.
44731         * socket/getsockopt.c: Likewise.
44732         * socket/isfdtype.c: Likewise.
44733         * socket/listen.c: Likewise.
44734         * socket/recv.c: Likewise.
44735         * socket/recvfrom.c: Likewise.
44736         * socket/recvmsg.c: Likewise.
44737         * socket/send.c: Likewise.
44738         * socket/sendmsg.c: Likewise.
44739         * socket/sendto.c: Likewise.
44740         * socket/setsockopt.c: Likewise.
44741         * socket/shutdown.c: Likewise.
44742         * socket/sockatmark.c: Likewise.
44743         * socket/socket.c: Likewise.
44744         * socket/socketpair.c: Likewise.
44745         * stdio-common/ctermid.c: Likewise.
44746         * stdio-common/cuserid.c: Likewise.
44747         * stdio-common/remove.c: Likewise.
44748         * stdio-common/rename.c: Likewise.
44749         * stdio-common/renameat.c: Likewise.
44750         * stdio-common/tempname.c: Likewise.
44751         * stdlib/getcontext.c: Likewise.
44752         * stdlib/makecontext.c: Likewise.
44753         * stdlib/setcontext.c: Likewise.
44754         * stdlib/swapcontext.c: Likewise.
44755         * stdlib/system.c: Likewise.
44756         * streams/fattach.c: Likewise.
44757         * streams/fdetach.c: Likewise.
44758         * streams/getmsg.c: Likewise.
44759         * streams/getpmsg.c: Likewise.
44760         * streams/putmsg.c: Likewise.
44761         * streams/putpmsg.c: Likewise.
44762         * sysdeps/unix/bsd/getpt.c: Likewise.
44763         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
44764         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
44765         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44767         Likewise.
44768         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
44769         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44770         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
44771         * sysvipc/msgctl.c: Likewise.
44772         * sysvipc/msgget.c: Likewise.
44773         * sysvipc/msgrcv.c: Likewise.
44774         * sysvipc/msgsnd.c: Likewise.
44775         * sysvipc/semctl.c: Likewise.
44776         * sysvipc/semget.c: Likewise.
44777         * sysvipc/semop.c: Likewise.
44778         * sysvipc/semtimedop.c: Likewise.
44779         * sysvipc/shmat.c: Likewise.
44780         * sysvipc/shmctl.c: Likewise.
44781         * sysvipc/shmdt.c: Likewise.
44782         * sysvipc/shmget.c: Likewise.
44783         * termios/tcdrain.c: Likewise.
44784         * termios/tcflow.c: Likewise.
44785         * termios/tcflush.c: Likewise.
44786         * termios/tcgetattr.c: Likewise.
44787         * termios/tcgetpgrp.c: Likewise.
44788         * termios/tcsendbrk.c: Likewise.
44789         * termios/tcsetattr.c: Likewise.
44790         * termios/tcsetpgrp.c: Likewise.
44791         * time/adjtime.c: Likewise.
44792         * time/clock.c: Likewise.
44793         * time/getitimer.c: Likewise.
44794         * time/gettimeofday.c: Likewise.
44795         * time/setitimer.c: Likewise.
44796         * time/settimeofday.c: Likewise.
44797         * time/stime.c: Likewise.
44798         * time/time.c: Likewise.
44800 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
44802         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
44803         /usr/old/bin.
44805         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
44806         instead of spaces.
44807         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
44809 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
44811         [BZ #14796]
44812         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
44813         FE_TONEAREST before applying Dekker multiplication and Knuth
44814         addition.  Clear inexact exceptions and check for exact zero
44815         results afterwards.
44816         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44817         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44818         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44819         * math/libm-test.inc (fma_test): Add more tests.
44820         (fma_test_towardzero): Likewise.
44821         (fma_test_downward): Likewise.
44822         (fma_test_upward): Likewise.
44823         * sysdeps/generic/math_private.h (default_libc_fesetround): New
44824         function.
44825         (libc_fesetround): New macro.
44826         (libc_fesetroundf): Likewise.
44827         (libc_fesetroundl): Likewise.
44828         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
44829         function.
44830         (libc_fesetround_387): Likewise.
44831         (libc_fesetroundf): New macro.
44832         (libc_fesetround): Likewise.
44833         (libc_fesetroundl): Likewise.
44834         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
44835         function.
44836         (libc_fesetroundf): New macro.
44837         (libc_fesetround): Likewise.
44838         (libc_fesetroundl): Likewise.
44839         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
44840         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
44841         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
44842         libm_hidden_ver.
44843         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
44844         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
44845         libm_hidden_def.
44846         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
44847         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
44848         libm_hidden_ver.
44849         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
44850         libm_hidden_def.
44852         [BZ #3439]
44853         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
44854         integer constant usable in #if and use that to give value to enum
44855         constant.
44856         (FE_DIVBYZERO): Likewise.
44857         (FE_UNDERFLOW): Likewise.
44858         (FE_OVERFLOW): Likewise.
44859         (FE_INVALID): Likewise.
44860         (FE_INVALID_SNAN): Likewise.
44861         (FE_INVALID_ISI): Likewise.
44862         (FE_INVALID_IDI): Likewise.
44863         (FE_INVALID_ZDZ): Likewise.
44864         (FE_INVALID_IMZ): Likewise.
44865         (FE_INVALID_COMPARE): Likewise.
44866         (FE_INVALID_SOFTWARE): Likewise.
44867         (FE_INVALID_SQRT): Likewise.
44868         (FE_INVALID_INTEGER_CONVERSION): Likewise.
44869         (FE_TONEAREST): Likewise.
44870         (FE_TOWARDZERO): Likewise.
44871         (FE_UPWARD): Likewise.
44872         (FE_DOWNWARD): Likewise.
44873         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
44874         (FE_DIVBYZERO): Likewise.
44875         (FE_OVERFLOW): Likewise.
44876         (FE_UNDERFLOW): Likewise.
44877         (FE_INEXACT): Likewise.
44878         (FE_TONEAREST): Likewise.
44879         (FE_DOWNWARD): Likewise.
44880         (FE_UPWARD): Likewise.
44881         (FE_TOWARDZERO): Likewise.
44882         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
44883         (FE_UNDERFLOW): Likewise.
44884         (FE_OVERFLOW): Likewise.
44885         (FE_DIVBYZERO): Likewise.
44886         (FE_INVALID): Likewise.
44887         (FE_TONEAREST): Likewise.
44888         (FE_TOWARDZERO): Likewise.
44889         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
44890         (FE_OVERFLOW): Likewise.
44891         (FE_UNDERFLOW): Likewise.
44892         (FE_DIVBYZERO): Likewise.
44893         (FE_INEXACT): Likewise.
44894         (FE_TONEAREST): Likewise.
44895         (FE_TOWARDZERO): Likewise.
44896         (FE_UPWARD): Likewise.
44897         (FE_DOWNWARD): Likewise.
44898         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
44899         (FE_DIVBYZERO): Likewise.
44900         (FE_OVERFLOW): Likewise.
44901         (FE_UNDERFLOW): Likewise.
44902         (FE_INEXACT): Likewise.
44903         (FE_TONEAREST): Likewise.
44904         (FE_DOWNWARD): Likewise.
44905         (FE_UPWARD): Likewise.
44906         (FE_TOWARDZERO): Likewise.
44908 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
44910         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
44912 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
44914         * scripts/cross-test-ssh.sh (command): Use newlines to separate
44915         commands.  Quote $PWD.
44916         (blacklist_exports): Don't use remove_newlines.  Replace "declare
44917         -x" by "export".
44918         (remove_newlines): Remove.
44920 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
44922         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
44923         * stdlib/stdlib.h (atof): Moved to ...
44924         * include/bits/stdlib-float.h: Here.  New file.
44925         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
44926         * stdlib/bits/stdlib-float.h: New file.
44927         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
44928         -mno-sse -mno-mmx.
44929         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
44930         <xmmintrin.h>.
44932 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
44934         * conform/conformtest.pl (@headers): Add fenv.h.
44935         * conform/data/fenv.h-data: New file.
44936         * include/fenv.h [_ISOMAC]: Disable all contents of file except
44937         include of <math/fenv.h>.
44939         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
44940         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
44941         && !UNIX98].  Enables tests for XOPEN2K8.
44942         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
44943         POSIX2008]: Likewise.
44945         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
44946         (struct rusage): Do not expect type or its members.
44948         [BZ #3439]
44949         * math/math.h (FP_NAN): Define macro to integer constant usable in
44950         #if and use that to give value to enum constant.
44951         (FP_INFINITE): Likewise.
44952         (FP_ZERO): Likewise.
44953         (FP_SUBNORMAL): Likewise.
44954         (FP_NORMAL): Likewise.
44956 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
44958         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
44959         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
44960         arguments.
44962 2012-11-02  Roland McGrath  <roland@hack.frob.com>
44964         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
44965         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
44966         autoconf-time if not.
44967         * configure.in: Remove AC_PREREQ.
44969 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44971         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
44972         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
44973         of the internal implementation.
44975 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
44977         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
44978         except include of <misc/sys/syslog.h>.
44980 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
44983         function returns with a NULL context exit with zero.
44985 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44987         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
44989 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
44991         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
44992         (run_program_cmd): This.
44993         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
44994         (tst_langinfo): New variable.  Use it.
44996 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
44998         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
44999         floating point opcodes.
45001 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
45003         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
45004         variable.
45006         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
45008         * sysdeps/mach/hurd/powerpc: Remove directory.
45009         * sysdeps/mach/powerpc: Likewise.
45011 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
45013         * scripts/check-local-headers.sh: Ignore c++ headers.
45015 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
45017         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
45018         __libc_cleanup_region_start argument.
45020 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
45022         [BZ #14784]
45023         [BZ #14785]
45024         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
45025         x * y using scaling, not as x * y + z.
45026         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45027         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45028         * math/libm-test.inc (fma_test): Add more tests.
45029         (fma_test_towardzero): Likewise.
45030         (fma_test_downward): Likewise.
45031         (fma_test_upward): Likewise.
45033 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
45035         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
45037 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
45039         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
45040         New variable.
45042 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
45044         * rt/tst-shm.c (worker): Correct checking for mmap failure.
45046 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
45048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45049         Fix sort order.
45050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45051         Likewise.
45053 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45056         Fix the order of the list for glibc 2.17.
45057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45058         Likewise.
45060 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
45062         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45064 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
45066         [BZ #14610]
45067         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
45068         for low part of x being zero before using __atanl (y).
45069         * math/libm-test.inc (atan2_test): Add another test.
45071         * manual/install.texi (Configuring and compiling): Document
45072         general use of test-wrapper and test-wrapper-env.
45073         * INSTALL: Regenerated.
45075         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
45076         (__fma): Do not extract and scale down low bits on after-rounding
45077         systems when result rounded to normal precision would have normal
45078         exponent.
45079         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
45080         (__fmal): Do not extract and scale down low bits on after-rounding
45081         systems when result rounded to normal precision would have normal
45082         exponent.
45083         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
45084         (__fmal): Do not extract and scale down low bits on after-rounding
45085         systems when result rounded to normal precision would have normal
45086         exponent.
45087         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
45088         macro.
45089         (fma_test): Add more tests.
45090         (fma_test_towardzero): Likewise.
45091         (fma_test_downward): Likewise.
45092         (fma_test_upward): Likewise.
45094 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
45096         * sysdeps/i386/tininess.h: Renamed to ...
45097         * sysdeps/x86/tininess.h: This.
45098         * sysdeps/x86_64/tininess.h: Removed.
45100 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
45102         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
45103         input.  Use $(build-program-cmd).
45104         ($(objpfx)tst-array1-static.out): Likewise.
45105         ($(objpfx)tst-array2.out): Likewise.
45106         ($(objpfx)tst-array3.out): Likewise.
45107         ($(objpfx)tst-array4.out): Likewise.
45108         ($(objpfx)tst-array5.out): Likewise.
45109         ($(objpfx)tst-array5-static.out): Likewise.
45111 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
45113         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
45114         if defined.
45116         * nss/nsswitch.h (nss_interface_function): Provide new
45117         macro for use with NSS functions.
45118         * grp/initgroups.c: Use new macro.
45119         * nss/getXXbyYY.c: Likewise.
45120         * nss/getXXbyYY_r.c: Likewise.
45121         * nss/getXXent.c: Likewise.
45122         * nss/getXXent_r.c: Likewise.
45123         * sysdeps/posix/getaddrinfo.c: Likewise.
45125 2012-10-30  Andreas Jaeger  <aj@suse.de>
45127         * po/ru.po: Update Russion translation from translation project.
45129 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
45131         [BZ #14152]
45132         [BZ #14783]
45133         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
45134         result and shift together with sticky bit instead of replicating
45135         round-to-nearest rounding.
45136         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45137         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45138         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
45139         missing underflow exceptions.
45140         (fma_test_towardzero): Add more tests.
45141         (fma_test_downward): Likewise.
45142         (fma_test_upward): Likewise.
45144         [BZ #14047]
45145         * sysdeps/generic/tininess.h: New file.
45146         * sysdeps/i386/tininess.h: Likewise.
45147         * sysdeps/sh/tininess.h: Likewise.
45148         * sysdeps/x86_64/tininess.h: Likewise.
45149         * stdlib/tst-strtod-underflow.c: Likewise.
45150         * stdlib/tst-tininess.c: Likewise.
45151         * stdlib/strtod_l.c: Include <tininess.h>.
45152         (round_and_return): Do not set errno for exact underflow cases.
45153         Force an underflow exception when setting errno for underflow.
45154         Determine underflow based on rounding to normal precision if
45155         TININESS_AFTER_ROUNDING.
45156         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
45157         ERANGE for exact underflow cases.
45158         * stdlib/Makefile (tests): Add tst-tininess and
45159         tst-strtod-underflow.
45160         ($(objpfx)tst-tininess): Use $(link-libm).
45161         ($(objpfx)tst-strtod-underflow): Likewise.
45163 2012-10-30  Andreas Jaeger  <aj@suse.de>
45165         [BZ#14767]
45166         * elf/Makefile (tests): Remove conditional for have-initfini-array
45167         since this is now always required and the variable does not exist
45168         anymore.
45169         (tests-static): Likewise.
45170         (modules-names): Likewise.
45172         * po/eo.po: Add Esperanto translation from translation project.
45174         * elf/tst-array1.c (fini_array): Make writeable so that it can be
45175         merged with constructor/destructor.
45176         (init_array): Likewise.
45177         * elf/tst-array2dep.c (fini_array): Likewise.
45178         (init_array): Likewise.
45180 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
45182         * manual/message.texi: Delete @cartouche tags.
45184 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
45186         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
45187         EOPNOTSUPP.
45188         * sysdeps/mach/hurd/fsync.c: Likewise.
45190         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
45191         [_POSIX_REALTIME_SIGNALS]: Change condition to
45192         [_POSIX_REALTIME_SIGNALS > 0].
45194 2012-10-27  Andreas Jaeger  <aj@suse.de>
45196         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
45197         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
45198         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
45199         [__WORDSIZE != 64]: Likewise.
45201 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
45203         *  iconvdata/tst-table.sh: Remove ${SHELL}.
45204         *  iconvdata/tst-tables.sh: Likewise.
45206 2012-10-25  David S. Miller  <davem@davemloft.net>
45208         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45209         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
45210         of strtoull.
45212         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
45213         ifunc-impl-list.c
45214         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45215         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
45216         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
45217         file.
45219 2012-10-25  Roland McGrath  <roland@hack.frob.com>
45221         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45222         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
45223         __getdirentries.
45225 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
45226             Jim Blandy  <jimb@codesourcery.com>
45228         * scripts/cross-test-ssh.sh: New file.
45229         * manual/install.texi (Configuring and compiling): Document use of
45230         cross-test-ssh.sh.
45231         * INSTALL: Regenerated.
45233 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
45235         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
45236         EOPNOTSUPP.
45238 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
45240         * Makeconfig (run-program-prefix): Fix comment.
45242 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
45243             Jim Blandy  <jimb@codesourcery.com>
45245         * Makeconfig (test-wrapper): New variable,
45246         (test-wrapper-env): Likewise.
45247         [$(cross-compiling) = yes && $(test-wrapper) != ""]
45248         (run-built-tests): Define to yes.
45249         (run-program-prefix): Use $(test-wrapper).
45250         (built-program-cmd): Likewise.
45251         * Rules (make-test-out): Use $(test-wrapper-env) and
45252         $(host-built-program-cmd).
45253         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
45254         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
45255         tst-pathopt.sh.
45256         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
45257         $(test-wrapper-env) to tst-rtld-load-self.sh.
45258         ($(objpfx)order2.out): Use $(test-wrapper).
45259         ($(objpfx)tst-initorder.out): Likewise.
45260         ($(objpfx)tst-initorder2.out): Likewise.
45261         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
45262         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
45263         (test_wrapper_env): New variable.  Use it to run ld.so.
45264         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
45265         Use it to run ld.so.
45266         (test_wrapper_env): Likewise.
45267         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
45268         $(test-wrapper) to run-iconv-test.sh.
45269         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
45270         (ICONV): Use $test_wrapper.
45271         * posix/Makefile ($(objpfx)globtest.out): Pass
45272         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
45273         globtest.sh, not $(run-program-prefix).
45274         * posix/globtest.sh (run_via_rtld_prefix): New variable.
45275         (test_wrapper): Likewise.
45276         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
45277         set together with run_via_rtld_prefix.
45278         (run_program_prefix): Define in terms of test_wrapper and
45279         run_via_rtld_prefix.
45281 2012-10-24  Roland McGrath  <roland@hack.frob.com>
45283         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
45284         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
45285         Targets removed.
45287         [BZ #14743]
45288         * include/time.h: Remove librt_hidden_proto (clock_gettime).
45289         Declare __clock_getres, __clock_gettime, __clock_settime,
45290         __clock_nanosleep, and __clock_getcpuclockid.
45291         * rt/clock_gettime.c: Define __clock_gettime as an alias.
45292         Remove librt_hidden_def (clock_gettime).
45293         * sysdeps/unix/clock_gettime.c: Likewise.
45294         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
45295         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45296         * rt/clock_getres.c: Define __clock_getres as an alias.
45297         * sysdeps/posix/clock_getres.c: Likewise.
45298         * rt/clock_settime.c: Define __clock_settime as an alias.
45299         * sysdeps/unix/clock_settime.c: Likewise.
45300         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
45301         * sysdeps/unix/clock_nanosleep.c: Likewise.
45302         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45303         * rt/clock-compat.c: New file.
45304         * rt/Makefile (librt-routines): Add clock-compat and move
45305         $(clock-routines) to ...
45306         (routines): ... here, new variable.
45307         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
45308         Don't add get_clockfreq here.
45309         * rt/Versions (libc: GLIBC_2.17): New version set.
45310         Add clock_* symbols here.
45311         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
45312         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
45313         (GLIBC_2.17): Add clock_* symbols.
45314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45315         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45316         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45318         Likewise.
45319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45320         Likewise.
45321         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45322         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45325         * NEWS: Mention the move.
45327         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
45328         Use __open, __read, __close rather than their public counterparts.
45329         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45330         (__get_clockfreq_via_cpuinfo): Likewise.
45331         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
45332         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
45334         * config.h.in (HAVE_IFUNC): New #undef.
45335         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
45336         was successful.
45337         * configure: Regenerated.
45339 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
45341         * configure.in: Move READELF check to start of file.
45342         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
45343         libc_cv_asm_gnu_indirect_function in the process.
45344         * configure: Regenerated.
45346 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
45348         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
45349         send the output to /dev/null.
45350         (libc_cv_cc_with_libunwind): Likewise.
45351         (libc_cv_as_noexecstack): Likewise.
45352         * configure: Regenerate.
45354 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
45356         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
45358         * posix/globtest.sh (TMPDIR): Do not set.
45359         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
45360         (testout): Likewise.
45362 2012-10-24  Andreas Jaeger  <aj@suse.de>
45364         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
45365         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
45366         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
45367         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
45368         posix_fadvise64, posix_fallocate64.
45370         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
45371         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
45372         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
45373         Likewise.
45374         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
45375         Likewise.
45376         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
45378         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
45379         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
45380         <bits/fcntl-linux.h>.
45381         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
45383         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
45384         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
45385         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
45386         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
45387         [__WORDSIZE != 64]: Likewise.
45389 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
45391         * Makeconfig (run-built-tests): New variable.
45392         * Rules [$(cross-compiling) = yes]: Change condition to
45393         [$(run-built-tests) = no].
45394         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
45395         to [$(run-built-tests) = yes].
45396         * elf/Makefile [$(cross-compiling) = no]: Likewise
45397         * grp/Makefile [$(cross-compiling) = no]: Likewise.
45398         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
45399         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
45400         * intl/Makefile [$(cross-compiling) = no]: Likewise.
45401         * io/Makefile [$(cross-compiling) = no]: Likewise.
45402         * libio/Makefile [$(cross-compiling) = no]: Likewise.
45403         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
45404         * misc/Makefile [$(cross-compiling) = no]: Likewise.
45405         * posix/Makefile [$(cross-compiling) = no]: Likewise.
45406         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
45407         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
45408         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
45409         * string/Makefile [$(cross-compiling) = no]: Likewise.
45411         * posix/Makefile ($(objpfx)globtest.out): Pass
45412         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
45413         $(rtld-installed-name).
45414         * posix/globtest.sh (elf_objpfx): Remove variable.
45415         (rtld_installed_name): Likewise.
45416         (library_path): Likewise.
45417         (run_program_prefix): New variable.  Use for running globtest
45418         binary.
45420 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
45421             Joseph Myers  <joseph@codesourcery.com>
45423         * Makeconfig (host-built-program-cmd): New variable.
45424         * elf/Makefile (tst-stackguard1-ARGS): Use
45425         $(host-built-program-cmd).
45426         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
45427         (tst-spawn-ARGS): Likewise.
45428         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
45430 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
45431             Jim Blandy  <jimb@codesourcery.com>
45433         * Makeconfig (run-via-rtld-prefix): New variable.
45434         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
45435         (built-program-cmd): Likewise.
45437 2012-10-22  Andreas Jaeger  <aj@suse.de>
45439         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
45440         __O_RSYNC if it exists, otherwise to O_SYNC.
45442 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
45443             Joseph Myers  <joseph@codesourcery.com>
45445         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
45446         /dev/null.
45447         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
45448         from /dev/null
45449         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
45450         /dev/null.
45452 2012-10-22  Andreas Jaeger  <aj@suse.de>
45454         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
45455         Define always.
45456         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
45458         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45459         bits/fcntl-linux.h.
45461         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
45462         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
45464         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
45465         to __O_LARGEFILE.
45466         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
45467         to __O_LARGEFILE.
45469 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
45470             Joseph Myers  <joseph@codesourcery.com>
45472         * config.make.in (NM): New variable.
45474 2012-10-21  Andreas Jaeger  <aj@suse.de>
45476         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
45477         definitions and declarations that are provided by
45478         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
45480 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
45482         [BZ #14683]
45483         * elf/Makefile (tests-static): Add tst-leaks1-static.
45484         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
45485         ($(objpfx)tst-leaks1-static): New rule.
45486         ($(objpfx)tst-leaks1-static-mem): Likewise.
45487         (tst-leaks1-static-ENV): New macro.
45488         * elf/dl-open.c (dl_open_worker): Check the main application
45489         only if SHARED is defined.
45490         * elf/tst-leaks1-static.c: New file.
45492 2012-10-20  Andreas Jaeger  <aj@suse.de>
45494         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
45495         generic values for Linux.
45496         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
45497         and declarations that are provided by <bits/fcntl-linux.h> and
45498         include <bits/fcntl-linux.h>.
45499         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45500         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45502 2012-10-20  Roland McGrath  <roland@hack.frob.com>
45504         * io/fcntl.h: Move include of <bits/types.h> to the top and
45505         include it unconditionally.
45507 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
45509         * wcsmbs/Makefile (tests-ifunc): New variable.
45510         (tests): Add $(tests-ifunc).
45511         * wcsmbs/test-wcschr-ifunc.c: New file.
45512         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
45513         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
45514         * wcsmbs/test-wcslen-ifunc.c: Likewise.
45515         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
45516         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
45518         * string/Makefile (tests-ifunc): New variable.
45519         (tests): Add $(tests-ifunc).
45520         * string/test-memccpy.c (TEST_NAME): New macro.
45521         * string/test-memchr.c (TEST_NAME): Likewise.
45522         * string/test-memcmp.c (TEST_NAME): Likewise.
45523         * string/test-memcpy.c (TEST_NAME): Likewise.
45524         * string/test-memmem.c (TEST_NAME): Likewise.
45525         * string/test-memmove.c (TEST_NAME): Likewise.
45526         * string/test-memset.c (TEST_NAME): Likewise.
45527         * string/test-rawmemchr.c (TEST_NAME): Likewise.
45528         * string/test-stpcpy.c (TEST_NAME): Likewise.
45529         * string/test-stpncpy.c (TEST_NAME): Likewise.
45530         * string/test-strcasecmp.c (TEST_NAME): Likewise.
45531         * string/test-strcasestr.c (TEST_NAME): Likewise.
45532         * string/test-strcat.c (TEST_NAME): Likewise.
45533         * string/test-strchr.c (TEST_NAME): Likewise.
45534         * string/test-strcmp.c(TEST_NAME): Likewise.
45535         * string/test-strcpy.c (TEST_NAME): Likewise.
45536         * string/test-strcspn.c (TEST_NAME): Likewise.
45537         * string/test-strlen.c (TEST_NAME): Likewise.
45538         * string/test-strncasecmp.c (TEST_NAME): Likewise.
45539         * string/test-strncmp.c (TEST_NAME): Likewise.
45540         * string/test-strncpy.c (TEST_NAME): Likewise.
45541         * string/test-strnlen.c (TEST_NAME): Likewise.
45542         * string/test-strpbrk.c (TEST_NAME): Likewise.
45543         * string/test-strrchr.c (TEST_NAME): Likewise.
45544         * string/test-strspn.c (TEST_NAME): Likewise.
45545         * string/test-strstr.c (TEST_NAME): Likewise.
45546         * string/test-bcopy-ifunc.c: New file.
45547         * string/test-bzero-ifunc.c: Likewise.
45548         * string/test-memccpy-ifunc.c: Likewise.
45549         * string/test-memchr-ifunc.c: Likewise.
45550         * string/test-memcmp-ifunc.c: Likewise.
45551         * string/test-memcpy-ifunc.c: Likewise.
45552         * string/test-memmem-ifunc.c: Likewise.
45553         * string/test-memmove-ifunc.c: Likewise.
45554         * string/test-mempcpy-ifunc.c: Likewise.
45555         * string/test-memset-ifunc.c: Likewise.
45556         * string/test-rawmemchr-ifunc.c: Likewise.
45557         * string/test-stpcpy-ifunc.c: Likewise.
45558         * string/test-stpncpy-ifunc.c: Likewise.
45559         * string/test-strcasecmp-ifunc.c: Likewise.
45560         * string/test-strcasestr-ifunc.c: Likewise.
45561         * string/test-strcat-ifunc.c: Likewise.
45562         * string/test-strchr-ifunc.c: Likewise.
45563         * string/test-strchrnul-ifunc.c: Likewise.
45564         * string/test-strcmp-ifunc.c: Likewise.
45565         * string/test-strcpy-ifunc.c: Likewise.
45566         * string/test-strcspn-ifunc.c: Likewise.
45567         * string/test-strlen-ifunc.c: Likewise.
45568         * string/test-strncasecmp-ifunc.c: Likewise.
45569         * string/test-strncat-ifunc.c: Likewise.
45570         * string/test-strncmp-ifunc.c: Likewise.
45571         * string/test-strncpy-ifunc.c: Likewise.
45572         * string/test-strnlen-ifunc.c: Likewise.
45573         * string/test-strpbrk-ifunc.c: Likewise.
45574         * string/test-strrchr-ifunc.c: Likewise.
45575         * string/test-strspn-ifunc.c: Likewise.
45576         * string/test-strstr-ifunc.c: Likewise.
45578         * debug/Makefile (tests-ifunc): New variable.
45579         (tests): Add $(tests-ifunc).
45580         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
45581         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
45582         * debug/test-stpcpy_chk-ifunc.c: New file.
45583         * debug/test-strcpy_chk-ifunc.c: Likewise.
45585 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45587         [BZ #13601]
45588         * elf/dl-load.c (open_verify): Retry read if the entire ELF
45589         header is not read in.
45591 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
45593         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
45594         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
45595         directly.  Pass built executable to script as
45596         $(built-program-cmd).
45597         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
45598         $testprogram without using LD_LIBRARY_PATH and $ldso.
45600         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
45601         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
45602         $(rtld-installed-name).
45603         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
45604         (rtld_installed_name): Likewise.
45605         (library_path): Likewise.
45606         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
45607         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
45608         $(run-program-prefix) to tst-tables.sh.
45609         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
45610         it to run tst-table-from and tst-table-to.
45611         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
45612         Pass it to tst-table.sh.
45613         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
45614         $(run-program-prefix) to tst-gettext.sh.
45615         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
45616         tst-translit.sh.
45617         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
45618         tst-gettext2.sh.
45619         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
45620         to run tst-gettext.
45621         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
45622         to run tst-gettext2.
45623         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
45624         to run tst-translit.
45625         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
45626         $(run-program-prefix) to tst-mtrace.sh.
45627         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
45628         to run tst-mtrace.
45629         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
45630         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
45631         $(rtld-installed-name).
45632         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
45633         (rtld_installed_name): Likewise.
45634         (run_program_prefix): New variable.  Use it to run wordexp-test.
45636         * Makeconfig (ARCH): Remove all definitions.
45637         (machine): Likewise.
45638         [ARCH]: Remove conditional code.
45639         [!objdir]: Give error.
45640         [!objdir] (objpfx): Remove.
45641         [!objdir] (common-objpfx): Likewise.
45642         [!objdir] (common-objdir): Likewise.
45643         * configure.in (config_makefile): Remove.  Hardcode Makefile in
45644         AC_CONFIG_FILES call.
45645         * configure: Regenerated.
45647         [BZ #13888]
45648         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
45649         or TMPDIR.
45650         (testout): Likewise.
45652         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
45653         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
45654         $(rtld-installed-name).
45655         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
45656         (rtld_installed_name): Likwise.
45657         (runit): Remove function.
45658         (run_getconf): New variable,  Use it for running getconf binary.
45660 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
45662         [BZ #14716]
45663         * string/test-memmem.c (check_result): New function.
45664         (do_one_test): Use it.
45665         (check1): New function.
45666         (test_main): Use it.
45668 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
45670         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
45672 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
45674         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
45675         (_G_LSEEK64): Likewise.
45676         (_G_MMAP64): Likewise.
45677         (_G_FSTAT64): Likewise.
45678         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
45679         (_G_LSEEK64): Likewise.
45680         (_G_MMAP64): Likewise.
45681         (_G_FSTAT64): Likewise.
45682         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
45683         unconditional.  Call __mmap64 directly.
45684         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
45685         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
45686         __lseek64 directly.
45687         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
45688         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
45689         __mmap64 directly.
45690         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
45691         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
45692         __lseek64 directly.
45693         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
45694         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
45695         __lseek64 directly.
45696         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
45697         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
45698         __lseek64 directly.
45699         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
45700         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
45701         __fxstat64 directly.
45702         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
45703         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
45704         unconditional.
45705         (freopen64) [!_G_OPEN64]: Remove conditional code.
45706         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
45707         unconditional.
45708         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
45709         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
45710         unconditional.
45711         (ftello64) [!_G_LSEEK64]: Remove conditional code.
45712         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
45713         unconditional.
45714         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45715         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
45716         unconditional.
45717         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
45718         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
45719         unconditional.
45720         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45721         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
45722         unconditional.
45723         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45724         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
45725         unconditional.
45726         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45728 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45730         [BZ #12140]
45731         * manual/memory.texi (Malloc Tunable Parameters): Add note
45732         about free list pointers overwriting some perturb bytes.
45733         Wording suggested by Roland McGrath.
45735 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
45737         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
45738         (lgamma_test): Likewise.
45739         (tgamma_test): Likewise.
45741 2012-10-16  Florian Weimer  <fweimer@redhat.com>
45743         [BZ #14700]
45744         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
45745         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
45747 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
45749         * NEWS: Mention BZ #14716.
45750         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
45751         when removing AVAILABLE1_USES_J macro.
45753 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
45755         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
45756         (__bswap_64): __uint64_t for unsigned 64-bit int.
45758 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
45760         * include/string.h (memmem): Declare libc hidden alias.
45761         * string/memmem.c (memmem): Define libc hidden alias.
45762         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
45763         __read, __close instead of open, read, close.
45765 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
45767         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
45768         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
45769         global and hidden.
45770         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
45771         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
45772         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
45773         Likewise.
45774         (__rawmemchr_sse2): Likewise.
45775         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
45776         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
45777         (__strchr_sse2): Likewise.
45778         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
45779         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
45780         (__strcasecmp_sse2): Likewise.
45781         (__strncasecmp_sse2): Likewise.
45782         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
45783         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
45784         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
45785         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
45786         (__strrchr_sse2): Likewise.
45787         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
45788         ifunc-impl-list.c.
45789         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
45790         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
45791         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
45792         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45793         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
45794         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
45795         * sysdeps/x86_64/multiarch/memset.S: Likewise.
45796         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45797         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
45798         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
45799         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
45800         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
45801         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
45802         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
45803         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
45804         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45805         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
45806         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
45807         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
45808         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
45809         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
45810         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
45811         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
45812         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45813         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
45814         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45815         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
45816         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45817         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
45818         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
45820         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
45821         global and hidden.
45822         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
45823         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
45824         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
45825         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
45826         Likewise.
45827         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
45828         Likewise.
45829         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
45830         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
45831         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
45832         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
45833         ifunc-impl-list.c.
45834         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45835         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45836         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45837         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45838         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45839         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45840         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45841         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45842         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45843         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45844         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45845         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45846         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45847         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
45848         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
45849         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45850         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
45851         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
45852         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45853         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45854         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45855         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45856         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45857         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45858         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45859         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
45860         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
45861         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
45862         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
45863         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45864         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
45865         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45866         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45867         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
45868         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45869         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45870         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45871         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45872         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45873         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45874         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
45876         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
45877         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
45878         * include/ifunc-impl-list.h: New file.
45879         * misc/ifunc-impl-list.c: Likewise.
45880         * misc/Makefile (routines): Add ifunc-impl-list.
45881         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
45882         * string/test-string.h: Include <ifunc-impl-list.h>.
45883         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
45884         TEST_NAME]: New variables.
45885         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
45886         are defined.
45887         (test_init): Call __libc_ifunc_impl_list to initialize
45888         func_list if TEST_IFUNC and TEST_NAME are defined.
45890         * string/Makefile (strop-tests): Add bcopy and bzero.
45891         * string/test-bcopy.c: New file.
45892         * string/test-bzero.c: Likewise.
45893         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
45894         defined.
45895         * string/test-memset.c: Support bzero test if TEST_BZERO is
45896         defined.
45897         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
45898         __libc_memmove.
45899         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
45900         __libc_memset.
45901         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
45902         of memset.
45904 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
45906         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
45907         * configure: Regenerated.
45909         * Makeconfig (+link-static-before-libc): Don't include
45910         $(link-static-libc).
45912         * libio/libio.h (_IO_pos_t): Remove.
45914 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
45916         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
45917         McGrath.
45919 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
45921         * crypt/crypt-entry.c: Include fips-private.h.
45922         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
45923         * crypt/md5c-test.c (main): Tolerate disabled MD5.
45924         * sysdeps/unix/sysv/linux/fips-private.h: New file.
45925         * sysdeps/generic/fips-private.h: New file, dummy fallback.
45927 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
45929         * crypt/crypt-private.h: Include stdbool.h.
45930         (_ufc_setup_salt_r): Return bool.
45931         * crypt/crypt-entry.c: Include errno.h.
45932         (__crypt_r): Return NULL with EINVAL for bad salt.
45933         * crypt/crypt_util.c (bad_for_salt): New.
45934         (_ufc_setup_salt_r): Check that salt is long enough and within
45935         the specified alphabet.
45936         * crypt/badsalttest.c: New file.
45937         * crypt/Makefile (tests): Add it.
45938         ($(objpfx)badsalttest): New.
45940 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
45942         * NEWS: Add entry for BZ #14602.
45944 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
45946         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
45947         type-generic.
45948         * math/libm-test.inc: Update comment listing what functions and
45949         macros are tested.
45950         (isgreater_test): New function.
45951         (isgreaterequal_test): Likewise.
45952         (isless_test): Likewise.
45953         (islessequal_test): Likewise.
45954         (islessgreater_test): Likewise.
45955         (isunordered_test): Likewise.
45956         (main): Call the new functions.
45958 2012-10-09  Roland McGrath  <roland@hack.frob.com>
45960         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
45961         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
45962         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
45963         * sysdeps/i386/configure: Regenerated.
45964         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
45965         * sysdeps/mach/configure: Regenerated.
45966         * sysdeps/mach/hurd/configure: Regenerated.
45967         * sysdeps/powerpc/configure: Regenerated.
45968         * sysdeps/powerpc/powerpc32/configure: Regenerated.
45969         * sysdeps/powerpc/powerpc64/configure: Regenerated.
45970         * sysdeps/s390/s390-32/configure: Regenerated.
45971         * sysdeps/s390/s390-64/configure: Regenerated.
45972         * sysdeps/sh/configure: Regenerated.
45973         * sysdeps/sparc/configure: Regenerated.
45974         * sysdeps/unix/sysv/linux/configure: Regenerated.
45975         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45976         * sysdeps/x86_64/configure: Regenerated.
45978         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
45979         defined.  Don't check if MAP is NULL.
45981 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
45983         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
45984         (_G_stat64): Likewise.
45985         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
45986         (_G_stat64): Likewise.
45987         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
45988         instead of struct _G_stat64.
45989         * libio/fileops.c (mmap_remap_check): Likewise.
45990         (decide_maybe_mmap): Likewise.
45991         (_IO_new_file_seekoff): Likewise.
45992         (_IO_file_stat): Likewise.
45993         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
45994         _G_off64_t.
45995         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
45996         instead of struct _G_stat64.
45997         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45999 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
46001         [BZ #14602]
46002         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46003         Replace with ...
46004         (CHECK_EOL): New macro.
46005         (two_way_short_needle): Check beginning of haystack for EOL.  Use
46006         CHECK_EOL.
46007         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46008         Replace with CHECK_EOL.
46009         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46010         Replace with CHECK_EOL.
46012 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
46014         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
46015         type-generic.
46016         * math/libm-test.inc: Update comment listing what functions and
46017         macros are tested.
46018         (finite_test): New function.
46019         (isinf_test): Likewise.
46020         (isnan_test): Likewise.
46021         (fpclassify_test): Test subnormal input.
46022         (isfinite_test): Likewise.
46023         (isnormal_test): Likewise.
46024         (main): Call the new functions.
46026 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
46028         [BZ #14660]
46029         * Makerules (%.dynsym): Force C locale when running
46030         $(OBJDUMP) --dynamic-syms.
46032 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
46034         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
46035         <stdint.h>.
46037 2012-10-06  David S. Miller  <davem@davemloft.net>
46039         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
46040         upper 32-bits of the length value in %o2 since we use branch-on-register
46041         tests which consider the entire 64-bit register.
46043 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
46045         * string/test-strstr.c (check2): Add a test for page boundary.
46047 2012-10-05  David S. Miller  <davem@davemloft.net>
46049         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
46050         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
46051         file.
46052         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46053         sysdep_routines.
46054         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46055         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
46056         and bzero when HWCAP_SPARC_CRYPTO is present.
46058 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
46060         [BZ #14602]
46061         * string/test-strstr.c (check2): New function.
46062         (test_main): Call check2.
46064         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
46065         and bug-strchr1.
46066         * string/bug-strcasestr1.c (do_test): Moved to ...
46067         * string/test-strcasestr.c (check1): Here.  New function.
46068         (do_one_test): Break out result checking code into ...
46069         (check_result): This.  New function.
46070         (do_one_test): Call check_result.
46071         (test_main): Call check1.
46072         * string/bug-strchr1.c (do_test): Moved to ...
46073         * string/test-strchr.c (check1): Here.  New function.
46074         (do_one_test): Break out result checking code into ...
46075         (check_result): This.  New function.
46076         (do_one_test): Call check_result.
46077         (test_main): Call check1.
46078         * string/bug-strstr1.c (main): Moved to ...
46079         * string/test-strstr.c (check1): Here.  New function.
46080         (do_one_test): Break out result checking code into ...
46081         (check_result): This.  New function.
46082         (do_one_test): Call check_result.
46083         (test_main): Call check1.
46084         * string/bug-strcasestr1.c: Removed.
46085         * string/bug-strchr1.c: Likewise.
46086         * string/bug-strstr1.c: Likewise.
46088         * elf/Makefile (dl-routines): Add hwcaps.
46089         * elf/dl-support.c (_dl_important_hwcaps): Removed.
46090         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
46091         (_dl_important_hwcaps): Moved to ...
46092         * elf/dl-hwcaps.c: Here.  New file.
46093         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
46095         [BZ #14557]
46096         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
46097         if IS_IN_rtld isn't defined.
46099         * elf/dl-support.c (_dl_sysinfo_map): New.
46100         Include "get-dynamic-info.h" and "setup-vdso.h".
46101         (_dl_non_dynamic_init): Call setup_vdso.
46102         * elf/dynamic-link.h: Don't include <assert.h>.
46103         (elf_get_dynamic_info): Moved to ...
46104         * elf/get-dynamic-info.h: Here.  New file.
46105         * elf/dynamic-link.h: Include "get-dynamic-info.h".
46106         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
46107         * elf/setup-vdso.h: Here.  New file.
46108         * elf/rtld.c: Include "setup-vdso.h".
46109         (dl_main): Call setup_vdso.
46111 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
46113         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
46114         creal in comment listing functions tested.  List finite, isinf,
46115         isnan, isless, islessequal, isgreater, isgreaterequal,
46116         islessgreater, isunordered, lgamma_r and pow10 as functions and
46117         macros not tested.  Mention which functions not tested are aliases
46118         for other functions.  Fix typo.  Note that signs of NaNs are not
46119         tested.
46121         * scripts/config.guess: Update from config.git.
46122         * scripts/config.sub: Likewise.
46124 2012-10-04  Roland McGrath  <roland@hack.frob.com>
46126         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
46127         * misc/madvise.c (madvise): Renamed to __madvise.
46128         Make madvise a weak alias.
46129         * include/sys/mman.h: Declare __madvise.
46130         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
46131         * sysdeps/unix/syscalls.list
46132         (madvise): Make __madvise the strong name, and madvise a weak alias.
46133         * sysdeps/unix/sysv/linux/syscalls.list
46134         (madvise, mmap): Remove redundant entries.
46135         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
46136         * malloc/malloc.c (mtrim): Likewise.
46137         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
46139 2012-10-03  Roland McGrath  <roland@hack.frob.com>
46141         * sysdeps/mach/hurd/dl-cache.c: File removed.
46142         * config.h.in (USE_LDCONFIG): New #undef.
46143         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
46144         * configure: Regenerated.
46145         * elf/Makefile (dl-routines): Add dl-cache only under
46146         [$(use-ldconfig) = yes].
46147         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
46148         cache on [USE_LDCONFIG].
46149         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
46150         [USE_LDCONFIG].
46151         * elf/rtld.c (dl_main): Likewise.
46153 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
46155         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
46156         _SC_LEVEL4_CACHE_LINESIZE.
46158 2012-10-03  Roland McGrath  <roland@hack.frob.com>
46160         * sysdeps/unix/bsd/confstr.h: File removed.
46162 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
46164         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
46165         sys/sdt-config.h.
46167 2012-10-02  Roland McGrath  <roland@hack.frob.com>
46169         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
46170         Make 'mapoff' field ElfW(Off) rather than off_t.
46172 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
46174         * nscd/Makefile: Remove nscd-cflags and all its users.
46175         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
46176         (CFLAGS-nonlib): Add compiler flags for nscd modules.
46178         [BZ #10631]
46179         * malloc.c (malloc_printerr): Clarify error message.
46181 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
46183         [BZ #14648]
46184         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46185         Set bit_FMA_Usable if FMA is supported.
46186         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
46187         macro.
46188         (bit_FMA4_Usable): Updated.
46189         (index_FMA_Usable): New macro.
46190         (CPUID_FMA): Likewise
46191         (HAS_FMA): Defined with bit_FMA_Usable.
46193 2012-10-01  Roland McGrath  <roland@hack.frob.com>
46195         * bits/types.h (__swblk_t): Type removed.
46196         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
46197         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
46198         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46199         (__SWBLK_T_TYPE): Likewise.
46200         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46201         (__SWBLK_T_TYPE): Likewise.
46202         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46203         (__SWBLK_T_TYPE): Likewise.
46204         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46205         (__SWBLK_T_TYPE): Likewise.
46207 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
46208             Honza Horak <hhorak@redhat.com>
46210         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
46211         (xdr_mapname): Use YPMAXMAP as maxsize.
46212         (xdr_peername): Use YPMAXPEER as maxsize.
46213         (xdr_keydat): Use YPAXRECORD as maxsize.
46214         (xdr_valdat): Use YPMAXRECORD as maxsize.
46216 2012-10-01  Roland McGrath  <roland@hack.frob.com>
46218         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
46220         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
46221         * csu/init-first.c: ... here.
46222         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
46223         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
46224         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
46225         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
46226         * sysdeps/i386/init-first.c: File removed.
46227         * sysdeps/sh/init-first.c: File removed.
46229 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
46231         [BZ #14645]
46232         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
46233         if x * y might underflow to zero and z is zero.
46234         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46235         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46236         * math/libm-test.inc (min_subnorm_value): New variable.
46237         (fma_test): Add more tests.
46238         (fma_test_towardzero): Likewise.
46239         (fma_test_downward): Likewise
46240         (fma_test_upward): Likewise.
46241         (initialize): Set min_subnorm_value.
46243 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
46245         [BZ #14638]
46246         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
46247         0 + 0.
46248         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
46249         mode for addition resulting in exact zero.
46250         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
46251         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
46252         exact 0 + 0.
46253         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46254         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46255         * math/libm-test.inc (fma_test): Add more tests.
46256         (fma_test_towardzero): New function.
46257         (fma_test_downward): Likewise.
46258         (fma_test_upward): Likewise.
46259         (main): Call the new functions.
46261 2012-09-28  David S. Miller  <davem@davemloft.net>
46263         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
46265 2012-09-28  Roland McGrath  <roland@hack.frob.com>
46267         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
46268         instead of SIGALRM.
46270         * sysdeps/gnu/_G_config.h: Moved to ...
46271         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
46272         * sysdeps/mach/hurd/_G_config.h: Moved to ...
46273         * sysdeps/generic/_G_config.h: ... here.
46275         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
46277         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
46279         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
46280         Conditionalize target on [libnss_test1.so-version].
46282         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
46284         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
46285         (elfobjdir): Move out of conditionals.
46287         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
46288         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
46289         (__nss_lookup_function): Conditionalize label remove_from_tree on
46290         [!DO_STATIC_NSS || SHARED], matching its only use.
46292 2012-09-28  David S. Miller  <davem@davemloft.net>
46294         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
46295         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
46296         file.
46297         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46298         sysdep_routines.
46299         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46300         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
46301         when HWCAP_SPARC_CRYPTO is present.
46303 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
46305         * io/tst-mknodat.c: Create a FIFO instead of a socket.
46307 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
46309         [BZ #6530]
46310         * stdio-common/vfprintf.c (process_string_arg): Revert
46311         2000-07-22 change.
46313 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
46315         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
46316         for testcase.
46317         * stdio-common/tst-sprintf.c: Include <locale.h>
46318         (main): Test sprintf's handling of incomplete multibyte
46319         characters.
46321 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
46323         * elf/dl-runtime.c (VERSYMIDX): Removed.
46324         * elf/dl-version.c (VERSYMIDX): Likewise.
46325         * elf/do-rel.h (VERSYMIDX): Likewise.
46326         (VALIDX): Likewise.
46327         * elf/dynamic-link.h (VERSYMIDX): Likewise.
46328         * elf/rtld.c (VALIDX): Likewise.
46329         (ADDRIDX): Likewise.
46330         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
46331         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
46332         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
46333         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
46334         (VALIDX): Likewise.
46335         (ADDRIDX): Likewise.
46337 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
46339         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
46341 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
46343         [BZ #11438]
46344         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
46345         to global scope.
46346         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
46347         addresses are in the same scope as 192.0.2/24.
46348         * posix/gai.conf: Document new scope table defaults.
46350 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46352         [BZ #5298]
46353         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
46354         for ftell.  Compute offsets from write pointers instead.
46355         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46357 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46359         [BZ #14543]
46360         * libio/Makefile (tests): New test case tst-fseek.
46361         * libio/tst-fseek.c: New test case to verify that fseek/ftell
46362         combination works in wide mode.
46363         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
46364         state when the external buffer state changes.
46366 2012-09-27  David S. Miller  <davem@davemloft.net>
46368         [BZ #14376]
46369         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
46370         pass reloc->r_addend in as the 'high' argument to
46371         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
46373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46375 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
46377         * rt/tst-aio2.c: Include <pthread.h>.
46378         * rt/tst-aio3.c: Likewise.
46380 2012-09-27  Steve Ellcey  <sellcey@mips.com>
46382         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
46384 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
46386         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
46387         contents on [SHARED].
46389 2012-09-26  Marek Polacek  <polacek@redhat.com>
46391         [BZ #14530]
46392         [BZ #13741]
46393         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
46394         for C++ and GCC <4.3 as well as for non GCC compilers.
46396 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
46398         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46400 2012-09-25  Roland McGrath  <roland@hack.frob.com>
46402         * Makefile.in (all, install): Declare with .PHONY.
46403         Reported by Michael Hope <michael.hope@linaro.org>.
46405 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46407         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
46408         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
46409         system header.
46410         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
46411         Likewise.
46412         (sydep_routines): Add the new and the internal functions.
46413         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
46414         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
46415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
46416         (GLIBC_2.17): Add the new function.
46417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46418         (GLIBC_2.17): Likewise.
46419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
46420         (GLIBC_2.17): Likewise.
46421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
46422         (GLIBC_2.17): Likewise.
46423         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
46425 2012-09-25  Alan Modra  <amodra@gmail.com>
46427         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
46428         Add release barrier before setting once_control to say
46429         initialisation is done.  Add hints on lwarx.  Use macro in
46430         place of isync.
46431         (clear_once_control): Add release barrier.
46433 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
46435         [BZ #13629]
46436         * math/s_clog.c (__clog): Handle more values close to |z| = 1
46437         specially.
46438         * math/s_clog10.c (__clog10): Likewise.
46439         * math/s_clog10f.c (__clog10f): Likewise.
46440         * math/s_clog10l.c (__clog10l): Likewise.
46441         * math/s_clogf.c (__clogf): Likewise.
46442         * math/s_clogl.c (__clogl): Likewise.
46443         * math/Makefile (libm-calls): Add x2y2m1.
46444         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
46445         (__x2y2m1): Likewise.
46446         (__x2y2m1l): Likewise.
46447         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
46448         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
46449         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
46450         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46451         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
46452         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
46453         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
46454         * sysdeps/i386/fpu/libm-test-ulps: Update.
46455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46457         [BZ #14621]
46458         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
46459         int as type of variable DEPTH.
46460         (glob): Use size_t instead of int as type of variables NEWCOUNT
46461         and OLD_PATHC.
46463 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46465         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46466         Add s_sincosf-sse2.
46467         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
46468         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
46469         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
46470         macros for using routine as __sincosf_ia32.
46471         Use macro for function declaration and weak_alias.
46472         * sysdeps/i386/fpu/libm-test-ulps: Update.
46474         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
46475         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46477         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
46478         subnormal argument.
46479         * math/s_cexpf.c (__cexpf): Likewise.
46480         * math/s_csinf.c (__csinf): Likewise.
46481         * math/s_csinhf.c (__csinhf): Likewise.
46482         * math/s_ctanf.c (__ctanf): Likewise.
46483         * math/s_ctanhf.c (__ctanhf): Likewise.
46484         * math/s_ccosh.c (__ccoshf): Likewise.
46485         * math/s_cexp.c (__cexpl): Likewise.
46486         * math/s_csin.c (__csin): Likewise.
46487         * math/s_csinh.c (__csinh): Likewise.
46488         * math/s_ctan.c (__ctan): Likewise.
46489         * math/s_ctanh.c (ctanh): Likewise.
46490         * math/s_ccoshl.c (__ccoshl): Likewise.
46491         * math/s_cexpl.c (__cexpl): Likewise.
46492         * math/s_csinl.c (__csinl): Likewise.
46493         * math/s_csinhl.c (__csinhl): Likewise.
46494         * math/s_ctanl.c (__ctanl): Likewise.
46495         * math/s_ctanhl.c (__ctanhl): Likewise.
46497 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
46499         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
46500         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
46501         (_IO_off_t): Define to __off_t, not _G_off_t.
46502         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
46503         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
46504         (_IO_wint_t): Define to wint_t, not _G_wint_t.
46505         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
46506         type of __dummy and __dummy2 fields.
46507         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
46508         (_G_ssize_t): Likewise.
46509         (_G_off_t): Likewise.
46510         (_G_pid_t): Likewise.
46511         (_G_uid_t): Likewise.
46512         (_G_wchar_t): Likewise.
46513         (_G_wint_t): Likewise.
46514         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
46515         (_G_ssize_t): Likewise.
46516         (_G_off_t): Likewise.
46517         (_G_pid_t): Likewise.
46518         (_G_uid_t): Likewise.
46519         (_G_wchar_t): Likewise.
46520         (_G_wint_t): Likewise.
46521         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
46522         (_G_ssize_t): Likewise.
46523         (_G_off_t): Likewise.
46524         (_G_pid_t): Likewise.
46525         (_G_uid_t): Likewise.
46526         (_G_wchar_t): Likewise.
46527         (_G_wint_t): Likewise.
46529 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46531         * malloc/arena.c: Include malloc-sysdep.h.
46532         (shrink_heap): Use check_may_shrink_heap to decide if madvise
46533         is sufficient to shrink the heap or an unmap is needed.
46534         * sysdeps/generic/malloc-sysdep.h: New file.  Define
46535         new function check_may_shrink_heap.
46536         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
46537         new function check_may_shrink_heap.
46539 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46541         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
46542         comments.
46544 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
46546         * catgets/test-gencat.sh: Add "set -e".
46547         * elf/tst-pathopt.sh: Likewise.
46548         * grp/tst_fgetgrent.sh: Likewise.
46549         * iconvdata/run-iconv-test.sh: Likewise.
46550         * intl/tst-gettext.sh: Likewise.
46551         * intl/tst-gettext2.sh: Likewise.
46552         * intl/tst-gettext4.sh: Likewise.
46553         * intl/tst-gettext6.sh: Likewise.
46554         * intl/tst-translit.sh: Likewise.
46555         * io/ftwtest-sh: Likewise.
46556         * libio/test-freopen.sh: Likewise.
46557         * malloc/tst-mtrace.sh: Likewise.
46558         * posix/globtest.sh: Likewise.
46559         * posix/tst-getconf.sh: Likewise.
46560         * posix/wordexp-tst.sh: Likewise.
46561         * stdio-common/tst-printf.sh: Likewise.
46562         * stdio-common/tst-unbputc.sh: Likewise.
46563         * stdlib/tst-fmtmsg.sh: Likewise.
46564         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46565         * catgets/Makefile: Do not specify -e option when running
46566         testsuite shell scripts.
46567         * elf/Makefile: Likewise.
46568         * grp/Makefile: Likewise.
46569         * iconvdata/Makefile: Likewise.
46570         * intl/Makefile: Likewise.
46571         * io/Makefile: Likewise.
46572         * libio/Makefile: Likewise.
46573         * malloc/Makefile: Likewise.
46574         * posix/Makefile: Likewise.
46575         * stdio-common/Makefile: Likewise.
46576         * stdlib/Makefile: Likewise.
46577         * sysdeps/x86_64/Makefile: Likewise.
46579         * io/ftwtest-sh: Add copyright header.
46580         * posix/globtest.sh: Likewise.
46581         * posix/tst-getconf.sh: Likewise.
46582         * posix/wordexp-tst.sh: Likewise.
46583         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46585 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
46587         [BZ #13679]
46588         * Makeconfig (+link): Defined as $(+link-static) if
46589         $(build-shared) isn't yes.
46590         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
46591         isn't yes.
46592         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
46594         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
46596         [BZ #14562]
46597         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
46598         new chunk size with MALLOC_ALIGN_MASK.
46600 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
46602         [BZ #5044]
46603         * stdio-common/printf_fphex.c: Include <stdbool.h> and
46604         <rounding-mode.h>.
46605         (__printf_fphex): Determine rounding using get_rounding_mode and
46606         round_away.
46607         * stdio-common/tst-printf-round.c (struct hex_test): New
46608         structure.
46609         (hex_tests): New variable.
46610         (test_hex_in_one_mode): New function.
46611         (do_test): Also run tests for hex float output.
46613 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
46615         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46616         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46617         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
46618         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46619         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46620         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
46621         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46622         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46624 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
46626         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
46627         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
46628         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
46629         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
46631 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
46633         [BZ #14579]
46634         * elf/rtld.c (dl_main): Limit the check for self loading to normal
46635         mode only.
46636         * elf/tst-rtld-load-self.sh: New test.
46637         * elf/Makefile: Run it.
46639 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
46641         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
46642         (tst-writev-ENV): Remove.
46643         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
46645 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
46647         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
46649 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
46651         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
46652         unconditional.
46653         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
46654         Likewise.
46655         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
46656         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
46657         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
46658         Likewise.
46660 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
46662         [BZ #14587]
46663         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
46664         * config.make.in (have-cpp-asm-debuginfo): Removed.
46665         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
46666         * configure: Regenerated.
46668 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
46670         [BZ #5044]
46671         * stdio-common/printf_fp.c: Include <stdbool.h> and
46672         <rounding-mode.h>.
46673         (___printf_fp): Determine rounding using get_rounding_mode and
46674         round_away.
46675         * stdio-common/tst-printf-round.c: New file.
46676         * stdio-common/Makefile (tests): Add tst-printf-round.
46677         (link-libm): New variable.
46678         ($(objpfx)tst-printf-round): Depend in $(link-libm).
46680 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
46682         [BZ #14576]
46683         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
46684         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
46685         Likewise.
46686         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
46687         Likewise.
46689 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
46691         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
46692         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46693         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46694         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46696 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
46698         [BZ #14518]
46699         * include/rounding-mode.h: New file.
46700         * sysdeps/generic/get-rounding-mode.h: Likewise.
46701         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
46702         * stdlib/strtod_l.c: Include <rounding-mode.h>.
46703         (MAX_VALUE): New macro.
46704         (MIN_VALUE): Likewise.
46705         (overflow_value): New function.
46706         (underflow_value): Likewise.
46707         (round_and_return): Use overflow_value and underflow_value to
46708         determine return values in overflow and underflow cases.  Use
46709         round_away to determine rounding depending on rounding mode.
46710         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
46711         determine return values in overflow and underflow cases.
46712         * stdlib/tst-strtod-round.c: Include <fenv.h>.
46713         (struct test_results): New structure.
46714         (struct test): Use struct test_results to store expected results
46715         for all rounding modes.
46716         (TEST): Include expected results for all rounding modes.
46717         (test_in_one_mode): New function.
46718         (do_test): Use test_in_one_mode to compute and check results.
46719         Check results for all rounding modes.
46720         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
46721         $(link-libm).
46723 2012-12-09  Allan McRae  <allan@archlinux.org>
46725         * sysdeps/i386/fpu/libm-test-ulps: Update
46727 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
46729         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
46730         (_G_int32_t): Likewise.
46731         (_G_uint16_t): Likewise.
46732         (_G_uint32_t): Likewise.
46733         (_G_HAVE_BOOL): Likewise.
46734         (_G_HAVE_ATEXIT): Likewise.
46735         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46736         (_G_HAVE_IO_FILE_OPEN): Likewise.
46737         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
46738         (_G_int32_t): Likewise.
46739         (_G_uint16_t): Likewise.
46740         (_G_uint32_t): Likewise.
46741         (_G_HAVE_BOOL): Likewise.
46742         (_G_HAVE_ATEXIT): Likewise.
46743         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46744         (_G_HAVE_IO_FILE_OPEN): Likewise.
46745         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
46746         (_G_int32_t): Likewise.
46747         (_G_uint16_t): Likewise.
46748         (_G_uint32_t): Likewise.
46749         (_G_HAVE_BOOL): Likewise.
46750         (_G_HAVE_ATEXIT): Likewise.
46751         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46752         (_G_HAVE_IO_FILE_OPEN): Likewise.
46754 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
46756         * csu/libc-tls.c: Update copyright years.
46758 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
46760         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
46761         [!_G_USING_THUNKS]: Remove conditional code.
46762         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
46763         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
46765         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
46766         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
46767         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46768         (_G_VTABLE_LABEL_PREFIX): Likewise.
46769         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46770         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46771         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46772         (_G_VTABLE_LABEL_PREFIX): Likewise.
46773         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46774         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46775         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46776         (_G_VTABLE_LABEL_PREFIX): Likewise.
46777         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46779 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
46781         * libio/Makefile: Include ../Makeconfig before tests.
46782         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
46783         only if $(build-shared) is yes.
46785         * iconv/gconv_db.c: Update copyright years.
46787 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46789         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
46790         unwind info if defined PIC. Fix special cases description.
46791         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
46793         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
46794         DP_HI_MASK entry.
46795         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
46797 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
46799         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
46801         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
46802         is NULL.
46804         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
46805         (LDLIBS-tst-chk4): This.
46806         (LDFLAGS-tst-chk5): Renamed to ...
46807         (LDLIBS-tst-chk5): This.
46808         (LDFLAGS-tst-chk6): Renamed to ...
46809         (LDLIBS-tst-chk6): This.
46810         (LDFLAGS-tst-lfschk4): Renamed to ...
46811         (LDLIBS-tst-lfschk4): This.
46812         (LDFLAGS-tst-lfschk5): Renamed to ...
46813         (LDLIBS-tst-lfschk5): This.
46814         (LDFLAGS-tst-lfschk6): Renamed to ...
46815         (LDLIBS-tst-lfschk6): This.
46817         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
46818         on $(common-objpfx)soversions.mk.
46820 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
46822         [BZ #10014]
46823         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
46824         example host name.
46826 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46828         * malloc/arena.c (arena_get_retry): New function that gets
46829         another arena for the caller to try its request on.
46830         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
46831         current arena cannot fulfill the request.
46832         (__libc_memalign): Likewise.
46833         (__libc_memalign): Likewise.
46834         (__libc_pvalloc): Likewise.
46835         (__libc_calloc): Likewise.
46837 2012-09-05  John Tobey  <john.tobey@gmail.com>
46839         [BZ #13542]
46840         * manual/arith.texi (Operations on Complex): Fix description
46841         of carg branch cut.
46843 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
46845         [BZ #10014]
46846         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
46847         host name.
46849         [BZ #10038]
46850         * manual/memory.texi (Memory): Make order of menu items match
46851         order of sections.
46853 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
46855         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
46856         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
46857         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
46859 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
46861         * csu/libc-tls.c (static_dtv): Renamed to ...
46862         (_dl_static_dtv): This.  Make it global.
46863         (_dl_initial_dtv): Removed.
46864         (__libc_setup_tls): Updated.
46865         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
46866         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
46867         DL_INITIAL_DTV.
46869 2012-09-06  Petr Machata  <pmachata@redhat.com>
46871         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
46872         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
46873         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
46874         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
46876 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
46878         [BZ #14545]
46879         * csu/libc-tls.c (_dl_initial_dtv): New variable.
46880         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
46881         freeing dtv[-1].
46883 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
46885         [BZ #14544]
46886         * Makeconfig (link-static-before-libc): Replace $(+prector)
46887         with $(+prectorT).
46888         (link-static-after-libc): Replace $(+postctor) with
46889         $(+postctorT).
46890         (link-bounded): Replace $(+prector)/$(+postctor) with
46891         $(+prectorT)/$(+postctorT).
46892         (+prectorT): New macro.
46893         (+postctorT): Likewise.
46895 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
46897         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
46898         (round_str): Handle values above the maximum for IBM long double
46899         as inexact.
46900         * stdlib/tst-strtod-round.c (tests): Regenerated.
46902 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46904         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
46905         assembler flag.
46906         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
46907         zarch_nohighgprs around the zarch optimized routines.
46908         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
46909         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
46910         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
46911         for zarch.
46913 2012-09-05  David S. Miller  <davem@davemloft.net>
46915         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46917         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
46918         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
46919         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
46920         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46921         entries.
46923 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
46925         * malloc/arena.c: Fold copyright years.
46926         * malloc/mcheck.c, malloc/memusage.c: Likewise.
46928 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
46930         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
46932 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
46934         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
46936 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
46938         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
46939         change internal state upon failure.
46941 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
46943         * malloc/mcheck.c (mcheck_check_all): Fix typo.
46944         * malloc/memusage.c (mmap): Likewise.
46945         (mmap64, mremap): Likewise.  Adjust name in comment.
46947 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46949         * libio/fileops.c: Fix typos in comments.
46950         * libio/oldfileops.c: Likewise.
46951         * libio/wfileops.c: Likewise.
46953 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46955         [BZ #1349]
46956         * malloc/Makefile (tests): Add tst-malloc-usable test case.
46957         (tst-malloc-usable-ENV): Set environment for test case.
46958         * malloc/hooks.c (malloc_check_get_size): New function to get
46959         requested size.
46960         * malloc/malloc.c (musable): Use malloc_check_get_size.
46961         * malloc/tst-malloc-usable.c: New test case.
46963 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
46965         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
46967 2012-09-05  Allan McRae  <allan@archlinux.org>
46969         [BZ #13966]
46970         * configure.in (CXX_SYSINCLUDES): Use compiler output to
46971         determine header location.
46972         * configure: Regenerated.
46974 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
46976         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
46977         float format.
46978         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
46979         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
46980         format.
46981         (test): Regenerate.
46983 2012-09-04  David S. Miller  <davem@davemloft.net>
46985         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
46986         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
46987         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
46989 2012-09-04  Florian Weimer  <fweimer@redhat.com>
46991         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
46992         failures.
46994         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
46996 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
46998         [BZ #9914]
46999         * libio/iogetdelim.c: Include <limits.h>.
47000         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
47001         + len + 1 would overflow.
47003 2012-09-03  Andreas Jaeger  <aj@suse.de>
47005         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47006         * sysdeps/i386/fpu/libm-test-ulps: Update.
47008 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47010         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
47011         Add s_sinf-sse2, s_conf-sse2.
47013         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
47014         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
47015         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
47016         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
47018         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
47019         for using routine as __sinf_ia32.
47020         Use macro for function declaration and weak_alias.
47021         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
47022         for using routine as __cosf_ia32.
47023         Use macro for function declaration and weak_alias.
47025         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
47026         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
47028         * sysdeps/x86_64/fpu/s_sinf.S: New file.
47029         * sysdeps/x86_64/fpu/s_cosf.S: New file.
47030         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47032         * math/libm-test.inc (cos_test): Add more test cases.
47033         (sin_test): Likewise.
47034         (sincos_test): Likewise.
47036 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47038         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
47039         (IFUNC_RESOLVE): Make pointers to the specialized implementations
47040         hidden.
47041         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47043 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
47045         [BZ #14538]
47046         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
47047         first element of the GOT.
47048         (elf_machine_load_address): Return the difference between
47049         the runtime address of _DYNAMIC and elf_machine_dynamic ().
47051 2012-09-01  Allan McRae  <allan@archlinux.org>
47053         [BZ #13412]
47054         * configure.in (AWK): Require gawk version 3.0 or later.
47055         * configure: Regenerated.
47057 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
47059         * sysdeps/unix/sysv/linux/kernel-features.h
47060         (__ASSUME_POSIX_CPU_TIMERS): Remove.
47061         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47062         [__NR_clock_getres]: Make code unconditional.
47063         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
47064         (clock_getcpuclockid): Remove code left unreachable by removal of
47065         conditionals.
47066         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
47067         code unconditional.
47068         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47069         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47070         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
47071         Make code unconditional.
47072         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47073         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47074         * sysdeps/unix/sysv/linux/clock_settime.c
47075         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
47076         conditional code.
47077         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
47078         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47080 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
47082         [BZ #14476]
47083         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
47084         scripts/test-installation.pl.
47086         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
47087         and $ld_so_version if it is set.
47089 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47091         [BZ #14516]
47092         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
47093         failure if reading from procfs failed.
47094         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
47096 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
47098         * sysdeps/unix/sysv/linux/kernel-features.h
47099         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
47100         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47101         Remove conditional code.
47102         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47103         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
47104         Remove conditional code.
47105         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47106         * sysdeps/unix/sysv/linux/i386/fxstat.c
47107         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47108         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47109         * sysdeps/unix/sysv/linux/i386/fxstatat.c
47110         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47111         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47112         * sysdeps/unix/sysv/linux/i386/lxstat.c
47113         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47114         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47115         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
47116         Remove conditional code.
47117         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47118         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47119         Remove conditional code.
47120         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47121         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
47122         <kernel-features.h>.
47123         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
47124         Remove.
47125         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
47126         Remove conditional code.
47127         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47128         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
47129         Remove conditional.
47131 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
47133         [BZ #5400]
47134         * NEWS: Add fixed bug number.
47136 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
47138         [BZ #14519]
47139         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
47140         underflowing exponent in case of negative sign.
47141         * stdlib/tst-strtod-round-data: Add more tests.
47142         * stdlib/tst-strtod-round.c (tests): Regenerated.
47144         [BZ #3479]
47145         * stdlib/strtod_l.c (NDIG): Remove.
47146         (HEXNDIG): Likewise.
47147         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
47148         smallest representable value.
47149         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
47150         lie within an exact representation of 1/2 ulp of the result.
47151         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
47152         unconditionally.
47153         (TENS_P9_IDX): Define unconditionally.
47154         (TENS_P9_SIZE): Likewise.
47155         (TENS_P10_IDX): Likewise.
47156         (TENS_P10_SIZE): Likewise.
47157         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
47158         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
47159         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
47160         entries for 10^2^13 and 10^2^14.
47161         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
47162         (TENS_P13_IDX): Define.
47163         (TENS_P13_SIZE): Likewise.
47164         (TENS_P14_IDX): Likewise.
47165         (TENS_P14_SIZE): Likewise.
47166         (_fpioconst_pow10): Change array size to
47167         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
47168         unconditional.
47169         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
47170         1024]: Add entries for 10^2^13 and 10^2^14.
47171         [LAST_POW10 > _LAST_POW10]: Remove #error.
47172         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
47173         (_fpioconst_pow10): Change array size to
47174         FPIOCONST_POW10_ARRAY_SIZE.
47175         * stdlib/gen-fpioconst.c: New file.
47176         * stdlib/gen-tst-strtod-round.c: Likewise.
47177         * stdlib/tst-strtod-round-data: Likewise.
47178         * stdlib/tst-strtod-round.c: Likewise.
47179         * stdlib/Makefile (tests): Add tst-strtod-round.
47181         [BZ #14459]
47182         * stdlib/strtod_l.c: Include <stdint.h>.
47183         (NDEBUG): Do not define.
47184         (round_and_return): Change EXPONENT parameter to type intmax_t.
47185         Rearrange calculations to avoid internal overflow possibilities.
47186         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
47187         Rearrange calculations to avoid internal overflow possibilities.
47188         Assert that number fits inside MPNSIZE limbs.
47189         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
47190         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
47191         calculations and add assertions to avoid internal overflow
47192         possibilities.  Add casts to avoid signed/unsigned operations.
47193         * stdlib/tst-strtod-overflow.c: New file.
47194         * stdlib/Makefile (tests): Add tst-strtod-overflow.
47196 2012-08-25  Marek Polacek  <polacek@redhat.com>
47198         * time/time.h: Fix some typos in comments.
47200 2012-08-23  Roland McGrath  <roland@hack.frob.com>
47202         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
47203         * posix/tst-rfc3484-2.c: Likewise.
47204         * posix/tst-rfc3484-3.c: Likewise.
47206 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
47208         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
47209         (EF_ARM_ABI_FLOAT_HARD): Likewise.
47211 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
47213         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
47214         #include of fxstatat64.c.
47216 2012-08-22  Roland McGrath  <roland@hack.frob.com>
47218         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
47219         * shadow/getspent_r.c: Likewise.
47220         * shadow/getspnam.c: Likewise.
47221         * shadow/getspnam_r.c: Likewise.
47222         * gshadow/getsgent.c: Likewise.
47223         * gshadow/getsgent_r.c: Likewise.
47224         * gshadow/getsgnam.c: Likewise.
47225         * gshadow/getsgnam_r.c: Likewise.
47226         * inet/getnetbyad.c: Likewise.
47227         * inet/getnetbyad_r.c: Likewise.
47228         * inet/getnetbynm.c: Likewise.
47229         * inet/getnetbynm_r.c: Likewise.
47230         * inet/getnetent.c: Likewise.
47231         * inet/getnetent_r.c: Likewise.
47232         * inet/getproto.c: Likewise.
47233         * inet/getproto_r.c: Likewise.
47234         * inet/getprtent.c: Likewise.
47235         * inet/getprtent_r.c: Likewise.
47236         * inet/getprtname.c: Likewise.
47237         * inet/getprtname_r.c: Likewise.
47238         * inet/getrpcbyname.c: Likewise.
47239         * inet/getrpcbyname_r.c: Likewise.
47240         * inet/getrpcbynumber.c: Likewise.
47241         * inet/getrpcbynumber_r.c: Likewise.
47242         * inet/getrpcent.c: Likewise.
47243         * inet/getrpcent_r.c: Likewise.
47244         * inet/getaliasent.c: Likewise.
47245         * inet/getaliasent_r.c: Likewise.
47246         * inet/getaliasname.c: Likewise.
47247         * inet/getaliasname_r.c: Likewise.
47248         * nscd/getgrgid_r.c: Likewise.
47249         * nscd/getgrnam_r.c: Likewise.
47250         * nscd/gethstbyad_r.c: Likewise.
47251         * nscd/gethstbynm3_r.c: Likewise.
47252         * nscd/getpwnam_r.c: Likewise.
47253         * nscd/getpwuid_r.c: Likewise.
47254         * nscd/getsrvbynm_r.c: Likewise.
47255         * nscd/getsrvbypt_r.c: Likewise.
47256         * nscd/gai.c: Likewise.
47258         * configure.in (build_nscd): New substituted variable, set
47259         by --disable-build-nscd and defaults to $use_nscd.
47260         * configure: Regenerated.
47261         * config.make.in (build-nscd): New substituted variable.
47262         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
47263         Change conditional to require [$(build-nscd) = yes] as well.
47264         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
47266         [BZ# 13696]
47267         * configure.in (use_nscd): New substituted variable, set by
47268         --disable-nscd.  If enabled, define USE_NSCD.
47269         * configure: Regenerated.
47270         * config.h.in: Add USE_NSCD.
47271         * config.make.in (use-nscd): New substituted variable.
47272         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
47273         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
47274         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
47275         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
47276         (CFLAGS-getgrnam_r.c): Likewise.
47277         (CFLAGS-initgroups.c): Likewise.
47278         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
47279         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
47280         Variables removed.
47281         * inet/getnetgrent_r.c
47282         (nscd_setnetgrent): New function, broken out of ...
47283         (setnetgrent): ... here.  Call it.
47284         (innetgr): Conditionalize nscd bits on [USE_NSCD].
47285         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
47286         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
47287         * nscd/Makefile (routines, aux): Move definitions after include of
47288         Makeconfig.  Conditionalize on [$(use-nscd) != no].
47289         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
47290         Conditionalize on [USE_NSCD].
47291         (is_nscd, nscd_init_cb): Likewise.
47292         (nss_load_library): Conditionalize init callback on [USE_NSCD].
47293         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
47294         * nss/nss_db/db-init.c: Likewise.
47295         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
47296         [USE_NSCD].
47297         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
47298         (make_request): Use it.
47299         (cache_valid_p): New function.
47300         (__check_pf): Use it.
47301         * NEWS: Add item for --disable-nscd.
47303 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
47305         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
47306         to support sed >= 4.2.1-20-ga9bf076.
47307         * configure: Regenerated.
47309 2012-08-22  Roland McGrath  <roland@hack.frob.com>
47311         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
47312         Conditionalize whole body on [IREL].
47314 2012-08-22  Jeff Law <law@redhat.com>
47316         [BZ #14505]
47317         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
47318         if the family is PF_UNSPEC.
47320 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
47322         * Makerules (lib-version): Rename from V.
47323         (install-lib-nosubdir): Change V to lib-version.
47325 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
47327         [BZ #14252]
47328         * powerpc32/power6/wcschr.c: New file.
47329         * powerpc32/power6/wcscpy.c: New file.
47330         * powerpc32/power6/wcsrchr.c: New file.
47331         * powerpc64/power6/wcschr.c: New file.
47332         * powerpc64/power6/wcscpy.c: New file.
47333         * powerpc64/power6/wcsrchr.c: New file.
47335 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
47337         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
47338         (two_way_short_needle): Use it.
47339         * string/strstr.c (AVAILABLE1_USES_J): Define.
47340         * string/strcasestr.c: Likewise.
47342         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
47343         array references.
47344         * string/strcasestr.c (TOLOWER): Make side-effect safe.
47346         [BZ #11607]
47347         * NEWS: Add an entry.
47348         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
47349         define their defaults.
47350         (two_way_short_needle): Detect end-of-string on-the-fly.
47351         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
47352         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
47353         * string/bug-strcasestr1.c: New test.
47354         * string/Makefile: Run it.
47356 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
47358         [BZ #11607]
47359         * string/str-two-way.h (two_way_short_needle): Optimize matching of
47360         the first character.
47362 2012-08-21  Roland McGrath  <roland@hack.frob.com>
47364         * csu/elf-init.c (__libc_csu_irel): Function removed.
47365         * csu/libc-start.c (apply_irel): New function.
47366         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
47368 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
47370         * sysdeps/unix/sysv/linux/kernel-features.h
47371         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
47372         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47373         <kernel-features.h>.
47374         [__NR_fadvise64_64]: Make code unconditional.
47375         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
47376         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47377         !__NR_fadvise64_64)]: Likewise.
47378         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47379         !__NR_fadvise64_64))]: Likewise.
47380         [__NR_fadvise64]: Make code unconditional.
47381         [!__NR_fadvise64]: Remove conditional code.
47382         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
47383         <kernel-features.h>.
47384         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47385         unconditional.
47386         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47387         conditional code.
47388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
47389         not include <kernel-features.h>.
47390         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47391         unconditional.
47392         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47393         conditional code.
47394         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
47395         include <kernel-features.h>.
47396         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47397         unconditional.
47398         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47399         conditional code.
47401 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
47403         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
47404         slight instruction rearrangements per scrollpipe analysis.
47405         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
47407 2012-08-20  Roland McGrath  <roland@hack.frob.com>
47409         * manual/syslog.texi (syslog; vsyslog, closelog):
47410         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
47411         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
47413         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
47414         DSOCAPS to match condition on defining it.
47416 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
47418         * sysdeps/unix/sysv/linux/kernel-features.h
47419         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
47420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
47421         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47422         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
47424         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47425         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
47427         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47428         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47430         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
47431         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
47433         * sysdeps/unix/sysv/linux/kernel-features.h
47434         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
47435         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
47436         unconditional.
47437         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47438         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
47439         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47440         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47441         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
47442         Make code unconditional.
47443         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47444         (__mmap64) [!__NR_mmap2]: Likewise.
47445         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
47446         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47447         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47448         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
47449         [__NR_mmap2]: Make code unconditional.
47450         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47451         (__mmap64) [!__NR_mmap2]: Likewise.
47453 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47455         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
47457 2012-08-18  Andreas Jaeger  <aj@suse.de>
47459         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
47461 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
47463         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
47464         * include/unistd.h (__have_sock_cloexec): Likewise.
47465         (__have_pipe2): Likewise.
47466         (__have_dup3): Likewise.
47468 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
47470         [BZ #9685]
47471         * include/unistd.h (__have_pipe2): Change define into an extern int.
47472         (__have_dup3): Likewise.
47473         * socket/have_sock_cloexec.c: Include fcntl.h.
47474         (__have_pipe2): New variable.
47475         (__have_dup3): Likewise.
47477 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
47479         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
47481 2012-08-17  Marek Polacek  <polacek@redhat.com>
47483         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
47484         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
47486 2012-08-17  Roland McGrath  <roland@hack.frob.com>
47488         * configure.in: Add AC_SUBST for sysheaders.
47489         * configure: Regenerated.
47490         * config.make.in (sysheaders): New substituted variable.
47492         * sysdeps/unix/mkfifo.c: Moved ...
47493         * sysdeps/posix/mkfifo.c: ... here.
47494         * sysdeps/unix/mkfifoat.c: Moved ...
47495         * sysdeps/posix/mkfifoat.c: ... here.
47497         * sysdeps/unix/utime.c: Moved ...
47498         * sysdeps/posix/utime.c: ... here.
47500         * sysdeps/unix/time.c: Moved ...
47501         * sysdeps/posix/time.c: ... here.
47502         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
47503         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
47505         * sysdeps/unix/nice.c: Moved ...
47506         * sysdeps/posix/nice.c: ... here.
47508         * sysdeps/unix/alarm.c: Moved ...
47509         * sysdeps/posix/alarm.c: ... here.
47511         * intl/Makefile ($(codeset_mo)): Depend on the input file.
47513 2012-08-17  Jeff Law <law@redhat.com>
47515         * intl/Makefile (codeset_mo): New variable.
47516         ($(codeset_mo)): New target.
47517         (tst-codeset.out): Depend on that.  Remove explicit rule.
47518         (tst-gettext3.out, tst-gettext5.out): Likewise.
47519         (LOCPATH-ENV, tst-codeset-ENV): New variables.
47520         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
47521         * intl/tst-codeset.sh: Remove.
47522         * intl/tst-gettext3.sh: Likewise.
47523         * intl/tst-gettext5.sh: Likewise.
47525 2012-08-17  Roland McGrath  <roland@hack.frob.com>
47527         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
47528         * sysdeps/unix/syscalls.list: ... here.
47530         * sysdeps/posix/getaddrinfo.c
47531         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
47532         (gaiconf_init, gaiconf_reload): Use them.
47533         [!_STATBUF_ST_NSEC]
47534         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
47535         Define using time_t rather than struct timespec.
47537         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
47538         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
47539         Macros removed.
47540         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
47541         [!NO_THREADS].
47542         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
47543         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
47544         Likewise.
47546         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
47547         __libc_cleanup_push argument.
47549         * bits/param.h: New file.
47550         * misc/sys/param.h: New file.
47551         * include/sys/param.h: New file.
47552         * misc/Makefile (headers): Add bits/param.h.
47553         * sysdeps/generic/sys/param.h: File removed.
47554         * sysdeps/unix/sysv/linux/bits/param.h: New file.
47555         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
47556         * sysdeps/mach/hurd/bits/param.h: New file.
47557         * sysdeps/mach/hurd/sys/param.h: File removed.
47559         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
47560         last change.
47562         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
47563         [_IO_MTSAFE_IO].
47564         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
47565         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
47566         New macros.
47568         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
47569         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
47570         rather than -D_IO_MTSAFE_IO conditionally.
47571         * stdio-common/Makefile (CPPFLAGS): Likewise.
47572         * wcsmbs/Makefile (CPPFLAGS): Likewise.
47573         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
47574         Use $(libio-mtsafe).
47575         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
47576         of -D_IO_MTSAFE_IO.
47577         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
47578         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
47579         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
47580         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
47581         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
47582         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
47583         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
47584         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
47585         (CFLAGS-fread_u_chk.c): Likewise.
47586         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
47587         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
47588         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
47589         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
47590         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
47591         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
47592         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
47593         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
47594         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
47596         * libio/Makefile: Test [$(libc-reentrant) = yes]
47597         instead of [$(filter %REENTRANT, $(defines)) nonempty].
47599         * Makeconfig
47600         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
47601         * sysdeps/pthread/configure: File removed.
47602         * sysdeps/pthread/Makeconfig: New file.
47603         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
47604         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
47606 2012-08-16  Gary Benson  <gbenson@redhat.com>
47608         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
47609         unmapping the first object in a namespace.
47611 2012-08-16  Roland McGrath  <roland@hack.frob.com>
47613         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
47614         (__internal_setnetgrent): ... this.  Add internal_function to
47615         definition.  Add libc_hidden_def.
47616         (setnetgrent): Update caller.
47617         (internal_endnetgrent): Renamed to ...
47618         (__internal_endnetgrent): ... this.  Add internal_function to
47619         definition.  Add libc_hidden_def.
47620         (endnetgrent): Update caller.
47621         (internal_getnetgrent_r): Renamed to ...
47622         (__internal_getnetgrent_r): ... this.  Add internal_function to
47623         definition.  Add libc_hidden_def.
47624         (__getnetgrent_r): Update caller.
47625         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
47627 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
47629         * stdlib/longlong.h: Update from GCC.
47631 2012-08-16  Roland McGrath  <roland@hack.frob.com>
47633         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
47634         on _QL, which is set by umul_ppmm but never used.
47635         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
47636         variables, which are set by GMP macros but never used.
47637         * stdio-common/_itowa.c (_itowa): Likewise.
47638         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
47639         * stdlib/mod_1.c (mpn_mod_1): Likewise.
47641 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
47643         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
47644         struct La_sh_regs is not constant.
47645         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
47646         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
47647         and struct La_sparc64_regs are not constant.
47649 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
47651         * sysdeps/unix/sysv/linux/kernel-features.h
47652         (__ASSUME_POSIX_TIMERS): Remove.
47653         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47654         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47655         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
47656         Make code unconditional.
47657         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47658         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
47659         Make code unconditional.
47660         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47661         * sysdeps/unix/sysv/linux/clock_nanosleep.c
47662         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
47663         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47664         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
47665         Make code unconditional.
47666         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47667         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
47668         (__libc_missing_posix_timers): Remove.
47670 2012-08-15  Roland McGrath  <roland@hack.frob.com>
47672         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
47673         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
47675         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
47677         * elf/dl-sym.c: Include <stdlib.h>.
47679         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
47680         constants, which avoids warnings in 32-bit builds.
47682         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
47683         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
47685         * misc/lseek.c: File moved to ...
47686         * io/lseek.c: ... here.
47688         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
47690         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
47691         shifting LEN more than 31 bits at once.
47693 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47695         [BZ #14195]
47696         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
47697         segmentation fault for a case of two empty input strings.
47698         * string/test-strncasecmp.c (check1): Renamed to...
47699         (bz12205): ...this.
47700         (bz14195): Add new testcase for two empty input strings and N > 0.
47701         (test_main): Call new testcase, adapt for renamed function.
47703 2012-08-15  Andreas Jaeger  <aj@suse.de>
47705         [BZ #14090]
47706         * crypt/md5test2.c: New test, based on test supplied by Serge
47707         Belyshev <belyshev@depni.sinp.msu.ru>.
47708         * crypt/Makefile (xtests): Add md5test-giant..
47709         * crypt/Makefile ($(objpfx)md5test-giant): Add.
47711 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
47713         [BZ #14090]
47714         * crypt/md5.c (md5_process_block): Don't assume the buffer
47715         length is less than 2**32.
47716         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
47717         length is less than 2**64.
47719 2012-08-15  Roland McGrath  <roland@hack.frob.com>
47721         * string/str-two-way.h: Include <sys/param.h>.
47722         (MAX): Macro removed.
47724         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
47725         Move #define and #undef of memmove to just before and after
47726         including <string.h>.
47728         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
47729         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
47730         and after including <string.h>.  Move declarations of
47731         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
47732         to before #include "string/memmove.c".
47734         * include/dirent.h: Declare __getdirentries.
47736         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
47737         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
47739 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
47741         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
47742         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
47743         * sysdeps/i386/configure: Regenerated.
47744         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
47745         STABS_CURRENT_FILE, and STABS_FUN.
47746         (END): Remove call to STABS_FUN_END.
47747         (STABS_CURRENT_FILE1): Delete.
47748         (STABS_CURRENT_FILE): Likewise.
47749         (STABS_FUN): Likewise.
47750         (STABS_FUN_END): Likewise.
47751         (STABS_FUN2): Likewise.
47752         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
47753         * sysdeps/x86_64/configure: Regenerated.
47755 2012-08-14  Roland McGrath  <roland@hack.frob.com>
47757         * elf/dl-open.c: Include <atomic.h>.
47758         * elf/dl-lookup.c: Likewise.
47760 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
47762         * sysdeps/unix/sysv/linux/kernel-features.h
47763         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
47764         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
47765         unconditionally.
47766         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
47767         unconditionally.
47768         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
47769         condition on __ASSUME_CLONE_THREAD_FLAGS.
47771 2012-08-14  Andreas Jaeger  <aj@suse.de>
47773         * sysdeps/i386/fpu/libm-test-ulps: Update.
47775 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
47777         * include/atomic.h (atomic_exchange_and_add): Split into ...
47778         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
47779         New atomic macros.
47781 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
47783         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47785 2012-08-13  Jeff Law <law@redhat.com>
47787         * manual/stdio.texi (snprintf): Clarify handling of the trailing
47788         null byte in the output string.
47790 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
47792         * sysdeps/unix/sysv/linux/kernel-features.h
47793         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
47794         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
47795         (__ASSUME_ARG_MAX_STACK_BASED): Define.
47796         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
47797         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
47798         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
47799         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
47801 2012-08-09  Jeff Law <law@redhat.com>
47803         [BZ #13939]
47804         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
47805         When avoid_arena is set, don't retry in the that arena.  Pick the
47806         next one, whatever it might be.
47807         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
47808         (arena_lock): Pass in new parameter to arena_get2.
47809         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
47810         arena_get2.
47811         (__libc_malloc): Unify retrying after main arena failure with
47812         __libc_memalign version.
47813         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
47815 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
47817         [BZ #14166]
47818         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
47819         to __redirect_strstr.
47820         (__strstr_sse42): Use typeof __redirect_strstr.
47821         (__strstr_ia32): Likewise.
47822         (__libc_strstr): New prototype.
47823         (strstr): Renamed to ...
47824         (__libc_strstr): This.
47825         (strstr): New strong alias of __libc_strstr.
47826         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
47827         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
47828         __redirect_time.
47829         Include <time.h>.
47830         (__libc_time): New prototype.
47831         (time_ifunc): Replace time with __libc_time.
47832         (time): New strong alias and hidden definition of __libc_time.
47833         (__GI_time): Remove strong alias.
47834         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
47835         Include <stddef.h>.
47836         (memmove): Redefined to __redirect_memmove.
47837         (__memmove_sse2): Use typeof __redirect_memmove.
47838         (__memmove_ssse3): Likewise.
47839         (__memmove_ssse3_back): Likewise.
47840         (__libc_memmove): New prototype.
47841         (memmove): Renamed to ...
47842         (__libc_memmove): This.
47843         (memmove): New strong alias of __libc_memmove.
47845 2012-08-08  Mark Salter  <msalter@redhat.com>
47847         * elf/elf.h
47848         (R_MN10300_TLS_GD): Define.
47849         (R_MN10300_TLS_LD): Likewise.
47850         (R_MN10300_TLS_LDO): Likewise.
47851         (R_MN10300_TLS_GOTIE): Likewise.
47852         (R_MN10300_TLS_IE): Likewise.
47853         (R_MN10300_TLS_LE): Likewise.
47854         (R_MN10300_TLS_DTPMOD): Likewise.
47855         (R_MN10300_TLS_DTPOFF): Likewise.
47856         (R_MN10300_TLS_TPOFF): Likewise.
47857         (R_MN10300_SYM_DIFF): Likewise.
47858         (R_MN10300_ALIGN): Likewise.
47859         (R_MN10300_NUM): Update.
47861 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
47863         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
47864         Remove.
47866 2012-08-08  Roland McGrath  <roland@hack.frob.com>
47868         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
47870         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
47871         sysdeps/unix -> sysdeps/posix move.
47872         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47874 2012-08-07      Allan McRae     <allan@archlinux.org>
47876         [BZ #14303]
47877         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
47878         (SUNOS_CPP): Likewise.
47879         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
47880         not found.
47881         (open_input): Call CPP using execvp.
47883 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
47885         * sysdeps/unix/sysv/linux/kernel-features.h
47886         (__ASSUME_PROT_GROWSUPDOWN): Remove.
47887         (__ASSUME_NO_CLONE_DETACHED): Likewise.
47888         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47889         (__ASSUME_WAITID_SYSCALL): Likewise.
47890         * sysdeps/unix/sysv/linux/dl-execstack.c
47891         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
47892         code unconditional.
47893         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
47894         conditional code.
47895         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
47896         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
47897         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
47898         code.
47899         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
47900         unconditional.
47901         [__ASSUME_WAITID_SYSCALL]: Likewise.
47902         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
47904 2012-08-07  Roland McGrath  <roland@hack.frob.com>
47906         * sysdeps/unix/closedir.c: Renamed to ...
47907         * sysdeps/posix/closedir.c: ... here.
47908         * sysdeps/unix/dirfd.c: Renamed to ...
47909         * sysdeps/posix/dirfd.c: ... here.
47910         * sysdeps/unix/dirstream.h: Renamed to ...
47911         * sysdeps/posix/dirstream.h: ... here.
47912         * sysdeps/unix/fdopendir.c: Renamed to ...
47913         * sysdeps/posix/fdopendir.c: ... here.
47914         * sysdeps/unix/opendir.c: Renamed to ...
47915         * sysdeps/posix/opendir.c: ... here.
47916         * sysdeps/unix/readdir.c: Renamed to ...
47917         * sysdeps/posix/readdir.c: ... here.
47918         * sysdeps/unix/readdir_r.c: Renamed to ...
47919         * sysdeps/posix/readdir_r.c: ... here.
47920         * sysdeps/unix/rewinddir.c: Renamed to ...
47921         * sysdeps/posix/rewinddir.c: ... here.
47922         * sysdeps/unix/seekdir.c: Renamed to ...
47923         * sysdeps/posix/seekdir.c: ... here.
47924         * sysdeps/unix/telldir.c: Renamed to ...
47925         * sysdeps/posix/telldir.c: ... here.
47926         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
47927         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
47928         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
47929         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
47931         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
47932         * bits/fcntl.h: ... here.
47934         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
47935         not 0.
47936         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
47937         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
47938         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
47939         (struct flock): Move l_start, l_len to the beginning.
47940         Use __pid_t for l_pid.
47941         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
47942         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
47943         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
47944         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
47945         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
47946         [__USE_LARGEFILE64] (struct flock64): New type.
47947         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
47949         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
47950         * bits/dirent.h: ... here.
47952         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
47953         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
47955 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
47957         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47958         Change from 2.6.0 to 2.6.16.
47959         * sysdeps/unix/sysv/linux/configure: Regenerated.
47960         * sysdeps/unix/sysv/linux/kernel-features.h
47961         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
47962         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
47963         version.
47964         (__ASSUME_UTIMES): Likewise.
47965         (__ASSUME_CLONE_STOPPED): Remove.
47966         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
47967         architectures, not kernel version.
47968         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
47969         (__ASSUME_NO_CLONE_DETACHED): Likewise.
47970         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47971         (__ASSUME_WAITID_SYSCALL): Likewise.
47972         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
47973         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
47974         * README: State 2.6.16 as minimum Linux kernel version.  Do not
47975         refer to older versions.
47977 2012-08-06  Roland McGrath  <roland@hack.frob.com>
47979         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
47980         Define alphasort64 as an alias.
47981         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
47982         Define versionsort64 as an alias.
47983         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
47984         Define scandir64 as an alias.
47985         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
47986         Define scandirat64 as an alias.
47987         * dirent/alphasort64.c (alphasort64):
47988         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
47989         * dirent/versionsort64.c: Likewise.
47990         * dirent/scandir64.c: Likewise.
47991         * dirent/scandirat64.c: Likewise.
47992         * sysdeps/wordsize-64/alphasort.c: File removed.
47993         * sysdeps/wordsize-64/alphasort64.c: File removed.
47994         * sysdeps/wordsize-64/scandir.c: File removed.
47995         * sysdeps/wordsize-64/scandir64.c: File removed.
47996         * sysdeps/wordsize-64/scandirat.c: File removed.
47997         * sysdeps/wordsize-64/scandirat64.c: File removed.
47998         * sysdeps/wordsize-64/versionsort.c: File removed.
47999         * sysdeps/wordsize-64/versionsort64.c: File removed.
48000         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
48001         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
48002         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
48003         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
48004         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
48005         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
48006         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
48007         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
48009         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
48010         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48011         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
48012         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48013         [defined __arch64__ || defined __sparcv9]
48014         (__INO_T_MATCHES_INO64_T): New macro.
48015         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48016         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
48017         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
48018         * sysdeps/unix/sysv/linux/bits/dirent.h
48019         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
48020         (_DIRENT_MATCHES_DIRENT64): New macro.
48022         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
48023         Define lockf64 as an alias.
48024         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
48025         Define fseeko64 as an alias.
48026         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
48027         Define ftello64 as an alias.
48028         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
48029         Define _IO_fgetpos64 and fgetpos64 as aliases.
48030         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
48031         Define _IO_fsetpos64 and fsetpos64 as aliases.
48032         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
48033         Conditionalize body on this.
48034         * libio/fseeko64.c: Likewise.
48035         * libio/ftello64.c: Likewise.
48036         * libio/iofgetpos64.c: Likewise.
48037         * libio/iofsetpos64.c: Likewise.
48038         * sysdeps/wordsize-64/lockf.c: File removed.
48039         * sysdeps/wordsize-64/lockf64.c: File removed.
48040         * sysdeps/wordsize-64/fseeko.c: File removed.
48041         * sysdeps/wordsize-64/fseeko64.c: File removed.
48042         * sysdeps/wordsize-64/ftello.c: File removed.
48043         * sysdeps/wordsize-64/ftello64.c: File removed.
48044         * sysdeps/wordsize-64/iofgetpos.c: File removed.
48045         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
48046         * sysdeps/wordsize-64/iofsetpos.c: File removed.
48047         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
48048         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
48049         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
48050         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
48051         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
48052         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
48053         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
48054         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
48055         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
48056         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
48057         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
48059         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48060         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48061         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
48062         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48063         [defined __arch64__ || defined __sparcv9]
48064         (__OFF_T_MATCHES_OFF64_T): New macro.
48065         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48066         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48067         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48068         (__OFF_T_MATCHES_OFF64_T): New macro.
48070 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
48072         * stdlib/secure-getenv.c (__secure_getenv): Replace
48073         GLIBC_2_16 with GLIBC_2_17.
48075 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
48077         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
48078         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48080 2012-08-03  David S. Miller  <davem@davemloft.net>
48082         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48084 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
48086         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
48087         Remove.
48088         (__ASSUME_CORRECT_SI_PID): Likewise.
48089         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
48090         (__ASSUME_TMPFS_NAME): Likewise.
48091         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
48092         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
48093         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
48094         (HAVE_AUX_SECURE): Make definition unconditional.
48095         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
48096         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
48098 2012-08-03  Roland McGrath  <roland@hack.frob.com>
48100         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
48101         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
48102         * sysdeps/mach/hurd/eloop-threshold.h: New file.
48103         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48104         __eloop_threshold instead of SYMLOOP_MAX.
48106         * sysdeps/generic/eloop-threshold.h: New file.
48107         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
48108         of MAXSYMLINKS.
48109         * elf/chroot_canon.c (chroot_canon): Likewise.
48111 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
48113         [BZ #13717]
48114         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48115         Change to 2.6.0 everywhere.
48116         * sysdeps/unix/sysv/linux/configure: Regenerated.
48117         * sysdeps/unix/sysv/linux/kernel-features.h
48118         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
48119         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
48120         kernel versions.
48121         (__ASSUME_POSIX_TIMERS): Define unconditionally.
48122         (__ASSUME_FUTEX_REQUEUE): Remove.
48123         (__ASSUME_STATFS64): Define unconditionally.
48124         (__ASSUME_AT_SECURE): Likewise.
48125         (__ASSUME_CORRECT_SI_PID): Likewise.
48126         (__ASSUME_TGKILL): Define without depending on kernel version for
48127         i386.
48128         (__ASSUME_UTIMES): Likewise.
48129         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
48130         kernel version.
48131         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
48132         (__ASSUME_TMPFS_NAME): Likewise.
48133         * README: Update reference to Linux kernel versions.
48135 2012-08-02  Marek Polacek  <polacek@redhat.com>
48137         [BZ# 14150]
48138         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
48139         libc_cv_asm_type_prefix with %.
48140         * configure: Regenerated.
48141         * include/libc-symbols.h: Remove comment about
48142         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48143         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
48144         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
48145         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
48146         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
48147         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48148         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
48149         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
48150         * elf/tst-unique2mod1.c: Likewise.
48151         * elf/tst-unique1mod2.c: Likewise.
48152         * elf/tst-unique1mod1.c: Likewise.
48153         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
48154         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
48155         Replace ASM_TYPE_DIRECTIVE with .type.
48156         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48157         * sysdeps/i386/sysdep.h: Likewise.
48158         * sysdeps/x86_64/sysdep.h: Likewise.
48159         * sysdeps/sh/sysdep.h: Likewise.
48160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48161         Do not define ASM_TYPE_DIRECTIVE.
48162         * sysdeps/powerpc/sysdep.h: Likewise.
48163         * sysdeps/powerpc/powerpc32/sysdep.h:
48164         Replace ASM_TYPE_DIRECTIVE with .type.
48165         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48166         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48167         * sysdeps/i386/fpu/e_powf.S: Likewise.
48168         * sysdeps/i386/fpu/e_expl.S: Likewise.
48169         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48170         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48171         * sysdeps/i386/fpu/e_pow.S: Likewise.
48172         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48173         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48174         * sysdeps/i386/fpu/s_expm1.S: Likewise.
48175         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48176         * sysdeps/i386/fpu/e_log2.S: Likewise.
48177         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48178         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48179         * sysdeps/i386/fpu/e_powl.S: Likewise.
48180         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48181         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48182         * sysdeps/i386/fpu/e_logl.S: Likewise.
48183         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48184         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48185         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48186         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48187         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48188         * sysdeps/i386/fpu/e_log.S: Likewise.
48189         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48190         * sysdeps/i386/fpu/e_logf.S: Likewise.
48191         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48192         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48193         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48194         * sysdeps/i386/fpu/e_log10.S: Likewise.
48195         * sysdeps/i386/fpu/s_frexp.S: Likewise.
48196         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48197         * sysdeps/i386/fpu/s_asinh.S: Likewise.
48198         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48199         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48200         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
48201         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48202         * sysdeps/i386/i686/strtok.S: Likewise.
48203         * sysdeps/i386/i386-mcount.S: Likewise.
48204         * sysdeps/i386/strtok.S: Likewise.
48205         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
48206         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48207         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48208         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48209         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48210         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48211         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48212         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48213         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48214         * sysdeps/x86_64/_mcount.S: Likewise.
48215         * sysdeps/x86_64/strtok.S: Likewise.
48216         * sysdeps/sh/_mcount.S: Likewise.
48218 2012-08-01  Roland McGrath  <roland@hack.frob.com>
48220         * libio/iofopen.c: Include <fcntl.h>.
48221         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
48222         (_IO_fopen64, fopen64): Define as aliases.
48223         * libio/iofopen64.c: Include <fcntl.h>.
48224         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
48225         Conditionalize body on this.
48226         * sysdeps/wordsize-64/iofopen.c: File removed.
48227         * sysdeps/wordsize-64/iofopen64.c: File removed.
48229 2012-08-01  Marek Polacek  <polacek@redhat.com>
48231         * libc/Makeconfig: Use elf in place of binfmt-subdir.
48232         Use dlfcn directly instead of a variable.
48233         (binfmt-subdir): Do not define.
48234         (dlfcn): Likewise.
48236 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
48238         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
48239         Remove all definitions.
48240         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
48241         <kernel-features.h>.
48242         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48243         (miss_F_GETOWN_EX): Remove all definitions.
48244         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
48245         macro definition.
48246         [!__ASSUME_FCNTL64]: Remove conditional code.
48247         [__ASSUME_FCNTL64]: Make code unconditional.
48248         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
48249         <kernel-features.h>.
48250         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48251         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
48252         (lockf64) [__NR_fcntl64]: Make code unconditional.
48253         (lockf64) [__ASSUME_FCNTL64]: Likewise.
48255         * sysdeps/unix/sysv/linux/kernel-features.h
48256         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
48257         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
48258         Make code unconditional.
48259         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48260         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
48262         [__NR_vfork]: Make code unconditional.
48263         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48264         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
48266         [__NR_vfork]: Make code unconditional.
48267         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48268         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48270 2012-08-01  Roland McGrath  <roland@hack.frob.com>
48272         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
48273         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
48275         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48276         Define mkstemp64 as an alias.
48277         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48278         Define mkstemps64 as an alias.
48279         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48280         Define mkostemp64 as an alias.
48281         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48282         Define mkostemps64 as an alias.
48283         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
48284         Conditionalize body on this.
48285         * misc/mkostemp64.c: Likewise.
48286         * misc/mkostemps64.c: Likewise.
48287         * misc/mkstemps64.c: Likewise.
48288         * sysdeps/wordsize-64/mkstemp64.c: File removed.
48289         * sysdeps/wordsize-64/mkostemp64.c: File removed.
48290         * sysdeps/wordsize-64/mkostemp.c: File removed.
48291         * sysdeps/wordsize-64/mkstemp.c: File removed.
48292         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
48293         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
48294         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
48295         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
48297         [BZ #14138]
48298         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
48299         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
48300         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
48301         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
48303         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
48304         compat_symbol macros from <shlib-compat.h> rather than the underlying
48305         default_symbol_version and symbol_version macros, so that DEFAULT
48306         lines in shlib-versions are respected.
48307         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
48309 2012-08-01  Florian Weimer  <fweimer@redhat.com>
48311         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
48312         Declare with warn_unused_result.
48313         (setgid, setregid, setegid, setresgid): Likewise.
48314         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
48315         Likewise.
48316         * WUR-REPORT: Remove set*id functions.
48318 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
48320         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
48322 2012-07-31  Roland McGrath  <roland@hack.frob.com>
48324         [BZ #10191]
48325         * include/sys/socket.h (__libc_accept, __libc_accept4):
48326         Add attribute_hidden.
48327         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
48329         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
48330         use of PTR_MANGLE.
48331         * inet/getnetgrent_r.c (setup): Likewise.
48333         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
48335 2012-07-31  David S. Miller  <davem@davemloft.net>
48337         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48339 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
48341         [BZ #13629]
48342         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
48343         value between 1.0 and 2.0 and smaller part has absolute value less
48344         than 1.0.
48345         * math/s_clog10.c (__clog10): Likewise.
48346         * math/s_clog10f.c (__clog10f): Likewise.
48347         * math/s_clog10l.c (__clog10l): Likewise.
48348         * math/s_clogf.c (__clogf): Likewise.
48349         * math/s_clogl.c (__clogl): Likewise.
48350         * math/libm-test.inc (clog_test): Add more tests.
48351         (clog10_test): Likewise.
48352         * sysdeps/i386/fpu/libm-test-ulps: Update.
48353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48355 2012-07-31  Florian Weimer  <fweimer@redhat.com>
48357         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
48358         Exit with zero in case no suitable GID is found, and write a
48359         message to standard error.
48361 2012-07-30  Roland McGrath  <roland@hack.frob.com>
48363         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
48364         rather than to 1.
48365         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
48366         (MAXPATHLEN): Removed.
48367         (NOGROUP, NODEV): New macros.
48368         (setbit, clrbit, isset, isclr): New macros.
48369         (howmany, roundup, powerof2): New macros.
48370         (DEV_BSIZE): New macro.
48372         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
48373         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
48375         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
48376         definition on [!__NO_LONG_DOUBLE_MATH].
48378         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
48379         PTR_MANGLE and PTR_DEMANGLE.
48381         * socket/accept4.c (accept4): Rename to __libc_accept4.
48382         Define accept4 as a weak alias.
48384         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
48385         on [_DIRENT_HAVE_D_TYPE].
48386         * io/ftw.c (ftw_dir): Likewise.
48388         * io/xmknod.c (__xmknod): Don't check PATH for being null.
48390         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
48392         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
48393         Use the BSD numbers rather than the arbitrary ones we had.
48394         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
48395         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
48396         (SIGXCPU, SIGXFSZ): New macros.
48397         (_NSIG): Now 32.
48399         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
48400         initializer on [_LIBC_REENTRANT].
48402         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
48403         definitions inside [_POSIX_MAPPED_FILES].
48405         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
48407         * dirent/opendir.c: Include <fcntl.h>.
48409         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
48410         (__libc_getspecific): Likewise.
48411         (__libc_key_create): Likewise.
48413         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
48414         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
48415         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
48416         (tmpfile64): Define as alias.
48417         * sysdeps/wordsize-64/tmpfile.c: File removed.
48418         * sysdeps/wordsize-64/tmpfile64.c: File removed.
48419         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
48420         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
48422         * stdio-common/vfscanf.c: Include <stdbool.h>.
48423         * nss/makedb.c: Likewise.
48424         * stdio-common/_i18n_number.h: Likewise.
48425         * argp/argp-help.c: Likewise.
48426         * posix/wordexp.c: Likewise.
48427         * sysdeps/posix/spawni.c: Likewise.
48428         * nss/nss_files/files-initgroups.c: Likewise.
48429         * stdio-common/reg-modifier.c: Include <stdlib.h>.
48430         * nss/nss_files/files-initgroups.c: Likewise.
48431         * nss/nss_db/db-netgrp.c: Likewise.
48432         * nss/nss_db/db-initgroups.c: Likewise.
48433         * io/fchmodat.c: Include <sys/stat.h>.
48435         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
48436         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
48438         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
48439         [HAVE_MMAP].
48441         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
48442         Add multiple inclusion protection.
48444 2012-07-27  David S. Miller  <davem@davemloft.net>
48446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48448 2012-07-27  Gary Benson  <gbenson@redhat.com>
48450         [BZ #14298]
48451         * elf/rtld.c: Include <stap-probe.h>.
48452         (dl_main): Added static probes "init_start" and "init_complete".
48453         * elf/dl-load.c: Include <stap-probe.h>.
48454         (lose): Take new parameter "nsid".
48455         Added static probe "map_failed".
48456         (_dl_map_object_from_fd): Pass namespace id to lose.
48457         Added static probe "map_start".
48458         (open_verify): Pass namespace id to lose.
48459         * elf/dl-open.c: Include <stap-probe.h>.
48460         (dl_open_worker) Added static probes "map_complete", "reloc_start"
48461         and "reloc_complete".
48462         * elf/dl-close.c: Include <stap-probe.h>.
48463         (_dl_close_worker): Added static probes "unmap_start" and
48464         "unmap_complete".
48465         * elf/rtld-debugger-interface.txt: New file documenting the above.
48467 2012-07-26  Roland McGrath  <roland@hack.frob.com>
48469         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
48470         rather than a string variable.
48471         * sunrpc/rpc_main.c (h_output): Likewise.
48472         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
48474 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
48476         * inet/check_native.c: New file.
48478 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
48480         [BZ #13629]
48481         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
48482         if larger part has absolute value 1.0.
48483         * math/s_clog10.c (__clog10): Likewise.
48484         * math/s_clog10f.c (__clog10f): Likewise.
48485         * math/s_clog10l.c (__clog10l): Likewise.
48486         * math/s_clogf.c (__clogf): Likewise.
48487         * math/s_clogl.c (__clogl): Likewise.
48488         * math/libm-test.inc (clog_test): Add more tests.
48489         (clog10_test): Likewise.
48490         * sysdeps/i386/fpu/libm-test-ulps: Update.
48491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48493         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
48494         (pltexit): Likewise.
48495         (La_regs): Likewise.
48496         (La_retval): Likewise.
48497         (int_retval): Likewise.
48498         Update #error for removed macros to refer only to definitions in
48499         tst-audit.h.
48500         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
48501         macro.
48502         (pltexit): Likewise.
48503         (La_regs): Likewise.
48504         (La_retval): Likewise.
48505         (int_retval): Likewise.
48506         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
48507         macro.
48508         (pltexit): Likewise.
48509         (La_regs): Likewise.
48510         (La_retval): Likewise.
48511         (int_retval): Likewise.
48512         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
48513         macro.
48514         (pltexit): Likewise.
48515         (La_regs): Likewise.
48516         (La_retval): Likewise.
48517         (int_retval): Likewise.
48518         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
48519         macro.
48520         (pltexit): Likewise.
48521         (La_regs): Likewise.
48522         (La_retval): Likewise.
48523         (int_retval): Likewise.
48524         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
48525         macro.
48526         (pltexit): Likewise.
48527         (La_regs): Likewise.
48528         (La_retval): Likewise.
48529         (int_retval): Likewise.
48530         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
48531         macro.
48532         (pltexit): Likewise.
48533         (La_regs): Likewise.
48534         (La_retval): Likewise.
48535         (int_retval): Likewise.
48536         * sysdeps/generic/tst-audit.h: Update comment to refer only to
48537         macro definitions in tst-audit.h.
48538         * sysdeps/i386/tst-audit.h: New file.
48539         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
48540         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
48541         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
48542         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
48543         * sysdeps/sh/tst-audit.h: Likewise.
48544         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
48545         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
48546         * sysdeps/x86_64/tst-audit.h: Likewise.
48548 2012-07-26  Andreas Jaeger  <aj@suse.de>
48550         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
48551         ptrace.
48553         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
48554         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
48555         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
48556         PTRACE_O_MASK.
48557         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
48558         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
48559         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
48561         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
48562         value.
48564         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
48565         _sigsys.
48566         (si_call_addr, si_syscall, si_arch): Define new macro.
48567         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
48568         _sigsys.
48569         (si_call_addr, si_syscall, si_arch): Define new marcro.
48570         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
48571         _sigsys.
48572         (si_call_addr, si_syscall, si_arch): Define new macro.
48573         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
48574         _sigsys.
48575         (si_call_addr, si_syscall, si_arch): Define new macro.
48577 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
48579         [BZ #13717]
48580         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48581         Change to 2.4.21 where previously 2.4.1.
48582         * sysdeps/unix/sysv/linux/configure: Regenerated.
48583         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
48584         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
48585         Linux kernel version.
48586         (__ASSUME_STD_AUXV): Remove.
48587         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
48588         kernel version.
48589         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
48590         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
48591         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
48592         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
48593         (__ASSUME_NETLINK_SUPPORT): Likewise.
48594         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
48595         (__no_netlink_support): Remove conditional definition.
48596         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
48597         Remove.
48598         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48599         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
48600         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
48601         (if_nameindex_ioctl): Remove.
48602         (if_nameindex_netlink): Do not handle __no_netlink_support.
48603         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48604         code.
48605         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
48606         Remove conditional code.
48607         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48608         code.
48609         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
48610         unconditional.
48611         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48612         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
48613         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
48614         Remove.
48615         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
48616         [!__ASSUME_STD_AUXV]: Remove conditional code.
48617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
48618         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
48619         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
48620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
48621         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
48622         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48623         code.
48624         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48626         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
48627         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48628         conditional code.
48629         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48631         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48632         code.
48633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48634         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48635         conditional code.
48636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
48637         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48638         code unconditional.
48639         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48640         conditional code.
48641         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48642         unconditional.
48643         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48644         conditional code.
48645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48646         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48647         unconditional.
48648         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48649         conditional code.
48650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
48651         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48652         code unconditional.
48653         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48654         conditional code.
48655         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48656         unconditional.
48657         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48658         conditional code.
48659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
48660         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48661         code unconditional.
48662         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48663         conditional code.
48664         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48665         unconditional.
48666         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48667         conditional code.
48669 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
48671         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
48672         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
48673         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48674         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
48675         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
48676         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48677         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48678         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
48679         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
48680         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
48681         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
48682         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
48683         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
48684         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48685         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
48686         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
48687         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
48688         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
48689         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
48690         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
48691         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
48692         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
48693         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48695 2012-07-25  Florian Weimer  <fweimer@redhat.com>
48697         * Versions.def: Add GLIBC_2.17.
48698         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
48699         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
48700         Introduce __libc_secure_getenv.
48701         * stdlib/Versions (2.17): Add secure_getenv
48702         (GLIBC_PRIVATE): Add __libc_secure_getenv.
48703         * stdlib/secure-getenv.c: Rename __secure_getenv to
48704         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
48705         symbol __secure_getenv for GLIBC_2.0.
48706         * stdlib/tst-secure-getenv.c: New.
48707         * stdlib/Makefile (tests): Add testcase.
48708         * manual/startup.texi (Environment Access): Document
48709         secure_getenv.
48710         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
48711         __libc_secure_getenv.
48712         * inet/ruserpass.c (ruserpass): Likewise.
48713         * malloc/mtrace.c (mtrace): Likewise.
48714         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
48715         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
48716         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
48717         * sysdeps/posix/tempname.c: Likewise.  Evaluate
48718         HAVE_SECURE_GETENV.
48719         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
48720         __secure_getenv to __libc_secure_getenv.
48721         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
48722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48723         Likewise.
48724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48725         Likewise.
48726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
48727         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
48728         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48729         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
48730         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
48731         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
48734 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
48736         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
48737         (struct La_i86_retval): Likewise.
48738         (struct La_x86_64_regs): Likewise.
48739         (struct La_x86_64_retval): Likewise.
48740         (struct La_x32_regs): Likewise.
48741         (struct La_x32_retval): Likewise.
48742         (struct La_ppc32_regs): Likewise.
48743         (struct La_ppc32_retval): Likewise.
48744         (struct La_ppc64_regs): Likewise.
48745         (struct La_ppc64_retval): Likewise.
48746         (struct La_sh_regs): Likewise.
48747         (struct La_sh_retval): Likewise.
48748         (struct La_s390_32_regs): Likewise.
48749         (struct La_s390_32_retval): Likewise.
48750         (struct La_s390_64_regs): Likewise.
48751         (struct La_s390_64_retval): Likewise.
48752         (struct La_sparc32_regs): Likewise.
48753         (struct La_sparc32_retval): Likewise.
48754         (struct La_sparc64_regs): Likewise.
48755         (struct La_sparc64_retval): Likewise.
48756         (struct audit_ifaces): Remove architecture-specific pltenter and
48757         pltexit members.
48758         * sysdeps/i386/ldsodefs.h: New file.
48759         * sysdeps/powerpc/ldsodefs.h: Likewise.
48760         * sysdeps/s390/ldsodefs.h: Likewise.
48761         * sysdeps/sh/ldsodefs.h: Likewise.
48762         * sysdeps/sparc/ldsodefs.h: Likewise.
48763         * sysdeps/x86_64/ldsodefs.h: Likewise.
48765 2012-07-25  Marek Polacek  <polacek@redhat.com>
48767         [BZ #6808]
48768         * math/libm-test.inc (yn_test): Add another test.
48769         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
48770         to ERANGE when the result is +-Inf.
48771         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
48772         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
48773         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
48774         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
48776 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
48778         * conform/data/time.h-data (NULL): Use macro-constant.  Require
48779         equal to 0.
48780         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
48781         clock_t.
48782         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
48784 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
48786         * configure.in <sysdeps resolving>: Correct printing
48787         Implies_before.
48788         * configure: Regenerate.
48790 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
48792         * math/w_ilogb.c: Include <limits.h>.
48793         * math/w_ilogbl.c: Likewise.
48795 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
48797         * manual/lang.texi (__va_copy): Document primarily as ISO C99
48798         va_copy.  Document allowing for unavailable va_copy only as
48799         pre-C99 compatibility.
48800         * manual/string.texi (Copying and Concatenation): Use va_copy
48801         instead of __va_copy in concat example.
48803 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
48805         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
48806         (__sendto): Use create_address_port.  Initialize APORT and deallocate
48807         it if not null.
48809         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
48810         with O_NOLINK passed to __file_name_lookup.
48812         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
48813         with O_NOLINK passed to __file_name_lookup.
48815         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
48816         negative N or less than NGIDS.
48818         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
48819         type to string_t.  Set ERANGE as errno and return it if NAME is not big
48820         enough.  Use memcpy instead of strncpy.
48822 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
48824         * elf/Makefile (check-data): Remove.
48825         (localplt.data): New vpath directive.
48826         ($(objpfx)check-localplt.out): Use localplt.data from vpath
48827         instead of $(check-data).
48828         * scripts/data/localplt-generic.data: Move to ...
48829         * sysdeps/generic/localplt.data: ... here.
48830         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
48831         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
48832         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
48833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48834         ... here.
48835         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
48836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48837         ... here.
48838         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
48839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
48840         ... here.
48841         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
48842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48843         ... here.
48844         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
48845         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
48846         ... here.
48847         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
48848         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
48849         ... here.
48851 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48853         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
48854         PPC32 and PPC64 files.
48855         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
48856         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
48858 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48860         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
48861         __makecontext_ret to ...
48862         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
48863         ... here and call exit if uc_link is NULL.  New file.
48864         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
48865         __makecontext_ret.S.
48866         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
48867         __makecontext_ret to ...
48868         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
48869         ... here and call exit if uc_link is NULL.  New file.
48870         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
48871         __makecontext_ret.S.
48873 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48875         * elf/elf.h (R_390_IRELATIVE): New definition.
48876         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
48877         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
48878         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
48879         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48880         (elf_machine_lazy_rel): Likewise.
48881         * sysdeps/s390/dl-irel.h: New file.
48882         * sysdeps/s390/s390-64/memcpy.S: New asm code.
48883         * sysdeps/s390/s390-64/memset.S: New asm code.
48884         * sysdeps/s390/s390-64/memcmp.S: New asm code.
48885         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
48886         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
48887         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
48888         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
48889         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
48890         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
48891         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
48892         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
48893         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
48894         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
48895         * sysdeps/s390/s390-32/memcpy.S: New asm code.
48896         * sysdeps/s390/s390-32/memset.S: New asm code.
48897         * sysdeps/s390/s390-32/memcmp.S: New asm code.
48899 2012-07-17  Marek Polacek  <polacek@redhat.com>
48901         [BZ #14349]
48902         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
48903         * sysdeps/s390/s390-64/configure.in: Likewise.
48904         * sysdeps/sparc/configure.in: Likewise.
48905         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
48906         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
48907         * sysdeps/i386/configure.in: Likewise.
48908         * sysdeps/x86_64/configure.in: Likewise.
48909         * sysdeps/sh/configure.in: Likewise.
48910         * sysdeps/s390/s390-32/configure: Regenerated.
48911         * sysdeps/s390/s390-64/configure: Likewise.
48912         * sysdeps/x86_64/configure: Likewise.
48913         * sysdeps/sh/configure: Likewise.
48914         * sysdeps/powerpc/powerpc64/configure: Likewise.
48915         * sysdeps/powerpc/powerpc32/configure: Likewise.
48916         * sysdeps/sparc/configure: Likwise.
48917         * sysdeps/i386/configure: Likewise.
48919         * elf/dl-open.c: Comment fixes.
48921 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
48923         * Makefile [CXX] (check-data): Remove.
48924         [CXX] (c++-types.data): New vpath directive.
48925         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
48926         vpath.  Do not allow for C++ type data being missing.
48927         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
48928         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
48929         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
48930         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
48931         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
48932         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
48933         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
48934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48935         ... here.
48936         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
48937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48938         ... here.
48939         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
48940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
48941         ... here.
48942         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
48943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
48944         ... here.
48945         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
48946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
48947         ... here.
48948         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
48949         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
48950         ... here.
48951         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
48952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
48953         ... here.
48954         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
48955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
48957         * elf/tls-macros.h (TLS_LE): Move architecture-specific
48958         definitions to architecture-specific files.
48959         (TLS_IE): Likewise.
48960         (TLS_LD): Likewise.
48961         (TLS_GD): Likewise.
48962         * sysdeps/i386/tls-macros.h: New file.
48963         * sysdeps/powerpc/tls-macros.h: Likewise.
48964         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
48965         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
48966         * sysdeps/sh/tls-macros.h: Likewise.
48967         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
48968         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
48969         * sysdeps/x86_64/tls-macros.h: Likewise.
48971 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
48973         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
48974         zero value for regular exit case.
48976         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
48977         (__start_context): Preserve zero value for regular exit case.
48979 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
48980             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48982         * manual/setjmp.texi (setcontext): Clarify normal process
48983         termination when uc_link is the null pointer.
48984         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
48985         exit call.
48987 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
48989         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
48990         preprocessor.  Test for each exception mask separately.
48992 2012-07-16  Andreas Jaeger  <aj@suse.de>
48994         * po/ru.po: Update from translation team.
48996 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
48998         * conform/data/string.h-data (NULL): Use macro-constant.  Require
48999         equal to 0.
49000         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49001         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49002         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
49003         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
49004         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49006 2012-07-13  Andreas Jaeger  <aj@suse.de>
49008         * po/fr.po: Update from translation team.
49010 2012-07-12  Marek Polacek  <polacek@redhat.com>
49012         [BZ #14173]
49013         * math/libm-test.inc (yn_test): Add test for BZ #14173.
49014         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
49015         loop condition.
49017 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
49019         [BZ #13717]
49020         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49021         Change to 2.4.1 where previously 2.4.0.
49022         * sysdeps/unix/sysv/linux/configure: Regenerated.
49023         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
49024         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
49025         version.
49026         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
49027         (__ASSUME_AT_CLKTCK): Remove.
49028         (__ASSUME_AT_PAGESIZE): Likewise.
49029         (__ASSUME_AT_XID): Likewise.
49030         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
49031         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
49032         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
49033         unconditionally.
49034         (HAVE_AUX_PAGESIZE): Likewise.
49035         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
49036         [__ASSUME_AT_CLKTCK]: Make code unconditional.
49037         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
49039 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
49041         [BZ #14307]
49042         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
49043         the temporary buffer used to invoke __gethostbyname2_r,
49044         __gethostbyaddr_r and gethostbyname4_r to make room for struct
49045         host_data / struct gaih_addrtuple.
49046         * resolv/nss_dns/dns-host.c (global scope): Move definition of
49047         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
49048         header file nss/nsswitch.h.
49049         * nss/nsswitch.h (global scope): Add definition of implementation
49050         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
49051         resolv/nss_dns/dns-host.c).
49053 2012-07-11  Andreas Jaeger  <aj@suse.de>
49055         * po/fr.po: Update from translation team.
49057         * po/sv.po: Update from translation team
49058         * po/fr.po: Another update from translation team.
49060 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49062         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
49063         for subnormals or multiply small sinh result by itself.
49064         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49065         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49067 2012-07-11  David S. Miller  <davem@davemloft.net>
49069         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49071 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
49073         [BZ #14347]
49074         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
49075         (INTERNAL_MARK): Shift it here.
49077 2012-07-10  Marek Polacek  <polacek@redhat.com>
49079         [BZ #14151]
49080         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
49081         libc_cv_asm_global_directive with .globl.
49082         * configure: Regenerated.
49083         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
49084         with .globl.
49085         * sysdeps/i386/configure: Regenerated.
49086         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
49087         with .globl.
49088         * sysdeps/x86_64/configure: Regenerated.
49089         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
49090         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
49091         * elf/tst-unique2mod2.c: Likewise.
49092         * elf/tst-unique2mod1.c: Likewise.
49093         * elf/tst-unique1mod2.c: Likewise.
49094         * elf/tst-unique1mod1.c: Likewise.
49095         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49096         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
49097         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49098         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49099         * sysdeps/mach/sysdep.h: Likewise.
49100         * sysdeps/i386/sysdep.h: Likewise.
49101         * sysdeps/i386/i386-mcount.S: Likewise.
49102         * sysdeps/x86_64/_mcount.S: Likewise.
49103         * sysdeps/x86_64/sysdep.h: Likewise.
49104         * sysdeps/sh/_mcount.S: Likewise.
49105         * sysdeps/sh/sysdep.h: Likewise.
49106         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
49107         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
49108         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
49109         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49110         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
49111         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
49112         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
49113         * locale/localeinfo.h: Likewise.
49114         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
49115         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
49117 2012-07-09  Roland McGrath  <roland@hack.frob.com>
49119         [BZ #14336]
49120         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
49121         system".
49122         * manual/message.texi (The Uniforum approach): Likewise.
49123         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
49124         (glibc iconv Implementation): Likewise.
49126 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
49128         [BZ #14337]
49129         * math/s_clog.c (__clog): Avoid scaling a value down where that
49130         could result in underflow.
49131         * math/s_clog10.c (__clog10): Likewise.
49132         * math/s_clog10f.c (__clog10f): Likewise.
49133         * math/s_clog10l.c (__clog10l): Likewise.
49134         * math/s_clogf.c (__clogf): Likewise.
49135         * math/s_clogl.c (__clogl): Likewise.
49136         * math/libm-test.inc (clog_test): Add more tests.
49137         (clog10_test): Likewise.
49138         * sysdeps/i386/fpu/libm-test-ulps: Update.
49139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49141 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
49143         [BZ #14283]
49144         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
49145         by 7 not 8 to examine high bit of fractional part.
49147         [BZ #14042]
49148         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
49149         for call to __mcount_internal.
49150         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
49151         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
49152         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
49154 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
49156         [BZ #14154]
49157         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
49158         approximation for values within 0x1p-13f of an odd multiple of
49159         pi/4.
49160         * math/libm-test.inc (tan_test): Do not allow spurious underflow
49161         exception.  Add more tests.
49162         * sysdeps/i386/fpu/libm-test-ulps: Update.
49164         [BZ #6778]
49165         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
49166         inputs and return -1 for them.  Do not check for +Inf in case not
49167         reachable for +Inf.
49168         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
49169         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
49170         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49171         and return -1 for them.  Do not check for +Inf in case not
49172         reachable for +Inf.
49173         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
49174         define.
49175         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49176         and return -1 for them.  Do not check for +Inf in case not
49177         reachable for +Inf.
49178         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
49179         spurious underflow.
49180         * sysdeps/i386/fpu/libm-test-ulps: Update.
49181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49183 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
49185         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
49187 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
49189         [BZ #14157]
49190         [BZ #14331]
49191         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
49192         could result in spurious underflow.  Scale down values above
49193         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
49194         * math/s_csqrtf.c (__csqrtf): Likewise.
49195         * math/s_csqrtl.c (__csqrtl): Likewise.
49196         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
49197         spurious underflow.
49198         * sysdeps/i386/fpu/libm-test-ulps: Update.
49199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49201 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
49203         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
49204         xopen-msg.sed.
49205         * catgets/xopen-msg.awk: New file.
49206         * catgets/xopen-msg.sed: Removed.
49208         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
49209         po2text.sed.
49210         * intl/po2test.awk: New file.
49211         * intl/po2test.sed: Removed.
49213 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
49215         [BZ #14328]
49216         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
49217         or multiply small sinh result by itself.
49218         * math/s_ctanf.c (__ctanf): Likewise.
49219         * math/s_ctanh.c (__ctanh): Likewise.
49220         * math/s_ctanhf.c (__ctanhf): Likewise.
49221         * math/s_ctanhl.c (__ctanhl): Likewise.
49222         * math/s_ctanl.c (__ctanl): Likewise.
49223         * math/libm-test.inc (ctan_test_tonearest): New function.
49224         (ctan_test_towardzero): Likewise.
49225         (ctan_test_downward): Likewise.
49226         (ctan_test_upward): Likewise.
49227         (ctanh_test_tonearest): Likewise.
49228         (ctanh_test_towardzero): Likewise.
49229         (ctanh_test_downward): Likewise.
49230         (ctanh_test_upward): Likewise.
49231         (main): Call these new functions.
49232         * sysdeps/i386/fpu/libm-test-ulps: Update.
49233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49235 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
49237         * .gitignore: Delete /ports entry.
49239 2012-07-03  Andreas Jaeger  <aj@suse.de>
49241         * po/bg.po: Update from translation team.
49242         * po/cs.po: Likewise.
49243         * po/de.po: Likewise.
49244         * po/hr.po: Likewise.
49245         * po/nl.pl: Likewise.
49246         * po/pl.po: Likewise.
49247         * po/vi.po: Likewise.
49249 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
49251         * Makeconfig [!+link] (+link-before-libc): New variable.
49252         [!+link] (+link-after-libc): Likewise.
49253         [!+link] (+link-tests): Likewise.
49254         [!+link] (+link): Define in terms of $(+link-before-libc) and
49255         $(+link-after-libc).
49256         [!+link-static] (+link-static-before-libc): New variable.
49257         [!+link-static] (+link-static-after-libc): Likewise.
49258         [!+link-static] (+link-static-tests): Likewise.
49259         [!+link-static] (+link-static): Define in terms of
49260         $(+link-static-before-libc) and $(+link-static-after-libc).
49261         [build-shared] (link-libc-before-gnulib): New variable.
49262         [build-shared] (link-libc-tests): Likewise.
49263         [build-shared] (link-libc): Define in terms of
49264         $(link-libc-before-gnulib).
49265         [!build-shared] (link-libc-tests): New variable.
49266         (link-libc-static-tests): New variable.
49267         [!gnulib] (gnulib-arch): New variable.
49268         [!gnulib] (gnulib-tests): Likewise.
49269         [!gnulib] (static-gnulib-arch): Likewise.
49270         [!gnulib] (static-gnulib-tests): Likewise.
49271         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
49272         Define with "=" instead of ":=".
49273         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
49274         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
49275         * Rules (binaries-all-notests): New variable.
49276         (binaries-all-tests): Likewise.
49277         (binaries-static-notests): Likewise.
49278         (binaries-static-tests): Likewise.
49279         (binaries-all): Define using $(binaries-all-notests) and
49280         $(binaries-all-tests).
49281         (binaries-static): Define using $(binaries-static-notests) and
49282         $(binaries-static-tests).
49283         (binaries-shared-tests): New variable.
49284         (binaries-shared-notests): Likewise.
49285         (binaries-shared): Remove variable.
49286         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
49287         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
49288         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
49289         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
49290         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
49291         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
49292         * elf/Makefile (sln-modules): New variable.
49293         (extra-objs): Add $(sln-modules:=.o).
49294         (ldconfig-modules): Add static-stubs.
49295         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
49296         * elf/static-stubs.c: New file.
49298         [BZ #14283]
49299         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
49300         by 7 not 8 to examine high bit of fractional part.  Use volatile
49301         variables when splitting into final array of floats if
49302         __FLT_EVAL_METHOD__ != 0.
49303         * math/libm-test.inc (cos_test): Add another test.
49304         (sin_test): Likewise.
49305         * sysdeps/i386/fpu/libm-test-ulps: Update.
49307         [BZ #14273]
49308         * math/libm-test.inc (cosh_test): Add more tests.
49310         * version.h (RELEASE): Set to "development".
49311         (VERSION): Set to "2.16.90".
49313 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
49315         * NEWS: Update copyright. Remove last-updated date.
49316         Mention math library bug fixes and timezone data changes.
49317         * README: Mention GNU/Hurd, x32, and HPPA support status.
49319 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
49321         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
49323 2012-06-27  Andreas Jaeger  <aj@suse.de>
49325         * manual/contrib.texi (Contributors): Add Samuel Thibault.
49327 2012-06-25  Andreas Jaeger  <aj@suse.de>
49329         * sysdeps/s390/fpu/libm-test-ulps: Update.
49331 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
49332             Thomas Schwinge  <thomas@codesourcery.com>
49334         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
49335         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
49336         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
49337         fanotify_mark.
49339 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
49341         * sysdeps/mach/start.c: Remove file.
49342         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
49343         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
49344         * sysdeps/sh/init-first.c: Likewise.
49346         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
49347         registers for frame unwinding purposes, add CFI directives.
49348         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49349         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
49350         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
49351         Likewise.
49353         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
49354         __fortify_fail returning.
49355         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49357         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
49358         sysdeps/sh/____longjmp_chk.S.
49359         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
49360         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
49361         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
49362         (gen-as-const-headers): Append sigaltstack-offsets.sym.
49364         * sysdeps/sh/abort-instr.h: New file.
49365         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
49366         process in case exit returns.
49368         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
49369         initialize the GOT register before use.
49371         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
49372         calculation of ARGC > 4.
49374         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
49375         meaningful names to some local labels.
49377 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49378             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49380         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
49381         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
49382         (__arch_compare_and_exchange_val_16_acq): Likewise.
49383         (__arch_compare_and_exchange_val_32_acq): Likewise.
49384         (atomic_exchange_and_add): Fix gUSA sequence.
49385         (atomic_add): Likewise.
49386         (atomic_add_negative): Likewise.
49387         (atomic_add_zero): Likewise.
49388         (atomic_bit_test_set): Likewise.
49390 2012-06-22  Andreas Schwab  <schwab@redhat.com>
49392         [BZ #13579]
49393         * include/link.h (struct link_map): Add l_free_initfini.
49394         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
49395         l_initfini.
49396         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
49397         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
49398         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
49399         set.
49401 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
49403         * configure.in: Use AC_LANG_SOURCE.
49404         * configure: Regenerate.
49406 2012-06-22  Roland McGrath  <roland@hack.frob.com>
49408         * configure.in (libc_cv_localstatedir): New substituted variable.
49409         * configure: Regenerated.
49410         * config.make.in (localstatedir): New variable, substituted from
49411         libc_cv_localstatedir.
49412         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
49413         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
49414         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
49415         * sysdeps/gnu/configure: Regenerated.
49417 2012-06-21  Jeff Law  <law@redhat.com>
49419         [BZ #14277]
49420         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
49421         free.  Simplify list management for _LIBC case.
49423 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
49425         [BZ #14273]
49426         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
49427         Clear sign bit of 64-bit integer value before comparing against
49428         overflow value.
49430         * sysdeps/mach/configure: Regenerated.
49432 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
49434         [BZ #14278]
49435         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
49437 2012-06-21  Jeff Law  <law@redhat.com>
49439         [BZ #13882]
49440         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
49441         uint16_t for elements in the "seen" array to avoid char overflows.
49442         * elf/dl-fini.c (_dl_sort_fini): Likewise.
49443         * elf/dl-open.c (dl_open_worker): Likewise.
49445 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
49447         * scripts/list-sources.sh: Scan PORTS for translations.
49448         * po/libc.pot: Regenerated.
49450 2012-06-21  Andreas Jaeger  <aj@suse.de>
49452         [BZ #12194]
49453         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
49454         warning.
49455         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
49456         * bits/byteswap-16.h (__bswap_16): Likewise.
49457         * bits/byteswap.h (__bswap_constant_16): Likewise.
49459 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
49461         [BZ #14117]
49462         * sysdeps/i386/fpu_control.h: Removed.
49463         * sysdeps/x86_64/fpu_control.h: Moved to ...
49464         * sysdeps/x86/fpu_control.h: Here.
49466         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
49467         (_FPU_SETCW): Likewise.
49469 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
49471         [BZ #14117]
49472         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
49473         * sysdeps/x86/fpu/bits/mathinline.h: This.
49474         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
49476         [BZ #14050]
49477         [BZ #14117]
49478         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
49479         functions if __x86_64__ is defined.
49481 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
49483         * string/endian.h: Add !__ASSEMBLER__ condition for including
49484         conversion interfaces.
49486 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
49488         [BZ #14241]
49489         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
49490         of ABS(x) in calculating zero to negative powers other than odd
49491         integers.
49492         * math/libm-test.inc (pow_test): Add more tests.
49494 2012-06-15  Andreas Jaeger  <aj@suse.de>
49496         * manual/contrib.texi (Contributors): Update entry of Liubov
49497         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
49498         Machado Filho.
49500 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
49502         * string/string.h: Add __wur to GNU version of strerror_r.
49504 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
49506         [BZ #14229]
49507         * string/Makefile (tests): Add tst-strtok_r.
49508         * string/tst-strtok_r.c: New file.
49509         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
49510         RAX_LP/RDX_LP on SAVE_PTR.
49512 2012-06-14  Roland McGrath  <roland@hack.frob.com>
49514         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
49516 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
49518         * libm_test.inc (csqrt_test): Allow more spurious underflow
49519         exceptions.
49520         (j0_test): Likewise.
49521         (j1_test): Likewise.
49522         (y0_test): Likewise.
49523         (y1_test): Likewise.
49525 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
49527         * po/Makefile (libc.pot): Use UTF-8 charset.
49529 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
49531         [BZ #14210]
49532         Suppress sign-conversion warning from FD_SET.
49533         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
49534         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
49535         not unsigned long int.
49536         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
49538 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
49540         [BZ #14050]
49541         [BZ #14117]
49542         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
49543         __extern_always_inline instead of __extern_inline.
49544         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
49545         (__signbit): Likewise.
49546         (__signbitl): Support C++ namespace.
49547         (lrintf): New inline function.
49548         (lrint): Likewise.
49549         (llrintf): Likewise.
49550         (llrint): Likewise.
49551         (fmaxf): Likewise.
49552         (fmax): Likewise.
49553         (fminf): Likewise.
49554         (fmin): Likewise.
49555         (rint): Likewise.
49556         (rintf): Likewise.
49557         (ceil): Likewise.
49558         (ceilf): Likewise.
49559         (floor): Likewise.
49560         (floorf): Likewise.
49561         (nearbyint): Likewise.
49562         (nearbyintf): Likewise.
49564 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
49566         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
49567         non-default versions.
49569 2012-06-11  Roland McGrath  <roland@hack.frob.com>
49571         [BZ #14218]
49572         * manual/argp.texi (Argp): Reword argp_parse description slightly.
49574 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
49576         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
49577         (FE_UPWARD, FE_DOWNWARD): Don't define.
49578         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
49579         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49581         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
49582         reading it.
49583         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49584         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49586 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49588         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49589         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
49590         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
49591         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
49593 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
49595         [BZ #14117]
49596         * sysdeps/i386/fpu/bits/fenv.h: Removed.
49597         * sysdeps/i386/fpu/Implies: New file.
49598         * sysdeps/x86_64/fpu/Implies: Likewise.
49599         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
49600         * sysdeps/x86/fpu/bits/fenv.h: This.
49602         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
49603         __SSE_MATH__.
49605 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49607         [BZ #14134]
49608         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
49609         character 0xffff that matches the last element of the
49610         conversion table.
49612 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49614         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
49615         fmodl commit.
49617 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49619         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
49620         values higher than 25.6283.
49622 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49624         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
49625         subnormal exponent extraction and add some __builtin_expect.
49626         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
49627         Fix for subnormal mantissa calculation.
49629 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
49631         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
49632         cpu2 is -1 and errno is not ENOSYS.
49634 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
49636         [BZ #14117]
49637         * sysdeps/i386/i486/bits/string.h: Renamed to ...
49638         * sysdeps/x86/bits/string.h: This.
49639         * sysdeps/x86_64/bits/string.h: Removed.
49641         * sysdeps/i386/i486/bits/string.h: Define inline functions only
49642         if not compiling for x86-64, but compiling for >= i486.
49644         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
49645         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
49647         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
49648         New macro from Linux kernel 3.4.0.
49649         (FP_XSTATE_MAGIC2): Likewise.
49650         (FP_XSTATE_MAGIC2_SIZE): Likewise.
49651         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
49652         (struct _fpx_sw_bytes): New struct.
49653         (struct _xsave_hdr): Likewise.
49654         (struct _ymmh_state): Likewise.
49655         (struct _xstate): Likewise.
49657         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
49658         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
49659         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
49660         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
49661         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
49662         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
49664         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
49665         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
49666         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
49667         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
49668         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
49669         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
49671 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49673         [BZ #13743]
49674         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
49675         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
49676         (sysdep_headers): Include sys/platform/ppc.h.
49677         * sysdeps/powerpc/test-gettimebase.c: Test for
49678         __ppc_get_timebase() to catch future ISA opcode/insn changes.
49679         * manual/Makefile (appendices): Include platform.texi.
49680         * manual/contrib.texi (Contributors): Update @node pointers.
49681         * manual/maint.texi (Maintenance): Likewise.
49682         (Platform): New node.
49683         * manual/platform.texi: New file.  Document the new features.
49685 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49686             Jakub Jelinek  <jakub@redhat.com>
49688         [BZ #14188]
49689         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
49690         where __builtin_expect is unavailable.
49692 2012-06-03  David S. Miller  <davem@davemloft.net>
49694         * stdlib/longlong.h: Updated from GCC.
49696 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
49698         [BZ #14042]
49699         * sysdeps/powerpc/powerpc32/mcount.c: New file.
49700         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
49701         __mcount_internal.
49702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49703         (GLIBC_2.16): Likewise.
49705 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
49707         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
49709 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
49711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
49712         (default-abi): New variable.
49713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
49714         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
49715         variable.
49716         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
49717         Likewise.
49718         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
49719         Likewise.
49720         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
49721         Likewise.
49723         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
49724         definition.  Document in comment.
49726 2012-06-01  David S. Miller  <davem@davemloft.net>
49728         * stdlib/longlong.h: Updated from GCC.
49730 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
49732         [BZ #14117]
49733         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
49734         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
49735         sys/debugreg.h sys/io.h here.
49736         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
49737         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
49738         sys/io.h.
49739         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
49740         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
49741         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
49742         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
49743         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
49744         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
49746         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
49747         Define only if __x86_64__ is defined.
49749 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
49751         [BZ #14048]
49752         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
49753         Use int64_t for variable i.
49754         * math/libm-test.inc (fmod_test): Add more tests.
49756         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
49757         z computation is not scheduled after fetestexcept.
49758         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
49759         Use math_force_eval instead of asm to ensure calculation scheduled
49760         before exception test.
49761         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
49762         Ensure a1 + u.d computation is not scheduled after fetestexcept.
49764 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
49766         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
49767         computation is not scheduled after fetestexcept.
49769 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
49771         [BZ #14117]
49772         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
49773         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
49775 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49777         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
49778         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49780 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
49782         [BZ #14117]
49783         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
49784         <bits/wordsize.h>.
49785         (__WCHAR_MIN): Support __WORDSIZE == 64.
49786         (__WCHAR_MAX): Likewise.
49788         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
49789         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
49791         [BZ #14183]
49792         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
49793         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
49795         [BZ #14117]
49796         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
49797         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
49799         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
49800         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
49802         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
49803         Defined to 1 if __x86_64__ isn't defined.
49804         (_STAT_VER_LINUX_OLD): New.
49805         (st_atime): Remove duplicate.
49806         (st_mtime): Likewise.
49807         (st_ctime): Likewise.
49809 2012-05-31  David S. Miller  <davem@davemloft.net>
49811         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
49812         entries.
49814 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
49816         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
49817         gen-libm-test.pl.
49819         [BZ #14132]
49820         * elf/dl-reloc.c: Include <_itoa.h>.
49821         (_dl_reloc_bad_type): Remove use of INTUSE.
49822         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
49823         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
49824         * stdio-common/psiginfo.c (psiginfo): Likewise.
49825         * stdio-common/psignal.c (psignal): Likewise.
49826         * string/strsignal.c (strsignal): Likewise.
49827         * include/signal.h (_sys_siglist): Declare hidden proto.
49828         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
49829         INTVARDEF with libc_hidden_data_def.
49830         * stdio-common/itoa-udigits.c: Likewise.
49831         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
49832         (_itoa_lower_digits_internal): Remove declaration.
49833         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
49834         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
49835         (_sys_sigabbrev_internal): Remove aliases.
49836         (_sys_siglist): Define hidden alias.
49838 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
49840         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49841         bits/sysctl.h.
49843 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
49845         [BZ #14117]
49846         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
49847         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
49849         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
49850         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
49851         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
49852         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
49853         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
49854         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
49856         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
49857         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
49858         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
49860         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
49861         with __addr.
49862         (insw): Likewise.
49863         (insl): Likewise.
49864         (outsb): Likewise.
49865         (outsw): Likewise.
49866         (outsl): Likewise.
49868         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
49869         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
49870         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
49872         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
49873         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
49874         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
49875         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
49876         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
49877         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
49879         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
49880         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
49882         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
49883         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
49885         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
49886         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
49887         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
49889         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
49890         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
49891         to ...
49892         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
49894         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
49895         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
49896         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
49898         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
49899         for x86-64.
49900         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
49902 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
49904         * math/math.h (M_El): Use two more decimal places.
49905         (M_LOG2El): Likewise.
49906         (M_LOG10El): Likewise.
49907         (M_LN2l): Likewise.
49908         (M_LN10l): Likewise.
49909         (M_PIl): Likewise.
49910         (M_PI_2l): Likewise.
49911         (M_PI_4l): Likewise.
49912         (M_1_PIl): Likewise.
49913         (M_2_PIl): Likewise.
49914         (M_2_SQRTPIl): Likewise.
49915         (M_SQRT2l): Likewise.
49916         (M_SQRT1_2l): Likewise.
49918 2012-05-31  David S. Miller  <davem@davemloft.net>
49920         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
49921         values between float registers.
49922         * sysdeps/sparc/sparc64/memset.S: Likewise.
49923         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49925 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
49927         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
49928         -D_FORTIFY_SOURCE=1.
49929         (CPPFLAGS-tst-longjmp_chk.c): Define.
49930         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
49931         (CPPFLAGS-tst-longjmp_chk2.c): Define.
49932         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
49933         CFLAGS-tst-wchar-h.c.
49935 2012-05-31  Marek Polacek  <polacek@redhat.com>
49937         [BZ #14132]
49938         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
49939         __endmntent_internal): Remove declaration.
49940         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
49941         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
49942         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
49944 2012-05-30  David S. Miller  <davem@davemloft.net>
49946         * sysdeps/sparc/sparc32/soft-fp/q_util.c
49947         (___Q_simulate_exceptions): Use real FP ops rather than writing
49948         into the %fsr.
49949         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
49950         Likewise.
49952 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
49954         [BZ #14117]
49955         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
49956         * sysdeps/x86/bits/xtitypes.h: This.
49958         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
49959         * sysdeps/x86/bits/wordsize.h: This.
49961         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
49962         * sysdeps/x86/bits/huge_vall.h: This.
49964         * sysdeps/i386/bits/select.h: Removed.
49965         * sysdeps/x86_64/bits/select.h: Renamed to ...
49966         * sysdeps/x86/bits/select.h: This.
49968         * sysdeps/i386/bits/setjmp.h: Removed.
49969         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
49970         * sysdeps/x86/bits/setjmp.h: This.
49972         * sysdeps/i386/bits/mathdef.h: Removed.
49973         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
49974         * sysdeps/x86/bits/mathdef.h: This.
49976 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
49978         [BZ #14132]
49979         * include/sys/socket.h (__connect_internal)
49980         (__libc_sa_len_internal): Remove declaration.
49981         (__connect, __libc_sa_len): Declare hidden_proto.
49982         (SA_LEN): Remove use of INTUSE.
49983         * socket/connect.c: Add libc_hidden_def.
49984         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
49985         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
49986         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
49987         alias.
49988         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
49989         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
49990         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
49991         of adding _internal alias.
49993 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
49995         [BZ #14117]
49996         * sysdeps/i386/bits/link.h: Removed.
49997         * sysdeps/i386/bits/linkmap.h: Likewise.
49998         * sysdeps/x86_64/bits/link.h: Renamed to ...
49999         * sysdeps/x86/bits/link.h: This.
50000         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
50001         * sysdeps/x86/bits/linkmap.h: This.
50003         * sysdeps/i386/bits/endian.h: Removed.
50004         * sysdeps/x86_64/bits/endian.h: Renamed to ...
50005         * sysdeps/x86/bits/endian.h: This.
50007         * sysdeps/i386/bits/byteswap.h: Removed.
50008         * sysdeps/i386/bits/byteswap-16.h: Likewise.
50009         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
50010         * sysdeps/x86/bits/byteswap.h: This.
50011         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
50012         * sysdeps/x86/bits/byteswap-16.h: This.
50013         * sysdeps/i386/Implies: Add x86.
50014         * sysdeps/x86_64/Implies: Likewise.
50016 2012-05-30  David S. Miller  <davem@davemloft.net>
50018         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
50019         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
50020         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50021         (FP_TRAPPING_EXCEPTIONS): Define.
50022         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50023         (FP_TRAPPING_EXCEPTIONS): Define.
50024         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
50025         subnormals only when inexact has been signalled or underflow
50026         exceptions are enabled.
50027         (_FP_PACK_CANONICAL): Likewise.
50029 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
50031         [BZ #14183]
50032         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
50033         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
50035 2012-05-30  Richard Henderson  <rth@twiddle.net>
50037         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
50038         with #ifndef NOT_IN_libc.
50040         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
50041         marked to avoid plt entry.
50043 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
50045         [BZ #14112]
50046         * Makeconfig (default-abi): New macro.
50047         (abi-includes): Likewise.
50048         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
50049         $(abi-$(default-abi)-lib-soname) for soname if defined.
50050         ($(common-objpfx)gnu/lib-names.stmp): Generate from
50051         abi-variants.
50052         * Makefile (installed-stubs): Likewise.
50053         * include/stubs-biarch.h: Removed.
50054         * scripts/lib-names.awk: Only handle one library at a time.
50055         * scripts/soversions.awk: Remove WORDSIZE support.
50056         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
50057         entries.
50058         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
50059         Removed.
50060         (syscall-list-default-condition): Likewise.
50061         (syscall-list-default-condition): Likewise.
50062         (syscall-list-includes): Likewise.
50063         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
50064         syscall-list-* with abi-*.  Handle undefined abi-variants.
50065         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
50066         * sysdeps/unix/sysv/linux/i386/Implies: New file.
50067         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
50068         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
50069         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
50070         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
50071         Removed.
50072         (syscall-list-32-options): Likewise.
50073         (syscall-list-32-condition): Likewise.
50074         (syscall-list-64-options): Likewise.
50075         (syscall-list-64-condition): Likewise.
50076         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
50077         macro.
50078         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
50079         Renamed to ...
50080         (abi-*): This.
50081         (abi-64-ld-soname): New macro.
50082         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
50083         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
50084         Renamed to ...
50085         (abi-*): This.
50086         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
50087         * sysdeps/x86_64/x32/shlib-versions: Likewise.
50089 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
50091         * sysdeps/unix/sysv/linux/kernel-features.h
50092         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
50093         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
50094         include <kernel-features.h>.
50095         [!__NR_ftruncate64]: Remove conditional code.
50096         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50097         [__NR_ftruncate64]: Make code unconditional.
50098         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50099         * sysdeps/unix/sysv/linux/truncate64.c: Do not
50100         include <kernel-features.h>.
50101         [!__NR_ftruncate64]: Remove conditional code.
50102         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50103         [__NR_ftruncate64]: Make code unconditional.
50104         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
50106         include <kernel-features.h>.
50107         [!__NR_ftruncate64]: Remove conditional code.
50108         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50109         [__NR_ftruncate64]: Make code unconditional.
50110         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50112         include <kernel-features.h>.
50113         [!__NR_ftruncate64]: Remove conditional code.
50114         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50115         [__NR_ftruncate64]: Make code unconditional.
50116         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50118         * configure.in (libc_cv_fpie): Weaken to a compile test using
50119         LIBC_TRY_CC_OPTION.
50120         * configure: Regenerated.
50122 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
50125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
50126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
50127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50128         Refreshed.
50129         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
50130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
50131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
50132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
50133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
50134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50135         Refreshed.
50137 2012-05-27  David S. Miller  <davem@davemloft.net>
50139         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
50140         (___Q_zero): New.
50141         (__Q_simulate_exceptions): Return void.  Change to simulate
50142         exceptions by writing into the %fsr.
50143         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
50144         (__Qp_handle_exceptions): Likewise.
50145         (numbers): Delete.
50146         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
50147         __Qp_handle_exceptions.
50148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
50149         __Qp_handle_exceptions.
50150         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50151         as unused and give dummy FP_RND_NEAREST initializer.
50152         (FP_INHIBIT_RESULTS): Define.
50153         (___Q_simulate_exceptions): Update declaration.
50154         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
50155         formatting.
50156         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50157         as unused and give dummy FP_RND_NEAREST initializer.
50158         (__Qp_handle_exceptions): Update declaration.
50159         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
50160         formatting.
50162 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
50164         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
50165         the temporary FPU control word.
50166         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
50167         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
50168         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
50169         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50170         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50171         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
50172         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
50173         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50174         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
50175         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
50176         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50178 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50180         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
50181         fields.
50183 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
50185         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
50186         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
50187         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
50188         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
50189         Likewise.
50190         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
50191         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
50192         Likewise.
50194 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
50196         * po/h.po: Update from translation team.
50198 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
50200         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
50202         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
50203         handling of denormals.
50204         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50205         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50206         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50207         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50208         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50209         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
50210         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
50211         Likewise.
50213 2012-05-26  Marek Polacek  <polacek@redhat.com>
50215         [BZ #14152]
50216         * math/libm-test.inc (fma_test): Don't always expect underflow
50217         exception.
50219 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50221         [BZ #12416]
50222         * elf/tst-execstack.c: Include stackinfo.h.
50223         (do_test): Adjust test case to ensure that pthread_getattr_np
50224         behaviour remains the same after marking stack executable.
50226 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
50228         * sysdeps/unix/sysv/linux/kernel-features.h
50229         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
50230         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
50231         kernel-features.h.
50232         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50233         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50234         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
50235         kernel-features.h.
50236         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50237         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50239 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
50241         * configure.in: Define the default includes to being none.
50242         * configure: Regenerated.
50244 2012-05-25  Roland McGrath  <roland@hack.frob.com>
50246         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
50247         * sysdeps/x86_64/setjmp.S: Likewise.
50248         * sysdeps/i386/bsd-setjmp.S: Likewise.
50249         * sysdeps/i386/bsd-_setjmp.S: Likewise.
50250         * sysdeps/i386/setjmp.S: Likewise.
50251         * sysdeps/i386/__longjmp.S: Likewise.
50252         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50253         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
50255         * include/stap-probe.h: New file.
50256         * configure.in: Handle --enable-systemtap.
50257         * configure: Regenerated.
50258         * config.h.in (USE_STAP_PROBE): New #undef.
50259         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
50260         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
50261         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
50263 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
50265         [BZ #13717]
50266         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50267         to 2.4.0 where earlier.
50268         * sysdeps/unix/sysv/linux/configure: Regenerated.
50269         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50270         <kernel-features.h>.
50271         [__ASSUME_32BITUIDS]: Make code unconditional.
50272         [!__ASSUME_32BITUIDS]: Remove conditional code.
50273         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
50274         <kernel-features.h>.
50275         [__ASSUME_32BITUIDS]: Make code unconditional.
50276         [!__ASSUME_32BITUIDS]: Remove conditional code.
50277         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
50278         [__ASSUME_32BITUIDS]: Make code unconditional.
50279         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
50280         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
50281         <kernel-features.h>.
50282         [__ASSUME_32BITUIDS]: Make code unconditional.
50283         [!__ASSUME_32BITUIDS]: Remove conditional code.
50284         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
50285         <kernel-features.h>.
50286         [__ASSUME_32BITUIDS]: Make code unconditional.
50287         [!__ASSUME_32BITUIDS]: Remove conditional code.
50288         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
50289         <kernel-features.h>.
50290         [__ASSUME_32BITUIDS]: Make code unconditional.
50291         [!__ASSUME_32BITUIDS]: Remove conditional code.
50292         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
50293         <kernel-features.h>.
50294         [__ASSUME_32BITUIDS]: Make code unconditional.
50295         [!__ASSUME_32BITUIDS]: Remove conditional code.
50296         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50297         <kernel-features.h>.
50298         [__ASSUME_32BITUIDS]: Make code unconditional.
50299         [!__ASSUME_32BITUIDS]: Remove conditional code.
50300         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50301         <kernel-features.h>.
50302         [__ASSUME_32BITUIDS]: Make code unconditional.
50303         [!__ASSUME_32BITUIDS]: Remove conditional code.
50304         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
50305         <kernel-features.h>.
50306         [__ASSUME_32BITUIDS]: Make code unconditional.
50307         [!__ASSUME_32BITUIDS]: Remove conditional code.
50308         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50309         <kernel-features.h>.
50310         [__ASSUME_32BITUIDS]: Make code unconditional.
50311         [!__ASSUME_32BITUIDS]: Remove conditional code.
50312         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50313         <kernel-features.h>.
50314         [__ASSUME_32BITUIDS]: Make code unconditional.
50315         [!__ASSUME_32BITUIDS]: Remove conditional code.
50316         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
50317         <kernel-features.h>.
50318         [__ASSUME_32BITUIDS]: Make code unconditional.
50319         [!__ASSUME_32BITUIDS]: Remove conditional code.
50320         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
50321         <kernel-features.h>.
50322         [__NR_setresgid] (__setresgid): Do not declare.
50323         [__ASSUME_32BITUIDS]: Make code unconditional.
50324         [!__ASSUME_32BITUIDS]: Remove conditional code.
50325         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
50326         <kernel-features.h>.
50327         [__NR_setresuid] (__setresuid): Do not declare.
50328         [__ASSUME_32BITUIDS]: Make code unconditional.
50329         [!__ASSUME_32BITUIDS]: Remove conditional code.
50330         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
50331         <kernel-features.h>.
50332         [__ASSUME_32BITUIDS]: Make code unconditional.
50333         [!__ASSUME_32BITUIDS]: Remove conditional code.
50334         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
50335         <kernel-features.h>.
50336         [__ASSUME_32BITUIDS]: Make code unconditional.
50337         [!__ASSUME_32BITUIDS]: Remove conditional code.
50338         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
50339         <kernel-features.h>.
50340         [__ASSUME_32BITUIDS]: Make code unconditional.
50341         [!__ASSUME_32BITUIDS]: Remove conditional code.
50342         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
50343         <kernel-features.h>.
50344         [__ASSUME_32BITUIDS]: Make code unconditional.
50345         [!__ASSUME_32BITUIDS]: Remove conditional code.
50346         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
50347         <kernel-features.h>.
50348         [__ASSUME_32BITUIDS]: Make code unconditional.
50349         [!__ASSUME_32BITUIDS]: Remove conditional code.
50350         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
50351         <kernel-features.h>.
50352         [__ASSUME_32BITUIDS]: Make code unconditional.
50353         [!__ASSUME_32BITUIDS]: Remove conditional code.
50354         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
50355         <kernel-features.h>.
50356         [__ASSUME_32BITUIDS]: Make code unconditional.
50357         [!__ASSUME_32BITUIDS]: Remove conditional code.
50358         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
50359         <kernel-features.h>.
50360         [__ASSUME_32BITUIDS]: Make code unconditional.
50361         [!__ASSUME_32BITUIDS]: Remove conditional code.
50362         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
50363         <kernel-features.h>.
50364         [__ASSUME_32BITUIDS]: Make code unconditional.
50365         [!__ASSUME_32BITUIDS]: Remove conditional code.
50366         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50367         <kernel-features.h>.
50368         [__ASSUME_32BITUIDS]: Make code unconditional.
50369         [!__ASSUME_32BITUIDS]: Remove conditional code.
50370         * sysdeps/unix/sysv/linux/kernel-features.h
50371         (__ASSUME_SETRESUID_SYSCALL): Remove.
50372         (__ASSUME_SETRESGID_SYSCALL): Likewise.
50373         (__ASSUME_32BITUIDS): Likewise.
50374         (__ASSUME_LDT_WORKS): Likewise.
50375         (__ASSUME_O_DIRECTORY): Likewise.
50376         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
50377         architecture but not kernel version.
50378         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
50379         (__ASSUME_MMAP2_SYSCALL): Likewise.
50380         (__ASSUME_STAT64_SYSCALL): Likewise.
50381         (__ASSUME_IPC64): Likewise.
50382         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
50383         <kernel-features.h>.
50384         [__ASSUME_32BITUIDS]: Make code unconditional.
50385         [!__ASSUME_32BITUIDS]: Remove conditional code.
50386         * sysdeps/unix/sysv/linux/opendir.c: Do not include
50387         <kernel-features.h>.
50388         [__ASSUME_O_DIRECTORY]: Make code unconditional.
50389         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
50390         132096]: Remove conditional code.
50391         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
50392         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50393         <kernel-features.h>.
50394         [__ASSUME_32BITUIDS]: Make code unconditional.
50395         [!__ASSUME_32BITUIDS]: Remove conditional code.
50396         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50397         <kernel-features.h>.
50398         [__ASSUME_32BITUIDS]: Make code unconditional.
50399         [!__ASSUME_32BITUIDS]: Remove conditional code.
50400         * sysdeps/unix/sysv/linux/setegid.c: Do not include
50401         <kernel-features.h>.
50402         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
50403         unconditional.
50404         (__setresgid): Do not declare.
50405         [__ASSUME_32BITUIDS]: Make code unconditional.
50406         [!__ASSUME_32BITUIDS]: Remove conditional code.
50407         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
50408         <kernel-features.h>.
50409         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
50410         unconditional.
50411         (__setresuid): Do not declare.
50412         [__ASSUME_32BITUIDS]: Make code unconditional.
50413         [!__ASSUME_32BITUIDS]: Remove conditional code.
50414         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50415         <kernel-features.h>.
50416         [__ASSUME_32BITUIDS]: Make code unconditional.
50417         [!__ASSUME_32BITUIDS]: Remove conditional code.
50418         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
50419         <kernel-features.h>.
50420         [__ASSUME_32BITUIDS]: Make code unconditional.
50421         [!__ASSUME_32BITUIDS]: Remove conditional code.
50423 2012-05-25  Richard Henderson  <rth@twiddle.net>
50425         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
50426         dl_hwcap to ifunc resolver.
50427         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
50428         elf_ifunc_invoke.
50429         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
50430         dl_hwcap to ifunc resolver.
50431         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
50433 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
50435         [BZ #14153]
50436         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
50437         for |x| <= 2**-26, not 2**-57.
50438         * math/libm-test.inc (acos_test): Do not allow spurious underflow
50439         exception.
50441 2012-05-24  Jeff Law  <law@redhat.com>
50443         * stdio-common/Makefile (tests): Add bug25.
50444         * stdio-common/bug25.c: New test.
50446 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
50448         [BZ #13576]
50449         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
50450         multiple of MALLOC_ALIGNMENT in size.
50451         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
50453 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
50455         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
50456         Require >= 256.
50457         (FILENAME_MAX): Use macro-int-constant.
50458         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
50459         (_IOFBF): Use macro-int-constant.
50460         (_IOLBF): Likewise.
50461         (_IONBF): Likewise.
50462         (SEEK_CUR): Likewise.
50463         (SEEK_END): Likewise.
50464         (SEEK_SET): Likewise.
50465         (TMP_MAX): Likewise.
50466         (EOF): Use macro-int-constant.  Require < 0.
50467         (NULL): Use macro-constant.  Require == 0.
50468         (stdin): Require type to be FILE *.
50469         (stdout): Likewise.
50470         (stderr): Likewise.
50471         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
50472         macro-int-constant.
50473         (EXIT_SUCCESS): Likewise.
50474         (NULL): Use macro-constant.  Require == 0.
50475         (RAND_MAX): Use macro-int-constant.
50476         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
50477         [C99-based standards] (strtof): Require function.
50478         [C99-based standards] (strtold): Likewise.
50479         [C99-based standards] (strtoll): Likewise.
50480         [C99-based standards] (strtoull): Likewise.
50481         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
50482         [ISO || ISO99 || ISO11] (limits.h): Likewise.
50483         [ISO || ISO99 || ISO11] (math.h): Likewise.
50484         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
50485         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
50486         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50488 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
50490         [BZ #14132]
50491         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
50492         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
50493         * intl/dgettext.c (DCGETTEXT): Likewise.
50494         * intl/gettext.c (DCGETTEXT): Likewise.
50495         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
50496         * posix/regex_internal.h (gettext): Likewise.
50497         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
50498         Remove declaration.
50499         * include/argz.h (__argz_count_internal)
50500         (__argz_stringify_internal): Remove declaration.
50501         (__argz_count, __argz_stringify): Declare hidden proto.
50502         * intl/dcgettext.c: Remove use of INTDEF.
50503         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
50504         * string/argz-stringify.c: Likewise.
50505         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50506         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50507         Declare hidden proto.
50508         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50509         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50510         Declare hidden proto.
50511         * include/stdio.h (__asprintf_internal): Don't declare.
50512         (__asprintf): Don't define as macro.  Declare hidden proto.
50513         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
50514         (__fsetlocking): Declare hidden proto.
50515         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
50516         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
50517         hidden proto.
50518         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
50519         (_IO_setlinebuf): Remove use of INTUSE.
50520         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
50521         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
50522         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
50523         Remove declaration.
50524         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
50525         (_IO_do_flush): Remove use of INTUSE.
50526         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
50527         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
50528         (_IO_adjust_column, _IO_least_wmarker)
50529         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
50530         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
50531         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
50532         (_IO_default_doallocate, _IO_wdefault_doallocate)
50533         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
50534         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
50535         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
50536         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
50537         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
50538         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
50539         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
50540         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
50541         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
50542         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
50543         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
50544         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
50545         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
50546         proto.
50547         (_IO_flush_all_internal, _IO_adjust_column_internal)
50548         (_IO_default_uflow_internal, _IO_default_finish_internal)
50549         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
50550         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
50551         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
50552         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
50553         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
50554         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
50555         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
50556         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
50557         (_IO_file_close_internal, _IO_file_close_it_internal)
50558         (_IO_file_underflow_internal, _IO_file_overflow_internal)
50559         (_IO_file_init_internal, _IO_file_attach_internal)
50560         (_IO_file_fopen_internal, _IO_file_read_internal)
50561         (_IO_file_sync_internal, _IO_file_seek_internal)
50562         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
50563         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
50564         (_IO_str_underflow_internal, _IO_str_overflow_internal)
50565         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
50566         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
50567         (_IO_list_all_internal, _IO_link_in_internal)
50568         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
50569         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
50570         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
50571         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
50572         (_IO_do_write_internal, _IO_padn_internal)
50573         (_IO_getline_info_internal, _IO_getline_internal)
50574         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
50575         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
50576         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
50577         (_IO_vfscanf_internal, _IO_vfprintf_internal)
50578         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
50579         (_IO_init_internal, _IO_un_link_internal): Don't declare.
50580         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
50581         with libc_hidden_ver, remove use of INTUSE.
50582         * libio/genops.c: Likewise.
50583         * libio/freopen.c: Likewise.
50584         * libio/freopen64.c: Likewise.
50585         * libio/iofclose.c: Likewise.
50586         * libio/iofdopen.c: Likewise.
50587         * libio/iofflush.c: Likewise.
50588         * libio/iofflush_u.c: Likewise.
50589         * libio/iofgets.c: Likewise.
50590         * libio/iofgets_u.c: Likewise.
50591         * libio/iofopen.c: Likewise.
50592         * libio/iofopncook.c: Likewise.
50593         * libio/iofread.c: Likewise.
50594         * libio/iofread_u.c: Likewise.
50595         * libio/ioftell.c: Likewise.
50596         * libio/iofwrite.c: Likewise.
50597         * libio/iogetline.c: Likewise.
50598         * libio/iogets.c: Likewise.
50599         * libio/iogetwline.c: Likewise.
50600         * libio/iopadn.c: Likewise.
50601         * libio/iopopen.c: Likewise.
50602         * libio/ioseekoff.c: Likewise.
50603         * libio/ioseekpos.c: Likewise.
50604         * libio/iosetbuffer.c: Likewise.
50605         * libio/iosetvbuf.c: Likewise.
50606         * libio/ioungetc.c: Likewise.
50607         * libio/ioungetwc.c: Likewise.
50608         * libio/iovdprintf.c: Likewise.
50609         * libio/iovsprintf.c: Likewise.
50610         * libio/iovsscanf.c: Likewise.
50611         * libio/memstream.c: Likewise.
50612         * libio/obprintf.c: Likewise.
50613         * libio/oldfileops.c: Likewise.
50614         * libio/oldiofclose.c: Likewise.
50615         * libio/oldiofdopen.c: Likewise.
50616         * libio/oldiofopen.c: Likewise.
50617         * libio/oldiopopen.c: Likewise.
50618         * libio/oldstdfiles.c: Likewise.
50619         * libio/putc.c: Likewise.
50620         * libio/setbuf.c: Likewise.
50621         * libio/setlinebuf.c: Likewise.
50622         * libio/stdfiles.c: Likewise.
50623         * libio/strops.c: Likewise.
50624         * libio/vasprintf.c: Likewise.
50625         * libio/vscanf.c: Likewise.
50626         * libio/vsnprintf.c: Likewise.
50627         * libio/vswprintf.c: Likewise.
50628         * libio/wfiledoalloc.c: Likewise.
50629         * libio/wfileops.c: Likewise.
50630         * libio/wgenops.c: Likewise.
50631         * libio/wmemstream.c: Likewise.
50632         * libio/wstrops.c: Likewise.
50633         * libio/__fpurge.c: Likewise.
50634         * libio/__fsetlocking.c: Likewise.
50635         * assert/assert.c: Likewise.
50636         * debug/fgets_chk.c: Likewise.
50637         * debug/fgets_u_chk.c: Likewise.
50638         * debug/fread_chk.c: Likewise.
50639         * debug/fread_u_chk.c: Likewise.
50640         * debug/gets_chk.c: Likewise.
50641         * debug/obprintf_chk.c: Likewise.
50642         * debug/vasprintf_chk.c: Likewise.
50643         * debug/vdprintf_chk.c: Likewise.
50644         * debug/vsnprintf_chk.c: Likewise.
50645         * debug/vsprintf_chk.c: Likewise.
50646         * malloc/mtrace.c: Likewise.
50647         * misc/error.c: Likewise.
50648         * misc/syslog.c: Likewise.
50649         * stdio-common/asprintf.c: Likewise.
50650         * stdio-common/fxprintf.c: Likewise.
50651         * stdio-common/getw.c: Likewise.
50652         * stdio-common/isoc99_fscanf.c: Likewise.
50653         * stdio-common/isoc99_scanf.c: Likewise.
50654         * stdio-common/isoc99_vfscanf.c: Likewise.
50655         * stdio-common/isoc99_vscanf.c: Likewise.
50656         * stdio-common/isoc99_vsscanf.c: Likewise.
50657         * stdio-common/printf-prs.c: Likewise.
50658         * stdio-common/printf_fp.c: Likewise.
50659         * stdio-common/printf_fphex.c: Likewise.
50660         * stdio-common/printf_size.c: Likewise.
50661         * stdio-common/putw.c: Likewise.
50662         * stdio-common/scanf.c: Likewise.
50663         * stdio-common/sprintf.c: Likewise.
50664         * stdio-common/tmpfile.c: Likewise.
50665         * stdio-common/vfprintf.c: Likewise.
50666         * stdio-common/vfscanf.c: Likewise.
50667         * stdlib/strfmon_l.c: Likewise.
50668         * sunrpc/openchild.c: Likewise.
50669         * sunrpc/xdr_stdio.c: Likewise.
50670         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
50671         * sysdeps/mach/hurd/tmpfile.c: Likewise.
50673 2012-05-24  Roland McGrath  <roland@hack.frob.com>
50675         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50677         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
50678         in the third column, to generate for the shared library an IFUNC
50679         that uses _dl_vdso_vsym.
50680         * Makerules (COMPILE.c, compile-stdin.c): New variables.
50681         * Makeconfig (object-suffixes-noshared): New variable.
50683         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
50684         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
50685         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
50686         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
50688         [BZ #14132]
50689         * include/sys/time.h (__gettimeofday): Remove macro.
50690         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
50691         * time/gettimeofday.c (__gettimeofday): Remove #undef.
50692         Remove INTDEF.
50693         (__gettimeofday): Add libc_hidden_def.
50694         (gettimeofday): Add libc_hidden_weak.
50695         * sysdeps/mach/gettimeofday.c: Likewise.
50696         * sysdeps/posix/gettimeofday.c: Likewise.
50697         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
50698         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
50699         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
50700         (__gettimeofday_internal): Remove strong_alias.
50701         (__gettimeofday): Add libc_hidden_def.
50702         (gettimeofday): Add libc_hidden_weak.
50703         * sysdeps/unix/syscalls.list (gettimeofday):
50704         Remove __gettimeofday_internal alias.
50706 2012-05-24  Daniel Jacobowitz  <drow@false.org>
50707             H.J. Lu  <hongjiu.lu@intel.com>
50709         [BZ #12495]
50710         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
50711         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
50712         (largebin_index_32_big): New.
50713         (largebin_index): Use it for 16-byte alignment.
50714         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
50715         correction with front_misalign.
50717 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
50719         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
50720         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50721         Likewise.
50722         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
50723         Likewise.
50724         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50725         Likewise.
50726         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
50727         Likewise.
50728         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
50729         Likewise.
50730         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
50731         Likewise.
50732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
50733         Likewise.
50734         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50735         Likewise.
50736         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
50737         Likewise.
50738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
50739         Likewise.
50740         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50741         Likewise.
50742         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
50743         Likewise.
50745         * scripts/data/c++-types-x32-linux-gnu.data: New file.
50746         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
50748 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
50750         [BZ #10846]
50751         [BZ #14036]
50752         * math/libm-test.inc (exp_test): Add test from bug 14036.
50753         (pow_test): Add test from bug 10846.
50755         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
50756         and other flags.
50757         (special_function): Do not include flags in test name.
50758         (parse_args): Likewise.
50759         * sysdeps/i386/fpu/libm-test-ulps: Update.
50760         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50761         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50762         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50765         * math/gen-libm-test.pl (%beautify): Add entries for underflow
50766         exceptions.
50767         * math/libm-test.inc ("Philosophy"): Update comment about
50768         exception testing.
50769         (UNDERFLOW_EXCEPTION): New macro.
50770         (UNDERFLOW_EXCEPTION_OK): Likewise.
50771         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
50772         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
50773         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
50774         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
50775         (INVALID_EXCEPTION_OK): Update value.
50776         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50777         (OVERFLOW_EXCEPTION_OK): Likewise.
50778         (IGNORE_ZERO_INF_SIGN): Likewise.
50779         (test_exceptions): Handle underflow exceptions.
50780         (acos_test): Update for underflow exception expectations.
50781         (cexp_test): Likewise.
50782         (clog_test): Likewise.
50783         (clog10_test): Likewise.
50784         (csqrt_test): Likewise.
50785         (ctan_test): Likewise.
50786         (ctanh_test): Likewise.
50787         (exp_test): Likewise.
50788         (exp10_test): Likewise.
50789         (exp2_test): Likewise.
50790         (expm1_test): Likewise.
50791         (fma_test): Likewise.
50792         (j0_test): Likewise.
50793         (jn_test): Likewise.
50794         (nexttoward_test): Likewise.
50795         (pow_test): Likewise.
50796         (scalbn_test): Likewise.
50797         (scalbln_test): Likewise.
50798         (tan_test): Likewise.
50799         (y1_test): Likewise.
50800         * sysdeps/i386/fpu/libm-test-ulps: Update.
50801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50803 2012-05-23  David S. Miller  <davem@davemloft.net>
50805         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50806         (__libc_sigaction): Remove unused local variables.
50808 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
50810         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
50812 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
50814         mktime: avoid signed integer overflow
50815         * time/mktime.c (__mktime_internal): Do not mishandle the case
50816         where diff == INT_MIN.
50818         mktime: simplify computation of average
50819         * time/mktime.c (ranged_convert): Use new time_t_avg function
50820         instead of rolling our own (probably-slower) code.
50822         mktime: do not assume signed right shift propagates sign bit
50823         * time/mktime.c (isdst_differ): New static function.
50824         (__mktime_internal): No need to normalize tm_isdst now.
50825         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
50826         tm_isdst values.
50828         mktime: merge another wrapv change from gnulib
50829         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
50830         from some compilers.
50832         mktime: remove incorrect attempt at unusual arithmetics
50833         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
50834         The code didn't really work on such machines anyway.
50835         (TYPE_MINIMUM): Assume two's complement.
50836         (twos_complement_arithmetic): Verify that long_int and time_t
50837         are two's complement (or unsigned, in the latter case).
50839         mktime: check signed shifts on long_int and time_t, too
50840         * time/mktime.c (SHR): Check that shifts work as desired
50841         on the types long_int and time_t too, as SHR is used on
50842         such types.
50844         mktime: do not assume 'long' is wide enough
50845         * time/mktime.c (verify): Move decl up.
50846         (long_int): New type.
50847         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
50848         to remove assumption in the code that 'long' is wide enough to
50849         store year values.  This assumption is not true on x32 and on
50850         some non-glibc platforms.
50852         mktime: merge wrapv change from gnulib
50853         * time/mktime.c (WRAPV): New macro.
50854         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
50855         (guess_time_tm, __mktime_internal): Do not assume that signed
50856         integer overflow wraps around; modern compilers generate code
50857         where this assumption is no longer valid.
50859 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
50861         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50862         Replace "jmp L(pseudo_end)" with "ret".
50863         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
50864         Likewise.
50866 2012-05-23  Andreas Jaeger  <aj@suse.de>
50868         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
50869         * sysdeps/unix/sysv/linux/poll.c: Remove file.
50871 2012-05-23  Andreas Jaeger  <aj@suse.de>
50872             Maximilian Attems  <max@stro.at>
50874         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
50875         New macros.
50877 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
50879         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
50880         code so that pseudo_end is just ret and the stack pointer is
50881         correct also for static library in error case.
50883 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
50885         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
50886         move to syscalls.list.
50887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
50888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
50889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
50890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
50892         * manual/install.texi (Running make install): Do not mention Linux
50893         kernel version for which pt_chown is not needed.
50894         (Linux): Do not mention problems with nscd with 2.0 kernels.
50895         * INSTALL: Regenerated.
50897 2012-05-23  Andreas Jaeger  <aj@suse.de>
50899         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
50900         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
50901         macro.
50902         * sysdeps/unix/sysv/linux/s390/bits/mman.h
50903         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50904         * sysdeps/unix/sysv/linux/sh/bits/mman.h
50905         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50906         * sysdeps/unix/sysv/linux/i386/bits/mman.h
50907         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50908         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
50909         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50910         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
50911         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50912         * sysdeps/unix/sysv/linux/bits/in.h
50913         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
50915 2012-05-22  Roland McGrath  <roland@hack.frob.com>
50917         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
50918         (PREPARE_VERSION): Just use assert instead, it will be elided
50919         under [NDEBUG] anyway.
50921 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
50923         * sysdeps/unix/sysv/linux/Makefile: Include
50924         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
50925         (sysdep_routines): Remove sysctl.
50926         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
50927         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
50928         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
50929         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
50930         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
50932 2012-05-22  Andreas Jaeger  <aj@suse.de>
50934         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
50935         that pseudo_end is just ret and the stack pointer is correct also
50936         for static library in error case.
50938 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
50940         [BZ #14122]
50941         * nss/nsswitch.c (defconfig_entries): New variable.
50942         (__nss_database_lookup): Don't leak defconfig entries.
50943         (nss_parse_service_list): Don't leak on error paths.
50944         (free_database_entries): New function.
50945         (free_defconfig): New function.
50946         (free_mem): Move common code to free_database_entries.
50948 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
50950         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
50951         Add arch_prctl.
50952         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
50954         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50955         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
50956         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
50957         New macro.
50958         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
50959         (INTERNAL_SYSCALL_TYPES): Likewise.
50960         (LOAD_ARGS_TYPES_[1-6]): Likewise.
50961         (LOAD_REGS_TYPES_[1-6]): Likewise.
50962         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
50963         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
50965 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50967         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
50968         copysignl for GLIBC_2_0.
50969         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
50970         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
50971         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
50972         logbl for GLIBC_2_0.
50973         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
50974         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
50976 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
50978         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
50979         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
50981         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50982         Use "neg %eax".
50984         * time/mktime.c: Update copyright years.
50986 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
50988         mktime: merge comment-quoting-style change from gnulib
50989         * time/mktime.c: Quote 'like this' in comments.
50990         The GNU coding standards suggest that we no longer quote `like this',
50991         as "`" and "'" are typically rendered asymmetrically nowadays.
50992         The typical gnulib style is to quote 'like this' when quoting
50993         code, and "like this" when quoting English.
50995         * time/mktime.c (compile-command): Add "-I.".
50997         mktime: merge mktime-internal.h change from gnulib
50998         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
51000         mktime: merge time_r change from gnulib
51001         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
51003         mktime: merge DEBUG change from gnulib
51004         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
51005         case system <time.h> has a #define.
51007         mktime: merge <sys/types.h> change from gnulib
51008         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
51009         since <time.t> is now guaranteed to define time_t.
51011         mktime: merge HAVE_CONFIG_H change from gnulib
51012         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
51014 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
51016         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51017         Use "neg %eax".
51019         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
51020         __rlim_t cast.
51021         (struct rusage): Use anonymous union to pad each field to
51022         __syscall_slong_t.
51024 2012-05-21  David S. Miller  <davem@davemloft.net>
51026         * Makefules (o-iterator): Remove .s cases.
51027         (compile-command.s): Delete.
51028         (COMPILE.s): Delete.
51029         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
51031 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
51033         * configure.in (libc_cv_predef_stack_protector): Only consider
51034         "foobar" and "__stack_chk_fail" lines in libc_undefs.
51035         * configure: Regenerated.
51037 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
51039         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51040         New macro.  Use R*LP on int and pointer.
51041         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
51042         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
51043         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
51044         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
51046         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
51047         [__WORDSIZE_TIME64_COMPAT32] instead of
51048         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
51049         (struct utmp): Likewise.
51050         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
51051         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
51052         Renamed to ...
51053         (__WORDSIZE_TIME64_COMPAT32): This.
51054         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
51055         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
51056         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
51057         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
51058         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
51059         (__WORDSIZE_TIME64_COMPAT32): New macro.
51061 2012-05-21  Andreas Jaeger  <aj@suse.de>
51063         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
51064         only if [SHARED]. Add prototype for __wcschr_ia32.
51066 2012-05-21  Roland McGrath  <roland@hack.frob.com>
51068         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
51069         of %rbp unmolested in the jmp_buf while mangling the low bits.
51070         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
51071         unmolested high bits of %rbp while demangling the low bits.
51072         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
51074 2012-05-21  Andreas Jaeger  <aj@suse.de>
51076         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
51077         * sunrpc/svc_simple.c: Use it for registerrpc.
51078         * sunrpc/xcrypt.c: Use it for passwd2des.
51080         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
51082 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
51084         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
51085         Don't define if [__SYSCALL_WORDSIZE != 32].
51086         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
51087         New macro.
51089 2012-05-21  Bruno Haible  <bruno@clisp.org>
51090             Andreas Jaeger  <aj@suse.de>
51092         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
51093         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
51094         inptr and inend for must_buffer_ch.
51095         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
51096         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
51097         * stdio-common/Makefile (tests): Remove bug15.
51098         (bug15-ENV): Remove macro.
51099         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
51100         anymore.
51102 2012-05-19  Andreas Jaeger  <aj@suse.de>
51103             Roland McGrath  <roland@hack.frob.com>
51105         * manual/contrib.texi: Completely rewritten. It contains now an
51106         alphabetical list of contributors and their contributions.
51108 2012-05-21  Richard Henderson  <rth@twiddle.net>
51110         * misc/getauxval.c (__getauxval): Use unsigned long int.
51111         * misc/sys/auxv.h: Include <sys/cdefs.h>.
51112         (getauxval): Use unsigned long int.
51114 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
51116         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51118 2012-05-21  Roland McGrath  <roland@hack.frob.com>
51120         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
51121         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
51122         __alignof__ (long double).
51124 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51128 2012-05-20  Richard Henderson  <rth@twiddle.net>
51130         * misc/getauxval.c: New file.
51131         * misc/sys/auxv.h: New file.
51132         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
51133         (routines): Add getauxval.
51134         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
51135         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
51136         * elf/dl-sysdep.c (_dl_auxv): Remove.
51137         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
51138         * elf/dl-support.c (_dl_auxv): New variable.
51139         (_dl_aux_init): Initialize it.
51140         * manual/startup.texi (Auxiliary Vector): New node.
51141         * sysdeps/generic/bits/hwcap.h: New file.
51142         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
51143         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
51144         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
51145         * sysdeps/sparc/sysdep.h: ... here.  Include it.
51146         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
51147         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
51148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51149         Update.
51150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
51151         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
51152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
51153         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
51154         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51156         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
51157         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
51159 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51163 2012-05-19  David S. Miller  <davem@davemloft.net>
51165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51167 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
51169         [BZ #14123]
51170         * math/s_ccosh.c: Include <float.h>
51171         (__ccosh): Avoid internal overflow calculating sinh and cosh
51172         values before multiplying by sin and cos values.
51173         * math/s_ccoshf.c: Likewise.
51174         * math/s_ccoshl.c: Likewise.
51175         * math/s_csin.c: Likewise.
51176         * math/s_csinf.c: Likewise.
51177         * math/s_csinl.c: Likewise.
51178         * math/s_csinh.c: Likewise.
51179         * math/s_csinhf.c: Likewise.
51180         * math/s_csinhl.c: Likewise.
51181         * math/libm-test.inc (ccos_test): Add more tests.
51182         (ccosh_test): Likewise.
51183         (csin_test): Likewise.
51184         (csinh_test): Likewise.
51185         * sysdeps/i386/fpu/libm-test-ulps: Update.
51186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51188 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
51190         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
51191         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
51193         * sysdeps/x86_64/x32/_itoa.h: Add comment.
51195 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
51197         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
51198         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
51199         * sysdeps/powerpc/soft-fp/Versions: Likewise.
51200         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
51201         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
51202         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
51203         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
51204         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
51205         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
51206         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
51207         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
51208         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
51209         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
51210         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
51211         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
51212         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
51213         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
51214         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
51215         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
51216         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
51217         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
51218         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
51219         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
51220         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
51221         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
51222         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
51223         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
51224         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
51225         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
51226         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
51227         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
51229 2012-05-18  Andreas Jaeger  <aj@suse.de>
51231         * csu/.gitignore: Delete.
51233 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
51235         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
51236         (timex): Use __syscall_slong_t.
51238 2012-05-18  Andreas Jaeger  <aj@suse.de>
51239             Carlos O'Donell  <carlos_odonell@mentor.com>
51241         * manual/install.texi (Configuring and compiling): Update
51242         description about files modified in the source directory.
51243         * INSTALL: Regenerated.
51245 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
51247         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
51248         value.  Use "or" to set return value to -1.
51249         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
51250         negate return value.
51252 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51254         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
51255         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
51256         failure if the compiler has Graphite support disabled.
51257         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
51258         Likewise.
51259         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
51260         (CFLAGS-memmove.c): Likewise.
51261         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
51262         Likewise.
51264 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
51266         * sysdeps/x86_64/x32/_itoa.h: New file.
51268         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
51269         getdents system call only if kernel and user dirents have the
51270         same d_ino and d_off.
51272         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51273         LLONG_MAX != LONG_MAX.
51274         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51275         (_fitoa_word): Likewise.
51277         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
51278         years.
51279         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
51280         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
51281         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
51283         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
51284         include <bits/wordsize.h>.  Check __x86_64__ instead of
51285         __WORDSIZE.
51286         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
51287         if __x86_64__ is defined.  Use anonymous union on fpstate.
51289         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
51290         anonymous union.
51292 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
51294         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
51295         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
51296         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
51297         Refer to _rtld_local_ro instead of _rtld_global_ro.
51298         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
51299         Likewise.
51300         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
51301         Likewise.
51302         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
51303         Likewise.
51304         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
51305         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
51306         of _rtld_global, and rtld_progname instead of _dl_argv[0].
51308         [BZ #10882]
51309         * sysdeps/powerpc/powerpc32/dl-machine.c
51310         (__elf_machine_runtime_setup) [PROF]: Don't reference
51311         _dl_prof_resolve.
51313 2012-05-18  Andreas Jaeger  <aj@suse.de>
51315         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
51316         function only available for GCCs before 3.4 since GCC 3.4
51317         introduced a builtin.
51318         (lrint): Likewise.
51319         (llrintf): Likewise.
51320         (llrint): Likewise.
51321         (fmaxf): Likewise.
51322         (fmax): Likewise.
51323         (fminf): Likewise.
51324         (fmin): Likewise.
51325         (rint): Likewise.
51326         (rintf): Likewise.
51327         (nearbyint): Likewise.
51328         (nearbyintf): Likewise.
51329         (ceil): Likewise.
51330         (ceilf): Likewise.
51331         (floor): Likewise.
51332         (floorf): Likewise.
51334 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
51336         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
51337         on both fields and cast pointer to __syscall_ulong_t.
51339         * bits/types.h (__fsword_t): New type.
51340         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
51341         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
51342         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51343         (__FSWORD_T_TYPE): Likewise.
51344         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51345         (__FSWORD_T_TYPE): Likewise.
51346         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51347         (__FSWORD_T_TYPE): Likewise.
51348         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
51349         (__FSWORD_T_TYPE): Likewise.
51350         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
51351         __SWORD_TYPE with __fsword_t.
51352         (statfs64): Likewise.
51354 2012-05-17  David S. Miller  <davem@davemloft.net>
51356         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
51358 2012-05-17  Andreas Jaeger  <aj@suse.de>
51360         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
51361         warning.
51363 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
51365         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
51367 2012-05-17  Andreas Jaeger  <aj@suse.de>
51369         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
51370         when it is used.
51372 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
51374         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
51376 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
51378         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
51379         * sysdeps/x86_64/tst-mallocalign1.c: New file.
51381 2012-05-17  Andreas Jaeger  <aj@suse.de>
51382             Carlos O'Donell  <carlos_odonell@mentor.com>
51384         [BZ #14059]
51385         * sysdeps/x86_64/multiarch/init-arch.h
51386         (bit_YMM_Usable): Rename to...
51387         (bit_AVX_Usable): ... this.
51388         (bit_FMA4_Usable): New macro.
51389         (bit_XMM_state): New macro.
51390         (bit_YMM_state): New macro.
51391         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
51392         [__ASSEMBLER__] (index_AVX_Usable): ... this.
51393         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
51394         (CPUID_OSXSAVE): New macro.
51395         (CPUID_AVX): New macro.
51396         (CPUID_FMA4): New macro.
51397         (index_YMM_Usable): Rename to...
51398         (index_AVX_Usable): ... this.
51399         (HAS_AVX): Use HAS_ARCH_FEATURE.
51400         (HAS_FMA4): Likewise.
51401         (HAS_YMM_USABLE): Remove.
51402         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51403         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
51404         are present.
51405         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
51406         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
51407         * sysdeps/x86_64/multiarch/Makefile: Likewise.
51408         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
51409         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
51411 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
51413         * math/libm-test.c: Support platforms without multiple rounding modes.
51414         * math/bug-nextafter.c: Support platforms without FP exceptions.
51415         * math/bug-nexttoward.c: Likewise.
51416         * math/test-fenv.c: Likewise.
51417         * math/test-misc.c: Likewise.
51418         * stdlib/bug-getcontext.c: Likewise.
51420 2012-05-17  Andreas Jaeger  <aj@suse.de>
51422         * manual/examples/search.c (critter_cmp): Change signature to
51423         avoid warnings.
51424         * manual/string.texi (Collation Functions): Likewise.
51426 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51428         * bits/types.h: Fold copyright years.
51429         * bits/typesizes.h: Likewise.
51430         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
51431         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51432         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
51433         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
51434         * time/time.h: Likewise.
51436 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
51438         [BZ #208]
51439         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
51440         in instead of returning them.  Return void.
51441         (__libc_mallinfo): Accumulate over all arenas.
51442         (__malloc_stats): Adjust for change in int_mallinfo interface.
51444 2012-05-16  Roland McGrath  <roland@hack.frob.com>
51446         [BZ #10375]
51447         * configure.in (NM): Add AC_CHECK_TOOL for it.
51448         (libc_extra_cflags): New substituted variable.
51449         Check for -fstack-protector being used implicitly.
51450         * configure: Regenerated.
51451         * config.make.in (config-extra-cflags): New variable,
51452         gets @libc_extra_cflags@.
51453         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
51455         [BZ #10375]
51456         * configure.in: Check for _FORTIFY_SOURCE being predefined.
51457         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
51458         * configure: Regenerated.
51459         * config.make.in (CPPUNDEFS): New substituted variable.
51460         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
51461         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
51462         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
51464 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51466         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
51467         (mq_attr): Use __syscall_slong_t.
51469 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51471         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
51472         Check __x86_64__ instead of __WORDSIZE.
51473         (_STAT_VER_LINUX): Likewise.
51474         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
51475         __syscall_ulong_t and __syscall_slong_t.
51476         (stat64): Likewise.
51478 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51480         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
51482 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51484         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
51486 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51488         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
51489         __syscall_ulong_t.
51491         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
51492         include <bits/wordsize.h>.  Check __x86_64__ instead of
51493         __WORDSIZE.
51494         (greg_t): Use "__extension__ long long int" if __x86_64__ is
51495         defined.
51496         (mcontext_t): Replace "unsigned long" with "unsigned long long".
51498         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
51499         include <bits/wordsize.h>.  Check __x86_64__ instead of
51500         __WORDSIZE.
51501         (user_regs_struct): Use "__extension__ unsigned long long"
51502         instead of "unsigned long" if __x86_64__ is defined.
51503         (user): Likewise.  Pad after pointer field if __ILP32__ is
51504         defined.
51506 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
51508         * configure.in (makeinfo): Require version 4.5 or later.  Allow
51509         versions 5 to 9.
51510         * configure: Regenerated.
51511         * manual/install.texi (texinfo): Increase version requirement to
51512         4.5 or later.
51513         * INSTALL: Regenerated.
51515         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
51517 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51519         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
51521         * sysdeps/x86_64/x32/ffs.c: New file.
51523         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
51524         __syscall_ulong_t.
51525         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
51526         defined.  Use __syscall_ulong_t.
51527         (shminfo): Use __syscall_ulong_t.
51528         (shm_info): Likewise.
51530         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
51531         __syscall_ulong_t.
51533         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
51534         <bits/wordsize.h>.
51535         (msgqnum_t): Use __syscall_ulong_t.
51536         (msglen_t): Likewise.
51537         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
51538         __syscall_ulong_t.
51540         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
51541         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
51543         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
51545         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
51546         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
51548         * sysvipc/sys/msg.h (msgbuf): Replace long int with
51549         __syscall_slong_t.
51551         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
51552         include <bits/wordsize.h>.  Check __x86_64__ instead of
51553         __WORDSIZE.
51555         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
51556         "unsigned long long int" if __x86_64__ is defined.
51557         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
51559         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
51560         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
51561         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
51563         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
51564         <stdint.h>.
51565         (GET_PC): Cast to uintptr_t first.
51566         (GET_FRAME): Likewise.
51567         (GET_STACK): Likewise.
51569         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
51570         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
51571         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
51572         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
51573         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
51574         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
51575         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
51576         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
51577         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
51578         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
51579         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
51580         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
51581         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
51582         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
51583         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
51584         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
51585         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
51586         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
51587         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
51588         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
51589         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
51590         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
51591         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
51592         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
51593         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
51594         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
51595         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
51596         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
51597         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
51599 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
51601         * Makerules (+depfiles): Also collect depfiles from .oS in
51602         $(extra-objs).
51603         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
51604         .oS, $(libnldbl-routines)).
51606         * Makerules (native-compile-mkdep-flags): Define.
51607         * sunrpc/Makefile (extra-objs): Add $(addprefix
51608         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
51609         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
51610         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
51611         calling $(make-target-directory).
51613 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51615         * bits/types.h (__snseconds_t): Removed.
51616         * time/time.h (struct timespec): Replace __snseconds_t with
51617         __syscall_slong_t.
51618         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
51619         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
51620         Likewise.
51621         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51622         (__SNSECONDS_T_TYPE): Likewise.
51623         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51624         (__SNSECONDS_T_TYPE): Likewise.
51625         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51626         (__SNSECONDS_T_TYPE): Likewise.
51628 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51630         * sysdeps/mach/hurd/bits/typesizes.h
51631         (__SYSCALL_SLONG_TYPE): New macro.
51632         (__SYSCALL_ULONG_TYPE): Likewise.
51634 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51636         * bits/types.h (__syscall_slong_t): New type.
51637         (__syscall_ulong_t): Likewise.
51639         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
51640         (__SYSCALL_ULONG_TYPE): Likewise.
51641         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51642         (__SYSCALL_SLONG_TYPE): Likewise.
51643         (__SYSCALL_ULONG_TYPE): Likewise.
51644         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51645         (__SYSCALL_SLONG_TYPE): Likewise.
51646         (__SYSCALL_ULONG_TYPE): Likewise.
51647         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51648         (__SYSCALL_SLONG_TYPE): Likewise.
51649         (__SYSCALL_ULONG_TYPE): Likewise.
51651 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51653         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
51654         Add sigaltstack-offsets.sym.
51655         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
51656         <sigaltstack-offsets.h>.
51657         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
51658         longjmp_msg pointer.
51659         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
51660         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
51661         signal stack.
51662         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
51664 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
51666         * elf/stackguard-macros.h: Remove file.
51667         * sysdeps/generic/stackguard-macros.h: New file.
51668         * sysdeps/i386/stackguard-macros.h: Likewise.
51669         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
51670         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
51671         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
51672         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
51673         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
51674         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
51675         * sysdeps/x86_64/stackguard-macros.h: Likewise.
51676         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
51677         <elf/stackguard-macros.h>.
51679         [BZ #14109]
51680         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
51681         __aligned__ in attribute.
51682         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
51683         (gregset_t): Likewise.
51685 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51687         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
51688         * sysdeps/x86_64/64/Implies-after: Here.  New file.
51689         * sysdeps/x86_64/x32/Implies-after: New file.
51691 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51693         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
51694         and access return value for _dl_profile_fixup.  Use R10_LP to
51695         load frame size.
51697 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51699         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
51701 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51703         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
51704         * sysdeps/x86_64/x32/sysdep.h: New file.
51706 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51708         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
51709         * sysdeps/x86_64/setjmp.S: Likewise.
51711 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51713         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
51714         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
51715         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
51716         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
51717         remove unused global constant.
51719 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
51721         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
51722         include of <not-cancel.h>.
51724 2012-05-15  Roland McGrath  <roland@hack.frob.com>
51726         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
51728 2012-05-15  Jeff Law  <law@redhat.com>
51729             Andreas Jaeger  <aj@suse.de>
51731         [BZ #13594]
51732         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
51733         out from...
51734         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
51735         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
51736         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
51737         code changing __hst_map_handle.map.
51739 2012-05-15  Roland McGrath  <roland@hack.frob.com>
51741         * configure.in (sysnames): Look for Implies-before and Implies-after
51742         files.
51743         * configure: Regenerated.
51745 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51747         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
51748         8-byte data alignment with LP_SIZE alignment.
51750 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51752         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
51753         into R10_LP.
51755 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51757         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
51759 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51761         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
51762         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
51763         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
51764         Likewise.
51765         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51767 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51769         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
51770         (stackinfo_sub_sp): Likewise.
51772 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51774         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
51775         RAX_LP.
51777 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51779         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
51780         into R*_LP.
51782 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51784         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
51785         sizes into R*_LP.
51787 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51789         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
51791 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51793         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
51794         into R11_LP and load __x86_64_shared_cache_size_half into
51795         R8_LP.
51797 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51799         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
51800         R8_LP.
51802 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51804         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
51805         logb for POWER7.
51806         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
51807         logbf for POWER7.
51808         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
51809         logbl for POWER7.
51810         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
51811         powerpc32/power7/fpu/s_logb.c via #include.
51812         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
51813         powerpc32/power7/fpu/s_logbf.c via #include.
51814         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
51815         powerpc32/power7/fpu/s_logbl.c via #include.
51817 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
51819         * README.libm: Remove file.
51821 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
51823         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
51824         count for x32.  Use R*_LP and omit operand-size suffix.
51826 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
51828         * shlib-versions: Move x86_64-.*-linux.* entries to ...
51829         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
51830         * sysdeps/x86_64/x32/shlib-versions: New file.
51832 2012-05-14  Roland McGrath  <roland@hack.frob.com>
51834         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
51835         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
51836         Use _dl_fatal_printf instead.
51838 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
51840         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
51841         set if not set by the user.  Do not allow for being unset.
51842         * sysdeps/unix/sysv/linux/configure: Regenerated.
51844 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
51846         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
51847         the `q' suffix from lea and replace .quad with ASM_ADDR.
51849 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
51851         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
51852         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
51853         instead of $17.
51854         (PTR_DEMANGLE): Likewise.
51856 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
51858         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
51859         (LP_OP): Likewise.
51860         (ASM_ADDR): Likewise.
51861         (RAX_LP): Likewise.
51862         (RBP_LP): Likewise.
51863         (RBX_LP): Likewise.
51864         (RCX_LP): Likewise.
51865         (RDI_LP): Likewise.
51866         (RSI_LP): Likewise.
51867         (RSP_LP): Likewise.
51868         (R8_LP): Likewise.
51869         (R9_LP): Likewise.
51870         (R10_LP): Likewise.
51871         (R10_LP): Likewise.
51872         (R11_LP): Likewise.
51873         (R12_LP): Likewise.
51874         (R13_LP): Likewise.
51875         (R14_LP): Likewise.
51876         (R15_LP): Likewise.
51878 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
51880         * sysdeps/x86_64/x32/dl-machine.h: New file.
51882 2012-05-14  Andreas Jaeger  <aj@suse.de>
51884         * manual/Makefile (subdir): Remove export of subdir.
51885         (all): Remove target.
51886         (.PHONY): Remove all from list.
51887         (mkinstalldirs): Remove.
51888         (.PHONY): Remove installdirs from list.
51889         ($(inst_infodir)/libc.info): Use make-target-directory.
51890         (installdirs): Remove.
51891         (subdir_%): Remove.
51892         (glibc-targets): Remove.
51893         (lib): Remove.
51894         (stubs): Remove.
51895         ($(objpfx)stubs ../po/manual.pot): Remove.
51896         ($(objpfx)stamp%): Remove.
51897         (make-target-directory): Remove.
51898         (subdir_install): Remove.
51899         (routines): Remove.
51900         (aux): Remove.
51901         (sources): Remove.
51902         (objects): Remove.
51903         (headers): Remove.
51905         [BZ #13750]
51906         * manual/.gitignore: Remove, it's not needed anymore.
51907         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
51908         all files in it.
51909         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
51910         directory.
51911         (texis): Renamed to $(objpfx)texis.
51912         (texis-path): New, contains path to generated files.
51913         (chapters.%): Use texis-path for complete path, add extra argument
51914         libc-texinfo.sh.
51915         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
51916         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
51917         (summary,texi, stamp-summary): Use complete path of
51918         files. Generate files in build dir.
51919         (dir-add.texi): Build in build dir.
51920         (libm-err.texi,stamp-libm-err): Likewise.
51921         (version.texi, stamp-version): Likewise.
51922         (.%c.texi): Likewise.
51923         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
51924         (mostlyclean): Remove target.
51925         (realclean): Remove target.
51926         (generated): Add new variable with contents from mostlyclean and
51927         realclean, remove entries duplicated in common-mostlyclean, add
51928         stamp-libm-err and stamp-version.
51929         (generated-dirs): Add libc directory.
51930         ($(inst_infodir)/libc.info): Install files from build dir.
51932         * manual/install.texi (Configuring and compiling): Adjust since
51933         the info files are not part of the tar ball anymore.
51935 2012-05-14  Andreas Jaeger  <aj@suse.de>
51937         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
51938         variable.
51940 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
51942         [BZ #13717]
51943         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51944         to 2.2.0 where earlier.
51945         * sysdeps/unix/sysv/linux/configure: Regenerated.
51946         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
51947         Remove conditional code.
51948         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
51949         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
51950         Remove conditional code.
51951         [!__NR_lchown]: Likewise.
51952         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51953         [__NR_lchown]: Likewise.
51954         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
51955         comment referencing __ASSUME_LCHOWN_SYSCALL.
51956         * sysdeps/unix/sysv/linux/i386/sigaction.c
51957         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51958         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51959         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
51960         Remove conditional code.
51961         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
51962         (__protocol_available): Remove #if 0 code.
51963         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
51964         conditional code.
51965         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
51966         * sysdeps/unix/sysv/linux/kernel-features.h
51967         (__ASSUME_GETCWD_SYSCALL): Don't define.
51968         (__ASSUME_REALTIME_SIGNALS): Likewise.
51969         (__ASSUME_PREAD_SYSCALL): Likewise.
51970         (__ASSUME_PWRITE_SYSCALL): Likewise.
51971         (__ASSUME_POLL_SYSCALL): Likewise.
51972         (__ASSUME_LCHOWN_SYSCALL): Likewise.
51973         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
51974         non-SPARC.
51975         (__ASSUME_SIOCGIFNAME): Don't define.
51976         (__ASSUME_MSG_NOSIGNAL): Likewise.
51977         (__ASSUME_SENDFILE): Define unconditionally.
51978         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
51979         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
51980         conditional code.
51981         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
51982         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
51983         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51984         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51985         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
51986         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51987         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
51989         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51990         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
51992         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51993         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
51995         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51996         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
51998         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51999         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
52001         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52002         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
52004         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52005         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
52007         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52008         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
52010         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52011         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52012         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
52013         Remove conditional code.
52014         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52015         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52016         Remove conditional code.
52017         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52018         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
52019         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
52020         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52021         Remove conditional code.
52022         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52023         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
52024         Remove conditional code.
52025         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52026         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
52027         Remove conditional code.
52028         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52029         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52030         Remove conditional code.
52031         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52032         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52033         Remove conditional code.
52034         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52035         * sysdeps/unix/sysv/linux/sh/pwrite64.c
52036         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52037         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52038         * sysdeps/unix/sysv/linux/sigaction.c
52039         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52040         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52041         * sysdeps/unix/sysv/linux/sigpending.c
52042         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52043         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52044         * sysdeps/unix/sysv/linux/sigprocmask.c
52045         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52046         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52047         * sysdeps/unix/sysv/linux/sigsuspend.c
52048         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52049         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52050         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
52051         (__libc_missing_rt_sigs): Remove.
52052         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
52053         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
52054         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
52055         Remove conditional code.
52056         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
52057         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
52058         return 1.
52059         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
52060         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
52061         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
52062         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
52064 2012-05-14  Andreas Jaeger  <aj@suse.de>
52066         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
52067         it's not used in glibc.
52068         (__coshm1): Likewise.
52069         (__acosh1p): Likewise.
52070         (__sgn): Likewise.
52072         * manual/string.texi (Copying and Concatenation): Add missing
52073         variable in concat example.
52074         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
52076 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52078         [BZ #14103]
52079         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
52080         __builtin_clzl with __builtin_clzll.
52082 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52084         [BZ #14104]
52085         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
52086         libc_freeres_ptr.
52088 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52090         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
52091         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
52092         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
52093         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
52095 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
52097         * NEWS: Update ia64 info.
52099 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
52101         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
52102         used as bcopy.
52104 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
52106         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
52107         * sysdeps/unix/syscalls.list (dup3): Likewise.
52108         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
52109         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
52111 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
52113         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
52114         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
52116 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
52118         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
52119         thread pointer.
52120         (TLS_IE): Use mov/add instead of movq/addq to load thread
52121         pointer.
52122         (TLS_GD_PREFIX): New.
52123         (TLS_GD): Use it.
52125 2012-05-11  David S. Miller  <davem@davemloft.net>
52127         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
52128         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
52129         (_FPU_SETCW): Likewise.
52131 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
52133         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
52134         is 32-byte aligned.
52136 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
52138         [BZ #11837]
52139         * iconvdata/gb18030.c: Update tables.
52140         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
52141         characters specially.
52142         (BODY for TO_LOOP): Add encoding of missing ranges.
52144 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
52146         [BZ #13673]
52147         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
52148         * sysdeps/mach/hurd/dup3.c: Likewise.
52149         * sysdeps/mach/hurd/readlinkat.c: Likewise.
52150         * sysdeps/powerpc/memmove.c:: Likewise.
52152 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
52154         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
52155         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
52157 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
52159         * elf/elf.h (R_X86_64_RELATIVE64): New.
52160         (R_X86_64_NUM): Updated.
52161         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52162         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
52163         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
52164         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
52165         tst-quad1pie tst-quad2pie
52166         (modules-names): Add tst-quadmod1 tst-quadmod2.
52167         ($(objpfx)tst-quad1): New dependency.
52168         ($(objpfx)tst-quad2): Likewise.
52169         ($(objpfx)tst-quad1pie): Likewise.
52170         ($(objpfx)tst-quad2pie): Likewise.
52171         * sysdeps/x86_64/tst-quad1.c: New file.
52172         * sysdeps/x86_64/tst-quad1pie.c: New file.
52173         * sysdeps/x86_64/tst-quad2.c: Likewise.
52174         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
52175         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
52176         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
52177         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
52178         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
52180 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52182         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
52183         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
52184         * streams/stropts.h (t_scalar_t): Define type.
52186         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
52187         (_PATH_PRESERVE): Set to "/var/lib".
52188         (_PATH_RWHODIR): Set to "/var/spool/rwho".
52190         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
52191         instead of int.
52193         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
52194         if __dir_mkfile succeeded.
52196         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
52197         checking for _hurd_dtablesize.  Unlock it right after having
52198         finished _hurd_dtable allocation.
52200 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52202         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
52203         * sysdeps/mach/hurd/configure: Regenerated.
52204         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
52205         special-casing to...
52206         * sysdeps/gnu/configure.in: ... this new file.
52207         * sysdeps/unix/sysv/linux/configure: Regenerated.
52208         * sysdeps/gnu/configure: New generated file.
52210         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
52211         for Linux: use nsec instead of usec, as well as:
52212         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
52213         members of type struct timespec.
52214         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
52215         New macros.
52216         (struct stat64): Likewise.
52217         (_STATBUF_ST_NSEC): New macro.
52218         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
52220         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52221         __strtoul_internal rather than strtoul.
52223 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52225         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
52226         and reject them.
52228 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52230         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
52231         which preserves existing values.
52232         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
52234 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52236         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
52237         TIMEOUT values.  Return EINVAL for NFDS values either negative or
52238         greater than FD_SETSIZE.
52240 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52242         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
52243         allocated, call __vm_protect to finish enabling the existing space, and
52244         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
52245         allocate the remainder.
52247 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52249         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
52250         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
52252 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52254         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
52255         sysdeps/mach/hurd/readlink.c.
52257         * posix/tst-sysconf.c (posix_options): Only use
52258         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
52259         _POSIX_SYNCHRONIZED_IO when they are defined
52260         * sysdeps/mach/hurd/bits/posix_opt.h:
52261         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
52262         (_XOPEN_REALTIME): Undefine macro.
52263         (_XOPEN_REALTIME_THREADS): Undefine macro.
52264         (_XOPEN_SHM): Undefine macro.
52265         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
52266         macro to -1.
52267         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
52268         macro to -1.
52269         (_POSIX_ASYNC_IO): Undefine macro.
52270         (_POSIX_PRIORITIZED_IO): Undefine macro.
52271         (_POSIX_SPIN_LOCKS): Define macro to -1.
52273         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
52274         SA_NODEFER, SA_RESETHAND.
52275         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
52276         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
52277         F_DUPFD_CLOEXEC.
52279 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52281         * elf/Makefile (pldd-modules): Define unconditionally.
52283 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52285         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
52287 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52289         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
52290         Return ENOENT when name is empty.
52291         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
52293 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52295         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
52297         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
52299 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52301         Fix mlock in all cases except non-readable pages.
52302         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
52303         instead of VM_PROT_ALL as parameter to __vm_wire function.
52305         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
52306         (__mkdir): When path is `/', just fail with EEXIST.
52307         * sysdeps/mach/hurd/mkdirat.c: Likewise.
52309 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52311         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
52312         <sys/uio.h> (for writev).
52313         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
52314         and <sys/param.h> (for MIN).
52316 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52318         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
52319         REQUESTED_TIME.  Properly set the remaining time and return EINTR
52320         if interrupted.
52322 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52324         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
52325         Depend on against $(link-rpcuserlibs).
52327 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52329         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
52330         (__libc_stack_end): Do not use attribute_relro.
52331         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
52332         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
52333         to libthread-provided value.
52334         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
52335         attribute_relro.
52337 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52339         [BZ #3748]
52340         * bits/libc-lock.h (__libc_once_get): New macro.
52341         * sysdeps/mach/bits/libc-lock.h: Likewise.
52342         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
52343         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
52344         instead of using implementation details.
52346         * libio/fileops.c: Unconditionally include <kernel-features.h>.
52347         * libio/freopen.c: Likewise.
52348         * libio/freopen64.c: Likewise.
52349         * misc/syslog.c: Likewise.
52350         * nscd/connections.c: Likewise.
52351         * nscd/netgroupcache.c: Likewise.
52352         * sysdeps/posix/getcwd.c: Likewise.
52354 2012-05-10  Roland McGrath  <roland@hack.frob.com>
52356         * math/w_ilogbf.c: Add #include <limits.h>.
52358 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52360         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
52361         path instead of returning without unlocking.
52363         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
52364         immediate-write ioctls.
52365         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
52367 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52369         * sysdeps/mach/hurd/i386/init-first.c (init): Use
52370         __builtin_frame_address instead of making assumptions about the
52371         location of the return address relative to DATA.  Force early load of
52372         the return address.
52373         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
52374         __builtin_frame_address.
52376         dup3 for GNU Hurd.
52377         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
52378         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
52379         implement dup3 and do some further code clean-ups.
52380         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
52381         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
52383 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52385         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
52387         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
52388         HURD_CRITICAL_END around holding _hurd_dtable_lock.
52389         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
52390         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
52391         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
52392         d->port.lock.
52394         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
52395         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
52396         when handler == SIG_ERR, not when handler != SIG_ERR.
52398 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52400         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
52401         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
52402         definitions.
52404         accept4 for GNU Hurd.
52405         * include/sys/socket.h (__libc_accept4): New prototype.
52406         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
52407         to implement __libc_accept4.
52408         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
52409         __libc_accept4.
52410         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
52412         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
52413         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
52414         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
52415         signal-defines.sym.
52417 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52419         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
52421 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52423         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
52424         assertion on O_CLOEXEC flag.
52425         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
52426         * hurd/intern-fd.c: Likewise.
52427         * hurd/port2fd.c: Likewise.
52429 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52431         [BZ #3906]
52432         * bits/in.h (IPV6_PKTINFO): Define new macro.
52433         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
52435 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52437         [BZ #13954]
52438         [BZ #13955]
52439         [BZ #13956]
52440         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
52441         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52442         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
52443         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
52444         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52445         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
52446         * math/libm-test.inc (logb_test) : Additional logb tests.
52448 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
52449             Andreas Jaeger  <aj@suse.de>
52451         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
52452         * configure: Regenerated.
52453         * config.h.in (LINK_OBSOLETE_RPC): New macro.
52454         * config.make.in (link-obsolete-rpc): New substituted variable.
52455         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
52456         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
52457         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52458         (shared-only-routines): Don't set it under [link-obsolete-rpc],
52459         so that libc.a contains the symbols.
52460         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52461         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
52462         * sunrpc/auth_none.c: Likewise.
52463         * sunrpc/auth_unix.c: Likewise.
52464         * sunrpc/authdes_prot.c: Likewise.
52465         * sunrpc/authuxprot.c: Likewise.
52466         * sunrpc/clnt_gen.c: Likewise.
52467         * sunrpc/clnt_perr.c: Likewise.
52468         * sunrpc/clnt_raw.c: Likewise.
52469         * sunrpc/clnt_simp.c: Likewise.
52470         * sunrpc/clnt_tcp.c: Likewise.
52471         * sunrpc/clnt_udp.c: Likewise.
52472         * sunrpc/clnt_unix.c: Likewise.
52473         * sunrpc/des_crypt.c: Likewise.
52474         * sunrpc/des_soft.c: Likewise.
52475         * sunrpc/get_myaddr.c: Likewise.
52476         * sunrpc/key_call.c: Likewise.
52477         * sunrpc/key_prot.c: Likewise.
52478         * sunrpc/netname.c: Likewise.
52479         * sunrpc/pm_getmaps.c: Likewise.
52480         * sunrpc/pm_getport.c: Likewise.
52481         * sunrpc/pmap_clnt.c: Likewise.
52482         * sunrpc/pmap_prot.c: Likewise.
52483         * sunrpc/pmap_prot2.c: Likewise.
52484         * sunrpc/pmap_rmt.c: Likewise.
52485         * sunrpc/publickey.c: Likewise.
52486         * sunrpc/rpc_cmsg.c: Likewise.
52487         * sunrpc/rpc_common.c: Likewise.
52488         * sunrpc/rpc_dtable.c: Likewise.
52489         * sunrpc/rpc_prot.c: Likewise.
52490         * sunrpc/rpc_thread.c: Likewise.
52491         * sunrpc/rtime.c: Likewise.
52492         * sunrpc/svc.c: Likewise.
52493         * sunrpc/svc_auth.c: Likewise.
52494         * sunrpc/svc_raw.c: Likewise.
52495         * sunrpc/svc_run.c: Likewise.
52496         * sunrpc/svc_tcp.c: Likewise.
52497         * sunrpc/svc_udp.c: Likewise.
52498         * sunrpc/svc_unix.c: Likewise.
52499         * sunrpc/svcauth_des.c: Likewise.
52500         * sunrpc/xcrypt.c: Likewise.
52501         * sunrpc/xdr.c: Likewise.
52502         * sunrpc/xdr_array.c: Likewise.
52503         * sunrpc/xdr_float.c: Likewise.
52504         * sunrpc/xdr_intXX_t.c: Likewise.
52505         * sunrpc/xdr_mem.c: Likewise.
52506         * sunrpc/xdr_rec.c: Likewise.
52507         * sunrpc/xdr_ref.c: Likewise.
52508         * sunrpc/xdr_sizeof.c: Likewise.
52509         * sunrpc/xdr_stdio.c: Likewise.
52511 2012-05-10  Roland McGrath  <roland@hack.frob.com>
52513         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
52514         change.  Update copyright years.
52516 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
52518         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
52520 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
52521             Joseph Myers  <joseph@codesourcery.com>
52522             Paul Pluzhnikov  <ppluzhnikov@google.com>
52524         [BZ #14012]
52525         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
52526         requiring rpcgen.
52527         [cross-compiling] (extra-libs): Likewise.
52528         [cross-compiling] (extra-libs-others): Likewise.
52529         [cross-compiling] (librpcsvc-routines): Likewise.
52530         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
52531         [cross-compiling] (omit-deps): Likewise.
52532         (sunrpc-CPPFLAGS): New variable.
52533         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
52534         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
52535         (cross-rpcgen-objs): New variable.
52536         (extra-objs): Append $(cross-rpcgen-objs).
52537         ($(cross-rpcgen-objs)): New rule.
52538         ($(objpfx)cross-rpcgen): Likewise.
52539         (rpcgen-cmd): Define to use $(built-program-file).  Expand
52540         comment.
52541         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
52542         ($(objpfx)x%.stmp): Likewise.
52543         * sunrpc/proto.h [IS_IN_build] (_): Define.
52544         [IS_IN_build] (_libc_intl_domainname): Likewise.
52546 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
52548         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
52549         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
52550         and R_X86_64_TPOFF64.
52552 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
52554         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
52555         sysdeps/unix/sysv/syscalls.list.
52556         (stime): Likewise.
52557         (utime): Likewise.
52558         * sysdeps/unix/sysv/syscalls.list: Remove file.
52560 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
52562         [BZ #3440]
52563         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
52564         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
52565         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
52566         (__LC_IDENTIFICATION): Make these macros useful in #if
52567         expressions, as required by C99.
52569 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
52571         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
52572         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
52573         after this.
52575 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
52577         * stdlib/longlong.h: Updated from GCC.
52579 2012-05-09  Andreas Jaeger  <aj@suse.de>
52581         * nscd/nscd.c (run_modes): Make named enum, reorder so that
52582         default is first entry.
52583         (run_mode): Set type.
52584         (main): Remove informal message about syslog.
52585         (options): Fix typo.
52587         [BZ #14053]
52588         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
52589         to asm.
52590         (lrint): Likewise.
52591         (llrintf): Likewise.
52592         (llrint): Likewise.
52593         (rint): Likewise.
52594         (rintf): Likewise.
52595         (nearbyint): Likewise.
52596         (nearbyintf): Likewise.
52598 2012-05-09  Andreas Jaeger  <aj@suse.de>
52599             Pedro Alves  <palves@redhat.com>
52601         * nscd/nscd.c (run_mode): Use enum.
52602         (main): Cleanup coding style issue.
52604 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
52605             Andreas Jaeger  <aj@suse.de>
52607         * nscd/nscd.c (go_background): Replaced with...
52608         (run_mode): ... this.
52609         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
52610         (options): Add -F --foreground.
52611         (main): Implement it.
52612         (parse_opt): Parse it.
52614 2012-05-09  Andreas Jaeger  <aj@suse.de>
52616         [BZ #14083]
52617         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
52618         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
52619         -Wconversion warning.
52620         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
52621         Likewise.
52623 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
52625         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
52626         == 0.
52627         (LC_ALL): Use macro-int-constant.
52628         (LC_COLLATE): Likewise.
52629         (LC_CTYPE): Likewise.
52630         (LC_MESSAGES): Likewise.
52631         (LC_MONETARY): Likewise.
52632         (LC_NUMERIC): Likewise.
52633         (LC_TIME): Likewise.
52634         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
52635         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52636         [ISO || ISO99 || ISO11] (*_t): Do not allow.
52637         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
52638         Specify type.
52639         [C99-based standards] (float_t): Expect type.
52640         [C99-based standards] (double_t): Expect type.
52641         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
52642         type.
52643         [C99-based standards] (HUGE_VALL): Likewise.
52644         [C99-based standards] (INFINITY): Likewise.
52645         [C99-based standards] (NAN): Likewise.
52646         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
52647         [C99-based standards] (FP_NAN): Likewise.
52648         [C99-based standards] (FP_NORMAL): Likewise.
52649         [C99-based standards] (FP_SUBNORMAL): Likewise.
52650         [C99-based standards] (FP_ZERO): Likewise.
52651         [C99-based standards] (FP_FAST_FMA): Use
52652         optional-macro-int-constant.  Specify type.  Require == 1.
52653         [C99-based standards] (FP_FAST_FMAF): Likewise.
52654         [C99-based standards] (FP_FAST_FMAL): Likewise.
52655         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
52656         [C99-based standards] (FP_ILOGBNAN): Likewise.
52657         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
52658         Specify type.
52659         [C99-based standards] (MATH_ERREXCEPT): Likewise.
52660         [C99-based standards] (math_errhandling): Specify type.
52661         [ISO99 || ISO11] (signgam): Do not allow.
52662         [non-C99-based standards] (copysignf): Do not allow.
52663         [non-C99-based standards] (exp2f): Likewise.
52664         [non-C99-based standards] (log2f): Likewise.
52665         [non-C99-based standards] (modff): Allow.
52666         [non-C99-based standards] (erff): Do not allow.
52667         [non-C99-based standards] (erfcf): Likewise.
52668         [non-C99-based standards] (gammaf): Likewise.
52669         [non-C99-based standards] (hypotf): Likewise.
52670         [non-C99-based standards] (j0f): Likewise.
52671         [non-C99-based standards] (j1f): Likewise.
52672         [non-C99-based standards] (jnf): Likewise.
52673         [non-C99-based standards] (lgammaf): Likewise.
52674         [non-C99-based standards] (tgammaf): Likewise.
52675         [non-C99-based standards] (y0f): Likewise.
52676         [non-C99-based standards] (y1f): Likewise.
52677         [non-C99-based standards] (ynf): Likewise.
52678         [non-C99-based standards] (isnanf): Likewise.
52679         [non-C99-based standards] (acoshf): Likewise.
52680         [non-C99-based standards] (asinhf): Likewise.
52681         [non-C99-based standards] (atanhf): Likewise.
52682         [non-C99-based standards] (cbrtf): Likewise.
52683         [non-C99-based standards] (expm1f): Likewise.
52684         [non-C99-based standards] (ilogbf): Likewise.
52685         [non-C99-based standards] (log1pf): Likewise.
52686         [non-C99-based standards] (logbf): Likewise.
52687         [non-C99-based standards] (nextafterf): Likewise.
52688         [non-C99-based standards] (remainderf): Likewise.
52689         [non-C99-based standards] (rintf): Likewise.
52690         [non-C99-based standards] (scalbf): Likewise.
52691         [non-C99-based standards] (copysignl): Likewise.
52692         [non-C99-based standards] (exp2l): Likewise.
52693         [non-C99-based standards] (log2l): Likewise.
52694         [non-C99-based standards] (modfl): Allow.
52695         [non-C99-based standards] (erfl): Do not allow.
52696         [non-C99-based standards] (erfcl): Likewise.
52697         [non-C99-based standards] (gammal): Likewise.
52698         [non-C99-based standards] (hypotl): Likewise.
52699         [non-C99-based standards] (j0l): Likewise.
52700         [non-C99-based standards] (j1l): Likewise.
52701         [non-C99-based standards] (jnl): Likewise.
52702         [non-C99-based standards] (lgammal): Likewise.
52703         [non-C99-based standards] (tgammal): Likewise.
52704         [non-C99-based standards] (y0l): Likewise.
52705         [non-C99-based standards] (y1l): Likewise.
52706         [non-C99-based standards] (ynl): Likewise.
52707         [non-C99-based standards] (isnanl): Likewise.
52708         [non-C99-based standards] (acoshl): Likewise.
52709         [non-C99-based standards] (asinhl): Likewise.
52710         [non-C99-based standards] (atanhl): Likewise.
52711         [non-C99-based standards] (cbrtl): Likewise.
52712         [non-C99-based standards] (expm1l): Likewise.
52713         [non-C99-based standards] (ilogbl): Likewise.
52714         [non-C99-based standards] (log1pl): Likewise.
52715         [non-C99-based standards] (logbl): Likewise.
52716         [non-C99-based standards] (nextafterl): Likewise.
52717         [non-C99-based standards] (remainderl): Likewise.
52718         [non-C99-based standards] (rintl): Likewise.
52719         [non-C99-based standards] (scalbl): Likewise.
52720         [ISO || ISO99 || ISO11] (*_t): Do not allow.
52721         [non-C99-based standards] (FP_*): Do not allow.
52722         [C99-based standards] (FP_*): Change to
52723         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52724         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52725         allow.
52726         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
52727         (SIG_ERR): Likewise.
52728         [X/Open-based standards] (SIG_HOLD): Likewise.
52729         (SIG_IGN): Likewise.
52730         (SIGABRT): Use macro-int-constant.  Specify type.  Require
52731         positive value.
52732         (SIGFPE): Likewise.
52733         (SIGILL): Likewise.
52734         (SIGINT): Likewise.
52735         (SIGSEGV): Likewise.
52736         (SIGTER): Likewise.
52737         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
52738         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
52739         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
52740         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
52741         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
52742         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
52743         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
52744         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
52745         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
52746         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
52747         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
52748         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
52749         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
52750         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
52751         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
52752         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
52753         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
52754         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
52755         [X/Open-based standards] (SIGTRAP): Likewise.
52756         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
52757         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
52758         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
52759         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
52760         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52761         allow.
52763 2012-05-08  Ian Wienand  <ianw@vmware.com>
52765         [BZ #14080]
52766         * time/tzset.c (__tzset_parse_tz): Update default rules for
52767         daylight time changes in the Energy Policy Act of 2005.
52769 2012-05-09  Andreas Jaeger  <aj@suse.de>
52771         [BZ #13983]
52772         * elf/ldconfig.c (parse_conf): Change string to make clear that
52773         ldconfig only issued a warning if ld.so.conf does not exist.
52775 2012-05-08  David S. Miller  <davem@davemloft.net>
52777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
52778         movxtod instead of popping the value on the stack.
52780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52782 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
52784         * config.h.in: Add HAVE_ARM_PCS_VFP.
52786 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
52788         [BZ #13979]
52789         * include/features.h: Warn if user requests __FORTIFY_SOURCE
52790         checking but the checks are disabled for any reason.
52792 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
52794         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
52795         and ELF64_R_TYPE with ELFW(R_TYPE).
52797 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
52799         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
52800         (ulimit): Likewise.
52802         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
52803         (settimeofday): Likewise.
52805 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
52807         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
52808         a struct th_u2 inside the union, and move tu_block/tu_code into
52809         a new th_u3 union of tu_block/tu_code inside of that.  Move
52810         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
52811         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
52812         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
52813         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
52814         (th_stuff): Change to th_u1.tu_stuff.
52815         (th_data): Define.
52816         (th_msg): Change to th_u1.th_u2.tu_data.
52818 2012-05-07  David S. Miller  <davem@davemloft.net>
52820         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52822         [BZ #14074]
52823         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
52824         (SETUP_PIC_REG): Use it.
52825         (SETUP_PIC_REG_LEAF): Use it.
52827 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
52829         [BZ #13885]
52830         [BZ #13923]
52831         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52832         USE_AS_EXPM1L.
52833         (EXPL_FINITE): Likewise.
52834         (FLDLOG): Likewise.
52835         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52836         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52837         e_expl.S.
52838         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52839         USE_AS_EXPM1L.
52840         (EXPL_FINITE): Likewise.
52841         (FLDLOG): Likewise.
52842         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52843         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52844         e_expl.S.
52845         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
52846         test of -max_value argument for long double.
52847         * sysdeps/i386/fpu/libm-test-ulps: Update.
52848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52850 2012-05-06  David S. Miller  <davem@davemloft.net>
52852         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
52853         quad soft-float symbols whose references which are compiler
52854         generated.
52855         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52857 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
52859         [BZ #13884]
52860         [BZ #13914]
52861         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52862         USE_AS_EXP10L.
52863         (EXPL_FINITE): Likewise.
52864         (FLDLOG): Likewise.
52865         (c0): Likewise.
52866         (c1): Likewise.
52867         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
52868         Adjust comments for base varying.
52869         (__expl_finite): Change alias to EXPL_FINITE.
52870         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
52871         e_expl.S.
52872         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
52873         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
52874         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52875         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
52876         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52877         USE_AS_EXP10L.
52878         (EXPL_FINITE): Likewise.
52879         (FLDLOG): Likewise.
52880         (c0): Likewise.
52881         (c1): Likewise.
52882         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
52883         Adjust comments for base varying.
52884         (__expl_finite): Change alias to EXPL_FINITE.
52885         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
52886         tests for bugs.
52887         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52889         [BZ #14064]
52890         * math/libm-test.inc (check_float_internal): Correct ulp
52891         calculation for subnormal expected results.
52893 2012-05-06  Andreas Jaeger  <aj@suse.de>
52895         * Makeconfig (+math-flags): New, set to -frounding-math.
52896         (+cflags): Add +math-flags so that all of glibc gets compiled with
52897         it.
52899         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
52901 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
52903         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
52904         Disable one test.
52906         [BZ #13787]
52907         [BZ #13922]
52908         [BZ #14036]
52909         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
52910         (__ieee754_expl): Allow for and saturate large arguments.
52911         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
52912         (u_threshold): Likewise.
52913         (__exp): Call __ieee754_exp before checking for overflow and
52914         underflow.
52915         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
52916         (u_threshold): Likewise.
52917         (__expf): Call __ieee754_expf before checking for overflow and
52918         underflow.
52919         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
52920         (u_threshold): Likewise.
52921         (__expl): Call __ieee754_expl before checking for overflow and
52922         underflow.
52923         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
52924         (__ieee754_expl): Allow for and saturate large arguments.
52925         * math/libm-test.inc (exp_test): Add another test.  Do not allow
52926         missing overflow exception on overflow.
52927         (expm1_test): Do not allow missing overflow exception on overflow.
52929         * sysdeps/i386/fpu/e_expl.c: Move to ...
52930         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
52931         rather than using inline asm.
52932         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
52933         * sysdeps/x86_64/fpu/e_expl.S: Copy from
52934         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
52936         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
52937         (nice): Likewise.
52938         (poll): Likewise.
52939         (signal): Likewise.
52940         (time): Likewise.
52941         (times): Likewise.
52943 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
52945         * sysdeps/unix/syscalls.list (adjtime): Add entry from
52946         sysdeps/unix/common/syscalls.list.
52947         (fchmod): Likewise.
52948         (fchown): Likewise.
52949         (ftruncate): Likewise.
52950         (getrusage): Likewise.
52951         (gettimeofday): Likewise.
52952         (setpgid): Likewise.
52953         (setregid): Likewise.
52954         (setreuid): Likewise.
52955         (sigaction): Likewise.
52956         (truncate): Likewise.
52957         (vhangup): Likewise.
52958         * sysdeps/unix/common/syscalls.list: Remove file.
52959         * sysdeps/unix/bsd/Implies: Don't include unix/common.
52960         * sysdeps/unix/sysv/linux/Implies: Likewise.
52962 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
52964         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
52965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
52966         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
52967         Moved to ...
52968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52969         Here.
52970         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
52971         to ...
52972         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
52973         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
52974         to ...
52975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
52976         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
52977         to ...
52978         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
52979         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
52980         to ...
52981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
52982         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
52983         to ...
52984         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
52985         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
52986         to ...
52987         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
52988         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
52989         to ...
52990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52991         Here.
52992         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
52993         to ...
52994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
52995         Here.
52996         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
52997         to ...
52998         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
52999         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
53000         Moved to ...
53001         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
53002         Here.
53003         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
53004         to ...
53005         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
53007 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
53009         * sysdeps/unix/common/bits/dirent.h: Remove file.
53010         * sysdeps/unix/common/bits/fcntl.h: Likewise.
53012         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
53013         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
53014         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
53015         * sysdeps/unix/bsd/isatty.c: Likewise.
53016         * sysdeps/unix/bsd/tcdrain.c: Likewise.
53017         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
53018         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
53020 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53022         [BZ #13563]
53023         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
53024         long double comparison inaccuracies.
53025         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
53026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53028 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
53030         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
53031         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
53033 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
53035         [BZ #14049]
53036         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
53037         nonzero digits before rounding a hex value.
53038         * stdlib/tst-strtod.c (tests): Add another test.
53040 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53042         * sysdeps/s390/fpu/libm-test-ulps: Update.
53044 2012-05-03  Andreas Jaeger  <aj@suse.de>
53046         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
53047         does not get optimized out.
53048         (malloc_opt_barrier): New.
53050 2012-05-03  Andreas Jaeger  <aj@suse.de>
53051             Roland McGrath  <roland@hack.frob.com>
53053         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
53054         intermediate file deletion.
53055         (generated): Add .symlist files.
53057 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
53059         [BZ #13775]
53060         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
53061         Redirect under this condition.
53062         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53063         [__USE_GNU] (__dprintf_chk): Not under this condition.
53064         [__USE_GNU] (__vdprintf_chk): Likewise.
53065         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
53066         under this condition.
53067         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53068         [__USE_XOPEN2K8] (dprintf): Define under this condition.
53069         [__USE_XOPEN2K8] (vdprintf): Likewise.
53070         [__USE_GNU] (__dprintf_chk): Not under this condition.
53071         [__USE_GNU] (__vdprintf_chk): Likewise.
53072         [__USE_GNU] (dprintf): Likewise.
53073         [__USE_GNU] (vdprintf): Likewise.
53075 2012-05-03  Roland McGrath  <roland@hack.frob.com>
53077         * elf/Makefile (common-generated): Set this instead of generated for
53078         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
53079         $(all-built-dso)-derived lists.
53081 2012-05-03  Andreas Jaeger  <aj@suse.de>
53083         * sysdeps/i386/fpu/libm-test-ulps: Update.
53085         * FAQ: Removed.
53086         * FAQ.in: Likewise.
53087         * scripts/gen-FAQ.pl: Likewise.
53088         * manual/install.texi (Installation): Point to online location of
53089         FAQ.
53090         * Makefile (files-for-dist): Remove FAQ.
53091         (FAQ): Remove.
53093 2012-05-02  Allan McRae  <allan@archlinux.org>
53095         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
53096         (LDFLAGS-reldepmod5.so): Likewise.
53097         (LDFLAGS-reldep6mod1.so): Likewise.
53098         (LDFLAGS-reldep6mod4.so): Likewise.
53099         (LDFLAGS-reldep8mod3.so): Likewise.
53100         (LDFLAGS-unload4mod1.so): Likewise.
53101         (LDFLAGS-unload4mod2.so): Likewise.
53102         (LDFLAGS-tst-initorder): Likewise.
53103         (LDFLAGS-tst-initordera2.so): Likewise.
53104         (LDFLAGS-tst-initordera3.so): Likewise.
53105         (LDFLAGS-tst-initordera4.so): Likewise.
53106         (LDFLAGS-tst-initorderb2.so): Likewise.
53107         (LDFLAGS-noload): Likewise.
53108         (LDFLAGS-next): Likewise.
53109         (LDFLAGS-order2mod1.so): Likewise.
53110         (LDFLAGS-order2mod2.so): Likewise.
53111         (LDFLAGS-tst-initorder2): Likewise.
53112         (LDFLAGS-tst-initorder2a.so): Likewise.
53113         (LDFLAGS-tst-initorder2b.so): Likewise.
53114         (LDFLAGS-tst-initorder2c.so): Likewise.
53115         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
53117 2012-05-02  David S. Miller  <davem@davemloft.net>
53119         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53121 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
53123         [BZ #14055]
53124         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
53126 2012-05-02  Andreas Jaeger  <aj@suse.de>
53128         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
53129         since we manipulate rounding mode.
53130         (CPPFLAGS-test-idouble.c): Likewise.
53131         (CPPFLAGS-test-ifloat.c): Likewise.
53132         (CFLAGS-test-ldouble.c): Likewise.
53133         (CFLAGS-test-double.c): Likewise.
53134         (CFLAGS-test-float.c): Likewise.
53135         (CFLAGS-test-misc.c): Likewise.
53136         (CFLAGS-test-test-fenv.c): Likewise.
53138 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53140         [BZ #2550]
53141         [BZ #2570]
53142         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
53143         comparisons to determine direction to adjust input.
53145 2012-05-01  Roland McGrath  <roland@hack.frob.com>
53147         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
53148         output to the target.
53150         * scripts/localplt.awk: New file.
53151         * elf/Makefile ($(objpfx)check-localplt): Target removed.
53152         (check-localplt-CFLAGS): Variable removed.
53153         ($(all-built-dso:=.jmprel)): New static pattern rule.
53154         (generated): Add those targets.
53155         (localplt-built-dso): New variable.
53156         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
53158         * elf/check-localplt.c: File removed.
53160         * scripts/check-execstack.awk: New file.
53161         * elf/Makefile ($(objpfx)check-execstack): Target removed.
53162         (check-execstack-CFLAGS): Variable removed.
53163         ($(objpfx)check-execstack.h): Target removed.
53164         ($(objpfx)execstack-default): New target.
53165         (generated): Add that instead of check-execstack.h.
53166         ($(all-built-dso:=.phdr)): New static pattern rule.
53167         (generated): Add those targets.
53168         * elf/check-execstack.c: File removed.
53170         * scripts/check-textrel.awk: New file.
53171         * elf/Makefile ($(objpfx)check-textrel): Target removed.
53172         (check-textrel-CFLAGS): Variable removed.
53173         (all-built-dso): Use := to define.o
53174         ($(all-built-dso:=.dyn)): New static pattern rule.
53175         (generated): Add those targets.
53176         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
53177         * config.make.in (READELF): New substituted variable.
53178         * elf/check-textrel.c: File removed.
53180 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
53182         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53183         allow.
53184         * conform/data/ctype.h-data [C99-based standards] (isblank):
53185         Expect function.
53186         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
53187         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
53188         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53189         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
53190         Specify type.  Require positive value.
53191         (EILSEQ): Likewise.
53192         (ERANGE): Likewise.
53193         [ISO || POSIX] (EILSEQ): Do not expect.
53194         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
53195         Specify type.  Require positive value.
53196         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
53197         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
53198         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
53199         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
53200         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
53201         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
53202         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
53203         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
53204         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
53205         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
53206         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
53207         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
53208         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
53209         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
53210         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
53211         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
53212         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
53213         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
53214         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
53215         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
53216         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
53217         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
53218         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
53219         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
53220         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
53221         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
53222         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
53223         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
53224         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
53225         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
53226         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
53227         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
53228         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
53229         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
53230         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
53231         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
53232         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
53233         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
53234         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
53235         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
53236         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
53237         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
53238         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
53239         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
53240         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
53241         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
53242         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
53243         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
53244         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
53245         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
53246         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
53247         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
53248         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
53249         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
53250         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
53251         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
53252         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
53253         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
53254         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
53255         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
53256         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
53257         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
53258         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
53259         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
53260         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
53261         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
53262         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
53263         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
53264         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
53265         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
53266         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
53267         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
53268         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
53269         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
53270         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
53271         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
53272         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
53273         Require >= 2.
53274         (FLT_ROUNDS): Expect as macro, not constant.
53275         (FLT_MANT_DIG): Use macro-int-constant.
53276         (DBL_MANT_DIG): Likewise.
53277         (LDBL_MANT_DIG): Likewise.
53278         (FLT_DIG): Likewise.
53279         (DBL_DIG): Likewise.
53280         (LDBL_DIG): Likewise.
53281         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
53282         (DBL_MIN_EXP): Likewise.
53283         (LDBL_MIN_EXP): Likewise.
53284         (FLT_MAX_EXP): Use macro-int-constant.
53285         (DBL_MAX_EXP): Likewise.
53286         (LDBL_MAX_EXP): Likewise.
53287         (FLT_MAX_10_EXP): Likewise.
53288         (DBL_MAX_10_EXP): Likewise.
53289         (LDBL_MAX_10_EXP): Likewise.
53290         (FLT_MAX): Use macro-constant.
53291         (DBL_MAX): Likewise.
53292         (LDBL_MAX): Likewise.
53293         (FLT_EPSILON): Use macro-constant.  Give upper bound.
53294         (DBL_EPSILON): Likewise.
53295         (LDBL_EPSILON): Likewise.
53296         (FLT_MIN): Likewise.
53297         (DBL_MIN): Likewise.
53298         (LDBL_MIN): Likewise.
53299         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
53300         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
53301         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
53302         [ISO11] (FLT_HAS_SUBNORM): Likewise.
53303         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
53304         [ISO11] (DBL_DECIMAL_DIG): Likewise.
53305         [ISO11] (FLT_DECIMAL_DIG): Likewise.
53306         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
53307         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
53308         [ISO11] (FLT_TRUE_MIN): Likewise.
53309         [ISO11] (LDBL_TRUE_MIN): Likewise.
53310         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53311         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
53312         (SCHAR_MIN): Use macro-int-constant.  Specify type.
53313         (SCHAR_MAX): Likewise.
53314         (UCHAR_MAX): Likewise.
53315         (CHAR_MIN): Likewise.
53316         (CHAR_MAX): Likewise.
53317         (MB_LEN_MAX): Use macro-int-constant.
53318         (SHRT_MIN): Use macro-int-constant.  Specify type.
53319         (SHRT_MAX): Likewise.
53320         (USHRT_MAX): Likewise.
53321         (INT_MAX): Likewise.
53322         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
53323         bound negative.
53324         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
53325         bound with "U".
53326         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
53327         bound with "L".
53328         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
53329         bound negative.  Suffix upper bound with "L".
53330         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
53331         bound with "UL".
53332         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
53333         Specify type.
53334         [C99-based standards] (LLONG_MAX): Likewise.
53335         [C99-based standards] (ULLONG_MAX): Likewise.
53336         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
53337         == 0.
53338         [ISO11] (max_align_t): Require type.
53339         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53341         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
53342         from $CFLAGS, without defining away __attribute__ calls.
53343         (checknamespace): Use $CFLAGS_namespace.
53345         * conform/conformtest.pl (@keywords): Only include C99 keywords
53346         for standards based on C99 or C11.
53348         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
53349         Disable tests.
53350         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
53351         UNIX98]: Likewise.
53353         * conform/conformtest.pl: Handle "macro-int-constant" and test for
53354         usability of symbols in #if.
53356         * conform/conformtest.pl: If macro or constant types start
53357         "promoted:", expect the symbol to be of the following type
53358         promoted by the integer promotions.
53360         * conform/conformtest.pl: Parse all "constant" and "macro" lines
53361         in one place.  Also handle "macro-constant".
53363         * conform/conformtest.pl: Only accept expected macro values with
53364         "==".  Parse all "macro" lines in one place.
53365         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
53367         * conform/conformtest.pl: Handle braced types on "constant" lines
53368         instead of handling "typed-constant".
53369         * conform/data/signal.h-data: Use "constant" instead of
53370         "typed-constant".
53372         * conform/conformtest.pl: Handle "optional-" at start of lines in
53373         one place rather than duplicating several cases.  Handle each
53374         format of "macro" line with initial "optional-".
53376         * conform/conformtest.pl: Only accept expected constant or
53377         optional-constant values with "==".  Parse all "constant" lines in
53378         one place.  Parse all "optional-constant" lines in one place.
53379         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
53380         * conform/data/fmtmsg.h-data: Likewise.
53381         * conform/data/netinet/in.h-data: Likewise.
53382         * conform/data/tar.h-data: Likewise.
53383         * conform/data/limits.h-data: Use "==" form on "constant" and
53384         "optional-constant" lines.
53386         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
53387         Use -std=c99 for XOPEN2K.
53388         (@knownproblems): Remove.
53389         (newtoken): Don't check %isknown.
53391         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
53392         Do not expect macro.
53393         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
53394         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
53395         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
53396         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
53397         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
53398         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
53399         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
53400         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
53401         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
53402         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
53403         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
53404         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
53405         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
53406         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
53407         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
53408         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
53409         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
53410         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
53411         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
53412         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
53413         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
53414         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
53415         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
53416         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
53417         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
53418         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
53419         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
53420         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
53421         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
53422         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
53423         [XPG3] (acosh): Likewise.
53424         [XPG3] (asinh): Likewise.
53425         [XPG3] (atanh): Likewise.
53426         [XPG3] (cbrt): Likewise.
53427         [XPG3] (expm1): Likewise.
53428         [XPG3] (ilogb): Likewise.
53429         [XPG3] (log1p): Likewise.
53430         [XPG3] (logb): Likewise.
53431         [XPG3] (nextafter): Likewise.
53432         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
53433         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
53434         [XPG3] (remainder): Likewise.
53435         [XPG3] (rint): Likewise.
53436         [XPG3 || XPG4 || UNIX98] (round): Likewise.
53437         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
53438         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
53439         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
53440         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
53441         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
53442         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
53443         [UNIX98 || XOPEN2K] (scalb): Expect.
53444         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
53445         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
53446         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
53447         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
53448         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
53449         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
53450         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
53451         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
53452         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
53453         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
53454         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
53455         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
53456         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
53457         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
53458         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
53459         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
53460         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
53461         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
53462         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
53463         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
53464         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
53465         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
53466         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
53467         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
53468         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
53469         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
53470         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
53471         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
53472         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
53473         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
53474         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
53475         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
53476         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
53477         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
53478         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
53479         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
53480         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
53481         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
53482         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
53483         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
53484         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
53485         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
53486         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
53487         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
53488         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
53489         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
53490         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
53491         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
53492         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
53493         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
53494         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
53495         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
53496         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
53497         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
53498         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
53499         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
53500         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
53501         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
53502         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
53503         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
53504         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
53505         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
53506         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
53507         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
53508         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
53509         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
53510         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
53511         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
53512         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
53513         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
53514         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
53515         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
53516         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
53517         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
53518         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
53519         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
53520         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
53521         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
53522         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
53523         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
53524         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
53525         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
53526         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
53527         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
53528         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
53529         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
53530         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
53531         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
53532         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
53533         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
53534         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
53535         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
53536         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
53537         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
53538         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
53539         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
53540         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
53541         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
53542         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
53543         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
53544         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
53545         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
53546         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
53547         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
53548         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
53549         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
53550         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
53551         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
53552         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
53553         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
53554         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
53555         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
53556         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
53557         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
53558         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
53559         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
53560         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
53561         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
53562         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
53563         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
53564         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
53565         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
53566         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
53567         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
53568         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
53569         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
53570         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
53571         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
53572         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
53573         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
53574         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
53575         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
53576         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
53577         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
53578         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
53579         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
53580         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
53582         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
53583         _XOPEN_SOURCE_EXTENDED for XPG4.
53585         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
53587         * Makeconfig (localtime): Remove variable.
53588         (inst_localtime-file): Likewise.
53590 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
53592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
53593         Update.
53594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53595         Update.
53596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
53597         Update.
53598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53599         Update.
53600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
53601         Update.
53602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
53603         Update.
53604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53605         Update.
53606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
53607         Update.
53608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53609         Update.
53611 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
53613         [BZ #2550]
53614         [BZ #2570]
53615         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
53616         comparisons to determine direction to adjust input.
53617         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
53618         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
53619         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
53620         Likewise.
53621         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
53622         Likewise.
53623         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
53624         Likewise.
53625         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
53626         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
53627         Likewise.
53628         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
53629         Likewise.
53630         * math/libm-test.inc (nexttoward_test): Add more tests.
53632 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
53634         [BZ #14040]
53635         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
53636         in version GLIBC_2.1, not GLIBC_2.0.
53637         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
53638         Likewise.
53640 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
53642         [BZ #13942]
53643         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
53644         (1 - x) * (1 + x).
53645         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53646         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
53647         * math/libm-test.inc (acos_test): Add more tests.
53648         (asin_test): Likewise.
53649         * sysdeps/i386/fpu/libm-test-ulps: Update.
53650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53652         [BZ #14034]
53653         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
53654         of square root.
53655         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
53656         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53657         * math/libm-test.inc (acos_test_tonearest): New function.
53658         (acos_test_towardzero): Likewise.
53659         (acos_test_downward): Likewise.
53660         (acos_test_upward): Likewise.
53661         (asin_test_tonearest): Likewise.
53662         (asin_test_towardzero): Likewise.
53663         (asin_test_downward): Likewise.
53664         (asin_test_upward): Likewise.
53665         (main): Call the new functions.
53666         * sysdeps/i386/fpu/libm-test-ulps: Update.
53667         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53669         [BZ #13884]
53670         [BZ #13924]
53671         * math/e_exp10.c: Include <float.h>.
53672         (__ieee754_exp10): Handle underflow here rather than multiplying
53673         large negative argument by M_LN10.
53674         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
53675         of __ieee754_expf.
53676         * math/e_exp10l.c: Include <float.h>.
53677         (__ieee754_exp10l): Handle underflow here rather than multiplying
53678         large negative argument by M_LN10l.
53679         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
53680         spurious overflow exception on underflow.
53682 2012-04-29  Marek Polacek  <polacek@redhat.com>
53684         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
53685         (__fortify_function): New macro.
53686         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
53687         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
53688         __extern_always_inline.
53689         * libio/bits/stdio2.h: Likewise.
53690         * libio/bits/stdio.h: Likewise.
53691         * string/string.h: Likewise.
53692         * string/bits/string3.h: Likewise.
53693         * include/stdio.h: Likewise.
53694         * stdlib/bits/stdlib.h: Likewise.
53695         * stdlib/stdlib.h: Likewise.
53696         * rt/bits/mqueue2.h: Likewise.
53697         * rt/mqueue.h: Likewise.
53698         * posix/bits/unistd.h: Likewise.
53699         * posix/unistd.h: Likewise.
53700         * io/bits/poll2.h: Likewise.
53701         * io/bits/fcntl2.h: Likewise.
53702         * io/fcntl.h: Likewise.
53703         * io/sys/poll.h: Likewise.
53704         * misc/bits/syslog.h: Likewise.
53705         * misc/bits/syslog-ldbl.h: Likewise.
53706         * misc/sys/syslog.h: Likewise.
53707         * socket/bits/socket2.h: Likewise.
53708         * socket/sys/socket.h: Likewise.
53709         * debug/tst-chk1.c: Likewise.
53710         * wcsmbs/bits/wchar2.h: Likewise.
53711         * wcsmbs/bits/wchar-ldbl.h: Likewise.
53712         * wcsmbs/wchar.h: Likewise.
53714 2012-04-29  Andreas Jaeger  <aj@suse.de>
53716         * Makerules (tests): Remove enable-check-abi protection.
53717         (check-abi-warn): Remove.
53718         (check-abi-%): Remove check-abi-warn usage.
53720         * configure.in: Remove check-abi configure option.
53721         * configure: Regenerated.
53722         * config.make.in (enable-check-abi): Remove.
53724 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
53726         [BZ #14033]
53727         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
53728         double functions to double *_finite functions.
53730         [BZ #13941]
53731         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
53732         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
53733         LDBL_MIN_EXP.
53734         * stdio-common/Makefile (tests): Add tst-sprintf3.
53735         * stdio-common/tst-sprintf3.c: New file.
53737         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
53738         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
53740 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
53742         * conform/conformtest.pl: Remove duplicate typed-constant
53743         handling.
53745 2012-04-28  David S. Miller  <davem@davemloft.net>
53747         * Makerules (%.abilist): Add vpath on sysdep_dirs.
53748         (check-abi-%): Remove AWK script prerequisite and explicit
53749         abilist directory.
53750         (check-abi): Rewrite to just diff the symlist with the abilist.
53751         (config-tls, config-abi-config): Delete, no longer used.
53752         (update-abi-%): Remove AWK script and explicit abilist directory.
53753         (update-abi): Rewrite to simply compare and conditionally copy the
53754         symlist and the sysdep abilist file.  Remove update-abi-config
53755         checks.
53756         * abilist/ld.abilist: Remove.
53757         * abilist/libBrokenLocale.abilist: Remove.
53758         * abilist/libanl.abilist: Remove.
53759         * abilist/libcrypt.abilist: Remove.
53760         * abilist/libdl.abilist: Remove.
53761         * abilist/librt.abilist: Remove.
53762         * abilist/libthread_db.abilist: Remove.
53763         * abilist/libutil.abilist: Remove.
53764         * scripts/extract-abilist.awk: Remove.
53765         * scripts/merge-abilist.awk: Remove.
53766         * sysdeps/generic/libcidn.abilist: New file.
53767         * sysdeps/generic/libnss_compat.abilist: New file.
53768         * sysdeps/generic/libnss_db.abilist: New file.
53769         * sysdeps/generic/libnss_dns.abilist: New file.
53770         * sysdeps/generic/libnss_files.abilist: New file.
53771         * sysdeps/generic/libnss_hesiod.abilist: New file.
53772         * sysdeps/generic/libnss_nis.abilist: New file.
53773         * sysdeps/generic/libnss_nisplus.abilist: New file.
53774         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
53775         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
53776         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
53777         file.
53778         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
53779         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
53780         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
53781         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
53782         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
53783         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
53784         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
53785         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
53786         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
53787         file.
53788         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
53789         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
53790         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
53791         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
53792         file.
53793         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
53794         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
53795         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
53796         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
53797         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
53798         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
53799         file.
53800         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
53801         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
53802         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
53803         file.
53804         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
53805         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
53806         New file.
53807         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
53808         New file.
53809         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
53810         New file.
53811         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
53812         New file.
53813         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
53814         New file.
53815         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
53816         New file.
53817         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
53818         New file.
53819         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
53820         New file.
53821         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
53822         New file.
53823         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
53824         New file.
53825         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
53826         New file.
53827         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
53828         New file.
53829         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
53830         New file.
53831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
53832         file.
53833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
53834         New file.
53835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
53836         New file.
53837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
53838         file.
53839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
53840         New file.
53841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
53842         New file.
53843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
53844         file.
53845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
53846         New file.
53847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53848         New file.
53849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
53850         New file.
53851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
53852         New file.
53853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
53854         New file.
53855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
53856         New file.
53857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
53858         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
53859         file.
53860         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
53861         New file.
53862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
53863         file.
53864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
53865         file.
53866         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
53867         file.
53868         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
53869         file.
53870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
53871         file.
53872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53873         New file.
53874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
53875         file.
53876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
53877         file.
53878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
53879         New file.
53880         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
53881         file.
53882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
53883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
53884         file.
53885         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
53886         New file.
53887         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
53888         file.
53889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
53890         file.
53891         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
53892         file.
53893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
53894         file.
53895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
53896         file.
53897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53898         New file.
53899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
53900         file.
53901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
53902         file.
53903         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
53904         New file.
53905         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
53906         file.
53907         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53908         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
53909         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
53910         file.
53911         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
53912         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
53913         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
53914         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
53915         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
53916         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
53917         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
53918         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
53919         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
53920         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
53921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
53922         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
53923         file.
53924         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
53925         New file.
53926         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
53927         file.
53928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
53929         file.
53930         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
53931         file.
53932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
53933         file.
53934         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
53935         file.
53936         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53937         New file.
53938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
53939         New file.
53940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
53941         file.
53942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
53943         New file.
53944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
53945         file.
53946         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
53947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
53948         file.
53949         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
53950         New file.
53951         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
53952         file.
53953         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
53954         file.
53955         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
53956         file.
53957         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
53958         file.
53959         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
53960         file.
53961         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53962         New file.
53963         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
53964         New file.
53965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
53966         file.
53967         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
53968         New file.
53969         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
53970         file.
53972 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
53974         * conform/conformtest.pl: Fix typo in handling typed-constant from
53975         allow-header.
53977 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
53979         * README: Cut down references to pre-2.6 Linux kernels and
53980         Linuxthreads.  Update lists of configurations in libc and ports
53981         and sort alphabetically.  Say "or newer" with Linux kernel version
53982         requirements.
53984         * config.h.in [IS_IN_build]: Allow compiling without optimization.
53986 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53988         [BZ #887]
53989         * math/libm-test.inc (logb_test_downward): New test to expose
53990         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
53991         rounding mode.
53993 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
53995         [BZ #14027]
53996         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
53997         to be done.
53998         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
53999         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
54001 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
54003         * sysdeps/unix/i386/brk.S: Remove file.
54004         * sysdeps/unix/i386/dl-brk.S: Likewise.
54005         * sysdeps/unix/i386/pipe.S: Likewise.
54006         * sysdeps/unix/i386/sigreturn.S: Likewise.
54007         * sysdeps/unix/i386/syscall.S: Likewise.
54008         * sysdeps/unix/i386/vfork.S: Likewise.
54009         * sysdeps/unix/i386/wait.S: Likewise.
54011         * sysdeps/unix/common/tcsendbrk.c: Move to ...
54012         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
54014         * configure.in (arm*-none*): Do not allow without
54015         --enable-hacker-mode.
54016         (netbsd*): Remove case setting base_os.
54017         (386bsd*): Likewise.
54018         (freebsd*): Likewise.
54019         (bsdi*): Likewise.
54020         (osf*): Likewise.
54021         (sunos*): Likewise.
54022         (ultrix*): Likewise.
54023         (newsos*): Likewise.
54024         (dynix*): Likewise.
54025         (*bsd*): Likewise.
54026         (sysv*): Likewise.
54027         (isc*): Likewise.
54028         (esix*): Likewise.
54029         (sco*): Likewise.
54030         (minix*): Likewise.
54031         (irix4*): Likewise.
54032         (irix6*): Likewise.
54033         (solaris[2-9]*): Likewise.
54034         (none): Likewise.
54035         * configure: Regenerated.
54037 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54039         [BZ #11521]
54040         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
54041         overflow or cancellation in calculating denominator.
54042         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
54043         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
54044         down expression to avoid unexpected rounding in newer GCCs.
54045         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
54047 2012-04-26  David S. Miller  <davem@davemloft.net>
54049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
54050         long-double compat symbols.
54051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
54055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
54057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
54058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
54059         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
54060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
54061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
54062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
54063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54065 2012-04-25  David S. Miller  <davem@davemloft.net>
54067         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
54068         HWCAP_* values only after the memory barriers have been defined.
54069         (atomic_full_barrier): Define.
54070         (atomic_read_barrier): Define.
54071         (atomic_write_barrier): Define.
54073 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54075         * shlib-versions: Add libgcc_s version information.
54076         * sysdeps/generic/libgcc_s.h: Remove.
54077         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
54078         libgcc_s.h.
54079         * sysdeps/gnu/unwind-resume.c: Likewise.
54080         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
54082 2012-04-25  David S. Miller  <davem@davemloft.net>
54084         * sysdeps/unix/sparc/brk.S: Delete.
54085         * sysdeps/unix/sparc/dl-brk.S: Delete.
54086         * sysdeps/unix/sparc/pipe.S: Delete.
54087         * sysdeps/unix/sparc/sysdep.S: Delete.
54088         * sysdeps/unix/sparc/sysdep.h: Delete.
54089         * sysdeps/unix/sparc/vfork.S: Delete.
54090         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
54091         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
54092         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
54093         (ret_ERRVAL, r0, r1, MOVE): Define.
54094         (JUMPTARGET): Remove.
54095         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
54096         sysdeps/unix/sparc/sysdep.h
54097         (ENTRY, END): Remove.
54098         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54100 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
54102         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
54103         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
54104         -DIS_IN_build.
54106         * timezone/README: Update upstream location and email address for
54107         tzcode and tzdata.
54108         * timezone/zdump.c: Update from tzcode 2012b.
54109         * timezone/zic.c: Likewise.
54111         * configure.in (libc_cv_as_needed): Remove test.
54112         * configure: Regenerated.
54113         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
54114         conditional definition.
54115         [$(have-as-needed) != yes] (no-as-needed): Likewise.
54116         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
54117         * config.make.in (have-as-needed): Remove variable.
54119 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54120             Paul Pluzhnikov  <ppluzhnikov@google.com>
54122         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
54123         strings correctly.
54125 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
54127         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
54128         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
54129         * sysdeps/sh/strlen.S: Likewise.
54131 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
54133         * sysdeps/unix/fork.S: Remove file.
54134         * sysdeps/unix/i386/fork.S: Likewise.
54135         * sysdeps/unix/sparc/fork.S: Likewise.
54137         * sysdeps/unix/system.c: Remove file.
54138         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
54140         * sysdeps/unix/getegid.S: Remove file.
54141         * sysdeps/unix/geteuid.S: Likewise.
54143 2012-04-24  Roland McGrath  <roland@hack.frob.com>
54145         * scripts/check-localplt.awk: New file.
54146         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
54147         of diff.
54148         * scripts/data/localplt-generic.data: Add a comment.
54150         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
54151         NODE when __dir_mkfile failed.
54152         * sysdeps/mach/hurd/symlinkat.c: Likewise.
54153         Reported by Ludovic Courtès <ludo@gnu.org>.
54155 2012-04-24  Andreas Jaeger  <aj@suse.de>
54157         * Makerules (common-clean): Also remove gen-as-const-headers
54158         files.
54160 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
54162         * Makerules (native-compile): Do not change working directory for
54163         build.  Use $(OUTPUT_OPTION) in command.
54164         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
54166 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54168         [BZ #13886]
54169         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
54170         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
54171         * math/libm-test.inc (floor_test): Add more tests.
54172         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
54174 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
54176         * sysdeps/unix/getdents.c: Remove file.
54177         * sysdeps/unix/sysv/getdents.c: Likewise.
54178         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
54180         * sysdeps/unix/syscalls.list (madvise): Add syscall from
54181         sysdeps/unix/mman/syscalls.list.
54182         (mmap): Likewise.
54183         (mprotect): Likewise.
54184         (msync): Likewise.
54185         (munmap): Likewise.
54186         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
54187         * sysdeps/unix/mman/syscalls.list: Remove.
54188         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
54190         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
54191         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
54192         * configure: Regenerated.
54193         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
54194         $(libgcc_s_suffix).
54195         * config.make.in (libgcc_s_suffix): Remove variable.
54197 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
54199         * sysdeps/unix/sysv/gethostname.c: Move to ...
54200         * sysdeps/posix/gethostname.c: ... here.
54202         * sysdeps/unix/execve.S: Remove file.
54204         * sysdeps/unix/_exit.S: Remove file.
54206 2012-04-23  Andreas Jaeger  <aj@suse.de>
54208         [BZ #13739]
54209         * manual/Makefile: Remove make dist support, there's no
54210         need for a stand-alone documentation tar ball.
54211         (TEXI2DVI): Define always, it's not in Makeconfig.
54212         (dist): Removed.
54213         (tar-it): Removed.
54214         (edition): Removed.
54215         (glibc-doc-$(edition).tar): Removed
54216         (%.Z): Removed.
54217         (%.gz): Removed.
54218         (%.uu): Removed.
54219         (ETAGS): Remove, it's in Makeconfig.
54220         (move-if-change): Remove, it's in Makeconfig.
54222 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
54224         [BZ #13970]
54225         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
54226         (strtod, strtof, strtold, strtol, strtoul, strtoq)
54227         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
54228         (strtod_l, strtof_l, strtold_l): Remove __wur.
54229         It is not necessarily an error to ignore strtol's return value.
54230         One can reliably look at the stored endptr to decide whether
54231         the number had valid syntax.
54233 2012-04-21  Andreas Jaeger  <aj@suse.de>
54235         [BZ #13739]
54236         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
54238 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
54240         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
54241         * sysdeps/unix/sysv/Versions: Remove file.
54243 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
54245         [BZ #13927]
54246         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54248 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
54250         [BZ #7064]
54251         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
54252         version from __vm86.
54254 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
54256         * sysdeps/unix/common/lxstat.c: Remove file.
54257         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
54259         * sysdeps/unix/sysv/Makefile: Remove file.
54261         * sysdeps/unix/sysv/direct.h: Remove file.
54263         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
54264         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
54265         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
54266         * sysdeps/unix/sysv/bits/signum.h: Likewise.
54267         * sysdeps/unix/sysv/bits/stat.h: Likewise.
54268         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
54269         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
54271         * sysdeps/unix/sysv/setrlimit.c: Remove file.
54273         * sysdeps/unix/xmknod.c: Remove file.
54274         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
54276         * sysdeps/unix/sysv/settimeofday.c: Remove file.
54278         * sysdeps/unix/sysv/i386/time.S: Remove file.
54280         * sysdeps/unix/fxstat.c: Remove file.
54281         * sysdeps/unix/xstat.c: Likewise.
54282         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
54284         * sysdeps/unix/sysv/sigaction.c: Remove file.
54286         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
54287         (sysdep_headers): Remove variable.
54288         [termio.h not in sysdep_headers] (generated): Likewise.
54289         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
54290         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
54291         * sysdeps/unix/sysv/tcdrain.c: Likewise.
54292         * sysdeps/unix/sysv/tcflow.c: Likewise.
54293         * sysdeps/unix/sysv/tcflush.c: Likewise.
54294         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
54295         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
54296         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
54297         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
54298         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
54300         * sysdeps/unix/siglist.c: Remove file.
54302         * sysdeps/unix/getppid.S: Remove file.
54304         * sysdeps/unix/mkdir.c: Remove file.
54305         * sysdeps/unix/rmdir.c: Likewise.
54307 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
54309         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
54310         ERR_MAX value.
54311         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
54312         errlist-compat value.
54314 2012-04-18  David S. Miller  <davem@davemloft.net>
54316         * sysdeps/generic/memcopy.h (reg_char): Delete.
54317         * debug/strcat_chk.c: Use char, not reg_char.
54318         * debug/strcpy_chk.c: Likewise.
54319         * debug/strncat_chk.c: Likewise.
54320         * debug/strncpy_chk.c: Likewise.
54321         * string/memchr.c: Likewise.
54322         * string/memrchr.c: Likewise.
54323         * string/rawmemchr.c: Likewise.
54324         * string/strcat.c: Likewise.
54325         * string/strchr.c: Likewise.
54326         * string/strchrnul.c: Likewise.
54327         * string/strcmp.c: Likewise.
54328         * string/strcpy.c: Likewise.
54329         * string/strncat.c: Likewise.
54330         * string/strncmp.c: Likewise.
54331         * string/strncpy.c: Likewise.
54333 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
54335         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
54336         __builtin_memcopy is called when src and dest ranges are known to not
54337         overlap.
54339 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
54341         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
54342         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
54343         fwd_align_merge macro call.
54344         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
54345         bwd_align_merge macro call.
54346         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54348 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
54350         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
54351         bwd_align_merge macros.
54352         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
54353         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
54354         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54356 2012-04-18  David S. Miller  <davem@davemloft.net>
54358         * sysdeps/sparc/sparc64/memcopy.h: Delete.
54360 2012-04-18  Andreas Jaeger  <aj@suse.de>
54362         [BZ# 6794]
54363         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
54364         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
54365         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54367         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
54368         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
54369         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54371         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
54372         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
54373         Adjust for changed ldbl-128 files.
54375         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
54376         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
54377         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54379 2012-04-17  David S. Miller  <davem@davemloft.net>
54381         * sysdeps/sparc/sparc32/memcopy.h: Delete.
54383 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
54385         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
54386         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
54387         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
54388         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
54389         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54390         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
54392 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54394         [BZ #6794]
54395         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
54396         * math/libm-test.inc: Add ilogb errno and exception tests.
54397         * math/w_ilogb.c: New file: ilogb wrapper.
54398         * math/w_ilogbf.c: New file: ilogbf wrapper.
54399         * math/w_ilogbl.c: New file: ilogbl wrapper.
54400         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
54401         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
54402         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
54403         exception being thrown with 0.0 as argument.
54404         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
54405         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
54406         exception being thrown with 0.0 as argument.
54407         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
54408         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54409         exception being thrown with 0.0 as argument.
54410         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
54411         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54412         exception being thrown with 0.0 as argument.
54413         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
54414         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
54415         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
54416         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
54417         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
54418         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
54419         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
54420         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
54421         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
54423 2012-04-17  Petr Baudis  <pasky@ucw.cz>
54425         * include/sys/uio.h: Change __vector to __iovec to avoid clash
54426         with altivec.
54428 2012-04-16  Marek Polacek  <polacek@redhat.com>
54430         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
54432 2012-04-16  Marek Polacek  <polacek@redhat.com>
54434         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
54435         operands of fdivp instruction.
54437 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
54439         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
54440         * elf/tst-auditmod3b.c: Likewise.
54441         * elf/tst-auditmod4b.c: Likewise.
54442         * elf/tst-auditmod5b.c: Likewise.
54443         * elf/tst-auditmod6b.c: Likewise.
54444         * elf/tst-auditmod6c.c: Likewise.
54445         * elf/tst-auditmod7b.c: Likewise.
54446         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
54447         * sysdeps/x86_64/preconfigure.in: Likewise.
54448         * sysdeps/x86_64/preconfigure: Regenerated.
54450 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
54452         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
54453         __ILP32__.
54455 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
54457         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54458         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
54460 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
54462         [BZ #13973]
54463         * locale/iso-639.def: Fix gl language name. Spotted by
54464         Yaron Shahrabani.
54466 2012-04-12  Roland McGrath  <roland@hack.frob.com>
54468         [BZ #2074]
54469         * libio/libio.h (__io_write_fn): Update comment.
54471 2012-04-12  Petr Baudis  <pasky@ucw.cz>
54473         [BZ #2074]
54474         * stdio.texi (Hook Functions): The user provided writer function
54475         is not allowed to return -1.
54477 2012-04-11  David S. Miller  <davem@davemloft.net>
54479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54481 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
54483         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
54484         Add a leading slash to rtkaio.
54486 2012-04-11  Jim Meyering  <meyering@redhat.com>
54488         [BZ #11959]
54489         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
54490         It is not necessarily an error to ignore fwrite's return
54491         value.  One can reliably use ferror to test for errors after
54492         the fact.
54494 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
54496         * bits/types.h (__snseconds_t): New type.
54497         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
54499         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
54500         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54501         (__SNSECONDS_T_TYPE): Likewise.
54502         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54503         (__SNSECONDS_T_TYPE): Likewise.
54504         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54505         (__SNSECONDS_T_TYPE): Likewise.
54507 2012-04-10  Andreas Jaeger  <aj@suse.de>
54509         [BZ #2636]
54510         * manual/time.texi (Processor Time): Return type of times is
54511         elapsed real time since an arbitrary point in the past.
54512         (CPU Time): Move CLK_TCK from here...
54513         (Processor Time): ...to here.  Correct description.
54514         * manual/conf.texi (Constants for Sysconf): Correct description of
54515         _SC_CLK_TCK.
54517 2012-04-10  David S. Miller  <davem@davemloft.net>
54519         [BZ #13967]
54520         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
54521         where the is a gap between DT_REL(A) and DT_JMPREL.
54523 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
54525         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
54526         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54527         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54529 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54531         * elf/dl-support.c (_dl_inhibit_cache): New variable.
54532         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
54533         (dl_main): Handle --inhibit-cache.
54534         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
54535         _dl_inhibit_cache.
54536         * elf/dl-load.c (_dl_map_object): Use it.
54537         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
54539 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
54541         [BZ #13872]
54542         * sysdeps/i386/fpu/e_powl.S (p78): New object.
54543         (__ieee754_powl): Saturate large exponents rather than testing for
54544         overflow of y*log2(x).
54545         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54546         * math/libm-test.inc (pow_test): Do not permit spurious overflow
54547         exceptions.
54549         [BZ #11521]
54550         * math/s_ctan.c: Include <float.h>.
54551         (__ctan): Avoid internal overflow or cancellation in calculating
54552         denominator.
54553         * math/s_ctanf.c: Likewise.
54554         * math/s_ctanl.c: Likewise.
54555         * math/s_ctanh.c: Likewise.
54556         * math/s_ctanhf.c: Likewise.
54557         * math/s_ctanhl.c: Likewise.
54558         * math/libm-test.inc (ctan_test): Add more tests.
54559         (ctanh_test): Likewise.
54560         * sysdeps/i386/fpu/libm-test-ulps: Update.
54561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54563 2012-04-09  Andreas Jaeger  <aj@suse.de>
54565         [BZ #6894]
54566         * manual/filesys.texi (Directory Entries): Mention that d_namlen
54567         is an optional BSD extension.
54569         [BZ #10254]
54570         * manual/stdio.texi (Opening Streams): Document additional fopen
54571         parameters.
54573 2012-04-09  Roland McGrath  <roland@hack.frob.com>
54575         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
54576         %eax without telling the compiler.
54578 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
54580         [BZ # 13963]
54581         * manual/install.texi: Use sourceware.org.
54583 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
54585         [BZ #13873]
54586         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
54587         (__ieee754_pow): Generate overflow and underflow using huge*huge
54588         and tiny*tiny rather than just returning constant infinity or zero
54589         for large exponents.
54590         * math/libm-test.inc (pow_test): Require overflow exceptions for
54591         applicable cases of large exponents.
54593         [BZ #706]
54594         * sysdeps/i386/fpu/e_pow.S (p10): New object.
54595         (__ieee754_pow): Use iterative multiplication algorithm only for
54596         integer exponents with absolute value below 1024.  Check for odd
54597         integer exponents when using algorithm for real exponents.
54598         * math/libm-test.inc (pow_test): Add more tests.
54599         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54601 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
54603         [BZ #13705]
54604         * math/libm-test.inc (exp_test): Do not allow overflow exception
54605         on underflow test.
54607 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
54609         [BZ #13705]
54610         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
54611         instead of __kernel_standard_f.
54613 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
54615         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
54616         * sysdeps/x86_64/memset_chk.S: Likewise.
54618 2012-04-08  Andreas Jaeger  <aj@suse.de>
54620         [BZ #10153]
54621         * manual/startup.texi (Environment Access): Describe return value
54622         for putenv and setenv.
54624         [BZ #6895]
54625         * manual/filesys.texi (Directory Entries): Add description for
54626         DT_LNK.
54628         [BZ #6890]
54629         * manual/filesys.texi (Directory Entries): Clarify that it's file
54630         system not operating system in the description of DT_UNKNOWN.
54632         [BZ #6578]
54633         * manual/syslog.texi (closelog): Fix reference, it's openlog.
54635 2012-04-08  Stephen Compall  <s11@member.fsf.org>
54637         [BZ #6649]
54638         * manual/llio.texi (Opening and Closing Files): Add cross
54639         reference to explain mode argument.
54641 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
54643         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
54644         * sysdeps/x86_64/memset_chk.S: Likewise.
54646 2012-04-07  David S. Miller  <davem@davemloft.net>
54648         * elf/elf.h (R_SPARC_WDISP10): Define.
54649         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
54650         R_SPARC_SIZE32.
54651         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
54652         R_SPARC_SIZE64 and R_SPARC_H34.
54654 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
54656         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
54657         conditions and remove no longer applicable assertion.
54659 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
54661         * bits/byteswap.h: Include <features.h>.
54662         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54663         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54665 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
54667         * bits/byteswap.h (__bswap_16): Removed.
54668         Include <bits/byteswap-16.h> to get __bswap_16.
54669         * sysdeps/i386/bits/byteswap.h: Likewise.
54670         * sysdeps/s390/bits/byteswap.h: Likewise.
54671         * sysdeps/x86_64/bits/byteswap.h: Likewise.
54672         * bits/byteswap-16.h: New file.
54673         * sysdeps/i386/bits/byteswap-16.h: Likewise.
54674         * sysdeps/s390/bits/byteswap-16.h: Likewise.
54675         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
54676         * string/Makefile (headers): Add bits/byteswap-16.h.
54678 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54680         [BZ #13895]
54681         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
54682         extra indirection.
54683         * nss/Makefile (tests-static, tests): Add tst-nss-static.
54684         * nss/tst-nss-static.c: New.
54686 2012-04-06  Robert Millan  <rmh@gnu.org>
54688         [BZ #6486]
54689         * manual/llio.texi (File Position Primitive): lseek
54690         refers to WHENCE when it really means OFFSET.
54692 2012-04-06  Andreas Jaeger  <aj@suse.de>
54694         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
54695         strncmp declarations.
54697         * abilist/libc.abilist: Add __poll and __ppoll.
54699 2012-04-05  David S. Miller  <davem@davemloft.net>
54701         * scripts/check-local-headers.sh: Accept a host triplet in the
54702         path matched by the exclude regexp.
54704         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
54705         definition.
54706         * sysdeps/powerpc/powerpc32/dl-machine.h
54707         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
54708         * sysdeps/s390/s390-32/dl-machine.h
54709         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54710         * sysdeps/sparc/sparc32/dl-machine.h
54711         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54712         * sysdeps/sparc/sparc64/dl-machine.h
54713         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54715         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
54716         lazy binding.
54717         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
54718         undefined symbol errors.
54720         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
54721         DT_NEEDED entries.
54723 2012-04-05  Michael Matz  <matz@suse.de>
54725         [BZ #13592]
54726         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
54728 2012-04-05  Andreas Jaeger  <aj@suse.de>
54730         [BZ #13908]
54731         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
54732         comment.
54734 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54736         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
54737         which ROUND is no valid rounding mode.
54739 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54741         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
54742         read again.
54743         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
54745 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54747         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
54748         an exception using FPU order intentionally.
54750 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54752         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
54753         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
54754         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
54755         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
54757 2012-04-05  Simon Josefsson  <simon@josefsson.org>
54759         [BZ #12340]
54760         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
54761         EINVAL when BUFLEN is too smal.
54763 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
54765         [BZ #13553]
54766         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
54767         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
54769 2012-04-03  Andreas Jaeger  <aj@suse.de>
54771         [BZ #13938]
54772         * manual/setjmp.texi (System V contexts): Fix sentence.
54774         [BZ #13926]
54775         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
54776         New macro for this case.
54777         [!__GNUC__] (__bswap_64): New inline function for this case.
54778         * sysdeps/x86_64/bits/byteswap.h: Likewise.
54779         * bits/byteswap.h: Likewise.
54780         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
54781         ull, guard with __GLIBC_HAVE_LONG_LONG.
54783         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
54784         __GLIBC_HAVE_LONG_LONG.
54786         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
54787         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
54789 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54791         [BZ #13691]
54792         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
54793         inptr and inend, rather than using last_ch.
54795 2012-04-02  David S. Miller  <davem@davemloft.net>
54797         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
54798         * stdio-common/printf-parse.h (read_int): Change return type to
54799         'int', return -1 on INT_MAX overflow.
54800         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
54801         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
54802         overflows INT_MAX.  Check for overflow of in-format-string precision
54803         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
54804         SIZE_MAX not INT_MAX for integer overflow test.
54805         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
54806         skip the construct in the format string but do not record anything.
54807         * stdio-common/bug22.c: Adjust to test both width/prevision
54808         INT_MAX overflow as well as total length INT_MAX overflow.  Check
54809         explicitly for proper errno values.
54811 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
54813         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
54814         CHAR_MAX.
54815         * string/test-strcmp.c [! WIDE]: Likewise.
54816         * time/tst-mktime2.c: Likewise for INT_MAX.
54817         * string/test-string.h: #include <sys/param.h> for MIN.
54819         * csu/init-first.c (__libc_init_first): Call __ctype_init.
54820         * sysdeps/i386/init-first.c (init): Likewise.
54821         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
54822         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
54823         * sysdeps/sh/init-first.c (init): Likewise.
54825 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
54827         * po/ru.po: Update from translation team.
54828         * po/vi.po: Likewise.
54830 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
54832         * resolv/nss_dns/dns-host.c: Merge copyright years.
54834 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54836         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54837         Optimize memcpy with prefetch if
54838         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
54839         src, dst pointers have unequal 16 byte alignments.
54841 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54843         [BZ #13928]
54844         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
54845         from a CNAME entry and return the minimum ttl for the query.
54846         (gaih_getanswer_slice): Likewise.
54848 2012-03-30  Jeff Law  <law@redhat.com>
54850         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
54851         due to long keys.
54852         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
54853         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
54855         * resolv/nss_dns/dns-host.c: Update copyright year.
54857 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
54859         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
54860         requests to save a system call.  Fix check that all bytes are sent.
54862         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
54863         comments for sendmmsg.
54865 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54867         [BZ #13691]
54868         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
54869         with only 1 character between 0x0041 and 0x01b0.
54870         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
54871         * wcsmbs/tst-mbsnrtowcs.c: New file.
54873 2012-03-29  David S. Miller  <davem@davemloft.net>
54875         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
54876         small copies by hand.
54878 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54880         [BZ #13761]
54881         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
54882         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
54883         group memberships.
54885 2012-03-28  David S. Miller  <davem@davemloft.net>
54887         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
54888         that branches into memcpy.
54889         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54890         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
54891         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54892         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
54893         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
54894         bits.
54895         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
54896         implementation too.
54897         * sysdeps/sparc/mempcpy.S: New file.
54899         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
54900         the IFUNC routine in the libc case.
54901         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54903         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
54904         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
54905         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
54906         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
54907         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
54908         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
54909         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
54910         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
54912         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
54913         loop to 256 bytes instead of 64 bytes and fix test signedness.
54915         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
54916         * sysdeps/sparc/sparc32/Makefile: rather than here...
54917         * sysdeps/sparc/sparc64/Makefile: and here.
54919 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
54921         * malloc/mallocbug.c: Avoid warnings about unused variables.
54923 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
54925         [BZ #13760]
54926         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
54927         in the right place. Discard and retry query if response is
54928         larger than input buffer size.
54930 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
54932         [BZ #369]
54933         [BZ #2678]
54934         [BZ #3866]
54935         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
54936         x for large integer exponent.
54937         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54938         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
54939         sign of result as needed afterwards.
54940         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54941         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
54942         result for underflowing pow the same as for overflow.
54943         (__kernel_standard_l): Handle powl overflow and underflow here
54944         rather than calling __kernel_standard.
54945         * math/libm-test.inc (pow_test): Add more tests.
54947         [BZ #3868]
54948         [BZ #13879]
54949         [BZ #13910]
54950         [BZ #13911]
54951         [BZ #13912]
54952         [BZ #13913]
54953         [BZ #13915]
54954         [BZ #13916]
54955         [BZ #13917]
54956         [BZ #13918]
54957         [BZ #13919]
54958         [BZ #13920]
54959         [BZ #13921]
54960         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
54961         * sysdeps/ieee754/k_standard.c: Include <float.h>.
54962         (__kernel_standard_l): New function.
54963         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
54964         __kernel_standard.
54965         * math/w_acosl.c (__acosl): Likewise.
54966         * math/w_asinl.c (__asinl): Likewise.
54967         * math/w_atan2l.c (__atan2l): Likewise.
54968         * math/w_atanhl.c (__atanhl): Likewise.
54969         * math/w_coshl.c (__coshl): Likewise.
54970         * math/w_exp10l.c (__exp10l): Likewise.
54971         * math/w_exp2l.c (__exp2l): Likewise.
54972         * math/w_fmodl.c (__fmodl): Likewise.
54973         * math/w_hypotl.c (__hypotl): Likewise.
54974         * math/w_j0l.c (__j0l, __y0l): Likewise.
54975         * math/w_j1l.c (__j1l, __y1l): Likewise.
54976         * math/w_jnl.c (__jnl, __ynl): Likewise.
54977         * math/w_lgammal.c (__lgammal): Likewise.
54978         * math/w_log10l.c (__log10l): Likewise.
54979         * math/w_log2l.c (__log2l): Likewise.
54980         * math/w_logl.c (__logl): Likewise.
54981         * math/w_powl.c (__powl): Likewise.
54982         * math/w_remainderl.c (__remainderl): Likewise.
54983         * math/w_scalbl.c (sysv_scalbl): Likewise.
54984         * math/w_sinhl.c (__sinhl): Likewise.
54985         * math/w_sqrtl.c (__sqrtl): Likewise.
54986         * math/w_tgammal.c (__tgammal): Likewise.
54987         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
54988         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
54989         * math/libm-test.inc (acos_test): Add more tests.
54990         (acosh_test): Likewise.
54991         (asin_test): Likewise.
54992         (atanh_test): Likewise.
54993         (exp_test): Likewise.
54994         (exp10_test): Likewise.
54995         (exp2_test): Likewise.
54996         (expm1_test): Likewise.
54997         (lgamma_test): Likewise.
54998         (log_test): Likewise.
54999         (log10_test): Likewise.
55000         (log1p_test): Likewise.
55001         (log2_test): Likewise.
55002         (pow_test): Do not allow some spurious overflow exceptions.
55003         (sqrt_test): Add more tests.
55004         (tgamma_test): Likewise.
55005         (y0_test): Likewise.
55006         (y1_test): Likewise.
55007         (yn_test): Likewise.
55009 2012-03-27  Anton Blanchard  <anton@samba.org>
55011         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
55012         MAP_HUGETLB.
55013         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55014         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55015         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55017 2012-03-27  David S. Miller  <davem@davemloft.net>
55019         * conform/Makefile: Run run-conformtest.sh using $(BASH).
55021         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
55022         have-as-vis3 check.
55024 2012-03-27  Andreas Jaeger  <aj@suse.de>
55026         * sysdeps/x86_64/elf/configure.in: Moved to ...
55027         * sysdeps/x86_64/configure.in: ... here.
55028         * sysdeps/x86_64/elf/start.S: Moved to ...
55029         * sysdeps/x86_64/start.S: ... here.
55030         * sysdeps/x86_64/elf/configure: Delete.
55032         * sysdeps/x86_64/configure.in: Merge contents from
55033         sysdeps/i386/configure.in (without i686 check).
55035         * sysdeps/i386/elf/Versions: Merge into ...
55036         * sysdeps/i386/Versions: ... this.
55037         * sysdeps/i386/elf/Versions: Delete file.
55038         * sysdeps/i386/elf/start.S: Moved to ...
55039         * sysdeps/i386/start.S: ...here.
55040         * sysdeps/i386/elf/configure.in: Merge into...
55041         * sysdeps/i386/configure.in: ...here.
55042         * sysdeps/i386/elf/configure.in: Delete file.
55043         * sysdeps/i386/elf/configure: Delete file.
55045         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
55046         * debug/backtracesyms.c: ... here.
55047         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
55048         * debug/backtracesymsfd.c: ... here.
55049         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
55050         * sysdeps/generic/ifunc-sel.h: ... here.
55052         * sysdeps/unix/i386/start.c: Delete file.
55053         * sysdeps/unix/sparc/start.c: Delete file.
55054         * sysdeps/unix/start.c: Delete file.
55056         * sysdeps/sh/elf/configure.in: Moved to ...
55057         * sysdeps/sh/configure.in: ... here.
55058         * sysdeps/sh/elf/start.S: Moved to ...
55059         * sysdeps/sh/start.S: ... here.
55060         * sysdeps/sh/elf/configure: Delete file.
55062         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
55063         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
55064         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
55065         * sysdeps/powerpc/powerpc64/entry.h: ... here.
55066         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
55067         * sysdeps/powerpc/powerpc64/start.S: here.
55068         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
55069         * sysdeps/powerpc/powerpc64/Makefile: ... this.
55070         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
55071         * sysdeps/powerpc/powerpc64/configure.in: ... this.
55072         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
55074         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
55075         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
55076         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
55077         * sysdeps/powerpc/powerpc32/start.S: ... here.
55078         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
55079         * sysdeps/powerpc/powerpc32/configure.in: ... this.
55080         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
55082         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
55083         * sysdeps/powerpc/ifunc-sel.h: ... here.
55084         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
55085         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
55087         * sysdeps/sparc/elf/configure.in: Moved to ...
55088         * sysdeps/sparc/configure.in: ... here.
55089         * sysdeps/sparc/elf/configure: Delete file.
55090         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
55091         * sysdeps/sparc/sparc32/start.S: ... here.
55092         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
55093         * sysdeps/sparc/sparc64/start.S: ... here.
55094         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
55095         * sysdeps/sparc/sparc32/Makefile: ... this.
55096         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
55097         * sysdeps/sparc/sparc64/Makefile: ... this.
55099         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
55100         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
55101         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
55102         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
55103         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
55104         * sysdeps/s390/s390-32/setjmp.S: ... here.
55105         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
55106         * sysdeps/s390/s390-32/configure.in: ... here.
55107         * sysdeps/s390/s390-32/elf/configure: Delete file.
55108         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
55109         * sysdeps/s390/s390-32/start.S: ... here.
55111         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
55112         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
55113         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
55114         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
55115         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
55116         * sysdeps/s390/s390-64/setjmp.S: ... here.
55117         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
55118         * sysdeps/s390/s390-64/configure.in: ... here
55119         * sysdeps/s390/s390-64/elf/configure: Delete file.
55120         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
55121         * sysdeps/s390/s390-64/start.S: ... here.
55122         * sysdeps/s390/s390-64/elf/configure: Delete.
55124         * configure.in: Remove support for elf directories in sysdeps.
55126         * configure: Regenerated.
55127         * sysdeps/i386/configure: Regenerated.
55128         * sysdeps/powerpc/powerpc32/configure: Regenerated.
55129         * sysdeps/powerpc/powerpc64/configure: Regenerated.
55130         * sysdeps/s390/s390-32/configure: Regenerated.
55131         * sysdeps/s390/s390-64/configure: Regenerated.
55132         * sysdeps/sh/configure: Regenerated.
55133         * sysdeps/sparc/configure: Regenerated.
55134         * sysdeps/x86_64/configure: Regenerated.
55136 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
55138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55140         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
55141         denormal result into account.
55143 2012-03-25  Roland McGrath  <roland@hack.frob.com>
55145         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
55146         Reported by Allan McRae <allan@archlinux.org>.
55148 2012-03-23  Jeff Law  <law@redhat.com>
55150         * nss/getnssent.c (__nss_getent): Fix typo.
55152 2012-03-23  David S. Miller  <davem@davemloft.net>
55154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55156 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
55158         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
55159         to pad to uint64_t for each field.
55160         (dl_tls_index): Replace unsigned long with uint64_t.
55162 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
55163         Paul Pluzhnikov  <ppluzhnikov@google.com>
55165         [BZ #6528]
55166         * grp/Makefile (otherlibs): Don't set it.
55167         * inet/Makefile (otherlibs): Likewise.
55168         * login/Makefile (otherlibs): Likewise.
55169         * nscd/Makefile (otherlibs): Likewise.
55170         * posix/Makefile (otherlibs): Likewise.
55171         * pwd/Makefile (otherlibs): Likewise.
55172         * rt/Makefile (otherlibs): Likewise.
55173         * sunrpc/Makefile (otherlibs): Likewise.
55174         * nss/Makefile (otherlibs): Likewise.
55175         Add libnss_files to routines and static-only-routines.
55176         ($(objpfx)getent): Remove rule.
55177         * resolv/Makefile: Add libnss_dns and libresolv to routines and
55178         static-only-routines.
55180 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
55182         [BZ #13892]
55183         * math/s_cexp.c: Include <float.h>.
55184         (__cexp): Handle exp result overflowing not necessarily
55185         overflowing both real and imaginary parts of result.
55186         * math/s_cexpf.c: Likewise.
55187         * math/s_cexpl.c: Likewise.
55188         * math/libm-test.inc (cexp_test): Add more tests.
55189         * sysdeps/i386/fpu/libm-test-ulps: Update.
55190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55192 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
55194         * include/link.h (ELFW): New macro.
55195         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
55196         Replace ELF64_R_TYPE with ELFW(R_TYPE).
55198 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
55200         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
55201         with uint64_t.
55203 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
55205         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
55206         declaration.
55207         (struct La_x32_retval): Likewise.
55209 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
55211         * sysdeps/x86_64/preconfigure.in: New file.
55212         * sysdeps/x86_64/preconfigure: New generated file.
55214 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
55216         [BZ #13824]
55217         * math/e_exp2l.c: Include <float.h>.
55218         (__ieee754_exp2l): Handle overflow and underflow cases
55219         separately.  Only pass fractional part of argument to
55220         __ieee754_expl.
55221         * math/libm-test.inc (exp2_test): Add more tests.
55223         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
55224         negating x to take absolute value.
55225         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
55226         Likewise.
55227         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55228         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
55229         Likewise.
55230         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
55231         computing low part if x was negated.
55232         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55234 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
55236         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
55237         la_x32_gnu_pltexit.
55238         (pltexit): Cast int_retval to ptrdiff_t.
55239         * elf/tst-auditmod3b.c: Likewise.
55240         * elf/tst-auditmod4b.c: Likewise.
55241         * elf/tst-auditmod5b.c: Likewise.
55242         * elf/tst-auditmod6b.c: Likewise.
55243         * elf/tst-auditmod6c.c: Likewise.
55244         * elf/tst-auditmod7b.c: Likewise.
55246         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
55247         and x32_gnu_pltexit.
55249         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
55250         __ELF_NATIVE_CLASS.
55251         (La_x32_regs): New macro.
55252         (La_x32_retval): Likewise.
55253         (la_x32_gnu_pltenter): New function prototype.
55254         (la_x32_gnu_pltexit): Likewise.
55256 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
55258         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
55259         exponent.
55261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55263         * configure.in (libc_cv_cc_nofma): Check for option to disable
55264         generation of FMA instructions.
55265         * configure: Regenerate.
55266         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
55267         * sysdeps/ieee754/dbl-64/Makefile: New file.
55268         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
55269         Remove brandred-fma4.
55270         (CFLAGS-brandred-fma4.c): Remove.
55271         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
55272         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
55273         define.
55274         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
55275         define.
55277 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
55279         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55280         LLONG_MAX != LONG_MAX.
55281         (_itoa_word): Use _ITOA_WORD_TYPE on value.
55282         (_fitoa_word): Likewise.
55283         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
55284         LLONG_MAX != LONG_MAX.
55285         * stdio-common/_itowa.h: Include <_itoa.h>.
55286         (_itowa_word): Use _ITOA_WORD_TYPE on value.
55287         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
55288         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
55289         only if not defined.
55290         (_ITOA_WORD_TYPE): Likewise.
55291         (_itoa_word): Use _ITOA_WORD_TYPE on value.
55292         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
55294 2012-03-21  David S. Miller  <davem@davemloft.net>
55296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55298 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
55300         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
55301         of x86_64 when setting libc_cv_slibdir, libdir and
55302         libc_cv_localedir.
55303         * sysdeps/unix/sysv/linux/configure: Regenerated.
55305 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
55307         * manual/lang.texi (Old Varargs): Remove section.
55308         (How Variadic): Update menu.
55309         (va_start): Do not mention varargs.h.
55311 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
55312             Joseph Myers  <joseph@codesourcery.com>
55314         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
55315         link test.
55316         * configure: Regenerated.
55318 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
55320         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
55321         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
55322         conformtest.pl
55324 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
55326         * NOTES: Remove.
55327         * Makefile (files-for-dist): Remove NOTES.
55328         (NOTES): Remove rule.
55329         * README: Don't refer to NOTES.
55330         * manual/creature.texi: Don't include macros.texi.
55331         * manual/intro.texi (creature.texi): Remove comment referring to
55332         NOTES.
55334         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
55335         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
55336         * configure: Regenerated.
55337         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
55338         LIBC_TRY_CC_OPTION.
55339         (libc_cv_as_i686): Likewise.
55340         (libc_cv_cc_avx): Likewise.
55341         (libc_cv_cc_sse2avx): Likewise.
55342         (libc_cv_cc_fma4): Likewise.
55343         (libc_cv_cc_novzeroupper): Likewise.
55344         * sysdeps/i386/configure: Regenerated.
55346         [BZ #13883]
55347         * sysdeps/i386/fpu/s_cexp.S: Remove.
55348         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55349         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55350         * math/libm-test.inc (cexp_test): Add more tests.
55351         * sysdeps/i386/fpu/libm-test-ulps: Update.
55352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55354 2012-03-21  Allan McRae  <allan@archlinux.org>
55356         * timezone/Makefile: Do not install iso3166.tab and zone.tab
55358 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
55360         [BZ #13871]
55361         * math/w_exp2.c: Do not include <float.h>.
55362         (o_threshold, u_threshold): Remove.
55363         (__exp2): Calculate result before checking finiteness and calling
55364         __kernel_standard.
55365         * math/w_exp2f.c: Likewise.
55366         * math/w_exp2l.c: Likewise.
55367         * math/libm-test.inc (exp2_test): Require overflow exception for
55368         1e6 input.
55370         [BZ #3866]
55371         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
55372         range of signed 64-bit integers before using fistpll.  Remove
55373         checks for whether integers fit in mantissa bits.
55374         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
55375         the range of signed 32-bit integers before using fistpl.  Remove
55376         checks for whether integers fit in mantissa bits.
55377         * sysdeps/i386/fpu/e_powl.S (p64): New object.
55378         (__ieee754_powl): Test for y outside the range of signed 64-bit
55379         integers before using fistpll.  Reduce 64-bit values to 63-bit
55380         ones as needed.
55381         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
55382         divide-by-zero is raised for zero to large negative powers.
55383         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
55384         (__ieee754_powl): Test for y outside the range of signed 64-bit
55385         integers before using fistpll.  Reduce 64-bit values to 63-bit
55386         ones as needed.
55387         * math/libm-test.inc (pow_test): Add more tests.
55389 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
55391         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
55392         <stdio-common/_itoa.h>.
55393         * debug/segfault.c: Likewise.
55394         * elf/dl-cache.c: Likewise.
55395         * elf/dl-minimal.c: Likewise.
55396         * elf/dl-misc.c: Likewise.
55397         * elf/dl-sysdep.c: Likewise.
55398         * elf/dl-version.c: Likewise.
55399         * elf/rtld.c: Likewise.
55400         * hurd/hurdsock.c: Likewise.
55401         * hurd/lookup-retry.c: Likewise.
55402         * malloc/malloc.c: Likewise.
55403         * malloc/mtrace.c: Likewise.
55404         * nscd/nscd_getgr_r.c: Likewise.
55405         * nscd/nscd_getpw_r.c: Likewise.
55406         * nscd/nscd_getserv_r.c: Likewise.
55407         * posix/getopt_init.c: Likewise.
55408         * posix/wordexp.c: Likewise.
55409         * stdio-common/_itoa.c: Likewise.
55410         * stdio-common/printf_fphex.c: Likewise.
55411         * stdio-common/vfprintf.c: Likewise.
55412         * string/_strerror.c: Likewise.
55413         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
55414         * sysdeps/i386/i686/hp-timing.h: Likewise.
55415         * sysdeps/mach/_strerror.c: Likewise.
55416         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
55417         * sysdeps/mach/hurd/sethostid.c: Likewise.
55418         * sysdeps/mach/hurd/xmknodat.c: Likewise.
55419         * sysdeps/mach/xpg-strerror.c: Likewise.
55420         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55421         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55422         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
55423         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
55424         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55425         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
55426         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
55427         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
55428         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
55429         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
55430         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
55431         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
55432         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
55433         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55434         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55435         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
55436         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
55437         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
55438         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
55439         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
55440         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
55442         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
55444         * stdio-common/_itoa.h: Moved to ...
55445         * sysdeps/generic/_itoa.h: Here.
55447         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
55449         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
55450         instead of "_itoa.h" and "_itowa.h".
55451         * stdio-common/vfprintf.: Likewise.
55453 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
55455         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
55456         <bits/wordsize.h>.
55457         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
55458         (__signbit): Likwise.
55459         (llrintf): Likwise.
55460         (llrint): Likwise.
55462 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
55464         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
55465         __WORDSIZE != 64.
55467 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
55469         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
55470         OVERFLOW_EXCEPTION_OK.
55471         * math/libm-test.inc ("Philosophy"): Update comment about
55472         exception testing.
55473         (OVERFLOW_EXCEPTION): Define.
55474         (OVERFLOW_EXCEPTION_OK): Likewise.
55475         (INVALID_EXCEPTION_OK): Renumber.
55476         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55477         (IGNORE_ZERO_INF_SIGN): Likewise.
55478         (test_exceptions): Handle FE_OVERFLOW.
55479         (exp10_test): Expect overflow exceptions.
55480         (exp2_test): Likewise.
55481         (expm1_test): Likewise.
55482         (nextafter_test): Likewise.
55483         (pow_test): Likewise.
55484         (scalbn_test): Likewise.
55485         (scalbln_test): Likewise.
55487 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
55489         * sysdeps/x86_64/bits/atomic.h
55490         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
55491         64bit integer.
55492         (atomic_exchange_acq): Likewise.
55493         (__arch_exchange_and_add_body): Likewise.
55494         (__arch_add_body): Likewise.
55495         (atomic_add_negative): Likewise.
55496         (atomic_add_zero): Likewise.
55498 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
55500         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
55501         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
55503 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
55505         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
55506         Check __x86_64__ instead of __WORDSIZE.
55508 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
55510         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
55512 2012-03-19  David S. Miller  <davem@davemloft.net>
55514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55516         * sysdeps/sparc/fpu/fenv_private.h: New file.
55517         * sysdeps/sparc/fpu/math_private.h: Use it.
55518         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
55519         Remove.
55520         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
55521         (libc_feholdexcept_setroundl): Remove.
55522         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
55523         Remove.
55524         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
55525         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
55527 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
55529         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
55530         int64_t instead of long int.
55531         (INSERT_WORDS64): Likwise.
55533 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
55535         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
55536         _Unwind_GetCFA return to _Unwind_Ptr first.
55538 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
55540         [BZ #13629]
55541         * math/s_clog.c: Include <float.h>.
55542         (__clog): Scale large or subnormal inputs.
55543         * math/s_clogf.c: Likewise.
55544         * math/s_clogl.c: Likewise.
55545         * math/s_clog10.c: Include <float.h>.
55546         (M_LOG10_2): Define.
55547         (__clog10): Scale large or subnormal inputs.
55548         * math/s_clog10f.c: Likewise.
55549         * math/s_clog10l.c: Likewise.
55550         * math/libm-test.inc (clog_test): Add more tests.
55551         (clog10_test): Likewise.
55552         * sysdeps/i386/fpu/libm-test-ulps: Update.
55553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55555         [BZ #11451]
55556         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
55557         x and y.
55558         * math/libm-test.inc (atan2_test): Add another test.
55560         * Makerules (common-objdir-compile): Remove.
55561         * sysdeps/unix/Makefile (config-generated): Do not add
55562         $(unix-generated) to variable.
55563         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
55564         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
55565         Remove rule.
55566         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
55567         Likewise.
55568         [generic bits/local_lim.h] (before-compile): Do not append to
55569         variable.
55570         [generic bits/local_lim.h] (common-generated): Likewise.
55571         [generic sys/param.h] (before-compile): Do not append to variable.
55572         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
55573         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
55574         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
55575         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
55576         include.
55577         [generic sys/param.h] (sys/param.h-includes): Remove variable.
55578         [generic sys/param.h] (sys/param.h-includes): Remove rule.
55579         [generic sys/param.h] ($(addprefix
55580         $(common-objpfx),$(sys/param.h-includes))): Likewise.
55581         [generic sys/param.h] (common-generated): Do not append to
55582         variable.
55583         [generic sys/param.h] (sysdep_headers): Likewise.
55584         [generic bits/errno.h] (before-compile): Do not append to
55585         variable.
55586         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
55587         rule.
55588         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
55589         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
55590         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
55591         [generic bits/errno.h] (common-generated): Do not append to
55592         variable.
55593         [generic bits/ioctls.h] (before-compile): Do not append to
55594         variable.
55595         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
55596         rule.
55597         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
55598         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
55599         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
55600         rule.
55601         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
55602         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
55603         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
55604         [generic bits/ioctls.h] (common-generated): Do not append to
55605         variable.
55606         [generic sys/syscall.h] (syscall.h): Remove variable.
55607         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
55608         rule.
55609         [generic sys/syscall.h] (before-compile): Do not append to
55610         variable.
55611         [generic sys/syscall.h] (common-generated): Likewise.
55612         * sysdeps/unix/errnos-tmpl.c: Remove file.
55613         * sysdeps/unix/errnos.awk: Likewise.
55614         * sysdeps/unix/ioctls-tmpl.c: Likewise.
55615         * sysdeps/unix/ioctls.awk: Likewise.
55616         * sysdeps/unix/mk-local_lim.c: Likewise.
55617         * sysdeps/unix/snarf-ioctls: Likewise.
55619 2012-03-19  Richard Henderson  <rth@twiddle.net>
55621         * sysdeps/i386/fpu/fenv_private.h: New file.
55622         * sysdeps/i386/fpu/math_private.h: Use it.
55623         (math_opt_barrier, math_force_eval): Remove.
55624         (libc_feholdexcept_setround_53bit): Remove.
55625         (libc_feupdateenv_53bit): Remove.
55626         * sysdeps/x86_64/fpu/math_private.h: Likewise.
55627         (math_opt_barrier, math_force_eval): Remove.
55628         (libc_feholdexcept): Remove.
55629         (libc_feholdexcept_setround): Remove.
55630         (libc_fetestexcept, libc_fesetenv): Remove.
55631         (libc_feupdateenv_test): Remove.
55632         (libc_feupdateenv, libc_feholdsetround): Remove.
55633         (libc_feresetround): Remove.
55635         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
55636         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
55638         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
55639         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
55640         (libc_feupdateenv_testl): New.
55641         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
55642         (libc_feupdateenv_testf): New.
55643         (libc_feupdateenv): Use libc_feupdateenv_test.
55644         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
55645         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
55647         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
55648         (libc_feholdsetroundf, libc_feholdsetroundl): New.
55649         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
55650         (libc_feresetround_noex): New.
55651         (libc_feresetround_noexf): New.
55652         (libc_feresetround_noexl): New.
55653         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
55654         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
55655         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
55656         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
55657         SET_RESTORE_ROUND.
55658         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55659         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
55660         (__cos): Likewise.
55661         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
55662         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
55663         SET_RESTORE_ROUND_NOEX.
55664         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
55665         SET_RESTORE_ROUND_NOEXF.
55666         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
55667         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
55668         (libc_feholdsetroundf): New.
55669         (libc_feresetround, libc_feresetroundf): New.
55671         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
55672         (libc_feholdexcept_setround_53bit): Convert from macro to function.
55673         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
55675         * sysdeps/generic/math_private.h: Include <fenv.h>.
55676         (default_libc_feholdexcept): New.
55677         (default_libc_feholdexcept_setround): New.
55678         (default_libc_fesetenv, default_libc_feupdateenv): New.
55679         (libc_feholdexcept): Only define if undefined.
55680         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
55681         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
55682         (libc_feholdexcept_setroundl): Likewise.
55683         (libc_feholdexcept_setround_53bit): Likewise.
55684         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
55685         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
55686         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
55687         (libc_feupdateenv_53bit): Likewise.
55688         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
55689         (libc_feholdexcept): Convert from macro to inline function.
55690         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
55691         (libc_fesetenv, libc_feupdateenv): Likewise.
55693         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
55694         not previously defined.
55695         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
55696         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
55697         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
55698         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
55699         * sysdeps/ieee754/flt-32/math_private.h: New file.
55700         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
55701         math_private.h below SET_FLOAT_WORD.
55702         (__isnan, __isinf_ns, __finite): Remove.
55703         (__isnanf, __isinf_nsf, __finitef): Remove.
55705 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
55707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55709 2012-03-17  David S. Miller  <davem@davemloft.net>
55711         [BZ #6471]
55712         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
55713         for 2.16.
55715 2012-03-16  David S. Miller  <davem@davemloft.net>
55717         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
55718         warnings.
55720         [BZ #6471]
55721         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
55722         properly.
55723         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
55724         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
55725         sysdep_routines when subdir is sysvipc.
55726         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
55727         __getshmlba helper.
55729         * sysdeps/sparc/fpu/libm-test/ulps: Update.
55731 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
55733         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
55734         [__LP64__].
55736 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
55738         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
55739         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
55740         (__lround): Renamed to ...
55741         (__llround): This.  Replace long int with long long int.
55742         Define lround functions as aliases of llround functions.
55743         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
55745 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
55747         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
55748         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
55749         adresses to uintptr_t.  Replace "long int" and "unsigned long
55750         int" with "greg_t" on va_arg.
55752 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
55754         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
55755         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
55757         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
55758         Move e_machine check before EI_CLASS check.  Handle x32
55759         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
55760         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
55761         SKIP_EM_IA_64 and include
55762         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
55764         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
55765         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
55766         (add_system_dir): New macro.
55768         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
55769         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
55771 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
55773         [BZ #2551]
55774         [BZ #2552]
55775         [BZ #2553]
55776         [BZ #2554]
55777         [BZ #2562]
55778         [BZ #2563]
55779         [BZ #2565]
55780         [BZ #2566]
55781         [BZ #2576]
55782         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
55783         (y0): Likewise.
55784         * math/w_j0f.c (j0f): Likewise.
55785         (y0f): Likewise.
55786         * math/w_j0l.c (__j0l): Likewise.
55787         (__y0l): Likewise.
55788         * math/w_j1.c (j1): Likewise.
55789         (y1): Likewise.
55790         * math/w_j1f.c (j1f): Likewise.
55791         (y1f): Likewise.
55792         * math/w_j1l.c (__j1l): Likewise.
55793         (__y1l): Likewise.
55794         * math/w_jn.c (jn): Likewise.
55795         (yn): Likewise.
55796         * math/w_jnf.c (jnf): Likewise.
55797         (ynf): Likewise.
55798         * math/w_jnl.c (__jnl): Likewise.
55799         (__ynl): Likewise.
55800         * math/libm-test.inc (j0_test): Add more tests.
55801         (j1_test): Likewise.
55802         (jn_test): Likewise.  Add trailing semicolon to existing test.
55803         (y0_test): Likewise.
55804         (y1_test): Likewise.
55805         * sysdeps/i386/fpu/libm-test-ulps: Update.
55806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55808         [BZ #13851]
55809         [BZ #13854]
55810         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
55811         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
55812         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
55813         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
55814         (__tanl): Set errno for infinite argument.
55815         * sysdeps/i386/fpu/mptan.c: Remove.
55816         * sysdeps/i386/fpu/s_tan.S: Likewise.
55817         * sysdeps/i386/fpu/s_tanl.S: Likewise.
55818         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
55819         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
55820         * math/libm-test.inc (tan_test): Add more tests and enable more
55821         tests for double and long double.
55822         * sysdeps/i386/fpu/libm-test-ulps: Update.
55823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55825 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
55827         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
55828         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
55830 2012-03-16  Roland McGrath  <roland@hack.frob.com>
55832         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
55833         * configure.in: Use it for both main tree and add-ons.
55834         * configure: Regenerated.
55836 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
55838         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
55840 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
55842         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
55843         in comment.
55845         [BZ #13851]
55846         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
55847         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
55848         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
55849         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
55850         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
55851         infinite argument.
55852         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
55853         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
55854         != 0 for prec == 2.
55855         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
55856         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
55857         * sysdeps/i386/fpu/s_cosl.S: Likewise.
55858         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
55859         * sysdeps/i386/fpu/s_sinl.S: Likewise.
55860         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
55861         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
55862         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
55863         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
55864         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
55865         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
55866         * math/libm-test.inc (cos_test): Add more tests and enable more
55867         tests for long double.
55868         (sin_test): Likewise.
55869         (sincos_test): Likewise.
55870         * sysdeps/i386/fpu/libm-test-ulps: Update.
55871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55873 2012-03-16  David S. Miller  <davem@davemloft.net>
55875         * sysdeps/sparc/fpu/math_private.h: New file.
55877 2012-03-15  David S. Miller  <davem@davemloft.net>
55879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
55880         file.
55881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
55882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
55883         file.
55884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
55885         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
55886         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
55887         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
55888         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
55889         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
55890         sysdep routines.
55891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55893         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
55894         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
55896         * sysdeps/sparc/sparc-ifunc.h: New file.
55897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
55898         sparc-ifunc.h
55899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
55901         Likewise.
55902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
55903         Likewise.
55904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
55905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
55906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55908         Likewise.
55909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
55910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
55911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
55912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
55913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
55914         Likewise.
55915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
55916         Likewise.
55917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
55918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
55919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
55920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
55921         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55922         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55923         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
55924         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
55925         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55926         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55927         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
55928         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
55929         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
55930         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
55931         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
55932         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
55933         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
55934         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
55935         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
55936         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
55937         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
55938         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
55939         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
55940         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
55942 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
55944         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
55945         scaling.
55946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55948 2012-03-15  Andreas Jaeger  <aj@suse.de>
55950         [BZ #13852]
55951         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
55952         ieee754/flt-32 implementation for sin, cos and sincos.
55953         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
55954         * sysdeps/i386/fpu/s_cosf.S: Likewise.
55955         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
55956         * sysdeps/i386/fpu/s_sinf.S: Likewise.
55957         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
55958         ieee754/flt-32 implementation for tan.
55960         * math/libm-test.inc (cos_test): Enable some large input tests for
55961         float as well
55962         (sin_test): Likewise.
55963         (sincos_test): Likewise.
55964         (tan_test): Add tests for large input.
55966         * sysdeps/i386/fpu/libm-test-ulps: Update.
55968 2012-03-15  Andreas Jaeger  <aj@suse.de>
55970         [BZ #13658]
55971         * math/libm-test.inc (cos_test): Add more test cases.
55972         (sin_test): Likewise.
55973         (sincos_test): Likewise.
55975 2012-03-15  Andreas Jaeger  <aj@suse.de>
55977         [BZ #13837]
55978         * math/libm-test.inc (cos_test): Add a test case for large input
55979         value.
55980         (sin_test): Likewise.
55981         (sincos_test): Likewise.
55983 2012-03-15  Andreas Jaeger  <aj@suse.de>
55984             Joseph Myers  <joseph@codesourcery.com>
55986         [BZ #13658]
55987         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
55988         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
55989         * sysdeps/i386/fpu/branred.c: Likewise.
55990         * sysdeps/i386/fpu/dosincos.c: Likewise.
55991         * sysdeps/i386/fpu/mpa.c: Likewise.
55992         * sysdeps/i386/fpu/s_cos.S: Likewise.
55993         * sysdeps/i386/fpu/s_sin.S: Likewise.
55994         * sysdeps/i386/fpu/s_sincos.S: Likewise.
55995         * sysdeps/i386/fpu/sincos32.c: Likewise.
55997         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
55998         Define.
55999         (libc_feupdateenv_53bit): Define.
56000         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
56001         Define.
56002         (libc_feupdateenv_53bit): Define.
56004         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
56005         53 bit (without extend i386 double precision).
56007         * math/libm-test.inc (sincos_test): Add tests for large input.
56008         (sin): Likewise.
56009         (cos): Likewise.
56011         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
56013 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
56015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56017 2012-03-15  David S. Miller  <davem@davemloft.net>
56019         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
56020         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
56021         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
56022         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
56023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
56024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
56025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
56026         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
56027         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
56028         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
56029         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
56030         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
56031         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
56032         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
56033         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
56034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
56035         file.
56036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
56037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
56038         file.
56039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
56040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
56041         file.
56042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
56043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
56044         file.
56045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
56046         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
56047         fmin/fmax sysdep routines.
56048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56050 2012-03-14  David S. Miller  <davem@davemloft.net>
56052         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
56053         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
56054         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
56055         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
56056         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
56057         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
56058         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
56059         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
56060         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
56061         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
56062         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
56063         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
56064         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
56065         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
56066         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
56067         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
56068         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
56069         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
56070         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
56071         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
56072         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
56073         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
56074         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
56075         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
56076         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
56077         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
56078         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
56079         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
56080         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
56081         routines.
56082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
56083         file.
56084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
56085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
56086         file.
56087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
56088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
56089         file.
56090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
56091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
56092         file.
56093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
56094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
56095         file.
56096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
56097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
56098         file.
56099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
56100         file.
56101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
56102         file.
56103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
56104         file.
56105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
56106         New file.
56107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
56108         file.
56109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
56110         file.
56111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
56112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
56113         file.
56114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
56115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
56116         file.
56117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
56118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
56119         file.
56120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
56121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
56122         VIS3 routines.
56124         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56125         New file.
56127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56129         * sysdeps/sparc/configure.in: New file.
56130         * sysdeps/sparc/configure: Generate.
56131         * configure.in (libc_cv_sparc_as_vis3): Substitute.
56132         * configure: Regenerate.
56133         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
56134         * config.make.in (have-as-vis3): New.
56135         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
56136         available use -Av9d instead of -Av9a.
56137         * sysdeps/sparc/sparc64/Makefile: Likewise.
56138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
56139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
56140         New file.
56141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
56142         file.
56143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
56144         New file.
56145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
56146         file.
56147         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
56148         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
56149         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
56150         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
56151         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
56153         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
56154         fzeros/fnegs to load 0x80000000 into a float register instead of
56155         using the stack.
56156         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
56158 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
56160         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56161         bits/syscall.h.
56162         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
56163         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
56164         ($(inst_includedir)/bits/syscall.h): Remove rule.
56165         ($(objpfx)bits/syscall.d): Include instead of
56166         $(objpfx)syscall-list.d.
56167         (generated): Change syscall-list.h and syscall-list.d to
56168         bits/syscall.h and bits/syscall.d.
56170 2012-03-14  Roland McGrath  <roland@hack.frob.com>
56172         [BZ #13846]
56173         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
56175 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
56177         [BZ #13841]
56178         * math/s_csqrt.c: Include <float.h>.
56179         (__csqrt): Scale large or subnormal inputs.
56180         * math/s_csqrtf.c: Likewise.
56181         * math/s_csqrtl.c: Likewise.
56182         * math/libm-test.inc (csqrt_test): Add more tests.
56183         * sysdeps/i386/fpu/libm-test-ulps: Update.
56184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56186         [BZ #13840]
56187         * math/libm-test.inc (hypot_test): Add more tests.
56189 2012-03-13  David S. Miller  <davem@davemloft.net>
56191         [BZ #13840]
56192         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
56193         double-precision for the calculation instead of scaling.
56195 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
56197         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
56198         manipulate bits before adding and subtracting TWO52[sx].
56199         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
56200         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
56201         Likewise.
56202         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
56204 2012-03-13  David S. Miller  <davem@davemloft.net>
56206         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
56207         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
56208         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
56209         rtld-global-offsets.h
56210         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56212         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
56213         large parameters.
56215         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
56217         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
56218         'err' in the ifdef scope in which it is actually used.
56220         * nss/nss_db/db-init.c: Include string.h
56222 2012-03-12  David S. Miller  <davem@davemloft.net>
56224         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56225         masking out of the most significant byte of random value used.
56226         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56227         Fix coding style in previous change.
56229         * sysdeps/unix/sysv/linux/kernel-features.h
56230         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
56231         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
56232         expression.
56233         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
56234         later.
56236 2012-03-11  David S. Miller  <davem@davemloft.net>
56238         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56239         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
56240         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
56241         for 'resultvar' otherwise things get truncated on 64-bit.
56243         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56244         Fix masking out of the most significant byte of random value used.
56246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56248 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
56250         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56252 2012-03-09  David S. Miller  <davem@davemloft.net>
56254         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
56255         variables with appropriate CPP guards.
56256         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
56257         from the frame pointer, not the stack pointer.  Correct layout
56258         comments.  Fix test on resulting framesize and the management of
56259         the outregs buffer for pltexit.  Preserve floating point return
56260         values across _dl_call_pltexit call.
56261         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
56262         framesize and the management of the outregs buffer for pltexit.
56263         Preserve floating point return values across _dl_call_pltexit
56264         call.
56265         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
56266         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
56267         (la_sparc64_gnu_pltexit): New functions.
56268         (print_exit): Fix format string for return register value.
56270 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
56272         * sunrpc/Makefile (others): Add rpcgen.
56273         ($(objpfx)rpcgen): Remove special build rule and dependency on
56274         libc.
56275         * sunrpc/rpcgen.c: New file.
56277 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
56279         [BZ #13673]
56280         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
56281         * stdio-common/bug-vfprintf-nargs.c: Likewise.
56282         * sysdeps/i386/crti.S: Likewise.
56283         * sysdeps/i386/crtn.S: Likewise.
56284         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
56285         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
56286         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
56287         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
56288         * sysdeps/sh/crti.S: Likewise.
56289         * sysdeps/sh/crtn.S: Likewise.
56290         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
56292         [BZ #13673]
56293         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
56294         with URL.
56295         * locale/programs/locfile-kw.gperf: Likewise.
56296         * locale/programs/charmap-kw.h: Regenerated.
56297         * locale/programs/locfile-kw.h: Likewise.
56299         [BZ #13673]
56300         * intl/plural.y: Replace FSF snail mail address with URL.
56301         * intl/plural.c: Regenerated.
56303 2012-03-09  Richard Henderson  <rth@twiddle.net>
56305         * include/math_private.h: Remove file.
56306         * math/math_private.h: Move file ...
56307         * sysdeps/generic/math_private.h: ... here.
56309         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
56310         * sysdeps/powerpc/fpu/math_private.h: Likewise.
56311         * sysdeps/x86_64/fpu/math_private.h: Likewise.
56313         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
56314         and <math_private.h>.
56315         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56316         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56317         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56318         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56319         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56320         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
56321         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56322         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56323         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56324         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56325         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56326         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56327         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56328         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56329         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56330         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56331         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56332         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56333         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56334         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56335         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56336         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56337         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56338         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56339         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
56340         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56341         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56342         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56343         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56344         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56345         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56346         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56347         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
56348         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56349         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56350         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56351         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56352         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56353         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56354         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56355         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
56356         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56357         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56358         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
56359         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
56360         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56361         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
56362         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
56363         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56364         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56365         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
56366         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
56367         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
56368         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56369         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
56370         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56371         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56372         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
56373         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
56374         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
56375         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56376         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
56377         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56378         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56379         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
56380         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56381         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56382         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56383         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
56384         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
56385         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56386         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56387         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56388         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56389         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
56390         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
56391         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
56392         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56393         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
56394         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
56395         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56396         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
56397         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56398         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56399         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56400         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
56401         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
56402         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
56403         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56404         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56405         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56406         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56407         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56408         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56409         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56410         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56411         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56412         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56413         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56414         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56415         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56416         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56417         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56418         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56419         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56420         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56421         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56422         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56423         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56424         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56425         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56426         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56427         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56428         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56429         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
56430         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56431         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56432         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56433         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56434         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56435         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56436         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56437         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56438         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
56439         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56440         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56441         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56442         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
56443         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56444         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
56445         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
56446         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56447         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56448         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
56449         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
56450         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56451         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56452         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56453         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
56454         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56455         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56456         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56457         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56458         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
56459         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
56460         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56461         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56462         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56463         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
56464         * sysdeps/ieee754/k_standard.c: Likewise.
56465         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56466         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56467         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56468         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56469         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56470         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56471         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56472         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56473         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56474         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56475         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56476         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56477         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56478         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56479         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56480         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56481         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
56482         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56483         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56484         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
56485         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
56486         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
56487         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56488         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56489         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56490         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
56491         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56492         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56493         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56494         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56495         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
56496         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56497         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56498         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56499         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56500         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56501         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56502         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
56503         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
56504         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56505         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56506         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56507         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
56508         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56509         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56510         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56511         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56512         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56513         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56514         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56515         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56516         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
56517         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56518         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
56519         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56520         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56521         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
56522         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
56523         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56524         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56525         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56526         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56527         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56528         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56529         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56530         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56531         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56532         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56533         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56534         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56535         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56536         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56537         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56538         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56539         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56540         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56541         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
56542         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56543         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56544         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
56545         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
56546         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
56547         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56548         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56549         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
56550         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56551         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56552         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
56553         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56554         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56555         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
56556         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56557         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
56558         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
56559         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56560         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56561         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
56562         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
56563         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
56564         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
56565         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56566         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56567         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56568         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56569         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
56570         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56571         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56572         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
56573         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
56574         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56575         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56576         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56577         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56578         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56579         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56580         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56581         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56582         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56583         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56584         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56585         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56586         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56587         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56588         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56589         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56590         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
56591         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56592         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56593         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56594         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56595         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56596         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56597         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56598         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
56599         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56600         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56601         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
56602         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
56603         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56604         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
56605         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
56606         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56607         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
56608         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
56609         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56610         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56611         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56612         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56613         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56614         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
56615         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56616         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56617         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56618         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56619         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
56620         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
56621         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56622         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56623         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56624         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
56625         * sysdeps/ieee754/s_lib_version.c: Likewise.
56626         * sysdeps/ieee754/s_matherr.c: Likewise.
56627         * sysdeps/ieee754/s_signgam.c: Likewise.
56628         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56629         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56630         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
56631         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
56632         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
56633         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56634         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
56635         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
56636         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
56637         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
56638         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
56639         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
56640         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56641         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56642         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
56643         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56644         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56645         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56646         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56647         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56648         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56650 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
56652         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
56653         * sunrpc/rpc_main.c: Likewise.
56654         * sunrpc/rpc_svcout.c: Likewise.
56656 2012-03-09  David S. Miller  <davem@davemloft.net>
56658         * include/math_private.h: New file.
56660 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
56662         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
56663         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
56664         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
56665         from <bits/socket_type.h>.
56666         (enum __socket_type): Don't define here.
56667         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
56668         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56669         bits/socket_type.h.
56671         [BZ #13566]
56672         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
56673         checking __USE_GNU.
56675         * Makerules ($(inst_includedir)/%.h): New rule.
56676         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
56677         (install-others): Remove variable setting.
56678         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
56680 2012-03-08  Richard Henderson  <rth@twiddle.net>
56682         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
56683         from macro to inline function; merge with the
56684         !__LIBC_INTERNAL_MATH_INLINES version.
56685         (__ieee754_sqrtf): Likewise.
56687         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
56688         to inline function.
56689         (__rintf, __floor, __floorf): Likewise.
56691         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
56692         macro to inline function.
56693         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
56695         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
56696         not <math/math_private.h>.
56698 2012-03-08  David S. Miller  <davem@davemloft.net>
56700         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
56701         copyright year.
56702         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
56704 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
56706         * resolv/gai_misc.c (handle_requests): Fix struct timespec
56707         normalization.
56708         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
56709         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
56711 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
56713         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
56714         be defined individually, they must be defined as a block.  Define
56715         S for printing a string instead of hidint the different by using a
56716         macro for adding the 'l'.
56717         * stdio-common/tst-fphex-wide.c: Adjust.
56719 2012-03-07  Marek Polacek  <polacek@redhat.com>
56721         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
56723 2012-03-08  Marek Polacek  <polacek@redhat.com>
56725         [BZ #13806]
56726         * stdio-common/Makefile (tests): Add tst-fphex-wide.
56727         * stdio-common/tst-fphex.c: Define a few macros to make the
56728         test reusable.  Use them.
56729         * stdio-common/tst-fphex-wide.c: New file.
56731 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
56733         [BZ #6911]
56734         * manual/macros.texi (gnusystems): New macro.
56735         (nongnusystems): Likewise.
56736         (gnulinuxhurdsystems): Likewise.
56737         (gnuhurdsystems): Likewise..
56738         (gnulinuxsystems): Likewise.
56739         * manual/charset.texi: Use new macros or @theglibc{} to refer to
56740         variants of the GNU system, not "GNU system".
56741         * manual/conf.texi: Likewise.
56742         * manual/errno.texi: Likewise.  Update example of errno macro
56743         expansion.
56744         * manual/filesys.texi: Likewise.
56745         (getumask): Document as specific to GNU/Hurd.
56746         * manual/install.texi: Likewise.  Reword some references to
56747         GNU/Linux.
56748         * manual/intro.texi: Likewise.
56749         * manual/io.texi: Likewise.
56750         (File Name Portability): Detail which constraints are inapplicable
56751         to all GNU systems and which are only inapplicable to GNU/Hurd.
56752         * manual/job.texi: Likewise.
56753         * manual/llio.texi: Likewise.
56754         (O_NOCTTY): Document as present on GNU/Linux.
56755         * manual/maint.texi: Likewise.
56756         * manual/memory.texi: Likewise.
56757         * manual/pattern.texi: Likewise.
56758         * manual/pipe.texi: Likewise.
56759         * manual/process.texi: Likewise.
56760         * manual/resource.texi: Likewise.
56761         (RUSAGE_CHILDREN): Remove statement about specifying a particular
56762         child on GNU/Hurd.
56763         * manual/setjmp.texi: Likewise.
56764         * manual/signal.texi: Likewise.
56765         * manual/startup.texi: Likewise.
56766         * manual/stdio.texi: Likewise.
56767         * manual/terminal.texi: Likewise.
56768         (ONLCR): Document as POSIX.
56769         (OXTABS): Document availability on GNU/Linux as XTABS.
56770         (ONOEOT): Document availability separately from other bits.
56771         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
56772         * manual/time.texi: Likewise.
56773         * manual/users.texi: Likewise.
56774         * INSTALL: Regenerated.
56775         * sysdeps/gnu/errlist.c: Regenerated.
56777         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
56778         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
56779         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
56780         puts.
56781         * configure: Regenerated.
56783 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
56785         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
56786         default includes instead of AC_HEADER_CHECK.
56787         * sysdeps/i386/configure: Regenerated.
56789         [BZ #10716]
56790         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
56791         * math/s_cacoshf.c (__cacoshf): Likewise.
56792         * math/s_cacoshl.c (__cacoshl): Likewise.
56793         * math/s_casinh.c (__casinh): Set signs of result from argument.
56794         * math/s_casinhf.c (__casinhf): Likewise.
56795         * math/s_casinhl.c (__casinhl): Likewise.
56796         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
56797         (casinh_test): Add more tests.
56798         * sysdeps/i386/fpu/libm-test-ulps: Update.
56799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56801 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
56803         * po/zh_TW.po: Update from translation team.
56805         * login/Makefile (distribute): Remove variable.
56806         * catgets/Makefile: Likewise.
56807         * mach/Makefile: Likewise.
56808         * malloc/Makefile: Likewise.
56809         * misc/Makefile: Likewise.
56810         * iconv/Makefile: Likewise.
56811         * nscd/Makefile: Likewise.
56812         * hurd/Makefile: Likewise.
56813         * manual/Makefile: Likewise.
56814         * locale/Makefile: Likewise.
56815         * intl/Makefile: Likewise.
56816         * conform/Makefile: Likewise.
56817         * nss/Makefile: Likewise.
56818         * time/Makefile: Likewise.
56819         * soft-fp/Makefile: Likewise.
56820         * dirent/Makefile: Likewise.
56821         * gmon/Makefile: Likewise.
56822         * po/Makefile: Likewise.
56823         * rt/Makefile: Likewise.
56824         * socket/Makefile: Likewise.
56825         * math/Makefile: Likewise.
56826         * signal/Makefile: Likewise.
56827         * debug/Makefile: Likewise.
56828         * elf/Makefile: Likewise.
56829         * timezone/Makefile: Likewise.
56830         * stdlib/Makefile: Likewise.
56831         * iconvdata/Makefile: Likewise.
56832         * sunrpc/Makefile: Likewise.
56833         * io/Makefile: Likewise.
56834         * argp/Makefile: Likewise.
56835         * inet/Makefile: Likewise.
56836         * hesiod/Makefile: Likewise.
56837         * grp/Makefile: Likewise.
56838         * csu/Makefile: Likewise.
56839         * wctype/Makefile: Likewise.
56840         * crypt/Makefile: Likewise.
56841         * libio/Makefile: Likewise.
56842         * string/Makefile: Likewise.
56843         * nis/Makefile: Likewise.
56844         * resolv/Makefile: Likewise.
56845         * stdio-common/Makefile: Likewise.
56846         * wcsmbs/Makefile: Likewise.
56847         * dlfcn/Makefile: Likewise.
56848         * posix/Makefile: Likewise.
56850         [BZ #6959]
56851         * timezone/Makefile: Don't install timezone files, just the programs
56852         and scripts.
56854 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
56856         * nss/databases.def: Add missing gshadow entry.
56858         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
56860 2012-03-06  Marek Polacek  <polacek@redhat.com>
56862         [BZ #13726]
56863         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
56864         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56865         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
56866         * stdio-common/tst-long-dbl-fphex.c: New file.
56868 2012-03-06  David S. Miller  <davem@davemloft.net>
56870         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56871         (set_obp_int): New function.
56872         (get_obp_int): New function.
56873         (__get_clockfreq_via_dev_openprom): Likewise.
56874         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
56875         Avoid unused variable warnings on 'val' and use builtin_expect.
56876         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
56877         __builtin_expect.
56878         (INLINE_CLONE_SYSCALL): Likewise.
56880 2012-03-05  David S. Miller  <davem@davemloft.net>
56882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56884 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
56886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56888         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
56889         only for |x| >= 40.
56890         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56892 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
56894         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
56895         Replace gettimeofday with __vdso_gettimeofday.
56897         * sysdeps/unix/sysv/linux/x86_64/init-first.c
56898         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
56899         __vdso_clock_gettime and __vdso_getcpu.
56901         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
56902         time with __vdso_time.
56904 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
56906         * manual/lang.texi (size_t): Note types to which size_t may be
56907         equivalent with the GNU C Library, but do not describe when
56908         differences between them are significant.
56910 2012-03-05  Andreas Jaeger  <aj@suse.de>
56912         * sysdeps/i386/fpu/libm-test-ulps: Update.
56914 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
56916         [BZ #3976]
56917         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
56918         (__ieee754_pow): Save and restore rounding mode and use
56919         round-to-nearest for main computations.
56920         * math/libm-test.inc (pow_test_tonearest): New function.
56921         (pow_test_towardzero): Likewise.
56922         (pow_test_downward): Likewise.
56923         (pow_test_upward): Likewise.
56924         (main): Call the new functions.
56925         * sysdeps/i386/fpu/libm-test-ulps: Update.
56926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56928         [BZ #3976]
56929         * math/libm-test.inc (cosh_test_tonearest): New function.
56930         (cosh_test_towardzero): Likewise.
56931         (cosh_test_downward): Likewise.
56932         (cosh_test_upward): Likewise.
56933         (sinh_test_tonearest): Likewise.
56934         (sinh_test_towardzero): Likewise.
56935         (sinh_test_downward): Likewise.
56936         (sinh_test_upward): Likewise.
56937         (main): Call the new functions.
56938         * sysdeps/i386/fpu/libm-test-ulps: Update.
56939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56941 2012-03-05  Tom de Vries  <tom@codesourcery.com>
56943         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
56944         default stack guard is set in last bytes.
56945         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
56947 2012-03-05  Kees Cook  <keescook@chromium.org>
56949         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
56951         [BZ #13656]
56952         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
56953         possibly allocate from heap instead of stack.
56954         * stdio-common/bug-vfprintf-nargs.c: New file.
56955         * stdio-common/Makefile (tests): Add nargs overflow test.
56957 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
56959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56961 2012-03-03  Marek Polacek  <polacek@redhat.com>
56963         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
56964         * math/math_private.h: Likewise.
56965         * stdlib/tst-strtod.c: Likewise.
56966         * sysdeps/i386/i486/bits/atomic.h: Likewise.
56967         * sysdeps/x86_64/bits/atomic.h: Likewise.
56969 2012-03-02  David S. Miller  <davem@davemloft.net>
56971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
56972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
56973         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
56974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
56975         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
56976         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
56977         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
56978         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
56980 2012-03-02  Roland McGrath  <roland@hack.frob.com>
56982         [BZ #13792]
56983         * manual/examples/README: New file, says the example source files
56984         can be used under GPL>=2.
56985         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
56986         line containing just "*/".
56987         * manual/examples/add.c: Add copyright header (GPL>=2).
56988         * manual/examples/argp-ex1.c: Likewise.
56989         * manual/examples/argp-ex2.c: Likewise.
56990         * manual/examples/argp-ex3.c: Likewise.
56991         * manual/examples/argp-ex4.c: Likewise.
56992         * manual/examples/atexit.c: Likewise.
56993         * manual/examples/db.c: Likewise.
56994         * manual/examples/dir.c: Likewise.
56995         * manual/examples/dir2.c: Likewise.
56996         * manual/examples/execinfo.c: Likewise.
56997         * manual/examples/filecli.c: Likewise.
56998         * manual/examples/filesrv.c: Likewise.
56999         * manual/examples/fmtmsgexpl.c: Likewise.
57000         * manual/examples/genpass.c: Likewise.
57001         * manual/examples/inetcli.c: Likewise.
57002         * manual/examples/inetsrv.c: Likewise.
57003         * manual/examples/isockad.c: Likewise.
57004         * manual/examples/longopt.c: Likewise.
57005         * manual/examples/memopen.c: Likewise.
57006         * manual/examples/memstrm.c: Likewise.
57007         * manual/examples/mkfsock.c: Likewise.
57008         * manual/examples/mkisock.c: Likewise.
57009         * manual/examples/mygetpass.c: Likewise.
57010         * manual/examples/pipe.c: Likewise.
57011         * manual/examples/popen.c: Likewise.
57012         * manual/examples/rprintf.c: Likewise.
57013         * manual/examples/search.c: Likewise.
57014         * manual/examples/select.c: Likewise.
57015         * manual/examples/setjmp.c: Likewise.
57016         * manual/examples/sigh1.c: Likewise.
57017         * manual/examples/sigusr.c: Likewise.
57018         * manual/examples/stpcpy.c: Likewise.
57019         * manual/examples/strdupa.c: Likewise.
57020         * manual/examples/strftim.c: Likewise.
57021         * manual/examples/strncat.c: Likewise.
57022         * manual/examples/subopt.c: Likewise.
57023         * manual/examples/swapcontext.c: Likewise.
57024         * manual/examples/termios.c: Likewise.
57025         * manual/examples/testopt.c: Likewise.
57026         * manual/examples/testpass.c: Likewise.
57027         * manual/examples/timeval_subtract.c: Likewise.
57029         [BZ #13792]
57030         * manual/time.texi (Elapsed Time): Move timeval_subtract example
57031         function to ...
57032         * manual/timeval_subtract.c.texi: ... here, new file.
57034 2012-03-02  David S. Miller  <davem@davemloft.net>
57036         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
57038 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
57040         [BZ #3976]
57041         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
57042         (__sin): Save and restore rounding mode and use round-to-nearest
57043         for all computations.
57044         (__cos): Save and restore rounding mode and use round-to-nearest
57045         for all computations.
57046         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
57047         <fenv.h>.
57048         (tan): Save and restore rounding mode and use round-to-nearest for
57049         all computations.
57050         * math/libm-test.inc (cos_test_tonearest): New function.
57051         (cos_test_towardzero): Likewise.
57052         (cos_test_downward): Likewise.
57053         (cos_test_upward): Likewise.
57054         (sin_test_tonearest): Likewise.
57055         (sin_test_towardzero): Likewise.
57056         (sin_test_downward): Likewise.
57057         (sin_test_upward): Likewise.
57058         (tan_test_tonearest): Likewise.
57059         (tan_test_towardzero): Likewise.
57060         (tan_test_downward): Likewise.
57061         (tan_test_upward): Likewise.
57062         (main): Call the new functions.
57063         * sysdeps/i386/fpu/libm-test-ulps: Update.
57064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57066         [BZ #10135]
57067         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
57068         small n, then large n, before computing and testing k+n.
57069         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57070         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
57071         Likewise.
57072         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
57073         Likewise.
57074         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
57075         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
57076         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
57077         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
57078         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
57079         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
57080         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
57081         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
57082         * math/libm-test.inc (scalbn_test): Add more tests.
57083         (scalbln_test): Likewise.
57085         * manual/filesys.texi (mode_t): Describe constraints on size and
57086         signedness, not exact equivalence to a particular type.
57087         (ino_t): Likewise.
57088         (ino64_t): Likewise.
57089         (dev_t): Likewise.
57090         (nlink_t): Likewise.
57091         (blkcnt_t): Likewise.
57092         (blkcnt64_t): Likewise.
57093         * manual/llio.texi (off_t): Likewise.
57095         [BZ #3976]
57096         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
57097         (__ieee754_exp): Save and restore rounding mode and use
57098         round-to-nearest for all computations.
57099         * math/libm-test.inc (exp_test_tonearest): New function.
57100         (exp_test_towardzero): Likewise.
57101         (exp_test_downward): Likewise.
57102         (exp_test_upward): Likewise.
57103         (main): Call the new functions.
57104         * sysdeps/i386/fpu/libm-test-ulps: Update.
57105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57107 2012-03-01  Chris Demetriou  <cgd@google.com>
57109         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
57110         have predictable order.
57112 2012-03-01  David S. Miller  <davem@davemloft.net>
57114         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
57116         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
57117         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
57118         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
57119         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
57121         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
57122         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
57123         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
57124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
57125         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
57126         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
57127         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
57128         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
57129         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
57131         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57133         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
57134         * sysdeps/sparc/fpu/libm-test-ulps: to here.
57135         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
57137         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
57138         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57139         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57140         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
57141         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
57142         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
57143         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
57144         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57145         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57146         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
57147         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
57148         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57149         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57150         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57151         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57152         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57153         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
57154         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
57155         * sysdeps/sparc/elf/configure: Regenerated.
57157 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
57159         * configure.in (AS, LD): Require binutils 2.20 or later.
57160         * configure: Regenerated.
57161         * manual/install.texi (Tools for Compilation): Give binutils 2.20
57162         as required minimum version.
57163         * INSTALL: Regenerated.
57165         [BZ #2541]
57166         [BZ #4108]
57167         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
57168         before squaring exponent.
57169         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
57170         bottom long double and 27 bits of top long double before squaring
57171         exponent.
57172         * math/libm-test.inc (erfc_test): Add more tests.
57173         * sysdeps/i386/fpu/libm-test-ulps: Update.
57174         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57177 2012-03-01  Kai Tietz  <ktietz@redhat.com>
57179         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
57180         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
57181         containing bit-fields.
57182         * soft-fp/extended.h (_FP_UNION_E): Likewise.
57183         * soft-fp/single.h (_FP_UNION_S): Likewise.
57184         * soft-fp/double.h (_FP_UNION_D): Likewise.
57186 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
57188         [BZ #13786]
57189         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
57190         not include ../strcmp.S.
57191         [USE_AS_STRNCASECMP_L]: Likewise.
57192         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
57193         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
57194         * sysdeps/i386/i686/multiarch/strncase_l-c.c
57195         (__strncasecmp_l_ia32): Define as alias to
57196         __strncasecmp_l_nonascii.
57198         [BZ #5794]
57199         * math/libm-test.inc (expm1_test): Add test for bug 5794.
57200         * sysdeps/i386/fpu/libm-test-ulps: Update.
57201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57203         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
57204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57206 2012-02-29  Jeff Law  <law@redhat.com>
57208         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
57209         out of bounds read.
57211 2012-02-29  Marek Polacek  <polacek@redhat.com>
57213         [BZ #13706]
57214         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
57215         * elf/Makefile: Add rules to run tst-unused-dep.out.
57217 2012-02-28  David S. Miller  <davem@davemloft.net>
57219         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
57220         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
57221         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
57222         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
57223         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
57224         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
57226 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
57228         * math/libm-test.inc (llround_test): Move one test from
57229         lround_test.  Use TEST_f_L in moved test.
57230         (lround_test): Move misplaced test to llround_test.  Add testcase
57231         from bug 2561.
57233 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
57235         * sysdeps/x86_64/fpu/e_expf.S: New file.
57236         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
57238 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
57240         [BZ #13637]
57241         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
57242         of remain_len that may cause incomplete multi-byte character and
57243         false match.
57244         * posix/bug-regex33.c: New file.
57245         * posix/Makefile (tests): Add bug-regex33.
57247 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
57249         * manual/macros.texi: New file.
57250         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
57251         * manual/libc.texinfo: Include macros.texi.
57252         * manual/creatute.texi: Likewise.
57253         * manual/install.texi: Likewise.
57254         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
57255         @glibcadj{} in references to the GNU C Library.
57256         * manual/charset.texi: Likewise.
57257         * manual/conf.texi: Likewise.
57258         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
57259         when not using those macros.
57260         * manual/creature.texi: Likewise.
57261         * manual/crypt.texi: Likewise.
57262         * manual/errno.texi: Likewise.
57263         * manual/filesys.texi: Likewise.
57264         * manual/header.texi: Likewise.
57265         * manual/install.texi: Likewise.
57266         * manual/intro.texi: Likewise.
57267         * manual/io.texi: Likewise.
57268         * manual/job.texi: Likewise.
57269         * manual/lang.texi: Likewise.
57270         * manual/libc.texiinfo: Likewise.
57271         * manual/llio.texi: Likewise.
57272         * manual/locale.texi: Likewise.
57273         * manual/maint.texi: Likewise.
57274         * manual/math.texi: Likewise.
57275         * manual/memory.texi: Likewise.
57276         * manual/message.texi: Likewise.
57277         * manual/nss.texi: Likewise.
57278         * manual/pattern.texi: Likewise.
57279         * manual/process.texi: Likewise.
57280         * manual/resource.texi: Likewise.
57281         * manual/search.texi: Likewise.
57282         * manual/setjmp.texi: Likewise.
57283         * manual/signal.texi: Likewise.
57284         * manual/socket.texi: Likewise.
57285         * manual/startup.texi: Likewise.
57286         * manual/stdio.texi: Likewise.
57287         * manual/string.texi: Likewise.
57288         * manual/sysinfo.texi: Likewise.
57289         * manual/syslog.texi: Likewise.
57290         * manual/terminal.texi: Likewise.
57291         * manual/time.texi: Likewise.
57292         * manual/users.texi: Likewise.
57293         * INSTALL: Regenerated.
57294         * NOTES: Regenerated.
57295         * sysdeps/gnu/errlist.c: Regenerated.
57297 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
57299         * include/dirent.h: Include <dirstream.h> before
57300         <dirent/dirent.h>.
57302 2012-02-28  David S. Miller  <davem@davemloft.net>
57304         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
57305         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
57306         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
57307         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
57309 2012-02-27  David S. Miller  <davem@davemloft.net>
57311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
57312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
57313         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
57314         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
57316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
57317         frame pointer instead of stack pointer relative arg slot.
57318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57319         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57320         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57322 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
57324         [BZ #3992]
57325         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
57327 2012-02-27  David S. Miller  <davem@davemloft.net>
57329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
57330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
57332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
57333         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57334         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57335         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
57336         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
57338 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
57340         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
57341         later.  Allow versions 5-9.
57342         * configure: Regenerated.
57343         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
57344         required minimum version and 4.6 as recommended version.  Do not
57345         mention bugs in GCC 2.7 and 2.8.
57346         * INSTALL: Regenerated.
57348 2012-02-27  David S. Miller  <davem@davemloft.net>
57350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
57351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
57352         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
57353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
57354         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
57355         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
57356         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
57357         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
57359         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
57360         manipulate bits before adding and subtracting TWO112[sx].
57361         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57363 2012-02-27  Roland McGrath  <roland@hack.frob.com>
57365         [BZ #13775]
57366         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
57367         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
57368         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
57369         being in POSIX, because they are in 1003.1-2008.
57371         * rt/tst-aio.c: Include <fcntl.h>.
57372         * rt/tst-aio7.c: Likewise.
57373         * rt/tst-aio64.c: Likewise.
57375         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
57377 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
57379         * manual/install.texi (--with-headers): Describe headers as
57380         interface headers, not private headers.
57381         (Specific advice for GNU/Linux systems): Describe use of headers
57382         from "make headers_install", not private headers from older
57383         kernels.
57384         * INSTALL: Regenerated.
57385         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
57386         Change to 2.6.19.
57387         * sysdeps/unix/sysv/linux/configure: Regenerated.
57389         * manual/llio.texi (fclean): Remove documentation.
57391         * manual/Makefile (libc-texi-generated): New variable.  Include
57392         version.texi.
57393         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
57394         $(libc-texi-generated), not duplicated list of files.
57395         (version.texi, stamp-version): New rules.
57396         (realclean): Remove $(libc-texi-generated), not individual files
57397         from that list.  Do not remove dir-add.texinfo.
57398         * manual/libc.texinfo: Comment out uses of edition numbers and
57399         references to printed manual.  Remove last-updated dates.
57400         (EDITION): Comment out.
57401         (ISBN): Likewise.
57402         (VERSION, UPDATED): Remove.
57403         (version.texi): Include.
57405 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
57407         * sysdeps/posix/spawni.c: Include <signal.h>.
57408         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
57409         * sysdeps/pthread/aio_fsync.c: Likewise.
57411 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
57413         * conform/Makefile (tests): Run only when not cross-compiling and
57414         when fast-check is not defined.
57416         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
57417         * conform/data/limits.h-data: Fixes for POSIX2008.
57418         * conform/run-conformtest.sh: Run all tests.
57419         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
57420         headers.
57421         * include/bits/dlfcn.h: Likewise.
57422         * include/langinfo.h: Likewise.
57423         * include/monetary.h: Likewise.
57424         * include/sys/poll.h: Likewise.
57426         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
57427         for __USE_GNU.
57428         * posix/spawn.h: Define __need_sigset_t.
57429         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
57430         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
57431         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
57432         to get sigevent_t only.
57433         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
57434         only for __USE_GNU.
57435         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57436         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57437         process_vm_writev only for __USE_GNU.
57438         * termios/termios.h: Declare tcgetsid also for POSIX2008.
57440         * conform/Makefile: For now ignore errors from run-conformtest.
57441         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
57442         POSIX to avoid namespace pollution.  Don't prepend headers.
57443         * conform/data/aio.h-data: Fixes for POSIX testing.
57444         * conform/data/fcntl.h-data: Likewise.
57445         * conform/data/glob.h-data: Likewise.
57446         * conform/data/grp.h-data: Likewise.
57447         * conform/data/pthread.h-data: Likewise.
57448         * conform/data/pwd.h-data: Likewise.
57449         * conform/data/signal.h-data: Likewise.
57450         * conform/data/spawn.h-data: Likewise.
57451         * conform/data/stdio.h-data: Likewise.
57452         * conform/data/stdlib.h-data: Likewise.
57453         * conform/data/stropts.h-data: Likewise.
57454         * conform/data/sys/mman.h-data: Likewise.
57455         * conform/data/sys/stat.h-data: Likewise.
57456         * conform/data/sys/types.h-data: Likewise.
57457         * conform/data/sys/wait.h-data: Likewise.
57458         * conform/data/time.h-data: Likewise.
57459         * conform/data/unistd.h-data: Likewise.
57460         * conform/data/utime.h-data: Likewise.
57462         * io/sys/stat.h: fchmod was always in POSIX.
57463         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
57464         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
57465         * rt/aio.h: Define __need_timespec before including <time.h>.
57466         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
57467         struct.  Add forward declaration of pthread_attr_t and use it in
57468         sigevent.
57469         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57470         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57471         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
57472         always remove CLK_TCK definition.
57474 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
57476         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
57478 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
57480         * conform/run-conformtest.sh: New file.
57481         * conform/Makefile: Run run-conformtest for tests.
57482         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
57483         support.
57485         * conform/data/uchar.h-data: New file.
57486         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
57487         * conform/data/arpa/inet.h-data: Likewise.
57488         * conform/data/assert.h-data: Likewise.
57489         * conform/data/complex.h-data: Likewise.
57490         * conform/data/cpio.h-data: Likewise.
57491         * conform/data/ctype.h-data: Likewise.
57492         * conform/data/dirent.h-data: Likewise.
57493         * conform/data/dlfcn.h-data: Likewise.
57494         * conform/data/errno.h-data: Likewise.
57495         * conform/data/fcntl.h-data: Likewise.
57496         * conform/data/float.h-data: Likewise.
57497         * conform/data/fmtmsg.h-data: Likewise.
57498         * conform/data/fnmatch.h-data: Likewise.
57499         * conform/data/ftw.h-data: Likewise.
57500         * conform/data/glob.h-data: Likewise.
57501         * conform/data/grp.h-data: Likewise.
57502         * conform/data/iconv.h-data: Likewise.
57503         * conform/data/inttypes.h-data: Likewise.
57504         * conform/data/langinfo.h-data: Likewise.
57505         * conform/data/libgen.h-data: Likewise.
57506         * conform/data/limits.h-data: Likewise.
57507         * conform/data/locale.h-data: Likewise.
57508         * conform/data/math.h-data: Likewise.
57509         * conform/data/monetary.h-data: Likewise.
57510         * conform/data/mqueue.h-data: Likewise.
57511         * conform/data/ndbm.h-data: Likewise.
57512         * conform/data/net/if.h-data: Likewise.
57513         * conform/data/netdb.h-data: Likewise.
57514         * conform/data/netinet/in.h-data: Likewise.
57515         * conform/data/nl_types.h-data: Likewise.
57516         * conform/data/poll.h-data: Likewise.
57517         * conform/data/pthread.h-data: Likewise.
57518         * conform/data/pwd.h-data: Likewise.
57519         * conform/data/regex.h-data: Likewise.
57520         * conform/data/sched.h-data: Likewise.
57521         * conform/data/search.h-data: Likewise.
57522         * conform/data/semaphore.h-data: Likewise.
57523         * conform/data/setjmp.h-data: Likewise.
57524         * conform/data/signal.h-data: Likewise.
57525         * conform/data/spawn.h-data: Likewise.
57526         * conform/data/stdarg.h-data: Likewise.
57527         * conform/data/stdio.h-data: Likewise.
57528         * conform/data/stdlib.h-data: Likewise.
57529         * conform/data/string.h-data: Likewise.
57530         * conform/data/strings.h-data: Likewise.
57531         * conform/data/stropts.h-data: Likewise.
57532         * conform/data/sys/ipc.h-data: Likewise.
57533         * conform/data/sys/mman.h-data: Likewise.
57534         * conform/data/sys/msg.h-data: Likewise.
57535         * conform/data/sys/resource.h-data: Likewise.
57536         * conform/data/sys/select.h-data: Likewise.
57537         * conform/data/sys/sem.h-data: Likewise.
57538         * conform/data/sys/shm.h-data: Likewise.
57539         * conform/data/sys/socket.h-data: Likewise.
57540         * conform/data/sys/stat.h-data: Likewise.
57541         * conform/data/sys/statvfs.h-data: Likewise.
57542         * conform/data/sys/time.h-data: Likewise.
57543         * conform/data/sys/timeb.h-data: Likewise.
57544         * conform/data/sys/times.h-data: Likewise.
57545         * conform/data/sys/types.h-data: Likewise.
57546         * conform/data/sys/uio.h-data: Likewise.
57547         * conform/data/sys/un.h-data: Likewise.
57548         * conform/data/sys/utsname.h-data: Likewise.
57549         * conform/data/sys/wait.h-data: Likewise.
57550         * conform/data/syslog.h-data: Likewise.
57551         * conform/data/tar.h-data: Likewise.
57552         * conform/data/termios.h-data: Likewise.
57553         * conform/data/utime.h-data: Likewise.
57554         * conform/data/utmpx.h-data: Likewise.
57555         * conform/data/varargs.h-data: Likewise.
57556         * conform/data/wchar.h-data: Likewise.
57557         * conform/data/wctype.h-data: Likewise.
57558         * conform/data/wordexp.h-data: Likewise.
57560         * include/stropts.h: New file.
57561         * include/uchar.h: New file.
57562         * include/aio.h: Changes to allow conformtest.pl to use the headers.
57563         * include/assert.h: Likewise.
57564         * include/ctype.h: Likewise.
57565         * include/dirent.h: Likewise.
57566         * include/dlfcn.h: Likewise.
57567         * include/fcntl.h: Likewise.
57568         * include/fnmatch.h: Likewise.
57569         * include/glob.h: Likewise.
57570         * include/grp.h: Likewise.
57571         * include/libio.h: Likewise.
57572         * include/locale.h: Likewise.
57573         * include/math.h: Likewise.
57574         * include/net/if.h: Likewise.
57575         * include/netdb.h: Likewise.
57576         * include/netinet/in.h: Likewise.
57577         * include/pthread.h: Likewise.
57578         * include/pwd.h: Likewise.
57579         * include/regex.h: Likewise.
57580         * include/sched.h: Likewise.
57581         * include/search.h: Likewise.
57582         * include/setjmp.h: Likewise.
57583         * include/signal.h: Likewise.
57584         * include/stdio.h: Likewise.
57585         * include/stdlib.h: Likewise.
57586         * include/string.h: Likewise.
57587         * include/sys/cdefs.h: Likewise.
57588         * include/sys/mman.h: Likewise.
57589         * include/sys/msg.h: Likewise.
57590         * include/sys/resource.h: Likewise.
57591         * include/sys/select.h: Likewise.
57592         * include/sys/socket.h: Likewise.
57593         * include/sys/stat.h: Likewise.
57594         * include/sys/statvfs.h: Likewise.
57595         * include/sys/time.h: Likewise.
57596         * include/sys/times.h: Likewise.
57597         * include/sys/uio.h: Likewise.
57598         * include/sys/utsname.h: Likewise.
57599         * include/sys/wait.h: Likewise.
57600         * include/termios.h: Likewise.
57601         * include/time.h: Likewise.
57602         * include/ulimit.h: Likewise.
57603         * include/unistd.h: Likewise.
57604         * include/utime.h: Likewise.
57605         * include/wchar.h: Likewise.
57606         * include/wctype.h: Likewise.
57607         * include/wordexp.h: Likewise.
57609         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
57611         * time/time.h: TIME_UTC must be a macro.
57612         Make timespec_get available for ISO C11 only as well.
57614 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
57616         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
57617         Reported by Peng Haitao <penght@cn.fujitsu.com>.
57619 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
57621         * configure.in: Use -o not -a in test for unsupported multi-arch.
57623 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
57625         * manual/texinfo.tex: Update to version 2012-01-19.16.
57627 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
57629         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
57631 2012-02-24  Roland McGrath  <roland@hack.frob.com>
57633         [BZ #13738]
57634         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
57635         * manual/fdl-1.3.texi: New file.
57636         * manual/fdl-1.1.texi: File removed.
57638         [BZ #13738]
57639         * manual/libc.texinfo (FDL_VERSION): New @set.
57640         Use it for mention of FDL in cover text.
57641         (Documentation License): Use it in @include file name.
57643 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
57644             Roland McGrath  <roland@hack.frob.com>
57646         [BZ #5461]
57647         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
57648         (not LONG_LONG_MAX and LONG_LONG_MIN.
57649         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
57650         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
57651         name.
57652         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
57654 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
57656         [BZ #2547]
57657         [BZ #11365]
57658         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
57659         manipulate bits before adding and subtracting TWO23[sx].
57660         * math/libm-test.inc (nearbyint_test): Add more tests.
57662 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
57664         [BZ #2548]
57665         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
57666         bits before adding and subtracting TWO23[sx].
57667         * math/libm-test.inc (rint_test): Add more tests.
57668         (rint_test_tonearest): Likewise.
57669         (rint_test_towardzero): Likewise.
57670         (rint_test_downward): Likewise.
57671         (rint_test_upward: Likewise.
57673 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
57675         [BZ #10110]
57676         * include/stdc-predef.h: New file.  Extracted from features.h.
57677         * include/features.h: Include stdc-predef.h.
57678         * Makefile (headers): Add stdc-predef.h.
57679         * CONFORMANCE (Compiler limitations): Update.
57681 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
57683         * manual/libc.texinfo (VERSION, UPDATED): Revert.
57685 2012-02-21  David S. Miller  <davem@davemloft.net>
57687         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
57688         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57690 2012-02-20  David S. Miller  <davem@davemloft.net>
57692         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
57693         using a normal save/restore sequence, rather than allocating a
57694         dummy stack frame just to store a frame pointer and restore.
57695         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57697 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
57699         * manual/install.texi: Fix stray word in line-wrapped comment.
57701 2012-02-20  David S. Miller  <davem@davemloft.net>
57703         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
57704         both binutils and gcc support GOTDATA.
57706         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
57707         "rd %pc" in the PIC register setup sequences.
57709         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
57710         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
57711         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57712         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
57713         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57714         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
57715         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57716         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57717         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
57718         (SYSCALL_ERROR_HANDLER): Likewise.
57719         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57720         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57721         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
57722         (SYSCALL_ERROR_HANDLER): Likewise.
57724         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
57725         (HAVE_GCC_GOTDATA): New.
57726         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
57727         relocation support in both binutils and gcc.
57728         * sysdeps/sparc/elf/configure: Regenerate.
57730         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
57731         * sysdeps/sparc/sparc32/elf/configure: Delete.
57732         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
57733         * sysdeps/sparc/sparc64/elf/configure: Delete.
57734         * sysdeps/sparc/elf/configure.in: New file.
57735         * sysdeps/sparc/elf/configure: Generate.
57737         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
57738         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
57739         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57740         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
57741         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
57743 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
57745         * manual/install.texi: Do not mention specific glibc version
57746         numbers.
57747         * manual/libc.texinfo (VERSION, UPDATED): Update.
57748         (@copying): Use @copyright{} and range of years.
57750 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
57752         [BZ #13695]
57753         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
57754         [crti.S not in sysdirs] (generated): Do not append.
57755         [crti.S not in sysdirs] (omit-deps): Likewise.
57756         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
57757         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
57758         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
57759         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
57760         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
57761         Likewise.
57762         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
57763         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
57764         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
57765         * csu/defs.awk: Remove file.
57766         * sysdeps/generic/initfini.c: Likewise.
57767         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
57768         variable.
57769         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
57770         Likewise.
57772 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
57774         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
57775         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
57776         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
57777         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
57778         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57779         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
57780         <bits/epoll.h>.
57781         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
57782         (__EPOLL_PACKED): Define to empty if not defined by
57783         <bits/epoll.h>.
57784         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
57785         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57786         bits/epoll.h.
57788 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
57790         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
57791         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
57792         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
57793         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
57794         <bits/timerfd.h>.
57795         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
57796         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57797         bits/timerfd.h.
57799 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
57801         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
57802         in C locale.
57803         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57804         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57805         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
57806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57808 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
57810         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57811         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57813 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
57815         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
57816         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
57817         defined.
57818         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
57819         Likewise.
57820         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
57821         entry for 2.16.
57823 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
57825         * math/w_acos.c: Use non-signaling floating-point comparisons.
57826         * math/w_acosf.c: Likewise.
57827         * math/w_acosh.c: Likewise.
57828         * math/w_acoshf.c: Likewise.
57829         * math/w_acoshl.c: Likewise.
57830         * math/w_acosl.c: Likewise.
57831         * math/w_asin.c: Likewise.
57832         * math/w_asinf.c: Likewise.
57833         * math/w_asinl.c: Likewise.
57834         * math/w_atanh.c: Likewise.
57835         * math/w_atanhf.c: Likewise.
57836         * math/w_atanhl.c: Likewise.
57837         * math/w_exp2.c: Likewise.
57838         * math/w_exp2f.c: Likewise.
57839         * math/w_exp2l.c: Likewise.
57840         * math/w_j0.c: Likewise.
57841         * math/w_j0f.c: Likewise.
57842         * math/w_j0l.c: Likewise.
57843         * math/w_j1.c: Likewise.
57844         * math/w_j1f.c: Likewise.
57845         * math/w_j1l.c: Likewise.
57846         * math/w_jn.c: Likewise.
57847         * math/w_jnf.c: Likewise.
57848         * math/w_log.c: Likewise.
57849         * math/w_log10.c: Likewise.
57850         * math/w_log10f.c: Likewise.
57851         * math/w_log10l.c: Likewise.
57852         * math/w_log2.c: Likewise.
57853         * math/w_log2f.c: Likewise.
57854         * math/w_log2l.c: Likewise.
57855         * math/w_logf.c: Likewise.
57856         * math/w_logl.c: Likewise.
57857         * math/w_sqrt.c: Likewise.
57858         * math/w_sqrtf.c: Likewise.
57859         * math/w_sqrtl.c: Likewise.
57860         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57861         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
57862         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57863         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57864         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57866 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
57868         [BZ #9739]
57869         * manual/string.texi (strnlen): Use correct parameter name in
57870         equivalent expression.
57872 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
57874         [BZ #11174]
57875         * manual/users.texi (seteuid): Consistently use neweuid for
57876         argument name.
57878 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
57880         [BZ #13704]
57881         * manual/nss.texi (Services in the NSS configuration): Correct
57882         list of services in example configuration file.
57884 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
57886         [BZ #11322]
57887         * manual/arith.texi: Remove statements about negative zero
57888         behaving identically to zero.
57890 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
57892         [BZ #5993]
57893         * manual/install.texi: Do not document upgrading from libc5.
57895 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
57897         [BZ #4596]
57898         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
57900 2012-02-18  David S. Miller  <davem@davemloft.net>
57902         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
57903         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
57904         %o7 across the call.
57905         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
57906         instead.
57907         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
57908         SETUP_PIC_REG_LEAF.
57909         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57910         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
57911         * sysdeps/sparc/crtn.S: Likewise.
57913 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
57915         * aout/Makefile: Remove.
57917 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
57919         [BZ #13058]
57920         * manual/examples/argp-ex1.c (main): Format definition in GNU
57921         style.
57922         * manual/examples/argp-ex2.c (main): Likewise.
57923         * manual/examples/argp-ex3.c (main): Likewise.
57924         * manual/examples/argp-ex4.c (main): Likewise.
57925         * manual/examples/longopt.c (main): Use new-style prototype
57926         definition.
57927         * manual/examples/strncat.c (main): Specify return type and use
57928         (void) for arguments.
57929         * manual/examples/subopt.c (main): Use char **argv argument.
57931 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
57933         [BZ #5077]
57934         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
57935         rounding modes.
57937 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
57939         [BZ #6907]
57940         * manual/string.texi (strchr): Change when strchrnul is
57941         recommended.
57943 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
57945         [BZ #174]
57946         * manual/locale.texi (setlocale): Document LOCPATH.
57948 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
57950         [BZ #10210]
57951         * manual/process.texi (execle): Move @dots{} before last argument.
57953 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
57955         [BZ #12047]
57956         * manual/charset.texi (Generic Charset Conversion): Fix typo
57957         (LC_TYPE -> LC_CTYPE).
57959 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
57961         [BZ #5805]
57962         * manual/arith.texi (scalbn): Use @var{} on parameter names.
57963         (scalbnf): Likewise.
57964         (scalbnl): Likewise.
57965         (scalbln): Likewise.
57966         (scalblnf): Likewise.
57967         (scalblnl): Likewise.
57968         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
57969         (vwarnx): Likewise.
57970         (verr): Likewise.
57971         (verrx): Likewise.
57972         * manual/filesys.texi (telldir): Use braces around return type.
57973         * manual/llio.texi (mmap): Add space after comma.
57974         (mmap64): Likewise.
57975         * manual/math.texi (jn): Use @var{} on parameter names.
57976         (jnf): Likewise.
57977         (jnl): Likewise.
57978         (yn): Likewise.
57979         (ynf): Likewise.
57980         (ynl): Likewise.
57981         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
57982         line.
57983         * manual/resource.texi (ulimit): Use @dots{} instead of literal
57984         "...".
57985         (sched_get_priority_min): Remove semicolon on @deftypefun line.
57986         (sched_get_priority_max): Likewise.
57987         * manual/signal.texi (sigvec): Add space after comma.
57988         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
57989         names.
57990         (if_indextoname): Likewise.
57991         (if_freenameindex): Likewise.
57992         (sendto): Use ',' instead of '.' in prototype.
57993         * manual/startup.texi (syscall): Use @dots{} instead of literal
57994         "...".
57995         * manual/stdio.texi (__fpending): Separate initial words of
57996         paragraph from @deftypefun line.
57997         * manual/syslog.texi (syslog): Use @dots{} instead of literal
57998         "...".
57999         (vsyslog): Use @var{} on parameter names.
58000         * manual/terminal.texi (stty): Use @var{} on parameter names.
58001         * manual/users.texi (getutmp): Use @var{} on parameter names.
58002         (getutmpx): Likewise.
58004 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58006         [BZ #6884]
58007         * manual/stdio.texi (fopen): Fix typos in description of
58008         ",ccs=STRING".
58010 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
58012         [BZ #4026]
58013         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
58014         get clock_id definition.
58016 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
58018         [BZ #4822]
58019         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
58020         (madvise): Cast every argument to void on its own.
58022 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58024         [BZ #9902]
58025         * manual/startup.texi (Exit Status): Fix typo.
58027 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58029         [BZ #10140]
58030         * manual/examples/argp-ex1.c: Include <stdlib.h>.
58031         * manual/examples/argp-ex2.c: Likewise.
58032         * manual/examples/argp-ex3.c: Likewise.
58034 2012-02-16  Richard Henderson  <rth@redhat.com>
58036         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
58037         * sysdeps/s390/s390-32/initfini.c: Remove.
58038         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
58039         * sysdeps/s390/s390-64/initfini.c: Remove.
58041 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58043         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
58044         compiler output for sysdeps/generic/initfini.c.
58045         * sysdeps/sh/elf/initfini.c: Remove file.
58047 2012-02-16  David S. Miller  <davem@davemloft.net>
58049         [BZ #11494]
58050         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
58052         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
58053         * sysdeps/sparc/crti.S: New file.
58054         * sysdeps/sparc/crtn.S: New file.
58055         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
58056         * sysdeps/sparc/sparc64/Makefile: Likewise.
58058 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
58060         [BZ #3335]
58061         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
58063 2012-02-15  Roland McGrath  <roland@hack.frob.com>
58065         [BZ #4822]
58066         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
58068         * mach/devstream.c (cookie_io_functions_t): Macro removed.
58069         (write, read, close): Likewise.
58070         Patch by Aurelien Jarno <aurelien@aurel32.net>.
58072 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
58074         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
58075         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
58076         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
58077         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
58078         <bits/signalfd.h>.
58079         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
58080         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58081         bits/signalfd.h.
58083 2012-02-14  Marek Polacek  <polacek@redhat.com>
58085         * sysdeps/x86_64/crti.S: New file.
58086         * sysdeps/x86_64/crtn.S: New file.
58087         * sysdeps/x86_64/elf/initfini.c: Remove file.
58089 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
58091         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
58092         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
58093         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
58094         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
58095         <bits/inotify.h>.
58096         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
58097         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58098         bits/inotify.h.
58100 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
58102         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
58103         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
58104         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
58105         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
58106         <bits/eventfd.h>.
58107         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
58108         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58109         bits/eventfd.h.
58111 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
58113         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
58114         __feraiseexcept instead of feraiseexcept.
58116         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
58117         nanosleep invocations.
58118         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
58119         strings, and add error checking for a nanosleep invocations.
58121 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
58123         Replace FSF snail mail address with URLs, as per GNU coding standards.
58124         Most of the snail mail addresses were wrong anyway, and omitting
58125         them makes the source code easier to maintain.  Almost all of the
58126         changes are to license notices and to locale LC_IDENTIFICATION
58127         addresses, except for this one:
58128         * manual/libc.texinfo: In "Published by", give the FSF's URL,
58129         not its snail mail address.
58131 2012-02-09  Richard Henderson  <rth@twiddle.net>
58133         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
58134         of kernel-features.h.
58136         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
58138 2012-02-08  Marek Polacek  <polacek@redhat.com>
58140         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
58141         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
58142         * sysdeps/gnu/_G_config.h: Likewise.
58143         * sysdeps/generic/_G_config.h: Likewise.
58145 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
58147         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
58148         tests.
58149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58151         * sysdeps/powerpc/powerpc32/crti.S: New file.
58152         * sysdeps/powerpc/powerpc32/crtn.S: New file.
58153         * sysdeps/powerpc/powerpc64/crti.S: New file.
58154         * sysdeps/powerpc/powerpc64/crtn.S: New file.
58156         * Makeconfig (have-initfini): Don't set.
58157         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
58158         * configure.in (nopic_initfini): Don't substitute.
58159         * config.h.in (HAVE_INITFINI): Don't #undef.
58160         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
58161         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
58163 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
58165         Support crti.S and crtn.S provided directly by architectures.
58166         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
58167         [crti.S in sysdirs] (omit-deps): Likewise.
58168         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
58169         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
58170         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
58171         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
58172         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
58173         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
58174         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
58175         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
58176         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
58177         compiler output for sysdeps/generic/initfini.c.
58178         * sysdeps/i386/elf/Makefile: Remove file.
58179         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
58181 2012-02-07  Marek Polacek  <polacek@redhat.com>
58183         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
58184         * sysdeps/gnu/_G_config.h: Likewise.
58185         * sysdeps/mach/hurd/_G_config.h: Likewise.
58187 2012-02-07  Marek Polacek  <polacek@redhat.com>
58189         * math/Makefile (tests): Add tst-CMPLX2.
58190         * math/tst-CMPLX2.c: New file.
58192 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
58194         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58196         * math/libm-test.inc (jn_test): Add missing L suffix.
58198 2012-02-06  Marek Polacek  <polacek@redhat.com>
58200         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
58201         * sysdeps/i386/fpu/e_powf.S: Likewise.
58202         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58203         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
58204         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58205         * sysdeps/i386/fpu/e_pow.S: Likewise.
58206         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58207         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58208         * sysdeps/i386/fpu/s_expm1.S: Likewise.
58209         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58210         * sysdeps/i386/fpu/e_log2.S: Likewise.
58211         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58212         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58213         * sysdeps/i386/fpu/e_powl.S: Likewise.
58214         * sysdeps/i386/fpu/s_log1p.S: Likewise.
58215         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58216         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58217         * sysdeps/i386/fpu/e_logl.S: Likewise.
58218         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58219         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
58220         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58221         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58222         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58223         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58224         * sysdeps/i386/fpu/e_log.S: Likewise.
58225         * sysdeps/i386/fpu/s_cexp.S: Likewise.
58226         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58227         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
58228         * sysdeps/i386/fpu/e_logf.S: Likewise.
58229         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58230         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58231         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
58232         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58233         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
58234         * sysdeps/i386/fpu/e_log10.S: Likewise.
58235         * sysdeps/i386/fpu/s_frexp.S: Likewise.
58236         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58237         * sysdeps/i386/fpu/s_asinh.S: Likewise.
58238         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58239         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58240         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58241         * sysdeps/i386/asm-syntax.h: Likewise.
58242         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58243         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58244         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58245         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
58246         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
58247         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58248         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58249         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58250         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58251         * sysdeps/powerpc/sysdep.h: Likewise.
58252         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
58253         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58255 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
58257         [BZ #411]
58258         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
58260 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
58262         * sysdeps/i386/sysdep.h: Include <features.h>.
58263         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
58264         version.
58266 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
58268         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
58269         Define.
58270         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
58271         LOAD_PIC_REG_STR.
58273 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
58275         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
58276         (SETUP_PIC_REG): Use GET_PC_THUNK.
58277         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
58278         macro.
58280 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
58282         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
58283         for non-PIC compilation.
58284         (SETUP_PIC_REG): Add .p2align directive.
58285         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
58286         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
58287         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58288         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58289         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58290         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58291         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
58292         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58293         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58294         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58295         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58296         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58297         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58298         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58299         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58300         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58301         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58302         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58303         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58304         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58305         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58306         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58307         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58308         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58309         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58310         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58311         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58312         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58313         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58314         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58315         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58316         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58317         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58318         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58319         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58320         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58321         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58322         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58323         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58324         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58325         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58327 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
58329         * math/tst-CMPLX.c: Include <stdio.h>.
58331 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
58333         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
58334         float.
58335         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58336         * sysdeps/sparc/bits/mathdef.h: Likewise.
58338 2012-01-31  Marek Polacek  <polacek@redhat.com>
58340         * libio/libio.h: Don't define _PARAMS.
58341         * locale/programs/config.h: Don't define PARAMS.
58342         * stdlib/strtol_l.c: Likewise.
58343         (__strtol_l): Remove PARAMS from the prototype.
58345 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
58347         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
58348         names.  Just use the correct names.  Remove unnecessary wrapper
58349         functions.
58350         * malloc/arena.c: Likewise.
58351         * malloc/hooks.c: Likewise.
58353         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
58354         ARENA_TEST says not to.  Simplify test for creation of a new arena.
58355         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
58357 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
58359         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
58360         into tail calls.
58361         (update_get_addr): New function.
58362         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
58363         GET_ADDR_MODULE parameter.
58365 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
58367         * crypt/cert.c: Remove __STDC__ conditionals.
58368         * crypt/crypt-entry.c: Likewise.
58369         * crypt/crypt_util.c: Likewise.
58370         * libio/filedoalloc.c: Likewise.
58371         * libio/fileops.c: Likewise.
58372         * libio/genops.c: Likewise.
58373         * libio/iofclose.c: Likewise.
58374         * libio/iofdopen.c: Likewise.
58375         * libio/iofopen.c: Likewise.
58376         * libio/iofopen64.c: Likewise.
58377         * libio/iogetdelim.c: Likewise.
58378         * libio/iopopen.c: Likewise.
58379         * libio/obprintf.c: Likewise.
58380         * libio/oldfileops.c: Likewise.
58381         * libio/oldiofclose.c: Likewise.
58382         * libio/oldiofdopen.c: Likewise.
58383         * libio/oldiofopen.c: Likewise.
58384         * libio/oldiopopen.c: Likewise.
58385         * libio/wfiledoalloc.c: Likewise.
58386         * libio/wgenops.c: Likewise.
58387         * locale/programs/xmalloc.c: Likewise.
58388         * misc/syslog.c: Likewise.
58389         * stdio-common/xbug.c: Likewise.
58390         * string/memchr.c: Likewise.
58391         * string/memcmp.c: Likewise.
58392         * string/memrchr.c: Likewise.
58393         * string/rawmemchr.c: Likewise.
58394         * sysdeps/posix/getcwd.c: Likewise.
58395         * time/strftime_l.c: Likewise.
58397 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
58399         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
58400         * config.make.in (config-cflags-sse2avx): Define.
58401         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
58402         Fix typo.
58404 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
58406         * scripts/config.guess: Update from upstream config git repository.
58407         * scripts/config.sub: Likewise.
58409 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
58411         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
58412         (EM_NUM): Update.
58413         (R_TILEPRO_*, R_TILEGX_*): New macros.
58415         * scripts/firstversions.awk: Fix bug in version range handling.
58417         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
58419         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
58421         * include/sys/epoll.h: New file.
58422         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
58423         libc_hidden_def.
58425 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
58427         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
58428         Avoid unnecessary __WORDSIZE == 64 test.
58429         (fmaxf): Use VEX format if possible.
58430         (fmax): Likewise.
58431         (fminf): Likewise.
58432         (fmin): Likewise.
58434         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
58435         * math/math_private.h: Remove libc_fegetround* and
58436         libc_fesetround*.
58437         * sysdeps/i386/configure.in: Check for -msse2avx.
58438         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
58439         also if SSE2AVX is defined.
58440         Remove libc_fegetround* and libc_fesetround*.
58441         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
58442         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
58443         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
58444         of HAS_YMM_USABLE.
58445         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58446         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58447         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58448         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58449         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58451         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
58453 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58455         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
58456         size is not set.
58457         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58459 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
58461         [BZ #13618]
58462         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
58463         relocation.
58464         * Makeconfig (libm): Define.
58465         * elf/Makefile: Add rules to build and run tst-relsort1.
58466         * elf/tst-relsort1.c: New file.
58467         * elf/tst-relsort1mod1.c: New file.
58468         * elf/tst-relsort1mod2.c: New file.
58470 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
58472         * math/s_ldexp.c: Remove __STDC__ conditionals.
58473         * math/s_ldexpf.c: Likewise.
58474         * math/s_ldexpl.c: Likewise.
58475         * math/s_nextafter.c: Likewise.
58476         * math/s_nexttowardf.c: Likewise.
58477         * math/s_significand.c: Likewise.
58478         * math/s_significandf.c: Likewise.
58479         * math/s_significandl.c: Likewise.
58480         * math/w_jnl.c: Likewise.
58481         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
58482         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
58483         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
58484         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
58485         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
58486         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58487         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
58488         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58489         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58490         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58491         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58492         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58493         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58494         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
58495         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58496         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58497         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58498         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58499         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58500         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58501         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58502         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58503         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58504         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58505         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58506         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58507         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58508         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58509         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
58510         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58511         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58512         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
58513         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58514         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
58515         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
58516         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58517         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
58518         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
58519         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
58520         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
58521         * sysdeps/ieee754/k_standard.c: Likewise.
58522         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58523         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58524         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
58525         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
58526         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
58527         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
58528         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58529         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
58530         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
58531         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
58532         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
58533         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
58534         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
58535         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
58536         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
58537         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
58538         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
58539         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58540         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58541         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
58542         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58543         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58544         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
58545         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
58546         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58547         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
58548         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58549         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58550         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58551         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
58552         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
58553         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
58554         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
58555         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
58556         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
58557         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
58558         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
58559         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
58560         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
58561         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
58562         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
58563         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
58564         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
58565         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
58566         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
58567         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
58568         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
58569         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58570         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
58571         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
58572         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
58573         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58574         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58575         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
58576         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
58577         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
58578         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
58579         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58580         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58581         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58582         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
58583         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
58584         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
58585         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58586         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
58587         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
58588         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
58589         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
58590         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
58591         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
58592         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
58593         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
58594         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
58595         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
58596         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
58597         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
58598         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
58599         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
58600         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
58601         * sysdeps/ieee754/s_matherr.c: Likewise.
58602         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
58603         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
58604         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58605         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58607 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
58609         * crypt/md5.h: Remove __STDC__ conditionals.
58610         * libio/libioP.h: Likewise.
58611         * locale/programs/config.h: Likewise.
58612         * sysdeps/generic/sysdep.h: Likewise.
58613         * sysdeps/i386/asm-syntax.h: Likewise.
58614         * sysdeps/s390/asm-syntax.h: Likewise.
58615         * sysdeps/unix/sysdep.h: Likewise.
58616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
58617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58619 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
58621         * libio/libio.h: Remove __STDC__ conditionals.
58622         * malloc/obstack.h: Likewise.
58623         * math/complex.h: Likewise.
58624         * math/math.h: Likewise.
58625         * sysdeps/generic/_G_config.h: Likewise.
58626         * sysdeps/gnu/_G_config.h: Likewise.
58627         * sysdeps/mach/hurd/_G_config.h: Likewise.
58628         * sysdeps/powerpc/bits/mathdef.h: Likewise.
58629         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58630         * sysdeps/sparc/bits/mathdef.h: Likewise.
58632 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
58634         [BZ #13583]
58635         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
58636         Clean up HAS_* macros.
58637         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
58638         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
58639         possible.
58640         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
58641         HAS_AVX.
58642         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58643         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58644         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58645         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58646         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58648 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
58650         * elf/tst-unique3.cc (gets): Remove declaration.
58651         * elf/tst-unique3lib.cc (gets): Likewise.
58652         * elf/tst-unique3lib2.cc (gets): Likewise.
58653         * elf/tst-unique4.cc (gets): Likewise.
58655 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
58657         * include/stdio.h: Add C++ protection.  Add gets declarations and
58658         definitions.
58659         * debug/tst-chk1.c: Don't declare gets here.
58660         * stdio-common/tst-gets.c: Likewise.
58662 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
58664         * posix/glob: Remove directory.
58666 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
58668         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
58670 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
58672         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
58673         of the non-standard EPFNOSUPPORT.
58675 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58677         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
58678         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
58679         ANYWHERE set to 1 only on KERN_NO_SPACE error.
58681 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
58683         * wcsmbs/uchar.h: Test __STDC_VERSION__.
58685 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
58687         * nscd/aicache.c (addhstaiX): Do not cache negative results of
58688         transient errors.
58689         * nscd/grpcache.c (cache_addgr): Likewise.
58690         * nscd/hstcache.c (cache_addhst): Likewise.
58691         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58692         * nscd/pwdcache.c (cache_addpw): Likewise.
58693         * nscd/servicescache.c (cache_addserv): Likewise.
58695 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
58697         * malloc/malloc.c: Various cleanups.
58698         * malloc/hooks.c: Likewise.
58700         * stdlib/Makefile (tests): Add bug-fmtmsg1.
58701         * stdlib/bug-fmtmsg1.c: New file.
58703         * stdlib/fmtmsg.c (init): Add missing unlock.
58704         Patch by Peng Haitao <penght@cn.fujitsu.com>.
58706 2012-01-12  Marek Polacek  <polacek@redhat.com>
58708         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
58709         and _GNU_SOURCE.
58711 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
58713         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
58714         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
58715         macro to ensure uniqueness of label name.
58716         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58717         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58719 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
58721         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
58723         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
58724         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
58725         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
58726         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
58728 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
58730         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
58732         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
58733         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
58734         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
58736         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
58738         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
58739         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
58740         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58741         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
58743         * math/bits/math-finite.h: Add ldexp support.
58745 2012-01-10  Marek Polacek  <polacek@redhat.com>
58747         * locale/programs/localedef.h (show_archive_content): Add noreturn
58748         attribute.
58750 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
58752         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
58754 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
58756         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
58758         * io/Makefile (headers): Add bits/poll2.h.
58760 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
58762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
58763         typo #include statement.
58765 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
58767         * include/sys/cdefs.h: Define __attribute_alloc_size.
58768         * catgets/gencat.c: Add alloc_size attribute and apply consistently
58769         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
58770         * elf/pldd.c: Likewise.
58771         * iconv/iconv_charmap.c: Likewise.
58772         * iconv/iconvconfig.c: Likewise.
58773         * iconv/strtab.c: Likewise.
58774         * locale/programs/locale.c: Likewise.
58775         * locale/programs/localedef.h: Likewise.
58776         * locale/programs/simple-hash.c: Likewise.
58777         * nscd/nscd.h: Likewise.
58778         * nss/makedb.c: Likewise.
58779         * sysdeps/generic/ldconfig.h: Likewise.
58780         * locale/programs/localedef.c: Remove xmalloc prototype.
58781         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
58783 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
58785         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
58786         appropriate.
58788 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
58790         * math/Makefile (tests): Add tst-CMPLX.
58791         * math/tst-CMPLX.c: New file.
58793         * math/complex.h (CMPLXL): Fix typo.
58795         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
58796         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
58797         GLIBC_2.16.
58798         * debug/tst-chk1.c: Add poll and ppoll tests.
58799         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
58800         * include/sys/poll.h: Add hidden proto for ppoll.
58801         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
58802         * sysdeps/mach/hurd/ppoll.c: Likewise.
58803         * io/ppoll.c: Likewise.
58804         * debug/poll_chk.c: New file.
58805         * debug/ppoll_chk.c: New file.
58806         * include/bits/poll2.h: New file.
58807         * io/bits/poll2.h: New file.
58809         [BZ #1350]
58810         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
58812         * configure.in: static is always set to yes.  Remove.
58813         * config.make.in: Don't set build-static.
58814         * Makeconfig: Remove use of build-static.
58815         * dlfcn/Makefile: Likewise.
58816         * elf/Makefile: Likewise.
58817         * math/Makefile: Likewise.
58818         * misc/Makefile: Likewise.
58819         * nptl/Makefile: Likewise.
58820         * sysdeps/mach/hurd/Makefile: Likewise.
58822         * configure.in: PWD_P is not used anymore.
58823         * config.make.in: Remove PWD_P entry.
58825         * configure.in: Remove last remnants of RANLIB.
58826         No need to check for signed size_t anymore.
58827         Don't set libc_commonpagesize and libc_relro_required here for Alpha
58828         and IA-64.
58829         Remove __builtin_expect test because we require at least gcc 3.4.
58830         * aclocal.m4: Likewise.
58832         * wcsmbs/mbrtoc16.c: Implement using towc function.
58833         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
58834         * wcsmbs/wcsmbsload.c: Likewise.
58835         * iconv/gconv_simple.c: Likewise.
58836         * iconv/gconv_int.h: Likewise.
58837         * iconv/gconv_builtin.h: Likewise.
58838         * iconv/iconv_prog.c: Remove CHAR16 handling.
58840         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
58842         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
58844         * configure.in: Remove --with-elf and --enable-bounded options.
58845         Dont set base_machine for ia64.  More non-ELF conditions removed.
58846         Remove testing and setting of leading underscore information.
58847         * config.make.in (build-bounded): Set to no.
58848         * config.h.in: Remove NO_UNDERSCORES entry.
58849         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
58850         them.
58851         * csu/start.c: Remove !NO_UNDERSCORE code.
58852         * locale/localeinfo.h: Likewise.
58853         * sysdeps/generic/machine-gmon.h: Likewise.
58854         * sysdeps/generic/sysdep.h: Likewise.
58855         * sysdeps/i386/sysdep.h: Likewise.
58856         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58857         * sysdeps/mach/sysdep.h: Likewise.
58858         * sysdeps/s390/s390-32/sysdep.h: Likewise.
58859         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58860         * sysdeps/sh/sysdep.h: Likewise.
58861         * sysdeps/sparc/sparc32/alloca.S: Likewise.
58862         * sysdeps/unix/i386/sysdep.S: Likewise.
58863         * sysdeps/unix/sparc/start.c: Likewise.
58864         * sysdeps/unix/sparc/sysdep.S: Likewise.
58865         * sysdeps/unix/sparc/sysdep.h: Likewise.
58866         * sysdeps/unix/start.c: Likewise.
58867         * sysdeps/unix/x86_64/sysdep.S: Likewise.
58868         * sysdeps/x86_64/sysdep.h: Likewise.
58870 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
58872         [BZ #13553]
58873         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
58874         for non-gcc.
58875         * argp/argp-fmtstream.h: Use const instead __const.
58876         * argp/argp.h: Likewise.
58877         * assert/assert.h: Likewise.
58878         * bits/fenv.h: Likewise.
58879         * bits/sched.h: Likewise.
58880         * bits/sigset.h: Likewise.
58881         * bits/sigthread.h: Likewise.
58882         * catgets/nl_types.h: Likewise.
58883         * conform/data/pthread.h-data: Likewise.
58884         * crypt/crypt-private.h: Likewise.
58885         * crypt/crypt.h: Likewise.
58886         * crypt/crypt_util.c: Likewise.
58887         * ctype/ctype.h: Likewise.
58888         * debug/execinfo.h: Likewise.
58889         * debug/mbsnrtowcs_chk.c: Likewise.
58890         * debug/mbsrtowcs_chk.c: Likewise.
58891         * debug/wcsnrtombs_chk.c: Likewise.
58892         * debug/wcsrtombs_chk.c: Likewise.
58893         * debug/wcstombs_chk.c: Likewise.
58894         * dirent/dirent.h: Likewise.
58895         * dlfcn/dlfcn.h: Likewise.
58896         * elf/neededtest4.c: Likewise.
58897         * grp/grp.h: Likewise.
58898         * gshadow/gshadow.h: Likewise.
58899         * iconv/gconv.h: Likewise.
58900         * iconv/gconv_int.h: Likewise.
58901         * iconv/gconv_simple.c: Likewise.
58902         * iconv/iconv.h: Likewise.
58903         * iconv/loop.c: Likewise.
58904         * iconv/skeleton.c: Likewise.
58905         * include/aio.h: Likewise.
58906         * include/aliases.h: Likewise.
58907         * include/argz.h: Likewise.
58908         * include/arpa/inet.h: Likewise.
58909         * include/assert.h: Likewise.
58910         * include/dirent.h: Likewise.
58911         * include/dlfcn.h: Likewise.
58912         * include/execinfo.h: Likewise.
58913         * include/fcntl.h: Likewise.
58914         * include/fenv.h: Likewise.
58915         * include/glob.h: Likewise.
58916         * include/grp.h: Likewise.
58917         * include/libintl.h: Likewise.
58918         * include/mntent.h: Likewise.
58919         * include/netdb.h: Likewise.
58920         * include/pwd.h: Likewise.
58921         * include/rpc/netdb.h: Likewise.
58922         * include/sched.h: Likewise.
58923         * include/search.h: Likewise.
58924         * include/shadow.h: Likewise.
58925         * include/signal.h: Likewise.
58926         * include/stdio.h: Likewise.
58927         * include/stdlib.h: Likewise.
58928         * include/string.h: Likewise.
58929         * include/sys/socket.h: Likewise.
58930         * include/sys/stat.h: Likewise.
58931         * include/sys/statfs.h: Likewise.
58932         * include/sys/statvfs.h: Likewise.
58933         * include/sys/syslog.h: Likewise.
58934         * include/sys/time.h: Likewise.
58935         * include/sys/uio.h: Likewise.
58936         * include/time.h: Likewise.
58937         * include/unistd.h: Likewise.
58938         * include/utmp.h: Likewise.
58939         * include/wchar.h: Likewise.
58940         * include/wctype.h: Likewise.
58941         * inet/aliases.h: Likewise.
58942         * inet/arpa/inet.h: Likewise.
58943         * inet/netinet/ether.h: Likewise.
58944         * inet/netinet/in.h: Likewise.
58945         * intl/libintl.h: Likewise.
58946         * io/bits/fcntl2.h: Likewise.
58947         * io/fcntl.h: Likewise.
58948         * io/ftw.h: Likewise.
58949         * io/sys/poll.h: Likewise.
58950         * io/sys/stat.h: Likewise.
58951         * io/sys/statfs.h: Likewise.
58952         * io/sys/statvfs.h: Likewise.
58953         * io/utime.h: Likewise.
58954         * libio/bits/stdio.h: Likewise.
58955         * libio/bits/stdio2.h: Likewise.
58956         * libio/libio.h: Likewise.
58957         * libio/libioP.h: Likewise.
58958         * libio/stdio.h: Likewise.
58959         * locale/lc-ctype.c: Likewise.
58960         * locale/locale.h: Likewise.
58961         * login/utmp.h: Likewise.
58962         * malloc/arena.c: Likewise.
58963         * malloc/malloc.c: Likewise.
58964         * malloc/malloc.h: Likewise.
58965         * malloc/mcheck.c: Likewise.
58966         * malloc/mtrace.c: Likewise.
58967         * math/bits/mathcalls.h: Likewise.
58968         * math/fenv.h: Likewise.
58969         * math/math_private.h: Likewise.
58970         * misc/bits/error.h: Likewise.
58971         * misc/bits/syslog.h: Likewise.
58972         * misc/err.h: Likewise.
58973         * misc/error.h: Likewise.
58974         * misc/fstab.h: Likewise.
58975         * misc/mntent.h: Likewise.
58976         * misc/regexp.h: Likewise.
58977         * misc/search.h: Likewise.
58978         * misc/sgtty.h: Likewise.
58979         * misc/sys/mman.h: Likewise.
58980         * misc/sys/syslog.h: Likewise.
58981         * misc/sys/uio.h: Likewise.
58982         * misc/sys/xattr.h: Likewise.
58983         * misc/ttyent.h: Likewise.
58984         * nis/rpcsvc/ypclnt.h: Likewise.
58985         * nss/nss.h: Likewise.
58986         * posix/bits/unistd.h: Likewise.
58987         * posix/fnmatch.h: Likewise.
58988         * posix/glob.h: Likewise.
58989         * posix/sched.h: Likewise.
58990         * posix/spawn.h: Likewise.
58991         * posix/sys/wait.h: Likewise.
58992         * posix/unistd.h: Likewise.
58993         * posix/wordexp.h: Likewise.
58994         * pwd/pwd.h: Likewise.
58995         * resolv/netdb.h: Likewise.
58996         * resource/sys/resource.h: Likewise.
58997         * rt/aio.h: Likewise.
58998         * rt/bits/mqueue2.h: Likewise.
58999         * rt/mqueue.h: Likewise.
59000         * shadow/shadow.h: Likewise.
59001         * signal/signal.h: Likewise.
59002         * socket/send.c: Likewise.
59003         * socket/sendto.c: Likewise.
59004         * socket/sys/socket.h: Likewise.
59005         * stdio-common/printf.h: Likewise.
59006         * stdlib/bits/stdlib.h: Likewise.
59007         * stdlib/fmtmsg.h: Likewise.
59008         * stdlib/monetary.h: Likewise.
59009         * stdlib/stdlib.h: Likewise.
59010         * stdlib/ucontext.h: Likewise.
59011         * streams/stropts.h: Likewise.
59012         * string/argz.h: Likewise.
59013         * string/bits/string2.h: Likewise.
59014         * string/string.h: Likewise.
59015         * string/strings.h: Likewise.
59016         * sunrpc/rpc/auth.h: Likewise.
59017         * sunrpc/rpc/auth_des.h: Likewise.
59018         * sunrpc/rpc/clnt.h: Likewise.
59019         * sunrpc/rpc/netdb.h: Likewise.
59020         * sunrpc/rpc/pmap_clnt.h: Likewise.
59021         * sunrpc/rpc/xdr.h: Likewise.
59022         * sysdeps/generic/inttypes.h: Likewise.
59023         * sysdeps/generic/net/if.h: Likewise.
59024         * sysdeps/generic/sys/swap.h: Likewise.
59025         * sysdeps/gnu/net/if.h: Likewise.
59026         * sysdeps/gnu/utmpx.h: Likewise.
59027         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
59028         * sysdeps/i386/i486/bits/string.h: Likewise.
59029         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
59030         * sysdeps/s390/bits/string.h: Likewise.
59031         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
59032         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
59033         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
59034         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
59035         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
59036         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
59037         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
59038         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
59039         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
59040         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
59041         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
59042         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59043         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
59044         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59045         * sysdeps/unix/sysv/linux/readv.c: Likewise.
59046         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
59047         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59048         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59049         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
59050         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
59051         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59052         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
59053         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
59054         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
59055         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
59056         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
59057         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
59058         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59059         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
59060         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
59061         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
59062         * sysvipc/sys/ipc.h: Likewise.
59063         * sysvipc/sys/msg.h: Likewise.
59064         * sysvipc/sys/sem.h: Likewise.
59065         * sysvipc/sys/shm.h: Likewise.
59066         * termios/termios.h: Likewise.
59067         * time/sys/time.h: Likewise.
59068         * time/time.h: Likewise.
59069         * wcsmbs/bits/wchar2.h: Likewise.
59070         * wcsmbs/uchar.h: Likewise.
59071         * wcsmbs/wchar.h: Likewise.
59072         * wctype/wctype.h: Likewise.
59074         [BZ #13551]
59075         * Makeconfig: Remove all but ELF support including AIX support.
59076         * Makerules: Likewise.
59077         * config.h.in: Likewise.
59078         * config.make.in: Likewise.
59079         * configure: Likewise.
59080         * configure.in: Likewise.
59081         * csu/Makefile: Likewise.
59082         * csu/version.c: Likewise.
59083         * debug/Makefile: Likewise.
59084         * dlfcn/Makefile: Likewise.
59085         * elf/Makefile: Likewise.
59086         * extra-lib.mk: Likewise.
59087         * iconv/Makefile: Likewise.
59088         * include/libc-symbols.h: Likewise.
59089         * include/shlib-compat.h: Likewise.
59090         * resolv/Makefile: Likewise.
59091         * resolv/res_libc.c: Likewise.
59092         * rt/Makefile: Likewise.
59093         * sysdeps/i386/asm-syntax.h: Likewise.
59094         * sysdeps/i386/sysdep.h: Likewise.
59095         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59096         * sysdeps/mach/sysdep.h: Likewise.
59097         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
59098         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
59099         * sysdeps/s390/asm-syntax.h: Likewise.
59100         * sysdeps/s390/s390-32/sysdep.h: Likewise.
59101         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59102         * sysdeps/sh/sysdep.h: Likewise.
59103         * sysdeps/unix/sparc/sysdep.h: Likewise.
59104         * sysdeps/wordsize-32/divdi3.c: Likewise.
59105         * sysdeps/x86_64/sysdep.h: Likewise.
59107         * argp/Versions: Remove _argp_unlock_xxx.
59109         [BZ #13559]
59110         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
59111         * abilist/libBrokenLocale.abilist: Likewise.
59112         * abilist/libanl.abilist: Likewise.
59113         * abilist/libc.abilist: Likewise.
59114         * abilist/libcrypt.abilist: Likewise.
59115         * abilist/libdl.abilist: Likewise.
59116         * abilist/libm.abilist: Likewise.
59117         * abilist/libnsl.abilist: Likewise.
59118         * abilist/libpthread.abilist: Likewise.
59119         * abilist/libresolv.abilist: Likewise.
59120         * abilist/librt.abilist: Likewise.
59121         * abilist/libthread_db.abilist: Likewise.
59122         * abilist/libutil.abilist: Likewise.
59123         * abilist/libnss_db.abilist: New file.
59125         * scripts/abilist.awk: Add support for indirect functions.
59127         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
59129         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
59131         * shlib-versions: Remove entries for ports architectures.
59133         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
59134         files in ports.
59135         * elf/stackguard-macros.h: Remove support for IA-64.
59136         * elf/tst-auditmod1.c: Likewise.
59137         * sysdeps/generic/ldsodefs.h: Likewise.
59139         * sysdeps/unix/sysv/linux/configure.in: Ports should define
59140         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
59141         configure files.
59143         [BZ #13552]
59144         * configure.in: Remove --enable-omitfp support.
59145         * FAQ.in: Adjust.
59146         * config.make.in: Likewise.
59147         * Makeconfig: Likewise.
59148         * manual/install.texi: Likewise.
59150         In case anyone cares, the IA-64 architecture could move to ports.
59151         * sysdeps/ia64/*: Removed.
59152         * sysdeps/unix/sysv/linux/ia64/*: Removed.
59153         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
59155         [BZ #13555]
59156         * configure.in: Remove entries for unsupported architectures.
59158         [BZ #13533]
59159         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
59160         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
59161         routines.
59162         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
59163         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
59164         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
59165         fall back to using wcrtomb.
59166         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
59167         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
59168         renaming.
59169         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
59170         * wcsmbs/tst-c16c32-1.c: New file.
59172         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
59173         local variable.
59175         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
59177         * elf/tst-unique3.cc: Add explicit declaration of gets.
59178         * elf/tst-unique3lib.cc: Likewise.
59179         * elf/tst-unique3lib2.cc: Likewise.
59180         * elf/tst-unique4.cc: Likewise.
59182         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
59184 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
59186         [BZ #13566]
59187         * assert/assert.h (static_assert): Don't define for C++.
59188         * libio/stdio.h (gets): Do declare for C++ <= C++11.
59189         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
59191 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
59193         * iconv/loop.c (single loop): Fix assertion in storing of
59194         remaining bytes.
59196         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
59198 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
59200         * posix/getconf.c: Update copyright year.
59201         * nss/getent.c: Likewise.
59202         * nss/makedb.c: Likewise.
59203         * iconv/iconvconfig.c: Likewise.
59204         * iconv/iconv_prog.c: Likewise.
59205         * elf/ldconfig.c: Likewise.
59206         * elf/pldd.c: Likewise.
59207         * elf/sotruss.ksh: Likewise.
59208         * catgets/gencat.c: Likewise.
59209         * csu/version.c: Likewise.
59210         * elf/ldd.bash.in: Likewise.
59211         * elf/sprof.c (print_version): Likewise.
59212         * locale/programs/locale.c: Likewise.
59213         * locale/programs/localedef.c: Likewise.
59214         * login/programs/pt_chown.c: Likewise.
59215         * nscd/nscd.c (print_version): Likewise.
59216         * debug/xtrace.sh: Likewise.
59217         * malloc/memusage.sh: Likewise.
59218         * malloc/mtrace.pl: Likewise.
59219         * debug/catchsegv.sh: Likewise.
59221 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
59223         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
59224         pure attribute.
59226 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
59228         [BZ #13533]
59229         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
59230         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
59231         transformations.
59232         * iconv/gconv_int.h: Likewise.
59233         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
59234         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
59235         from libc for GLIBC_2.16.
59236         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
59237         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
59238         * wcsmbs/uchar.h: Really define mbstate_t.
59239         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
59240         * wcsmbs/c16rtomb.c: New file.
59241         * wcsmbs/mbrtoc16.c: New file.
59242         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
59243         for C/POSIX locale.
59244         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
59245         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
59247         * wcsmbs/wchar.h: Add missing __restrict.
59249 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
59251         [BZ #13532]
59252         * time/Makefile (routines): Add timespec_get.
59253         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
59254         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
59255         timespec for ISO C11.
59256         * time/timespec_get.c: New file.
59257         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
59258         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
59260         [BZ #13531]
59261         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
59262         * stdlib/stdlib.h: Declare aligned_alloc.
59263         * Versions.def: Add GLIBC_2.16 for libc.
59264         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
59266         [BZ 13527]
59267         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
59268         ISO C11.
59270         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
59271         code.
59273         [BZ #13528]
59274         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
59276         [BZ #13529]
59277         * assert/assert.h (static_assert): Define.
59279         * version.h: Update for 2.16 development version.
59281         [BZ #13526]
59282         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
59283         _ISOC11_SOURCE.
59285         * version.h (RELEASE): Bump for 2.15 release.
59286         * include/features.h (__GLIBC_MINOR__): Bump to 15.
59288         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
59289         Patch by Marek Polacek <mpolacek@redhat.com>.
59291         * bits/byteswap.h: Protect long long constants with __extension__.
59292         * sysdeps/i386/bits/byteswap.h: Likewise.
59293         * sysdeps/ia64/bits/byteswap.h: Likewise.
59294         * sysdeps/s390/bits/byteswap.h: Likewise.
59295         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59297 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59299         [BZ #13540]
59300         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
59301         destination buffer.
59302         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
59304 2011-12-23  Marek Polacek  <polacek@redhat.com>
59306         * elf/dl-addr.c (determine_info): Add inline keyword.
59307         * elf/tst-auditmod4b.c (check_avx): Likewise.
59308         * elf/tst-auditmod6b.c (check_avx): Likewise.
59309         * elf/tst-auditmod6c.c (check_avx): Likewise.
59310         * elf/tst-auditmod7b.c (check_avx): Likewise.
59312 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
59314         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
59315         !__SSE_MATH__.
59317 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59319         [BZ #13540]
59320         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
59321         processing for last bytes.
59323 2011-08-06  Bruno Haible  <bruno@clisp.org>
59325         [BZ #13061]
59326         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
59327         U+0385, not to U+1FEE.
59329         [BZ #13062]
59330         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
59331         entry for U+00A5 U+0301.
59333 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
59335         [BZ #13166]
59336         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
59337         buffer for the output is too small.
59339         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
59340         optimization.
59342         [BZ #13185]
59343         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
59344         SSE flags if possible.
59346 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59348         [BZ #13540]
59349         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
59350         processing for last bytes.
59352 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
59354         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
59355         (syscall-list-default-options, syscall-list-default-condition)
59356         (syscall-list-includes): Define.
59357         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
59358         list of ABIs and options and #if conditions for each ABI.  Do not
59359         handle common syscalls between ABIs specially.
59360         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
59361         Remove.
59362         (syscall-list-variants, syscall-list-32bit-options)
59363         (syscall-list-32bit-condition, syscall-list-64bit-options)
59364         (syscall-list-64bit-condition): Define.
59365         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
59366         (syscall-list-variants, syscall-list-32bit-options)
59367         (syscall-list-32bit-condition, syscall-list-64bit-options)
59368         (syscall-list-64bit-condition): Define.
59369         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
59370         Remove.
59371         (syscall-list-variants, syscall-list-32bit-options)
59372         (syscall-list-32bit-condition, syscall-list-64bit-options)
59373         (syscall-list-64bit-condition): Define.
59374         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
59375         Remove.
59376         (syscall-list-variants, syscall-list-32bit-options)
59377         (syscall-list-32bit-condition, syscall-list-64bit-options)
59378         (syscall-list-64bit-condition): Define.
59380 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
59382         * locale/iso-639.def: Add brx entry.
59384         [BZ #13328]
59385         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
59386         Proposed by Mariusz_Cukr <marcukr@op.pl>.
59388         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
59389         __feraiseexcept_renamed.
59391 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
59393         [BZ #13538]
59394         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
59395         EPOLLET with unsigned values.
59396         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59397         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59399         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
59400         to large cancellation.
59401         * math/s_cacoshf.c: Likewise.
59402         * math/s_cacoshl.c: Likewise.
59404 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
59406         [BZ #13305]
59407         [BZ #12786]
59408         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
59409         * math/s_cacoshf.c: Likewise.
59410         * math/s_cacoshl.c: Likewise.
59412 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
59414         [BZ #13439]
59415         * iconv/gconv.h: Define __GCONV_SWAP.
59416         * iconvdata/unicode.c: The swap bit must be stored in __flags.
59417         * iconvdata/utf-16.c: Likewise.
59418         * iconvdata/utf-32.c: Likewise.
59420 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
59422         [BZ #13524]
59423         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
59424         numerator after shifting it by one limb.
59426 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
59428         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
59429         under [__USE_EXTERN_INLINES].
59431 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
59433         [BZ #13446]
59434         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
59436 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59438         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
59439         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
59440         optimized code.
59441         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
59442         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
59443         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
59444         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
59445         for strncasecmp/strncasecmp_l compilation.
59446         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
59447         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
59449 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
59451         [BZ #13484]
59452         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
59453         of __asm__.
59455 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
59457         [BZ #13506]
59458         * time/tzfile.c (__tzfile_read): Check values from file header.
59460 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
59462         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
59463         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
59464         * powerpc/powerpc32/dl-start.S: Likewise.
59465         * powerpc/powerpc32/elf/start.S: Likewise.
59466         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
59467         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
59468         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
59469         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
59470         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59471         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
59472         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
59473         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
59474         * powerpc/powerpc32/fpu/s_round.S: Likewise.
59475         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59476         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59477         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59478         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
59479         * powerpc/powerpc32/memset.S: Likewise.
59480         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59481         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59482         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59483         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59484         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59485         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59486         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59487         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59488         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
59489         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
59490         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
59491         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59492         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59494 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59496         * math/libm-test.inc: Added more nearbyint tests.
59497         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
59498         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
59499         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
59500         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
59502 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
59504         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
59505         FD_CLOEXEC.
59507 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59509         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
59510         Add wcscpy-ssse3 wcscpy-c.
59511         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
59512         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
59513         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
59514         * sysdeps/x86_64/wcschr.S: New file.
59515         * sysdeps/x86_64/wcsrchr.S: New file.
59516         * string/test-strcmp.c: Remove checking of wcscmp function for
59517         wrong alignments.
59518         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
59519         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
59520         wcsrchr-sse2 wcsrchr-c.
59521         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
59522         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
59523         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
59524         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
59525         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
59526         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
59527         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
59528         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
59529         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
59530         * wcsmbc/wcschr.c (WCSCHR): New macro.
59532 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59534         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
59535         * wcsmbs/test-wcsrchr.c: New file.
59536         * string/test-strrchr.c: Add wcsrchr support.
59537         (WIDE): New macro.
59538         * wcsmbs/test-wcscpy.c: New file.
59539         * string/test-strcpy.c: Add wcscpy support.
59540         (WIDE): New macro.
59542 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
59544         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
59545         the inner loop.
59547 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
59549         [BZ #13472]
59550         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
59552 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
59554         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
59555         Minor optimizations.
59557         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
59558         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
59559         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
59561 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
59563         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
59564         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
59565         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
59566         for gcc to avoid warnings.
59567         * inet/Makefile (tests): Add tst-checks.
59568         * inet/tst-checks.c: New file.
59570         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
59571         warning.
59573         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
59574         __wmemcmp_sse2.
59576         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
59577         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
59579         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
59581 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
59583         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
59584         problem.
59586         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
59588 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
59590         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
59591         conditional on GCC version.
59592         (__arch_compare_and_exchange_val_8_acq)
59593         (__arch_compare_and_exchange_val_16_acq)
59594         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
59595         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
59596         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
59598 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
59600         * sysdeps/sh/backtrace.c: New file.
59602 2011-12-02  Andreas Schwab  <schwab@redhat.com>
59604         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
59605         parenthesis.
59607 2011-12-01  Andreas Schwab  <schwab@redhat.com>
59609         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
59610         falling back to utime.
59612 2011-11-30  Andreas Schwab  <schwab@redhat.com>
59614         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
59615         expectations for float.
59617 2011-11-29  Andreas Schwab  <schwab@redhat.com>
59619         * locale/weight.h (findidx): Add parameter len.
59620         * locale/weightwc.h (findidx): Likewise.
59621         * posix/fnmatch_loop.c (FCT): Adjust caller.
59622         * posix/regcomp.c (build_equiv_class): Likewise.
59623         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
59624         * posix/regexec.c (check_node_accept_bytes): Likewise.
59625         * string/strcoll_l.c (STRCOLL): Likewise.
59626         * string/strxfrm_l.c (STRXFRM): Likewise.
59628 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
59630         * Makefile.in: Remove CVSOPT handling.
59631         * configure.in: Remove use of AC_REVISION.
59632         * iconvdata/Makefile (distribute): No need to filter out CVS.
59633         * scripts/list-sources.sh: Remove CVS, subversion and monotone
59634         handling.
59636 2011-11-16  Andreas Schwab  <schwab@redhat.com>
59638         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
59639         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
59640         [USE_AS_STRNCASECMP_L]: Likewise.
59641         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
59642         NO_TLS_DIRECT_SEG_REFS.
59643         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
59644         Fix argument offsets for non-PIC.
59645         [USE_AS_STRNCASECMP_L]: Likewise.
59646         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
59647         NO_TLS_DIRECT_SEG_REFS.
59649 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
59651         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
59652         O_CLOEXEC.
59653         * locale/loadlocale.c (_nl_load_locale): Likewise.
59655 2011-11-15  Andreas Schwab  <schwab@redhat.com>
59657         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
59658         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
59659         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
59660         (SYSCALL_GETTIME): Set errno on error.
59662         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
59663         count references to noai6ai_cached.
59665 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
59667         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
59669         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
59670         FD_CLOEXEC for /proc/self/maps.
59672         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
59673         FD_CLOEXEC for /proc/meminfo.
59675         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
59676         gai.conf.
59678         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
59679         FD_CLOEXEC for given file.
59681         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
59683         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
59684         FD_CLOEXEC for /etc/hosts.
59685         (_gethtent): Likewise.
59687         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
59689         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
59690         cancellation and set FD_CLOEXEC for /etc/netgroup.
59692         * nss/nss_files/files-key.c (search): Don't allow cancellation when
59693         reading /etc/publickey.
59695         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
59696         allow cancellation when reading /etc/group.
59698         * nss/nss_files/files-alias.c (internal_setent): Don't allow
59699         cancellation.
59700         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
59702         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
59703         when using data file.
59705         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
59707         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
59708         (write_nis_obj): Use "c" and "e" in fopen.
59710         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
59712         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
59714         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
59716         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
59718         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
59719         locale.alias.
59721         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
59723         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
59725         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
59727         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
59728         file parsing and set FD_CLOEXEC.
59730 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
59732         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
59734 2011-11-14  Andreas Schwab  <schwab@redhat.com>
59736         * malloc/arena.c (arena_get2): Don't call reused_arena when
59737         _int_new_arena failed.
59739 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
59741         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
59742         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
59743         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
59744         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59745         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59746         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
59747         to compile strcasecmp and strncasecmp.
59748         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
59749         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
59751         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
59753 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
59755         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
59756         locale-defines.sym to gen-as-const-headers.
59757         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
59758         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
59759         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
59760         to compile strcasecmp and strncasecmp.
59761         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
59762         strcasecmp_l and strncasecmp_l.
59763         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
59764         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
59765         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
59766         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
59767         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
59768         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
59769         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
59770         * sysdeps/i386/i686/multiarch/strncase.S: New file.
59771         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
59772         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
59773         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
59775 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
59777         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
59778         result of SYSDEP_GETTIME_CPU to retval.
59779         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
59780         parameter list to macro.  Remove trailing semicolon.  Adjust users.
59782         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
59783         variable.
59785         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
59786         mantissa words.
59787         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
59789         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
59790         from unused variable.
59792         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
59793         DWARF definitions.
59794         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
59795         for assembling.
59797         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
59798         over namespaces.
59800         * sunrpc/rpc_prot.c (rejected): Fix case value.
59802         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
59803         unsigned long long int to avoid warnings in shift.
59805         * posix/regex_internal.c (re_string_reconstruct): Actually use result
59806         of use of trans.
59807         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
59808         variable tmp.
59810         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
59811         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
59812         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
59814         * nis/nis_table.c (nis_list): Use variable of correct type for
59815         result of __follow_path call.
59817 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59819         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
59820         of math functions ceil, trunc, floor, round, and sqrt, when
59821         avaliable on the platform.
59822         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
59823         name clash.
59824         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59825         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59826         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59828 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
59830         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
59831         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59833 2011-11-11  Roland McGrath  <roland@hack.frob.com>
59835         * include/unistd.h: Fix __readlink return type.
59836         Reported by Chris Metcalf <cmetcalf@tilera.com>.
59838 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
59840         * stdlib/ucontext.h: Undo last change for makecontext.
59842 2011-11-11  Andreas Schwab  <schwab@redhat.com>
59844         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
59846         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
59847         * setjmp/setjmp.h: Mark functions as non-leaf.
59848         * setjmp/bits/setjmp2.h: Likewise.
59849         * stdlib/ucontext.h: Likewise.
59851 2011-11-10  Andreas Schwab  <schwab@redhat.com>
59853         * malloc/arena.c (_int_new_arena): Don't increment narenas.
59854         (reused_arena): Don't check arena limit.
59855         (arena_get2): Atomically check arena limit.
59857 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
59859         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
59860         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
59862         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
59863         instructions.
59865 2011-11-07  Andreas Schwab  <schwab@redhat.com>
59867         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
59868         handler when locking.
59870         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59871         Fix size of allocated buffer.
59873 2011-11-04  Andreas Schwab  <schwab@redhat.com>
59875         [BZ #10103]
59876         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
59877         declarations for long double functions.
59878         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
59880         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
59882 2011-11-03  Andreas Schwab  <schwab@redhat.com>
59884         * nscd/nscd.c (main): Don't start AVC thread until credentials are
59885         installed.
59887         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
59888         is disabled.
59890 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59892         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
59894 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59896         * include/alloca.h (stackinfo_alloca_round): Define.
59897         (extend_alloca): Use it.
59898         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
59899         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
59900         here.
59902         * scripts/check-local-headers.sh: Ignore libaudit.h.
59904         * nscd/Makefile (extra-objs): Make recursively expanded.
59906 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
59908         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
59909         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59911         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
59912         * posix/tst-rfc3484-2.c: Likewise.
59913         * posix/tst-rfc3484-3.c: Likewise.
59915         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
59916         process_vm_writev.
59917         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
59918         process_vm_writev.
59919         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
59920         process_vm_writev from libc using GLIBC_2.15 version.
59922         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
59924 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
59926         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
59927         stack usage.
59929 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
59931         [BZ #13367]
59932         * nss/getent.c (initgroups_keys): Show error message in case no group
59933         names are given.
59935         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
59936         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
59937         __bump_nl_timestamp.
59938         * nscd/connections (nscd_init): When host database is served open
59939         netlink socket and request notification about configuration changes.
59940         (main_loop_poll): Track netlink file descriptor and bump timestamp
59941         in case data becomes available.
59942         (main_loop_epoll): Likewise.
59943         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
59944         (database_pers_head): Add extra_data fileds.
59945         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
59946         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
59947         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
59948         Adjust caller.
59949         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
59950         in6ai data, call __free_in6ai.
59951         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
59952         Add -DHAVE_NETLINK.
59953         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
59954         interface information.  Reuse previous data if netlink timestamp
59955         is not changed.
59956         (__bump_nl_timestamp): New function.
59957         (__free_in6ai): New function.
59959 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
59961         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
59962         close_not_cancel_no_status here.
59963         (__check_pf): Reorganize code a bit to not call close twice if OOM.
59965 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
59967         [BZ #13276]
59968         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
59969         return value.
59971         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
59972         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
59973         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
59975 2011-07-03  Andreas Jaeger  <aj@suse.de>
59977         [BZ #10709]
59978         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
59979         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
59980         * math/libm-test.inc (sin_test): Add test case.
59982 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
59984         [BZ #13337]
59985         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
59986         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59988         * elf/chroot_canon.c (chroot_canon): Cleanups.
59990         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
59992         [BZ #13335]
59993         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
59994         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59996         * string/test-strchr.c: Make usable for strchrnul testing.
59997         * string/test-strchrnul.c: New file.
59998         * string/Makefile (strop-tests): Add strchrnul.
60000         * po/it.po: Update from translation team.
60001         * po/es.po: Likewise.
60003 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
60005         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
60006         the three constants needed as parameters.  Drop the others.
60007         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
60008         __m128i_strloadu_tolower.
60009         Create and initialize variable zero and use it in all the places
60010         where _mm_setzero_si128 was used.
60012         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
60013         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
60014         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
60015         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
60016         anymore.
60017         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
60018         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
60019         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
60020         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
60021         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
60022         __mpranred, __mptan.
60023         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
60024         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
60025         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
60026         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
60027         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
60028         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
60029         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
60030         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
60031         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
60033 2011-10-28  Andreas Schwab  <schwab@redhat.com>
60035         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
60036         redefine if SHARED.
60037         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
60039         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
60040         wide char related routines to wcsmbs subdir.
60042 2011-10-27  Andreas Schwab  <schwab@redhat.com>
60044         [BZ #13344]
60045         * misc/sys/cdefs.h (__THROWNL): Define.
60046         * posix/unistd.h: Use __THREADNL instead of __THREAD
60047         for memory synchronization functions.
60049 2011-10-26  Roland McGrath  <roland@hack.frob.com>
60051         [BZ #13349]
60052         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
60053         doesn't exist.
60054         * manual/stdio.texi (Obstack Streams): Node removed.
60056 2011-10-26  Andreas Schwab  <schwab@redhat.com>
60058         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
60059         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60060         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60062         * math/math_private.h (math_force_eval): Allow non-addressable
60063         arguments.
60064         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
60066 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
60068         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
60069         file is not needed.
60071         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
60072         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
60073         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
60074         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
60075         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
60076         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
60077         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
60078         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
60079         Add AVX variants.
60080         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
60081         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
60082         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
60083         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
60084         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
60085         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
60086         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
60087         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
60088         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
60089         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
60090         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
60091         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
60092         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
60093         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
60094         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
60095         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
60096         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
60097         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
60098         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
60100         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
60101         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
60103         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
60104         place.  Use VEX encoding when compiling for AVX.
60106 2011-10-25  Andreas Schwab  <schwab@redhat.com>
60108         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
60109         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
60111         * string/test-strchr.c (do_test): Don't generate NUL bytes.
60113 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
60115         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
60116         useless if() expression.
60117         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60118         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60119         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60120         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60121         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60122         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60123         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60124         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60125         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60126         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60127         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60128         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60129         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60130         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60131         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60132         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60133         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60134         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60135         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
60137         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
60139 2011-10-25  Andreas Schwab  <schwab@redhat.com>
60141         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
60142         condition.
60143         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60145 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
60147         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
60148         .text section.  Avoid duplicate constants.
60149         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60150         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60151         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60152         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60153         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60154         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60155         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60156         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60157         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60158         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
60159         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60160         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60161         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60162         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60163         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60164         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60165         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60166         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60167         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60168         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60169         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60170         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60171         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60172         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
60173         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
60174         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
60175         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
60176         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
60177         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
60178         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
60179         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
60180         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
60181         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60182         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
60183         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
60184         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
60185         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
60186         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
60187         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
60188         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
60189         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
60190         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
60191         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
60192         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
60193         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
60195 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
60197         * sysdeps/x86_64/dla.h: Move to ...
60198         * sysdeps/x86_64/fpu/dla.h: ...here.
60199         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
60200         situations.  Use __builtin_fma only for gcc 4.6 and up.
60202         * config.make.in: Add have-mfma4 entry.
60203         * configure.in: Substitute libc_cv_cc_fma4.
60204         * math/Makefile (dbl-only-routines): Add sincostab.
60205         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
60206         Use __sincostab not sincos.
60207         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
60208         name is a macro.
60209         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60210         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60211         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60212         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
60213         using __copysign.
60214         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
60215         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
60216         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
60217         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
60218         and __inv.
60219         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
60220         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
60221         __copysign.
60222         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
60223         define aliases when function name is a macro.
60224         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
60225         sysdeps/ieee754/dbl-64/sincos.tbl.
60226         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
60227         fma4-enabled routines.
60228         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
60229         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
60230         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
60231         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
60232         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
60233         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
60234         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
60235         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
60236         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
60237         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
60238         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
60239         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
60240         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
60241         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
60242         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
60243         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
60244         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
60245         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
60246         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
60247         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
60248         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
60249         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
60250         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
60251         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
60252         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
60253         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
60254         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
60255         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
60256         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
60257         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
60259         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
60260         rename.
60261         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60262         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60263         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60264         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60265         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60266         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60267         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60268         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60270 2011-10-24  Andreas Schwab  <schwab@redhat.com>
60272         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
60274 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
60276         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
60278         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
60279         prediction.
60280         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
60282         * string/strnlen.c: Don't define STRNLEN, reverse logic.
60283         Remove unused variable magic_bits.
60284         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
60286         * string/strnlen.c: Define and use STRNLEN macro.
60287         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
60288         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
60289         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
60290         * wcsmbs/wcslen.c: Define and use WCSLEN.
60291         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
60292         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
60293         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
60294         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
60295         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
60296         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
60297         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60299 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60301         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60302         strnlen-sse2-no-bsf.
60303         Rename strlen-no-bsf to strlen-sse2-no-bsf.
60304         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
60305         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
60306         Add strnlen support.
60307         (USE_AS_STRNLEN): New macro.
60308         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
60309         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
60310         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
60311         * sysdeps/x86_64/wcslen.S: New file.
60313 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
60315         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60316         XMM-moves are used for copying on small sizes.
60318 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60320         * wcsmbs/Makefile (strop-tests): Add wcschr.
60321         * wcsmbs/test-wcschr.c: New file.
60322         * string/test-strchr.c: Update.
60323         Add wcschr support.
60324         (WIDE): New macro.
60326 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60328         * wcsmbs/Makefile (strop-tests): Add wcslen.
60329         * wcsmbs/test-wcslen.c: New file.
60330         * string/test-strlen.c: Update.
60331         Add wcslen support.
60332         (WIDE): New macro.
60334 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
60336         * po/it.po: Update from translation team.
60338 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60340         * sysdeps/x86_64/wcscmp.S: Update.
60341         Fix wrong comparison semantics.
60342         wcscmp shall use signed comparison not unsigned.
60343         Don't use substraction to avoid overflow bug.
60344         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
60345         * wcsmbc/wcscmp.c: Likewise.
60346         * string/test-strcmp.c: Likewise.
60347         Add new tests to check cases with negative values.
60349 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
60351         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
60352         * sysdeps/x86_64/dla.h: ...here.  New file.
60353         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
60354         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60355         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60356         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60357         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60358         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60359         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60360         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60361         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60363 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
60365         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
60366         __ynl_finite aliases.
60368 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
60370         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60372         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
60373         define DLA_FMA.
60374         [DLA_FMA] (EMULV): Use DLA_FMA.
60375         [DLA_FMA] (MUL12): Use EMULV.
60376         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
60377         that are not needed.
60378         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60379         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60380         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60381         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60382         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60383         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60384         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60386 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
60388         * math/s_nan.c: Undef __nan.
60389         * math/s_nanf.c: Undef __nanf.
60390         * math/s_nanl.c: Undef __nanl.
60391         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
60392         "math_private.h".
60394 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
60396         * math/s_catan.c: Add branch predictions.
60397         * math/s_catanf.c: Likewise.
60398         * math/s_catanh.c: Likewise.
60399         * math/s_catanhf.c: Likewise.
60400         * math/s_catanhl.c: Likewise.
60401         * math/s_catanl.c: Likewise.
60402         * math/s_cexp.c: Likewise.
60403         * math/s_cexpf.c: Likewise.
60404         * math/s_cexpl.c: Likewise.
60405         * math/s_clog.c: Likewise.
60406         * math/s_clog10.c: Likewise.
60407         * math/s_clog10f.c: Likewise.
60408         * math/s_clog10l.c: Likewise.
60409         * math/s_clogf.c: Likewise.
60410         * math/s_clogl.c: Likewise.
60411         * math/s_csqrt.c: Likewise.
60412         * math/s_csqrtf.c: Likewise.
60413         * math/s_csqrtl.c: Likewise.
60414         * math/s_ctanf.c: Likewise.
60415         * math/s_ctanh.c: Likewise.
60416         * math/s_ctanhf.c: Likewise.
60417         * math/s_ctanhl.c: Likewise.
60418         * math/s_ctanl.c: Likewise.
60420         * math/math_private.h: Define __nan, __nanf, __nanl.
60421         * math/s_cacosh.c: Include <math_private.h>.
60422         * math/s_cacoshl.c: Likewise.
60423         * math/s_casinh.c: Likewise.
60424         * math/s_casinhf.c: Likewise.
60425         * math/s_casinhl.c: Likewise.
60426         * math/s_ccos.c: Rely entire on ccosh.
60427         * math/s_ccosf.c: Rely entire on ccoshf.
60428         * math/s_ccosl.c: Rely entirely on ccoshl.
60429         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
60430         Remove tests for FE_INVALID.
60431         * math/s_ccoshf.c: Likewise.
60432         * math/s_ccoshl.c: Likewise.
60433         * math/s_csin.c: Likewise.
60434         * math/s_csinf.c: Likewise.
60435         * math/s_csinh.c Likewise.
60436         * math/s_csinhf.c: Likewise.
60437         * math/s_csinhl.c: Likewise.
60438         * math/s_csinl.c: Likewise.
60439         * math/s_ctan.c: Likewise.
60440         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
60441         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
60442         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
60444 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
60446         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
60447         compilation problems.
60449         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
60450         __builtin_expect.
60452 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
60454         * sysdeps/i386/configure.in: Test for -mfma4 option.
60455         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
60456         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
60457         COMMON_CPUID_INDEX_80000001.
60458         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
60459         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
60460         use it if FMA3 is not supported.
60461         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
60463         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
60464         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60466 2011-10-20  Andreas Schwab  <schwab@redhat.com>
60468         [BZ #12892]
60469         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
60470         it would create a cycle with a link time dependency.
60472 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
60474         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
60475         instruction.
60476         * string/Makefile (strop-tests): Add rawmemchr.
60477         * string/test-rawmemchr.c: New file.
60479         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
60480         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
60481         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
60482         when compiling str{,n}casecmp and when AVX is available.  Hook up
60483         new optimized code in initializers.
60485 2011-10-19  Andreas Schwab  <schwab@redhat.com>
60487         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
60488         __feraiseexcept instead of feraiseexcept.
60490 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
60492         * math/math_private.h: Define defaults for libc_fetestexcept and
60493         libc_feupdateenv.
60494         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
60495         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
60496         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60497         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60498         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60499         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60500         libc_fetestexcept and libc_feupdateenv.
60502         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
60503         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
60504         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
60505         * sysdeps/x86_64/fpu/math_private.h: Define special version of
60506         libc_feholdexcept_setround.
60508         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
60509         Add s_nearbyint-c and s_nearbyintf-c.
60510         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
60511         nearbyintf inlines.
60512         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
60513         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
60514         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
60515         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
60517         * math/math_private.h: Define defaults for libc_fegetround,
60518         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
60519         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
60520         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
60521         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
60522         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
60523         standard functions.
60524         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60525         Remove comments and hacks for old compiler versions.
60526         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60527         libc_fegetround, libc_fesetround, libc_feholdexcept, and
60528         libc_feholdexceptl.
60530 2011-10-18  Andreas Schwab  <schwab@redhat.com>
60532         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
60533         (__feraiseexcept_renamed): Add __NTH.
60534         (feraiseexcept): Add __NTH.  Rename local variables to fix
60535         namespace violations.
60537 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
60539         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
60541         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
60543         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
60544         recently added interfaces.
60545         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
60547         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
60548         about macro parameter expansion.
60550         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
60551         __NO_MATH_INLINES is defined.  Cleanups.
60553         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
60554         and __floorf is target has SSE4.1.
60555         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
60556         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
60557         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
60558         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
60560         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
60561         name.
60562         (floorf): Likewise.
60564         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
60566 2011-10-17  Andreas Schwab  <schwab@redhat.com>
60568         * misc/sys/cdefs.h: Fix last change.
60570         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
60571         database lookup.
60573 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
60575         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
60577         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
60578         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60579         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60580         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60581         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60582         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60583         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60584         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60585         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
60586         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
60587         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
60588         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
60589         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
60590         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
60591         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
60592         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
60593         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
60594         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
60595         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
60596         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
60597         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
60598         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
60600         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
60601         ceil, ceilf, floor, floorf.
60603         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
60604         Perform IRELATIVE relocations last.
60606         * elf/do-rel.h: Add another parameter nrelative, replacing the
60607         local variable with the same name.  Change name of the function
60608         to end in Rel or Rela (uppercase).
60609         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
60610         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
60611         elf_dynamic_do_##reloc function.
60613 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
60615         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
60616         is sufficient, at least on modern CPUs.
60618         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
60620         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
60621         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
60623         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
60624         __expl_finite.
60625         * math/bits/math-finite.h: Add entries for exp.
60626         * math/e_expl.c: Add __*_finite alias.
60627         * sysdeps/i386/fpu/e_exp.S: Likewise.
60628         * sysdeps/i386/fpu/e_expf.S: Likewise.
60629         * sysdeps/i386/fpu/e_expl.c: Likewise.
60630         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60631         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60632         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60633         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60634         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
60635         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
60636         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
60638         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
60639         is sufficient, at least on modern CPUs.
60641         * ctype/ctype-info.c (__ctype_init): Define.
60642         * include/ctype.h (__ctype_init): Declare.
60643         (__ctype_b_loc): The variable is always initialized.
60644         (__ctype_toupper_loc): Likewise.
60645         (__ctype_tolower_loc): Likewise.
60646         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
60647         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
60649 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
60651         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
60653         * configure.in: Also look in $cxxmachine/include for C++ system
60654         headers.
60656 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60658         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
60659         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
60660         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
60661         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
60662         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
60663         (USE_AS_WMEMCMP): New macro.
60664         Fixing indents.
60665         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
60666         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
60667         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
60668         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
60669         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60670         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
60671         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
60672         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
60673         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
60674         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
60675         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
60676         (USE_AS_WMEMCMP): New macro.
60677         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
60678         * sysdeps/string/test-memcmp.c: Update.
60679         Fix simple_wmemcmp.
60680         Add new tests.
60681         * wcsmbs/wmemcmp.c: Update.
60682         (WMEMCMP): New macro.
60683         Fix overflow bug.
60685 2011-10-12  Andreas Jaeger  <aj@suse.de>
60687         [BZ #13268]
60688         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
60690 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
60692         * libio/iofwide.c (do_length): Avoid warning.
60694         * ctype/ctype.h (__isctype_f): Add missing __THROW.
60696 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
60698         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
60700         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
60701         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
60702         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
60703         * sysdeps/i386/i686/fpu/e_log.S: New file.
60704         * sysdeps/i386/i686/fpu/e_logf.S: New file.
60705         * sysdeps/i386/i686/fpu/e_logl.S: New file.
60707         * ctype/ctype.h: Add support for inlined isXXX functions when
60708         compiling C++ code.
60710 2011-10-14  Andreas Schwab  <schwab@redhat.com>
60712         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60714         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
60716 2011-10-13  Roland McGrath  <roland@hack.frob.com>
60718         [BZ #13291]
60719         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
60721 2011-10-13  Andreas Schwab  <schwab@redhat.com>
60723         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
60724         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
60725         feraiseexcept.
60727         * sysdeps/x86_64/memrchr.S: Check for zero size.
60729         * string/stratcliff.c: Add memrchr tests.
60731 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60733         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60734         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
60735         rawmemchr-sse2 rawmemchr-sse2-bsf.
60736         * sysdeps/i386/i686/multiarch/memchr.S: New file.
60737         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
60738         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
60739         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
60740         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
60741         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
60742         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
60743         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
60744         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
60745         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
60746         * string/memrchr.c (MEMRCHR): New macro.
60748 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
60750         Add integration with gcc's -ffinite-math-only and optimize wrapper
60751         functions in libm.
60752         * Versions.def: Define GLIBC_2.15 version for libm.
60753         * math/Makefile (headers): Add bits/math-finite.h.
60754         * math/bits/math-finite.h: New file.
60755         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
60756         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
60757         * math/e_acoshl.c: Add __*_finite alias.
60758         * math/e_acosl.c: Likewise.
60759         * math/e_asinl.c: Likewise.
60760         * math/e_atan2l.c: Likewise.
60761         * math/e_atanhl.c: Likewise.
60762         * math/e_coshl.c: Likewise.
60763         * math/e_exp10.c: Likewise.
60764         * math/e_exp10f.c: Likewise.
60765         * math/e_exp10l.c: Likewise.
60766         * math/e_exp2l.c: Likewise.
60767         * math/e_fmodl.c: Likewise.
60768         * math/e_gammal_r.c: Likewise.
60769         * math/e_hypotl.c: Likewise.
60770         * math/e_j0l.c: Likewise.
60771         * math/e_j1l.c: Likewise.
60772         * math/e_jnl.c: Likewise.
60773         * math/e_lgammal_r.c: Likewise.
60774         * math/e_log10l.c: Likewise.
60775         * math/e_log2l.c: Likewise.
60776         * math/e_logl.c: Likewise.
60777         * math/e_powl.c: Likewise.
60778         * math/e_sinhl.c: Likewise.
60779         * math/e_sqrtl.c: Likewise.
60780         * math/e_scalb.c: Completely rewritten and optimized.
60781         * math/e_scalbf.c: Likewise.
60782         * math/e_scalbl.c: Likewise.
60783         * math/w_acos.c: Likewise.
60784         * math/w_acosf.c: Likewise.
60785         * math/w_acosl.c: Likewise.
60786         * math/w_acosh.c: Likewise.
60787         * math/w_acoshf.c: Likewise.
60788         * math/w_acoshl.c: Likewise.
60789         * math/w_asin.c: Likewise.
60790         * math/w_asinf.c: Likewise.
60791         * math/w_asinl.c: Likewise.
60792         * math/w_atan2.c: Likewise.
60793         * math/w_atan2f.c: Likewise.
60794         * math/w_atan2l.c: Likewise.
60795         * math/w_atanh.c: Likewise.
60796         * math/w_atanhf.c: Likewise.
60797         * math/w_atanhl.c: Likewise.
60798         * math/w_exp10.c: Likewise.
60799         * math/w_exp10f.c: Likewise.
60800         * math/w_exp10l.c: Likewise.
60801         * math/w_fmod.c: Likewise.
60802         * math/w_fmodf.c: Likewise.
60803         * math/w_fmodl.c: Likewise.
60804         * math/w_j0.c: Likewise.
60805         * math/w_j0f.c: Likewise.
60806         * math/w_j0l.c: Likewise.
60807         * math/w_j1.c: Likewise.
60808         * math/w_j1f.c: Likewise.
60809         * math/w_j1l.c: Likewise.
60810         * math/w_jn.c: Likewise.
60811         * math/w_jnf.c: Likewise.
60812         * math/w_log.c: Likewise.
60813         * math/w_logf.c: Likewise.
60814         * math/w_logl.c: Likewise.
60815         * math/w_log10.c: Likewise.
60816         * math/w_log10f.c: Likewise.
60817         * math/w_log10l.c: Likewise.
60818         * math/w_log2.c: Likewise.
60819         * math/w_log2f.c: Likewise.
60820         * math/w_log2l.c: Likewise.
60821         * math/w_pow.c: Likewise.
60822         * math/w_powf.c: Likewise.
60823         * math/w_powl.c: Likewise.
60824         * math/w_remainder.c: Likewise.
60825         * math/w_remainderf.c: Likewise.
60826         * math/w_remainderl.c: Likewise.
60827         * math/w_scalb.c: Likewise.
60828         * math/w_scalbf.c: Likewise.
60829         * math/w_scalbl.c: Likewise.
60830         * math/w_sqrt.c: Likewise.
60831         * math/w_sqrtf.c: Likewise.
60832         * math/w_sqrtl.c: Likewise.
60833         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
60834         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
60835         used.
60836         * math/math_private.h: Declare __kernel_standard_f.
60837         * math/w_cosh.c: Remove cruft and optimize a bit.
60838         * math/w_coshf.c: Likewise.
60839         * math/w_coshl.c: Likewise.
60840         * math/w_exp2.c: Likewise.
60841         * math/w_exp2f.c: Likewise.
60842         * math/w_exp2l.c: Likewise.
60843         * math/w_hypot.c: Likewise.
60844         * math/w_hypotf.c: Likewise.
60845         * math/w_hypotl.c: Likewise.
60846         * math/w_lgamma.c: Likewise.
60847         * math/w_lgamma_r.c: Likewise.
60848         * math/w_lgammaf.c: Likewise.
60849         * math/w_lgammaf_r.c: Likewise.
60850         * math/w_lgammal.c: Likewise.
60851         * math/w_lgammal_r.c: Likewise.
60852         * math/w_sinh.c: Likewise.
60853         * math/w_sinhf.c: Likewise.
60854         * math/w_sinhl.c: Likewise.
60855         * math/w_tgamma.c: Likewise.
60856         * math/w_tgammaf.c: Likewise.
60857         * math/w_tgammal.c: Likewise.
60858         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60859         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60860         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
60861         Minor optimizations.  Pretty printing.  Remove cruft.
60862         * sysdeps/i386/fpu/e_acosf.S: Likewise.
60863         * sysdeps/i386/fpu/e_acosh.S: Likewise.
60864         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60865         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60866         * sysdeps/i386/fpu/e_acosl.c: Likewise.
60867         * sysdeps/i386/fpu/e_asin.S: Likewise.
60868         * sysdeps/i386/fpu/e_asinf.S: Likewise.
60869         * sysdeps/i386/fpu/e_atan2.S: Likewise.
60870         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
60871         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
60872         * sysdeps/i386/fpu/e_atanh.S: Likewise.
60873         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60874         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60875         * sysdeps/i386/fpu/e_exp10.S: Likewise.
60876         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
60877         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
60878         * sysdeps/i386/fpu/e_exp2.S: Likewise.
60879         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
60880         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
60881         * sysdeps/i386/fpu/e_fmod.S: Likewise.
60882         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
60883         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
60884         * sysdeps/i386/fpu/e_hypot.S: Likewise.
60885         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
60886         * sysdeps/i386/fpu/e_log.S: Likewise.
60887         * sysdeps/i386/fpu/e_log10.S: Likewise.
60888         * sysdeps/i386/fpu/e_log10f.S: Likewise.
60889         * sysdeps/i386/fpu/e_log10l.S: Likewise.
60890         * sysdeps/i386/fpu/e_log2.S: Likewise.
60891         * sysdeps/i386/fpu/e_log2f.S: Likewise.
60892         * sysdeps/i386/fpu/e_log2l.S: Likewise.
60893         * sysdeps/i386/fpu/e_logf.S: Likewise.
60894         * sysdeps/i386/fpu/e_logl.S: Likewise.
60895         * sysdeps/i386/fpu/e_pow.S: Likewise.
60896         * sysdeps/i386/fpu/e_powf.S: Likewise.
60897         * sysdeps/i386/fpu/e_powl.S: Likewise.
60898         * sysdeps/i386/fpu/e_remainder.S: Likewise.
60899         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
60900         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
60901         * sysdeps/i386/fpu/e_scalb.S: Likewise.
60902         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60903         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60904         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
60905         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
60906         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
60907         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60908         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60909         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60910         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60911         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60912         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60913         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60914         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60915         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60916         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60917         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60918         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60919         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60920         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60921         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60922         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60923         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60924         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60925         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60926         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60927         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60928         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60929         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60930         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60931         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60932         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60933         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60934         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60935         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
60936         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60937         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60938         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60939         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60940         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60941         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60942         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60943         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60944         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60945         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60946         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60947         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60948         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60949         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60950         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60951         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60952         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60953         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60954         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60955         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60956         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
60957         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60958         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60959         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60960         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60961         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60962         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60963         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60964         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60965         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60966         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60967         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60968         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60969         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60970         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60971         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60972         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60973         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60974         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60975         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
60976         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60977         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60978         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60979         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60980         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60981         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60982         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60983         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60984         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60985         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60986         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60987         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60988         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60989         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
60990         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60991         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60992         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60993         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60994         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60995         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60996         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60997         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60998         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60999         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61000         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61001         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61002         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
61003         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
61004         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
61005         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
61006         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
61007         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
61008         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
61009         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
61010         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
61011         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61012         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61013         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61014         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61015         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
61016         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61017         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
61018         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
61019         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
61020         (__isnanf): Likewise.
61021         (__isinf_ns): Likewise.
61022         (__isinf_nsf): Likewise.
61023         (__finite): Likewise.
61024         (__finitef): Likewise.
61025         (__ieee754_sqrt): Define as macro.
61026         (__ieee754_sqrtf): Define as macro.
61027         (__ieee754_sqrtl): Define as macro.
61028         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
61029         inlined copy.
61030         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
61031         __FINITE_MATH_ONLY__ consistent.
61032         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
61034 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
61036         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
61037         of rawmemchr.
61039         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
61041 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
61043         * po/ja.po: Update from translation team.
61045 2011-10-08  Roland McGrath  <roland@hack.frob.com>
61047         * locale/programs/locarchive.c (prepare_address_space): New function.
61048         (create_archive, enlarge_archive, open_archive): Use it.
61050         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
61051         inside [SHARED], where it is used.
61053         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
61055         * nss/getent.c (netgroup_keys): Remove unused variable.
61056         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61058 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
61060         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
61061         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
61062         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
61063         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
61064         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
61065         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
61066         * math/Makefile (libm-calls): Add s_isinf_ns.
61067         * math/divtc3.c: Use __isinf_nsl instead of isinf.
61068         * math/multc3.c: Likewise.
61069         * math/s_casin.c: Likewise.
61070         * math/s_casinf.c: Likewise.
61071         * math/s_casinl.c: Likewise.
61072         * math/s_ccos.c: Likewise.
61073         * math/s_ccosf.c: Likewise.
61074         * math/s_ccosl.c: Likewise.
61075         * math/s_ctan.c: Likewise.
61076         * math/s_ctanf.c: Likewise.
61077         * math/s_ctanh.c: Likewise.
61078         * math/s_ctanhf.c: Likewise.
61079         * math/s_ctanhl.c: Likewise.
61080         * math/s_ctanl.c: Likewise.
61081         * math/w_fmod.c: Likewise.
61082         * math/w_fmodf.c: Likewise.
61083         * math/w_fmodl.c: Likewise.
61084         * math/w_remainder.c: Likewise.
61085         * math/w_remainderf.c: Likewise.
61086         * math/w_remainderl.c: Likewise.
61087         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
61088         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
61089         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
61090         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
61091         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
61092         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
61093         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
61094         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
61096         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
61097         of the number.
61098         * stdio-common/printf_fphex.c: Likewise.
61099         * stdio-common/printf_size.c: Likewise.
61101         * math/e_exp10.c: Include math_private.h using <...> not "...".
61102         * math/e_exp10f.c: Likewise.
61103         * math/e_exp10l.c: Likewise.
61104         * math/e_exp2l.c: Likewise.
61105         * math/e_j0l.c: Likewise.
61106         * math/e_j1l.c: Likewise.
61107         * math/e_jnl.c: Likewise.
61108         * math/e_lgammal_r.c: Likewise.
61109         * math/e_rem_pio2l.c: Likewise.
61110         * math/e_scalb.c: Likewise.
61111         * math/e_scalbf.c: Likewise.
61112         * math/e_scalbl.c: Likewise.
61113         * math/k_cosl.c: Likewise.
61114         * math/k_sinl.c: Likewise.
61115         * math/k_tanl.c: Likewise.
61116         * math/s_cacoshf.c: Likewise.
61117         * math/s_catan.c: Likewise.
61118         * math/s_catanf.c: Likewise.
61119         * math/s_catanh.c: Likewise.
61120         * math/s_catanhf.c: Likewise.
61121         * math/s_catanhl.c: Likewise.
61122         * math/s_catanl.c: Likewise.
61123         * math/s_ccosh.c: Likewise.
61124         * math/s_ccoshf.c: Likewise.
61125         * math/s_ccoshl.c: Likewise.
61126         * math/s_cexp.c: Likewise.
61127         * math/s_cexpf.c: Likewise.
61128         * math/s_cexpl.c: Likewise.
61129         * math/s_clog.c: Likewise.
61130         * math/s_clog10.c: Likewise.
61131         * math/s_clog10f.c: Likewise.
61132         * math/s_clog10l.c: Likewise.
61133         * math/s_clogf.c: Likewise.
61134         * math/s_clogl.c: Likewise.
61135         * math/s_csin.c: Likewise.
61136         * math/s_csinf.c: Likewise.
61137         * math/s_csinh.c: Likewise.
61138         * math/s_csinhf.c: Likewise.
61139         * math/s_csinhl.c: Likewise.
61140         * math/s_csinl.c: Likewise.
61141         * math/s_csqrt.c: Likewise.
61142         * math/s_csqrtf.c: Likewise.
61143         * math/s_csqrtl.c: Likewise.
61144         * math/s_ctan.c: Likewise.
61145         * math/s_ctanf.c: Likewise.
61146         * math/s_ctanh.c: Likewise.
61147         * math/s_ctanhf.c: Likewise.
61148         * math/s_ctanhl.c: Likewise.
61149         * math/s_ctanl.c: Likewise.
61150         * math/s_ldexp.c: Likewise.
61151         * math/s_ldexpf.c: Likewise.
61152         * math/s_ldexpl.c: Likewise.
61153         * math/s_significand.c: Likewise.
61154         * math/s_significandf.c: Likewise.
61155         * math/s_significandl.c: Likewise.
61156         * math/w_acos.c: Likewise.
61157         * math/w_acosf.c: Likewise.
61158         * math/w_acosh.c: Likewise.
61159         * math/w_acoshf.c: Likewise.
61160         * math/w_acoshl.c: Likewise.
61161         * math/w_acosl.c: Likewise.
61162         * math/w_asin.c: Likewise.
61163         * math/w_asinf.c: Likewise.
61164         * math/w_asinl.c: Likewise.
61165         * math/w_atan2.c: Likewise.
61166         * math/w_atan2f.c: Likewise.
61167         * math/w_atan2l.c: Likewise.
61168         * math/w_atanh.c: Likewise.
61169         * math/w_atanhf.c: Likewise.
61170         * math/w_atanhl.c: Likewise.
61171         * math/w_cosh.c: Likewise.
61172         * math/w_coshf.c: Likewise.
61173         * math/w_coshl.c: Likewise.
61174         * math/w_dremf.c: Likewise.
61175         * math/w_exp10.c: Likewise.
61176         * math/w_exp10f.c: Likewise.
61177         * math/w_exp10l.c: Likewise.
61178         * math/w_exp2.c: Likewise.
61179         * math/w_exp2f.c: Likewise.
61180         * math/w_fmod.c: Likewise.
61181         * math/w_fmodf.c: Likewise.
61182         * math/w_fmodl.c: Likewise.
61183         * math/w_hypot.c: Likewise.
61184         * math/w_hypotf.c: Likewise.
61185         * math/w_hypotl.c: Likewise.
61186         * math/w_j0.c: Likewise.
61187         * math/w_j0f.c: Likewise.
61188         * math/w_j0l.c: Likewise.
61189         * math/w_j1.c: Likewise.
61190         * math/w_j1f.c: Likewise.
61191         * math/w_j1l.c: Likewise.
61192         * math/w_jn.c: Likewise.
61193         * math/w_jnf.c: Likewise.
61194         * math/w_jnl.c: Likewise.
61195         * math/w_lgamma.c: Likewise.
61196         * math/w_lgamma_r.c: Likewise.
61197         * math/w_lgammaf.c: Likewise.
61198         * math/w_lgammaf_r.c: Likewise.
61199         * math/w_lgammal.c: Likewise.
61200         * math/w_lgammal_r.c: Likewise.
61201         * math/w_log.c: Likewise.
61202         * math/w_log10.c: Likewise.
61203         * math/w_log10f.c: Likewise.
61204         * math/w_log10l.c: Likewise.
61205         * math/w_log2.c: Likewise.
61206         * math/w_log2f.c: Likewise.
61207         * math/w_log2l.c: Likewise.
61208         * math/w_logf.c: Likewise.
61209         * math/w_logl.c: Likewise.
61210         * math/w_pow.c: Likewise.
61211         * math/w_powf.c: Likewise.
61212         * math/w_powl.c: Likewise.
61213         * math/w_remainder.c: Likewise.
61214         * math/w_remainderf.c: Likewise.
61215         * math/w_remainderl.c: Likewise.
61216         * math/w_scalb.c: Likewise.
61217         * math/w_scalbf.c: Likewise.
61218         * math/w_scalbl.c: Likewise.
61219         * math/w_sinh.c: Likewise.
61220         * math/w_sinhf.c: Likewise.
61221         * math/w_sinhl.c: Likewise.
61222         * math/w_sqrt.c: Likewise.
61223         * math/w_sqrtf.c: Likewise.
61224         * math/w_sqrtl.c: Likewise.
61225         * math/w_tgamma.c: Likewise.
61226         * math/w_tgammaf.c: Likewise.
61227         * math/w_tgammal.c: Likewise.
61229         * po/ja.po: Update from translation team.
61231 2011-09-29  Andreas Jaeger  <aj@suse.de>
61233         [BZ #13179]
61234         * sunrpc/netname.c (netname2host): Fix logic.
61236         [BZ #6779]
61237         [BZ #6783]
61238         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
61239         correctly.
61240         * math/w_remainder.c (__remainder): Likewise.
61241         * math/w_remainderf.c (__remainderf): Likewise.
61242         * math/libm-test.inc (remainder_test): Add test cases.
61244 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61246         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
61247         sdiv_qrnnd.
61249 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
61251         * string/test-memcmp.c: Avoid unncessary #defines.
61252         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
61254 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61256         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
61257         Use new sse2 version for core i3 - i7 as it's faster
61258         than sse42 version.
61259         (bit_Prefer_PMINUB_for_stringop): New.
61260         * sysdeps/x86_64/rawmemchr.S: Update.
61261         Replace with faster SSE2 version.
61262         * sysdeps/x86_64/memrchr.S: New file.
61263         * sysdeps/x86_64/memchr.S: Update.
61264         Replace with faster SSE2 version.
61266 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
61268         * elf/dl-load.c (lose): Add cast to avoid warning.
61270 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
61272         * po/ca.po: Update from translation team.
61274         * inet/getnetgrent_r.c: Hook up nscd.
61275         * nscd/Makefile (routines): Add nscd_netgroup.
61276         (nscd-modules): Add netgroupcache.
61277         (CFLAGS-netgroupcache.c): Define.
61278         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
61279         (cache_search): Add const to second parameter.
61280         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
61281         INNETGR.
61282         (dbs): Add netgrdb entry.
61283         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
61284         (verify_persistent_db): Handle netgrdb.
61285         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
61286         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
61287         GETFDNETGR.
61288         (netgroup_response_header): Define.
61289         (innetgroup_response_header): Define.
61290         (datahead): Add netgroup_response_header and innetgroup_response_header
61291         elements.
61292         * nscd/nscd.conf: Add entries for netgroup cache.
61293         * nscd/nscd.h (dbtype): Add netgrdb.
61294         (_PATH_NSCD_NETGROUP_DB): Define.
61295         (netgroup_iov_disabled): Declare.
61296         (xmalloc, xcalloc, xrealloc): Move declarations here.
61297         (cache_search): Adjust prototype.
61298         Add netgroup-related prototypes.
61299         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
61300         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
61301         (__nscd_innetgr): Declare.
61302         * nscd/selinux.c (perms): Use access_vector_t as element type and
61303         add netgroup-related initializers.
61304         * nscd/netgroupcache.c: New file.
61305         * nscd/nscd_netgroup.c: New file.
61306         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
61307         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
61308         For four parameters use innetgr.
61309         * nss/nss_files/files-init.c: Add definition and callback for netgr.
61310         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
61311         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
61312         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
61314         * nscd/connections.c (register_traced_file): Don't register file
61315         for disabled databases.
61317 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
61319         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
61321         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
61322         from tree and freeing node.
61324 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
61326         * nss/nsswitch.c (__nss_database_lookup): Handle
61327         nss_parse_service_list out of memory case.
61329 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
61331         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
61332         out of memory case.
61334 2011-10-04  Andreas Schwab  <schwab@redhat.com>
61336         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
61337         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
61338         pass it down.
61339         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
61340         elf_machine_rela, elf_machine_lazy_rel.
61341         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
61342         (ELF_DYNAMIC_DO_REL): Likewise.
61343         (ELF_DYNAMIC_DO_RELA): Likewise.
61344         (ELF_DYNAMIC_RELOCATE): Likewise.
61345         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
61346         to ELF_DYNAMIC_DO_REL.
61347         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
61348         (dl_main): In trace mode always set __RTLD_NOIFUNC.
61349         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
61350         elf_machine_rela.
61351         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
61352         skip_ifunc, don't call ifunc function if non-zero.
61353         (elf_machine_rela): Likewise.
61354         (elf_machine_lazy_rel): Likewise.
61355         (elf_machine_lazy_rela): Likewise.
61356         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
61357         (elf_machine_lazy_rel): Likewise.
61358         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
61359         Likewise.
61360         (elf_machine_lazy_rel): Likewise.
61361         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61362         Likewise.
61363         (elf_machine_lazy_rel): Likewise.
61364         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
61365         (elf_machine_lazy_rel): Likewise.
61366         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
61367         (elf_machine_lazy_rel): Likewise.
61368         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
61369         (elf_machine_lazy_rel): Likewise.
61370         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
61371         (elf_machine_lazy_rel): Likewise.
61372         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
61373         (elf_machine_lazy_rel): Likewise.
61374         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
61375         (elf_machine_lazy_rel): Likewise.
61377 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
61379         * nss/nss_files/files-init.c (_nss_files_init): Use static
61380         initialization for all the *_traced_file variables.
61382 2011-09-28  Andreas Schwab  <schwab@redhat.com>
61384         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61386 2011-09-27  Roland McGrath  <roland@hack.frob.com>
61388         [BZ #13226]
61389         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
61391 2011-09-27  Andreas Schwab  <schwab@redhat.com>
61393         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
61394         Reread the line before reparsing it.
61396 2011-09-26  Andreas Schwab  <schwab@redhat.com>
61398         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
61400 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
61401             Maxim Kuvyrkov  <maxim@codesourcery.com>
61402             Joseph Myers  <joseph@codesourcery.com>
61404         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
61405         if needed for __stack_chk_guard.
61407 2011-09-19  Roland McGrath  <roland@hack.frob.com>
61409         * sysdeps/posix/spawni.c (script_execute): Always define it.
61410         It will be optimized away if unused.
61411         (maybe_script_execute): New function.
61412         (__spawni): Call it.
61414         * Makerules: Don't include tls.make.
61415         (config-tls): Always set to thread.
61416         * tls.make.c: File removed.
61418 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
61420         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
61421         * config.make.in (CPPFLAGS-config): New substituted variable.
61423 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
61425         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
61427         [BZ #13192]
61428         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
61429         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
61431 2011-09-15  Roland McGrath  <roland@hack.frob.com>
61433         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
61434         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
61435         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61436         (CALL_FAIL): Likewise.
61437         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
61438         (CALL_FAIL): Macro removed.
61439         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
61441 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
61443         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
61444         for __FINITE_MATH_ONLY__ == 1.
61446 2011-09-15  Andreas Schwab  <schwab@redhat.com>
61448         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
61449         __ieee754_sqrt instead of sqrt.
61450         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
61451         __ieee754_sqrtf instead of sqrtf.
61452         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
61453         __floorf instead of floorf.
61454         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
61455         __floorf, __truncf instead of floorf, truncf.
61457 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
61459         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
61461         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
61462         __extern_always_inline.
61463         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
61464         32-bit.
61466 2011-09-14  Andreas Schwab  <schwab@redhat.com>
61468         * elf/rtld.c (dl_main): Also relocate in dependency order when
61469         doing symbol dependency testing.
61471 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
61473         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61474         Always define `refsym'.
61476 2011-09-13  Andreas Schwab  <schwab@redhat.com>
61478         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
61479         (__FD_ELT): Renamed from __FDELT.
61480         * misc/bits/select2.h (__FD_ELT): Likewise.
61481         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
61482         __FD_MASK instead of __FDELT, __FDMASK.
61483         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61484         Likewise.
61485         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61486         Likewise.
61488         * elf/Makefile (gen-ldd): Fix pattern.
61490         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
61491         (init_tls): Likewise.
61493 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
61495         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
61497 2011-09-12  Andreas Schwab  <schwab@redhat.com>
61499         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
61500         `struct cmsghdr *' instead of `void *'.
61501         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
61502         Likewise.
61504 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
61506         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
61507         if non-absolute.
61508         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
61509         ldd_rewrite_script.
61511 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
61513         * configure.in: Remove --with-tls option.
61514         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
61515         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
61516         out in case it is missing.
61517         * sysdeps/ia64/elf/configure.in: Likewise.
61518         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
61519         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
61520         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
61521         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
61522         * sysdeps/sh/elf/configure.in: Likewise.
61523         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
61524         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
61525         * sysdeps/x86_64/elf/configure.in: Likewise.
61526         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
61527         * sysdeps/mach/hurd/tls.h: Likewise.
61529         [BZ #13067]
61530         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
61532         [BZ #13090]
61533         * configure.in: Fix use of AC_INIT.
61535         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
61537 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
61539         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
61540         __set_errno.
61541         * malloc/hooks.c: Likewise.
61543         [BZ #11929]
61544         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
61545         variables statically.
61546         (narenas): Initialize.
61547         (list_lock): Initialize.
61548         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
61549         initializtion of main_arena and list_lock.  Small cleanups.
61550         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
61551         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
61552         Add initializers to main_arena and mp_.
61553         (malloc_state): Remove pagesize member.  Change all users to use
61554         GLRO(dl_pagesize).
61556         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
61557         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
61558         is always initialized.
61560         * malloc/malloc.c: Removed unused configurations and dead code.
61561         * malloc/arena.c: Likewise.
61562         * malloc/hooks.c: Likewise.
61563         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
61565         * include/tls.h: Removed.  USE___THREAD must always be defined.
61566         * bits/libc-tsd.h: Don't handle !USE___THREAD.
61567         * elf/dl-libc.c: Likewise.
61568         * elf/dl-tsd.c: Likewise.
61569         * include/errno.h: Likewise.
61570         * include/netdb.h: Likewise.
61571         * include/resolv.h: Likewise.
61572         * inet/herrno-loc.c: Likewise.
61573         * inet/herrno.c: Likewise.
61574         * malloc/arena.c: Likewise.
61575         * malloc/hooks.c: Likewise.
61576         * malloc/malloc.c: Likewise.
61577         * resolv/res-state.c: Likewise.
61578         * resolv/res_libc.c: Likewise.
61579         * sysdeps/i386/dl-machine.h: Likewise.
61580         * sysdeps/ia64/dl-machine.h: Likewise.
61581         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
61582         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61583         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
61584         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
61585         * sysdeps/sh/dl-machine.h: Likewise.
61586         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61587         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61588         * sysdeps/unix/i386/sysdep.S: Likewise.
61589         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
61590         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
61591         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
61592         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
61593         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
61594         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
61595         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
61596         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61597         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61598         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
61599         * sysdeps/unix/x86_64/sysdep.S: Likewise.
61600         * sysdeps/x86_64/dl-machine.h: Likewise.
61601         * tls.make.c: Likewise.
61603         * configure.in: Remove --with-__thread option.  Make tests for
61604         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
61605         tls_model attribute fail if no support is available.  Remove
61606         USE_IN_LIBIO.
61607         * Makeconfig: Adjust for dropped configure option.  All features are
61608         now mandatory.
61609         * Makerules: Likewise.
61610         * Versions.def: Likewise.
61611         * argp/argp-fmtstream.c: Likewise.
61612         * argp/argp-fmtstream.h: Likewise.
61613         * argp/argp-help.c: Likewise.
61614         * assert/assert.c: Likewise.
61615         * config.h.in: Likewise.
61616         * config.make.in: Likewise.
61617         * configure: Likewise.
61618         * configure.in: Likewise.
61619         * csu/Versions: Likewise.
61620         * csu/init.c: Likewise.
61621         * elf/tst-audit2.c: Likewise.
61622         * elf/tst-tls10.c: Likewise.
61623         * elf/tst-tls10.h: Likewise.
61624         * elf/tst-tls11.c: Likewise.
61625         * elf/tst-tls12.c: Likewise.
61626         * elf/tst-tls14.c: Likewise.
61627         * elf/tst-tlsmod11.c: Likewise.
61628         * elf/tst-tlsmod12.c: Likewise.
61629         * elf/tst-tlsmod13.c: Likewise.
61630         * elf/tst-tlsmod13a.c: Likewise.
61631         * elf/tst-tlsmod14a.c: Likewise.
61632         * elf/tst-tlsmod15b.c: Likewise.
61633         * elf/tst-tlsmod16a.c: Likewise.
61634         * elf/tst-tlsmod16b.c: Likewise.
61635         * elf/tst-tlsmod7.c: Likewise.
61636         * elf/tst-tlsmod8.c: Likewise.
61637         * elf/tst-tlsmod9.c: Likewise.
61638         * gmon/gmon.c: Likewise.
61639         * grp/fgetgrent_r.c: Likewise.
61640         * grp/putgrent.c: Likewise.
61641         * hurd/fopenport.c: Likewise.
61642         * include/libc-symbols.h: Likewise.
61643         * include/tls.h: Likewise.
61644         * intl/gettextP.h: Likewise.
61645         * intl/loadinfo.h: Likewise.
61646         * locale/global-locale.c: Likewise.
61647         * locale/localeinfo.h: Likewise.
61648         * mach/devstream.c: Likewise.
61649         * malloc/arena.c: Likewise.
61650         * malloc/set-freeres.c: Likewise.
61651         * misc/err.c: Likewise.
61652         * misc/getttyent.c: Likewise.
61653         * misc/mntent_r.c: Likewise.
61654         * posix/getopt.c: Likewise.
61655         * posix/wordexp.c: Likewise.
61656         * pwd/fgetpwent_r.c: Likewise.
61657         * resolv/Versions: Likewise.
61658         * resolv/res_hconf.c: Likewise.
61659         * shadow/fgetspent_r.c: Likewise.
61660         * shadow/putspent.c: Likewise.
61661         * stdio-common/printf_fphex.c: Likewise.
61662         * stdio-common/tmpfile.c: Likewise.
61663         * stdlib/abort.c: Likewise.
61664         * stdlib/fmtmsg.c: Likewise.
61665         * sunrpc/auth_unix.c: Likewise.
61666         * sunrpc/clnt_perr.c: Likewise.
61667         * sunrpc/clnt_tcp.c: Likewise.
61668         * sunrpc/clnt_udp.c: Likewise.
61669         * sunrpc/clnt_unix.c: Likewise.
61670         * sunrpc/openchild.c: Likewise.
61671         * sunrpc/svc_simple.c: Likewise.
61672         * sunrpc/svc_tcp.c: Likewise.
61673         * sunrpc/svc_udp.c: Likewise.
61674         * sunrpc/svc_unix.c: Likewise.
61675         * sunrpc/xdr.c: Likewise.
61676         * sunrpc/xdr_array.c: Likewise.
61677         * sunrpc/xdr_rec.c: Likewise.
61678         * sunrpc/xdr_ref.c: Likewise.
61679         * sunrpc/xdr_stdio.c: Likewise.
61681 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
61683         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61685 2011-07-03  Andreas Jaeger  <aj@suse.de>
61687         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
61688         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
61689         regenerate with gen-libm-tests.pl.
61691 2010-05-12  Petr Baudis  <pasky@suse.cz>
61693         [BZ #11589]
61694         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
61695         around j0() zero points by switching to j1().
61696         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61697         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61698         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61699         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61701 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
61703         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
61704         instead of 0.
61705         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
61706         instead of 0.
61707         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61708         Patch in part by Pavel Roskin <proski@gnu.org>.
61710         [BZ #13138]
61711         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
61712         realloc.
61713         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
61714         Free memory block if necessary.
61716         [BZ #12847]
61717         * libio/genops.c (INTDEF): For string streams the _lock pointer can
61718         be NULL.  Don't lock in this case.
61720 2011-09-09  Roland McGrath  <roland@hack.frob.com>
61722         * elf/elf.h (ELFOSABI_GNU): New macro.
61723         (ELFOSABI_LINUX): Define to that.
61725 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
61727         * string/strncat.c (strncat): Undef the symbol in case it has been
61728         defined in bits/string.h.
61730 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
61732         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
61734         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
61735         link map.
61737 2011-08-17  Andreas Jaeger  <aj@suse.de>
61739         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
61741 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
61742             Ian Lance Taylor  <iant@google.com>
61744         * math/libm-test.inc (lround_test): New testcase.
61745         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
61747 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
61749         * Makefile: Remove support for automatic cvs check-ins.
61750         * Makerules: Likewise.
61751         * config.make.in: Likewise.
61752         * configure.in: Likewise.
61753         * intl/Makefile: Likewise.
61754         * locale/Makefile: Likewise.
61755         * po/Makefile: Likewise.
61756         * posix/Makefile: Likewise.
61757         * sysdeps/gnu/Makefile: Likewise.
61758         * sysdeps/mach/hurd/Makefile: Likewise.
61759         * sysdeps/sparc/sparc32/Makefile: Likewise.
61761         [BZ #13118]
61762         * posix/Makefile (bug-regex32-ENV): Define.
61763         Patch by John Stanley <jpsinthemix@verizon.net>.
61765         * misc/Makefile (headers): Add bits/select2.h.
61766         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
61767         * misc/bits/select2.h: New file.
61768         * include/bits/select2.h: New file.
61769         * debug/Makefile (routines): Add fdelt_chk.
61770         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
61771         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
61772         FD_ISSET.
61773         * debug/fdelt_chk.c: New file.
61775         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
61776         * wcsmbs/test-wmemcmp.c: Likewise.
61777         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
61778         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
61780 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61782         * string/Makefile (strop-tests): Add memcmp.
61783         * string/test-wmemcmp.c: New file.
61784         * string/test-memcmp.c: Add wmemcmp support.
61786 2011-09-08  Roland McGrath  <roland@hack.frob.com>
61788         [BZ #13153]
61789         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
61790         2011-07-19 change.
61792         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
61793         garbage value in a __mach_port_mod_refs call in the cases of the
61794         task-self and thread-self ports.
61796 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61798         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
61800 2011-09-08  Andreas Schwab  <schwab@redhat.com>
61802         * elf/dl-load.c (lose): Check for non-null L.
61804 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
61806         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
61808         * elf/dl-libc.c (dlerror_run): Pass back error code from
61809         dl_catch_error.
61811         [BZ #13123]
61812         * elf/dl-load.c (lose): Free l_origin if it is valid.
61814         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
61815         names.
61816         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
61817         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61818         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61819         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61820         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
61821         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
61823 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61825         * sysdeps/powerpc/fpu/e_hypot.c: New file.
61826         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
61827         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
61828         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
61829         * sysdeps/powerpc/fpu/k_cosf.c: New file.
61830         * sysdeps/powerpc/fpu/k_sinf.c: New file.
61831         * sysdeps/powerpc/fpu/s_cosf.c: New file.
61832         * sysdeps/powerpc/fpu/s_sinf.c: New file.
61833         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
61834         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
61836 2011-08-15  Alan Modra  <amodra@gmail.com>
61838         [BZ #13092]
61839         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
61840         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
61841         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
61842         ppc_mcount to static-only-routines.
61843         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
61844         __mcount_internal.
61845         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
61846         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
61848 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
61850         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
61851         for finite and infinity parameters.
61853 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
61855         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
61856         and add nop instructions for throughput optimization.
61857         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61859 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
61861         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
61862         aligned copy for power7 with vector-scalar instructions.
61863         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61865 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
61867         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
61868         AVX check.
61870 2011-09-07  Andreas Schwab  <schwab@redhat.com>
61872         [BZ #13144]
61873         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
61874         last change.
61876 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
61878         * sysdeps/unix/sysv/linux/x86_64/init-first.c
61879         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
61880         syscall wrapper around clock_gettime in __vdso_clock_gettime.
61881         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
61882         clock_gettime.
61884 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
61886         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
61887         Forgot to demangle the pointer.
61889         * sysdeps/i386/sysdep.h: Define atom_text_section.
61890         * sysdeps/x86_64/sysdep.h: Likewise.
61891         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
61892         section with atom_text_section.
61893         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61894         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61895         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
61896         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61897         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
61899         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
61900         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
61901         already be defined.  Change to take two parameters and don't assign
61902         result to variable.  Adjust all users.
61903         Define INTERNAL_GETTIME if not already defined.
61904         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
61905         call.
61906         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
61907         HAVE_CLOCK_GETTIME_VSYSCALL.
61908         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
61910         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
61911         gettimeofday vsyscall, just use time.
61913 2011-09-06  Andreas Schwab  <schwab@redhat.com>
61915         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
61916         <errno.h>.
61918 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
61920         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
61921         syscall on x86-64.
61922         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
61923         syscall.
61924         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
61925         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
61926         syscall if possible.
61928 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
61930         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
61931         e_ident.  Don't pass to find_mapsXX.
61932         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
61934 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61936         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61937         strchr-sse2-no-bsf strrchr-sse2-no-bsf
61938         * sysdeps/x86_64/multiarch/strchr.S: Update.
61939         Check bit_slow_BSF bit.
61940         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61941         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
61942         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
61944 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
61946         [BZ #13134]
61947         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
61948         before glibc 2.15.
61949         (tryshell): Define.
61950         (__spawni): Change last parameter to be flag.  Test
61951         SPAWN_XFLAGS_USE_PATH flag to use path or not.
61952         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
61953         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
61954         * posix/spawni.c: Likewise.
61955         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
61956         * posix/spawnp.c: Likewise.  Change normal version to use
61957         SPAWN_XFLAGS_USE_PATH.
61958         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
61959         SPAWN_XFLAGS_TRY_SHELL.
61961         [BZ #13150]
61962         * posix/glob.h: Remove gcc 1.x support.
61964         [BZ #13068]
61965         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
61967 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61969         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61970         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
61971         strrchr-sse2-bsf
61972         * sysdeps/i386/i686/multiarch/strchr.S: New file.
61973         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
61974         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
61975         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
61976         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
61977         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
61979 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61981         * sysdeps/x86_64/wcscmp.S: New file.
61983         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
61984         wcscmp-c wcscmp-sse2
61985         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
61986         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
61987         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
61988         * wcsmbs/wcscmp.c: Allow renaming.
61990 2011-09-05  David S. Miller  <davem@davemloft.net>
61992         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
61993         stack slot, rather than the struct return pointer slot.
61994         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
61995         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
61996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
61997         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
61999 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
62001         * po/ja.po: Update from translation team.
62003         [BZ #13144]
62004         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
62005         kernel in 64-bit binaries.
62007 2011-09-01  David S. Miller  <davem@davemloft.net>
62009         * elf/elf.h (HWCAP_SPARC_*): Move to..
62010         * sysdeps/sparc/sysdep.h: this new file and add new values.
62011         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
62012         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
62013         _DL_HWCAP_COUNT to 24.
62014         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62015         entries.
62016         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
62017         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
62018         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
62019         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
62020         instead of magic constants.
62021         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62023 2011-08-31  David S. Miller  <davem@davemloft.net>
62025         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
62026         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
62027         Reimplement to do errno handling inline.
62028         (SYSCALL_ERROR_HANDLER): New macro.
62029         (__SYSCALL_STRING): Do not do errno handling in asm.
62030         (__CLONE_SYSCALL_STRING): Delete.
62031         (__INTERNAL_SYSCALL_STRING): Delete.
62032         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
62033         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
62034         (PSEUDO): Reimplement to do errno handling inline.
62035         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
62036         (SYSCALL_ERROR_HANDLER): New macro.
62037         (__SYSCALL_STRING): Do not do errno handling in asm.
62038         (__CLONE_SYSCALL_STRING): Delete.
62039         (__INTERNAL_SYSCALL_STRING): Delete.
62040         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
62041         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
62042         i386.
62043         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
62044         (inline_syscall*): Add 'err' argument.
62045         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
62046         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
62047         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
62048         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
62050         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
62051         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
62053 2011-08-30  Andreas Schwab  <schwab@redhat.com>
62055         * elf/rtld.c (dl_main): Relocate objects in dependency order.
62057 2011-08-29  Jiri Olsa <jolsa@redhat.com>
62059         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
62060         directive.
62062 2011-08-24  David S. Miller  <davem@davemloft.net>
62064         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
62066 2011-08-24  Andreas Schwab  <schwab@redhat.com>
62068         * elf/Makefile: Add rules to build and run unload8 test.
62069         * elf/unload8.c: New file.
62070         * elf/unload8mod1.c: New file.
62071         * elf/unload8mod1x.c: New file.
62072         * elf/unload8mod2.c: New file.
62073         * elf/unload8mod3.c: New file.
62075         * elf/dl-close.c (_dl_close_worker): Reset private search list if
62076         it wasn't used.
62078 2011-08-23  David S. Miller  <davem@davemloft.net>
62080         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
62081         subtract stack bias.
62082         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
62083         %sp not %fp in calculations.
62084         (_JMPBUF_UNWINDS_ADJ): Likewise.
62086         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
62087         (aio_suspend): Call it to force an exception region around the
62088         AIO_MISC_WAIT() invocation.
62090 2011-08-23  Andreas Schwab  <schwab@redhat.com>
62092         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
62093         backslash.
62095 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
62097         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
62098         protection macro.
62099         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
62100         and <dl-machine.h>.
62101         (Elf64_FuncDesc): Remove.
62103 2011-08-22  David S. Miller  <davem@davemloft.net>
62105         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
62106         sigaltstack check, add missing cfi directives.
62107         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
62108         missing cfi directives, and sigaltstack handling.
62110 2011-08-16  Andreas Schwab  <schwab@redhat.com>
62112         [BZ #11724]
62113         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
62114         object is seen twice.
62115         * elf/dl-fini.c (_dl_sort_fini): Likewise.
62117         * elf/Makefile (distribute): Add tst-initorder2.c.
62118         (tests): Add tst-initorder2.
62119         (modules-names): Add tst-initorder2a tst-initorder2b
62120         tst-initorder2c tst-initorder2d.  Add rules to build them.
62121         ($(objpfx)tst-initorder2.out): New rule.
62122         * elf/tst-initorder2.c: New file.
62123         * elf/tst-initorder2.exp: New file.
62125 2011-08-22  Andreas Schwab  <schwab@redhat.com>
62127         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
62129         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
62130         dependencies back to end of function.
62132         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62133         $(elfobjdir)/ld.so.
62135 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
62137         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
62138         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
62139         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
62140         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
62141         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
62142         of __vdso_gettimeofday.
62143         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
62144         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
62145         attribute_hidden.
62146         (_libc_vdso_platform_setup): Remove initialization of
62147         __vdso_gettimeofday and __vdso_time.
62149 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
62151         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
62152         and fgetc_unlocked.
62153         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
62154         getc_unlocked.
62156         * elf/dl-open.c (add_to_global): Report additions to the global scope
62157         for LD_DEBUG=scopes.
62158         (dl_open_worker): Also print scope of newly loaded dependencies.
62159         (_dl_show_scope): Indicate if there is no scope.
62161         [BZ #13114]
62162         * stdio-common/Makefile (tests): Add bug24.
62163         * stdio-common/bug24.c: New file.
62165 2011-08-19  Andreas Jaeger  <aj@suse.de>
62167         [BZ #13114]
62168         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
62169         non-existant file when using close-on-exec mode.
62171 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
62173         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
62174         the very first instruction.
62176         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
62177         the CFI state in the end.
62178         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
62179         inclusion of dl-trampoline.h.
62180         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
62182 2011-08-19  Andreas Schwab  <schwab@redhat.com>
62184         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
62185         expectations for long double.
62187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
62188         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
62190 2011-08-14  David S. Miller  <davem@davemloft.net>
62192         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
62193         artificual limit depends upon the system page size.
62195 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
62197         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
62198         * resolv/Makefile: Define CFLAGS-libresolv.
62200 2011-08-17  Andreas Schwab  <schwab@redhat.com>
62202         * nss/makedb.c (compute_tables): Make variables used in nested
62203         function static.
62205 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
62207         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
62208         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
62209         if buffer was too small.
62211         * elf/pldd.c (main): Attach to all threads in the process.
62212         Rewrite /proc handling to use *at functions.
62214 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
62216         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
62217         specifies first scope to show.
62218         (dl_open_worker): Update callers.  Move printing scope of new
62219         object to before the relocation.
62220         * elf/rtld.c (dl_main): Update _dl_show_scope call.
62221         * sysdeps/generic/ldsodefs.h: Update declaration.
62223         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
62224         string for the scope number.
62226 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
62228         * nscd/servicescache.c (cache_addserv): Make sure written is always
62229         initialized.
62231 2011-08-14  Roland McGrath  <roland@hack.frob.com>
62233         * sysdeps/i386/i486/bits/atomic.h
62234         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
62235         statement expression, so as to suppress "set but not used" warning.
62236         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
62238         * string/strncat.c (STRNCAT): Use prototype definition.
62240         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
62241         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
62242         -Iprograms here.
62243         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
62244         (localedef-modules): Add localedef.
62245         (locale-modules): Add locale.
62247         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
62248         * elf/rtld.c (dl_main): Invert order of assignment in last change,
62249         to avoid a warning.
62251 2011-08-14  David S. Miller  <davem@davemloft.net>
62253         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
62254         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
62256 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
62258         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
62259         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
62260         * elf/rtld.c (dl_main): Set l_name of vDSO.
62261         Call _dl_show_scope when DL_DEBUG_SCOPES.
62262         (process_dl_debug): Recognize scopes flag and also set it for all.
62263         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
62264         Declare _dl_show_scope.
62266         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
62267         (do_dlopen): Pass caller_dlopen to dl_open.
62268         (__libc_dlopen_mode): Initialize caller_dlopen.
62270         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
62271         of libc.  Make tolower call locale-independent.  Optimize a bit by
62272         using isdigit instead of isalnum.
62273         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
62275 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
62277         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
62278         was a dependency or dynamically loaded.
62280 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
62282         * intl/l10nflist.c: Allow architecture-specific pop function.
62283         * sysdeps/x86_64/l10nflist.c: New file.
62285         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
62286         classification.
62288 2011-08-10  Andreas Schwab  <schwab@redhat.com>
62290         * include/dirent.h: Add libc_hidden_proto for scandirat and
62291         scandirat64.  Don't declare __scandirat64.
62292         * dirent/scandirat.c: Add libc_hidden_def.
62293         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
62294         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
62296 2011-08-10  David S. Miller  <davem@davemloft.net>
62298         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
62299         enum.
62300         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62301         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62302         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62304 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
62306         * Versions.def [libc]: Add GLIBC_2.15.
62307         * dirent/Makefile (routines): Add scandirat and scandirat64.
62308         * dirent/Versions [libc]: Export scandirat and scandirat64 for
62309         GLIBC_2.15.
62310         * dirent/dirent.h: Declare scandirat and scandirat64.
62311         * dirent/scandirat.c: New file.
62312         * dirent/scandirat64.c: New file.
62313         * sysdeps/wordsize-64/scandirat.c: New file.
62314         * sysdeps/wordsize-64/scandirat64.c: New file.
62315         * dirent/opendir.c: Define opendirat.
62316         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
62317         using scandirat.
62318         * dirent/scandir64.c: Adjust for scandir.c change.
62319         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
62320         __scandirat64, and __scandir_cancel_handler.
62321         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
62322         additional parameter and use openat instead of open (outside of ld.so).
62323         Add new __opendir as wrapper around __opendirat.
62324         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
62325         here without requiring old scandirat implementation.
62327 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
62329         * dirent/scandir.c (cancel_handler): Renamed to
62330         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
62331         defined.  Adjust users.
62332         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
62333         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
62335 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
62337         * string/test-string.h (IMPL): Use __STRING to expand name and then
62338         stringify it.
62340         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
62341         of cleanups.
62343 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62345         * string/Makefile: Update.
62346         (strop-tests): Append strncat.
62347         * string/test-wcscmp.c: New file.
62348         New comprehensive test for wcscmp.
62349         * string/test-strcmp.c: Update.
62350         (WIDE): New define.
62352 2011-07-22  Andreas Schwab  <schwab@redhat.com>
62354         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
62355         line.
62357 2011-07-26  Andreas Schwab  <schwab@redhat.com>
62359         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62360         encoding to ACE if AI_IDN.
62362 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
62364         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
62365         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
62367 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62369         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
62370         Fix overflow bug in strncat.
62371         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
62373         * string/test-strncat.c: Update.
62374         Add new tests for checking overflow bugs.
62376 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62378         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62379         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
62380         * sysdeps/i386/i686/multiarch/strcat.S: New file.
62381         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
62382         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
62383         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
62384         * sysdeps/i386/i686/multiarch/strncat.S: New file.
62385         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
62386         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
62388         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
62389         (USE_AS_STRCAT): Define.
62390         Add strcat and strncat support.
62391         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62393 2011-07-25  Andreas Schwab  <schwab@redhat.com>
62395         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
62396         __n bigger than INT_MAX+1.
62397         (__strncmp_g): Likewise.
62399 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
62401         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
62402         * libio/stido.h: Likewise.
62404         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
62405         (AF_NFC): Define.
62406         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
62407         (AF_NFC): Define.
62409         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
62410         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62411         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62412         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
62413         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62415         [BZ #13021]
62416         * scripts/test-installation.pl: Don't expect libnss_test1 to be
62417         installed.
62419         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
62420         typo.
62421         (_dl_x86_64_save_sse): Likewise.
62423 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
62425         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
62426         OSXSAVE.
62427         (_dl_x86_64_save_sse): Likewise.
62429         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
62431         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
62433 2011-07-21  Andreas Schwab  <schwab@redhat.com>
62435         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
62436         change.
62437         (_dl_x86_64_save_sse): Use correct AVX check.
62439 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62441         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
62442         bug in strncpy/strncat.
62443         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
62445 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
62447         * string/tester.c (test_strcat): Add tests for different alignments
62448         of source and destination.
62449         (test_strncat): Likewise.
62451 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
62453         [BZ #12852]
62454         * posix/glob.c (glob): Check passed in values before using them in
62455         expressions to avoid some overflows.
62456         (glob_in_dir): Likewise.
62458         [BZ #13007]
62459         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
62460         check for AVX enablement so that we don't crash with old kernels and
62461         new hardware.
62462         * elf/tst-audit4.c: Add same checks here.
62463         * elf/tst-audit6.c: Likewise.
62465         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
62467 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
62469         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
62471 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
62473         * po/cs.po: Update from translation team.
62474         * po/bg.po: Likewise.
62476 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
62478         * misc/sys/cdefs.h: Add support for const attribute.
62479         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
62480         to gnu_dev_{major,minor,makedev} functions.
62482 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
62484         * intl/dcigettext.c (get_output_charset): Add missing bracket.
62486 2011-07-20  Andreas Schwab  <schwab@redhat.com>
62488         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
62489         strlen results.
62491 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62493         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
62494         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
62495         register in order to avoid conflicts with the soft frame pointer
62496         being held in r11 when necessary.
62497         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
62498         (INTERNAL_VSYSCALL_NCS): Likewise.
62500 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
62502         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
62503         * elf/dl-fini.c (_dl_fini): Adjust caller.
62504         * elf/dl-close.c (_dl_close_worker): Likewise.
62505         * sysdeps/generic/ldsodefs.h: Adjust declaration.
62507 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
62509         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
62510         "aux_cache->nlibs < 0".
62512         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
62513         in the reload-count case.
62515 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62517         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62518         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
62519         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
62520         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
62521         * sysdeps/x86_64/multiarch/strcat.S: New file.
62522         * sysdeps/x86_64/multiarch/strncat.S: New file.
62523         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
62524         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
62525         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
62526         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
62527         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
62528         (USE_AS_STRCAT): Define.
62529         Add strcat and strncat support.
62530         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62531         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62532         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
62533         * string/strncat.c: Update.
62534         (USE_AS_STRNCAT): Define.
62535         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62536         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
62537         and i7.
62538         * sysdeps/x86_64/multiarch/init-arch.h
62539         (bit_Prefer_PMINUB_for_stringop): New.
62540         (index_Prefer_PMINUB_for_stringop): Likewise.
62541         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
62542         bit_Prefer_PMINUB_for_stringop.
62544 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
62546         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
62547         buffer64.
62548         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
62549         of casting of buffer.
62550         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
62551         buffer32 and buffer64.
62552         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
62553         writes instead of casting of buffer.
62554         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
62555         buffer32.
62556         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
62557         casting of buffer.
62559 2011-07-19  Andreas Schwab  <schwab@redhat.com>
62561         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
62563 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
62565         * nscd/nscd.c (termination_handler): Don't do anything for a database
62566         if it has not yet been initialized.
62568 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
62570         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62572 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
62574         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62576 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
62578         * po/nl.po: Update from translation team.
62579         * po/sv.po: Likewise.
62581 2011-07-16  Roland McGrath  <roland@hack.frob.com>
62583         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
62584         now disallowed by GCC.
62586         * configure.in (use-default-link): Default to yes if a test -shared
62587         link meets our qualifications.
62588         * configure: Regenerated.
62590         * config.make.in (output-format): New variable.
62591         * configure.in: Check for ld --print-output-format support.
62592         * configure: Regenerated.
62593         * Makerules ($(common-objpfx)format.lds)
62594         [$(output-format) != unknown]: Just use $(output-format),
62595         instead of the linker-script munging.
62597 2011-07-14  Roland McGrath  <roland@hack.frob.com>
62599         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
62600         of $(common-objpfx)shlib.lds.
62601         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
62603         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
62604         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
62606         * configure.in (-z relro check): Adjust test code to add a large
62607         writable data section after it.
62608         * configure: Regenerated.
62610 2011-07-11  Roland McGrath  <roland@hack.frob.com>
62612         * configure.in (-z relro check): Fix test code to make the variable
62613         truly const.
62614         * configure: Regenerated.
62616 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
62618         * nscd/nscd.h (struct traced_file): Define.
62619         (struct database_dyn): Remove inotify_descr, reset_res, and filename
62620         elements.  Add traced_files.
62621         (inotify_fd): Declare.
62622         (register_traced_file): Declare.
62623         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
62624         (inotify_fd): Export.
62625         (resolv_conf_descr): Remove.
62626         (nscd_init): Move inotify descriptor creation to main.
62627         Don't register files for notification here.
62628         (register_traced_file): New function.
62629         (invalidate_cache): Don't use reset_res to determine whether to call
62630         res_init, go through the list of registered files.
62631         (main_loop_poll): The inotify descriptors are now stored in the
62632         structures for the traced files.
62633         (main_loop_epoll): Likewise
62634         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
62635         to __nss_disable_nscd.
62636         * nscd/cache.c (prune_cache): There is no single inotify descriptor
62637         for a database anymore.  Check the records for all the registered
62638         files instead.
62639         * nss/Makefile (libnss_files-routines): Add files-init.
62640         (libnss_db-routines): Add db-init.
62641         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
62642         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
62643         * nss/nss_db/db-init.c: New file.
62644         * nss/nss_files/files-init.c: New file.
62645         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
62646         __nss_lookup_function.
62647         (__nss_lookup_function): Call nss_load_library.
62648         (nss_load_all_libraries): New function.
62649         (__nss_disable_nscd): Take parameter with callback function for files
62650         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
62651         used for the cached services.
62652         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
62653         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
62654         options for features to all the files in nscd.
62656         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
62658 2011-07-10  Roland McGrath  <roland@hack.frob.com>
62660         * csu/elf-init.c (__libc_csu_init): Comment typo.
62662 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
62664         * po/pl.po: Update from translation team.
62665         * po/ja.po: Likewise.
62666         * po/ru.po: Likewise.
62667         * po/ko.po: Likewise.
62668         * po/fr.po: Likewise.
62670 2011-07-09  Roland McGrath  <roland@hack.frob.com>
62672         * configure.in (.ctors/.dtors header and trailer check):
62673         Use an empirical test on a built program.
62674         * configure: Regenerated.
62676         * configure.in (-z relro check): Use an empirical test on a built DSO.
62677         Detect, but do not require, on ia64.
62678         * configure: Regenerated.
62680         * configure.in (READELF): Find it with AC_CHECK_TOOL.
62681         Update tests that use readelf to use $READELF instead.
62682         * configure: Regenerated.
62684 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
62686         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
62687         if the result is not used.
62689 2011-07-05  Andreas Jaeger  <aj@suse.de>
62691         [BZ#9696]
62692         * stdlib/tst-strtod.c: Add testcase.
62694 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
62696         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
62697         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
62698         The latter has a higher limit.  Take additional parameter to pass to
62699         the new function.
62700         (__pathconf): Pass file to __statfs_link_max.
62701         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
62702         __statfs_link_max.
62703         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
62704         __statfs_link_max.
62706         [BZ #12868]
62707         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
62708         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62709         Handle Lustre.
62710         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
62711         (__statfs_filesize_max): Likewise.
62712         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
62714 2011-07-05  Andreas Jaeger  <aj@suse.de>
62716         * resolv/res_comp.c (dn_skipname): Remove unused variable.
62718 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
62720         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
62721         `status' variable.
62722         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
62723         Likewise.
62725 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
62727         * Makefile (strop-tests): Add strncat.
62728         * string/test-strncat.c: New file.
62730 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
62732         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
62734 2011-06-21  Andreas Jaeger  <aj@suse.de>
62736         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
62737         Copy rule from iconvdata/Makefile.
62739 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
62741         [BZ #12922]
62742         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
62743         but no long options are defined, just return 'W'.
62745 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
62747         [BZ #9696]
62748         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
62750 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
62752         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
62753         netgroups to read.
62754         (innetgr): Likewise.
62756 2011-07-05  Roland McGrath  <roland@hack.frob.com>
62758         * config.make.in (install_root): Default to $(DESTDIR).
62760 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
62762         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
62764 2011-07-02  Roland McGrath  <roland@hack.frob.com>
62766         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
62768         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
62769         containing directory rather than embedding absolute directory names.
62771         * scripts/check-local-headers.sh: Rewritten using awk.
62772         Match by word, not by line.  Print error messages for matches.
62773         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
62775         * Makerules [shlib-lds-flags empty]:
62776         ($(common-objpfx)libc_pic.opts): New target.
62777         ($(common-objpfx)libc_pic.os.clean): New target.
62778         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
62780         * config.make.in (OBJCOPY): New variable.
62781         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
62782         * configure: Regenerated.
62784         * config.make.in (use-default-link): New variable.
62785         * configure.in (use_default_link): Grok --with-default-link to set it.
62786         * configure: Regenerated.
62787         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
62788         (shlib-lds, shlib-lds-flags): Define to empty.
62790         * Makerules (shlib-lds): New variable.
62791         (shlib-lds-flags): New variable.
62792         (build-shlib, build-moduile, build-module-asneeded): Use it.
62793         ($(common-objpfx)libc.so): Use $(shlib-lds).
62794         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
62795         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
62797         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
62798         DT_FLAGS/DT_FLAGS_1 with zero flags.
62800         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
62801         linker script munging.
62803 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
62805         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
62806         as 128-bit value.
62807         * crypt/sha512.c (sha512_process_block): Perform total addition using
62808         128-bit if possible.
62809         (__sha512_finish_ctx): Likewise.
62810         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
62811         as 64-bit value.
62812         * crypt/sha256.c (SWAP64): Define.
62813         (sha256_process_block): Perform total addition using 64-bit if
62814         possible.
62815         (__sha256_finish_ctx): Likewise.
62817 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
62819         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
62820         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62821         * nscd/hstcache.c (cache_addhst): Likewise.
62822         * nscd/grpcache.c (cache_addgr): Likewise.
62823         * nscd/aicache.c (addhstaiX): Likewise
62824         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
62826 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
62828         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
62829         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62830         * nscd/hstcache.c (cache_addhst): Likewise.
62831         * nscd/grpcache.c (cache_addgr): Likewise.
62832         * nscd/aicache.c (addhstaiX): Likewise
62834 2011-07-01  Andreas Schwab  <schwab@redhat.com>
62836         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
62837         domain only when needed.
62839 2011-06-30  Andreas Schwab  <schwab@redhat.com>
62841         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
62842         is always restored.
62844 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
62846         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
62847         are re-adding the entry.
62848         * nscd/servicescache.c (cache_addserv): Likewise.
62850 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
62852         * sysdeps/generic/dl-irel.h: fix protection against multiple
62853         inclusions.
62854         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
62856 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
62858         [BZ #12935]
62859         * malloc/memusage.sh: Fix quoting in message.
62860         * debug/xtrace.sh: Likewise.
62862         * configure.in: Remove support for --experimental-malloc option, make
62863         it the default.
62864         * config.make.in: Likewise.
62865         * malloc/Makefile: Likewise.
62867 2011-06-27  Andreas Schwab  <schwab@redhat.com>
62869         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
62870         two-byte characters.
62872 2011-06-27  Roland McGrath  <roland@hack.frob.com>
62874         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
62875         AC_CACHE_CHECK invocation.
62876         * configure: Regenerated.
62878         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
62880 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
62882         [BZ #12350]
62883         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
62884         bit from old_res_options.
62886         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
62888         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
62889         value type for setfct.
62891 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
62893         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62894         __gettimeofday instead of gettimeofday.
62896 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
62898         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
62900 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
62902         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
62904         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
62905         info.
62907 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
62909         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62910         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62911         strcpy-sse2-unaligned strncpy-sse2-unaligned
62912         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
62913         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
62914         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
62915         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
62916         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
62917         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
62918         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
62919         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
62920         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
62921         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
62922         (STRCPY): Support SSE2 and SSSE3 versions.
62924 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
62926         [BZ #12874]
62927         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
62928         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
62929         kernels which artificially limit size of requests.
62931 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
62933         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62934         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62935         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
62936         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
62937         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
62938         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
62939         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
62940         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
62941         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
62942         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
62943         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
62944         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
62945         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
62946         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
62947         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
62948         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62949         Enable unaligned load optimization for Intel Core i3, i5 and i7
62950         processors.
62951         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
62952         Define.
62953         (index_Fast_Unaligned_Load): Define.
62954         (HAS_FAST_UNALIGNED_LOAD): Define.
62956 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
62958         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
62960 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
62962         [BZ #12907]
62963         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
62964         until it is clear that the information is realy needed.
62965         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
62967 2011-06-22  Andreas Schwab  <schwab@redhat.com>
62969         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
62971 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
62973         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62974         /sys/devices/system/cpu/online if it is usable.
62976         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
62977         reading the information from the /proc filesystem to once a second.
62979 2011-06-21  Andreas Jaeger  <aj@suse.de>
62981         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
62982         NULL after inclusion of kernel headers.
62984 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
62986         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
62987         calls to internal_setent.
62989         [BZ #12885]
62990         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
62991         addresses using gethostbyname4_r ignore IPv4 addresses.
62993         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
62994         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
62996         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
62998 2011-06-20  David S. Miller  <davem@davemloft.net>
63000         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
63001         inclusions.
63002         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
63004         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
63005         (elf_irel): Use it.
63006         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
63007         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
63008         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
63009         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
63010         * sysdeps/x86_64/dl-irel.h: Likewise.
63012         * elf/dl-runtime.c: Use elf_ifunc_invoke.
63013         * elf/dl-sym.c: Likewise.
63015 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
63017         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
63018         need to dereference resplen2.
63020 2011-06-14  Andreas Schwab  <schwab@redhat.com>
63022         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
63024 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
63026         * Makeconfig: Define vardbdir and inst_vardbdir.
63027         * nss/Makefile: Add rules to install db-Makefile.
63029         * nss/nss_db/db-XXX.c: Cleanup.
63031         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
63032         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
63033         GLIBC_PRIVATE.
63034         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
63035         * nss/makedb.c: Implement -g option to specify that value strings
63036         are generated and should not be added to table iterated over for
63037         get*ent calls.
63038         * nss/nss_db/db-initgroups.c: New file.
63040         * nss/getent.c: Add support for initgroups lookups through getgrouplist
63041         interface.
63043         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
63044         (internal_getgrouplist): Adjust to name change.
63045         Update use_initgroups_entry if this is not the first call.
63046         * nss/databases.def: Add initgroups entry.
63048         * nss/makedb.c (compute_tables): Check result of multiple hash table
63049         sizes to minimize maximum chain length.
63051 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
63053         * Versions.def: Add entry for libnss_db.
63054         * shlib-versions: Likewise.
63055         * nss/Makefile: Add rules to build libnss_db.
63056         * nss/Versions: Add libnss_db information.  Organize libnss_files
63057         entries better.
63058         * nss/db-Makefile: Add gshadow support.  Change rules for the new
63059         makedb progra.  Some minor improvements to generate smaller files.
63060         * nss/nss_db/nss_db.h: Move NSS database header data structures to
63061         here from...
63062         * nss/makedb.c: ...here.
63063         Improve database format to be smaller and require less memory at
63064         runtime.
63065         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
63066         db anymore.
63067         * nss/nss_db/db-netgrp.c: Likewise.
63068         * nss/nss_db/db-open.c: Likewise.
63069         * nss/nss_files/flies-XXX.x: Adjust comments.
63070         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
63071         * nss/nss_files/files-grp.c: Likewise.
63072         * nss/nss_files/files-hosts.c: Likewise.
63073         * nss/nss_files/files-network.c: Likewise.
63074         * nss/nss_files/files-proto.c: Likewise.
63075         * nss/nss_files/files-pwd.c: Likewise.
63076         * nss/nss_files/files-rpc.c: Likewise.
63077         * nss/nss_files/files-service.c: Likewise.
63078         * nss/nss_files/files-sgrp.c: Likewise.
63079         * nss/nss_files/files-spwd.c: Likewise.
63080         * nss/nss_db/db-alias.c: Removed.
63081         * nss/nss_db/dummy-db.h: Removed.
63083 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
63085         * nss/makedb.c: Rewritten to not use database library.
63086         * nss/Makefile: Update to build new makedb program.
63088 2011-06-14  Andreas Jaeger  <aj@suse.de>
63090         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
63091         memset declaration.
63093 2011-06-10  Andreas Schwab  <schwab@redhat.com>
63095         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
63096         tmpbuf.
63098 2011-06-10  Roland McGrath  <roland@hack.frob.com>
63100         * Makerules (shlib.lds): Fail if the linker script comes out empty.
63101         * elf/Makefile ($(objpfx)ld.so): Likewise.
63103         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
63104         Don't list ld.so twice in dependencies.
63106         * posix/bug-regex31.c: Include <stdlib.h>.
63108         * nscd/hstcache.c (cache_addhst): Remove unused variable.
63110         * nis/nss_compat/compat-spwd.c
63111         (getspent_next_nss_netgr): Remove unused variable.
63112         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
63114         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
63115         nonmembers" output to use the right array.
63117         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
63119         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
63121         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
63122         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
63123         * catgets/gencat.c (read_input_file): Likewise.
63124         * locale/programs/locarchive.c (enlarge_archive): Likewise.
63126         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
63127         variable definition inside #if's controlling its use.
63129         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
63131         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
63133         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
63135         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
63136         unreachable code.
63138         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
63140         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
63141         * configure: Regenerated.
63143         * Makerules: Revert last change.
63144         * elf/Makefile: Likewise.
63146 2011-06-09  Roland McGrath  <roland@hack.frob.com>
63148         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
63149         * elf/Makefile ($(objpfx)librtld.os): Likewise.
63150         (reloc-link): Likewise.
63152 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
63154         * elf/Makefile: Add rules to build pldd.
63155         * elf/pldd.c: New file.
63156         * elf/pldd-xx.c: New file.
63158 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
63160         * version.h: Update for 2.15 development version.
63162 2011-06-07  David S. Miller  <davem@davemloft.net>
63164         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
63165         ifuncs.
63166         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
63167         elf_machine_lazy_rel): Likewise.
63168         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
63169         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
63170         elf_machine_lazy_rel): Likewise.
63171         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
63172         dl_hwcap via passed in argument.
63173         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
63174         Likewise.
63176 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63178         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
63180 2011-06-06  Roland McGrath  <roland@hack.frob.com>
63182         [BZ #12849]
63183         * manual/fdl-1.1.texi: New file, verbatim from:
63184         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
63185         * manual/lgpl-2.1.texi: New file, verbatim from:
63186         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
63187         * manual/Makefile (licenses): New variable, list those new file names.
63188         (texis): Use it.
63189         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
63191         * manual/fdl.texi: File removed.
63192         * manual/lesser.texi: File removed.
63193         * manual/libc.texinfo (Copying, Documentation License):
63194         Use new @include file names, put @appendix directive before @include.
63196 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
63198         [BZ #12841]
63199         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
63200         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
63201         (mq_open): Add __NTH.
63203 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
63205         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63206         Assume Intel Core i3/i5/i7 processor if AVX is available.
63208 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
63210         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63211         typo.
63213 2011-05-31  Andreas Schwab  <schwab@redhat.com>
63215         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
63216         memory.  Use alloca_account.  Fix memory leak when retrying.
63218 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
63220         * version.h (RELEASE): Bump for 2.14 release.
63221         * include/features.h (__GLIBC_MINOR__): Bump to 14.
63223         * config.make.in (RANLIB): Remove entry.
63225 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
63227         * po/Makefile (po-sed-cmd): Add ksh to extensions.
63228         (libc.pot): Work around missing support for .ksh extension in xgettext.
63230         [BZ #12684]
63231         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
63232         if both request failed.
63233         (send_dg): In case of server errors clear resplen or *resplen2.
63235         [BZ #12454]
63236         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
63237         when there are multiple maps.
63238         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
63239         (_dl_fini): Remove test here.
63241         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
63243 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
63245         [BZ #12350]
63246         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
63247         bit from old_res_options.
63248         (gaih_inet): Likewise.
63250         [BZ #11099]
63251         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
63252         as signed.
63254         * resolv/res_init.c (res_setoptions): Make the code more compact.
63256         [BZ #11558]
63257         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
63258         set RES_USEVC.
63260         [BZ #11634]
63261         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
63263         * malloc/malloc.h: Mark malloc hook variables as deprecated.
63265         [BZ #11781]
63266         * malloc/malloc.h: Declare malloc hook variables as volatile.
63268         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
63269         in last patch.
63271         [BZ #11799]
63272         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
63273         raise in the comment.
63274         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63275         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63276         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
63278 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
63280         [BZ #12811]
63281         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
63282         grow the buffers more if it already has to be sufficient.
63283         (build_wcs_upper_buffer): Likewise.
63284         * posix/regexec.c (check_matching): Likewise.
63285         (clean_state_log_if_needed): Likewise.
63286         (extend_buffers): Don't enlarge buffers beyond size of the input
63287         buffer.
63288         Patches mostly by Emil Wojak <emil@wojak.eu>.
63289         * posix/bug-regex32.c: New file.
63290         * posix/Makefile (tests): Add bug-regex32.
63292         * locale/findlocale.c (_nl_find_locale): Return right away if
63293         _nl_explode_name failed.
63294         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
63296         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
63298         * debug/xtrace.sh: Unify messages.
63299         * malloc/memusage.sh: Likewise.
63301         [BZ #12813]
63302         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
63303         time symbol from vDSO.  Substitute with vsyscall if not available.
63304         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
63305         __vdso_time.
63307         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
63308         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
63309         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
63310         Add sendmmsg and internal_sendmmsg.
63311         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
63312         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
63313         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
63315         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
63316         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
63317         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
63319 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
63321         [BZ #12813]
63322         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
63323         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
63324         available.
63325         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
63326         __vdso_getcpu.
63328         [BZ #12814]
63329         * iconvdata/Makefile (tests): Add bug-iconv9.
63330         * iconvdata/bug-iconv9.c: New file.
63332 2011-05-27  Andreas Schwab  <schwab@redhat.com>
63334         [BZ #12814]
63335         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
63337 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
63339         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63340         (struct user_regs_struct): Change intcs field back to cs.
63342 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
63344         * po/ja.po: Update from translation team.
63346 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
63348         [BZ #12795]
63349         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
63350         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
63352 2011-05-20  Andreas Schwab  <schwab@redhat.com>
63354         * stdlib/longlong.h: Update from GCC.
63356 2011-05-23  Andreas Schwab  <schwab@redhat.com>
63358         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
63359         parameter name.
63360         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
63361         Add parameter name.
63362         (__sysconf): Pass it down.
63364 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
63366         [BZ #12671]
63367         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
63368         some situations.
63369         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
63370         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
63371         add in in __libc_use_alloca calls.  Adjust callers.
63372         (glob): Use malloc in some situations.
63374         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
63375         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
63376         pltexit.
63378 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
63380         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
63381         and CLOCK_BOOTTIME_ALARM.
63383         [BZ #12782]
63384         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
63385         is returned.
63387         * string/_strerror.c (__strerror_r): Print negative errors as signed
63388         numbers.
63390         [BZ #12777]
63391         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
63392         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
63393         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
63395         * configure.in: Fix typo in redirection and correct removal of test
63396         files in two cases.
63398         [BZ #12788]
63399         * locale/setlocale.c (new_composite_name): Fix test to check for
63400         identical name of all categories.
63402         [BZ #12792]
63403         * libio/filedoalloc.c (local_isatty): New function.
63404         (_IO_file_doallocate): Use local_isatty.
63405         * stdio-common/perror.c (perror): In case a new stream is used
63406         forward the stream error.
63407         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
63408         error flag.
63410 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
63412         [BZ #11869]
63413         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
63414         alloca.
63415         * include/alloca.h (extend_alloca_account): Define.
63417         [BZ #11857]
63418         * posix/regex.h: Fix comments with documentation of user-accessible
63419         fields after compilation and describe correct free'ing of pattern
63420         after re_compile_pattern.
63421         Patch by Reuben Thomas <rrt@sc3d.org>.
63423 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
63425         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
63426         and -mno-altivec to prevent the compiler from using Altivec and/or
63427         VSX instructions when the corresponding registers are not available.
63429 2011-05-19  Andreas Schwab  <schwab@redhat.com>
63431         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
63433 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
63435         * libio/freopen.c (freopen): Use __dup2, not dup2.
63436         * libio/freopen64.c (freopen64): Likewise.
63438 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63440         [BZ #12775]
63441         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
63442         * math/Makefile (tests): Add test-powl.
63443         (CFLAGS-test-powl.c): Define.
63444         * math/test-powl.c: New file.
63446 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63448         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
63450 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
63452         [BZ #11837]
63453         * iconvdata/gb18030.c: Update to GB18020-2005.
63455 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
63457         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
63458         RE_SYNTAX_POSIX_AWK): Update to match recent development.
63459         Patch by Aharon Robbins <arnold@skeeve.com>.
63461         [BZ #11892]
63462         * stdlib/putenv.c (putenv): Don't always create copy of the variable
63463         on the stack.
63465         [BZ #11895]
63466         * misc/pselect.c (__pselect): Handle timeout value errors hidden
63467         through underflows.
63469         [BZ #12766]
63470         * misc/error.c (error_at_line): Ensure file_name and old_file_name
63471         point to strings before performing equality test for error_one_per_line
63472         mode.
63474         [BZ #11697]
63475         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
63477         [BZ #11820]
63478         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63479         (struct user_fpregs_struct): Avoid __uint*_t types.
63481         [BZ #6420]
63482         * malloc/mtrace.c (tr_where): Add additional parameter to point to
63483         symbol info.  Use it instead of calling _dl_addr locally.
63484         (lock_and_info): New function.
63485         (tr_freehook): Call lock_and_info and pass symbol info as additional
63486         parameter to tr_where.
63487         (tr_mallochook): Likewise.
63488         (tr_reallochook): Likewise.
63489         (tr_memalignhook): Likewise.
63491         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
63492         used and couldn't be at all thread-safe.
63494 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
63496         * libio/freopen.c (freopen): Don't close old file descriptor
63497         before the new one is opened.  Instead dup the new file descriptor
63498         to the old one after the new stream is created.
63499         * libio/freopen64.c (freopen64): Likewise.
63500         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
63501         * libio/fileops.c (_IO_new_file_close_it): Handle new
63502         _IO_FLAGS2_NOCLOSE flag.
63503         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
63504         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
63505         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
63506         _IO_FLAGS2_NOCLOSE flag.
63507         * include/unistd.h: Add hidden_proto for dup3.
63508         Define __have_dup3.
63509         * io/dup3.c: Define hidden symbol.
63510         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
63512         [BZ #7101]
63513         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
63514         when an incomplete long option is used.
63515         * posix/tst-getopt_long1.c: New file.
63516         * posix/Makefile (tests): Add tst-getopt_long1.
63518         [BZ #10138]
63519         * scripts/config.guess: Update from autoconf-2.68.
63520         * scripts/config.sub: Likewise.
63522         [BZ #10157]
63523         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
63524         tests into ...
63525         (has_cpuclock): ...this.  New function.
63526         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
63527         macro here based on has_cpuclock code.
63529         [BZ #10149]
63530         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63531         First byte (not low byte) is now always NUL.
63532         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
63534         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63535         Use non-cancelable interfaces.
63537         [BZ #9809]
63538         * locale/iso-639.def: Add entry for Sorani.
63540         [BZ #11901]
63541         * include/stdlib.h: Move include protection to the right place.
63542         Define abort_msg_s.  Declare __abort_msg with it.
63543         * stdlib/abort.c (__abort_msg): Adjust type.
63544         * assert/assert.c (__assert_fail_base): New function.  Majority
63545         of code from __assert_fail.  Allocate memory for __abort_msg with
63546         mmap.
63547         (__assert_fail): Now call __assert_fail_base.
63548         * assert/assert-perr.c: Remove bulk of implementation.  Use
63549         __assert_fail_base.
63550         * include/assert.hL Declare __assert_fail_base.
63551         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
63552         mmap.
63553         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
63555 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
63557         [BZ #11952]
63558         [BZ #12453]
63559         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
63560         until all modules are registered in the DTV.
63561         * elf/Makefile: Add rules to build and run tst-tls19.
63562         * elf/tst-tls19.c: New file.
63563         * elf/tst-tls19mod1.c: New file.
63564         * elf/tst-tls19mod2.c: New file.
63565         * elf/tst-tls19mod3.c: New file.
63566         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
63568         [BZ #12083]
63569         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
63570         correctly.
63572         [BZ #12601]
63573         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
63574         two-byte sequence errors.
63575         * iconvdata/Makefile (tests): Add bug-iconv8.
63576         * iconvdata/bug-iconv8.c: New file.
63578         [BZ #12626]
63579         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
63580         buf2 definition.
63582         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
63584         [BZ #12432]
63585         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
63586         (dummy_getcfa): New function.
63587         (init): Get _Unwind_GetCFA address, use dummy if not found.
63588         (backtrace_helper): In recursion check, also check whether CFA changes.
63589         (__backtrace): Completely initialize arg.
63591         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
63592         storing incomplete byte sequence in state object.  Avoid testing for
63593         guaranteed too small input if we know there is enough data available.
63595 2011-05-11  Andreas Schwab  <schwab@redhat.com>
63597         * Makeconfig (+link-pie): Indent.
63598         * Rules (binaries-pie): Define if $(have-fpie) and
63599         $(build-shared).
63600         (binaries-shared): Also filter out $(binaries-pie).
63601         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
63602         * nscd/Makefile (others-pie): Add nscd.
63603         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
63604         ($(objpfx)nscd): Remove command override.
63605         * login/Makefile (others-pie): Add pt_chown.
63606         ($(objpfx)pt_chown): Remove command override.
63607         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
63608         remove command overrides.
63610 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
63612         * libio/tst_putwc.c: Fix error messages.
63614         [BZ #12724]
63615         * libio/fileops.c (_IO_new_file_close_it): Always flush when
63616         currently writing and seek to current position when not.
63617         * libio/Makefile (tests): Add bug-fclose1.
63618         * libio/bug-fclose1.c: New file.
63620 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
63622         [BZ #12511]
63623         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
63624         don't set DF_1_NODELETE here.
63625         (do_lookup_x): When entering new entry test for copy relocation
63626         and if necessary set DF_1_NODELETE flag.
63627         * elf/tst-unique4.cc: New file.
63628         * elf/tst-unique4.h: New file.
63629         * elf/tst-unique4lib.cc: New file.
63630         * elf/Makefile: Add rules to build and run tst-unique4.
63631         Patch by Piotr Bury <pbury@goahead.com>.
63633 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
63635         [BZ #12052]
63636         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
63638         [BZ #12625]
63639         * misc/mntent_r.c (addmntent): Flush the stream after the output
63641         [BZ #12393]
63642         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
63643         (is_trusted_path_normalize): Skip initial colon.  Append slash
63644         to empty buffer.  Duplicate is_trusted_path code but allow
63645         constructed patch to be prefix.
63646         (is_dst): Allow $ORIGIN followed by /.
63647         (_dl_dst_substitute): Correct clearing of check_for_trusted.
63648         Correct testing of result of is_trusted_path_normalize
63649         (decompose_rpath): Fix warning.
63651 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
63653         [BZ #11257]
63654         * grp/initgroups.c (internal_getgrouplist): When we found the service
63655         list through the initgroups entry in nsswitch.conf do not always
63656         continue on a successful lookup.  Don't always use the
63657         __nss_group_database value if it is set.
63658         * nss/nsswitch.conf (initgroups): Change action for successful db
63659         lookup to continue for compatibility.
63661 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
63663         [BZ #11532]
63664         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
63665         and CP774 modules.
63666         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
63667         and CP774 modules.
63668         * iconvdata/tst-tables.sh: Likewise.
63669         * iconvdata/cp770.c: New file.
63670         * iconvdata/cp771.c: New file.
63671         * iconvdata/cp772.c: New file.
63672         * iconvdata/cp773.c: New file.
63673         * iconvdata/cp774.c: New file.
63674         * iconvdata/testdata/CP770: New file.
63675         * iconvdata/testdata/CP770..UTF8: New file.
63676         * iconvdata/testdata/CP771: New file.
63677         * iconvdata/testdata/CP771..UTF8: New file.
63678         * iconvdata/testdata/CP772: New file.
63679         * iconvdata/testdata/CP772..UTF8: New file.
63680         * iconvdata/testdata/CP773: New file.
63681         * iconvdata/testdata/CP773..UTF8: New file.
63682         * iconvdata/testdata/CP774: New file.
63683         * iconvdata/testdata/CP774..UTF8: New file.
63685         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
63686         END CHARMAP line.
63687         * iconvdata/gen-8bit-gap.sh: Likewise.
63688         * iconvdata/gen-8bit.sh: Likewise.
63690         * locale/iso-639.def: Add ary entry.
63692         [BZ #11258]
63693         * locale/C-translit.h.in: Add U20A1 transliteration.
63695         [BZ #12178]
63696         * locale/iso-639.def: Add wae entry.
63697         Patch by Kevin Bortis <bortis@translate-wae.ch>.
63699         [BZ #12545]
63700         * locale/programs/localedef.c (construct_output_path): Use ssize_t
63701         for n.
63703         [BZ #12711]
63704         * locale/C-translit.h.in: Add entry for U20B9.
63705         Patch by pravin.d.s@gmail.com.
63707 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
63709         [BZ #12713]
63710         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
63711         ENAMETOOLONG use generic getcwd.
63712         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
63713         in rtld.  Use *stat64.
63714         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
63715         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
63716         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
63717         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
63718         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
63719         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
63720         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
63721         __fstatat64 macros.
63722         * include/dirent.h: Add libc_hidden_proto for rewinddir.
63723         * dirent/rewinddir.c: Add libc_hidden_def.
63724         * sysdeps/mach/hurd/rewinddir.c: Likewise.
63725         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
63727         * include/dirent.h (__alloc_dir): Add flags parameter.
63728         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
63729         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
63730         __alloc_dir.
63731         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
63732         from fdopendir if O_CLOEXEC is already set.
63734 2011-03-15  Alan Modra  <amodra@gmail.com>
63736         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
63737         l_tls_firstbyte_offset non-zero.  Save padding offset in
63738         l_tls_firstbyte_offset for later use.
63739         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
63740         freeing static tls block.
63742 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
63744         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
63745         where #ifdef was intended.  The intent is to prevent ARG_MAX from
63746         being defined by the kernel headers.
63748 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
63750         [BZ #12734]
63751         * resolv/resolv.h: Define RES_NOTLDQUERY.
63752         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
63753         no-tld-query and set RES_NOTLDQUERY.
63754         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
63755         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
63756         modern BIND to search name as TLD unless forbidden.
63758 2011-05-07  Petr Baudis  <pasky@suse.cz>
63759             Ulrich Drepper  <drepper@gmail.com>
63761         [BZ #12393]
63762         * elf/dl-load.c (fillin_rpath): Move trusted path check...
63763         (is_trusted_path): ...to here.
63764         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
63765         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
63766         using is_trusted_path_normalize() in setuid scripts.
63768 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
63770         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
63771         __BEGIN/__END_DECLS.
63773 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
63775         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
63776         NSS_STATUS_NOTFOUND if no record was found.
63778 2011-05-05  Andreas Schwab  <schwab@redhat.com>
63780         * sunrpc/Makefile (headers): Add rpc/netdb.h.
63781         (headers-not-in-tirpc): Remove rpc/netdb.h
63782         * resolv/netdb.h: Revert last change.
63784 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63786         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
63787         circular dependency between libgcc.a and libc.a.
63789 2011-05-05  Andreas Schwab  <schwab@redhat.com>
63791         * resolv/netdb.h: Don't include <rpc/netdb.h>.
63792         * nis/Makefile: Don't install rpcsvc/*.
63793         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
63794         instead of <rpc/types.h>.
63795         (MAXHOSTNAMELEN): Define.
63797 2011-05-03  Andreas Schwab  <schwab@redhat.com>
63799         * elf/ldconfig.c (add_dir): Don't crash on empty path.
63801 2011-04-28  Maciej Babinski  <mbabinski@google.com>
63803         [BZ #12714]
63804         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
63805         gethostbyname4_r when IPv6 results are possible.
63807 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
63809         [BZ #12723]
63810         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
63811         _PC_PIPE_BUF handling.
63813 2011-04-30  Bruno Haible  <bruno@clisp.org>
63815         [BZ #12717]
63816         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
63817         * resolv/netdb.h (getnameinfo): Change type of flags parameter
63818         to 'int'.
63819         * inet/getnameinfo.c (getnameinfo): Likewise.
63821 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
63823         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
63824         to groups setting in database lookup.
63825         * nss/nsswitch.conf: Add initgroups entry.
63827 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
63829         [BZ #12685]
63830         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
63831         mode string.
63832         Patch by Eric Blake <eblake@redhat.com>.
63834 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
63836         * sunrpc/Makefile (need-export-routines): Add svc_run.
63837         (routines): Remove svc_run.
63838         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
63839         * sunrpc/clnt_perr.c (clnt_perrno): Export.
63840         * sunrpc/svc_run.c (svc_run): Likewise.
63841         * sunrpc/svc_udp.c (svcudp_create): Likewise.
63843 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
63845         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
63846         problem in reallocation in last patch.
63848 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
63850         * sunrpc/Makefile: Move inclusion of Rules.
63852 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
63854         * nss/nss_files/files-initgroups.c: New file.
63855         * nss/Makefile (libnss_files-routines): Add files-initgroups.
63856         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
63857         _nss_files_initgroups_dyn.
63859 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
63861         * elf/elf.h (R_ARM_IRELATIVE): Define.
63863 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
63865         * po/ru.po: Update from translation team.
63867 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
63869         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
63870         dependencies.
63872 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
63874         [BZ #12653]
63875         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
63876         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
63877         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63878         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63879         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63881 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
63883         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
63884         differing bytes.
63885         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63886         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63887         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63889 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
63891         [BZ #12420]
63892         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
63893         storing it.
63894         * stdlib/bug-getcontext.c: New file.
63895         * stdlib/Makefile: Add rules to build and run bug-getcontext.
63897 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63899         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
63900         instructions into .machine "z9-109".
63901         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
63902         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
63904 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63906         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
63907         between environment variables and auxiliary vector.
63909 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
63911         * Makefile: Add rules to build linkobj/libc.so.
63912         * include/libc-symbols.h: Define libc_hidden_nolink.
63913         * include/rpc/auth.h: Mark functions which are to be hidden.
63914         * include/rpc/auth_des.h: Likewise.
63915         * include/rpc/auth_unix.h: Likewise.
63916         * include/rpc/clnt.h: Likewise.
63917         * include/rpc/des_crypt.h: Likewise.
63918         * include/rpc/key_prot.h: Likewise.
63919         * include/rpc/pmap_clnt.h: Likewise.
63920         * include/rpc/pmap_prot.h: Likewise.
63921         * include/rpc/pmap_rmt.h: Likewise.
63922         * include/rpc/rpc_msg.h: Likewise.
63923         * include/rpc/svc.h: Likewise.
63924         * include/rpc/svc_auth.h: Likewise.
63925         * include/rpc/xdr.h: Likewise.
63926         * nis/Makefile: Link all DSOs against linkobj/libc.so.
63927         * nss/Makefile: Likewise.
63928         * sunrpc/Makefile: Don't install headers.  Build library with normal
63929         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
63930         * sunrpc/auth_des.c: Hide exported symbols by default, export some
63931         for the compat linking library.  Remove use of INTDEF/INTUSE.
63932         * sunrpc/auth_none.c: Likewise.
63933         * sunrpc/auth_unix.c: Likewise.
63934         * sunrpc/authdes_prot.c: Likewise.
63935         * sunrpc/authuxprot.c: Likewise.
63936         * sunrpc/clnt_gen.c: Likewise.
63937         * sunrpc/clnt_perr.c: Likewise.
63938         * sunrpc/clnt_raw.c: Likewise.
63939         * sunrpc/clnt_simp.c: Likewise.
63940         * sunrpc/clnt_tcp.c: Likewise.
63941         * sunrpc/clnt_udp.c: Likewise.
63942         * sunrpc/clnt_unix.c: Likewise.
63943         * sunrpc/des_crypt.c: Likewise.
63944         * sunrpc/des_soft.c: Likewise.
63945         * sunrpc/get_myaddr.c: Likewise.
63946         * sunrpc/key_call.c: Likewise.
63947         * sunrpc/key_prot.c: Likewise.
63948         * sunrpc/netname.c: Likewise.
63949         * sunrpc/pm_getmaps.c: Likewise.
63950         * sunrpc/pm_getport.c: Likewise.
63951         * sunrpc/pmap_clnt.c: Likewise.
63952         * sunrpc/pmap_prot.c: Likewise.
63953         * sunrpc/pmap_prot2.c: Likewise.
63954         * sunrpc/pmap_rmt.c: Likewise.
63955         * sunrpc/publickey.c: Likewise.
63956         * sunrpc/rpc_cmsg.c: Likewise.
63957         * sunrpc/rpc_common.c: Likewise.
63958         * sunrpc/rpc_dtable.c: Likewise.
63959         * sunrpc/rpc_prot.c: Likewise.
63960         * sunrpc/rpc_thread.c: Likewise.
63961         * sunrpc/rtime.c: Likewise.
63962         * sunrpc/svc.c: Likewise.
63963         * sunrpc/svc_auth.c: Likewise.
63964         * sunrpc/svc_authux.c: Likewise.
63965         * sunrpc/svc_raw.c: Likewise.
63966         * sunrpc/svc_run.c: Likewise.
63967         * sunrpc/svc_simple.c: Likewise.
63968         * sunrpc/svc_tcp.c: Likewise.
63969         * sunrpc/svc_udp.c: Likewise.
63970         * sunrpc/svc_unix.c: Likewise.
63971         * sunrpc/svcauth_des.c: Likewise.
63972         * sunrpc/xcrypt.c: Likewise.
63973         * sunrpc/xdr.c: Likewise.
63974         * sunrpc/xdr_array.c: Likewise.
63975         * sunrpc/xdr_float.c: Likewise.
63976         * sunrpc/xdr_intXX_t.c: Likewise.
63977         * sunrpc/xdr_mem.c: Likewise.
63978         * sunrpc/xdr_rec.c: Likewise.
63979         * sunrpc/xdr_ref.c: Likewise.
63980         * sunrpc/xdr_sizeof.c: Likewise.
63981         * sunrpc/xdr_stdio.c: Likewise.
63983 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
63985         [BZ #12650]
63986         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
63987         * sysdeps/ia64/dl-tls.h: Likewise.
63988         * sysdeps/powerpc/dl-tls.h: Likewise.
63989         * sysdeps/s390/dl-tls.h: Likewise.
63990         * sysdeps/sh/dl-tls.h: Likewise.
63991         * sysdeps/sparc/dl-tls.h: Likewise.
63992         * sysdeps/x86_64/dl-tls.h: Likewise.
63993         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
63995 2011-03-14  Andreas Schwab  <schwab@redhat.com>
63997         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
63998         rpath element also skip the following colon.
63999         (expand_dynamic_string_token): Add is_path parameter and pass
64000         down to DL_DST_REQUIRED and _dl_dst_substitute.
64001         (decompose_rpath): Call expand_dynamic_string_token with
64002         non-zero is_path.  Ignore empty rpaths.
64003         (_dl_map_object_from_fd): Call expand_dynamic_string_token
64004         with zero is_path.
64006 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
64008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64009         Make cancelable.
64011 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
64013         [BZ #12655]
64014         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
64015         Patch by Filipe David Manana <fdmanana@apache.org>.
64017 2011-04-07  Andreas Schwab  <schwab@redhat.com>
64019         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
64020         Maintain aligned stack.
64021         (CHECK_RSP): Remove unused macro.
64023 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
64025         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
64026         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
64028 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
64030         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
64032         * include/features.h: Mention __USE_XOPEN2K8 in comment.
64034 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
64036         [BZ #12518]
64037         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
64038         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
64039         * sysdeps/x86_64/memmove.c: New file.
64040         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
64041         (memcpy): Renamed to ...
64042         (__new_memcpy): This.
64043         (memcpy): Provide GLIBC_2_14 memcpy.
64044         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
64045         (memcpy): Provide GLIBC_2_2_5 memcpy.
64047 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
64049         [BZ #12631]
64050         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
64052 2011-03-30  Andreas Schwab  <schwab@redhat.com>
64054         * misc/syncfs.c: New file.
64055         * misc/Makefile (routines): Add syncfs.
64056         * posix/unistd.h: Declare syncfs.
64057         * sysdeps/unix/syscalls.list: Add syncfs.
64059 2011-04-01  Andreas Schwab  <schwab@redhat.com>
64061         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
64062         open_by_handle_at.
64063         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64064         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64065         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64066         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64067         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64068         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
64069         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64071 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
64073         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
64074         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64075         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
64076         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64077         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64078         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64079         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64081         * io/Makefile: Compile fallocate.c, fallocate64.c, and
64082         sync_file_range.c with -fexceptions.
64083         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
64084         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
64085         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
64086         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
64087         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
64088         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64089         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
64090         sync_file_range as cancellation point
64091         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
64092         now a wrapper around __call_sync_file_range with cancellation handling.
64093         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
64094         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
64095         function name to __call_sync_file_range.
64096         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
64097         Add call_sync_file_range.
64099 2011-04-01  Andreas Schwab  <schwab@redhat.com>
64101         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64102         bits/timex.h.
64104 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
64106         * iconv/iconv.h: Fix typo in comment.
64107         * io/fcntl.h: Likewise.
64108         * libio/stdio.h: Likewise.
64109         * posix/spawn.h: Likewise.
64110         * posix/unistd.h: Likewise.
64111         * stdlib/stdlib.h: Likewise.
64112         * time/time.h: Likewise.
64113         * wcsmbs/wchar.h: Likewise.
64115         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
64116         open_by_handle): Add.
64117         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
64118         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
64119         Augment a few comments.
64120         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64121         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64122         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64123         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64124         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64125         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
64126         open_by_handle.
64128         * io/fcntl.h (AT_EMPTY_PATH): Define.
64130 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
64132         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
64133         * sysdeps/unix/sysv/linux/bits/time.h: New file.
64134         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
64135         to...
64136         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
64137         * Versions.def: Add GLIBC_2.14.
64138         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
64139         Export.
64141 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
64143         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
64144         round counter.
64145         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64147 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64149         [BZ #12597]
64150         * string/test-strncmp.c (do_page_test): New function.
64151         (check2): Likewise.
64152         (test_main): Call check2.
64153         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
64155 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
64157         [BZ #12587]
64158         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
64159         Handle cache information in CPU leaf 4.
64160         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64162 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
64164         [BZ #12583]
64165         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
64166         character representation.
64167         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
64169 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
64171         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
64172         END(__isnan) to END(__isnanf) to match function entry point/label
64173         EALIGN(__isnanf,...).
64175 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
64177         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
64179 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
64181         [BZ #12510]
64182         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
64183         copy from the symbol referenced in the relocation to initialize the
64184         used variable.
64185         Patch by Piotr Bury <pbury@goahead.com>.
64186         * elf/Makefile: Add rules to build and tst-unique3.
64187         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
64188         * elf/tst-unique3.cc: New file.
64189         * elf/tst-unique3.h: New file.
64190         * elf/tst-unique3lib.cc: New file.
64191         * elf/tst-unique3lib2.cc: New file.
64193         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
64195 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
64197         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
64198         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
64199         to _start.
64201 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
64203         * elf/dl-load.c (_dl_map_object): If we are looking for the first
64204         to-be-loaded object along a path to loader is ld.so.
64206 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
64207             Ulrich Drepper  <drepper@gmail.com>
64209         * sysdeps/x86_64/memset.S: After aligning destination, code
64210         branches to different locations depending on the value of
64211         misalignment, when multiarch is enabled. Fix this.
64213 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
64215         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
64216         Set _x86_64_preferred_memory_instruction for AMD processsors.
64217         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64218         Set bit_Prefer_SSE_for_memop for AMD processors.
64220 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
64222         * libio/fmemopen.c (fmemopen): Optimize a bit.
64224 2011-03-03  Andreas Schwab  <schwab@redhat.com>
64226         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
64228 2011-03-03  Roland McGrath  <roland@redhat.com>
64230         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
64232 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
64234         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
64235         __bzero_ultra1 instead of __memset_ultra1.
64237 2011-02-23  Andreas Schwab  <schwab@redhat.com>
64238             Ulrich Drepper  <drepper@gmail.com>
64240         [BZ #12509]
64241         * include/link.h (struct link_map): Add l_orig_initfini.
64242         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
64243         returning unsuccessfully.
64244         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
64245         close of a file loaded at startup, restore the original l_initfini
64246         list.
64247         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
64248         list, store the pointer.
64249         * elf/Makefile ($(objpfx)noload-mem): New rule.
64250         (noload-ENV): Define.
64251         (tests): Add $(objpfx)noload-mem.
64252         * elf/noload.c: Include <memcheck.h>.
64253         (main): Call mtrace.  Close all opened handles.
64255 2011-02-17  Andreas Schwab  <schwab@redhat.com>
64257         [BZ #12454]
64258         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
64259         dependencies are missing.
64261 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64263         Fix __if_freereq crash: Unlike the generic version which uses free,
64264         Hurd needs munmap.
64265         * sysdeps/mach/hurd/ifreq.h: New file.
64267 2011-01-27  Petr Baudis  <pasky@suse.cz>
64268             Ulrich Drepper  <drepper@gmail.com>
64270         [BZ 12445]#
64271         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
64272         to extend_alloca().
64273         * stdio-common/bug23.c: New file.
64274         * stdio-common/Makefile (tests): Add bug23.
64276 2010-09-28  Andreas Schwab  <schwab@redhat.com>
64277             Ulrich Drepper  <drepper@gmail.com>
64279         [BZ #12489]
64280         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
64281         before performing relro protection.  At old place add assertion
64282         to make sure nothing changed.
64284 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
64285             Glauber de Oliveira Costa  <glommer@gmail.com>
64287         * elf/elf.h: Add new ARM TLS relocs.
64289 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
64291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
64292         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
64293         cast from r3.
64294         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
64295         'tests' variable.
64296         * sysdeps/wordsize-64/tst-writev.c: New file.
64298 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
64300         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
64301         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
64302         insns in _dl_start to prevent a TOC reference before relocs are
64303         resolved.
64305 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
64307         [BZ #12469]
64308         * Makeconfig: Remove RANLIB definition.
64309         * Makerules: Don't use RANLIB.
64310         * aclocal.m4: Remove ranlib test.
64311         * configure.in: No need to check for ranlib.
64312         * elf/rtld-Rules: Don't use RANLIB.
64314 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64316         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
64317         protection macro.
64318         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
64319         inclusion protection macro.
64321         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
64322         SIGRTMIN and SIGRTMAX and print information in that case only when
64323         SIGRTMIN is defined.
64325 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
64327         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
64328         arginfo fn returning -1.
64330         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
64331         and thousands string is zero terminated.
64333 2011-02-03  Andreas Schwab  <schwab@redhat.com>
64335         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
64336         sysdeps/unix/sysv/linux/bits/socket.h.
64338 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64340         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
64341         (__CPU_COUNT): Remove old macros.
64342         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
64343         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
64344         (__CPU_ALLOC, __CPU_FREE): Add macros.
64345         (__sched_cpualloc, __sched_cpufree): Add declarations.
64347 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
64349         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
64350         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
64351         * nscd/aicache.c (addhstaiX): Return timeout of added value.
64352         (readdhstai): Return value of addhstaiX call.
64353         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
64354         (addgrbyX): Return value returned by cache_addgr.
64355         (readdgrbyname): Return value returned by addgrbyX.
64356         (readdgrbygid): Likewise.
64357         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
64358         (addpwbyX): Return value returned by cache_addpw.
64359         (readdpwbyname): Return value returned by addhstbyX.
64360         (readdpwbyuid): Likewise.
64361         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
64362         (addservbyX): Return value returned by cache_addserv.
64363         (readdservbyname): Return value returned by addservbyX:
64364         (readdservbyport): Likewise.
64365         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
64366         (addhstbyX): Return value returned by cache_addhst.
64367         (readdhstbyname): Return value returned by addhstbyX.
64368         (readdhstbyaddr): Likewise.
64369         (readdhstbynamev6): Likewise.
64370         (readdhstbyaddrv6): Likewise.
64371         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
64372         (readdinitgroups): Return value returned by addinitgroupsX.
64373         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
64374         (prune_cache): Keep track of timeout value of re-added entries.
64375         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
64376         * nscd/nscd.h: Adjust prototypes of readd* functions.
64378 2011-02-04  Roland McGrath  <roland@redhat.com>
64380         * nis/nis_server.c (nis_servstate): Use the right name for 0.
64381         (nis_stats): Likewise.
64382         * nis/nis_modify.c (nis_modify): Likewise.
64383         * nis/nis_remove.c (nis_remove): Likewise.
64384         * nis/nis_add.c (nis_add): Likewise.
64386         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
64388         * posix/fnmatch_loop.c: Add some consts.
64390         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
64392 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
64394         [BZ #12460]
64395         * config.make.in (config-cflags-novzeroupper): Define.
64396         * configure.in: Substitute libc_cv_cc_novzeroupper.
64397         * elf/Makefile (AVX-CFLAGS): Define.
64398         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
64399         (CFLAGS-tst-auditmod4a.c): Likewise.
64400         (CFLAGS-tst-auditmod4b.c): Likewise.
64401         (CFLAGS-tst-auditmod6b.c): Likewise.
64402         (CFLAGS-tst-auditmod6c.c): Likewise.
64403         (CFLAGS-tst-auditmod7b.c): Likewise.
64404         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
64406 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
64408         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
64409         function to the callback.
64410         Patch partly by Jiri Olsa <jolsa@redhat.com>.
64412 2011-02-02  Andreas Schwab  <schwab@redhat.com>
64414         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
64415         of errno.
64417 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
64419         [BZ #11724]
64420         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
64421         of constructors.
64422         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
64423         of destructors.
64424         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
64426         [BZ #11724]
64427         * elf/Makefile: Add rules to build and run new test.
64428         * elf/tst-initorder.c: New file.
64429         * elf/tst-initorder.exp: New file.
64430         * elf/tst-initordera1.c: New file.
64431         * elf/tst-initordera2.c: New file.
64432         * elf/tst-initordera3.c: New file.
64433         * elf/tst-initordera4.c: New file.
64434         * elf/tst-initorderb1.c: New file.
64435         * elf/tst-initorderb2.c: New file.
64436         * elf/tst-order-a1.c: New file.
64437         * elf/tst-order-a2.c: New file.
64438         * elf/tst-order-a3.c: New file.
64439         * elf/tst-order-a4.c: New file.
64440         * elf/tst-order-b1.c: New file.
64441         * elf/tst-order-b2.c: New file.
64442         * elf/tst-order-main.c: New file.
64443         New test case by George Gensure <werkt0@gmail.com>.
64445 2010-10-01  Andreas Schwab  <schwab@redhat.com>
64447         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
64448         decoding ACE if AI_CANONIDN.
64450 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
64452         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
64454 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
64456         * version.h (RELEASE): Bump for 2.13 release.
64457         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
64459         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
64461         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
64462         MADV_NOHUGEPAGE.
64463         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
64464         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
64465         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64466         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64467         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64468         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64470         * posix/getconf.c: Update copyright year.
64471         * catgets/gencat.c: Likewise.
64472         * csu/version.c: Likewise.
64473         * debug/catchsegv.sh: Likewise.
64474         * debug/xtrace.sh: Likewise.
64475         * elf/ldconfig.c: Likewise.
64476         * elf/ldd.bash.in: Likewise.
64477         * elf/sprof.c (print_version): Likewise.
64478         * iconv/iconv_prog.c: Likewise.
64479         * iconv/iconvconfig.c: Likewise.
64480         * locale/programs/locale.c: Likewise.
64481         * locale/programs/localedef.c: Likewise.
64482         * malloc/memusage.sh: Likewise.
64483         * malloc/mtrace.pl: Likewise.
64484         * nscd/nscd.c (print_version): Likewise.
64485         * nss/getent.c: Likewise.
64487         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
64488         PF_CAIF, and PF_ALG.
64489         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64491 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
64493         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
64494         (modules-names): Use them.
64495         (ifunc-test-modules, ifunc-pie-tests): Define.
64496         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
64497         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
64498         (test-extras): Likewise.
64499         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
64500         $(compile-command.c).
64501         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
64502         (all-built-dso): Define.
64503         (check-textrel.out, check-execstack.out): Depend on it.
64505         * configure.in: Don't override --enable-multi-arch.
64507 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
64509         [BZ #6812]
64510         * nscd/hstcache.c (tryagain): Define.
64511         (cache_addhst): Return tryagain not notfound for temporary errors.
64512         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
64513         failed.
64515 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
64517         [BZ #10563]
64518         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
64519         to make the syscall.
64520         * sysdeps/unix/sysv/linux/setgroups.c: New file.
64522         [BZ #12378]
64523         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
64524         and fall back to matching as normal character if the string ends before
64525         the matching ']' is found.  This is what POSIX requires.
64526         * posix/testfnm.c: Adjust test result.
64527         * posix/globtest.sh: Adjust test result.  Add new test.
64528         * posix/tst-fnmatch.input: Likewise.
64529         * posix/tst-fnmatch2.c: Add new test.
64531 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
64533         * elf/Makefile (check-execstack): Revert last change.  Depend on
64534         check-execstack.h.
64535         (check-execstack.h): New target.
64536         (generated): Add check-execstack.h.
64537         * elf/check-execstack.c: Include "check-execstack.h".
64538         (main): Revert last change.
64539         (handle_file): Return zero if GNU_STACK is absent and
64540         DEFAULT_STACK_PERMS doesn't include PF_X.
64542 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
64544         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
64545         in child fails because the descriptor is already closed.
64546         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
64547         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
64548         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
64550         [BZ #12397]
64551         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
64552         syscall.
64554         [BZ #10484]
64555         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
64556         temporary buffer used to handle multi lookups locally.
64557         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
64559 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
64561         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
64562         loader is ld.so.
64564 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
64566         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
64567         alignment for SSE2.
64569 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
64571         [BZ #12394]
64572         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
64573         characters.  When rounding increased number of integer digits recompute
64574         number of groups.
64575         * stdio-common/tst-grouping.c: New file.
64576         * stdio-common/Makefile: Add rules to build and run tst-grouping.
64578 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
64580         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
64581         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
64583         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
64584         void.
64585         * bits/select.h: Likewise.
64587 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
64589         * po/ja.po: Update from translation team.
64591 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
64593         [BZ #11155]
64594         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
64595         implementation just like for lxstat, fxstatat, et al.
64597 2010-12-27  Jim Meyering  <meyering@redhat.com>
64599         [BZ #12348]
64600         * posix/regexec.c (build_trtable): Return failure indication upon
64601         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
64603 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
64605         [BZ #12201]
64606         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
64607         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
64608         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
64609         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
64611         [BZ #12207]
64612         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
64614         [BZ #12204]
64615         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
64616         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
64618 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
64620         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
64621         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
64622         script has SORT_BY_INIT_PRIORITY.
64623         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
64624         NO_CTORS_DTORS_SECTIONS is defined.
64625         * elf/soinit.c: Likewise.
64626         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
64627         NO_CTORS_DTORS_SECTIONS is defined.
64628         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
64629         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
64630         * sysdeps/sh/init-first.c: Likewise.
64631         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
64633 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
64635         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
64636         always use the slow path.
64638 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
64640         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
64641         similar rule which adds the sysdep directories to the header search in
64642         order to pick up the correct platform stackinfo.h.
64643         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
64644         perform test if it is, otherwise return successfully without testing.
64645         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
64646         DEFAULT_STACK_PERMS define in stackinfo.h.
64647         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
64648         defined in stackinfo.h.
64649         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
64650         DEFAULT_STACK_PERMS defined in stackinfo.h.
64651         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
64652         * sysdeps/ia64/stackinfo.h: Likewise.
64653         * sysdeps/s390/stackinfo.h: Likewise.
64654         * sysdeps/sh/stackinfo.h: Likewise.
64655         * sysdeps/sparc/stackinfo.h: Likewise.
64656         * sysdeps/x86_64/stackinfo.h: Likewise.
64657         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
64658         PF_X for powerpc64.  Retain PF_X for powerpc32.
64660 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
64662         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
64663         accurately.
64664         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
64665         GETDENTS_64BIT_ALIGNED.
64667 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
64669         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
64671 2010-12-10  Andreas Schwab  <schwab@redhat.com>
64673         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
64674         _GNU_SOURCE.
64676         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
64677         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
64678         Remove __restrict.
64679         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
64680         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
64682 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
64684         [BZ #11655]
64685         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
64686         are initialized.
64688 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
64690         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
64692 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
64694         * po/it.po: Update from translation team.
64696 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
64698         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
64699         unused codes.
64701 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
64703         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
64705 2010-11-24  Andreas Schwab  <schwab@redhat.com>
64707         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
64708         specially.
64709         (gaih_getanswer_slice): Likewise.
64711 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
64713         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
64715 2010-05-31  Petr Baudis  <pasky@suse.cz>
64717         [BZ #11149]
64718         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
64719         silently even in the chroot mode.
64721 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
64723         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
64724         last patch a bit.  Pretty printing
64726 2010-05-31  Petr Baudis <pasky@suse.cz>
64728         [BZ #10085]
64729         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
64730         initialization of skip_initgroups_dyn.
64732 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
64734         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
64735         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64737 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
64739         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
64741 2010-11-11  Andreas Schwab  <schwab@redhat.com>
64743         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
64744         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
64745         (tst-fnmatch-ENV): Set MALLOC_TRACE.
64746         ($(objpfx)tst-fnmatch-mem): New rule.
64747         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
64748         * posix/tst-fnmatch.c (main): Call mtrace.
64750 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
64752         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64753         Support Intel processor model 6 and model 0x2c.
64755 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
64757         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
64758           signed comparison.
64760 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
64762         [BZ #12205]
64763         * string/test-strncasecmp.c (check_result): New function.
64764         (do_one_test): Use it.
64765         (check1): New function.
64766         (test_main): Use it.
64767         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
64768         Support strcasecmp and strncasecmp.
64770 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
64772         [BZ #12194]
64773         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
64774         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64776 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
64778         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
64779         IFUNC support.
64780         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64781         memset-x86-64.
64782         * sysdeps/x86_64/multiarch/bzero.S: New file.
64783         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
64784         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
64785         * sysdeps/x86_64/multiarch/memset.S: New file.
64786         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
64787         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64788         Set bit_Prefer_SSE_for_memop for Intel processors.
64789         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
64790         Define.
64791         (index_Prefer_SSE_for_memop): Define.
64792         (HAS_PREFER_SSE_FOR_MEMOP): Define.
64794 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
64796         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
64797         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
64799 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
64801         [BZ #12191]
64802         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64803         (__x86_64_raw_data_cache_size_half): Likewise.
64804         (__x86_64_raw_shared_cache_size): Likewise.
64805         (__x86_64_raw_shared_cache_size_half): Likewise.
64807         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64808         (__x86_64_raw_data_cache_size_half): Likewise.
64809         (__x86_64_raw_shared_cache_size): Likewise.
64810         (__x86_64_raw_shared_cache_size_half): Likewise.
64811         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
64812         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
64813         and __x86_64_raw_shared_cache_size_half.  Round
64814         __x86_64_data_cache_size_half, __x86_64_data_cache_size
64815         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
64816         to multiple of 256 bytes.
64818 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
64820         [BZ #12167]
64821         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
64822         of inacessible symlinks.  Verify result of symlink before returning it.
64823         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
64824         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
64826 2010-10-28  Erich Ritz  <erichritz@gmail.com>
64828         * math/math.h (isinf): Fix typo in comment.
64830 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
64832         * po/da.po: Update from translation team.
64834 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
64836         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
64837         is added to the list.
64839 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64840             Ulrich Drepper  <drepper@gmail.com>
64842         * elf/dl-object.c (_dl_new_object): Don't append the new object to
64843         the global list here.  Move code to...
64844         (_dl_add_to_namespace_list): ...here.  New function.
64845         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
64846         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
64847         * elf/dl-load.c (lose): Don't remove the element from the list.
64848         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
64849         (_dl_map_object): Likewise.
64851 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
64853         [BZ #12159]
64854         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
64855         into all bytes of SSE register.
64856         Patch by Richard Li <richardpku@gmail.com>.
64858 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
64860         [BZ #12140]
64861         * malloc/malloc.c (_int_free): Fill correct number of bytes when
64862         perturbing.
64864 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
64866         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
64867         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
64868         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
64869         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
64871         submachine.
64872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
64874 2010-10-22  Andreas Schwab  <schwab@redhat.com>
64876         * include/dlfcn.h (__RTLD_SECURE): Define.
64877         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
64878         mode & __RTLD_SECURE instead.
64879         (open_path): Rename preloaded parameter to secure.
64880         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
64881         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
64882         * elf/dl-deps.c (openaux): Likewise.
64883         * elf/rtld.c (struct map_args): Remove is_preloaded.
64884         (map_doit): Don't use it.
64885         (dl_main): Likewise.
64886         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
64887         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
64889 2010-09-09  Andreas Schwab  <schwab@redhat.com>
64891         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
64892         (sysd-rules-targets): Remove duplicates.
64893         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
64894         rtld-%.$o dependency.
64896 2010-10-18  Andreas Schwab  <schwab@redhat.com>
64898         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
64899         _dl_map_object do it.
64901 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
64903         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
64904         fast fma builtins, define the macros in the C99 standard.
64905         (FP_FAST_FMAF): Likewise.
64906         (FP_FAST_FMAL): Likewise.
64907         * sysdeps/x86_64/bits/mathdef.h: Likewise.
64909         * bits/mathdef.h: Update copyright year.
64910         * sysdeps/powerpc/bits/mathdef.h: Likewise.
64912 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
64914         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
64915         builtins, define the macros in the C99 standard.
64916         (FP_FAST_FMAF): Likewise.
64917         (FP_FAST_FMAL): Likewise.
64918         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
64919         multiply/add.
64920         (FP_FAST_FMAF): Likewise.
64922 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
64924         [BZ #3268]
64925         * math/libm-test.inc (fma_test): Some new testcases.
64926         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
64927         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
64928         y and infinite z.  Do multiplication by C already in long double.
64929         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
64930         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
64931         y and infinite z.  Do bitwise or of inexact bit into u.d.
64932         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
64933         * sysdeps/i386/fpu/s_fmaf.S: Removed.
64934         * sysdeps/i386/fpu/s_fma.S: Removed.
64935         * sysdeps/i386/fpu/s_fmal.S: Removed.
64937 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
64939         [BZ #3268]
64940         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
64941         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
64942         computation is not scheduled after fetestexcept.  Fix value
64943         of minimum denormal long double.
64945 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
64947         [BZ #3268]
64948         * math/libm-test.inc (fma_test): Add some more tests.
64949         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
64950         correctly.
64952 2010-10-15  Andreas Schwab  <schwab@redhat.com>
64954         * scripts/data/localplt-s390-linux-gnu.data: New file.
64955         * scripts/data/localplt-s390x-linux-gnu.data: New file.
64957 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
64959         [BZ #3268]
64960         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
64961         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
64962         instead of dbl-64.
64963         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
64964         inlines.
64965         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
64966         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
64967         if one of x and y is very large and the other is subnormal.
64968         * sysdeps/s390/fpu/s_fmaf.c: New file.
64969         * sysdeps/s390/fpu/s_fma.c: New file.
64970         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
64971         * sysdeps/powerpc/fpu/s_fma.S: New file.
64972         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
64973         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
64974         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
64976 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
64978         [BZ #3268]
64979         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
64980         fma tests.
64981         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
64982         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
64983         * sysdeps/i386/i686/multiarch/s_fma.c: Include
64984         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
64985         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
64986         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
64987         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
64989 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
64991         [BZ #12078]
64992         * posix/regcomp.c (parse_branch): One more memory leak plugged.
64993         * posix/bug-regex31.input: Add test case.
64995 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
64997         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
64998         * posix/bug-regex31.input: New file.
65000         [BZ #12078]
65001         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
65002         (parse_sub_exp): Fix last change, use postorder.
65004         * posix/bug-regex31.c: New file.
65005         * posix/Makefile: Add rules to build and run bug-regex31.
65007         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
65009         [BZ #12078]
65010         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
65012         [BZ #12108]
65013         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
65014         to have entries in sys_siglist.
65016         [BZ #12093]
65017         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
65018         be NULL.
65020 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
65022         [BZ #3268]
65023         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
65024         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
65025         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
65026         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
65027         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65028         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
65029         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
65030         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
65031         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
65032         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
65033         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
65034         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
65035         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
65036         * math/ftestexcept.c (fetestexcept): Likewise.
65037         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
65038         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
65039         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
65040         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
65041         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
65042         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
65043         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65045 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
65047         [BZ #12107]
65048         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
65049         newline.
65051 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
65053         * string/bug-strstr1.c: New file.
65054         * string/Makefile: Add rules to build and run bug-strstr1.
65056 2010-10-05  Eric Blake  <eblake@redhat.com>
65058         [BZ #12092]
65059         * string/str-two-way.h (two_way_long_needle): Always clear memory
65060         when skipping input due to the shift table.
65062 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
65064         [BZ #12005]
65065         * malloc/mcheck.c: Handle large requests.
65067         [BZ #12077]
65068         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
65069         for strncmp and strncasecmp.
65070         * string/stratcliff.c: Add tests for strcmp and strncmp.
65071         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
65073 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65075         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
65076         __set_fpscr.
65078 2010-09-30  Andreas Jaeger  <aj@suse.de>
65080         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
65081         (CGROUP_SUPER_MAGIC): Define.
65082         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65083         Handle btrfs and cgroup file systems.
65084         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
65085         Likewise.
65087 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
65089         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
65090         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
65092 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65094         [BZ #12067]
65095         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
65096         trying to locate the ELF header.
65098 2010-09-27  Andreas Schwab  <schwab@redhat.com>
65100         [BZ #11611]
65101         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
65102         Mask out sign-bit copies when constructing f_fsid.
65104 2010-09-24  Petr Baudis <pasky@suse.cz>
65106         * debug/stack_chk_fail_local.c: Add missing licence exception.
65107         * debug/warning-nop.c: Likewise.
65109 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
65111         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
65112         implementing getdents64 using getdents syscall, set d_type if
65113         __ASSUME_GETDENTS32_D_TYPE.
65115 2010-09-16  Andreas Schwab  <schwab@redhat.com>
65117         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
65118         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
65120 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
65122         [BZ #12037]
65123         * posix/unistd.h: Undo change of feature selection for ftruncate from
65124         2010-01-11.
65126 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
65128         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
65129         detection.
65131 2010-09-20  Andreas Schwab  <schwab@redhat.com>
65133         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
65134         fanotify_mark.
65135         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65137 2010-09-14  Andreas Schwab  <schwab@redhat.com>
65139         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
65140         variables after CHECK_SP call.
65141         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
65143 2010-09-13  Andreas Schwab  <schwab@redhat.com>
65144             Ulrich Drepper  <drepper@redhat.com>
65146         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
65147         re-relocationg ld.so.
65148         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
65149         _dl_init_paths call.
65150         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
65151         here anymore.
65153 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
65155         * resolv/res_init.c (__res_vinit): Count the default server we added.
65157 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
65158             Ulrich Drepper  <drepper@redhat.com>
65160         [BZ #11968]
65161         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65162         (____longjmp_chk): Use %ebx for saving value across system call.
65163         Add unwind info.
65165 2010-09-06  Andreas Schwab  <schwab@redhat.com>
65167         * manual/Makefile: Don't mix pattern rules with normal rules.
65169 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
65171         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
65172         operation.
65173         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
65174         * libio/iofopncook.c (_IO_cookie_init): Likewise.
65175         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
65176         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
65177         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65178         Likewise.
65180 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
65182         [BZ #11979]
65183         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
65184         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
65186 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
65188         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
65189         * sysdeps/x86_64/addmul_1.S: Likewise.
65190         * sysdeps/x86_64/lshift.S: Likewise.
65191         * sysdeps/x86_64/mul_1.S: Likewise.
65192         * sysdeps/x86_64/rshift.S: Likewise.
65193         * sysdeps/x86_64/sub_n.S: Likewise.
65194         * sysdeps/x86_64/submul_1.S: Likewise.
65196 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65198         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
65199         Define __sched_param instead of SCHED_* and sched_param when
65200         <bits/sched.h> is included with __need_schedparam defined.
65201         * bits/sched.h [__need_schedparam]
65202         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
65203         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
65204         (__defined_schedparam): Define to 1.
65205         (__sched_param): New structure, identical to sched_param.
65206         (__need_schedparam): Undefine.
65208 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
65210         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
65211         (epoll_create1): Declare.
65213         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
65215 2010-08-31  Andreas Schwab  <schwab@redhat.com>
65217         [BZ #7066]
65218         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
65219         shifting retval into place.
65221 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
65223         * nis/rpcsvc/nis.h: Update copyright notice.
65224         * nis/rpcsvc/nis.x: Likewise.
65225         * nis/rpcsvc/nis_callback.h: Likewise.
65226         * nis/rpcsvc/nis_callback.x: Likewise.
65227         * nis/rpcsvc/nis_object.x: Likewise.
65228         * nis/rpcsvc/nis_tags.h: Likewise.
65229         * nis/rpcsvc/yp.h: Likewise.
65230         * nis/rpcsvc/yp.x: Likewise.
65231         * nis/rpcsvc/ypupd.h: Likewise.
65232         * nis/yp_xdr.c: Likewise.
65233         * nis/ypupdate_xdr.c: Likewise.
65235         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
65236         mainly the body of pmap_getport.  Add parameters to specify timeouts.
65237         (pmap_getport): Use __libc_rpc_getport.
65238         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
65239         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
65240         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
65242 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
65244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
65245         fanotify_mark.
65247 2010-08-27  Roland McGrath  <roland@redhat.com>
65249         * sysdeps/i386/i686/multiarch/Makefile
65250         (CFLAGS-varshift.c): New variable.
65252 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
65254         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
65255         * sysdeps/i386/i686/multiarch/varshift.c: New file.
65257         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
65259         * sysdeps/x86_64/strlen.S: Minimal code improvement.
65261 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
65263         * sysdeps/x86_64/strlen.S: Unroll the loop.
65264         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65265         strlen-sse2 strlen-sse2-bsf.
65266         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
65267         __strlen_no_bsf if bit_Slow_BSF is set.
65268         (__strlen_sse42): Removed.
65269         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
65270         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
65272 2010-08-25  Roland McGrath  <roland@redhat.com>
65274         * sysdeps/x86_64/multiarch/varshift.S: File removed.
65275         * sysdeps/x86_64/multiarch/varshift.c: New file.
65276         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
65277         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
65278         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
65279         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65281 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
65283         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65284         strlen-sse2 strlen-sse2-bsf.
65285         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
65286         __strlen_sse2_bsf if bit_Slow_BSF is unset.
65287         (__strlen_sse2): Removed.
65288         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
65289         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
65290         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
65291         bit_Slow_BSF for Atom.
65292         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
65293         (index_Slow_BSF): Define.
65294         (HAS_SLOW_BSF): Define.
65296 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
65298         [BZ #10851]
65299         * resolv/res_init.c (__res_vinit): When no server address at all
65300         is given default to loopback.
65302 2010-08-24  Roland McGrath  <roland@redhat.com>
65304         * configure.in: Remove config-name.h generation.
65305         * configure: Regenerated.
65306         * config-name.in: File removed.
65307         * scripts/config-uname.sh: New file.
65308         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
65309         ($(objdir)config-name.h): New target.
65311         * sunrpc/rpc_parse.h: Avoid nested comment.
65313 2010-08-24  Richard Henderson  <rth@redhat.com>
65314             Ulrich Drepper  <drepper@redhat.com>
65315             H.J. Lu  <hongjiu.lu@intel.com>
65317         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
65318         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
65319         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
65320         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
65321         _mm_alignr_epi8 with _mm_loadu_si128.
65322         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
65323         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
65324         (__m128i_shift_right): Removed.
65325         * sysdeps/i386/i686/multiarch/varshift.h: New file.
65326         * sysdeps/i386/i686/multiarch/varshift.S: New file.
65327         * sysdeps/x86_64/multiarch/varshift.h: New file.
65328         * sysdeps/x86_64/multiarch/varshift.S: New file.
65330 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
65332         * configure.in: Move assembler checks to before sysdep dir checking.
65334 2010-08-20  Petr Baudis  <pasky@suse.cz>
65336         * LICENSES: Sync the sunrpc license.
65338 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
65340         * sunrpc/auth_des.c: Update copyright notice once again.
65341         * sunrpc/auth_none.c: Likewise.
65342         * sunrpc/auth_unix.c: Likewise.
65343         * sunrpc/authdes_prot.c: Likewise.
65344         * sunrpc/authuxprot.c: Likewise.
65345         * sunrpc/bindrsvprt.c: Likewise.
65346         * sunrpc/clnt_gen.c: Likewise.
65347         * sunrpc/clnt_perr.c: Likewise.
65348         * sunrpc/clnt_raw.c: Likewise.
65349         * sunrpc/clnt_simp.c: Likewise.
65350         * sunrpc/clnt_tcp.c: Likewise.
65351         * sunrpc/clnt_udp.c: Likewise.
65352         * sunrpc/clnt_unix.c: Likewise.
65353         * sunrpc/des_crypt.c: Likewise.
65354         * sunrpc/des_soft.c: Likewise.
65355         * sunrpc/get_myaddr.c: Likewise.
65356         * sunrpc/getrpcport.c: Likewise.
65357         * sunrpc/key_call.c: Likewise.
65358         * sunrpc/key_prot.c: Likewise.
65359         * sunrpc/openchild.c: Likewise.
65360         * sunrpc/pm_getmaps.c: Likewise.
65361         * sunrpc/pm_getport.c: Likewise.
65362         * sunrpc/pmap_clnt.c: Likewise.
65363         * sunrpc/pmap_prot.c: Likewise.
65364         * sunrpc/pmap_prot2.c: Likewise.
65365         * sunrpc/pmap_rmt.c: Likewise.
65366         * sunrpc/rpc/auth.h: Likewise.
65367         * sunrpc/rpc/auth_unix.h: Likewise.
65368         * sunrpc/rpc/clnt.h: Likewise.
65369         * sunrpc/rpc/des_crypt.h: Likewise.
65370         * sunrpc/rpc/key_prot.h: Likewise.
65371         * sunrpc/rpc/netdb.h: Likewise.
65372         * sunrpc/rpc/pmap_clnt.h: Likewise.
65373         * sunrpc/rpc/pmap_prot.h: Likewise.
65374         * sunrpc/rpc/pmap_rmt.h: Likewise.
65375         * sunrpc/rpc/rpc.h: Likewise.
65376         * sunrpc/rpc/rpc_des.h: Likewise.
65377         * sunrpc/rpc/rpc_msg.h: Likewise.
65378         * sunrpc/rpc/svc.h: Likewise.
65379         * sunrpc/rpc/svc_auth.h: Likewise.
65380         * sunrpc/rpc/types.h: Likewise.
65381         * sunrpc/rpc/xdr.h: Likewise.
65382         * sunrpc/rpc_clntout.c: Likewise.
65383         * sunrpc/rpc_cmsg.c: Likewise.
65384         * sunrpc/rpc_common.c: Likewise.
65385         * sunrpc/rpc_cout.c: Likewise.
65386         * sunrpc/rpc_dtable.c: Likewise.
65387         * sunrpc/rpc_hout.c: Likewise.
65388         * sunrpc/rpc_main.c: Likewise.
65389         * sunrpc/rpc_parse.c: Likewise.
65390         * sunrpc/rpc_parse.h: Likewise.
65391         * sunrpc/rpc_prot.c: Likewise.
65392         * sunrpc/rpc_sample.c: Likewise.
65393         * sunrpc/rpc_scan.c: Likewise.
65394         * sunrpc/rpc_scan.h: Likewise.
65395         * sunrpc/rpc_svcout.c: Likewise.
65396         * sunrpc/rpc_tblout.c: Likewise.
65397         * sunrpc/rpc_util.c: Likewise.
65398         * sunrpc/rpc_util.h: Likewise.
65399         * sunrpc/rpcinfo.c: Likewise.
65400         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
65401         * sunrpc/rpcsvc/key_prot.x: Likewise.
65402         * sunrpc/rpcsvc/klm_prot.x: Likewise.
65403         * sunrpc/rpcsvc/mount.x: Likewise.
65404         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
65405         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
65406         * sunrpc/rpcsvc/rex.x: Likewise.
65407         * sunrpc/rpcsvc/rstat.x: Likewise.
65408         * sunrpc/rpcsvc/rusers.x: Likewise.
65409         * sunrpc/rpcsvc/sm_inter.x: Likewise.
65410         * sunrpc/rpcsvc/spray.x: Likewise.
65411         * sunrpc/rpcsvc/yppasswd.x: Likewise.
65412         * sunrpc/rtime.c: Likewise.
65413         * sunrpc/svc.c: Likewise.
65414         * sunrpc/svc_auth.c: Likewise.
65415         * sunrpc/svc_authux.c: Likewise.
65416         * sunrpc/svc_raw.c: Likewise.
65417         * sunrpc/svc_run.c: Likewise.
65418         * sunrpc/svc_simple.c: Likewise.
65419         * sunrpc/svc_tcp.c: Likewise.
65420         * sunrpc/svc_udp.c: Likewise.
65421         * sunrpc/svc_unix.c: Likewise.
65422         * sunrpc/svcauth_des.c: Likewise.
65423         * sunrpc/xcrypt.c: Likewise.
65424         * sunrpc/xdr.c: Likewise.
65425         * sunrpc/xdr_array.c: Likewise.
65426         * sunrpc/xdr_float.c: Likewise.
65427         * sunrpc/xdr_mem.c: Likewise.
65428         * sunrpc/xdr_rec.c: Likewise.
65429         * sunrpc/xdr_ref.c: Likewise.
65430         * sunrpc/xdr_sizeof.c: Likewise.
65431         * sunrpc/xdr_stdio.c: Likewise.
65433         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
65434         handling.
65436 2010-08-19  Andreas Schwab  <schwab@redhat.com>
65438         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
65440 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
65442         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
65443         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
65444         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
65445         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
65446         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
65447         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
65448         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
65449         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
65450         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
65451         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
65452         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
65453         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
65454         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
65455         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
65457 2010-07-26  Anton Blanchard  <anton@samba.org>
65459         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
65460         * malloc/arena.c (heap_trim): Likewise.
65462 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
65464         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
65465         here.  Not...
65466         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
65467         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
65469 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
65471         * sysdeps/i386/elf/Makefile: New file.
65473 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
65475         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
65476         from fanotify_init.
65477         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
65478         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65480 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
65482         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
65483         of strncasecmp_l.
65484         * sysdeps/multiarch/strcmp.S: Likewise.
65486 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
65488         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65489         strncase_l-nonascii.
65490         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65491         Add strncase_l-ssse3.
65492         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
65493         * sysdeps/x86_64/strcmp.S: Likewise.
65494         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
65495         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
65496         * sysdeps/x86_64/strncase.S: New file.
65497         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
65498         * sysdeps/x86_64/strncase_l.S: New file.
65499         * string/Makefile (strop-tests): Add strncasecmp.
65500         * string/test-strncasecmp.c: New file.
65502         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
65503         warning.
65505         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
65506         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
65508 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
65510         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
65512 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
65514         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
65515         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
65516         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
65518 2010-05-01  Alan Modra  <amodra@gmail.com>
65520         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
65521         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
65522         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
65523         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
65524         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
65525         tidying.  Don't tail-call __sigjmp_save for static lib.
65526         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
65527         save location.
65528         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
65529         (CALL_MCOUNT): Add eh info, and nop after bl.
65530         (TAIL_CALL_SYSCALL_ERROR): New macro.
65531         (PSEUDO_RET): Use it.
65532         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
65533         Correct save location of integer regs and cr.
65534         (_dl_profile_resolve): Correct cr save location.  Delete nops
65535         after bl when SHARED.  Reduce cfi size a little by better
65536         placement of cfi directives.
65537         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
65538         make a stack frame.  Instead use parm save area as a temp.
65539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
65540         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
65541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
65542         Don't make a stack frame for parent, use parm save area.
65543         Increase child stack frame to 112 bytes.  Don't save unused reg,
65544         and adjust reg usage.  Set up cfi on error recovery and
65545         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
65546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
65547         (__makecontext): Add dummy nop after jump to exit.
65548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
65549         Use correct parm save area and cr save, reduce stack frame.
65550         Correct cfi for possible PSEUDO_RET frame setup.
65551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
65552         Branch to local label emitted by PSEUDO_RET rather than
65553         __syscall_error.
65555 2010-08-12  Andreas Schwab  <schwab@redhat.com>
65557         [BZ #11904]
65558         * locale/programs/locale.c (print_assignment): New function.
65559         (show_locale_vars): Use it.
65561 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
65563         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
65564         field.
65565         (struct statfs64): Likewise.
65566         (_STATFS_F_FLAGS): Define.
65567         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
65568         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65569         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
65570         (ST_VALID): Define locally.
65571         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
65572         __statvfs_getflags, use the provided value.
65573         * sysdeps/unix/sysv/linux/kernel-features.h: Define
65574         __ASSUME_STATFS_F_FLAGS.
65576         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
65578         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
65579         Add sys/fanotify.h.
65580         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
65581         fanotify_mask for GLIBC_2.13.
65582         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
65583         fanotify_init and fanotify_mark.
65584         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65585         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
65587         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
65588         Add prlimit.
65589         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
65590         prlimit64 for GLIBC_2.13.
65591         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
65592         prlimit64.
65593         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
65594         syscall.
65595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
65596         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65597         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
65598         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
65599         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
65600         add prlimit alias.
65601         * sysdeps/unix/sysv/linux/prlimit.c: New file.
65603         [BZ #11903]
65604         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
65605         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
65607         * nss/Makefile: Add rules to build and run tst-nss-test1.
65608         * shlib-versions: Add entry for libnss_test1.
65609         * nss/nss_test1.c: New file.
65610         * nss/tst-nss-test1.c: New file.
65612         * nss/nsswitch.c (__nss_database_custom): Define new variable.
65613         (__nss_configure_lookup): Set appropriate entry in
65614         __nss_configure_lookup to true.
65615         * nss/nsswitch.h: Define enum with indeces of databases in
65616         databases and __nss_database_custom arrays.  Declare
65617         __nss_database_custom.
65618         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
65619         to avoid using nscd when custom rules are installed.
65620         * nss/getXXbyYY_r.c: Likewise.
65621         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
65623         * nss/nss_files/files-parse.c: Whitespace fixes.
65625 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
65627         [BZ #11883]
65628         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
65629         * posix/fnmatch_loop.c: Likewise.
65631 2010-07-17  Andi Kleen  <ak@linux.intel.com>
65633         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
65634         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
65635         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
65636         * Versions.def [GLIBC_2.13]: Add.
65638 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
65640         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65641         Also fail if tpwd after pwuid call is NULL.
65643 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65645         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
65646         when converting to ms.
65648 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65650         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
65651         EOPNOTSUPP errors with ENOTTY.
65652         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
65653         EOPNOTSUPP errors with ENOTTY.
65655 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
65657         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65658         Add strcasecmp_l-ssse3.
65659         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
65660         strcasecmp.
65661         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
65662         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
65663         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
65665 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
65667         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
65669         * string/Makefile (strop-tests): Add strcasecmp.
65670         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65671         strcasecmp_l-nonascii.
65672         (gen-as-const-headers): Add locale-defines.sym.
65673         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
65674         * sysdeps/x86_64/strcasecmp.S: New file.
65675         * sysdeps/x86_64/strcasecmp_l.S: New file.
65676         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
65677         * sysdeps/x86_64/locale-defines.sym: New file.
65678         * string/test-strcasecmp.c: New file.
65680         * string/test-strcasestr.c: Test both ends of the range of characters.
65681         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
65683 2010-07-29  Roland McGrath  <roland@redhat.com>
65685         [BZ #11856]
65686         * manual/locale.texi (Yes-or-No Questions): Fix example code.
65688 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
65690         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
65691         for ld.so.
65693 2010-07-27  Andreas Schwab  <schwab@redhat.com>
65695         * manual/memory.texi (Malloc Tunable Parameters): Document
65696         M_PERTURB.
65698 2010-07-26  Roland McGrath  <roland@redhat.com>
65700         [BZ #11840]
65701         * configure.in (-fgnu89-inline check): Set and substitute
65702         gnu89_inline, not libc_cv_gnu89_inline.
65703         * configure: Regenerated.
65704         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
65706 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
65708         * string/test-strnlen.c: New file.
65709         * string/Makefile (strop-tests): Add strnlen.
65710         * string/tester.c (test_strnlen): Add a few more test cases.
65711         * string/tst-strlen.c: Better error reporting.
65713         * sysdeps/x86_64/strnlen.S: New file.
65715 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
65717         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
65718         lower-latency instructions.
65720 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
65722         * string/test-strcasestr.c: New file.
65723         * string/test-strstr.c: New file.
65724         * string/Makefile (strop-tests): Add strstr and strcasestr.
65725         * string/str-two-way.h: Don't undefine MAX.
65726         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
65728 2010-07-21  Andreas Schwab  <schwab@redhat.com>
65730         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65731         strcasestr-nonascii.
65732         (CFLAGS-strcasestr-nonascii.c): Define.
65733         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
65734         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
65735         Remove unused attribute.
65737 2010-07-20  Roland McGrath  <roland@redhat.com>
65739         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
65740         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
65741         ld.so.cache was broken.  With it, there is no way to disable dsocaps
65742         like LD_HWCAP_MASK can disable hwcaps.
65744 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
65746         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
65748 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
65750         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
65751         call in strcasestr.
65752         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
65753         __strcasestr_sse42_nonascii.
65754         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
65755         strcasestr-nonascii.c.
65756         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
65758 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
65760         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
65761         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
65762         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
65763         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
65765 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
65767         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
65768         fcntl.
65770 2010-07-06  Andreas Schwab  <schwab@redhat.com>
65772         [BZ #11577]
65773         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
65774         dl_signal_cerror.
65776 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
65778         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
65779         _PC_PIPE_BUF using F_GETPIPE_SZ.
65781 2010-07-05  Roland McGrath  <roland@redhat.com>
65783         * manual/arith.texi (Rounding Functions): Fix rint description
65784         implicit in round description.
65786 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
65788         * elf/Makefile: Fix linking for a few tests to make recent linker
65789         happy.
65791 2010-06-30  Andreas Schwab  <schwab@redhat.com>
65793         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
65794         $(common-objpfx)libc_nonshared.a.
65796 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
65798         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
65799         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
65800         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65801         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65802         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
65803         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
65804         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65805         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
65807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
65808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
65809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
65811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
65813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
65814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
65815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
65816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
65818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
65820         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
65821         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
65822         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
65823         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
65824         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
65825         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
65826         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
65827         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
65828         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
65829         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
65830         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
65831         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
65832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
65833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
65834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
65835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
65836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
65837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
65838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
65839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
65840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
65841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
65842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
65843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
65844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
65845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
65847 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
65849         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
65850         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
65851         * string/memmove.c (memmove): Renamed to ...
65852         (MEMMOVE): ...this.  Default to memmove.
65853         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
65854         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
65855         (END_CHK): Define.
65856         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65857         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
65858         mempcpy-ssse3-back memmove-ssse3-back.
65859         * sysdeps/x86_64/multiarch/bcopy.S: New file .
65860         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
65861         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
65862         * sysdeps/x86_64/multiarch/memcpy.S: New file.
65863         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
65864         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
65865         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
65866         * sysdeps/x86_64/multiarch/memmove.c: New file.
65867         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
65868         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
65869         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
65870         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
65871         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
65872         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
65873         Define.
65874         (index_Fast_Copy_Backward): Define.
65875         (HAS_ARCH_FEATURE): Define.
65876         (HAS_FAST_REP_STRING): Define.
65877         (HAS_FAST_COPY_BACKWARD): Define.
65879 2010-06-21  Andreas Schwab  <schwab@redhat.com>
65881         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65882         Restore proper fallback handling.
65884 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
65886         [BZ #11701]
65887         * posix/group_member.c (__group_member): Correct checking loop.
65889         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
65890         OOM in getpwuid_r correctly.  Return error number when the caller
65891         should return, otherwise -1.
65892         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
65893         call returning > 0 value.
65894         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
65896 2010-06-07  Andreas Schwab  <schwab@redhat.com>
65898         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
65899         libc_nonshared.a from targets in modules-names.
65901 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
65903         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
65904         requires it.
65906 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
65908         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
65909         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
65910         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
65911         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
65913 2010-06-02  Andreas Schwab  <schwab@redhat.com>
65915         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
65917 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
65919         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
65920         and F_GETPIPE_SZ.
65921         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
65922         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65923         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65924         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65925         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65926         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
65928 2010-06-14  Roland McGrath  <roland@redhat.com>
65930         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
65932 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
65934         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
65935         __REDIRECT followed by __THROW.
65936         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
65937         * posix/getopt.h (getopt): Likewise.
65939 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
65941         * hurd/lookup-at.c (__file_name_lookup_at): Accept
65942         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
65943         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
65944         in AT_FLAGS.
65945         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
65946         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
65948 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
65950         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
65952 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
65954         [BZ #11640]
65955         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65956         Properly check family and model.
65958 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
65960         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
65962 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
65964         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
65966 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
65968         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
65969         symbol reference.
65971 2010-05-19  Andreas Schwab  <schwab@redhat.com>
65973         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
65974         symbol reference.
65976 2010-05-21  Andreas Schwab  <schwab@redhat.com>
65978         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
65979         and internal_recvmmsg.
65980         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
65981         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
65982         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
65983         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
65985         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
65986         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65987         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65989 2010-05-20  Andreas Schwab  <schwab@redhat.com>
65991         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
65993 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
65995         POWER7 optimizations.
65996         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
65997         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
65999 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
66001         * version.h: Update for 2.13 development version.
66003 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
66005         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
66006         exceptions.  Return 0.
66008 2010-05-07  Roland McGrath  <roland@redhat.com>
66010         * elf/ldconfig.c (main): Add a const.
66012 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
66014         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
66015         (args_options): Add no-idn option.
66016         (ahosts_keys_int): Add idn_flags to ai_flags.
66017         (parse_option): Handle 'i' option to clear idn_flags.
66019         * malloc/malloc.c (_int_free): Possible race in the most recently
66020         added check.  Only act on the data if no current modification
66021         happened.
66023 See ChangeLog.17 for earlier changes.